code logs -> 2013 -> Tue, 13 Aug 2013< code.20130812.log - code.20130814.log >
--- Log opened Tue Aug 13 00:00:23 2013
00:12 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
00:12 mode/#code [+qo Vornicus Vornicus] by ChanServ
00:18 You're now known as TheWatcher[T-2]
00:29 You're now known as TheWatcher[zZzZ]
00:34 Derakon[AFK] is now known as Derakon
00:48 Derakon is now known as Derakon[AFK]
01:21 ktemkin is now known as ktemkin[awol]
01:44 Derakon[AFK] is now known as Derakon
01:58 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has joined #code
02:18 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has quit [Ping timeout: 121 seconds]
02:19 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has joined #code
02:29 Vorntastic [Vorn@Nightstar-d57c6c7f.sub-70-211-10.myvzw.com] has joined #code
02:37 Karono [Karono@9C034E.4BE65E.E00AF8.FDA077] has quit [Ping timeout: 121 seconds]
02:40 RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has quit [[NS] Quit: Gone.]
02:43 RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has joined #code
02:56 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Client exited]
03:17
< Azash>
How I usually feel writing software http://i.imgur.com/ZwsGljm.jpg
03:42 Turaiel[Offline] is now known as Turaiel
04:00 Turaiel is now known as Turaiel[Offline]
04:05 Chutzpah [Moltare@583787.FF2A18.190FE2.4D81A1] has quit [Ping timeout: 121 seconds]
04:09 Chutzpah [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code
04:31 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
04:33 Thalasleep is now known as Thalass
04:33 * Thalass chuckles
04:58 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
04:58 mode/#code [+ao Derakon Derakon] by ChanServ
05:02 celticminstrel [celticminst@Nightstar-ae361035.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
05:03 celticminstrel [celticminst@Nightstar-ae361035.dsl.bell.ca] has joined #code
05:03 mode/#code [+o celticminstrel] by ChanServ
05:07 Derakon is now known as Derakon[AFK]
05:09 Kindamoody[zZz] is now known as Kindamoody
05:39 Vorntastic [Vorn@Nightstar-d57c6c7f.sub-70-211-10.myvzw.com] has quit [[NS] Quit: Bye]
05:59 Karono [Karono@Nightstar-13c26ed9.optusnet.com.au] has joined #code
06:10 Kindamoody is now known as Kindamoody|out
07:19 celticminstrel [celticminst@Nightstar-ae361035.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
08:21
<&McMartin>
o/~ I've cast an int to pointer, and I've left the heap intact o/~
08:22
<&McMartin>
o/~ And halting leaks of memory means every cell is tracked o/~
08:22
<&McMartin>
o/~ Designs are a chimera: Ada, Simula, and Lisp o/~
08:22
<&McMartin>
o/~ The code is swift and sure although you'd never call it crisp o/~
08:26
<&McMartin>
re about 12 hours ago
09:00 Karono [Karono@Nightstar-13c26ed9.optusnet.com.au] has quit [Client closed the connection]
09:04 Karono [Karono@Nightstar-13c26ed9.optusnet.com.au] has joined #code
09:19 You're now known as TheWatcher
09:28 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
09:33 Karono [Karono@Nightstar-13c26ed9.optusnet.com.au] has quit [Client closed the connection]
09:50 Karono [Karono@Nightstar-13c26ed9.optusnet.com.au] has joined #code
10:01 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has joined #code
11:16 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has quit [[NS] Quit: Leaving]
11:32 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
11:33 * TheWatcher flails at this code
11:33 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
11:33 mode/#code [+qo Vornicus Vornicus] by ChanServ
11:33
<@TheWatcher>
Godsdamnit, this is making my brain hurt
12:00 * Xires snaps for McMartin
12:00
< Xires>
TheWatcher; sorry to hear of your issues
12:10 Syloq [Syloq@B4EC54.59F324.016BDA.8CB0A3] has joined #code
12:11 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
12:17 mode/#code [+o Syloq] by ChanServ
12:51 Turaiel[Offline] is now known as Turaiel
13:02 Turaiel is now known as Turaiel[Offline]
13:29 ktemkin[awol] is now known as ktemkin
13:36 Thalass [thalass@Nightstar-a8e66d3f.bigpond.net.au] has quit [Ping timeout: 121 seconds]
13:39 Karono [Karono@Nightstar-13c26ed9.optusnet.com.au] has quit [Client closed the connection]
13:39 Karono [Karono@Nightstar-13c26ed9.optusnet.com.au] has joined #code
14:44 celticminstrel [celticminst@Nightstar-ae361035.dsl.bell.ca] has joined #code
14:44 mode/#code [+o celticminstrel] by ChanServ
15:05 ktemkin is now known as ktemkin[awork]
15:34 Karono [Karono@Nightstar-13c26ed9.optusnet.com.au] has quit [[NS] Quit: Leaving]
16:26 Thalass [thalass@Nightstar-a8e66d3f.bigpond.net.au] has joined #code
18:50 Thalass [thalass@Nightstar-a8e66d3f.bigpond.net.au] has quit [Ping timeout: 121 seconds]
19:03 Thalass [thalass@Nightstar-d711ed5b.bigpond.net.au] has joined #code
19:43 Kindamoody|out is now known as Kindamoody
20:06 Kindamoody is now known as Kindamoody[zZz]
20:35
<@gnolam>
http://www.fmylife.com/work/20834701
20:36
<@gnolam>
But they're doing it wrong. They have to straighten out the cables after cutting them as well, or some of the classified 1's could remain stuck in the bends.
20:41
<@TheWatcher>
...
20:41
<@TheWatcher>
The stupid, it burns
20:43
<@iospace>
wow
20:52
<@Alek>
http://i.imgur.com/iWKad22.jpg
21:02
< Azash>
gnolam: I just developed several eye diseases
21:12
< Syka>
oh i have a better story
21:12
< Syka>
old work, right
21:12
< Syka>
the new building had a decent lockable rack there
21:13
< Syka>
we asked for it to be part of the deal, since it was a) good and b) then we wouldnt have to repatch everything
21:13
< Syka>
but the fed gov dept that was moving out was like no
21:14
< Syka>
it is part of the federal govt IT and therefore must be treated as all other fed equipment and taken or securely disposed of
21:14
< Syka>
for security reasons
21:14
<@Tamber>
The rules: They're often stupid, pointless, and futile; but they're the rules, and damned if you don't follow them. :/
21:15
< Syka>
HOWEVER
21:15
< Syka>
leaving the security system + cameras? yeah that was fine
21:15
< Syka>
in fact they threw that in as part of the deal
21:15
<@Tamber>
:)
21:42
<@Pandemic>
that... why..... I can'y.... *facepalm*
21:49
< Azash>
"¤fs is a revolutionary new file system that, instead of wasting space storing your data on your hard drive, stores your data in ¤! You'll never run out of space again - ¤ holds every file that could possibly exist! They said 100% compression was impossible? You're looking at it!"
21:50
< Azash>
https://github.com/philipl/pifs
22:38
<@Namegduf>
Azash: Haha.
22:52
< Reiv_>
Brilliant.
22:54
<@gnolam>
... until I clicked the link, I went "huh?". Apparently, there's just one pixel's difference between 'n' and '¤' in this font.
23:03 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has joined #code
23:03 mode/#code [+ao Derakon Derakon] by ChanServ
23:03
<&Derakon>
Terminology question: does it count as "writing drivers" if I am writing code that communicates over a serial cable with a bit of hardware?
23:04 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
23:05
<&McMartin>
I'd want to call that "user-level hardware interface" unless you want to be fielding questions about I/O Request Packets in Kernel space &c
23:05
< Azash>
I'm considering writing a "paramtool" to simplify getting handles and their parameters, in C, but I can't really come up with the best way to do it
23:06
<&Derakon>
So the differentiation factor for you is that drivers happen in kernelspace?
23:06
< Azash>
Er, switches? Whatever they are called in English, like -c or -i
23:07
<&Derakon>
Commandline parameters?
23:07
<&Derakon>
They have several names, honestly.
23:07
<&Derakon>
But you want to make something e.g. like optparse, except for C instead of Python.
23:08
< Azash>
Yeah and it has several issues
23:08
< Reiv_>
'Flags' is also popular.
23:08
< Azash>
Not just implementation but let's say I do
23:08
< Azash>
mysuperbin -a foo bar
23:08
< Azash>
Is that "-a foo" bar or "-a" foo bar
23:09
<&Derakon>
Depends on how you define the -a flag.
23:09
< Reiv_>
The expectation is that you can tell it whether -a expects a foo, or whether it doesn't.
23:09
< Azash>
The only thing I can think of improving is just editing argv so that "asd asd asd" is no longer three strings but one (unless argv does that by default)
23:09
<&Derakon>
It might be "every token after this flag is part of this until the next flag" or it might be "the following token is part of the -a flag".
23:09
<&Derakon>
Or even "-a is a boolean flag; its presence/absence is all that is required".
23:10
< Azash>
Derakon: Yes, the problem is that for a general purpose tool there is no good way to define that, unless you basically have to define the parameter behaviour in advance
23:10
< Reiv_>
Yes there is
23:10
<&Derakon>
I believe the only thing that argv does by default is fold all whitespace together, so e.g. " " does not result in ["", "", ""].
23:10
<&Derakon>
Azash: yeah, you have to define what kinds of parameters you expect in advance.
23:10
< Reiv_>
No matter what you're using the tool for, you'll have to tell it how each flag behaves before it can be used.
23:11
<&Derakon>
Fortunately, you typically get a helpful "usage" documentation out of writing this.
23:11
<&Derakon>
parser.addParam("-a", "--items", TYPE_LIST, "List of items to process")
23:11
< Azash>
Mm
23:12
< Reiv_>
parser.addParam("-b", TYPE_BOOLEAN)
23:12
< Reiv_>
(I forget whether C handles polymorphism, oh well)
23:12
<&Derakon>
printf does~
23:13
<&Derakon>
Dunno how hard it is to make your typical function accept arbitrary arguments.
23:13
< Reiv_>
Yeah, well, you can throw in nulls or whatever if you so desire.
23:17
<&ToxicFrog>
Azash: studying existing libraries for this like clojure.cli and getopt[s] may be instructive, both for what they do right and for what they don't.
23:18
<&Derakon>
Ahh, there's nothing quite like pushing your code to the remote repository at the end of the day to give a little peace of mind.
23:18
<&Derakon>
I hate having major changes in only one place.
23:20
< Azash>
ToxicFrog: Yeah, thanks
23:20
< Azash>
^^*
23:32
<&McMartin>
ToxicFrog: I managed to get some doggerel to scan appropriately last night, should still be in logs
23:33
<&McMartin>
15:02 <&Derakon> So the differentiation factor for you is that drivers happen in kernelspace?
23:34
<&McMartin>
If somebody says "writing drivers" I assume kernelspace, but not all drivers are kernel-space.
23:34
<&McMartin>
What you are doing is exactly in the insane gray area. -_-
23:34
<&Derakon>
\o/
23:34
<&McMartin>
I'd be happy calling FUSE modules drivers, for instance.
23:34
<&Derakon>
Not familiar with those.
23:34
<&McMartin>
But the US there is for "user space" because you have to call it out~
23:34
<&McMartin>
Filesystem-in-user-space
23:34
<&Derakon>
How bizarre.
23:35
<&McMartin>
There's actually a decades-long debate over the exact parameters over where you should draw the kernel/userspace distinction, and you can draw it mighty close to the metal.
23:35
<&Derakon>
The whole minikernel/macrokernel thing?
23:35
<&McMartin>
"Microkernel" basically means "everything interesting is in userspace"
23:35
<&McMartin>
Yeah
23:43
<&jerith>
Derakon: "at the end of the day"?
23:43
<&Derakon>
Jerith: well, I don't have a repo installed on the computer I was doing most of this coding on.
23:43
<&Derakon>
Computers.
23:44
<&Derakon>
We have about a dozen different computers all running different bits of code; I just keep a single repo on my laptop that's backed up to a remote.
23:44
<&Derakon>
And then copy files around manually, since most of those computers also don't have external network access.
23:44
<&jerith>
Ah.
23:51 You're now known as TheWatcher[T-2]
23:53 You're now known as TheWatcher[zZzZ]
23:53 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has quit [[NS] Quit: leaving]
--- Log closed Wed Aug 14 00:00:39 2013
code logs -> 2013 -> Tue, 13 Aug 2013< code.20130812.log - code.20130814.log >

[ Latest log file ]