Author Topic: A lot of stuff unrelated to Cattle Chat. :)  (Read 5299 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.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Cattle Chat
« Reply #15 on: December 13, 2005, 10:06:44 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


I program in-directly on my webserver, without the useage of a FTP server (I use Samba instead), which is fast enough to be humanly indifferent. :P

It doens't highlight the code for you, though.  :(

Trust me, my opinion isn't unjustified.  I've tried using Notepad2.  I use vi(m) when Zend isn't available, but when it is, I'm sure as hell going to use it.

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

Ew, no.  Zend is too hot to fuck.  I've already said I like Notepad2; I don't know why you think I don't run an Apache server, because I do.  Just because I use Zend's development tools doesn't mean I also use their optimization tools.  ZendStudio is amazing.

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Cattle Chat
« Reply #16 on: December 13, 2005, 10:21:25 pm »
I'm saying in general.  Using N2 is good (because it rocks), and if you run your own Apache server, then you completely eliminate the need for Zend.  IE: What I do.  I don't like Zend Studio.  It tries to be too much.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Cattle Chat
« Reply #17 on: December 13, 2005, 11:27:51 pm »
I'm saying in general.  Using N2 is good (because it rocks), and if you run your own Apache server, then you completely eliminate the need for Zend.  IE: What I do.  I don't like Zend Studio.  It tries to be too much.

I do run my own Apache server:

http://www.sidoh.org

Here it is:



You don't have to use all of what it does.   :P

For me, Notepad2 isn't enough for heavy development. :)
« Last Edit: December 14, 2005, 03:45:43 pm by Sidoh »

Offline mynameistmp

  • Full Member
  • ***
  • Posts: 111
  • Hi! I'm new here!
    • View Profile
Re: Cattle Chat
« Reply #18 on: December 14, 2005, 03:14:54 am »
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. 

Which reminds me (since we're all off topic here), check out how I interact with your server:
Quote
bash-3.00$ javaop uname -a
Linux darkside 2.4.29 #6 Thu Jan 20 16:30:37 PST 2005 i686 unknown unknown GNU/Linux
bash-3.00$ javaop id
uid=1009(tmp) gid=100(users) groups=100(users)
bash-3.00$

Or, if I just want a shell:
Quote
bash-3.00$ javaop
Linux 2.4.29.
Drink Canada Dry!  You might not succeed, but it *is* fun trying.
tmp@darkside:~$


I don't use any aliasing.
« Last Edit: December 14, 2005, 03:16:40 am by mynameistmp »