code logs -> 2017 -> Thu, 15 Jun 2017< code.20170614.log - code.20170616.log >
--- Log opened Thu Jun 15 00:00:13 2017
00:51 celticminstrel [celticminst@Nightstar-jb792f.dsl.bell.ca] has joined #code
00:51 mode/#code [+o celticminstrel] by ChanServ
01:50 himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has joined #code
01:50 mode/#code [+o himi] by ChanServ
02:54 Turaiel[Offline] is now known as Turaiel
03:29 Kindamoody is now known as Kindamoody[zZz]
04:59 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
04:59 mode/#code [+ao McMartin McMartin] by ChanServ
05:22 Turaiel is now known as Turaiel[Offline]
05:24 celticminstrel [celticminst@Nightstar-jb792f.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:25 * macdjord notes that whoever decided that the 'on but no signal' indicator for this monitor should be to have to blink the power light constantly should be shot
06:07
<&[R]>
OMG WTF
06:08
<&[R]>
I'm guessing it's one of those "lol, the sun isn't even remotely as bright as this fucker!" blue LEDs
06:08
<&[R]>
Just to double up on the assholeness
06:45
<~Vornicus>
my old mac had, as a sleep indicator, a slowly pulsing LED
06:46 * abudhabi puts duct tape over the blue fuckers.
06:46
<~Vornicus>
You could read by it at top brightness.
07:07
< ion>
blue LEDs are the worst :(
07:08
< ion>
I was amused to find the notes on different revisions for my beaglebone black included a statement that they lowered the brightness because the blue LEDs were keeping people awake
07:09
< ion>
Sadly they could be lower still, I wound up sticking tape on top of them anyhow :)
07:37 himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
09:24 Kindamoody[zZz] is now known as Kindamoody
09:37 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
09:41 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
09:41 mode/#code [+o Alek] by ChanServ
10:53 Kindamoody is now known as Kindamoody|afk
11:02 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
11:02 mode/#code [+o himi] by ChanServ
11:13
< ToxicFrog>
I have a monitor kicking around somewhere where not only is that the way it indicates "on but no signal", but during the "off" phase of the LED blink it quietly goes eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
11:15
<@abudhabi>
Exorcism needed.
11:19
< ToxicFrog>
Nah, a lot of electronics do this
11:20
< ToxicFrog>
I have half a dozen USB power bricks where I can tell when whatever's connected to them is fully charged because they start screaming
11:25
<@Tamber>
The 12v->usb adapters in my car whistle under load, it's only a tiny bit annoying. Better still, the stereo amp picks up their switching noise, and amplifies it... (But it also picks up noise from the ignition, so I need to get a better one anyway...)
11:34
<@TheWatcher>
(... yeah, you do. Eeesh)
11:35
<@Tamber>
The ignition noise is a little amusing, because it's a whine that increases with revs; so it sounds a tiny bit like a very small supercharger.
11:37
<@TheWatcher>
(Or at least fit a sodding big decoupling capacitor across its power rails)
11:37 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
11:37
<@Tamber>
I don't think it's coming through the power rails, I think it's being picked up on the signal side.
11:38
<@TheWatcher>
XD
11:38
<@Tamber>
Since the shielding on the current one is, er, nonexistant.
12:21
<@macdjord>
[R]: Yes, it's a bright blue LED.
12:22
<@Tamber>
Of course it is. I think it's actually a regulation that hardware now has to have at least one eyesearingly-bright blue LED. :/
12:23
< ion>
I tend to give any whining electronics the treatment of replacing a cheap wallwort/power brick or recapping an integrated supply to shut them up
12:23
<@macdjord>
Tamber: It's not /that/ bright - it's wouldn't be a problem if it were on solidly.
12:23
< ion>
Elementary school and high school were fun - pretty much anything I couldn't touch was stuck at a screaming 60hz
12:23
< ion>
for computers hooked up to CRTs in the school anyhow
12:57 celticminstrel [celticminst@Nightstar-jb792f.dsl.bell.ca] has joined #code
12:57 mode/#code [+o celticminstrel] by ChanServ
13:29
< ToxicFrog>
I am so glad that CRTs are dead.
13:37
<&[R]>
I thought they still used them for boat anchors
13:38
<@TheWatcher>
Heh
13:47
< ion>
I have a couple nice trinitrons I use for gaming and legacy machines, but electrostatic deflection is where it's at for most CRTs I own now
13:54 celticminstrel [celticminst@Nightstar-jb792f.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
15:19 * TheWatcher ...
15:19
<@TheWatcher>
One single fucking missing ,
15:19
<@TheWatcher>
I've spent half a sodding our trying to trace that bug
15:19
<@TheWatcher>
*hour
15:30 * macdjord replaces one random semicolon in TheWatcher's codebase with a Greek question mark~
15:32
<&[R]>
TheWatcher: I spent three hours trying to figgure out why TPC_* functions were all giving linker errors. Even posted on some forums. s/TPC/TCP/g fixed it.
15:33
<@TheWatcher>
Ouch :/
15:48
< ToxicFrog>
Perils of context-sensitive autocomplete: you end up with a dozen calls to a function named CalculatHealthForExperimnet()
15:54
<&[R]>
Because it just copies the typo repeatedly?
15:54
< ToxicFrog>
Yeah
15:54
< ToxicFrog>
And I never notice because my keyboard input just is calchex<tab>
15:54
<&[R]>
At least a :%s/erimnet/eriment/g will fix it all up
15:54
< ToxicFrog>
Have to replace "Calculat" with "Calculate" too :
15:55
<&[R]>
Fair enough
15:55 * [R] really needs to learn to use vim better
15:56
<&[R]>
I can do copy/paste with visual mode, search and replace and not much else. Multiple files would be really nice to be able to do properly.
15:59
<&[R]>
Excellent: npm 5 has been released! It now had a manditory highlander type mode. If you do `npm install X` it will uninstall everything, then install X for you.
16:00
<&[R]>
My motivation to find/make an npm alternative is increasing
16:03
< ToxicFrog>
I don't vim, so I can't help you there.
16:17
<@ErikMesoy>
HAIL CORPORATE. Corporate policy dictates full page covers. Corporate policy dictates table of contents on separate page from contents. So today I found myself translating a document of page 1, cover, page 2, "Foo - 3. Bar - 3.", page 3, maybe 300 words of content.
16:20
<@ErikMesoy>
I speak professional English and Norwegian, so I got assigned to a job of translating a bunch of corporate documents regarding real estate brokering.
16:20
<@ErikMesoy>
I do not speak professional Broker, so I notified my manager that I could do a 95-99% translation and would then have to speak to a domain expert about the technical terms for things like the Grunnboksutskrift (document compilation of legal matters touching on a particular property).
16:21
<@ErikMesoy>
My manager was perhaps somewhat unclear on how this "domain expert" thing worked, so instead of being scheduled for a final few hours with a domain expert for after-polish, I've got recurring meetings booked with two casuals who are at the "I will put it into google translate" level of translation that doesn't help much.
16:22 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
16:22
<@ErikMesoy>
Still, they count as ass-covering for dubious translations and diffusion of responsibility, which is probably the best I'll get. >_>
16:22
<@ErikMesoy>
One of them also helpfully turned up this from the Norwegian Estate Broker Association: http://www.nef.no/wp-content/uploads/2016/03/Engelsk-ordliste-2.pdf a "what's it called in English" glossary.
16:24
<@ErikMesoy>
It is riddled with errors like "Mouthly rent" and "Mortaged property". Some days I have impostor syndrome, but NOT TODAY! NOT WHEN I CAN CORRECT THE NORWEGIAN ESTATE BROKER ASSOCIATION!
16:29
<@Azash>
I once forgot how much my mouthly rent is, but fortunately it was all there in the dental agreement
16:30
<@ErikMesoy>
Oh, nice one :D
16:35 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
16:35 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:35
<@ErikMesoy>
I'm not sure about the very technical translations - this is why I asked for help in the first place - but I am confident that several of the translations in that glossary are at least misleading if not outright wrong.
16:37
<@ErikMesoy>
"Forsinkelsesrente" has been translated as "Default interest". But "Default interest", IMO has the intuitive primary meaning of *normal* interest, whereas "Forsinkelsesrente" is the surcharge interest you pay when you are delayed - i.e. when you are *in default*. You could find this meaning in a dictionary. You should not use it for a glossary of meaning.
16:39
<@ErikMesoy>
Bloody thing. I realize this isn't exactly code, but I imagine some of you may have been in fairly similar situations: what do you do when a problem feels slightly above your level, but none of the documentation helps and StackExchange gives wrong answers too?
18:17
<&[R]>
$ $EDITOR test/test.js # or open with your favorite editor
18:20
<~Vornicus>
Notes. Lots of 'em.
18:31
<~Vornicus>
The Feynman Algorithm
18:48
<@ErikMesoy>
Is that the one that goes "Think hard about the problem?"
18:51
<~Vornicus>
Yes.
18:51
<~Vornicus>
Sometimes this is what must be done! And you will be better off for it.
20:22 VirusJTG_ [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Leaving]
20:23 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
20:23 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
20:31 Vorntastic [Vorn@Nightstar-3slm3k.sub-174-199-0.myvzw.com] has joined #code
21:12 Kindamoody|afk is now known as Kindamoody
23:16
<@macdjord>
Vornicus: A slowly pulsing light would be less distracting. This one is straight up /blinking/ - no slow ramp up and down of the intensity, but a nice, sudden on/off transition guaranteed to draw the eye.
23:18 Turaiel[Offline] is now known as Turaiel
23:27
< Vorntastic>
The pulsing went from Black to readable. It was so annoying I stopped sleeping my computer.
23:39 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
23:44 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [[NS] Quit: upgrade]
23:47 Kindamoody is now known as Kindamoody[zZz]
23:48 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
23:48 mode/#code [+ao McMartin McMartin] by ChanServ
23:57
<&McMartin>
So, here's a question for those of you who work in mostly-to-completely functional, strongly-typed langauges with algebraic data types.
23:57
<&McMartin>
If I'm writing a parser for a language that has a lot of keywords to demonstrate structure, a la BASIC or Python...
23:58
<&McMartin>
... my AST Node type is going to have a bunch of alternatives of the form Keyword(tuple of stuff)
23:58
<&McMartin>
In a Lispier language, all of these would be just be a list of the form (keyword, thing1, thing2, ...)
23:59
<&McMartin>
Which could be expressed in something like Rust or OCaml or Haskell as Keyword(list of generic stuff) or even a pair of keyword, generic-stuff-list.
23:59
<&McMartin>
And it is, I suppose, also possible to pattern-match on elements of a list, thus intrinsically also checking length and such too.
--- Log closed Fri Jun 16 00:00:14 2017
code logs -> 2017 -> Thu, 15 Jun 2017< code.20170614.log - code.20170616.log >

[ Latest log file ]