Author Topic: A lot of stuff unrelated to Cattle Chat. :)  (Read 5296 times)

0 Members and 1 Guest are viewing this topic.

Offline Newby

  • Moderator
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
A lot of stuff unrelated to Cattle Chat. :)
« on: December 12, 2005, 10:49:18 pm »
Your grader was foreign. :(
« Last Edit: December 14, 2005, 11:10:48 am by MyndFyre[x86] »
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Cattle Chat
« Reply #1 on: December 12, 2005, 10:52:16 pm »
Your grader was foreign. :(
Yes, she's Chinese.  When I was demonstrating it, she had A LOT of trouble figuring out what I was talking about.  It's so funny, I send the program to you or Ergot, and you are up and using it and can figure it out instantly.  She couldn't get past the word "channel"...

Ctrl+A; enter. They're all opened in ultra-edit.

Ctrl+F; "sucks"; all files.

Found.
hm, I'd just do "grep sucks *".  Seems like a lot less hassle then loading up Ultra-Edit, which is the bulkiest text editor I've used (that's not a full IDE)...

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Cattle Chat
« Reply #2 on: December 12, 2005, 11:05:07 pm »
hm, I'd just do "grep sucks *".  Seems like a lot less hassle then loading up Ultra-Edit, which is the bulkiest text editor I've used (that's not a full IDE)...

Linux prevails once again!

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Cattle Chat
« Reply #3 on: December 12, 2005, 11:07:04 pm »
I'm gonna have to try this out ASAP...

Offline Newby

  • Moderator
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Cattle Chat
« Reply #4 on: December 12, 2005, 11:08:42 pm »
I would have done "cat *.* | grep "sucks" myself but eh? :p
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Cattle Chat
« Reply #5 on: December 12, 2005, 11:18:25 pm »
I would have done "cat *.* | grep "sucks" myself but eh? :p

*.* assumes that the file has an extension, which isn't a good idea.  That's a Windows way of thinking. 

The second problem with that is it doesn't tell you which file it came from. 

for i in *.*; do echo "$i:"; cat $i | grep "sucks"; done

That's about the closest thing to yours that would be useful.  But it's obviously pretty nasty :P

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Cattle Chat
« Reply #6 on: December 12, 2005, 11:19:24 pm »
Would that give line number, or even file name, though? [edit]See, what iago said.[/edit]

By the way iago, minus a compiler, UltraEdit is a full IDE, IMO. I develop PHP in it, so eh?
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Cattle Chat
« Reply #7 on: December 12, 2005, 11:20:58 pm »
:O

sidoh@tehserver:~/CHRIS/cc$ time cat *.* | grep "sucks"
/* TODO: this implementation sucks.  Find a better way. */

real    0m0.006s
user    0m0.010s
sys     0m0.000s
sidoh@tehserver:~/CHRIS/cc$ time grep sucks *
table.c:/* TODO: this implementation sucks.  Find a better way. */

real    0m0.003s
user    0m0.000s
sys     0m0.000s


iago wins?  He just saved you 0.003s if you listened to him!

* Sidoh likes iago's way because cat *.* | grep "sucks" doesn't give you the filename. :]

Joe:  Why would you use UltraEdit for developing PHP when you could use Zend?  It seems to me UltraEdit is a very, very toned down version of Zend.  Zend may be pretty "heavy," but it's by far the most valuable tool I have for developing PHP (other than a server that supports it, of course).

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Cattle Chat
« Reply #8 on: December 13, 2005, 06:52:51 pm »
Is it free? Link please?
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Cattle Chat
« Reply #9 on: December 13, 2005, 07:01:40 pm »
www.google.ca/search?q=zend -- first result (go figure?)

It isn't free, but you can get a free evaluation.  Same as UltraEdit. 

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Cattle Chat
« Reply #10 on: December 13, 2005, 07:06:26 pm »
Is it free? Link please?

If you're into PHP at all, you've heard of Zend.  Zend is the premier PHP "enhancement" company.  They have a bunch of optimization engines (a few of them are included with PHP now, I believe) for PHP, along with development tools.  They also offer "professionalized" certifications for PHP, which involve the programmer taking a test to earn a certification which can be used to verify the developer's competency.  I don't have one, mostly because it costs money.

http://www.zend.com/

And no, it's not free.  $300.
« Last Edit: December 13, 2005, 07:08:46 pm by Sidoh »

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Cattle Chat
« Reply #11 on: December 13, 2005, 08:25:24 pm »
Zend Dev Studio is alright, I still stick to Notepad2. I hate bloated IDE's personally.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Cattle Chat
« Reply #12 on: December 13, 2005, 09:03:32 pm »
Zend Dev Studio is alright, I still stick to Notepad2. I hate bloated IDE's personally.

I've also found Notepad2 a great editing tool; it's so lightweight!

However, when I'm getting down to business, I don't think I could function very efficiently without Zend.  I don't know how much you've used it, but it has a parsing engine built into it.  It will highlight errornous code so you know to correct it before you upload.  That's just one of many reasons I use it.  There are also several features that it has which I haven't taken advantage of yet.  Zend is an amazing development tool, all-in-all.  I will agree, though.  It is very heavy (especially in relative terms -- IDE's for web languages generally don't have much), but MAN is it worth it! ;)

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Cattle Chat
« Reply #13 on: December 13, 2005, 09:19:42 pm »
I program directly on my webserver, so I know about parse errors in about 2 seconds, no fussing with FTP or anything.  Plus, vim will tell you if you're missing a bracket or if you spelled a function name wrong, which is all I really need. 

I don't think I could function very efficiently without Zend.

*looks for his T&T++ program* apparently, you can't WITH it, either! :P

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Cattle Chat
« Reply #14 on: December 13, 2005, 09:53:13 pm »
Really.  Notepad2 and an Apache server....fuck Zend.