code logs -> 2016 -> Wed, 07 Dec 2016< code.20161206.log - code.20161208.log >
--- Log opened Wed Dec 07 00:00:40 2016
--- Day changed Wed Dec 07 2016
00:00
<@abudhabi>
Can someone explain what a candidate key is, in relational databases?
00:02 Kindamoody|afk is now known as Kindamoody
00:05
<@abudhabi>
Nevermind, I think I got it.
00:18 Kindamoody is now known as Kindamoody[zZz]
00:31
<@simon_>
is Java's Function<A, B, C> the same as C#'s Func<A, B, C>? i.e. the last generic parameter being the return type?
00:33 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
00:38
<@celticminstrel>
...what?
00:38
<@celticminstrel>
There's no such assumption in Java generics.
00:45
<&ToxicFrog>
celticminstrel: this isn't a question about generics in general, it's a question about the Function class in specific
00:45
<&ToxicFrog>
simon_: https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html
00:49
<@celticminstrel>
Oh.
00:49
<@celticminstrel>
In that case, I have no clue!
00:58
<@celticminstrel>
What are the standards people thinking... doesn't this seem a little overly specific? http://en.cppreference.com/w/cpp/utility/functional/boyer_moore_searcher
00:59
<@celticminstrel>
At the very least, why should it include its algorithm in the name?
01:16 Derakon[AFK] is now known as Derakon
01:20
<@celticminstrel>
My function to generate ruined buildings is huge. It starts at line 181 and ends at line 400. The previous terrible incarnation that put doors in weird places, overwrite anything previously placed, and turned water into solid pillars wasn't much shorter (lines 181-353).
02:19
<@simon_>
celticminstrel, does it have an output?
02:20
<@celticminstrel>
An output?
02:54
<@simon_>
celticminstrel, do you visualize your ruined buildings?
02:55
<@celticminstrel>
The function writes to the map, so I can see them on the map if I can find them.
02:56
<@celticminstrel>
(Actually they're currently not very ruined... need to add cracked wall tiles...)
02:56
<@celticminstrel>
(Maybe some piles of rubble.)
03:03
<@simon_>
http://edw519.posthaven.com/it-takes-6-days-to-change-1-line-of-code
03:04
<@simon_>
celticminstrel, I was just curious how ruined buildings look like. :)
03:05
<@celticminstrel>
Basically just a black rectangle at the moment. I'll add graphical tiles eventually though.
03:06
<@simon_>
ok.
03:07
<@celticminstrel>
That's hilarious.
03:10
<@simon_>
what is?
03:10
<@celticminstrel>
Your link.
03:10
<@simon_>
ah. :)
03:10
<@simon_>
and sad!
03:32
<@celticminstrel>
Finally found one. A small one though, looks like.
03:52
<@celticminstrel>
I have 920 monsters wandering around the map now. Should probably consider skipping any not in adjacent regions...
03:54
<&McMartin>
simon: That kind of thing is why I'm happiest in companies that only have 25-75 employees.
04:11
<@celticminstrel>
Why does bash not like exclamation marks in strings.
04:49 Alek [Alek@Nightstar-cltq0r.il.comcast.net] has quit [Ping timeout: 121 seconds]
04:50 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
04:52 Alek [Alek@Nightstar-cltq0r.il.comcast.net] has joined #code
04:52 mode/#code [+o Alek] by ChanServ
05:04 macdjord|wurk [macdjord@Nightstar-cd2k4t.mc.videotron.ca] has quit [[NS] Quit: We *are* shining examples of humanity. It's just that the light we shine with is generally Oppenheimer's.]
05:08
<&McMartin>
http://adventofcode.com/2016/leaderboard/day/7
05:10
<&Derakon>
Noice.
05:11
<&McMartin>
It isn't good code
05:11
<&McMartin>
But we aren't graded on good code.
05:11 Derakon is now known as Derakon[AFK]
05:12
<&McMartin>
Tonight, I am the fastest cursor in the west.
05:54 abudhabi [abudhabi@Nightstar-7nkq9k.de] has quit [Ping timeout: 121 seconds]
06:18 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
06:18 mode/#code [+qo Vornicus Vornicus] by ChanServ
06:25 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
06:27 abudhabi [abudhabi@Nightstar-7nkq9k.de] has joined #code
06:27 mode/#code [+o abudhabi] by ChanServ
06:54 Kindamoody[zZz] is now known as Kindamoody
07:06 celticminstrel is now known as celmin|sleep
07:17 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
07:34 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
07:36 himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
07:41 Alek [Alek@Nightstar-cltq0r.il.comcast.net] has quit [Ping timeout: 121 seconds]
07:44 Alek [Alek@Nightstar-cltq0r.il.comcast.net] has joined #code
07:44 mode/#code [+o Alek] by ChanServ
07:47
<&McMartin>
Woot.
07:47 * McMartin gets digital sound out of DOSbox, two different ways.
07:51
<&McMartin>
Soundblaster and PC Speaker
07:51
<&McMartin>
PC Speaker sounds awful still but it does work.
07:52 Tamber [tamber@furryhelix.co.uk] has quit [Ping timeout: 121 seconds]
08:08 Tamber [tamber@furryhelix.co.uk] has joined #code
08:08 mode/#code [+o Tamber] by ChanServ
08:40 Kindamoody is now known as Kindamoody|afk
08:56
<&McMartin>
(I'm turning it into a 1-bit DAC; I would get better sound quality if I could get pulse width modulation to work. I have two ideas for how to do this but both of them have Obvious Fatal Flaws.)
11:07 catadroid [catalyst@Nightstar-rfrqc5.dab.02.net] has joined #code
11:07 catadroid [catalyst@Nightstar-rfrqc5.dab.02.net] has quit [[NS] Quit: Bye]
11:07 catadroid [catalyst@Nightstar-rfrqc5.dab.02.net] has joined #code
11:25 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
11:25 mode/#code [+qo Vornicus Vornicus] by ChanServ
--- Log closed Wed Dec 07 11:42:57 2016
--- Log opened Wed Dec 07 11:43:16 2016
11:43 TheWatcher [chris@GlobalOperator.Nightstar.Net] has joined #code
11:43 Irssi: #code: Total of 34 nicks [32 ops, 0 halfops, 0 voices, 2 normal]
11:43 mode/#code [+o TheWatcher] by ChanServ
11:44 Irssi: Join to #code was synced in 56 secs
13:41
< catadroid>
...I think I can make a programming language using only maps and map lookup as an evaluation mechanism
13:46 catadroid` [catalyst@Nightstar-de6lr6.dab.02.net] has joined #code
13:47 catadroid [catalyst@Nightstar-rfrqc5.dab.02.net] has quit [Ping timeout: 121 seconds]
14:00
<~Vornicus>
But would you want to
14:01
< catadroid`>
Yes
14:01
< catadroid`>
Very much so
14:02 catadroid` is now known as catadroid
15:22
<@simon_>
celmin|sleep, http://unix.stackexchange.com/a/3748/124068
15:22
<@simon_>
catadroid, do you mean Python? :P
15:23
<@simon_>
catadroid, i.e. "Python is just a hashtable with a built-in scripting language"
15:24
<@celmin|sleep>
I see.
15:25
<@celmin|sleep>
catadroid: Doesn't that describe JavaScript?
15:25 celmin|sleep is now known as celticminstrel
15:26
< catadroid>
simon_, celticminstrel: sort of, but not really
15:26
< catadroid>
I'm going to attempt an implementation at some point over the weekend I think
15:27
< catadroid>
It should be fairly straightforward if it works, it's intended to be reductive (think Lisp's eval/apply)
15:50
<@simon_>
celticminstrel, but considering how few people use that '!' feature in bash, it's mostly just annoying.
15:51
<@simon_>
celticminstrel, I do use 'sudo !!' on occasion, but that'd be possible even if the '!' were removed.
15:51
<@simon_>
the single '!' *
15:58
<&ToxicFrog>
Fortunately you can turn it off!
16:02
<@abudhabi>
https://twitter.com/angealbertini/status/806520617919021056
16:03 * Azash starts dist-upgrade and leaves it running over national holiday
16:03 * Azash gets back to work the following day and checks progress
16:04
<@Azash>
Stuck on 10% because a vpn service restarted and hung on user/pass input
16:13
<&ToxicFrog>
welp
16:21
<&[R]>
<simon_> celticminstrel, I do use 'sudo !!' on occasion, but that'd be possible even if the '!' were removed. <-- know about this?
16:21
<&[R]>
$ echo 1 2 3 4
16:21
<&[R]>
1 2 3 4
16:21
<&[R]>
$ !!:0 !!:$
16:21
<&[R]>
echo 4
16:21
<&[R]>
4
16:21
<@TheWatcher>
... why would you ever do that?
16:22
<&[R]>
(!$ is also a shorthand for !!:$)
16:22
<&[R]>
I do that rarely, but sometimes it's useful when something has a stupidly long path
16:24
<@Azash>
TheWatcher: For the glory etc
16:24
<&[R]>
Azash: Debian's postfix used to include a curses UI as part of the install script. I've had ubuntu updates stall because it was waiting for input.
16:25
<@Azash>
[R]: I did a linux admin course at uni once, taught by the guy who had been the head linux admin there since 1.0
16:25
<@Azash>
He dedicated one lecture entirely to the pains and aches of trying to manage things without intervention, and I suspect the reasons for that will never end
16:30 JustLurk [justbob@ServerAdministrator.Nightstar.Net] has joined #code
16:30 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [NickServ (RECOVER command used by JustLurk)]
16:30 mode/#code [+o JustLurk] by ChanServ
16:30 JustLurk is now known as JustBob
16:31
<@simon_>
[R], I did *not* know about that!
16:36
<~Vornicus>
why *would* you do that
16:38
<&[R]>
Do what?
16:38
<&[R]>
!! and such?
17:01
<~Vornicus>
the bit you did with !!:0 !!:$
17:06 catadroid` [catalyst@Nightstar-de6lr6.dab.02.net] has joined #code
17:06 catadroid [catalyst@Nightstar-de6lr6.dab.02.net] has quit [The TLS connection was non-properly terminated.]
17:52
<&[R]>
<[R]> I do that rarely, but sometimes it's useful when something has a stupidly long path
18:58 abudhabi is now known as Logar
19:04 jeroud [sid10043@Nightstar-ks9.9ff.184.192.IP] has quit [Connection closed]
19:04 jeroud [sid10043@Nightstar-ks9.9ff.184.192.IP] has joined #code
19:04 mode/#code [+ao jeroud jeroud] by ChanServ
19:57 catadroid` [catalyst@Nightstar-de6lr6.dab.02.net] has quit [Ping timeout: 121 seconds]
20:49 Kindamoody|afk is now known as Kindamoody
22:10 Kindamoody is now known as Kindamoody[zZz]
22:27 ion_ [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code
22:27 mode/#code [+o ion_] by ChanServ
22:27 ion_ [Owner@Nightstar-6grqph.vs.shawcable.net] has quit [[NS] Quit: broken terminal]
22:37 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
23:10
< catalyst>
https://www.reddit.com/r/archlinux/comments/55pbqp/mouse_cursor_disappears_when_ my_refrigerator/
23:14
<@simon_>
wat.
23:19
<@Logar>
A very much common error.
23:27
<@Azash>
Reminds me of that magic story
23:28 Logar [abudhabi@Nightstar-7nkq9k.de] has quit [Operation timed out]
23:46 Logar [abudhabi@Nightstar-7nkq9k.de] has joined #code
23:46 mode/#code [+o Logar] by ChanServ
23:47 Logar is now known as abudhabi
--- Log closed Thu Dec 08 00:00:09 2016
code logs -> 2016 -> Wed, 07 Dec 2016< code.20161206.log - code.20161208.log >

[ Latest log file ]