code logs -> 2013 -> Wed, 06 Feb 2013< code.20130205.log - code.20130207.log >
--- Log opened Wed Feb 06 00:00:53 2013
00:09 syksleep is now known as Syk
00:19 You're now known as TheWatcher[T-2]
00:21 Attilla [Attilla@Nightstar-aced750e.range86-184.btcentralplus.com] has quit [Ping timeout: 121 seconds]
00:24 You're now known as TheWatcher[zZzZ]
00:37 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code
00:37 mode/#code [+o celticminstrel] by ChanServ
00:38 RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has joined #code
00:42 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has quit [[NS] Quit: leaving]
00:42 Derakon[AFK] is now known as Derakon
00:42 mode/#code [+ao Derakon Derakon] by ChanServ
02:37 Kindamoody[zZz] is now known as Kindamoody
03:07 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!]
03:12 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
03:42
<@RobinStamer>
"If you use a frog, you will be fine." is the advice a friend got when failing to connect the the advice-giver's ssh host. The error is "remote host closed the connection." right after the key-eschange step. Any ideas what "frog" would be in this context?
03:49
<@Azash>
This, I guess? https://en.wikipedia.org/wiki/FROG
03:50
<@RobinStamer>
Ah, got it
03:50
<@RobinStamer>
It's a designation of machines
03:50
<@RobinStamer>
"For some reason, the handin command is working on the frogsbut not on the dragons. I know this because I just tried it on both machines. So if you are having trouble, try a frog."
04:14 OrthiaLap [orthia@3CF3A5.E1CD01.5A78C0.03128C] has quit [Ping timeout: 121 seconds]
04:32 OrthiaLap [orthia@3CF3A5.E1CD01.5A78C0.03128C] has joined #code
04:54 Derakon is now known as Derakon[AFK]
04:55 OrthiaLap [orthia@3CF3A5.E1CD01.5A78C0.03128C] has quit [Ping timeout: 121 seconds]
04:58 OrthiaLap [orthia@3CF3A5.E1CD01.5A78C0.03128C] has joined #code
05:02 mac [mac@Nightstar-fe8a1f12.il.comcast.net] has joined #code
05:10 OrthiaLap [orthia@3CF3A5.E1CD01.5A78C0.03128C] has quit [Ping timeout: 121 seconds]
05:14 Derakon[AFK] is now known as Derakon
05:26 Rhamphoryncus [rhamph@Nightstar-cc6253d6.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
05:26 Rhamphoryncus [rhamph@Nightstar-cc6253d6.abhsia.telus.net] has joined #code
05:26 mode/#code [+o Rhamphoryncus] by ChanServ
06:11
<&ToxicFrog>
From a conversation using restaurants as metaphors for programming languages and libraries
06:12
<&ToxicFrog>
<bobthecheese> Fuck that, I'm a customer at that poorly run cafe[pylonsproject.org] which makes really tasty, healthy food, and they encourage you to pick your own ingredients, but half the time they're out of season. Also the menu is several years out of date. Sure, the service is shitty, half the time you can't even get a basic sandwich, and no-one is able to tell you how you're meant to order (you're meant to just know already), bu
06:12
<&ToxicFrog>
t I still love it.
06:12
<&ToxicFrog>
<bucketmouse> Personally I like to eat at mcdonalds[php.net] except half the time there's no electricity, I can always hear a baby crying from somewhere even if the restaurant is completely empty, and one time I ordered fries and got half of a human head instead
06:12
<&ToxicFrog>
<bucketmouse> actually no fuck that
06:16
< Xires>
ToxicFrog; have you, by chance, used protothreads before?
06:17
<&ToxicFrog>
I've never even heard of protothreads.
06:19
< Xires>
ToxicFrog; oh, umm.. http://dunkels.com/adam/pt/ - appears to expand on Duff's Device
06:20
< Xires>
I was just wondering if you could point out any glaring flaws in using them for some single-purpose embedded systems
06:20 Nemu_ [NeophoxProd@Nightstar-40eff06c.asahi-net.or.jp] has quit [Connection reset by peer]
06:21
< Xires>
perhaps you've used a construct that is similar?
06:21 Nemu [NeophoxProd@Nightstar-06c232a1.asahi-net.or.jp] has joined #code
06:24
<&ToxicFrog>
Hard to say without looking at the source - is it fully concurrent or more coroutine-like?
06:25
< Xires>
ToxicFrog; very coroutine-like..I think
06:26
< Xires>
at least it appears to be
06:26
< Xires>
haven't checked in-depth..doing so now
06:26
<&ToxicFrog>
I will take a closer look once it's not 2am
06:26
< Xires>
http://dunkels.com/adam/pt/expansion.html - this expands on how they work 'under the hood' without getting too verbose in the source
06:27 Derakon is now known as Derakon[AFK]
06:27
< Xires>
anywho..if you can offer some insight, great..if not, no biggie..either way, get some rest
06:43 himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Ping timeout: 121 seconds]
06:47 Attilla [Attilla@Nightstar-aced750e.range86-184.btcentralplus.com] has joined #code
07:14 ErikMesoy|sleep is now known as ErikMesoy
07:57 * Vornicus determines that there is a better way to do this than simulation, which is good because simulation was a pain in the ass.
08:05
<@Azash>
Out of curiosity
08:06
<@Azash>
To what degree do thread packages in major languages make use of kernel threads?
08:08
< ReivDriod>
Vorn - what be you simulating?
08:10
<~Vornicus>
ReivDriod: you may or may not remember that I've been working on a 4e skill selection tool; previous to my current thought, the way I would determine whether a selection could be made was by looking in the complete list of possible outcomes of simulated skill selection.
08:12 Attilla [Attilla@Nightstar-aced750e.range86-184.btcentralplus.com] has quit [Ping timeout: 121 seconds]
08:13
< ReivDriod>
I... See
08:13
<~Vornicus>
(the skill selection ui is a bunch of dropdowns; if a given change in a particular dropdown would create an illegal selection, that change is disabled.)
08:13
< ReivDriod>
That is a slightly convoluted way to do it, yes.
08:14
<~Vornicus>
(so previously I would disable individual skills by comparing the selection list with that change made to the complete list etc etc)
08:18
<~Vornicus>
Now I've figured out a better way: I can count the number of selections made at each 'level' -- a class has (usually) a set of "primary" skills, a set of "regular" skills, and then a set of non-class skills -- and compare that against the number of selections hat need to be made. I can then disable skills in groups if changing to a skill in that group would make the selection miss the requirements
08:18
< ReivDriod>
That is a sensible way to do it, yes.
08:19
<~Vornicus>
HTML even gives me this ability straight up: put your options in an optgroup and you can disable the optgroup as a whole.
08:20
< Xon>
Azash, fairly closely. on a general purpose OS you generally want to use kernel threads since they are hardware threads which makes stuff a lot easier. But with stuff like automatic threadpooling, hyperthreading, etc, it's really an implementation detail
08:20 * Azash nods
08:21
< Xon>
It's really easy to break assuptions if your code assumes user-threads & stack messing around isn't happenig. Obviously doesn't apply to managed or scripting languages
08:21
<@Azash>
Well, was more wondering re. using multiple cores
08:23
< Xon>
pure user-threads made a lot more sense when there was only 1 hardware thread
08:24 mac [mac@Nightstar-fe8a1f12.il.comcast.net] has left #code ["Leaving"]
08:24 * Vornicus gets the code to tell where the requirement limitations are; now he need to get it to apply those limitations to the existing dropdowns.
08:33
<~Vornicus>
hm. Okay so I have two lists, something like a = [1,5,3,6,9,2,8,4] and b = [3,5,10], and I want to generate the list [3,5,3,10,10,3,10,5] -- for each element k in a, the new list has the smallest element x in b s.t. x >= k
08:47 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
08:47 mode/#code [+o himi] by ChanServ
08:55 Netsplit *.net <-> *.split quits: @himi, @jerith, @Orthia
08:56 Netsplit over, joins: &jerith, @Orthia, @himi
09:19
<~Vornicus>
And there we have it.
09:22 * Vornicus can now do this right.
09:30 Xires is now known as ^Xires
09:44 RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has quit [Operation timed out]
10:09 Kindamoody is now known as Kindamoody|out
10:14 d4de [olorin@687AAB.418D22.658FD2.C1C221] has quit [Ping timeout: 121 seconds]
10:24 You're now known as TheWatcher
10:34 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
11:00 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
11:04 ^Xires is now known as Xires
11:14 Attilla [Attilla@Nightstar-aced750e.range86-184.btcentralplus.com] has joined #code
11:25 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds]
11:28 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
11:35 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
13:06
<@froztbyte>
re that text Vash linked here the other day, this was the related post that I had in mind: http://nedbatchelder.com/blog/201207/bad_answers_on_stack_overflow.html
13:16 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
13:19 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds]
14:53 Syk is now known as syksleep
16:28
< JustBob>
You know, there is something fundamentally wrong about /printing/ entire reams of code so someone can grade it with a red pen.
16:29
<@TheWatcher>
...
16:29
<@TheWatcher>
Yes, yes there is
16:30
<@TheWatcher>
Your next mission, should you choose to accept it, is to incorporate an accrostic into your code that reads "WILL NOBODY THINK OF THE TREES"
16:31
<@TheWatcher>
*acrostic
16:37
< JustBob>
Given that it's due in, oh, three and a half hours or so
16:38
< JustBob>
ANd I still haven't actually finished it...
16:38
< JustBob>
Since I had a bit of a drooling pass-out...
16:45 d4de [olorin@687AAB.E04ECC.D09C3D.16BF6B] has joined #code
17:47
<@froztbyte>
haha bob
17:48
<@froztbyte>
my matric compsci teacher used to find *the tiniest of things* in my code to penalise me about
17:48
<@froztbyte>
like an unused variable in an array, etc
17:48
<@froztbyte>
and would force me to print it out for the same reason
18:21 Kindamoody|out is now known as Kindamoody
18:32
< JustBob>
Snerk.
18:32
< JustBob>
That would have been silly.
18:32
< JustBob>
I was plotting watts vs. sex
18:32
< JustBob>
Instead of watts vs. secs
18:40 VirusJTG__ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
18:43 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds]
19:43 mac [mac@Nightstar-fe8a1f12.il.comcast.net] has joined #code
19:50 Kindamoody is now known as Kindamoody[zZz]
20:19 * JustBob mutters something about "short" homework assignments that span 21 double-sided pages.
20:19
< JustBob>
Admittedly, half that is code, or code output, but still. :p
21:28 * ErikMesoy realizes how the hell wxPython's style commands work, and why.
21:30
< ErikMesoy>
I spent a long time being confused by "style = wx.TE_READONLY | wx.TE_MULTILINE" and poking at the magic numbers that these caps-constants represented before realizing that the *single* bar was doing bitwise OR, hence combining the lot of them. And that's why style is a long.
21:33
<&McMartin>
[programming] Jota says, "I like that in Buzilla, the severity level 'enchancement' is abbreviated 'enh'."
21:33
<&McMartin>
[programming] Jota says, "'Hey, how severe is tick 524?' 'Enh.'"
21:53 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
21:53 mode/#code [+qo Vornicus Vornicus] by ChanServ
22:05 ErikMesoy is now known as ErikMesoy|sleep
22:08 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
22:16 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code
22:16 mode/#code [+o celticminstrel] by ChanServ
22:26 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: >:3 This is BunThulhu. Copy him into your quit message to help him take over the Internet.]
22:40 mac [mac@Nightstar-fe8a1f12.il.comcast.net] has quit [[NS] Quit: This computer has gone to sleep]
23:09 OrthiaLap [orthia@3CF3A5.E1CD01.5A78C0.03128C] has joined #code
23:13 OrthiaLap [orthia@3CF3A5.E1CD01.5A78C0.03128C] has quit [Ping timeout: 121 seconds]
23:15 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
23:30 himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code
23:30 mode/#code [+o himi] by ChanServ
23:47
<@RobinStamer>
ErikMesoy|sleep: never seen bitflags before?
23:48 Nemu [NeophoxProd@Nightstar-06c232a1.asahi-net.or.jp] has quit [Ping timeout: 121 seconds]
--- Log closed Thu Feb 07 00:00:07 2013
code logs -> 2013 -> Wed, 06 Feb 2013< code.20130205.log - code.20130207.log >

[ Latest log file ]