code logs -> 2012 -> Wed, 08 Feb 2012< code.20120207.log - code.20120209.log >
--- Log opened Wed Feb 08 00:00:45 2012
00:50
< Noah{Beta}>
Quick, someone tell me why PHP sucks
00:53
<@Tamber>
Because it's made of spiders and insanity.
00:53
<@Tamber>
Not even the /cool/ spiders.
00:56
<~Vornicus>
Horrible, horrible weak typing.
00:57
<@Tamber>
Inverted flags on /some/ debugging output enable, to protect idiots who don't disable error printing, whilst breaking the expectations of anyone who does.
00:57
<@Tamber>
(Because being consistent is /boring/. :)
00:58
< Noah{Beta}>
Phew, sanity restored, thanks guys
00:58
<~Vornicus>
Required warts; no namespacing (or at least the last one I used)...
00:59
< Noah{Beta}>
I meant to ask, is there some kind of web implementation of python?
01:00
<@Tamber>
There is, yup. (If you'll give me a few moments, I'll find the name.)
01:00
<~Vornicus>
Do you mean, a web framework for python? Django and Pylons.
01:00
<~Vornicus>
Take your pick.
01:00
< Noah{Beta}>
No, more like perl
01:00
<@Tamber>
...that's the one, yup. *too slow, again*
01:01
<~Vornicus>
"more like perl"?
01:01
<@Tamber>
Eh?
01:01
<@Tamber>
CGI?
01:01
< Noah{Beta}>
Er, yea, that
01:01
<@Tamber>
Pretty much /every/ language can do that.
01:01
<@Tamber>
http://showcase.netins.net/web/etsinc/cobolcgi.html
01:02 * Tamber runs.
01:02
< Noah{Beta}>
haha, awesome
01:03
<~Vornicus>
Yeah, cgi is actually a very, very basic protocol. I don't remember how it works but iirc all you have to do is return a string that's the webpage.
01:03
<~Vornicus>
I wouldn't use it though; look into a proper framework, which will do things faster.
01:04
<@Tamber>
"In the case of HTTP PUT or POSTs, the user-submitted data is provided to the program via the standard input. In any case, according to the CGI standard, data is passed into the program using certain, specific environment variables."
01:04
< Noah{Beta}>
Couldn't hurt to ask
01:10
< simon__>
PCRE's ?R is cool.
01:11
< simon__>
it's a total abuse of regular expression.
01:12
< gnolam>
Tamber: I wrote web code in plain C once, just because.
01:12
< simon__>
you can use it to make a recursive parser and refer to back-references recursively by their number.
01:13
<@Tamber>
The web interface on most of the consumer routers I've dug into is apparently implemented in C, from what I've peeled apart.
01:14
<@Tamber>
(Which isn't much. Not that much I can do with 'em without breaking them. :)
01:14
<@ToxicFrog>
IIRC, you generate the output page just by writing it stdout.
01:16
<~Vornicus>
Yeah. POST comes in on stdin, and the other stuff comes in on environment variables.
01:16
<~Vornicus>
It's really, really simple.
01:19
< celticminstrel>
I recall reading about namespaces in PHP. It was kinda odd actually.
01:55 Derakon[AFK] is now known as Derakon
02:07 * McMartin commits a fix to the codebase marked "Fix rampancy problem in {exec}"
02:08
<@ToxicFrog>
snrk
02:09
<&McMartin>
Due to failing to update necessary state, but optimizing away unnecessary non-network actions, it was getting into a state where it needed to do various bits of processing then ask for something else, but instead decided to try to destroy the entire Internet with a request storm of step 1.
02:19
< Noah{Beta}>
Dev sent back: Working as intended
02:38 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
02:39
< Noah{Beta}>
Wow, I just found out there was an animated series for Watership Down, and reading the wiki on it, it sounds like a total butchery, so, I'll just as readily unfound it out
02:40
< Noah{Beta}>
Okay, forgotten, now /clear
02:40
< Noah{Beta}>
Woah, my screen's black...what'd I /clear for again?... must've not been important.
02:44 * Vornicus patpats noah
02:45
< Noah{Beta}>
That awkward moment when you want to watch youtube videos, but are still download a massively huge file over what amounts to modern dialup
02:51
<@ToxicFrog>
Pause download, watch video, resume download.
03:09 Attilla [Obsolete@Nightstar-83b28186.as43234.net] has quit [Ping timeout: 121 seconds]
03:17 Kindamoody[zZz] is now known as Kindamoody
04:20
< celticminstrel>
XD
04:25
<@ShellNinja>
McMartin: Well, I use Debian as a desktop. :P
04:26
<@himi>
I haven't come across someone who does that in /ages/
04:27
<@ShellNinja>
It gives me minimal problems, compared to Windows, which I used before it.
04:27
<&McMartin>
ShellNinja: Well, don't come bitching to me when my code assumes that you have libraries that were upgraded to stuff less than two years old
04:29
<@ShellNinja>
I won't.
04:32
< Ling>
lulz
04:39
< Noah{Beta}>
You think you're so clever with your "libraries" and your "code"
04:39 * Tamber forces Noah to write everything in raw machine-code.
04:40
< Noah{Beta}>
blarg
04:41
< Noah{Beta}>
now my code is fast and snappy, oh noes
04:41
<&McMartin>
It still takes you an extra six months to get your answer, though
04:42
< Noah{Beta}>
I actually had a plan to write a python...thing, for solving system of equations using the reduced row echelon form method
04:45
<~Vornicus>
"gaussian elimination"
04:48
< Noah{Beta}>
Is that not the same thing
04:55
<~Vornicus>
Yes, but it might help in finding the right algorithm.
04:55
< Noah{Beta}>
Yea, I was just reading over it
05:09 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
05:44 eckse [eckse@Nightstar-ceba8a7a.dsl.sentex.ca] has quit [Client closed the connection]
05:54 himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Ping timeout: 121 seconds]
06:34 Derakon is now known as Derakon[AFK]
06:47 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
08:11 Kindamoody is now known as Kindamoody|out
09:26 You're now known as TheWatcher
10:10 * TheWatcher heads to the emacsmobile!
10:10
<@TheWatcher>
(ugh, I need more tea >.<)
10:33 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [[NS] Quit: Into the hole again, we hurried along our way, into a once-glorious garden now seeped in dark decay.]
10:38 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
10:50 Attilla [Obsolete@Nightstar-83b28186.as43234.net] has joined #code
12:23
< Noah{Beta}>
TheWatcher Inventory:
12:23
< Noah{Beta}>
a headache
12:24
< Noah{Beta}>
no tea
12:36 Noah{Beta} [maoranma@490720.C448F4.686E67.D065B1] has quit [Ping timeout: 121 seconds]
13:45 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
13:50 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
13:56 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
14:00 maoranma [NSwebIRC@D82662.C541A8.D65203.7C054A] has joined #code
14:01
< maoranma>
HEY HAY HAI
14:02
< maoranma>
Hmm, so I can get to Nightstar, but not deviantart
14:02
<@Alek>
HAI YAH! *breaks bricks*
14:10
< maoranma>
Oh good, an extra credit opportunity
14:50 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
15:43 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has joined #code
15:43 mode/#code [+o Vash] by ChanServ
16:00 You're now known as TheWatcher[afk]
16:39 maoranma [NSwebIRC@D82662.C541A8.D65203.7C054A] has quit [[NS] Quit: Page closed]
17:38
<@ToxicFrog>
Aagh, fuck Eclipse
17:39
< gnolam>
A penis big enough to blot out the sun?
17:39
<@ToxicFrog>
Yes
18:46 You're now known as TheWatcher
19:10 Vornucopia [NSwebIRC@C888DE.7F9621.4A1301.BBBE7B] has joined #code
19:18 * Vornucopia fiddles with code he needs to make piecewise functions do derivative right.
19:23
< Vornucopia>
Limits! Fuckyeah!
19:33 Kindamoody|out is now known as Kindamoody
19:57 * Vornucopia hunts around for a portable python.
19:58
<@ToxicFrog>
portable cygwin includes python~
19:59 * Vornucopia fires TF into Alpha Centauri B.
20:02
<@ToxicFrog>
eep
20:02
<@ToxicFrog>
(portable cygwin is actually damn useful but there's probably something more lightweight you can find~)
20:03
< Vornucopia>
Like say Python Portable? :)
20:04
< celticminstrel>
Isn't python normally portable?
20:07
< Vornucopia>
Not in the sense I mean
20:07
< Vornucopia>
Which is: there's no python install on the lab computers here at school.
20:07
< Vornucopia>
So I want one on my usb drive.
20:11
< Vornucopia>
Okay, that done I can actually try to use the code I just wrote!
20:18 Kindamoody is now known as Kindamoody[zZz]
20:26
< Vornucopia>
Hooray, it works
20:29
<@ToxicFrog>
celticminstrel: portable in the "portableapps" sense, not in the "cross-platform" sense
20:53
< Vornucopia>
Hooray, Calculus
21:08 Attilla_ [Obsolete@Nightstar-ce33d450.as43234.net] has joined #code
21:09 Attilla [Obsolete@Nightstar-83b28186.as43234.net] has quit [Ping timeout: 121 seconds]
21:09
<@jerith>
Vornucopia: Try pypy maybe?
21:10
<@jerith>
Although I'm not sure how well-tested their Windows builds are.
21:10
< Vornucopia>
Portable Python does the job perfectly.
21:11
<@jerith>
Vornucopia: Yes, but pypy has a JIT and not being faster than cpython is a bug.
21:13
< Vornucopia>
Sigh
21:14
< Vornucopia>
Also it doesn't appear to be portable.
21:15
<@jerith>
:-(
21:15
<@jerith>
Ah well.
21:21 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
21:21
<@ToxicFrog>
In what way?
21:23
<@Alek>
"you don't understand! he uses regexp to write to his girlfriends!"
21:24
< Vornucopia>
Like, it appears to do standard installation, and may manipulate the registry - portable apps aren't supposed to do that, and I see no mention of portability as a feature.
21:25
<@jerith>
The *nix version just gets untarred and is usable.
21:27
<@ToxicFrog>
Aah.
21:27
<@ToxicFrog>
...why do they call it "portable python" then?
21:27
< Vornucopia>
...um
21:28
< Vornucopia>
They call Portable Python portable because it is. I see no such thing on the pypy site.
21:32
<@ToxicFrog>
Oh
21:32
<@ToxicFrog>
You meant pypy isn't portable
21:32
< gnolam>
http://www.techdirt.com/articles/20120208/03295517697/syrian-presidents-email-ha cked-his-password-was-12345.shtml
21:33
<&McMartin>
"What?! That's the kind of code an idiot would put on his luggage!"
21:35 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
21:41 Attilla_ is now known as Attilla
21:50 Vornucopia [NSwebIRC@C888DE.7F9621.4A1301.BBBE7B] has quit [[NS] Quit: Page closed]
22:04 * jerith surreptitiously changes the code on his luggage.
22:39 himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code
22:39 mode/#code [+o himi] by ChanServ
22:44 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
22:59 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
22:59 mode/#code [+o ToxicFrog] by ChanServ
23:33 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
--- Log closed Thu Feb 09 00:00:00 2012
code logs -> 2012 -> Wed, 08 Feb 2012< code.20120207.log - code.20120209.log >

[ Latest log file ]