--- Log opened Wed Oct 01 00:00:09 2014 |
00:55 | | Scoot [Scoot@Nightstar-sqs3th.sd.cox.net] has joined #code |
01:35 | | Derakon[AFK] is now known as Derakon |
01:39 | | Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
03:48 | | * Derakon eyes that conversation. |
03:49 | <&Derakon> | Never mind that IPv6 will make available something like billions of addresses per person. |
03:49 | <&Derakon> | It's not just a patch job for the next few decades. |
03:51 | <&Derakon> | ...I vastly underestimated. |
03:51 | <&Derakon> | "The address space therefore has 2^128 or approximately 3.4Ã10^38 addresses. This would be about 100 addresses for every atom on the surface of the earth" |
03:51 | <@Alek> | this is why the Internet of Things is growing. |
03:52 | <@Alek> | IPv6 is possibly enough for at least part of the galaxy. :P |
03:53 | <&Derakon> | Wikipedia also notes that only 14% of IPv4 is actually used, and that IPv6 is not intended to be densely allocated; rather, the gigantic subnets are supposed to make routing easier. |
03:53 | <@Alek> | it's certainly ample to hardcode IPs into the Internet of Things. |
03:53 | <@Alek> | yeah, a lot of IPv4 was allocated to a group of companies who are sitting on the addresses. or using them internally. not sure which. |
04:01 | < [R]> | IBM used theirs internally |
04:01 | < [R]> | Mostly because they used the most ass-fucking retarded VPN software possible. |
04:02 | < [R]> | (Namely, it routed all three private IP groups to the VPN network despite having setting information telling it what subnet the VPN uses. |
04:27 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code |
04:44 | | himi [sjjf@Nightstar-og3.fn2.56.130.IP] has joined #code |
04:45 | | himi [sjjf@Nightstar-og3.fn2.56.130.IP] has quit [Connection closed] |
04:45 | | himi-cat [sjjf@Nightstar-og3.fn2.56.130.IP] has joined #code |
04:45 | | himi-cat [sjjf@Nightstar-og3.fn2.56.130.IP] has quit [Connection reset by peer] |
04:45 | | himi [sjjf@Nightstar-og3.fn2.56.130.IP] has joined #code |
04:45 | | mode/#code [+o himi] by ChanServ |
05:03 | < Harlow> | Well ebola is finally in the USA. |
05:14 | | Kindamoody[zZz] is now known as Kindamoody |
05:23 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
06:18 | | macdjord|slep is now known as macdjord |
06:29 | | celticminstrel is now known as celmin|sleep |
06:30 | | Reiver is now known as Orth |
06:30 | | jeroud [sid10043@Nightstar-a1k27g.irccloud.com] has quit [Ping timeout: 121 seconds] |
06:48 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
06:48 | | mode/#code [+o Checkmate] by ChanServ |
06:53 | | jeroud [sid10043@Nightstar-a1k27g.irccloud.com] has joined #code |
06:53 | | mode/#code [+ao jeroud jeroud] by ChanServ |
07:08 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: BED] |
07:29 | | Kindamoody is now known as Kindamoody|afk |
07:44 | | Zelclone [zoomzoom@Nightstar-c11.op7.189.197.IP] has quit [[NS] Quit: No Ping reply in 180 seconds.] |
07:50 | | Zelphar [zoomzoom@Nightstar-c11.op7.189.197.IP] has joined #code |
08:15 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
08:16 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
09:02 | | himi [sjjf@Nightstar-og3.fn2.56.130.IP] has quit [Ping timeout: 121 seconds] |
10:58 | | macdjord is now known as macdjord|nap |
11:26 | | macdjord|nap is now known as macdjord |
11:44 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
11:44 | | mode/#code [+o himi] by ChanServ |
11:55 | | mode/#code [+o iospace] by ChanServ |
12:46 | <@Tarinaky> | I'm having difficulty getting Ruby namespaces to work |
12:47 | <@Tarinaky> | I have a module with some methods defined self.foo |
12:47 | <@Tarinaky> | I have another module, that extends the first module. |
12:47 | <@Tarinaky> | Because I want to provide one interface, while still being able to swap out the back easily. |
12:47 | <@Tarinaky> | Except AnotherModule::foo doesn't exist. |
12:48 | <@Tarinaky> | Despite it extending the FirstModule |
12:48 | <@Tarinaky> | Argh |
12:48 | <@Tarinaky> | I swear whoever came up with Ruby's namespaces designed it to be so inconceivably impossible to understand that no-one would be able to use it. |
12:49 | <@Azash> | Did you try AnotherModule.foo? |
12:49 | <@Azash> | That's the form I use at least |
12:58 | <@Tarinaky> | I'm in AnotherModule. |
12:59 | <@Azash> | No I mean did you try calling it with a . instead of :: |
12:59 | <@Azash> | In case that matters |
12:59 | <@Azash> | I haven't actually used the :: form at all myself |
13:00 | <@Tarinaky> | module A\n def self.foo\n end\n end |
13:00 | <@Azash> | Nevermind |
13:00 | <@Tarinaky> | module B\n extend A\n def self.bar\n foo\n end\n end\n |
13:01 | <@Tarinaky> | Calling bar results in NoMethodError for foo |
14:26 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
14:39 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
14:39 | | mode/#code [+o himi] by ChanServ |
14:47 | | Zelclone [zoomzoom@Nightstar-c11.op7.189.197.IP] has joined #code |
14:47 | | Zelphar [zoomzoom@Nightstar-c11.op7.189.197.IP] has quit [Connection closed] |
14:53 | | iospace is now known as iofficespace |
14:55 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [Connection closed] |
14:55 | | gnolam [lenin@Nightstar-utbkuh.cust.bredbandsbolaget.se] has quit [Connection closed] |
14:55 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Connection closed] |
14:56 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
14:56 | | mode/#code [+o Checkmate] by ChanServ |
14:56 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code |
14:57 | | mode/#code [+o macdjord] by ChanServ |
15:00 | | gnolam [lenin@Nightstar-utbkuh.cust.bredbandsbolaget.se] has joined #code |
15:00 | | mode/#code [+o gnolam] by ChanServ |
15:18 | <@iofficespace> | ah... setting up environments just the way you like them |
15:18 | <@iofficespace> | XD |
15:19 | <@iofficespace> | i just need a second monitor and I'm good |
15:20 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
15:20 | <@iofficespace> | (well, a true second monitor) |
15:36 | <@iofficespace> | ... this code |
15:36 | <@iofficespace> | T_T |
15:37 | <@iofficespace> | there are three strings: "tmpStr", "tmpStr2", and "tempStr" |
15:37 | <@iofficespace> | in one function |
16:02 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
16:11 | <@Tarinaky> | iofficespace: Look on the bright side, at least they're temporary. |
16:11 | <@Tarinaky> | iofficespace: The worst is when tmpStr isn't temp. |
16:11 | <@Tarinaky> | Because then it's misleading as well as obtuse. |
16:15 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
16:15 | | mode/#code [+o himi] by ChanServ |
16:22 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
16:27 | <@iofficespace> | also, ss64.com is love |
16:34 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
16:34 | | mode/#code [+o himi] by ChanServ |
17:00 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
17:13 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
17:13 | | mode/#code [+o himi] by ChanServ |
17:25 | | celmin|sleep is now known as celticminstrel |
18:16 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
18:21 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
18:22 | <@Azash> | https://pbs.twimg.com/media/By4GyZdCUAAWuL3.png |
18:22 | | * Azash snorts |
18:23 | <@Tamber> | haha |
18:23 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
18:29 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
18:29 | | mode/#code [+o himi] by ChanServ |
18:59 | <@iofficespace> | WHY |
18:59 | <@iofficespace> | WHY DO YOU WRITE FUNCTIONS WITH WELL OVER 200 LINES |
18:59 | <@iofficespace> | THIS ISN'T CS 101 ANYMORE T.T |
19:01 | <@Tamber> | Ook? |
19:01 | <@iofficespace> | Tamber: this code |
19:01 | <@iofficespace> | T_T |
19:02 | <@Tamber> | Ook! |
19:02 | <@Tamber> | Maybe, one day, I'll reach the lofty levels of code orangutan. |
19:03 | <@iofficespace> | like... 200 lines is my hard limit for how long a function should be, personally |
19:04 | <@Tamber> | I start to wonder what the hell I'm doing wrong, if my functions reach 50. |
19:05 | <@iofficespace> | 50 is the soft limit, but eh |
19:05 | <@iofficespace> | Dx |
19:09 | <@gnolam> | iofficespace: 200? Hah! I'd kill for a codebase with 200-line functions! |
19:10 | <@iofficespace> | gnolam: some of these get up to 1k |
19:10 | <@iofficespace> | so yeah v: |
19:10 | <@gnolam> | iofficespace: 1000? Hah! I'd kill for a codebase with 1000-line functions! |
19:10 | <@gnolam> | :P |
19:10 | <@gnolam> | ("Hot gravel!?") |
19:10 | <@iofficespace> | (eh?)\ |
19:10 | <@iofficespace> | gnolam: I'm missing your joke here |
19:11 | <@Tamber> | "When I were a lad..." |
19:11 | <@iofficespace> | doesn't explain the joke >_> |
19:11 | <@Tamber> | https://en.wikipedia.org/wiki/Four_Yorkshiremen_sketch |
19:11 | <@iofficespace> | ah |
19:13 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
19:22 | <@gnolam> | Not kidding at all about thousand lines though. |
19:26 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
19:26 | | mode/#code [+o himi] by ChanServ |
19:29 | <@Tarinaky> | I confess. I don't mind long-functions as long as they're broken down into sub-sections with ample comments and no code replication. |
19:32 | < [R]> | Same, but those are so rare, you may as well just advocate having shorter functions. |
19:32 | <@Tarinaky> | /I/ write code like that. |
19:32 | <@Tarinaky> | Although not 200 lines. |
19:33 | <@Tarinaky> | Maybe 80 with ample white-space. |
19:38 | <@macdjord> | A function should be as long as it needs to be to do its niminal purpose. No longer, no shorter. |
19:38 | | Attilla [sid13723@Nightstar-ed0oqj.irccloud.com] has quit [Ping timeout: 121 seconds] |
19:39 | <@macdjord> | Common code should be split into helper functions, but I see no dufference between a called-only-once helper function and a properly-documented inline block of code. |
19:39 | | Attilla [sid13723@Nightstar-ed0oqj.irccloud.com] has joined #code |
19:39 | <@macdjord> | s/niminal/nominal/ |
19:43 | <@iofficespace> | macdjord: the issue here is of 1000 lines? only... 20 or so are comments |
19:43 | <@Tamber> | And most of them are of the "Magic happens here" variety? |
19:45 | <@iofficespace> | yes |
19:45 | <@macdjord> | iofficespace: Would it be better if it was broken up into 30 helper functions, nested 3 layers deep, of poorly delineated areas of responsability and misleading names? 'Cause that's what /that/ sort of programmer would give you~ |
19:46 | <@iofficespace> | ... what? |
19:47 | <@macdjord> | iofficespace: The sort of programmer who produces 1000 line undocumented functions would produce equally inscrutable code even if they were required to break it up into 50-line functions. |
19:47 | <@iofficespace> | no shit, but it's easlier to parse what's going on in 50 lines of code compared to 1000 lines |
20:05 | | Attilla [sid13723@Nightstar-ed0oqj.irccloud.com] has quit [Ping timeout: 121 seconds] |
20:06 | | Attilla [sid13723@Nightstar-ed0oqj.irccloud.com] has joined #code |
20:23 | | macdjord is now known as macdjord|slep |
20:24 | | Attilla [sid13723@Nightstar-ed0oqj.irccloud.com] has quit [Ping timeout: 121 seconds] |
20:24 | | Attilla [sid13723@Nightstar-ed0oqj.irccloud.com] has joined #code |
20:28 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
20:41 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
20:41 | | mode/#code [+o himi] by ChanServ |
20:54 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
21:07 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
21:07 | | mode/#code [+o himi] by ChanServ |
21:14 | | gnolam [lenin@Nightstar-utbkuh.cust.bredbandsbolaget.se] has quit [Connection closed] |
21:14 | | gnolam [lenin@Nightstar-utbkuh.cust.bredbandsbolaget.se] has joined #code |
21:14 | | mode/#code [+o gnolam] by ChanServ |
21:29 | | Kindamoody|afk is now known as Kindamoody |
22:22 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
22:26 | <&McMartin> | https://i.4cdn.org/g/1412184783586.jpg |
22:26 | | * McMartin files this under "100% plausible, Too Good To Check" |
22:27 | <@TheWatcher> | Given some of the shit I've seen, totally belivable. |
22:27 | <&McMartin> | Note that starting in Windows 8.1, GetVersionEx will lie if the .exe manifest doesn't include UUIDs that prove the .exe knows about Windows 8.1 |
22:28 | <&McMartin> | Because programmers kept doing if (version != VERSION_I_REQUIRE) instead of if (version < VERSION_I_REQUIRE) |
22:28 | <@TheWatcher> | >.< |
22:29 | <&McMartin> | Seriously, the changelog entry explaining how GetVersionEx works now was like three screens of WE ARE VERY DISAPPOINTED IN YOU AND ARE TURNING THIS CAR *RIGHT AROUND* |
22:31 | <@Tarinaky> | Whereas the Linux devs just laugh, break it, and flame those responsible if they complain... |
22:31 | <@Tarinaky> | Maybe flame those responsible anyway |
22:31 | <&McMartin> | Kinda |
22:31 | <&McMartin> | See also OpenSSH and its thickets of #ifdefs for compiling on PDP-10s and such |
22:31 | | Kindamoody is now known as Kindamoody[zZz] |
22:32 | <@Reiv> | McMartin: Ahahaha oh my god I would totally see that |
22:35 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
22:35 | | mode/#code [+o himi] by ChanServ |
22:43 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
23:19 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
23:20 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
23:35 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
23:35 | | mode/#code [+o Checkmate] by ChanServ |
--- Log closed Thu Oct 02 00:00:25 2014 |