2012-12-24 01:10 xiangfu has joined #qi-hardware 2012-12-24 01:57 nerd has joined #qi-hardware 2012-12-24 02:10 panda|x201 has joined #qi-hardware 2012-12-24 02:15 guanucoluis has joined #qi-hardware 2012-12-24 03:10 rodgort has joined #qi-hardware 2012-12-24 04:04 DocScrutinizer05 has joined #qi-hardware 2012-12-24 05:34 test1 2012-12-24 05:34 test2 2012-12-24 05:34 no live updates for me -\ 2012-12-24 05:35 btw. what's the point of live updates for previous dates? 2012-12-24 05:36 yeah, it updates.. takes around a minutes 2012-12-24 06:39 _0bitcount has joined #qi-hardware 2012-12-24 06:44 xiangfu has joined #qi-hardware 2012-12-24 06:48 jekhor has joined #qi-hardware 2012-12-24 07:07 panda|x201 has joined #qi-hardware 2012-12-24 07:53 xiangfu has joined #qi-hardware 2012-12-24 09:16 wolfspra1l has joined #qi-hardware 2012-12-24 10:24 kilae has joined #qi-hardware 2012-12-24 12:24 kuribas has joined #qi-hardware 2012-12-24 12:53 kyak: yeah, irc can be quite slow sometimes 2012-12-24 12:54 (for the previous dates) oh, that's an UI bug :) 2012-12-24 13:11 kyak: actually no, irc has nothing to do with it 2012-12-24 13:11 for some reason the stream is not flushed when it should. tcp buffers? I've no idea 2012-12-24 13:18 whitequark: could it be good old friend nagle ? http://en.wikipedia.org/wiki/Nagle's_algorithm 2012-12-24 13:21 wpwrak: I think it's nginx 2012-12-24 13:21 . 2012-12-24 13:23 errrr 2012-12-24 13:23 *facepalm* no, it's me being completely stupid 2012-12-24 13:23 I've installed a version of Redis, which I use for publish/subscribe communication, without a pub/sub system 2012-12-24 13:23 too old 2012-12-24 13:23 xiangfu has joined #qi-hardware 2012-12-24 13:23 but then I wonder how it ever worked at all 2012-12-24 13:25 _whitelogger has joined #qi-hardware 2012-12-24 13:25 test 2012-12-24 13:25 yeah, works perfectly now. 2012-12-24 13:25 protip: don't deploy while being sleep deprived :D 2012-12-24 13:27 GNUtoo-desktop has joined #qi-hardware 2012-12-24 13:39 test3 2012-12-24 13:39 test4 2012-12-24 13:39 ah 2012-12-24 13:40 so it is in live update mode when i _don't_ click "Live updates" :) 2012-12-24 13:40 ok.. pretty neat, you are right! 2012-12-24 13:40 browsers can do everything nowadays.. have no idea how it happens 2012-12-24 13:41 it requires some kind of persistent connection, right? 2012-12-24 13:41 is it what ajax does? 2012-12-24 13:41 ..and im out 2012-12-24 13:44 kyak: server-sent events 2012-12-24 13:44 it's basically a very simple protocol 2012-12-24 13:44 do `curl http://irclog.whitequark.org/qi-hardware/stream' 2012-12-24 14:07 whitequark: hm, a nice to have would be if the script tried to reconnect if the connection was lost 2012-12-24 14:07 larsc: it does 2012-12-24 14:07 at least it should, as that's what SSE specification requires user agent to do 2012-12-24 14:08 hm, or maybe it is simply not working at all for me 2012-12-24 14:08 when is live updates enabled, when it's gray or when it's white? 2012-12-24 14:08 it should work if the Live Updates button is visible 2012-12-24 14:08 when white 2012-12-24 14:09 i haven't seen a single update so fat 2012-12-24 14:09 far 2012-12-24 14:09 seeing them right now in this channel. strange. browser? 2012-12-24 14:09 Chromium 6.0.472.63 (59945) Built on Debian 6.0.2, running on Debian 6.0.6 2012-12-24 14:10 guanucoluis has quit [Ping timeout: 252 seconds] 2012-12-24 14:10 not surprising. Chromium 9 is listed as the first version with SSE support for me 2012-12-24 14:11 it might be that Chromium 6 announces it but does not implement correctly 2012-12-24 14:11 SSE is quite a new specification 2012-12-24 14:11 https://developer.mozilla.org/en-US/docs/Server-sent_events/EventSource 2012-12-24 14:11 in the javascript console i get "streamFailed to load resource" and nothing more 2012-12-24 14:12 hmmm 2012-12-24 14:13 but it does sent a request 2012-12-24 14:13 I might figure out the problem if you'd send me a wireshark dump, but I doubt I can do anything about it, actually. 2012-12-24 14:14 the "proper" way would be to add one of the huge, bloated libraries with tons of fallbacks 2012-12-24 14:15 I don't see any 500's in my log, so the problem is probably with the UA 2012-12-24 14:16 test 2012-12-24 14:16 chromium 20 works fine 2012-12-24 14:17 it's not that important anyway 2012-12-24 14:18 never heard of SSE before 2012-12-24 14:18 viric: it's a very neat alternative to websockets where you don't really need bidirectional communication with all of its complexity 2012-12-24 14:18 I see 2012-12-24 14:19 sounds well, yes. 2012-12-24 14:19 basically you send out "data: (bytes)\n" lines from the server, and that's it 2012-12-24 14:19 does firefox like it? 2012-12-24 14:19 how much does that irclog stream send? It doesn't stop :) 2012-12-24 14:19 ouch, timestamp 2010. I ctrl-c :) 2012-12-24 14:20 viric: ow, I should've placed some limit on that 2012-12-24 14:20 viric: yeah, works with FF, as well as other major browsers 2012-12-24 14:21 make it stream the daily log 2012-12-24 14:21 or last 24h 2012-12-24 14:22 viric: by default it streams from the last message in the chat. that isn't a public interface technically 2012-12-24 14:22 but yeah, last 24h it is 2012-12-24 14:22 why do I see 2010? 2012-12-24 14:22 because I've just implemented that :) 2012-12-24 14:24 curl exits 2012-12-24 14:24 502 bad gateway now 2012-12-24 14:24 yeah, was upgrading the frontend 2012-12-24 14:24 now it works properly 2012-12-24 14:24 Let's see 2012-12-24 14:24 looks fine. 2012-12-24 14:24 does it have keepalive? :) 2012-12-24 14:25 viric: nay. the connection drops after 30s of inactivity 2012-12-24 14:25 not sure of which reason exactly. there's ruby, nginx, and chromium in the stack 2012-12-24 14:25 becasue it is your will, right? 2012-12-24 14:25 ouch 2012-12-24 14:25 I was too lazy to implement keepalive 2012-12-24 14:25 I write all web things in c or go. 2012-12-24 14:25 I can't stand all those piles. 2012-12-24 14:26 I want to attach a gdb and see all. 2012-12-24 14:26 :) 2012-12-24 14:26 Of course, I don't implement much web things. 2012-12-24 14:26 the only go program (3rd-party) I've ever used segfaulted like hell 2012-12-24 14:26 and as a language it's a step backwards 2012-12-24 14:26 never trust others code. 2012-12-24 14:26 so I avoid go. 2012-12-24 14:27 ruby, especially as used in webdev, is a huge time-memory tradeoff 2012-12-24 14:27 luckily different preferences can coexist :) 2012-12-24 14:27 programmer's time vs RAM 2012-12-24 14:28 well, if the programmer is tuned to ruby, I guess so. 2012-12-24 14:28 as it turns out, server RAM is really cheap 2012-12-24 14:28 viric: you don't need much time to begin writing good ruby. you don't have to care about a lot of stuff. 2012-12-24 14:29 I've lots of prejudices 2012-12-24 14:29 I'm unable to learn it. 2012-12-24 14:29 manual memory management, buffer overflows, threading (because it's single-threaded. perfectly fine for webdev.) 2012-12-24 14:29 due to / thanks to the prejudices 2012-12-24 14:30 well, too much handwaving. it's concurrent, albeit most basic operations are atomic, but not parallel. so on the one hand you need to care about synchronization and race conditions IF you write threaded code, but on the other one there isn't much sense in writing in in the first place. 2012-12-24 14:31 s,in in,it in, 2012-12-24 14:31 I have a sense of joy when the code I write can run fast and using little resources. 2012-12-24 14:31 And I feel dirty if don't. 2012-12-24 14:31 so it's a matter of religion 2012-12-24 14:31 viric: for some people coding is a matter of solving a real problem 2012-12-24 14:32 I guess you're not one of them :) 2012-12-24 14:32 that's quite pretentious :) 2012-12-24 14:32 problems can be chosen at will. 2012-12-24 14:32 it's an art ;) 2012-12-24 14:32 I absolutely can't stand huge, bloated JavaScript "webapps". precisely because they waste MY resources for nothing 2012-12-24 14:32 yes. It's important to choose the right problems to solve 2012-12-24 14:33 but, in much the same way, I have nothing against using however huge frameworks with literally hundreds of dependencies on OUR servers if it means that we can ship a feature in a day instead of a month. 2012-12-24 14:33 the user doesn't see that anyway. for him, it's fast. 2012-12-24 14:34 servers are meant to execute huge software, for that matter. 2012-12-24 14:34 it's not my style 2012-12-24 14:34 I'm still not out of the market, despite my preferences :) 2012-12-24 14:35 well, market has lots of people who can't program at all 2012-12-24 14:35 so that's not a way to measure it :) 2012-12-24 14:36 I mean that I still know people who can pay for my work ;) 2012-12-24 14:36 the market for programmers is incredibly heterogenous 2012-12-24 14:37 m. xmess! 2012-12-24 14:37 yes, that's what I meant at the beginning; that there is a place for all of us 2012-12-24 14:37 I know people who write server management software in Haskell 2012-12-24 14:37 presumably as a way of intellectual property protection, as it's even more write-only than perl 2012-12-24 14:38 which is itself quite an achievement. 2012-12-24 14:39 DocScrutinizer51: sounds like an X11 applet name 2012-12-24 14:39 hehe 2012-12-24 14:39 been seasons greetings though 2012-12-24 14:40 viric: you might especially enjoy http://whitequark.org/blog/2012/12/06/a-language-for-embedded-developers/ :D 2012-12-24 14:42 and there, by 'embedded' you mean what? :) 2012-12-24 14:42 viric: 32-bit (possibly also 16-bit) micros with von Neumann architecture and however small amounts of RAM you'd like 2012-12-24 14:43 8K is perfectly fine. 2012-12-24 14:43 do you run ruby in the nanonote? 2012-12-24 14:43 viric: no, because I wasn't able to come up with a task which is best solved by using NN, and no, that's not a good idea 2012-12-24 14:43 erikkugel has joined #qi-hardware 2012-12-24 14:44 would you write a mp3 player for the nanonote with that? 2012-12-24 14:45 viric: in fact mp3 player could work on a NN with current ruby as-is, but that's a different topic 2012-12-24 14:45 with my dialect, yes, and even more 2012-12-24 14:45 I'd happily write an mp3 decoder 2012-12-24 14:45 ok 2012-12-24 14:46 you'll have to start the show first, before I join :) 2012-12-24 14:46 indeed, that's what I'm working on right now 2012-12-24 14:47 ah nice. 2012-12-24 14:47 the first target is Maple Leaf: 32-bit ARM Cortex-M3 w/ 8K RAM, 128K ROM and amount of peripherals which would make atmegas envious 2012-12-24 14:47 aha 2012-12-24 14:48 the nice thing about that board is that it's swappable with Arduino, which means I'd instantly get access to an ecosystem (of toys, but even toy feedback can be valuable) 2012-12-24 14:48 well, almost swappable, sans 5V/3V3 levels 2012-12-24 14:48 most of the arduino peripherals are 3V3-safe nowadays 2012-12-24 14:49 http://leaflabs.com/devices/maple/ 2012-12-24 14:51 there was a go rawmetal runtime some time ago... 2012-12-24 14:51 but got deprecated due to lack of maintainer 2012-12-24 14:51 I'm putting emphasis not on the language itself, but on board support packages 2012-12-24 14:51 maybe someone will make another one. 2012-12-24 14:51 Ok 2012-12-24 14:52 it is really cool to be able to initialize an USB HID peripheral with a single line of code. 2012-12-24 14:52 all can be reduced to a single line. the magic of function calls :) 2012-12-24 14:53 with a single line of code _you_ need to write 2012-12-24 14:53 and with a sane, fast and debuggable framework to achieve such abstraction 2012-12-24 14:54 perl people also do all in a single line 2012-12-24 14:54 >sane 2012-12-24 14:54 that's a matter of taste. 2012-12-24 14:54 once a brain is tuned to something... 2012-12-24 14:54 what my compiler does is basically constant propagation and inlining taken to the extreme 2012-12-24 14:55 where it becomes more like Lisp's macro expansion, but with all of the benefits and none of the parentheses 2012-12-24 14:55 you can make it control the muscles to play even a скрипач 2012-12-24 14:55 to play a violinist? :D 2012-12-24 14:55 poor guy 2012-12-24 14:55 hm 2012-12-24 14:55 скрипку :) 2012-12-24 14:55 yeah:) 2012-12-24 14:57 kuribas has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 2012-12-24 14:59 LunaVorax has joined #qi-hardware 2012-12-24 15:06 mth has quit [] 2012-12-24 15:33 LunaVorax has quit [Ping timeout: 252 seconds] 2012-12-24 15:40 xiangfu has quit [Quit: leaving] 2012-12-24 15:58 GNUtoo-desktop has quit [Quit: [INFO] fsogsmd : received signal -11, exiting.] 2012-12-24 17:27 urandom__ has joined #qi-hardware 2012-12-24 17:31 lindi- has quit [Ping timeout: 276 seconds] 2012-12-24 17:54 guanucoluis has joined #qi-hardware 2012-12-24 17:56 guanucoluis has quit [Client Quit] 2012-12-24 17:56 rz2k has joined #qi-hardware 2012-12-24 18:05 nerd has joined #qi-hardware 2012-12-24 19:12 unclouded has joined #qi-hardware 2012-12-24 19:16 viric has quit [Ping timeout: 264 seconds] 2012-12-24 19:17 viric has joined #qi-hardware 2012-12-24 20:28 jekhor has joined #qi-hardware 2012-12-24 21:29 kilae has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121128204232]] 2012-12-24 21:39 Jurting_pc2_ has quit [Quit: No Ping reply in 180 seconds.] 2012-12-24 21:40 Jurting_pc2 has joined #qi-hardware 2012-12-24 21:42 pcercuei has joined #qi-hardware 2012-12-24 21:49 emeb has joined #qi-hardware 2012-12-24 21:56 pcercuei has quit [Read error: Connection reset by peer] 2012-12-24 22:02 pcercuei has joined #qi-hardware 2012-12-24 22:11 pcercuei2 has joined #qi-hardware 2012-12-24 22:11 pcercuei has quit [Read error: Connection reset by peer] 2012-12-24 22:24 qwebirc10443 has joined #qi-hardware 2012-12-24 22:24 qwebirc10443 is now known as rjeffries 2012-12-24 22:26 wej has joined #qi-hardware 2012-12-24 22:27 kristianpaul are you (still?) working on GPS? http://hackaday.com/2012/12/24/update-roll-your-own-gps-can-now-track-twice-as-many-satellites/ wolfspraul was also interested in GPS open h/w, back in the day. 2012-12-24 22:35 not right now 2012-12-24 22:35 ah interesting 2012-12-24 22:35 that receiver is nice you know because dont need to buy a IC but 2012-12-24 22:35 still bit bigger tought.. 2012-12-24 22:46 jekhor has quit [Ping timeout: 255 seconds] 2012-12-24 22:57 GNUtoo has joined #qi-hardware 2012-12-24 23:04 rjeffries: did you saw those guys at defconf? they are hacking its own gps receiver 2012-12-24 23:05 tought is not a single chip solution (without mention RF IC) 2012-12-24 23:17 wej has quit [Ping timeout: 260 seconds] 2012-12-24 23:17 completely insane: http://blog.parts-people.com/2012/12/20/mobile-raspberry-pi-computer-build-your-own-portable-rpi-to-go/ 2012-12-24 23:18 abusing random regulator in LCD as main PSU 2012-12-24 23:18 for several Ampere @ 5V 2012-12-24 23:18 haha suuuuure 2012-12-24 23:19 I mean, that thing is as clumsy and ugly from the outside as it's on schematics ;-D 2012-12-24 23:22 wej has joined #qi-hardware 2012-12-24 23:34 let then be happy :-) 2012-12-24 23:38 let me contribute a language rant as well: most of the supposedly "friendly" programming languages are implemented in C. by people who - when done - have learned C well enough that they realize that their effort was wasted. at that point, most will silently bury their work. only those who still don't get it, or who lack the moral strength to admit their mistakes push on. now, gives this background, does it make it a good idea to trust 2012-12-24 23:38 those languages ? :-) 2012-12-24 23:56 rjeffries has quit [Ping timeout: 245 seconds]