--- Log opened Thu Aug 20 00:00:48 2015 |
00:16 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
00:16 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
00:18 | < Reiv_> | what is pico de gallo |
00:20 | <~Vornicus> | "chunky salsa" |
00:21 | <~Vornicus> | Usually to the point where the ingredients are obvious and well-differentiated. |
01:23 | | Namegduf [namegduf@Nightstar-lcgn9d.beshir.org] has joined #code |
01:23 | | mode/#code [+o Namegduf] by ChanServ |
01:31 | | Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has quit [Connection closed] |
01:31 | | Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has joined #code |
01:31 | | mode/#code [+ao Derakon Derakon] by ChanServ |
01:33 | | ion [Owner@Nightstar-h5r554.vs.shawcable.net] has quit [Ping timeout: 121 seconds] |
02:15 | <&McMartin> | Man, I'm sure I've giggled at this before |
02:15 | <&McMartin> | But I'm still giggling whenever I hit an infinite loop in this code and it's represented as "for (; ;)" |
02:19 | <&Derakon> | Why do people do that anyway? |
02:20 | <&McMartin> | Infinite loops or "for (; ;)" instead of "while (true)"? |
02:27 | <&Derakon> | The latter. |
02:30 | <&McMartin> | "true" isn't in C. |
02:30 | <&McMartin> | and "while (1)" is lame |
02:33 | <&Derakon> | What's wrong with "while (1)"? |
02:33 | <&Derakon> | Just not Cleverā¢ enough? |
02:35 | <&McMartin> | I'd consider "while (1)" more "clever(tm)" than "for (;;)" |
02:35 | <&McMartin> | for loop says all parts are optional |
02:35 | <&McMartin> | Clever(tm) is #define ever (;;) |
02:38 | <&Derakon> | Heh. |
02:39 | <~Vornicus> | That *is* clever |
02:40 | <&McMartin> | If you have an optimizing compiler you may get something out of the fact that the compiler can prove the loop never exits normally |
02:40 | <&McMartin> | It's technically easier to prove that for (; ;) never exits than that while (true) doesn't. |
02:41 | <&McMartin> | The former requires only parsing it; the latter requires constant propagation. |
02:47 | | celticminstrel [celticminst@Nightstar-s27jjc.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
02:48 | | celticminstrel [celticminst@Nightstar-s27jjc.dsl.bell.ca] has joined #code |
02:48 | | mode/#code [+o celticminstrel] by ChanServ |
02:53 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Leaving] |
02:53 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
02:53 | | ion [Owner@Nightstar-h5r554.vs.shawcable.net] has joined #code |
04:31 | | Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
04:44 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
05:09 | | Derakon is now known as Derakon[AFK] |
05:19 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
05:20 | | catadroid` [catalyst@Nightstar-gvtais.dab.02.net] has joined #code |
05:22 | | catadroid [catalyst@Nightstar-ufni7b.dab.02.net] has quit [Ping timeout: 121 seconds] |
05:24 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
05:24 | | mode/#code [+o himi] by ChanServ |
05:45 | | catadroid` [catalyst@Nightstar-gvtais.dab.02.net] has quit [[NS] Quit: Bye] |
06:18 | | Kindamoody[zZz] is now known as Kindamoody |
06:52 | | mac is now known as macdjord|slep |
06:55 | | celticminstrel [celticminst@Nightstar-s27jjc.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
08:32 | | Kindamoody is now known as Kindamoody|afk |
08:47 | | starkruzr [jtd@Nightstar-qbtq3s.fios.verizon.net] has quit [Ping timeout: 121 seconds] |
08:49 | | starkruzr [jtd@Nightstar-qbtq3s.fios.verizon.net] has joined #code |
10:30 | | Haruki [Haruki4@Nightstar-p6pihp.bigpond.net.au] has joined #code |
10:30 | < Haruki> | I dont really have any questions, i was just planning on idling in here and watching any conversations |
10:30 | < Haruki> | so... *pulls up a chair* :> |
10:36 | <@TheWatcher> | Welcome! Just a note though: it often doesn't really pick up in here until the US wakes up, so don't be surprised if it's quiet for a while yet. |
10:40 | <&McMartin> | Woo, success |
10:41 | <&McMartin> | https://hkn.eecs.berkeley.edu/~mcmartin/retro/lights_out.zip |
10:41 | | * McMartin writes a DOS game in less than 1KB. :) |
10:50 | < Haruki> | Im actually scared to run whatver this is o_o |
10:50 | | You're now known as TheWatcher[d00m] |
10:51 | < wowaname> | McMartin it sounds like the lights out game |
10:52 | < wowaname> | for (;_;) would be amusing |
10:52 | < Haruki> | It doesnt run on Win10 :C |
10:52 | < wowaname> | well yeah it's a dos gamre |
10:53 | < wowaname> | try dosbox or a 32bit windows |
10:53 | < wowaname> | #define an_infinite_loop 1 |
10:54 | < Haruki> | i thought you might just be able to play it in cmd ^^; im kind of awful at coing related things |
10:54 | < wowaname> | while (an_infinite_loop) { /* */ } |
10:55 | < wowaname> | hm thats interesteing about loops though |
10:55 | < wowaname> | so for is better than while |
11:09 | <&McMartin> | wowaname: It is indeed exactly the lights out game |
11:09 | < wowaname> | :3 |
11:10 | <&McMartin> | and yeah, dosbox. 64-bit windows won't run 16-bit exes :) |
11:10 | < wowaname> | i dont care much for lightsout |
11:10 | < wowaname> | then again i dont have patience for it |
11:10 | <&McMartin> | There's a method to it; I can now solve any 5x5 in about 15 seconds |
11:11 | <&McMartin> | Of course that means it's not fun anymore :/ |
11:11 | < wowaname> | yeah i thought there would be a method |
11:11 | < wowaname> | it's either know the method and do it robotically, or not know it and get mad |
11:11 | < wowaname> | rubiks is still ok with the method |
11:11 | < wowaname> | theres more than one though |
11:14 | <&McMartin> | anyway yeah |
11:14 | <&McMartin> | The goal was not to set the game scene ablaze |
11:14 | <&McMartin> | Just to get the dos asm groove back |
11:14 | <&McMartin> | I'd say it's back |
11:25 | | catadroid [catalyst@Nightstar-u2q5cc.dab.02.net] has joined #code |
11:29 | | Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code |
11:29 | | mode/#code [+o Checkmate] by ChanServ |
11:30 | < wowaname> | heh |
11:30 | < wowaname> | code for the gb/gbc now |
11:37 | <&McMartin> | I'm mostly C64, and I've done a bit of NES |
11:51 | | catadroid` [catalyst@Nightstar-nl87tt.dab.02.net] has joined #code |
11:52 | | catadroid [catalyst@Nightstar-u2q5cc.dab.02.net] has quit [Ping timeout: 121 seconds] |
12:10 | < wowaname> | oh |
12:14 | | You're now known as TheWatcher |
12:49 | | * TheWatcher stabstabstabs PHP |
12:54 | < catadroid`> | seems legit |
12:54 | | catadroid` is now known as catadroid |
13:03 | | Meatyhandbag [sebastianfe@Nightstar-vd8.ukq.53.184.IP] has quit [Connection closed] |
13:10 | | Meatyhandbag [sebastianfe@Nightstar-6r9.u04.53.184.IP] has joined #code |
13:21 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code |
13:50 | <@TheWatcher> | On an entirely different subject |
13:50 | | * TheWatcher stabstabstabs himself for not documenting this bloody code properly |
13:51 | <@TheWatcher> | Seriously, WTF was I thinking?! |
13:51 | <@Wizard> | Well, if the code wasn't bloody before, it certainly is now |
13:51 | < abudhabi> | Your past self is, unfortunately, beyond the reach of your stabbening. |
13:51 | < abudhabi> | And I suspect he knows it. |
13:51 | <@TheWatcher> | The bastard. |
13:57 | <@TheWatcher> | Also, why am I passing this argument around and never actually using it, ARGH |
13:58 | <@Tamber> | Just in case. |
13:58 | <@TheWatcher> | That may actually be the case, yes |
14:16 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Connection reset by peer] |
14:29 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code |
15:49 | | starkruzr [jtd@Nightstar-qbtq3s.fios.verizon.net] has quit [Ping timeout: 121 seconds] |
15:52 | | starkruzr [jtd@Nightstar-qbtq3s.fios.verizon.net] has joined #code |
16:05 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Iām not a psychopath. Iām a high-functioning sociopath. Do your research.] |
16:35 | | celticminstrel [celticminst@Nightstar-s27jjc.dsl.bell.ca] has joined #code |
16:35 | | mode/#code [+o celticminstrel] by ChanServ |
16:43 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
16:45 | | catadroid [catalyst@Nightstar-nl87tt.dab.02.net] has quit [[NS] Quit: Bye] |
17:07 | | Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
17:08 | | gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code |
17:08 | | mode/#code [+o gnolam] by ChanServ |
17:33 | | gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [[NS] Quit: Reboot] |
17:35 | | gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code |
17:35 | | mode/#code [+o gnolam] by ChanServ |
17:35 | | Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has joined #code |
17:35 | | mode/#code [+o Checkmate] by ChanServ |
17:47 | | kourbou_ [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code |
17:47 | | kourbou_ is now known as kourbou |
18:32 | | kourbou is now known as kourbou|foodz |
18:45 | | kourbou|foodz is now known as kourbou |
20:22 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Connection reset by peer] |
20:22 | | Meatyhandbag [sebastianfe@Nightstar-6r9.u04.53.184.IP] has quit [Connection closed] |
20:26 | | Meatyhandbag [sebastianfe@Nightstar-8n3.u04.53.184.IP] has joined #code |
20:45 | | Kindamoody|afk is now known as Kindamoody |
21:15 | | Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has quit [Ping timeout: 121 seconds] |
21:18 | | catadroid [catalyst@Nightstar-pcp6ei.dab.02.net] has joined #code |
21:19 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ] |
21:47 | | thalass [thalass@Nightstar-m49.o7s.158.104.IP] has joined #code |
21:47 | | mode/#code [+o thalass] by ChanServ |
22:03 | | Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code |
22:03 | | mode/#code [+o Checkmate] by ChanServ |
22:12 | | thalass [thalass@Nightstar-m49.o7s.158.104.IP] has quit [Connection closed] |
22:13 | | thalass [thalass@Nightstar-m49.o7s.158.104.IP] has joined #code |
22:13 | | mode/#code [+o thalass] by ChanServ |
23:13 | | Kindamoody is now known as Kindamoody[zZz] |
23:33 | | Derakon[AFK] is now known as Derakon |
23:46 | | thalass is now known as Thalass|TF2 |
--- Log closed Fri Aug 21 00:00:04 2015 |