code logs -> 2014 -> Tue, 26 Aug 2014< code.20140825.log - code.20140827.log >
--- Log opened Tue Aug 26 00:00:48 2014
00:05 macdjord|slep is now known as macdjord
00:39 Derakon[AFK] is now known as Derakon
00:49 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
00:49 mode/#code [+qo Vornicus Vornicus] by ChanServ
01:02 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
01:08 RchrdB [0x2ba22e11@Nightstar-qe9.aug.187.81.IP] has quit [[NS] Quit: Leaving]
01:13 thalass [thalass@Nightstar-h8ualf.bigpond.net.au] has joined #code
01:13 mode/#code [+o thalass] by ChanServ
02:11 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has joined #code
02:11 mode/#code [+o himi] by ChanServ
02:37 * Vornicus learned to use async http and canvases today
02:42 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code
03:04 Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
03:09
< [R]>
Nice
03:44 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: sleep]
03:44 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code
03:46 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: sleep]
04:16 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code
04:19 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: sleep]
04:40 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
04:58 Derakon is now known as Derakon[AFK]
04:59 thalass is now known as thalass_the_builder
05:19 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
05:30 Turaiel[Offline] is now known as Turaiel
06:02 macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [[NS] Quit: I am the Milkman. My milk is delicious. It is fortified with what the world wants. What the world *deserves*.]
06:03 Kindamoody[zZz] is now known as Kindamoody
06:05
<@Reiv>
Vorn: The reason I was interested was for, say, a game where you wanted a long yet variable game length.
06:06
<@Reiv>
It would have the advantage that you'd know how long you had until the game *might* end, but when it *will* end you've only got one turn remaining
06:06
<@Reiv>
And this could be at any time, so you can't rest on your laurels so much.
06:07
<@Reiv>
This is probably not a *good idea* for a game, I grant, because it's so damn variable
06:07
<@Reiv>
But it's an interesting idea all the same, I felt.
06:10 Turaiel is now known as Turaiel[Offline]
06:12 celticminstrel [celticminst@Nightstar-ak6p6n.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:12 macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code
06:12 mode/#code [+o macdjord] by ChanServ
06:13
<@Alek>
kinda reminds me of Uno.
06:13
<@Alek>
where it doesn't really matter how many cards any player has left, UNTIL they have just one.
06:13
<@Alek>
(or none)
06:14
<@Reiv>
Kinda, I guess.
06:14
<@Reiv>
Oh hey Alek
06:14
<@Reiv>
Numenera. Go post.
06:14
<@Reiv>
:)
06:14
<@Alek>
It's past midnight. tomorrow, I hope. sorry.
06:16
<&McM[AFK]>
Reiv: Mobile Frame 0 has a countdown-to-end-of-game clock that players can accelerate if they so choose.
06:17
<&McM[AFK]>
It's also a wargame played with LEGO gundams! It's adorable and actually pretty fun, and I think the rules are free to download, even
06:17
<&McM[AFK]>
http://mobileframezero.com/mfz/
06:23 * Alek remembers, circa 00, give or take a few years, stumbling across wargame rules that used all kinds of junk in the room as troops etc.
06:23
<@Alek>
somewhere online.
06:37
<@Reiv>
Alek: Please do post, though.
06:37
<@Reiv>
McM[AFK]: I vaugely recall discussing that with the designer, or some such
06:37
<@Reiv>
Who went to great pains to remove the 'first turn advantage' and the like.
07:32 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has quit [Ping timeout: 121 seconds]
08:03 Kindamoody is now known as Kindamoody|afk
09:11 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
09:11 mode/#code [+o himi] by ChanServ
10:01 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
10:02 mode/#code [+o Checkmate] by ChanServ
10:27 * Azash manages to bring production down by presuming production behaves like staging at all
10:35
<@Azash>
http://i.imgur.com/UjQwkUz.png
10:35 RchrdB [0x2ba22e11@Nightstar-952.jvr.168.194.IP] has joined #code
10:35 mode/#code [+o RchrdB] by ChanServ
10:46 thalass [thalass@Nightstar-h8ualf.bigpond.net.au] has joined #code
10:46 mode/#code [+o thalass] by ChanServ
10:50 Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds]
10:53 Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code
10:53 mode/#code [+o Alek] by ChanServ
11:22 macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [Connection closed]
11:23 macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code
11:23 mode/#code [+o macdjord] by ChanServ
11:27 You're now known as TheWatcher[d00m]
11:33
<@thalass>
hrm. How does one make git list the remote repositories it knows of?
11:44
< Syka>
thalass: git remote -l
11:44
< Syka>
er
11:44
< Syka>
`git remote`
11:44
< Syka>
or git remote -v to get the urls
11:45 gnolam is now known as Madagascar
11:45 Madagascar is now known as gnolam
11:51
<@thalass>
thanks :)
12:07 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
12:22 thalass [thalass@Nightstar-h8ualf.bigpond.net.au] has quit [Connection closed]
12:24 You're now known as TheWatcher
12:31 thalass_the_builder is now known as Thalass
12:35
<@TheWatcher>
Thalass: or you can just look in .git/config too
12:37
<@Thalass>
ah heh
12:38
<@Thalass>
Turns out that I had updated the desktop copy when it was clear the netbook was dying. So no need. I don't think there's anything that needs saving on it.
12:38
<@Thalass>
Which usually means there's something I'll regret losing.
13:08 celticminstrel [celticminst@Nightstar-ak6p6n.dsl.bell.ca] has joined #code
13:08 mode/#code [+o celticminstrel] by ChanServ
13:10 celticminstrel [celticminst@Nightstar-ak6p6n.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
13:10 celticminstrel [celticminst@Nightstar-ak6p6n.dsl.bell.ca] has joined #code
13:10 mode/#code [+o celticminstrel] by ChanServ
14:08 macdjord is now known as macdjord|wurk
14:19
< [R]>
Azash: what's the NSA-proof algo from?
14:26
<@TheWatcher>
AngularJS https://docs.angularjs.org/guide/providers#factory-recipe
14:27
<@TheWatcher>
(it's undoubtedly an tongue-in-cheek joke example)
14:27 * TheWatcher has that stray n shot
14:34
<@Azash>
[R]: Angular.js source
14:34
<@Azash>
Oh, there you go
15:08 Derakon[AFK] is now known as Derakon
15:19 Reiver [quassel@Nightstar-ksqup0.co.uk] has quit [Connection closed]
--- Log closed Tue Aug 26 15:20:13 2014
--- Log opened Tue Aug 26 15:20:38 2014
15:20 TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code
15:20 Irssi: #code: Total of 39 nicks [23 ops, 0 halfops, 0 voices, 16 normal]
15:20 mode/#code [+o TheWatcher] by ChanServ
15:20 Reiver [quassel@Nightstar-ksqup0.co.uk] has joined #code
15:21 mode/#code [+ao Reiver Reiver] by ChanServ
15:21 Irssi: Join to #code was synced in 36 secs
15:48 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code
15:49 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: sleep]
15:49 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code
15:50 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [Connection closed]
16:29 * Derakon eyes the Micro-Manager mailing list.
16:29
<&Derakon>
Someone has a black-box servomotor, no documentation, manufactured in 1991, has a DB-9 serial cable.
16:30
<&Derakon>
And he's trying to figure out how to make it work.
16:30
<&Derakon>
Good fucking luck, buddy.
16:34 Harlow [harlow@Nightstar-8r07i7.wireless.uic.edu] has joined #code
16:43
<@gnolam>
9-pin servo? Weird.
16:43
<@gnolam>
I thought PWM control was pretty darned standard for servos.
16:53
<@Thalass>
pwm control is ancient in servomotors. If it had a cannon plug I'd suggest the servo was from an aircraft, where such nonsense as "pwm" or "digital" is far too newfangled. It might be a bonefide analogue op-amp voltage comparing servo thingy. Potentiometer input this, therefore servo move until internal potentiometer is same.
16:57
<&Derakon>
I expect the 9-pin is to tell the controller what to do, and the controller in turn directs the servo via PWM or something similar.
16:57
<&Derakon>
But that means you have to reverse-engineer the controller protocol.
16:59
<@Thalass>
madness. If he opened it up he'd probably find a nearly-evaporated imp or something.
16:59 Thalass is now known as thalasleep
16:59
<@thalasleep>
(damint. go do sleeep)
17:00 Colin is now known as Julius
17:00
<&ToxicFrog>
Assuming that there's an actual protocol and controller rather than, say, analog control and the db-9 is just a convenient way to hook it up.
17:02
<&Derakon>
Well, this is true.
17:02 Harlow [harlow@Nightstar-8r07i7.wireless.uic.edu] has quit [[NS] Quit: sleep]
17:02
<&Derakon>
But the guy's email smacked of "I found this motor on eBay, how do I make it go?" so I doubt he really has the necessary skills in any case.
17:07 Desktop_Caboose [IceChat9@Nightstar-b61.us5.3.174.IP] has left #code []
17:15 thalasleep [thalass@Nightstar-h8ualf.bigpond.net.au] has quit [Ping timeout: 121 seconds]
18:01 Harlow [harlow@Nightstar-qvugj2.wireless.uic.edu] has joined #code
18:06 Harlow [harlow@Nightstar-qvugj2.wireless.uic.edu] has quit [[NS] Quit: sleep]
18:26 Harlow [harlow@Nightstar-qvugj2.wireless.uic.edu] has joined #code
18:28 Harlow [harlow@Nightstar-qvugj2.wireless.uic.edu] has quit [[NS] Quit: sleep]
18:46 Kindamoody|afk is now known as Kindamoody
19:24 mac [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code
19:26 macdjord|slep [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code
19:26 mode/#code [+o macdjord|slep] by ChanServ
19:27 macdjord|wurk [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
19:29 mac [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
19:31 macdjord|slep [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
19:47 Turaiel[Offline] is now known as Turaiel
19:52 Kindamoody is now known as Kindamoody[zZz]
20:04 Harlow [harlow@Nightstar-gfgi2p.wireless.uic.edu] has joined #code
20:08 Harlow [harlow@Nightstar-gfgi2p.wireless.uic.edu] has quit [[NS] Quit: BED]
21:28 Turaiel is now known as Turaiel[Offline]
22:57 Lappy-Caboose [IceChat9@Nightstar-b61.us5.3.174.IP] has left #code []
23:05 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code
23:12 Turaiel[Offline] is now known as Turaiel
23:24 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
23:24 mode/#code [+qo Vornicus Vornicus] by ChanServ
23:28
<~Vornicus>
I find myself with a conundrum: I need to do arithmetic on half-precision floating point numbers.
23:29
<@Reiv>
half-precision?
23:29
<~Vornicus>
16 bit floats.
23:30
<~Vornicus>
This as opposed to 32bit single-precision (what Java for instance calls "float") and 64bit double-precision (what Java calls "double") which are the common ones.
23:32
<@Reiv>
Beyond losing precision, is there a particular problem?
23:33
<~Vornicus>
Well -- the reason I want half-precision is I want to iterate through *all* of them.
23:33
<~Vornicus>
(or at least the quarter or so of them that are between 0 and 1)
23:34
<@Reiv>
Floating point numbers are not generally something you try to iterate between
23:34
<@Reiv>
You normally calculate to the correct one, not search the range as it were
23:35
<~Vornicus>
You forget who you are talking to here
23:38
<~Vornicus>
I need them all so I can root out possible evil.
23:40
<@RchrdB>
Reiv, not if you're writing libm!
23:41
<@RchrdB>
Vornicus, the only place that I'm immediately aware of where you'd find float16 support is OpenCL.
23:41
<@RchrdB>
I'm not actually sure that OpenCL supports float16 in computations, only as a format for use in packed arrays, also.
23:43
<@RchrdB>
Vornicus, would having a function that converts a float32 to the nearest half-float, and a function that computes the next exactly-representable-by-a-half-float value suffice?
23:44
<@RchrdB>
AIUI, relying on exact rounding behaviour for particular float sizes is problematic anyway because I think IEEE754 gives your compiler+CPU a certain amount of leeway to use higher than stated precision behind your back. :|
23:45
<~Vornicus>
The goal at the moment is to replicate the rounding rules during addition
23:47
<@RchrdB>
Huh?
23:47
<@Reiv>
hm
23:47
<@Reiv>
If you want to iterate *every* half-float
23:47
<@Reiv>
Perhaps you should be iterating bitwise.
23:48
<~Vornicus>
RchrdB: I'm trying to determine if, for all t 0 <= t <= 1, (1 - t) + t = 1
23:49
<@RchrdB>
Incidentally, if your CPU represents floats with the bytes going the same way as its ints, then you can iterate floats like, float next_float(float n) { union { float f, int32_t i } u; u.f = n; u.i++; return u.f; }
23:49
<@RchrdB>
and it's in-order too, because the mantissa bits sit *below* the exponent bit
23:49
<@RchrdB>
*below the exponent bits :)
23:50
<@RchrdB>
It's sorta ungainly on NaNs though ;P
23:50
<~Vornicus>
That was the plane
23:50
<~Vornicus>
plan*
23:53
<@RchrdB>
Vornicus, fwiw, http://half.sourceforge.net/ seems to exist. :)
23:55
<~Vornicus>
Victory
--- Log closed Wed Aug 27 00:00:37 2014
code logs -> 2014 -> Tue, 26 Aug 2014< code.20140825.log - code.20140827.log >

[ Latest log file ]