code logs -> 2015 -> Mon, 17 Aug 2015< code.20150816.log - code.20150818.log >
--- Log opened Mon Aug 17 00:00:34 2015
00:31
<&McMartin>
Programming the Apple IIe's speaker is actually worse than programming the Atari 2600 TV chip
00:31
<&McMartin>
It's one-bit digital audio and you read from $C030 to toggle the bit.
00:31
<&McMartin>
The reason Apple II programs never did anything else while playing music or sound is because making actual tones requires a tuned cyclecount loop.
00:33
< Reiv_>
bloody hell
00:33
< Reiv_>
That does not seem the best way to do things
00:52
<&McMartin>
Reminder that like the Atari 2600, the Apple is 1970s tech
00:52
<&McMartin>
The tech specs are amazing too because there isn't even the tiniest hint of apology
00:52
<&McMartin>
It's just what you do, right? Replace dedicated circuitry with a programmable microcontroller!
00:52
<&McMartin>
That's what CPUs are *for*. It's awesome!
00:54
<&McMartin>
Things you do, however, still have to apologize for even with 1970s tech: nonlinear address spaces
00:54
<&McMartin>
The first line of text is at $0400
00:54
<&McMartin>
You'd think the second line of text would thus be at $0400 + 40, right, since it's a 40-column display
00:54
<&McMartin>
But no, it's at $0480
00:54
<&McMartin>
#0400+40 is actually line 9 or so
00:55
<&McMartin>
(re "bloody hell" - this also means you can kind of sort of do digital sound by feeding in a series of delays into a reprogrammable loop!)
01:13
< Reiv_>
(... yay)
01:29 catadroid` [catalyst@Nightstar-heok84.dab.02.net] has joined #code
01:29 catadroid [catalyst@Nightstar-0kvpv0.dab.02.net] has quit [The TLS connection was non-properly terminated.]
02:06 Xires is now known as ^Xires
02:09 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection reset by peer]
02:13 ^Xires is now known as Xires
03:07 starkruzr [jtd@Nightstar-qbtq3s.fios.verizon.net] has quit [Operation timed out]
03:08 starkruzr [jtd@Nightstar-qbtq3s.fios.verizon.net] has joined #code
03:15 starkruzr [jtd@Nightstar-qbtq3s.fios.verizon.net] has quit [Ping timeout: 121 seconds]
03:21 catadroid [catalyst@Nightstar-oe9gkh.dab.02.net] has joined #code
03:24 catadroid` [catalyst@Nightstar-heok84.dab.02.net] has quit [Ping timeout: 121 seconds]
03:56 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
04:15 thalass is now known as Thalasleep
04:15 Thalasleep [thalass@Nightstar-m49.o7s.158.104.IP] has quit [[NS] Quit: Leaving]
05:02 Derakon is now known as Derakon[AFK]
05:45 celticminstrel [celticminst@Nightstar-s27jjc.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:01 Checkmate [Z@Nightstar-pdi1tp.customer.tdc.net] has quit [Ping timeout: 121 seconds]
06:08 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
06:08 mode/#code [+qo Vornicus Vornicus] by ChanServ
06:16
<~Vornicus>
re cli vs gui: for me as a developer, what I would most want is for things like, idunno, sed --I'd want a thing that would A. show (even in a broad sense) the available options, B. help build the query so that it is correct as regards syntax, and C. offers live preview of the results.
06:31
<@Wizard>
A terminal with IDE features?
06:32
<@Wizard>
The preview is generally not doable
06:32
<@Wizard>
Due to the first time someone writes a massive grep into a 5mil line file and it tries to preview the results
06:37
<~Vornicus>
Even preview of a small sample
06:53
<@Wizard>
I suppose it would be possible to write at least something for the coreutils
07:03 Kindamoody[zZz] is now known as Kindamoody
07:09 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
07:09 mode/#code [+o himi] by ChanServ
07:24 macdjord is now known as macdjord|slep
07:34 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
07:48 Kindamoody is now known as Kindamoody|afk
09:33 Turaiel [Brandon@Nightstar-pkuq0e.mi.comcast.net] has quit [Ping timeout: 121 seconds]
09:33 Turaiel [Brandon@Nightstar-pkuq0e.mi.comcast.net] has joined #code
09:51 catadroid` [catalyst@Nightstar-qdm9om.dab.02.net] has joined #code
09:53 catadroid [catalyst@Nightstar-oe9gkh.dab.02.net] has quit [Ping timeout: 121 seconds]
10:24 catadroid` is now known as catadroid
10:57 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
12:28 Irssi: #code: Total of 36 nicks [21 ops, 0 halfops, 0 voices, 15 normal]
13:32 Meatyhandbag [sebastianfe@Nightstar-in6.ukq.53.184.IP] has quit [Client exited]
13:32 catadroid` [catalyst@Nightstar-aioqff.dab.02.net] has joined #code
13:32 catadroid [catalyst@Nightstar-qdm9om.dab.02.net] has quit [Connection closed]
13:33 catadroid` [catalyst@Nightstar-aioqff.dab.02.net] has quit [[NS] Quit: Bye]
13:33 catadroid [catalyst@Nightstar-aioqff.dab.02.net] has joined #code
14:05 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
14:05 mode/#code [+o Checkmate] by ChanServ
14:35 Derakon[AFK] is now known as Derakon
15:49 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
16:19
<@Wizard>
http://kingjamesprogramming.tumblr.com/post/125593420693/otherwise-construct-arg list-creates-code-that
16:21 catadroid` [catalyst@Nightstar-fr5due.dab.02.net] has joined #code
16:25 catadroid [catalyst@Nightstar-aioqff.dab.02.net] has quit [Ping timeout: 121 seconds]
16:39 celticminstrel [celticminst@Nightstar-s27jjc.dsl.bell.ca] has joined #code
16:39 mode/#code [+o celticminstrel] by ChanServ
16:42
<@TheWatcher>
celticminstrel: re you question about git last night:
16:42
<@TheWatcher>
REVID=`git rev-parse HEAD`; FULLTAG=`git tag -n1 | sort -V | tail -n1`; TAG=`echo $FULLTAG | awk '{print $1}'`; ANN=`echo $FULLTAG | cut -d' ' -f 2-`; echo -e "Revision: $REVID\nFull: $FULLTAG\nTag: $TAG\nAnnotation: $ANN"
16:43
<@TheWatcher>
just use the variables in defines/whatever
16:45
<@celticminstrel>
What's 'sort -V' supposed to do?
16:45
<@TheWatcher>
sort by version
16:46
<@TheWatcher>
you can't use the --sort arg to git tag if you want to include annotated tag messages
16:46
<@celticminstrel>
My sort doesn't have that option. Would -n -t. get a similar effect?
16:47
<@TheWatcher>
if you don't use annotated tags, FULLTAG=`git tag --sort=v:revision` should work and TAG and ANN can be discarded
16:47
<@celticminstrel>
Hm, alright.
16:48
<@celticminstrel>
...that gives "unsupported sort specification 'revision'".
16:52
<@celticminstrel>
v:refname looks like it would work.
--- Log opened Mon Aug 17 16:54:04 2015
16:54 TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code
16:54 Irssi: #code: Total of 36 nicks [21 ops, 0 halfops, 0 voices, 15 normal]
16:54 mode/#code [+o TheWatcher] by ChanServ
16:54
<@TheWatcher>
godsdamnedfuckingmobile
16:54 Irssi: Join to #code was synced in 41 secs
16:55
<@TheWatcher>
celticminstrel: sorry, should be v:refname
16:56 catadroid` is now known as catadroid
16:57
<@celticminstrel>
Lastly, how can I tell whether that tag is at HEAD or not?
17:02 Meatyhandbag [sebastianfe@Nightstar-in6.ukq.53.184.IP] has joined #code
17:27 Derakon [chriswei@Nightstar-4oau6f.ca.comcast.net] has quit [Ping timeout: 121 seconds]
17:29 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has joined #code
17:29 mode/#code [+ao Derakon Derakon] by ChanServ
17:43 Derakon_ [chriswei@Nightstar-5mvs4e.ca.comcast.net] has joined #code
17:43 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has quit [Ping timeout: 121 seconds]
17:43 Derakon_ is now known as Derakon
17:43 mode/#code [+ao Derakon Derakon] by ChanServ
17:57 gizmore [kvirc@Nightstar-el3n6q.dip0.t-ipconnect.de] has joined #code
18:01 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has quit [Ping timeout: 121 seconds]
18:04 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has joined #code
18:04 mode/#code [+ao Derakon Derakon] by ChanServ
18:06 Meatyhandbag [sebastianfe@Nightstar-in6.ukq.53.184.IP] has quit [Connection closed]
18:07 Meatyhandbag [sebastianfe@Nightstar-in6.ukq.53.184.IP] has joined #code
18:08 Meatyhandbag [sebastianfe@Nightstar-in6.ukq.53.184.IP] has quit [Connection closed]
18:08 Meatyhandbag [sebastianfe@Nightstar-in6.ukq.53.184.IP] has joined #code
18:32 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
18:43
<&ToxicFrog>
celticminstrel: git rev-parse HEAD == git rev-parse <tag>?
18:47 catadroid [catalyst@Nightstar-fr5due.dab.02.net] has quit [[NS] Quit: Bye]
19:03
<@celticminstrel>
Yeah, thanks.
19:03
<@celticminstrel>
I actually managed to figure that out myself though.
19:08 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has quit [Ping timeout: 121 seconds]
19:13 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has joined #code
19:13 mode/#code [+ao Derakon Derakon] by ChanServ
20:11 * Alek is doing a refresher of the early chapters of LPTHW in preparation for continuing with the latter ones.
20:11
<@Alek>
doing a lot of print statements. so of course in powershell I type print <filename> instead of python <filename>...
21:48 Kindamoody|afk is now known as Kindamoody
21:58 gizmore [kvirc@Nightstar-el3n6q.dip0.t-ipconnect.de] has quit [[NS] Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
22:03 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
22:03 mode/#code [+o Vash] by ChanServ
23:36 Kindamoody is now known as Kindamoody[zZz]
--- Log closed Tue Aug 18 00:00:00 2015
code logs -> 2015 -> Mon, 17 Aug 2015< code.20150816.log - code.20150818.log >

[ Latest log file ]