code logs -> 2014 -> Fri, 15 Aug 2014< code.20140814.log - code.20140816.log >
--- Log opened Fri Aug 15 00:00:52 2014
00:07 Turaiel is now known as Turaiel[Offline]
00:43 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
00:45 Thalass|sleepz [thalass@Nightstar-fnlg98.bigpond.net.au] has joined #code
00:57 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
00:57 mode/#code [+o himi] by ChanServ
01:02 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
01:23 Thalass|sleepz is now known as Thalass
01:24 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [[NS] Quit: Page closed]
01:24 mode/#code [+o Thalass] by ChanServ
01:36 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
01:36 mode/#code [+o Reiv] by ChanServ
01:53 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
01:53 mode/#code [+o PinkFreud] by ChanServ
01:59 Thalass is now known as Thalass|Kerbals
02:12 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
02:18 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
02:19 mode/#code [+qo Vornicus Vornicus] by ChanServ
02:38 Turaiel[Offline] is now known as Turaiel
02:39 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has joined #code
02:39 mode/#code [+o himi] by ChanServ
03:03 Harlow [harlow@Nightstar-04f.4po.201.71.IP] has joined #code
03:04
< Harlow>
can i get a recommendation for a C book? I know a good deal of C++ but I haven't delved into much C.
03:05
< Harlow>
or even an online resource would be good.
03:05
< [R]>
cprogramming.org
03:05
< [R]>
Err
03:05
< [R]>
http://www.cprogramming.com/
03:05
< [R]>
Or "Learning C the Hard Way"
03:06
< [R]>
But the former is what I used.
03:11 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
03:14 Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
03:28
< Harlow>
thanks [R]
03:36 Harlow [harlow@Nightstar-04f.4po.201.71.IP] has quit [Connection closed]
03:36 Harlow [harlow@Nightstar-04f.4po.201.71.IP] has joined #code
03:49 Thalass|Kerbals is now known as Thalass
04:06 Kindamoody[zZz] is now known as Kindamoody
04:08 Harlow [harlow@Nightstar-04f.4po.201.71.IP] has quit [[NS] Quit: sleep]
04:54 Thalass is now known as Thalass|mmmovie
05:05 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
05:09 Turaiel is now known as Turaiel[Offline]
06:07 celticminstrel [celticminst@Nightstar-6pf18d.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:07 Harlow [harlow@Nightstar-04f.4po.201.71.IP] has joined #code
06:21 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:37 Kindamoody is now known as Kindamoody|afk
06:43 Thalass|mmmovie is now known as Thalass
06:52 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
07:14 macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code
07:14 mode/#code [+o macdjord] by ChanServ
07:17 macdjord is now known as macdjord|slep
07:59 Harlow [harlow@Nightstar-04f.4po.201.71.IP] has quit [[NS] Quit: BED]
08:26 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has quit [Ping timeout: 121 seconds]
08:58 Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has joined #code
09:07
<@Azash>
http://i.imgur.com/ZCdkgsX.png
09:08 Lappy_Caboose [IceChat9@Nightstar-ago7bl.abhsia.telus.net] has joined #code
09:10
<@Azash>
http://i.imgur.com/ulExX5D.png
09:46 Tarinaky [tarinaky@Nightstar-e99cts.net] has quit [Ping timeout: 121 seconds]
09:53 Tarinaky [tarinaky@Nightstar-e99cts.net] has joined #code
09:53 mode/#code [+o Tarinaky] by ChanServ
10:02 thalass_ [thalass@Nightstar-fnlg98.bigpond.net.au] has joined #code
10:02 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
10:03 thalass_ is now known as Thalass_spiceweasel
10:23 RchrdB [RchrdB@Nightstar-me7im1.range86-153.btcentralplus.com] has joined #code
10:23 mode/#code [+o RchrdB] by ChanServ
10:43
<@Tarinaky>
I should probably write a script to parse my code for style-formatting issues.
10:44
<@Tarinaky>
But I don't know enough regexp
10:45 RchrdB [RchrdB@Nightstar-me7im1.range86-153.btcentralplus.com] has quit [[NS] Quit: Leaving]
11:36 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
11:36 mode/#code [+o himi] by ChanServ
11:42
<@Tarinaky>
Argh.
11:43
<@Tarinaky>
So I'm reading the .rb source file into a string variable
11:43
<@Tarinaky>
Then calling .scan with a regexp
11:43
<@Tarinaky>
But I don't know how to get a line-number out of this
11:43 Xon [Xon@Nightstar-j72.ku7.252.119.IP] has quit [[NS] Quit: No Ping reply in 180 seconds.]
11:43
<@Tarinaky>
I can't read the file line-by-line because a couple of the regexs are multi-line
11:46 Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code
11:51 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:55
<@Tarinaky>
Okay. Ignoring that for a moment (I made my regexs more verbose so I'd get the full line and I can search on that)
11:56
<@Tarinaky>
Why the merry fffffuuu- isn't the regex doing what I think I should be matching?
11:57
<@Tarinaky>
I have /^[^#]*\(\S.*$/
11:57 Lappy_Caboose [IceChat9@Nightstar-ago7bl.abhsia.telus.net] has quit [Connection closed]
11:57
<@Tarinaky>
Which is supposed to be matching lins of the form "foo(arg1)"
11:57
<@Tarinaky>
However it's matching lines of the form "foo( arg1 )"
11:58
<@Tarinaky>
Which is the exact opposite of what I want!
12:03
< luke>
What's that \S for?
12:18
<@Tarinaky>
Apparently matches any non-whitespace character
12:19
<@Tarinaky>
It seems to be working now
12:19
<@Tarinaky>
Although my regexs are getting more and more incomprehensible
12:20
< luke>
What engine is that using, anyway? I would have though the [^#]* would just gobble everything up.
12:25
<@Tarinaky>
Everything that isn't a '#'
12:55 Desktop_Caboose [IceChat9@Nightstar-ago7bl.abhsia.telus.net] has joined #code
12:57 Desktop_Caboose [IceChat9@Nightstar-ago7bl.abhsia.telus.net] has left #code []
13:08
<@Tarinaky>
On the one hand, I now have a script that automatically finds my most common stylistic errors...
13:08
<@Tarinaky>
On the other hand, I am now going to be beaten with a stick for not commenting/mantaining this script.
13:22 Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code
13:22 mode/#code [+o Orthia] by ChanServ
13:29
<&ToxicFrog>
Tarinaky: or you could use lint
13:29
<@Tarinaky>
ToxicFrog: I checked that. None of them appeared to readily support arbitrary code style decrees from above.
13:30
<@Tarinaky>
They seemed to focus on implementing sensible code styles~
13:35 Thalass_spiceweasel [thalass@Nightstar-fnlg98.bigpond.net.au] has quit [Ping timeout: 121 seconds]
13:37
<@Tarinaky>
I should probably use a real linter as well though
14:16 luke [flukiluke@Nightstar-q2b7ep.blinkenshell.org] has quit [Ping timeout: 121 seconds]
14:48
<@Tarinaky>
Argh. I have two problems.
14:49 Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Ping timeout: 121 seconds]
14:51 luke [flukiluke@Nightstar-q2b7ep.blinkenshell.org] has joined #code
14:53 Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code
14:53 mode/#code [+o Orthia] by ChanServ
16:22 Alek [omegaboot@Nightstar-4o7.au0.44.73.IP] has quit [[NS] Quit: taking down the PC to move]
16:22 celticminstrel [celticminst@Nightstar-6pf18d.dsl.bell.ca] has joined #code
16:22 mode/#code [+o celticminstrel] by ChanServ
16:36 Alek [omegaboot@Nightstar-4o7.au0.44.73.IP] has joined #code
16:36 mode/#code [+o Alek] by ChanServ
16:37 Alek [omegaboot@Nightstar-4o7.au0.44.73.IP] has quit [[NS] Quit: ]
17:23
<&ToxicFrog>
I bring you the best error message
17:23
<&ToxicFrog>
Exception in thread "main" clojure.lang.ArityException: Wrong number of args (-1) passed to: core/filter, compiling:(spellcast/game/common.clj:81:13)
17:24
<@Tamber>
....hm.
17:36
<@celticminstrel>
For a moment I read "game" as "gnome".
17:46 Thalass is now known as Thalasleep
18:33 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
18:43
< Julius>
How do you pass -1 args? Failing to pass the name of what is it you're executing?
18:47 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
18:47 mode/#code [+o himi] by ChanServ
19:06
<&ToxicFrog>
Julius: I have no idea.
19:06
<&ToxicFrog>
I mean, it was a macro going wrong, but even then
19:24 RchrdB [RchrdB@Nightstar-me7im1.range86-153.btcentralplus.com] has joined #code
19:25 mode/#code [+o RchrdB] by ChanServ
19:30 RchrdB [RchrdB@Nightstar-me7im1.range86-153.btcentralplus.com] has quit [Ping timeout: 121 seconds]
19:57 RchrdB [RchrdB@Nightstar-me7im1.range86-153.btcentralplus.com] has joined #code
19:57 mode/#code [+o RchrdB] by ChanServ
20:40 Namegduf [namegduf@Nightstar-rjh.rpa.226.188.IP] has quit [Ping timeout: 121 seconds]
20:41 Namegduf [namegduf@Nightstar-rjh.rpa.226.188.IP] has joined #code
20:41 mode/#code [+o Namegduf] by ChanServ
21:00 Checkmate [Z@Nightstar-ro94ms.balk.dk] has joined #code
21:07 Kindamoody|afk is now known as Kindamoody
21:33 RchrdB [RchrdB@Nightstar-me7im1.range86-153.btcentralplus.com] has quit [Ping timeout: 121 seconds]
21:34 RchrdB [RchrdB@Nightstar-me7im1.range86-153.btcentralplus.com] has joined #code
21:34 mode/#code [+o RchrdB] by ChanServ
21:55 Kindamoody is now known as Kindamoody[zZz]
22:32 JustBob [justbob@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
22:42 Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Ping timeout: 121 seconds]
22:48 Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code
22:48 mode/#code [+o Orthia] by ChanServ
23:01 RchrdB [RchrdB@Nightstar-me7im1.range86-153.btcentralplus.com] has quit [Ping timeout: 121 seconds]
23:06 RchrdB [RchrdB@Nightstar-me7im1.range86-153.btcentralplus.com] has joined #code
23:06 mode/#code [+o RchrdB] by ChanServ
23:07 JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code
23:07 mode/#code [+o JustBob] by ChanServ
23:11 Turaiel[Offline] is now known as Turaiel
23:17 RchrdB [RchrdB@Nightstar-me7im1.range86-153.btcentralplus.com] has quit [Connection closed]
23:18 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
23:18 mode/#code [+qo Vornicus Vornicus] by ChanServ
--- Log closed Sat Aug 16 00:00:07 2014
code logs -> 2014 -> Fri, 15 Aug 2014< code.20140814.log - code.20140816.log >

[ Latest log file ]