2014-05-18 00:00 mth has joined #qi-hardware 2014-05-18 00:40 michael_lee has joined #qi-hardware 2014-05-18 00:48 dos1 has joined #qi-hardware 2014-05-18 01:07 dos11 has joined #qi-hardware 2014-05-18 01:07 dos1 has quit [Disconnected by services] 2014-05-18 01:07 dos11 is now known as dos1 2014-05-18 01:22 pcercuei has quit [Quit: dodo] 2014-05-18 01:28 Luke-Jr has quit [Read error: Connection reset by peer] 2014-05-18 01:29 Luke-Jr has joined #qi-hardware 2014-05-18 02:00 michael_lee has quit [Ping timeout: 276 seconds] 2014-05-18 02:15 michael_lee has joined #qi-hardware 2014-05-18 02:23 dandon_ has joined #qi-hardware 2014-05-18 02:24 dandon has quit [Ping timeout: 265 seconds] 2014-05-18 02:25 dandon_ is now known as dandon 2014-05-18 02:29 dos1 has quit [Ping timeout: 240 seconds] 2014-05-18 03:30 xiangfu has joined #qi-hardware 2014-05-18 04:25 xiangfu has quit [Remote host closed the connection] 2014-05-18 04:48 xiangfu has joined #qi-hardware 2014-05-18 05:23 michael_lee has quit [Ping timeout: 265 seconds] 2014-05-18 05:23 hmm, given that silicone is flexible, why can't we have chips you can deform and bend ? would make layouts so much easier ... 2014-05-18 05:24 you should post that on some of the newfangled "maker" forums 2014-05-18 05:24 don't forget popcorn 2014-05-18 05:24 ;-)) 2014-05-18 05:44 * whitequark sighs 2014-05-18 05:44 I am amazed at this argument parsing library (cmdliner; http://erratique.ch/software/cmdliner/) 2014-05-18 05:45 on one hand, it's a really great little library, which even autogenerates man pages for you instead the usual pitiful --help text 2014-05-18 05:45 on the other hand, I literally had much easier time implementing a compiler than interfacing with this goddamn option parsing library 2014-05-18 05:46 what drugs exactly do you need to be on to make an interface *that* esoteric? 2014-05-18 05:55 use getopt(3) 2014-05-18 05:55 ? 2014-05-18 05:56 well, I'm not writing it in C ;) there's builtin Arg, which is kind of like getopt 2014-05-18 05:56 it also sucks, which is the reason I was looking for something better 2014-05-18 05:56 (not using C) ah well, master of your own doom ;-) 2014-05-18 05:57 meh, C needs to die already. I will certainly contribute to its demise in any ways I can 2014-05-18 05:57 first and foremost by not writing more code in it... 2014-05-18 05:59 when Rust releases their 1.0, there will finally be an answer to everyone out there who wants to program embedded, kernels and other weird things with something sane (and also for those with terminal OCD and a burning need to micromanage resources, which is way wider) 2014-05-18 06:00 Rust is pretty cool. it's memory-safe, but has an escape hatch which allows you to do any dirty tricks you want 2014-05-18 06:01 as long as they copied the only good feature of C++ ... namely that you can just write ordinary C, and ignore fad and fashion :) 2014-05-18 06:01 the memory management is a combination of ownership (essentially, malloc+free, except the compiler makes sure you don't leak memory, use-after-free, use unallocated memory, have race conditions and a few more things) and strong/weak reference counting for cyclic data structures like graphs 2014-05-18 06:02 C++ isn't backwards-compatible with C 2014-05-18 06:02 also, if something is a fad, then C is. it was never designed or had any real thought put in it, it just... caught on 2014-05-18 06:03 certainly like a fashion. and we all see what happens when engineering is driven by cargo cult 2014-05-18 06:04 (compatible) well, almost, if you avoid the new keywords 2014-05-18 06:04 oh, there's *plenty* of quirks 2014-05-18 06:04 off the top of my head: VLAs of C99, initializers 2014-05-18 06:06 i guess anything new that happens in C will eventually find its way into C++. just like C picked up a few items from C++ 2014-05-18 06:06 nope, the committee already decided that it won't happen 2014-05-18 06:07 i see a gnu extension coming ;-) 2014-05-18 06:07 ew 2014-05-18 06:07 "gnu extension" is the politically correct name for "portability nightmare" 2014-05-18 06:08 naw. it's just a little bit more work for the implementers of other compilers. well, not all the gnu extensions make it to the others but quite a few gnu things do/did. 2014-05-18 06:09 also anyone who wants bragging rights for being able to compile the linux kernel better makes sure his compiler it sufficiently gnu-ish 2014-05-18 06:09 the linux kernel can't be compiled by anything except gcc at the moment 2014-05-18 06:09 not even clang (yet) 2014-05-18 06:09 i think intel can compile it 2014-05-18 06:10 clang ought to be very close 2014-05-18 06:10 quite a bit of that is due to some of the more insane gnu extensions, e.g. register pinning or constexpr evaluation 2014-05-18 06:10 (which are only present in gcc because gcc is a ball of incoherent spaghetti) 2014-05-18 06:10 clang *is* very close, but not there 2014-05-18 06:10 icc can compile it without source modifications? a bit hard to believe 2014-05-18 06:11 i think they did it at last once. but i don't know if it was vanilla or with some minor editing 2014-05-18 06:12 with some minor editing (and certain loss of efficiency, I presume) you can compile it with a bunch of compilers, yes 2014-05-18 06:35 whitequark: C++11 adds the C99 features 2014-05-18 06:37 Luke-Jr: but not VLAs, afaik 2014-05-18 08:34 mth has quit [Ping timeout: 258 seconds] 2014-05-18 08:46 mth has joined #qi-hardware 2014-05-18 09:08 pcercuei has joined #qi-hardware 2014-05-18 09:47 unclouded has quit [Ping timeout: 252 seconds] 2014-05-18 09:47 unclouded has joined #qi-hardware 2014-05-18 10:28 Luke-Jr has quit [Remote host closed the connection] 2014-05-18 10:29 Luke-Jr has joined #qi-hardware 2014-05-18 11:00 rz2k has joined #qi-hardware 2014-05-18 11:20 Jay7 has quit [Ping timeout: 245 seconds] 2014-05-18 11:23 Jay7 has joined #qi-hardware 2014-05-18 11:29 whitequark: ext4 on mtdblock wasn't a bad idea 2014-05-18 11:30 whitequark: the rockchip people implemented a FTL inside the mtd device driver. So the mtd sees logic addresses 2014-05-18 11:31 crazy stuff 2014-05-18 11:31 right 2014-05-18 11:34 kernel boots... 2014-05-18 11:34 finally I'm making progress, having a serial port connected. 2014-05-18 12:02 lindi-_ has quit [Read error: Connection reset by peer] 2014-05-18 12:30 xiangfu has quit [Remote host closed the connection] 2014-05-18 12:38 dos1 has joined #qi-hardware 2014-05-18 12:54 jekhor has joined #qi-hardware 2014-05-18 14:50 Luke-Jr has quit [Excess Flood] 2014-05-18 14:51 Luke-Jr has joined #qi-hardware 2014-05-18 15:02 jekhor has quit [Ping timeout: 240 seconds] 2014-05-18 16:00 viric has quit [Ping timeout: 240 seconds] 2014-05-18 17:52 rozzin has left #qi-hardware [#qi-hardware] 2014-05-18 17:55 rozzin has joined #qi-hardware 2014-05-18 17:55 rozzin has left #qi-hardware [#qi-hardware] 2014-05-18 18:22 porchao has quit [Read error: Connection reset by peer] 2014-05-18 18:24 porchao has joined #qi-hardware 2014-05-18 18:43 jekhor has joined #qi-hardware 2014-05-18 19:16 wolfspraul has joined #qi-hardware 2014-05-18 19:19 [commit] Maarten ter Huurne: Fixed compilation with GCC 4.9 (master) http://qi-hw.com/p/gmenu2x/9e113d8 2014-05-18 19:26 porchaso0 has joined #qi-hardware 2014-05-18 19:28 porchao has quit [Ping timeout: 265 seconds] 2014-05-18 19:45 lindi- has joined #qi-hardware 2014-05-18 19:47 lindi- has quit [Remote host closed the connection] 2014-05-18 19:47 lindi- has joined #qi-hardware 2014-05-18 19:59 porchao has joined #qi-hardware 2014-05-18 19:59 porchaso0 has quit [Ping timeout: 240 seconds] 2014-05-18 20:07 pcercuei_ has joined #qi-hardware 2014-05-18 20:07 pcercuei has quit [Ping timeout: 252 seconds] 2014-05-18 20:14 wolfspraul has quit [Quit: leaving] 2014-05-18 20:23 jekhor has quit [Ping timeout: 240 seconds] 2014-05-18 21:25 rz2k has quit [] 2014-05-18 22:13 nicksydney has quit [*.net *.split] 2014-05-18 22:13 lilvinz has quit [*.net *.split] 2014-05-18 22:13 Guest7061 has quit [*.net *.split] 2014-05-18 22:13 ysionneau has quit [*.net *.split] 2014-05-18 22:13 whitequark has quit [*.net *.split] 2014-05-18 22:13 rodgort has quit [*.net *.split] 2014-05-18 22:13 Jay7 has quit [*.net *.split] 2014-05-18 22:13 mth has quit [*.net *.split] 2014-05-18 22:13 Lumocolor has quit [*.net *.split] 2014-05-18 22:13 woakas has quit [*.net *.split] 2014-05-18 22:13 tumdedum has quit [*.net *.split] 2014-05-18 22:15 Luke-Jr has quit [Excess Flood] 2014-05-18 22:16 Luke-Jr has joined #qi-hardware 2014-05-18 22:19 Jay7 has joined #qi-hardware 2014-05-18 22:19 mth has joined #qi-hardware 2014-05-18 22:19 Guest7061 has joined #qi-hardware 2014-05-18 22:19 woakas has joined #qi-hardware 2014-05-18 22:19 lilvinz has joined #qi-hardware 2014-05-18 22:19 nicksydney has joined #qi-hardware 2014-05-18 22:19 whitequark has joined #qi-hardware 2014-05-18 22:19 ysionneau has joined #qi-hardware 2014-05-18 22:19 Lumocolor has joined #qi-hardware 2014-05-18 22:19 tumdedum has joined #qi-hardware 2014-05-18 22:19 rodgort has joined #qi-hardware 2014-05-18 22:46 wpwrak: how do you call a string (like in puts("hello world")) in german? 2014-05-18 22:46 Zeichenfolge ? 2014-05-18 22:51 pcercuei_ has quit [Ping timeout: 252 seconds] 2014-05-18 22:55 if you work for Siemens, Zeichenkette. else, String :) 2014-05-18 22:59 how about an integer? (Anzahl?) a map (like hashtable)? (Karte?) a list? (Liste?) 2014-05-18 23:02 imagine a programming language where all types are compound German nouns. "Leere Bearbeiten(Anzahlzeichenkettekarteliste xs) { ... }" 2014-05-18 23:02 that would be so awesome 2014-05-18 23:03 Ganzzahl 2014-05-18 23:03 (for integer) 2014-05-18 23:03 list -> Liste 2014-05-18 23:03 map -> Karte ... but i wouldn't know a translation for hash table 2014-05-18 23:03 Karte sounds fine, yeah 2014-05-18 23:07 hm, I like how descriptive "Zeichenkette" is 2014-05-18 23:09 (german programming language) call it "Msd (Man spricht deutsh)" 2014-05-18 23:10 in reference to this: http://www.imdb.com/title/tt0095579/ 2014-05-18 23:10 :D 2014-05-18 23:14 wpwrak: http://de.wikipedia.org/wiki/Hashtabelle 2014-05-18 23:15 Streuwerttabelle, geil ;) 2014-05-18 23:15 geil?.. 2014-05-18 23:16 oh 2014-05-18 23:17 "geil" means "horny", but is commonly used in slang for "great", "cool" 2014-05-18 23:17 yes, I got it eventually, but that made for some very confusing moments 2014-05-18 23:18 "what *is* it with wpwrak and hashtables?!" 2014-05-18 23:18 "Streuwerttabelle" is what you use if it's vitally important that nobody understands what you're explaining. e.g., if you file a patent in .de, that's when such words will be very useful. 2014-05-18 23:20 nicksydney has quit [Remote host closed the connection] 2014-05-18 23:22 nicksydney has joined #qi-hardware 2014-05-18 23:23 "Streuspeicherverfahren" for hashing is pretty cool 2014-05-18 23:25 you could conceivably implement algorithms by naming them 2014-05-18 23:25 freespace has quit [Ping timeout: 265 seconds] 2014-05-18 23:28 definitely. since nobody would understand their purpose anyway, you could do whatever you want 2014-05-18 23:31 freespace has joined #qi-hardware