--- Log opened Mon Dec 14 00:00:31 2015 |
00:09 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code |
00:09 | | mode/#code [+o himi] by ChanServ |
00:26 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
00:26 | | mode/#code [+o Reiv] by ChanServ |
01:20 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ] |
01:28 | | catadroid [catalyst@Nightstar-a88ccj.dab.02.net] has joined #code |
04:09 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds] |
05:24 | | Turaiel is now known as Turaiel[Offline] |
05:47 | | catadroid` [catalyst@Nightstar-pbe4vh.dab.02.net] has joined #code |
05:50 | | catadroid [catalyst@Nightstar-a88ccj.dab.02.net] has quit [Ping timeout: 121 seconds] |
06:30 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds] |
06:41 | | Crossfire [Z@Nightstar-pdi1tp.customer.tdc.net] has quit [Ping timeout: 121 seconds] |
06:53 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
07:00 | | catadroid` [catalyst@Nightstar-pbe4vh.dab.02.net] has quit [Connection closed] |
07:00 | | catadroid [catalyst@Nightstar-pbe4vh.dab.02.net] has joined #code |
08:29 | | celticminstrel is now known as celmin|sleep |
09:01 | | Kindamoody[zZz] is now known as Kindamoody |
09:02 | | Kindamoody is now known as Kindamoody|afk |
09:44 | | Meatyhandbag [sebastianfe@Nightstar-d5r.854.224.136.IP] has quit [Client exited] |
09:54 | | macdjord is now known as macdjord|slep |
09:55 | | Irssi: #code: Total of 34 nicks [27 ops, 0 halfops, 1 voices, 6 normal] |
09:55 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
09:56 | | mode/#code [+o himi] by ChanServ |
10:11 | | catadroid [catalyst@Nightstar-pbe4vh.dab.02.net] has quit [Ping timeout: 121 seconds] |
10:49 | | abudhabi1 [abudhabi@Nightstar-7nkq9k.de] has joined #code |
10:51 | | abudhabi1 [abudhabi@Nightstar-7nkq9k.de] has quit [[NS] Quit: leaving] |
11:13 | | Emmy-zZz is now known as Emmy |
12:52 | | catadroid [catalyst@Nightstar-894stf.dab.02.net] has joined #code |
13:22 | | Turaiel[Offline] is now known as Turaiel |
14:55 | | Meatyhandbag [sebastianfe@Nightstar-d5r.854.224.136.IP] has joined #code |
15:07 | | Meatyhandbag [sebastianfe@Nightstar-d5r.854.224.136.IP] has quit [Connection closed] |
15:08 | | Meatyhandbag [sebastianfe@Nightstar-d5r.854.224.136.IP] has joined #code |
16:39 | | catadroid` [catalyst@Nightstar-u7m9tc.dab.02.net] has joined #code |
16:41 | | catadroid [catalyst@Nightstar-894stf.dab.02.net] has quit [Ping timeout: 121 seconds] |
16:55 | | catadroid` is now known as catadroid |
17:28 | <&ToxicFrog> | Ahahaha wow clojure was not the right choice of language for 6.1 |
17:35 | < catadroid> | I still remember how to code! |
17:35 | < catadroid> | Huzzah! |
17:40 | | * ToxicFrog implements it in lua as well |
17:40 | <&ToxicFrog> | luajit: 30ms |
17:40 | <&ToxicFrog> | lua 5.2: 1.3s |
17:41 | <&ToxicFrog> | clojure 1.6: 180s |
18:00 | | gizmore [kvirc@Nightstar-qvrd5r.dip0.t-ipconnect.de] has joined #code |
18:27 | | celmin|sleep is now known as celticminstrel |
19:13 | | catadroid` [catalyst@Nightstar-a88ccj.dab.02.net] has joined #code |
19:13 | | catadroid [catalyst@Nightstar-u7m9tc.dab.02.net] has quit [Connection closed] |
19:37 | | Kindamoody|afk is now known as Kindamoody |
20:17 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
20:17 | | mode/#code [+o Reiv] by ChanServ |
20:24 | | Turaiel is now known as Turaiel[Offline] |
20:55 | | gizmore|2 [kvirc@Nightstar-qvrd5r.dip0.t-ipconnect.de] has joined #code |
20:55 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code |
20:55 | | mode/#code [+o Crossfire] by ChanServ |
20:58 | | gizmore [kvirc@Nightstar-qvrd5r.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
21:05 | | ricer_rwA1 [ricer@Nightstar-dlmh0f.stratoserver.net] has quit [[NS] Quit: Caught SystemExit exception.] |
21:06 | | ricer [ricer@Nightstar-dlmh0f.stratoserver.net] has joined #code |
21:18 | | Kindamoody is now known as Kindamoody[zZz] |
21:35 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
21:52 | <&McMartin> | Tee hee |
21:52 | | * McMartin did his solution for Day 14 in C. |
21:52 | | * McMartin notices he has the appropriate compiler here, runs his solution for it on a Commodore 64. |
21:55 | <&McMartin> | Noticably slower there~ |
22:02 | < gizmore|2> | C Compiler on a breadbox? |
22:02 | | gizmore|2 is now known as gizmore |
22:02 | | gizmore is now known as help |
22:02 | <&McMartin> | THere are several of those, but this was done via the cc65 cross-compiler suite. |
22:03 | < help> | LDA 6 |
22:03 | < help> | STA 1024 |
22:03 | < help> | LDA 8 |
22:04 | < help> | STA 1025 |
22:04 | < help> | LDX 26 |
22:04 | < help> | STX 1026 |
22:04 | | help is now known as gizmore |
22:04 | <&McMartin> | You're missing some #s there on your LDAs. |
22:04 | <&McMartin> | ;-) |
22:04 | < gizmore> | it´s just a slim asm syntax |
22:04 | < gizmore> | it is context dependant |
22:05 | < gizmore> | it checks +- 20 lines of your code, and compiles partials (also creates unit tests automatically) |
22:05 | < gizmore> | actually it always chooses the machine code with the least binary size. because it knows that you know what you are doing |
22:06 | < gizmore> | and the unit test is always NOP |
22:06 | | macdjord|slep is now known as macdjord |
22:06 | < gizmore> | but... try POKE 1024,6; |
22:06 | < gizmore> | POKE 1025,8; POKE 1026,26; |
22:07 | < gizmore> | because now i am becoming basic |
22:07 | <&McMartin> | FHZ in the upper left, assuming the proper KERNAL revision. |
22:07 | < gizmore> | GIZ |
22:07 | < gizmore> | A == 0? Oo |
22:07 | <&McMartin> | @ == 0 |
22:07 | <&McMartin> | A == 1 |
22:07 | < gizmore> | damn |
22:07 | < gizmore> | i am off by one |
22:08 | <&McMartin> | But only 2/3s of the time! |
22:08 | <&McMartin> | I figured the Z meant the other two were on purpose |
22:08 | < gizmore> | i was too fast.... seems like time is relative on high mp/h |
22:08 | < gizmore> | it should read GIZ :( |
22:09 | < gizmore> | i failed at counting abcdefg :P |
22:09 | < gizmore> | anyway... show me your C code |
22:09 | < gizmore> | and i tell you how old you are |
22:09 | <&McMartin> | That reminds me: new Bumbershoot article |
22:09 | <&McMartin> | https://bumbershootsoft.wordpress.com |
22:10 | < gizmore> | on the year exact +-1 |
22:10 | <&McMartin> | Here's some *real* C code by me |
22:10 | <&McMartin> | https://github.com/michaelcmartin/monocle |
22:11 | < gizmore> | "This site contains malware" â chrome about another site |
22:11 | <&McMartin> | github is sneaky |
22:11 | <&McMartin> | Um, if you're getting that about either of my two links, I'd like to know; that could be an advertising attack through either, I guess? |
22:11 | < gizmore> | they started to opensource microsoft code :( |
22:12 | < gizmore> | [23:09:59] <gizmore> "This site contains malware" â chrome about another site |
22:12 | < gizmore> | another site-.... not github or blogspot |
22:12 | <&McMartin> | Okay |
22:12 | <&McMartin> | I was wondering if it said that in reaction to clicking either of my links, basically |
22:13 | <&McMartin> | nm |
22:13 | < gizmore> | it this your project on githon? |
22:13 | < gizmore> | *githubby |
22:13 | <&McMartin> | Yes |
22:13 | < gizmore> | nice |
22:13 | < gizmore> | " A Minimal, Native Console-Like library based on SDL " |
22:13 | <&McMartin> | It's not as complete as I'd like because the need for it got obviated |
22:14 | < gizmore> | "on top of SDL" or "similiar to SDL" ? |
22:14 | <&McMartin> | On top of |
22:14 | <@Tamber> | Variable-cycle-count NOPs... Magic. |
22:14 | < gizmore> | you might want to add that |
22:14 | <&McMartin> | Sensible |
22:14 | < gizmore> | just use OPCODE \xdeadbeef to trigger an exception nobody ever took care of |
22:15 | < gizmore> | some intel designers put it in and never removed it |
22:15 | < gizmore> | just kidding |
22:15 | <&McMartin> | Well, that particular NOP was, again, the 6502 |
22:15 | <&McMartin> | I only have a couple of actual DOS programs in that repo |
22:15 | <&McMartin> | (The bumbershoot repo) |
22:16 | <&McMartin> | ... Hah, every single one of my repos is in a different language |
22:16 | < gizmore> | McMartin: lots of statics |
22:16 | < gizmore> | maybe put all those global vars into some own struct? |
22:16 | < gizmore> | and call it context? |
22:16 | <&McMartin> | That's a thing people do all right. I'm not 100% sure it makes sense in this context, but I'd have to actually dive back into it to make sure |
22:17 | <&McMartin> | As noted, Monocle was abandoned partway through its own design |
22:17 | <&McMartin> | (The commercial system it was intended to be like had its price crash and also dramatically improved its binary output) |
22:19 | <&McMartin> | Monocle started out as my reinvent-all-the-wheels system; a more typical open-source design would have simply depended on... dammit, I've forgotten the name... doomfs or something |
22:20 | <&McMartin> | PhysicsFS |
22:20 | < gizmore> | wanna see something i did? |
22:20 | <&McMartin> | There are hand-rolled ZIP-mounting and JSON in there |
22:20 | <&McMartin> | Sure |
22:20 | < gizmore> | join #shadowlamb |
22:21 | <&McMartin> | That said, is this a large enough sample for an age guess~ |
22:23 | < gizmore> | you are younger than 40 |
22:23 | < gizmore> | 27 |
22:23 | < gizmore> | *37 |
22:23 | <&McMartin> | Well done. |
22:23 | < gizmore> | won ? |
22:23 | <&McMartin> | You are within six months. |
22:23 | < gizmore> | :) |
22:23 | < gizmore> | i told ya |
22:24 | <&McMartin> | What happens after you hit 40? |
22:25 | < gizmore> | you would have written enterprise code |
22:25 | < gizmore> | your code was slim |
22:25 | < gizmore> | too slim for having a long beard |
22:25 | <&McMartin> | And the fact that I wrote C at all means that I was older than 35, then~ |
22:25 | < gizmore> | no |
22:25 | < gizmore> | i am 35 |
22:26 | < gizmore> | you had to be a tad older than myself |
22:26 | < gizmore> | i got the feeling... as you wrote C for C64 |
22:26 | <&McMartin> | Ranting about 8-bit minutiae is a bit of a giveaway, yes >_> |
22:26 | < gizmore> | surely a tad older than me at least |
22:26 | <&McMartin> | Yeah, though actually didn't get seriously into digging into the 64's internals until recently |
22:26 | <&McMartin> | But yeah, I grew up with it as a young child |
22:26 | < gizmore> | yep |
22:27 | < gizmore> | that has been given away by the enterprise rule |
22:27 | < gizmore> | your code did look self taught |
22:27 | <&McMartin> | Kinda |
22:27 | < gizmore> | totally |
22:27 | <&McMartin> | I've gone pretty deep into CS academia and come out the other side |
22:28 | <&McMartin> | So I've got a bunch of formal training, but most of it involves knowing which bits I'm sacrificing for what gains, and when |
22:28 | < gizmore> | ,beer McMartin |
22:28 | < ricer> | gizmore: Exception: undefined local variable or method `sid' for #<Ricer::Plug::Params::ChannelUserParam:0xbdb3d75c> in /home/ricer2/ricer2/app/models/ricer/plug/params/channel_user_param.rb:7:in `convert_in!'. |
22:28 | <&McMartin> | (I started getting back into the 6502 when I wanted to start seeing if you could render modern programming language features sensibly in assembler) |
22:28 | < gizmore> | do you know remix.kwed.org? |
22:28 | <&McMartin> | (Answer: sort of. I'm not super-proud of the answers I reached ten years ago) |
22:29 | <&McMartin> | Not off the top of my head |
22:30 | < gizmore> | seems down? |
22:30 | <&McMartin> | I can't reach it either |
22:31 | < gizmore> | http://mp3:iloveyou@mp3.gizmore.org/not_on_rko/04.%208%20Bits%20(Club.Edit).flac |
22:31 | | * McMartin throws curl at that for later |
22:31 | <&McMartin> | Gotta run. Cheers |
22:32 | < gizmore> | laters :) |
22:48 | | catadroid` [catalyst@Nightstar-a88ccj.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
23:09 | | gizmore|2 [kvirc@Nightstar-qvrd5r.dip0.t-ipconnect.de] has joined #code |
23:11 | <&McMartin> | 15:09 <@coined> "Too many parameters (3367 were passed, expected 2 at most)". I've missed you, Perl. |
23:12 | < gizmore|2> | *lol |
23:12 | | gizmore [kvirc@Nightstar-qvrd5r.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
23:12 | | Emmy is now known as Emmy-zZz |
23:12 | | thalass [thalass@Nightstar-283.o7s.158.104.IP] has joined #code |
23:12 | | mode/#code [+o thalass] by ChanServ |
23:15 | <@gnolam> | https://twitter.com/jonathansampson/status/676487374495342592/photo/1 |
23:17 | <&McMartin> | Yep |
23:17 | <&McMartin> | I'm finally starting to feel proficient at it |
23:26 | <@TheWatcher> | Async programming, or perl?~ |
23:29 | < Meatyhandbag> | help. I'm trying to make a form that lets you write an Email, but whenever I press submit, I just get sent to "This webpage is not found", with the php in the url |
23:32 | | thalass [thalass@Nightstar-283.o7s.158.104.IP] has quit [[NS] Quit: back laters] |
23:32 | <@TheWatcher> | The form action is set to go to the right URL? And can you get to that URL by putting it directly into your address bar? |
23:33 | < Meatyhandbag> | what url am I supposed to source? |
23:33 | <@TheWatcher> | Where's the php script that should process the form? |
23:35 | < Meatyhandbag> | that what I currently have in the form |
23:35 | < Meatyhandbag> | <form method="post" action="script.php"></form> |
23:36 | <@TheWatcher> | okay, so what happens if you try going direct to script.php instead of the form page? |
23:36 | <@TheWatcher> | So, instead of http://your.domain.com/path/form.html you do http://your.domain.com/path/script.php in the browser address bar |
23:37 | < gizmore|2> | http://ricerfiles.gizmore.org/images/20150929/3899-visual-studio-am-limit.jpg |
23:37 | < Meatyhandbag> | I get the code printed out on my browser |
23:38 | <@TheWatcher> | That means you don't have php enabled in your webserver, then. |
23:38 | < Meatyhandbag> | how do I enable it? |
23:39 | <@TheWatcher> | Which webserver, and which OS are you running it on? |
23:40 | < Meatyhandbag> | Chrome, on my windows 8.1 computer. Would be good to be able to run it on all though |
23:41 | <@TheWatcher> | Uh, wait, are you just loading the html as file:// ? |
23:41 | < Meatyhandbag> | yes |
23:43 | <@TheWatcher> | Yeah, that's not going to work: to do what you're after, you need access to a real webserver like nginx or apache |
23:43 | <@TheWatcher> | and have them serve pages and interpret the php. |
23:44 | <@TheWatcher> | (If you want to develop locally, look at WAMP) |
23:44 | <@TheWatcher> | http://www.wampserver.com/en/ |
23:46 | <@TheWatcher> | Once it's installed, you can put your html, php and so on inside c:\wamp\www\ and load then through http://localhost/ |
23:49 | < Meatyhandbag> | ok, thanks Watcher |
23:50 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code |
23:50 | | mode/#code [+o himi] by ChanServ |
--- Log closed Tue Dec 15 00:00:47 2015 |