code logs -> 2014 -> Tue, 15 Jul 2014< code.20140714.log - code.20140716.log >
--- Log opened Tue Jul 15 00:00:47 2014
00:09 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [Connection closed]
00:09 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has joined #code
00:45 Orth_ [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code
00:46 Orthia [orthianz@Nightstar-mvf.9c1.224.119.IP] has quit [Ping timeout: 121 seconds]
00:52 Derakon[AFK] is now known as Derakon
00:54 Orth_ is now known as Orthia
00:55 mode/#code [+o Orthia] by ChanServ
00:57 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [Connection closed]
00:57 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has joined #code
01:07 Turaiel is now known as Turaiel[Offline]
01:09 Turaiel[Offline] is now known as Turaiel
01:25
<&McMartin>
Yay, non-re-entrant event handlers
01:25 * McMartin does the murder to them to make them re-entrant.
01:29
< simon_>
if functors exist between categories, and we always consider the category of types, aren't all Haskell functors endofunctors?
01:44
<@RchrdB>
simon_, Haskell's "Functor" typeclass isn't quite the same thing as the category-theoretic concept.
01:45
<@RchrdB>
normally when you talk about bringing category theory into Haskell, you talk about the language itself as a category called "Hask", with Haskell types as objects and functions between them as arrows. http://www.haskell.org/haskellwiki/Hask
01:52 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [[NS] Quit: BED]
--- Log closed Tue Jul 15 02:07:45 2014
--- Log opened Tue Jul 15 02:07:51 2014
02:07 TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code
02:07 Irssi: #code: Total of 40 nicks [20 ops, 0 halfops, 0 voices, 20 normal]
02:07 mode/#code [+o TheWatcher] by ChanServ
02:08 Irssi: Join to #code was synced in 35 secs
02:13 Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Ping timeout: 121 seconds]
02:13 Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code
02:13 mode/#code [+o Orthia] by ChanServ
02:32 Turaiel is now known as Turaiel[Offline]
02:36 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
02:36 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
03:19 Turaiel[Offline] is now known as Turaiel
03:24 Attilla [uid13723@Nightstar-a0t.9ff.184.192.IP] has quit [[NS] Quit: Connection closed for inactivity]
04:08 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
04:25 JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
04:44 Kindamoody[zZz] is now known as Kindamoody
05:03 Derakon is now known as Derakon[AFK]
05:16 RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.]
05:20 RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has joined #code
05:36 Turaiel [Brandon@Nightstar-5st1eu.mi.comcast.net] has quit [Ping timeout: 121 seconds]
05:40 celticminstrel [celticminst@Nightstar-6pf18d.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:41 Turaiel [Brandon@Nightstar-5st1eu.mi.comcast.net] has joined #code
05:43 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has joined #code
06:17 Turaiel is now known as Turaiel[Offline]
06:24
< Harlow>
goto is frown upon because it makes hard to decipher position of code loops, are there any other standard features in modern programming languages that are frown upon?
06:25
<@Alek>
code blocks without indenting?
06:25 * Alek shrugs.
06:26
< Harlow>
i guess, its pretty brutal sometimes.
06:41 Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Ping timeout: 121 seconds]
06:47 Orthia [orthianz@Nightstar-mvf.9c1.224.119.IP] has joined #code
06:47 mode/#code [+o Orthia] by ChanServ
06:55 Orthia [orthianz@Nightstar-mvf.9c1.224.119.IP] has quit [Ping timeout: 121 seconds]
06:59 Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code
07:00 mode/#code [+o Orthia] by ChanServ
07:36 Orth_ [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code
07:36 Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Ping timeout: 121 seconds]
07:42 Orth_ is now known as Orthia
07:43 mode/#code [+o Orthia] by ChanServ
07:51
<&jeroud>
Harlow: There are many modern languages that lack GOTO.
07:55
< Harlow>
have they put in anything equally as frown upon?
07:58
<@ErikMesoy>
Harlow: Operator overloading?
07:58
<@ErikMesoy>
"Let's see, what is + defined to mean here?"
07:58
< Harlow>
operator overloading is frown upon?
07:59
< Harlow>
oh yeah i guess that would make sense.
07:59
< Harlow>
just send it to a function that takes in the prams and returns back what the function is called is probably a better way to read it.
08:27
<&jeroud>
Operator overloading is very useful for a certain set of things, but also very easy to abuse.
08:29
<&jeroud>
I prefer the way haskell and OCaml do it, where you can define nonstandard infix operators.
08:30
<&jeroud>
So you get to invent things like >|> or *&= instead of being restricted to overloading + or whatever.
08:31
< Harlow>
oh nice, that should definitely be a thing in other languages, like c++.
08:33
<&jeroud>
C++ is a pretty horrible language for other reasons.
08:33 * macdjord|slep makes a note of that idea
08:33
<&jeroud>
Harlow: What languages do you know?
08:34
<&jeroud>
Well enough to write nontrivial code in, that is.
08:35
<&jeroud>
(Even if you need a reference handy to do it.)
08:35
< Harlow>
c++, PHP, Javascript, Python,Swift (well); Ruby, C,C#, Matlab, bash ( so so ).
08:35 Kindamoody is now known as Kindamoody|afk
08:35
<&jeroud>
Go learn a couple of functional languages.
08:36
< Harlow>
suggestions?
08:36
<&jeroud>
Haskell, OCaml, Erlang, Scheme, etc.
08:36
<&jeroud>
I'm learning OCaml at the moment and it's pretty good so far.
08:37
< Harlow>
is there an advantage to any of them? which do you like the most?
08:40
<&jeroud>
OCaml. I haven't wrapped my head around Haskell properly yet, though.
08:40
<&jeroud>
Oops, running out of battery. Back in a bit when I'm home.
08:47 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [[NS] Quit: BED]
10:18 mode/#code [+o RchrdB] by ChanServ
10:38 Attilla [uid13723@Nightstar-a0t.9ff.184.192.IP] has joined #code
11:09 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:57 Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Ping timeout: 121 seconds]
12:01 Orthia [orthianz@Nightstar-mvf.9c1.224.119.IP] has joined #code
12:01 mode/#code [+o Orthia] by ChanServ
12:59
<@RchrdB>
aaargh, when you find like fifty unit tests that all do something heinously stupid and get away with it even though it would never work in production
13:12 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
13:12 mode/#code [+o Checkmate] by ChanServ
13:51 celticminstrel [celticminst@Nightstar-6pf18d.dsl.bell.ca] has joined #code
13:52 mode/#code [+o celticminstrel] by ChanServ
14:26
<@froztbyte>
RchrdB: kwality!
15:03 * RchrdB quietly adds some `if (stupid_condition(idiotic_variable)) raise ValueError(...)`
15:20 Derakon[AFK] is now known as Derakon
15:54
<&ToxicFrog>
RchrdB: oh hey, that's my week right now @.@
16:00
<@RchrdB>
My current minute is "What's in this variable? Is it a float? Maybe it's an int? Maybe it's a decimal.Decimal()! Fuck if we can be bothered to enforce one."
16:00
<@RchrdB>
Bonus: there are two methods of filling everything out, one through a json.load() of a big structure and t'other through web forms which do various other casts.
16:01
<@RchrdB>
Bonus: sometimes they numbers are the result of str(float(x)) because we are all sinners and deserve to be punished.
16:03
<@RchrdB>
Bonus: the _persistent storage_ for this stuff is all dynamically typed.
16:04
<@RchrdB>
Bonus: there are constructors and setters but they don't enforce uniformity at all because fuck you.
16:05
<@ErikMesoy>
Maybe there should be a coding substance comparable to unobtainium: unmaintainium.
16:05
<@Azash>
Also known as everyseriousprojecteverinium
16:10
<&ToxicFrog>
Yeah, I'm just dealing with 50-odd tests that are doing it wrong, but work because the library they use fixes things in the background
16:11
<&ToxicFrog>
We are migrating them to a new library that is not as forgiving.
16:11
<@ErikMesoy>
Raw codium is highly unstable and radioactive, decaying into unmaintainium with a half-life of mere weeks. Various refining processes can produce higher-grade stable codium that has a half-life measured in years.
16:11
<&ToxicFrog>
So suddenly these tests not properly initializing things are actually failing.
16:12
< luke>
ErikMesoy: Don't forget the effects of bombarding it with Managementon particles.
16:12
<@ErikMesoy>
luke: morons?
16:13
< luke>
Scientists believe they may be the same.
16:16
<@ErikMesoy>
Anecdotal evidence suggests that the instability of codium may actually result from high reactivity and contamination effects; blocks of codium kept in vacuum-sealed, tamper-proof environments are sometimes alleged to be more stable.
16:16
<@ErikMesoy>
Dissenters allege that this merely disguises the symptoms of decay, and codium blocks kept in storage too long will instead eventually collapse into hunks of pure unmaintainium when retrieved.
18:02 Derakon_ [Derakon@Nightstar-5fqf0m.ca.comcast.net] has joined #code
18:05 Derakon [Derakon@Nightstar-5fqf0m.ca.comcast.net] has quit [Ping timeout: 121 seconds]
18:13 Derakon_ is now known as Derakon
18:13 mode/#code [+ao Derakon Derakon] by ChanServ
20:00 Kindamoody|afk is now known as Kindamoody
21:05 Kindamoody is now known as Kindamoody[zZz]
22:40 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Ping timeout: 121 seconds]
23:32 Turaiel[Offline] is now known as Turaiel
--- Log closed Wed Jul 16 00:00:03 2014
code logs -> 2014 -> Tue, 15 Jul 2014< code.20140714.log - code.20140716.log >

[ Latest log file ]