code logs -> 2013 -> Sat, 05 Oct 2013< code.20131004.log - code.20131006.log >
--- Log opened Sat Oct 05 00:00:54 2013
00:07 Stalker [Z@Nightstar-b920a19c.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
00:11
<&McMartin>
Oh hey, yeah
00:11
<&McMartin>
Actually, it can't save at all if there are spaces in the filename
00:11
<&McMartin>
gj
00:11
<&McMartin>
We certainly wouldn't want to load from or save to a directory named "My Documents" or anything
00:13
<@Azash>
Can you escape them?
00:13
<&McMartin>
Doesn't appear to work
00:13
<&McMartin>
And when typing in the minibuffer you aren't supposed to have to
00:13
<@Azash>
Hm
00:13
< RichyB>
I would be surprised by that, given that I've saved to files in directories with names like "C:\program files (x86)\steam\steamapps\common\..."
00:14
<&McMartin>
RichyB: Yeah, that didn't work for shit
00:14
<&McMartin>
It escaped the quotation marks and then decided that it was an invalid drive
00:14
< RichyB>
Grrr.
00:14
<&McMartin>
It will tab-complete "My Documents" and then say "no match" when you try to go further from there.
00:14 Turaiel is now known as Turaiel[Offline]
00:15
<&McMartin>
One of the other ports might handle this better.
00:20 Derakon[AFK] is now known as Derakon
00:31 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
00:42
<&Derakon>
Isn't the actual directory name "Documents", and Windows just presents it as "My Documents" when you view it in Explorer?
00:42
<&McMartin>
Derakon: Not according to its own directory scanners.
00:43
<&Derakon>
Hm.
00:43
<&Derakon>
Maybe it's doing some kind of symlink shenanigans then.
01:14 Thalasleep [thalass@Nightstar-4ab061cc.bigpond.net.au] has joined #code
01:15 Thalasleep is now known as Thalass
01:19 Derakon is now known as Derakon[AFK]
01:31 ktemkin[] is now known as ktemkin
01:41
<&ToxicFrog>
Derakon[AFK]: Win7 has crazy symlink/bindmount/unionfs stuff all over the goddamn place.
01:43
<@Namegduf>
There is something weirdass about Documents.
01:43
<@Namegduf>
With hidden files and system files visible, I see two My Documents folders in Explorer.
01:43
<@Namegduf>
One of them throws a permissions error if I click on it.
01:55 ktemkin is now known as ktemkin[wm5]
01:55 Derakon[AFK] is now known as Derakon
02:22 ktemkin[wm5] is now known as ktemkin
02:40 celticminstrel [celticminst@Nightstar-1afc984c.dsl.bell.ca] has joined #code
02:40 mode/#code [+o celticminstrel] by ChanServ
03:05 Vorntastic [Vorn@Nightstar-ce85b6a2.sub-70-211-19.myvzw.com] has joined #code
03:15
< [R]>
<ErikMesoy> How do I force-expand a bit.ly shortened URL? It points to a PDF and I want to know where the PDF is. <-- if you need a more pragmatic way, just send a HEAD request instead of GET.
03:18
< Vorntastic>
You should be able to set bit.ly to show the expanded url instead of redirecting immediately.
03:19
< [R]>
<ErikMesoy> At least it seems like one is hooking into the WM rightly, and the other wrongly. <-- from my experience it isn't really "hooking in" so much as "what was the resolution when I started? Oh, that? Great, okay, I want this one. I got it? Good. Oh, I'm closing/minimixing now? I want <remembered original resolution> in response to that event. Thanks."
03:22
< Vorntastic>
Some programs do it wrong, and trigger resize events on other windows in the process.
03:22
< Vorntastic>
Sometimes only in one dimension, which is weird.
03:31
<@Alek>
signs you need more sleep: when in the address bar of your browser you begin typing "select * from"
03:34
< RichyB>
sql:// URI schema!
03:36
<@gnolam>
https://twitter.com/csoghoian/status/385786275652829184
03:37 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
03:37 mode/#code [+qo Vornicus Vornicus] by ChanServ
03:38 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
03:53 Derakon is now known as Derakon[AFK]
03:56 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
04:03 Vorntastic [Vorn@Nightstar-ce85b6a2.sub-70-211-19.myvzw.com] has quit [Ping timeout: 121 seconds]
04:04 Vorntastic [Vorn@Nightstar-ce85b6a2.sub-70-211-19.myvzw.com] has joined #code
04:04 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
04:04 mode/#code [+qo Vornicus Vornicus] by ChanServ
04:05 Vorntastic [Vorn@Nightstar-ce85b6a2.sub-70-211-19.myvzw.com] has quit [[NS] Quit: Bye]
04:42 ktemkin is now known as ktemkin[awol]
04:49 * Thalass idly ponders how to use python to turn ultrasonic distance measurements into a 'map' of surroundings, and use odometry to navigate within that map.
04:50 Turaiel[Offline] is now known as Turaiel
05:01 celticminstrel is now known as celmin|bed
05:03
< Thalass>
The trick would be to store the rho/theta (or convert that into x/y) information in such a way that you can synchronise it with orientation and position changes detected with the odometer thingies on the wheels. I figure using both would mean you can scan with the ultrasonic sensor in a slower, more detailed way without missing too much.
05:04 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
05:09 Kindamoody[zZz] is now known as Kindamoody
05:13 Thalass is now known as thalass|werk
05:30
<@Alek>
odormetry?
05:30
<@Alek>
¬_¬
05:40
< thalass|werk>
:P
05:42
< xybre>
If you can get defined distance and rotation (vector) from origin you can place a marker there, repeat at high frequency and then use a process to try to draw smooth lines between the points. But it depends on the kind of input you're getting from the detector.
05:45
<@Alek>
"He's completely old-school. Respect. Writes his smilies with a dash."
05:45
<&McMartin>
Ouch
05:46
< thalass|werk>
xybre: Most likely a simple number for distance, and i suppose using the servo position command as the vector input - though you'd have to wait for it to stabilise before you save the data
05:47
< thalass|werk>
I might put something together with picaxe, talking to the computer over serial port, to try it out before my pi gets here
05:48
< xybre>
thalass|werk: You'll end up with a 2D nethack map of the surroundings :)
05:48
< thalass|werk>
I was picturing something like Doom's map, yes. :P
05:50
< thalass|werk>
First step is to get the robot to map and remember its surroundings. The second step is to get it to save that file for later use, and then get it to figure out where it is on startup - comparing it's current surroundings with what it knows from the saved map. Third would be to get it to do it's thing, then return to a known spot for charging after. Also: Tolerate minor changes in the map, like chairs shifting or humans not standing
05:50
< thalass|werk>
in the same place every time.
05:50
<@Alek>
what does NaN stand for, again?
05:50
<&McMartin>
Not a Number
05:50
<@Alek>
ah yes
05:50
< thalass|werk>
(using python because it's the only hammer i have, and this problem looks like a nail to me)
05:51
<@Alek>
(+â/0) + â = +â, but (+â/-0) +â = NaN
05:55
< thalass|werk>
Anyway. werk.
05:55 thalass|werk [thalass@Nightstar-4ab061cc.bigpond.net.au] has quit [[NS] Quit: hi-ho! hi-ho!]
06:20 RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has quit [[NS] Quit: Gone.]
06:23 RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has joined #code
06:34 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
06:34 mode/#code [+o himi] by ChanServ
06:39 Pandemic [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Connection reset by peer]
06:40 Pandemic [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
06:40 mode/#code [+o Pandemic] by ChanServ
06:43 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
06:56 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
06:56 mode/#code [+o himi] by ChanServ
07:18
<~Vornicus>
Alek: +inf - inf = NaN; +inf / +finite = +inf; +inf/-finite = -inf
07:19
< Syka>
how is inf - inf not 0?
07:20
<~Vornicus>
Because inf + (anything other than -inf) = inf; move the first inf to the right side and you get (anything other than -inf) = inf - inf
07:21 Stalker [Z@Nightstar-b920a19c.cust.comxnet.dk] has joined #code
07:21
<~Vornicus>
So it could be /anything/, and therefore it's NaN
07:23
<&McMartin>
Note also that depending on how you go tthe infs, inf/inf can be any individual number, or it can also be NaN.
07:23
<&McMartin>
limit as n goes to infinity of 2n / n, for instance.
07:24
<&McMartin>
That's 2.
07:33
<~Vornicus>
If it can be any individual number, then it's counted as NaN
07:34 * Syka 's mind explodes
07:34 * Syka hides in the rational world of normal numbers :(
07:34
<&McMartin>
Limits: still less obnoxious than floating point :/
07:35
<~Vornicus>
never mind that "normal numbers" has a special meaning; it is in particular numbers which have every finite sequence of numbers in them.
07:37
< Syka>
man, there are so many interesting things I could do with a custom email server
07:38 * Syka wants to work on it, but has work projects first :(
07:38
< Syka>
for example, selective-secrecy email inboxes
07:39
< Syka>
you can access it over IMAP from anywhere, but you can mark folders as inaccessible except from certain IPs
07:39
< Syka>
so your mobile phone could be hooked up by IMAP, but only get your inbox
07:40 Turaiel is now known as Turaiel[Offline]
07:41
< Syka>
and if an IP from the NSA opens your email folders, all the email bodies are interspersed with UNDER GOD WE TRUST, PRAISE AMERICA
08:02 Kindamoody is now known as Kindamoody|breakfast
08:13
< RichyB>
Syka, hee hee hee. :)
08:20 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
08:21 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
08:21 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
08:30 cpux [cpux@Nightstar-98762b0f.dyn.optonline.net] has joined #code
08:30 mode/#code [+o cpux] by ChanServ
09:11 Kindamoody|breakfast is now known as Kindamoody
10:17 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has joined #code
11:08 Syka_ [the@Nightstar-301441b0.iinet.net.au] has joined #code
11:11 Syka [the@Nightstar-c1b1753b.iinet.net.au] has quit [Ping timeout: 121 seconds]
11:26
<~Vornicus>
...hell. I just realized, I have no idea how to use git when working with other people.
11:29 Kindamoody is now known as Kindamoody|out
11:40 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has quit [[NS] Quit: Leaving]
11:53 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
13:18 celmin|bed is now known as celmin|away
14:24
<&ToxicFrog>
Vornicus: I can help`
14:24
<&ToxicFrog>
*!
14:25
< Syka_>
ToxicFrog, git collaborator extraordinare
14:25
<&ToxicFrog>
There's no one answer, though, it depends on how your team uses it (e.g. central gitolite repo, github, kernel developer anarchy, etc)
14:25
< Syka_>
'kernel developer anarchy' that's a weird way of pronouncing linuscracy
14:26
<&ToxicFrog>
It's become something of a catchphrase in this channel!
14:27
<~Vornicus>
Well, it is -- as mentioned before -- kind of crazy on the other end
14:28
<~Vornicus>
So currently it's "everybody else is writing directly to the semi-live directory and I'm actually being sane"
14:29
<&ToxicFrog>
Aah yes.
14:29
<~Vornicus>
But, because they're doing that, when I want to add in my changes, it's not the way I've been doing, which is to say, change, commit, push, because, well, shit's happened over there.
14:30
<&ToxicFrog>
So this is less "how to use git when working with other people", or even "how to use git when working with other people who use a different version control system", but "how to use git when working with other people who are goddamn crazy"
14:31
<&ToxicFrog>
There is no canonical version control system you can get their commits from, people just copy stuff directly into prod?
14:31
<~Vornicus>
Technically it's dev
14:31
<&ToxicFrog>
that's slightly less bad but only slightly
14:31
<~Vornicus>
What I /can/ do is go in there and commit all their changes as myself.
14:31
<&ToxicFrog>
Right.
14:32
<&ToxicFrog>
My recommendation would be to maintain a "dev" branch; commit their changes yourself, merge with your work, then push that.
14:33
<&ToxicFrog>
That way you don't clobber their work and even some modicum of a history for it.
14:37
<~Vornicus>
Okay, let me see if I can get this right. 1. commit dev's work to a branch, doing this as often as sensible because the moment they fuck something up I can superhero all up in there. 2. commit my stuff to my own branch. 3. git merge the two branches when I need to get something onto live.
14:46
<~Vornicus>
Right. This I can do. Thank you!
14:51 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [Client closed the connection]
15:12 Turaiel[Offline] is now known as Turaiel
15:28 Derakon[AFK] is now known as Derakon
16:21 Turaiel is now known as Turaiel[Offline]
18:07 celmin|away is now known as celticminstrel
18:16 Kindamoody|out is now known as Kindamoody
18:19 You're now known as TheWatcher[afk]
19:58 Turaiel[Offline] is now known as Turaiel
20:01 Kindamoody is now known as Kindamoody[zZz]
20:04 Attilla [uid13723@Nightstar-1325dff0.irccloud.com] has quit [Ping timeout: 121 seconds]
20:09 Turaiel is now known as Turaiel[Offline]
20:19 Turaiel[Offline] is now known as Turaiel
20:25 ktemkin[awol] is now known as ktemkin
20:52 Syka [the@Nightstar-33ec979a.iinet.net.au] has joined #code
20:54 Syka_ [the@Nightstar-301441b0.iinet.net.au] has quit [Ping timeout: 121 seconds]
21:30 Turaiel is now known as Turaiel[Offline]
21:37 Turaiel[Offline] is now known as Turaiel
21:46 io\sick is now known as iospace
22:01 Attilla [uid13723@Nightstar-1325dff0.irccloud.com] has joined #code
22:48 Turaiel is now known as Turaiel[Offline]
22:56 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has joined #code
23:03 Turaiel[Offline] is now known as Turaiel
23:33 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has quit [[NS] Quit: Leaving]
23:39 Syka_ [the@Nightstar-66bb5918.iinet.net.au] has joined #code
23:41 Syka [the@Nightstar-33ec979a.iinet.net.au] has quit [Ping timeout: 121 seconds]
23:43 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
23:43 mode/#code [+qo Vornicus Vornicus] by ChanServ
--- Log closed Sun Oct 06 00:00:09 2013
code logs -> 2013 -> Sat, 05 Oct 2013< code.20131004.log - code.20131006.log >

[ Latest log file ]