code logs -> 2013 -> Thu, 14 Mar 2013< code.20130313.log - code.20130315.log >
--- Log opened Thu Mar 14 00:00:49 2013
00:08 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
00:10 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds]
00:20 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code
00:20 mode/#code [+o celticminstrel] by ChanServ
00:37 cpux [cpux@Nightstar-98762b0f.dyn.optonline.net] has joined #code
00:37 mode/#code [+o cpux] by ChanServ
00:45 Reiv [NSwebIRC@A3BDC3.5BE3EC.B8847E.5ADB9D] has joined #code
00:45 mode/#code [+o Reiv] by ChanServ
01:36 Kindamoody[zZz] is now known as Kindamoody
02:09 Attilla [chatzilla@Nightstar-02422f4a.range81-151.btcentralplus.com] has quit [Ping timeout: 121 seconds]
02:29 mac [mac@Nightstar-fe8a1f12.il.comcast.net] has joined #code
03:16 d4de [olorin@687AAB.418D22.0FE7A6.052BE9] has joined #code
03:33 syksleep is now known as Syk
03:49 Kindamoody is now known as Kindamoody[zZz]
03:52 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
04:00 mac [mac@Nightstar-fe8a1f12.il.comcast.net] has left #code ["Leaving"]
04:12 Xon [Xon@Nightstar-362effcc.highway1.net.au] has joined #code
04:13 Xon2 [Xon@Nightstar-362effcc.highway1.net.au] has quit [Ping timeout: 121 seconds]
04:16 Rhamphoryncus [rhamph@Nightstar-f8b1f87b.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
04:25 Rhamphoryncus [rhamph@Nightstar-f8b1f87b.abhsia.telus.net] has joined #code
04:25 mode/#code [+o Rhamphoryncus] by ChanServ
04:32 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:07 McMartin [mcmartin@Nightstar-8413ac3f.pltn13.sbcglobal.net] has quit [Client closed the connection]
05:15 himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Ping timeout: 121 seconds]
05:15 McMartin [mcmartin@Nightstar-a44243a6.pltn13.sbcglobal.net] has joined #code
05:15 mode/#code [+ao McMartin McMartin] by ChanServ
05:30
<@Azash>
Does anyone have suggestions for a good source on learning PHP+
05:30
<@Azash>
?
05:32
<~Vornicus>
"Don't"
05:33
<@Azash>
Well, I'm starting a lab course on web app development
05:34
<@Azash>
PHP/JS/HTML5/Postgre seems the simplest way to proceed
05:34 FurryHelix is now known as Tamber
05:34 mode/#code [+o Tamber] by ChanServ
05:36 * McMartin suggests mod_python or even JSPs before PHP.
05:39
< Syk>
twisted!
05:42
<&Derakon>
Before you decide on PHP, read this: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/
05:45
<@Azash>
I'm aware, Derakon
05:45
<@Azash>
I'm also fairly strapped with time and just want to get dem creditz as soon as Azashly possible
05:45
<@Azash>
strapped for?
05:46
<&McMartin>
Hrm.
05:46
<&McMartin>
for, I think, yeah
05:46
<&McMartin>
It's definitely strapped for cash
05:46
<&McMartin>
Not sure about other things
05:46
<&McMartin>
Have been playing too much bad sci-fi, read that first as "strapped for credits"
05:46
<@Azash>
Hee
05:46 Derakon is now known as Derakon[AFK]
05:47
<@Azash>
Aha
05:47
<@Azash>
Apparently it's strapped for cash and strapped of for everything else
05:47
<@Azash>
Or no, for
05:47
<@Azash>
Well anyway
05:47
<@Azash>
Just looking at zend's and webmonkey's tutorials
06:21 Kindamoody[zZz] is now known as Kindamoody
06:26
<&jerith>
Azash: Seriously, learning something like Django will be easier and more productive than PHP.
06:26
<&jerith>
There is nothing good about PHP.
06:28
< Syk>
jerith: that's lying
06:28
< Syk>
it's good to make fun of
06:28
<@Azash>
Don't worry jerith, I already asked elsewhere
06:29
<&jerith>
What do you need the PHP for?
06:33
<&jerith>
Syk: Not even that. It's way too easy and just makes me sad.
06:35
< Syk>
heh trie
06:35
< Syk>
true
06:42
< Xon>
http://thedailywtf.com/Articles/Im-Sensing-Some-Tension.aspx <- lol
07:06 You're now known as TheWatcher
07:44
<@froztbyte>
Azash: http://me.veekun.com/blog/2012/07/28/quick-doesnt-mean-dirty/
07:44
<@froztbyte>
a quick walkthrough of flask
07:44
<@froztbyte>
flask is ridiculously quick to learn
07:44
<@froztbyte>
and jerith already mentioned django
07:53
< Syk>
i'm tempted at looking at heroku
07:54
< Syk>
maybe using heroku instead of my own VPS monstrosity
07:54
< Syk>
but, it doesn't solve too many problems, and then I'm at heroku's mercy
08:05 Kindamoody is now known as Kindamoody|afk
08:10 You're now known as TheWatcher[afk]
08:23 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
08:23 mode/#code [+o himi] by ChanServ
08:57 Kindamoody|afk is now known as Kindamoody
09:03 Kindamoody is now known as Kindamoody|out
09:19 OrthiaLap [orthia@Nightstar-03a7221e.vf.net.nz] has joined #code
09:30 RichyB [richardb@Nightstar-228a334c.plus.com] has joined #code
09:48 Attilla [chatzilla@Nightstar-02422f4a.range81-151.btcentralplus.com] has joined #code
09:49 You're now known as TheWatcher
09:50 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
10:38 * TheWatcher pokes any Mac users
10:38
<@TheWatcher>
Can anyone recommend a free GUI grep application for macs?
10:38
<@TheWatcher>
(yes, I know OSX ships with the shell version of grep. This is for students who appear to be allergic to terminal windows)
10:44
<@gnolam>
froztbyte: whoever wrote that is totally missing the point.
10:45
<@froztbyte>
it's the same guy who did the "fractal of bad design" post
10:45
<@froztbyte>
but how do you mean?
10:50 You're now known as TheWatcher[d00m]
10:56 KarmaBot [karma.bot@A08927.B4421D.FE7332.A86588] has quit [Ping timeout: 121 seconds]
10:58 KBot [karma.bot@Nightstar-be32adc8.80-203-17.nextgentel.com] has joined #code
11:01 KBot is now known as KarmaBot
11:02 OrthiaLap [orthia@Nightstar-03a7221e.vf.net.nz] has quit [Ping timeout: 121 seconds]
11:39 Kyte|Work [c80e6b02@Nightstar-4fab16c5.mibbit.com] has joined #code
12:13
<@[R]>
TheWatcher[d00m]: is there a GUI vim for mac?
12:13 * [R] suspects if they need to learn regex's they're in a profession-path that they should learn the damn terminal.
13:00 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code
13:00 mode/#code [+o celticminstrel] by ChanServ
13:10 You're now known as TheWatcher
13:23 Nick1977 [Nick1977@Nightstar-2b471937.wireless.uva.nl] has joined #code
13:23
< JustBob>
Ah, there you are.
13:23
< JustBob>
[06:17:26] <Nick1977> hello all! i have a question regarding turing machines:
13:23
< JustBob>
[06:17:45] <Nick1977> how can you prove with turing reduction that L = { x | x is a program of a turing machine that prints 0 when input is empty } undecidable is?
13:24
< Nick1977>
thanks for posting. :)
13:24
< JustBob>
Might someone be able to give'im a hand with that one? Fuckall if I know; I fail Turing tests. :p
13:29
<@celticminstrel>
I'm guessing turing machines are what will be covered in that one required course I haven't yet taken.
13:29
< JustBob>
(Insofar as it's 6:30am for the left coast, and since most of this place is NorAm, you might have a bit of a wait, Nick.)
13:30
< JustBob>
However.
13:30
< JustBob>
This might help: http://www.cs.columbia.edu/~tal/3261/sp12/notes/halting_lecturenotes.pdf
13:33
< JustBob>
http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&ved=0CEAQ FjAC&url=http%3A%2F%2Fwww.cs.rpi.edu%2F~moorthy%2FCourses%2Fmodcomp%2Fslides%2FD ecidability_Reductions.ppt&ei=5tBBUdLtCcbmyQGS64GQAQ&usg=AFQjCNGGml65p423qhffwjv r6GZU9bXgJQ&sig2=BSrAovhnRQst9rD2QERZQw <- Or that, if you want to endure a powerpoint written entirely in Comic Sans MS.
13:38 Attilla [chatzilla@Nightstar-02422f4a.range81-151.btcentralplus.com] has left #code [""]
13:38
<@TheWatcher>
[R]: they're just wanting to search a bunch of html files for specific words
13:39
<@TheWatcher>
Basically just the equivalent of `grep -ri 'Something' /path/to/files`
13:40
<@TheWatcher>
But wrapped in something that won't make them have a fit
13:59 Nick1977 [Nick1977@Nightstar-2b471937.wireless.uva.nl] has quit [[NS] Quit: irc2go]
14:22 Syk_ [the@Nightstar-30a6a752.iinet.net.au] has joined #code
14:24 Syk_ [the@Nightstar-30a6a752.iinet.net.au] has quit [[NS] Quit: leaving]
14:24 Syka [the@Nightstar-30a6a752.iinet.net.au] has joined #code
14:25 Syk [the@A6D346.40FE1F.23B03F.407F01] has quit [Ping timeout: 121 seconds]
14:25 ToxicFrog is now known as ToxicFrog|W`rkn
14:43 You're now known as TheWatcher[afk]
14:45
<&McMartin>
[java] Gunther | public int getTimezoneOffset()
14:45
<&McMartin>
[java] Gunther | Deprecated. As of JDK version 1.1, replaced by -(Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(Calendar.DST_OFFSET)) / (60 * 1000)
14:45
<&McMartin>
[java] Gunther claps very slowly and carefully.
14:46
<&McMartin>
Yep
14:48
<&ToxicFrog|W`rkn>
:java:
14:48
<&McMartin>
Ordinarily, I'd actually approve of reducing the size of the core library to a minimal set of sufficiently powerful methods
14:51
<&ToxicFrog|W`rkn>
So would I, but actually accomplishing that would involve reducing the size of the Java Standard Library by at least 80%~
14:52
<&McMartin>
Nah, much more than 20% of it is "batteries included" stuff
14:52
<&ToxicFrog|W`rkn>
So given the design philosophy of "implement ALL THE CLASSES", why not have getTimezoneOffset()?
14:52
<&McMartin>
Also, any cut that removes the CORBA layers is too deep
14:52
<&ToxicFrog|W`rkn>
(answer: because it would make code less verbose and WE CAN'T HAVE THAT)
14:52
<&McMartin>
Because Java's insistence on fully qualified names means that the standard *must* be mandating org.omg.* all over the place.
14:52
<&McMartin>
Also, the Object Management Group needs to found a Web Task Force and have *them* release Java classes.
14:53
<&ToxicFrog|W`rkn>
I kind of assumed that getTimezoneOffset() was a static method in java.util.datetime.date.time.util.Calendar or something anyways.
14:54
<&McMartin>
looks like an instance method; you might be working in multiple timezones simultaneously!
14:59
<@froztbyte>
"In August, a survey by Wakefield Research found 29 percent of Americans think cloud computing involves an actual cloud. (Only 16 percent went with "a computer network to store, access and share data.") The survey also found 51 percent of Americans think stormy weather would interfere with the cloud."
14:59
<@froztbyte>
http://www.11points.com/News-Politics/11_Things_Americans_Wrongly_and_Frightenin gly_Believe
15:00
<&ToxicFrog|W`rkn>
In other news, death to scanners
15:00
<&McMartin>
51 percent of Americans are probably right. Whenever it rains within 50 miles of here AT&T's network floods and the nodes start shorting out, knocking my Internet to shit
15:01
<@froztbyte>
ToxicFrog|W`rkn: amen
15:01
<@froztbyte>
ToxicFrog|W`rkn: I nominate WorkenFrog, btw
15:01
<&McMartin>
Insufficient Marathon
15:01
<@froztbyte>
We Demand Additional Torches
15:02
<&McMartin>
This article has entirely too many numbers below 27%
15:02
<&McMartin>
Any number below 27% is basically zero
15:02
<@celticminstrel>
Pffft.
15:03
<&McMartin>
"We really need Neil deGrasse Tyson to come punch out these fools"
15:03
<&McMartin>
He'd never run out of necks!
15:03 * ToxicFrog|W`rkn hurls froztbyte into the sun, binds him there with carefully shaped gravity fields
15:03
<&McMartin>
This is a waste of a perfectly good Neil deGrasse Tyson
15:03
<@celticminstrel>
Who is this guy, again?
15:03
<&McMartin>
Ha ha
15:03
<@celticminstrel>
I hear about him every so often.
15:03
<&McMartin>
It's too early in the morning, I have to look this up
15:03
<&McMartin>
A Science Badass, but he's also something official
15:03
<@celticminstrel>
Like, if I recall, he was the one who got the proper starts into Titanic or something.
15:03
<@celticminstrel>
^stars
15:04
<&McMartin>
He was
15:04
<&McMartin>
He's a science writer and lecturer, it seems, and also used to host NOVA
15:04
<&McMartin>
He's essentially The Next Carl Sagan.
15:04
<@celticminstrel>
Ah.
15:05
<&McMartin>
And kind of looks like what you'd get if you crossed Carl Sagan with Samuel L. Jackson.
15:05
<&McMartin>
Ha ha, his wiki picture is great
15:05
<@celticminstrel>
I have neither of those faces in my memory, though I'm sure I've seen photos or something of Carl Sagan.
15:06
<&McMartin>
Nick Fury from Avengers~
15:06
<&McMartin>
https://en.wikipedia.org/wiki/File:Neil_deGrasse_Tyson_-_NAC_Nov_2005.jpg
15:06
<&McMartin>
Seriously, check out that "what is wrong with you people" look~
15:06
<&McMartin>
Though that might just be camera vs. things happening vs. stance
15:06
<&McMartin>
*really* looks like sideeye though
15:08
<@froztbyte>
he's kinda cool
15:08
<&McMartin>
Oh, Wikipedia
15:08
<&McMartin>
HONORS
15:08
<@froztbyte>
him on The Daily Show was lulz
15:08
<@celticminstrel>
Honors?
15:08
<&McMartin>
* 2000 Sexiest Astrophysicist Alive, People Magazine[57]
15:08
<@celticminstrel>
...
15:08
<&McMartin>
This is literally the first entry on Wiki's honors list for him
15:09
<&McMartin>
Before "Had an asteroid named after him"
15:09
<&McMartin>
I suppose I'm willing to grant that this is because they're doing it in chronological order
15:09
<&McMartin>
But still.
15:10
<&McMartin>
Apparently Colbert interviewed him too
15:11
<&McMartin>
Also Also, apparently there is a topic footer Just For Him
15:11
<@celticminstrel>
...topic footer?
15:12
<@celticminstrel>
Oh.
15:12
<@celticminstrel>
Huh.
15:12
<&McMartin>
He's written a bunch of stuff, so maybe this is typical for prolific authors?
15:12 * McMartin rarely looks up actual people on Wiki.
15:12
<@celticminstrel>
I dunno...
15:15 * celticminstrel looks up a bunch of random people to check.
15:15
<@celticminstrel>
Tamora Pierce, Ann McCaffrey, and Terry Pratchett have topic footers. Piers Anthony, Phil Plait, Sean Carroll, Bruce Schneier don't.
15:16
<@celticminstrel>
I guess that means it's at least somewhat normal?
15:17
<&McMartin>
Fair enough
15:18
<@celticminstrel>
I had no idea what Mitt Romney's name was. I just assumed that was his name.
15:18
<&McMartin>
I'm not entirely sure why it's horrifying that people aren't generally aware of what names someone has that they don't use.
15:19
<@celticminstrel>
You have a point there.
15:19
<&McMartin>
People know John Quincy Adams's middle name, but not his father's. You don't see people wringing their hands about that.
15:19
<@celticminstrel>
#11 is the best.
15:22
<&McMartin>
http://www.thismodernworld.com/weblog/mtarchives/week_2003_06_15.html#000779 has been my go-to link for "no, really, people don't actually know anything" for nearly a decade
15:22
<@celticminstrel>
Two of those topic boxes I found are actually about a specific subset of the person's works; eg Pratchett's is about Discworld only and not his other books.
15:23
<&McMartin>
Aha
15:23
<&McMartin>
Yeah, there is a "Neil deGrasse Tyson" topic box
15:24
<@celticminstrel>
McCaffrey's seems to cover all her works though.
15:24
<&McMartin>
(Takeaway from the TMW link: "So one-third of Americans mistakenly think we found WMDs? Great. We can work with that. After looking at these numbers, I'm just relieved 30 percent don't think Saddam's disembodied wraith is looming in a vengeful stormfront, ready to deflower the womenfolk, lead our children into Satan's bosom, and force the men to read science books.")
15:24 * Azash sends in a job application, proceeds to chew nails for a week
15:25
<&McMartin>
"7% think Elvis is possibly still alive"
15:25
<&McMartin>
I wonder if this number drops as his natural age if alive continues to advance
15:25
<@celticminstrel>
How old would he be if he were still alive?
15:25
<@celticminstrel>
I wonder too.
15:25
<@Azash>
78
15:25
<&McMartin>
Born January 8, 1935.
15:26
<&McMartin>
Azash is faster with the math than I am
15:26
< Syka>
that's still possible
15:26
<&McMartin>
Only would have been 68 when the poll was taken
15:26
<@celticminstrel>
Speaking of Elvis, he also has his own topic box.
16:14 Syka is now known as syksleep
16:24
<&ToxicFrog|W`rkn>
<sup3mark> Two weeks with no pope: baby cured of HIV, breath test for cancer, saltwater found on moon of Jupiter. Day one with new pope: Google Reader dies.
16:25
<@gnolam>
:D
16:34
<@Azash>
ToxicFrog|W`rkn: Amazing
16:35
<@celticminstrel>
Google Reader dies? What?
16:35
<@celticminstrel>
Also, what's this about HIV...
16:35
<@celticminstrel>
...actually I want all of those.
16:35
<@celticminstrel>
Articles.
16:35
<@celticminstrel>
Stuff.
16:35
<@Azash>
The HIV thing got the typical press treatment
16:35
<@celticminstrel>
<_<
16:36
<@Azash>
Basically a kid born with HIV was treated starting as early as possible and was apparently cured
16:45
< LootOfficer>
Heard a story about a guy who was cured of AIDS by marrow transplants or something, some months before.
16:55 d4de [olorin@687AAB.418D22.0FE7A6.052BE9] has quit [Ping timeout: 121 seconds]
17:25
<&ToxicFrog|W`rkn>
celticminstrel: Reader is being discontinued, shutdown sometime this summer, Newsblur and Feedly servers have melted as everyone jumps ship.
17:26 * celticminstrel is using a non-online rss app anyway.
17:40
< RichyB>
ToxicFrog|W`rkn: oh god that's funny.
17:41
< RichyB>
Specifically, the bit where everyone else has a massive server meltdown. :)
18:23 Kindamoody|out is now known as Kindamoody
18:26
<@gnolam>
celticminstrel: The HIV thing: http://scienceblogs.com/erv/2013/03/03/wait-did-a-kid-just-get-cured-of-hiv/
20:21 You're now known as TheWatcher
20:21 SmithKurosaki [smith@Nightstar-1c4fca1f.eng.wind.ca] has joined #code
20:22
< SmithKurosaki>
Afternoon all
20:24
< SmithKurosaki>
Is anyone around that's good with rsync? I'm trying to use it to copy a folder's contents into a folder elsewhere of the same name and it doesn't want to seem to work. It just wants to skip the entire directory. I know there is a specific / combination that makes it work, but I can't remember what it is
20:27
< RichyB>
rsync -a
20:27
< RichyB>
-a sets recursive, preserve dates/times, buncha other stuff.
20:27
< RichyB>
rsync -av is usually what you want in practice
20:28
< RichyB>
rsync -av --delete is what you want if you're synchronising instead of backing up.
20:28
< SmithKurosaki>
Hrm
20:28
< SmithKurosaki>
Thank you, I wasn't sure if I used to use options or not
20:30
< SmithKurosaki>
What does the --delete tag do?
20:30 Derakon [chriswei@31356A.8FA1FE.CF2CE9.D6CF77] has joined #code
20:30 mode/#code [+ao Derakon Derakon] by ChanServ
20:30
<&ToxicFrog|W`rkn>
If a file exists in the destination but not the origin, delete it in the destination.
20:30
<@TheWatcher>
removes any files in the destination that are not in the source
20:31
< SmithKurosaki>
Ahh
20:31
< SmithKurosaki>
I don't want to worry about that to prevent accidental file loss
20:31
<&ToxicFrog|W`rkn>
rsync -avvPh a/ b/ copies everything in a to b, and keeps any "extra" files in b.
20:31
< SmithKurosaki>
It's a sync and backup simultaneously
20:31
<&ToxicFrog|W`rkn>
rsync -avvPh --delete a/ b/ copies everything in a to b, and deletes anything in b that isn't in a.
20:31
< SmithKurosaki>
That's what I used to use...
20:31
< SmithKurosaki>
I hate having to relearn linux again
20:31
<&ToxicFrog|W`rkn>
Basically, use --delete when you want both dirs to end up as perfect copies of each other, and not if you just want to merge the contents of one into another.
20:32
<&Derakon>
Reminds me, I should rsync my home directory again.
20:32
<&ToxicFrog|W`rkn>
Derakon: I've been using Unison for semi-automatically harmonizing my dotfiles and stuff across machines.
20:32
<&Derakon>
TF: yeah, just one of those things I've never been arsed to get around to automating.
20:32
< SmithKurosaki>
Yea, I'm rsync backup->main and then main->backup to keep my main up to date versus my portable backup and then make sure all the new stuff in my main folder is backed up
20:33 * Derakon goes back to pondering a problem he has.
20:33
< SmithKurosaki>
Thank you muchly
20:34
<&Derakon>
I have a linear array of objects that are arranged in a particular pattern, and I need to figure out how to index into it.
20:34
<&ToxicFrog|W`rkn>
SmithKurosaki: suggestion: install Unison, configure it to sync main<->backup automatically. Then you can just type "unison" and it automatically syncs everything.
20:34
< SmithKurosaki>
o.0
20:34
< SmithKurosaki>
Is that cross platform?
20:34
<&ToxicFrog|W`rkn>
If there are conflicts (e.g. something has changed in backup and in main, but in different ways), it stops and asks you what to do.
20:34
<&Derakon>
To be specific, I'm collecting data where the angle, phase, and Z step each vary, and given a particular angle/phase/Z I need to figure out how to index in.
20:34
<&ToxicFrog|W`rkn>
Linux only, AFAIK.
20:34
< SmithKurosaki>
It's basically an automated git?
20:34
<&ToxicFrog|W`rkn>
No, it doesn't do any versioning.
20:35
<&Derakon>
E.g. if the ordering is angle -> phase -> z, then my angle multiplier is (maxPhase * maxZ), phase multiplier is (maxZ), z multiplier is 1.
20:35
< SmithKurosaki>
Yea
20:35
<&Derakon>
But the ordering could be any permutation.
20:35
<&ToxicFrog|W`rkn>
It's more an automated bidirectional rsync -a --delete
20:35
< SmithKurosaki>
Yay
20:35
< SmithKurosaki>
Anyways, I'm away
20:35
<&Derakon>
So I need to figure out the multipliers programmatically.
20:36
<&Derakon>
The last multiplier is always 1; the second multiplier is always (size of last multiplier's max value), the first is always (product of other two max values).
20:36
<&Derakon>
Hm...
20:42
<&Derakon>
Okay, I think this is right. http://pastebin.com/P0PJ1xFh
20:47 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
20:50
< RichyB>
Dammit. The fact that Linux is missing SIGINFO is highly annoying.
20:52 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
20:52 mode/#code [+qo Vornicus Vornicus] by ChanServ
20:53 Kindamoody is now known as Kindamoody[zZz]
20:53
<@TheWatcher>
Several programs I've run into use USR1 for the same effect
20:53
< RichyB>
Yeah, that's fine.
20:53
<@TheWatcher>
(not that I can name any off the top of my head right now, brain is fried)
20:53
<@celticminstrel>
What's SIGINFO even for?
20:53
< RichyB>
What's awesome on FreeBSD and OS X is that pressing control-T in your terminal sends SIGINFO to the current foreground process.
20:53
< RichyB>
SIGINFO is ignored by default.
20:54
<@TheWatcher>
celticminstrel: generally it tells processes to print out information about how far along they are in a job
20:54
< RichyB>
The combination of these facts means that you can use SIGINFO to add "print a progress report to stderr" to pretty much any program that's normally supposed to be quiet while working (e.g. dd) and it works really well.
20:55
< RichyB>
Also, it means that the end-user has no fear of spamming SIGINFO at random processes on the off-chance that maybe they do something useful with it?
20:55
< RichyB>
The lack of it is, right now, seriously harshing my mellow because I wanted to abuse it for something slightly-related.
20:56
<@TheWatcher>
Kernel patching time!~
20:56 * Tamber hands TheWatcher a hex-editor.
20:56
< RichyB>
The problem with SIGUSR1 for that is that, firstly there's no support in terminals and vty's for sending it like there is for SIGINFO, and secondly the default behaviour is to kill the process. Dammit.
21:07 * Derakon takes a moment to cheer for programs that have simulated devices and thus can be tested on laptops instead of having to always run on the production hardware.
21:07 * Derakon takes a second moment to cheer for having written said programs~
21:07 noonbaja [noonbajaa@D82662.7444E7.DE02ED.C48C0B] has joined #code
21:07
<&jerith>
\o/
21:12 noonbaja [noonbajaa@D82662.7444E7.DE02ED.C48C0B] has quit [[NS] Quit: ]
21:21 You're now known as TheWatcher[afk]
21:26 RichyB [richardb@Nightstar-228a334c.plus.com] has quit [[NS] Quit: >:3 This is BunThulhu. Copy him into your quit message to help him take over the Internet.]
21:30 d4de [olorin@687AAB.418D22.50F7C2.296A45] has joined #code
22:02 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
22:41 himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code
22:41 mode/#code [+o himi] by ChanServ
22:49 RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has joined #code
22:54 Derakon [chriswei@31356A.8FA1FE.CF2CE9.D6CF77] has quit [[NS] Quit: leaving]
23:15 OrthiaLap [orthia@Nightstar-03a7221e.vf.net.nz] has joined #code
23:15 OrthiaLap [orthia@Nightstar-03a7221e.vf.net.nz] has quit [[NS] Quit: ]
23:26
<&McMartin>
Whoa hey, Linux support for Gamemaker
23:26
<~Vornicus>
whoa hey
23:26
<&McMartin>
Not going to be back-compatible though, so no native Linux Iji =(
23:26
<~Vornicus>
:(
23:27
<&McMartin>
Native Linux Hotline Miami pretty plausible though, I think
23:59 Derakon[AFK] is now known as Derakon
--- Log closed Fri Mar 15 00:00:03 2013
code logs -> 2013 -> Thu, 14 Mar 2013< code.20130313.log - code.20130315.log >

[ Latest log file ]