A lot of stuff unrelated to Cattle Chat. :)

Started by Newby, December 12, 2005, 10:49:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Newby

Your grader was foreign. :(
- 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

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
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. 

iago

Quote from: Newby on December 12, 2005, 10:49:18 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"...

Quote from: Joe[e2] on December 12, 2005, 10:31:51 PM
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)...

Sidoh

Quote from: iago on December 12, 2005, 10:52:16 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!

rabbit

I'm gonna have to try this out ASAP...

Newby

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

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
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. 

iago

Quote from: Newby on December 12, 2005, 11:08:42 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

Joe

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?
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Sidoh

: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).

Joe

Is it free? Link please?
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


iago

www.google.ca/search?q=zend -- first result (go figure?)

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

Sidoh

#10
Quote from: Joe[e2] on December 13, 2005, 06:52:51 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.

Warrior

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

Sidoh

Quote from: Warriorx86] link=topic=4143.msg44766#msg44766 date=1134523524]
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! ;)

iago

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. 

Quote from: Sidoh on December 13, 2005, 09:03:32 PM
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

rabbit

Really.  Notepad2 and an Apache server....fuck Zend.