code logs -> 2016 -> Wed, 01 Jun 2016< code.20160531.log - code.20160602.log >
--- Log opened Wed Jun 01 00:00:40 2016
00:01 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
00:01 mode/#code [+o Reiv] by ChanServ
00:20
<@celticminstrel>
[May 31@4:08:52pm] McMartin: It's MS's answer to Java after its first answer to Java turned out to be answering the wrong question.
00:20
<@celticminstrel>
This makes me curious about what its first answer was.
00:22
< catadroid>
Java, I believe
00:25
<&McMartin>
ActiveX
00:25
<&McMartin>
Because Java originally was supposed to be for live web content, right
00:25
<&McMartin>
Then it turned out to actually be good for middleware
00:25
< catadroid>
lol
00:26
<&McMartin>
While I don't have rock-solid citations for this, I'm not actually kidding, particularly
00:26
<&McMartin>
Java's big public rollout was with applets
00:27
<&McMartin>
With JavaScript as this hinky thing next to it that isn't all that interesting or powerful and seems to have renamed itself six times in some kind of desperate bid for attention
00:27
<&McMartin>
Cue ActiveX as an alternative to applets because those work better as long as you're only using a complete Windows stack that hasn't been intentionally disabled for security or basic functionality
00:27
< catadroid>
I know you're not kidding
00:27
<&McMartin>
The mid-1990s were a dark time
00:28
< catadroid>
You're telling!
00:28
< catadroid>
Me
00:28
< catadroid>
Oh
00:28 Kindamoody is now known as Kindamoody[zZz]
00:28
< catadroid>
Hm
00:28 catadroid [catadroid@Nightstar-huiopn.dab.02.net] has left #code ["Leaving"]
00:28
<&McMartin>
... Actually I was kinda telling people I assume are way younger than me
00:28
<&McMartin>
whoops
00:28
<&McMartin>
Anyway, I need to start getting up to speed on ES6 at some point.
01:33 himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has joined #code
01:33 mode/#code [+o himi] by ChanServ
01:48
<@thalass>
ahoy all
02:12 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
03:07 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
03:07 mode/#code [+o Reiv] by ChanServ
03:37 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
03:41 mac [macdjord@Nightstar-pk7ki5.cable.rogers.com] has quit [[NS] Quit: Where there's a whip! (Whup-CHA!) There's a way!]
03:41 macdjord [macdjord@Nightstar-pk7ki5.cable.rogers.com] has joined #code
03:41 mode/#code [+o macdjord] by ChanServ
05:08 Derakon is now known as Derakon[AFK]
05:15 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
06:18
<@abudhabi>
Fucking radio works or doesn't depending where in the room I am.
06:52 celticminstrel [celticminst@Nightstar-80kfip.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
08:17 himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
08:59 Kindamoody[zZz] is now known as Kindamoody
09:11 Kindamoody is now known as Kindamoody|afk
09:21 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
09:22 mode/#code [+o Emmy] by ChanServ
09:47 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
10:32 Reiv [NSwebIRC@Nightstar-m7rd21.xtra.co.nz] has joined #code
10:32 mode/#code [+o Reiv] by ChanServ
10:50 You're now known as TheWatcher[d00m]
11:14 macdjord [macdjord@Nightstar-pk7ki5.cable.rogers.com] has quit [Ping timeout: 121 seconds]
11:14 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
11:14 mode/#code [+o Emmy] by ChanServ
11:21 macdjord [macdjord@Nightstar-pk7ki5.cable.rogers.com] has joined #code
11:21 mode/#code [+o macdjord] by ChanServ
11:25 You're now known as TheWatcher
11:51 catadroid [catadroid@Nightstar-o06on0.dab.02.net] has joined #code
11:51
< catadroid>
Template meatprogramming is hard
11:52 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
11:52 mode/#code [+o himi] by ChanServ
11:53
<~Vornicus>
I can believe it
11:56
<@TheWatcher>
Signs you have an observant student: you're having to explain pad bytes, with examples.
12:10 Turaiel[Offline] is now known as Turaiel
12:11 Turaiel is now known as Turaiel[Offline]
12:19
< catadroid>
:)
12:19
< catadroid>
If only that was standardised.
12:20
<@TheWatcher>
Ohgods, nocomment
12:22
<@gnolam>
catadroid: whose meat are you programming?
12:32 Turaiel[Offline] is now known as Turaiel
12:33 Turaiel is now known as Turaiel[Offline]
12:38
<~Vornicus>
we got into their heads and ... smoothed out their meat
12:38 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
12:41 * TheWatcher ponders changing the topic to "Welcome to the Victory Diner"
12:55
< catadroid>
I think my own
12:55
< catadroid>
C++ allows me no mechanism that I can work out to allow me to determine when a move constructor is defined
13:00
<@simon_>
what's a move constructor?
13:01
<&[R]>
I think it's another name for a copy constructor?
13:01
<@TheWatcher>
Nope; a move constructor usually grabs the resources held by the source object
13:04
<~Vornicus>
a move constructor is like a copy constructor except that the old one is no longer usable. THis means you can safely use a moved thing without accidentally desynchronizing the state you can see and the hidden state - for instance, where you are in a file.
13:05
<&[R]>
Interesting, I don't really see the utility in that though
13:12
<@TheWatcher>
std::string foo() { std::string bar; ... stuff with bar...; return bar; } ..... code..... std::string womble = foo(); - that requires two copies (temp copy of bar, construct womble and copy from temp), if you move then there's less overhead
13:13
<&[R]>
That's what references are for...?
13:14
<&[R]>
Or is this to get around scoping problems?
13:14
<@simon_>
it sounds like a simpler alternative to borrowing / linear type systems
13:15
<@simon_>
i.e. you want to avoid the overhead of copying, but want a guarantee that the old reference isn't used when the 'moved' one is born.
13:16
< catadroid>
It's more that you can avoid copies when you're, for example, returning a large data structure like a std::vector by value
13:17
< catadroid>
You can also use them to enforce singular ownership, since if you define move but not copy the compiler will enforce it for you
13:17
<~Vornicus>
Which is a thing you'd do for things with hidden state (files, sockets, et al)
13:18 Reiv [NSwebIRC@Nightstar-m7rd21.xtra.co.nz] has quit [Ping timeout: 121 seconds]
13:19
<@simon_>
this is the kind of feature that bridges the gap between functional and imperative programming.
13:20
<@simon_>
it's ftw!
13:20
<@TheWatcher>
Uuugh, this student has commented every single line of code, generally with >60 character sentences, 99% of which are direct english translation sof the code
13:22
<@Tamber>
Well, some of the thought was there. Just not all of it.
13:23
<@abudhabi>
TheWatcher: Give him a rubber ducky, and instruct him to tell those comments to the duck instead of writing them.
13:27
<&[R]>
TheWatcher: https://blog.codinghorror.com/pseudocode-or-code/ <-- like that, or something else?
13:31
<@TheWatcher>
Pretty much, yes - although those're kinda restrained in comparison.
13:45
<@gnolam>
Gah
13:45
<@gnolam>
That was scary.
13:45
<@TheWatcher>
?
13:46
<@gnolam>
Spectro lamp stopped working. No errors returned from the API, measurements taken, but no light.
13:46
<@gnolam>
Power cycling via the unit's power button did nothing.
13:46
<@gnolam>
Thankfully, a Norwegian reset fixed it.
13:49
<@TheWatcher>
Which suggests that the power button lies~
13:49
<@ErikMesoy>
You mean the swedebutton.
13:54
<@gnolam>
TheWatcher: yeah, figured that out from the way it turns itself back on as soon as it loses connection with the host computer. :P
13:54
<@TheWatcher>
Hah
13:54
<@TheWatcher>
It's not off, it's just resting~
13:55 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
13:55 mode/#code [+o Crossfire] by ChanServ
14:00 * catadroid burns everything
14:00
<@TheWatcher>
Woe and burnination?
14:01 * abudhabi burns catadroid too.
14:13 * catadroid is now ashes and dust
14:21
<@TheWatcher>
But, at the same time, still made of star stuff, so hey.
14:34
< catadroid>
Hurray?
14:34
< catadroid>
I've given up on my quest
14:34
< catadroid>
It's a stupid idea anyway
14:35 * TheWatcher eye this studen'ts code, twitches, breaks out ddd in the hope of working out WTF
14:35
<@TheWatcher>
s/'t/t'/
14:40 * catadroid offers her flamethrower
14:44
<@TheWatcher>
Oh, hooray, heap corruption
14:47
<@abudhabi>
What kind of class are you teaching? Assembly?
14:48
<@TheWatcher>
C
14:48
<@abudhabi>
Almost. :V
14:55
<~Vornicus>
ddd?
14:56
<@TheWatcher>
Data Display Debugger; it's a frontend for gdb that combines code viewer/breakpoint editor/watch setter with a graphical display of structures and data, and a bunch of other tools.
14:56 catadroid` [catadroid@Nightstar-lb9c4p.dab.02.net] has joined #code
14:57 * catadroid` screams
14:59 catadroid [catadroid@Nightstar-o06on0.dab.02.net] has quit [Ping timeout: 121 seconds]
15:03 * Vornicus gives catadroid` some ice cream?
15:11 catadroid` is now known as catadroid
15:58 catadroid [catadroid@Nightstar-lb9c4p.dab.02.net] has quit [[NS] Quit: Bye]
15:58 catadroid [catadroid@Nightstar-lb9c4p.dab.02.net] has joined #code
16:00 celticminstrel [celticminst@Nightstar-80kfip.dsl.bell.ca] has joined #code
16:00 mode/#code [+o celticminstrel] by ChanServ
16:01 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
16:14
<@gnolam>
Argh, it's doing it again
16:30 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
16:36
<@abudhabi>
gnolam: s/Argh/Oops
17:51 catadroid [catadroid@Nightstar-lb9c4p.dab.02.net] has quit [[NS] Quit: Bye]
17:56 catadroid [catadroid@Nightstar-lb9c4p.dab.02.net] has joined #code
19:15 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
19:15 mode/#code [+o Emmy] by ChanServ
19:55 Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
20:41 ShadowDragon8685_ [IceChat7@Nightstar-r76g3n.east.verizon.net] has joined #code
20:41 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
20:44
< ShadowDragon8685_>
Someone reccomended this channel to me. I have an Android phone (Samsung Galaxy Note 4,) a Windows desktop (Win 7) w/o any Bluetooth, a perfectly good standalone microphone and a damn good pair of studio headphones. I want to be able to connect the phone to the PC via the USB<-> MicroUSB cord and set the phone up high, drawing power from the USB port, letting me speak into the microphone and hear the person I'm talking to on my hea
20:44
< ShadowDragon8685_>
up high, drawing power from the USB port, letting me speak into the microphone and hear the person I'm talking to on my headphones. Is this possible with what I have?
20:44 ShadowDragon8685_ is now known as ShadowDragon8685
20:45
<&VirusJTG>
if you use teamviewer you may want to disable it
20:45
<&VirusJTG>
http://www.theregister.co.uk/2016/06/01/teamviewer_mass_breach_report/
21:26 catadroid` [catadroid@Nightstar-5aiv71.dab.02.net] has joined #code
21:29 catadroid [catadroid@Nightstar-lb9c4p.dab.02.net] has quit [Ping timeout: 121 seconds]
21:39
<@gnolam>
VirusJTG: Thanks for the heads up.
21:39
<@gnolam>
Poking around a bit I'm inclined to believe it's people using TeamViewer's unattended access/account feature who have gotten their account details compromised somewhere else.
21:47 * gnolam belatedly headdesks.
21:47
<@gnolam>
So yeah, not the spectro's fault. Entirely mine.
21:47
<&McMartin>
I think I missed the beginning of this story
21:49
<@gnolam>
I was secretly bypassing its driver and speaking directly to it through its faux serial port, because I am an idiot.
21:50
<@gnolam>
(And because it apparently speaks almost, but not quite, the same serial API as its old not-emulated-through-USB version.)
21:51 * gnolam files that information away for future reference.
21:52
<&McMartin>
"Secretly bypassing its driver and speaking directly to it through its faux serial port" starts out sounding like a gothic romance and then takes a sudden turn
21:53
<@gnolam>
Hee
21:53 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
21:53 mode/#code [+o Reiv] by ChanServ
22:24
<&McMartin>
Dear Apple: Why are iOS and iOS Simulator two completely different SDKs, requiring you to use an entirely different set of tools to create libraries that can actually conceivably used by anyone
22:45
<@TheWatcher>
Because apple are dicks~
22:51
<@abudhabi>
I keep reading "apple" as "people".
23:05 catadroid` is now known as catadroid
23:06
< catadroid>
Common problem
23:25 Turaiel[Offline] is now known as Turaiel
23:34 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
23:34 mode/#code [+qo Vornicus Vornicus] by ChanServ
23:42 Kindamoody|afk is now known as Kindamoody
23:44 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
--- Log closed Thu Jun 02 00:00:56 2016
code logs -> 2016 -> Wed, 01 Jun 2016< code.20160531.log - code.20160602.log >

[ Latest log file ]