code logs -> 2013 -> Mon, 29 Apr 2013< code.20130428.log - code.20130430.log >
--- Log opened Mon Apr 29 00:00:30 2013
00:04 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
00:07 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds]
00:08 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
00:13 McMartin_ is now known as McMartin
00:13 mode/#code [+ao McMartin McMartin] by ChanServ
00:51 You're now known as TheWatcher[t-2]
00:59 You're now known as TheWatcher[zZzZ]
02:02 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
02:14 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
02:17 RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
02:48 syksleep is now known as Syk
03:03 Turaiel is now known as Tur|Anime
03:34 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
03:41 Derakon is now known as Derakon[AFK]
03:46 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
03:46 mode/#code [+ao Derakon Derakon] by ChanServ
03:49 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
03:53 gnolam_ [lenin@Nightstar-b2aa51c5.cust.bredbandsbolaget.se] has joined #code
03:53 gnolam is now known as NSGuest59231
03:53 gnolam_ is now known as gnolam
03:53 mode/#code [+o gnolam] by ChanServ
03:54 NSGuest59231 [lenin@Nightstar-b2aa51c5.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds]
04:11 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
04:11 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
04:11 mode/#code [+ao Derakon Derakon] by ChanServ
04:30 ErikMesoy|sleep is now known as ErikMesoy
04:34 Kindamoody[zZz] is now known as Kindamoody
04:51 Derakon1 [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
04:51 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [NickServ (GHOST command used by Derakon1)]
04:51 Derakon1 is now known as Derakon
04:51 mode/#code [+ao Derakon Derakon] by ChanServ
06:18 Derakon is now known as Derakon[AFK]
07:11 Kindamoody is now known as Kindamoody|afk
07:31 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:46 You're now known as TheWatcher
07:46 Tur|Anime is now known as Turaiel
08:03 Kindamoody|afk is now known as Kindamoody
08:58 Kindamoody is now known as Kindamoody|out
09:10 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has joined #code
10:19 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has quit [[NS] Quit: Leaving]
10:32 RichyB [richardb@58734C.5279B7.EA7DF8.107330] has joined #code
11:39 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
11:40 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
12:09 thalass [thalass@C2A270.1179B7.313116.0D754E] has joined #code
13:16 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
13:19
<&jerith>
Hey, people in here might know. What's a reasonable unit test library/framework for a small embedded C project?
13:22 thalass [thalass@C2A270.1179B7.313116.0D754E] has quit [[NS] Quit: wheeeeeethud]
13:42 RichyB [richardb@58734C.5279B7.EA7DF8.107330] has quit [Ping timeout: 121 seconds]
14:16 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
14:16 * Tarinaky glares at TeX.
14:17
<@Tarinaky>
I just want to get this assignment done don't you dare break :/
14:17
<@Tarinaky>
"! LaTeX Error: Environment lstlistings undefined." Dear LaTeX, have you tried looking in the listings package?
14:17
<@Tarinaky>
You know, the only package I've included in this poxy file?
14:25
<@Tarinaky>
Okay. So the "a minimal file" in the fucking guide doesn't work... Despite the fact I have a document that uses this package that does work.
14:25
<@Tarinaky>
What the fuck.
14:26
<@Tarinaky>
Right. It's lstlisting, not lstlistings.
14:26
<@Tarinaky>
Bloody documentation :/
14:29 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
14:47 RichyB [richardb@58734C.5279B7.EA7DF8.107330] has joined #code
15:18 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code
15:18 mode/#code [+o celticminstrel] by ChanServ
15:43 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
15:56 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
16:18 gnolam_ [lenin@Nightstar-b2aa51c5.cust.bredbandsbolaget.se] has joined #code
16:20 Netsplit *.net <-> *.split quits: EvilDarkLord, @gnolam, @jerith, @McMartin, sshine, @Syloq, @Reiv, [R], @Derakon[AFK], @PinkFreud
16:20 Netsplit over, joins: sshine, &Derakon[AFK], EvilDarkLord, @Syloq
16:21 Netsplit over, joins: @PinkFreud, &jerith, @Reiv, &McMartin, @gnolam, [R]
16:21 jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has quit [Ping timeout: 121 seconds]
16:21 jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has joined #code
16:21 gnolam [lenin@Nightstar-b2aa51c5.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds]
16:22 mode/#code [+ao jerith jerith] by ChanServ
16:26 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
16:39 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
16:46 ToxicFrog is now known as ToxicFrog|W`rkn
17:56 * Alek tosses this on the bulletin board:
17:56
<@Alek>
http://www.craigslist.org/about/craigslist_is_hiring
17:56 * Tamber staples a "Hang In There" cat poster over it.
18:09
< RichyB>
Perl? Fun.
18:11
<@celticminstrel>
Somehow, it seems that my FTP client was able to tell that I might be overwriting changes when I tried to upload something...
18:34
<@Alek>
size comparison. *nods sagely*
18:50
< Shiz>
or date
18:51
<&jerith>
McMartin, iospace: You two are the resident experts in C stuff, I believe.
18:52
<&jerith>
I have a Pebble watch face project that I would like to write tests for.
18:52
<&jerith>
However, their SDK (which is actually pretty good about setting up all the project infrastructure) provides no hooks or tools for this.
18:53
<&McMartin>
C does not, as you know, have a real notion of component boundaries.
18:53
<@iospace>
jerith: i'm more embedded C
18:53
<&jerith>
iospace: This code runs on a wristwatch. It's pretty embedded.
18:53
<&McMartin>
However, most C compilers not named Visual Studio are pretty profligate with exporting symbols.
18:54
<@iospace>
:P
18:54
<&McMartin>
You may be able to just directly call the functions you intend to test from outside of it.
18:54
<&jerith>
The first problem is that I'd have to replace or hack around a bunch of the build infrastructure.
18:55
<&jerith>
The second problem is that this stuff is cross-compiled and I don't think I have access to executable-on-my-system versions of a bunch of the library functions I'm calling.
18:55
<&jerith>
The code's at https://github.com/jerith/pebble-discordian if you're interested.
18:58
< Syk>
augh.
18:58
< Syk>
gitignores, man
18:59
<&jerith>
Syk: What about them?
18:59
< Syk>
maybe i don't know how globbing works
18:59
< Syk>
but: var/folder/; !placeholder.txt doesn't work
19:00
< Syk>
var/folder/*; !placeholder.txt does
19:00
<@Azash>
Hm
19:00
< Syk>
i guess that does make sense
19:00
< Syk>
since i'm ignoring the folder in the first one
19:00
<@Azash>
What's the quickest way in PHP to see if a string is ^[0-9]+$ ?
19:00
< Syk>
so i'm assuming it doesnt bother traversing it
19:01
< Syk>
Azash: doesn't php have regex built in
19:01
<@Azash>
I wouldn't know
19:01 * Azash has used it for around 10 hours total
19:01
<&jerith>
Syk: Several varieties, in the most confusing possible combination.
19:01
<&jerith>
Azash: What's this for?
19:02
<@Azash>
Thank you though
19:02
<@Azash>
jerith: Just doing a quick and sketchy blog service
19:02
< Syk>
mandatory 'why are you using php' question
19:02
<@Azash>
I need to see if the get has an offset for which posts are shown
19:03
< Syk>
:D my ubuntu upgrade is chugging along
19:03
< Syk>
it might only be slightly broken when done
19:03
<&jerith>
Azash: You should probably use a named query param for that.
19:03
<@Azash>
jerith: Yeah I mean, I need to make sure it's a numeric value
19:04
<@Azash>
preg_match should do, thanks
19:07
<&jerith>
Azash: http://www.php.net/manual/en/function.ctype-digit.php might be better.
19:08
<@Azash>
Thanks
19:10 Cryptikro [NSwebIRC@D82662.45D78B.09FF98.58A9BB] has joined #code
19:10 Cryptikro [NSwebIRC@D82662.45D78B.09FF98.58A9BB] has left #code [""]
19:16 Kindamoody|out is now known as Kindamoody
19:45
<@Azash>
Why you shouldn't build databases tired: sqlite> .schema Post
19:45
<@Azash>
CREATE TABLE Post(id INTEGER PRIMATE KEY, userid INTEGER, replyto INTEGER, time TEXT, content TEXT, FOREIGN KEY(userid) REFERENCES User(id), FOREIGN KEY(replyto) REFERENCES Post(id));
19:47
<@celticminstrel>
It wasn't date.
19:47
<@celticminstrel>
I'd be surprised if size could do that.
19:48
<@Azash>
celticminstrel: Look closer at the definition of the id
19:48
<@Tamber>
This is why you shouldn't let people monkey with your DBs
19:49
<@Azash>
Tamber: wp
19:49
<@celticminstrel>
Sorry, I was still talking about my ftp client. <_<
19:49
<@Azash>
Oh, sorry
19:50
<@celticminstrel>
The thing I mentioned and then forgot about.
20:02 Kindamoody is now known as Kindamoody[zZz]
20:27
<@celticminstrel>
Does an empty array evaluate as true or false in PHP?
20:27
<&ToxicFrog|W`rkn>
Hahahahahahahahahahahahaaaaaa
20:28
<@celticminstrel>
Eh, I'll use the function to be safe then. >_>
20:29
<@Tamber>
celticminstrel, the answer to that is "Yes. Sometimes." :)
20:31
< ErikMesoy>
celticminstrel: It copies the last boolean value seen, then writes that to the array for later usage. </mockery>
20:31 * celticminstrel smacks Erik. <_<
20:32
< ErikMesoy>
Hey, it would be totally in character for PHP.
20:32
<@celticminstrel>
Maybe.
20:33
<@froztbyte>
what was that side that listed all the weird PHP oddities?
20:33
<@froztbyte>
it featured here for a while
20:33
<&jerith>
Search for "PHP" and "fractal".
20:33
<@Tamber>
http://phpsadness.com/
20:34
< ErikMesoy>
http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ ?
20:34 * Azash holds up http://i.imgur.com/O5zPRFc.png and does a jig
20:35
< ErikMesoy>
Oh, and get a copy of the PHP hammer: http://www.flickr.com/photos/raindrift/sets/72157629492908038/
20:35
< Syk>
i once wrote my own blog software
20:35
< Syk>
it's a mix of C++, bash and pasting text templates together
20:36
<@Azash>
I think this is alright for a PHP first-timer who put about 6-7 hours so far into it
20:39
< Shiz>
meanwhile, in PHP.
20:39
< Shiz>
array(1) { ["file"]=> array(5) { ["name"]=> string(103) "[UTW-THORA] Evangelion 3.33 You Can (Not) Redo [BD][1080p,x264,flac][F2060CF5]_29 Apr 2013 17.12.49.png" ["type"]=> string(0) "" ["tmp_name"]=> string(0) "" ["error"]=> int(1) ["size"]=> int(0) } }
20:39
< Shiz>
it registered the upload but did not fill the tmp_name thing
20:39
< Shiz>
or anything else
20:39
< Shiz>
excpet the original file name
20:40
< Syk>
this is why you don't use php
20:40
< Syk>
:D
20:41
< ErikMesoy>
Evangelion?
20:41
< Shiz>
UPLOAD_ERR_INI_SIZE
20:41
< Shiz>
Value: 1; The uploaded file exceeds the upload_max_filesize directive in php.ini.
20:42
< Shiz>
oh, that must be it
20:42
< Syk>
oh hey
20:42
< Syk>
gnome3.8 broke wallpapers in non-adwata themes
20:43
< Shiz>
ErikMesoy: screenshot
20:53 VirusHome is now known as Pandemic
20:53 mode/#code [+o Pandemic] by ChanServ
20:54
<&ToxicFrog|W`rkn>
Shiz: I'm so sorry.
20:54
< Shiz>
hmm?
20:56
<&ToxicFrog|W`rkn>
Shiz: that you're stuck with PHP.
21:11
<@froztbyte>
the one Tamber dropped, thanks :)
21:11
<@froztbyte>
and basically just go spend some time on that page
21:11
<@froztbyte>
(and eevee's posts are mandatory reading, of course)
21:16 Syk is now known as syksleep
21:28 * Azash realizes that the documentation and implicit design requirements are much steeper than before
21:28 * Azash realizes that he can not finish in time: https://www.youtube.com/watch?v=EmWLkjJ5YsE
21:40 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
21:40 mode/#code [+qo Vornicus Vornicus] by ChanServ
21:53 RichyB [richardb@58734C.5279B7.EA7DF8.107330] has quit [Ping timeout: 121 seconds]
21:59 ErikMesoy is now known as ErikMesoy|sleep
22:19 Kindamoody[zZz] [Kindamoody@Nightstar-05577424.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
22:42 RichyB [richardb@58734C.5279B7.EA7DF8.107330] has joined #code
23:42 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
23:54 You're now known as TheWatcher[T-2]
23:59 You're now known as TheWatcher[zZzZ]
--- Log closed Tue Apr 30 00:00:41 2013
code logs -> 2013 -> Mon, 29 Apr 2013< code.20130428.log - code.20130430.log >

[ Latest log file ]