2013-03-20 00:00 jekhor has quit [Ping timeout: 245 seconds] 2013-03-20 00:14 apelete has quit [Ping timeout: 252 seconds] 2013-03-20 01:06 emeb has quit [Quit: Leaving.] 2013-03-20 01:47 wolfspraul has joined #qi-hardware 2013-03-20 01:51 xiangfu has joined #qi-hardware 2013-03-20 01:52 wpwrak has joined #qi-hardware 2013-03-20 01:53 whee ! back online again ! 2013-03-20 01:53 wpwrak: welcome back 2013-03-20 01:53 what happened? 2013-03-20 01:54 gbraad has joined #qi-hardware 2013-03-20 01:54 gbraad has quit [Changing host] 2013-03-20 01:54 gbraad has joined #qi-hardware 2013-03-20 01:55 PC disk started to fail. then i got a blackout (power). after than, the PC didn't want to come up anymore. when trying to nurse it back to life, another blackout struck. after that one, the disk didn't even get to the grub menu. 2013-03-20 01:56 then i tried to reinstall with one of my out-of-service disks. four disks later, still no luck. 2013-03-20 01:57 wpwrak: use UPS? 2013-03-20 01:57 today, i finally went and bought a new one. this one seems to fine. 2013-03-20 01:57 whitequark: it beeped for about 30 seconds, then it shut down 2013-03-20 01:59 wpwrak: man 1 battery-maintenance ;) 2013-03-20 02:01 man pointless :) power failures here are either very short (mere brown-outs) or > 1 h. there's hardly ever one in between. so buying new batteries all the time would be an exercise in futility 2013-03-20 02:02 makes sense 2013-03-20 02:03 the quality of harddisks really seems to be going down the drain these days. this disk was only something like two years old. and its predecessor didn't live much longer either. 2013-03-20 02:10 wpwrak: manufacturer? 2013-03-20 02:12 WD and Samsung 2013-03-20 02:13 i miss Maxtor. those were immortal. 2013-03-20 02:18 in my file server, i have two maxtor. must be about 10 years old by now. still working perfectly. then two WD. some of the first 1 TB disks. one is still okay. the other goes offline after transferring a few hundred MB. 2013-03-20 02:23 ah yes, there was some added fun: last week, i got an eye infection (conjunctivitis), which of course just about peaked around saturday/sunday. made crawling around the pc and swapping disks particularly enjoyable. murphy obviously believes in synergy :) 2013-03-20 02:37 wpwrak: wb :) 2013-03-20 02:40 thankx :) 2013-03-20 02:45 whitequark is now known as breakingsandboxe 2013-03-20 02:46 breakingsandboxe is now known as whitequark 2013-03-20 02:49 erikkugel has quit [Read error: Connection reset by peer] 2013-03-20 03:04 wpwrak: you're cracking me up. Murphy's synergy :} Glad that your eyes got better 2013-03-20 03:08 still very sensitive. so reading text at daytime is painful. but yes, they're much better than a few days ago. may still be a week or so until they're back to normal, though. 2013-03-20 03:12 wpwrak: did you take antibiotic eyedrops? 2013-03-20 03:13 if it's as serious as you describe you most likely should 2013-03-20 03:13 there are good eye cleaning solutions too, boric acid I think 2013-03-20 03:13 but don't mix yourself :-) 2013-03-20 03:13 that's just for cleaning though 2013-03-20 03:15 the ones they prescribed me are antibacterial but not antibiotic. seem to do the job, though. just takes a while. 2013-03-20 03:15 for washing the eyes, the doctors recommend ... tea :) 2013-03-20 03:16 ok :-) 2013-03-20 03:18 isn't boric acid poisonous? 2013-03-20 03:18 for the cleaning, it seems the worst of the muck gets stuck in places where it doesn't leave easily. and you can't pry it out yourself. yesterday, my doctor did a round of cleaning and removed something like 1 cm^3 of goo from one eye. thursday will be another round. 2013-03-20 03:20 wpwrak: you could sell it on eBay :) 2013-03-20 03:22 do they have a category for body fluids/slimes ? :) 2013-03-20 03:23 1 cm^3?! 2013-03-20 03:23 where was it 2013-03-20 03:28 inside the eye, above and below the eyeball. some mucus membranes, i think. 2013-03-20 03:29 so... did he something like a blunt syringe tip into your eye? and then drain it? 2013-03-20 03:31 the eyeball is fine (besides being a bit irritated). a conjunctivitis is an infection of the tissue surrounding the eyeball. 2013-03-20 03:40 I see 2013-03-20 03:50 hellekin has quit [Remote host closed the connection] 2013-03-20 04:03 DocScrutinizer05 has quit [Disconnected by services] 2013-03-20 04:03 DocScrutinizer05 has joined #qi-hardware 2013-03-20 04:14 sivoais has quit [Ping timeout: 240 seconds] 2013-03-20 04:15 sivoais has joined #qi-hardware 2013-03-20 05:06 porchao has quit [Remote host closed the connection] 2013-03-20 05:47 wolfspraul has quit [Quit: leaving] 2013-03-20 06:03 xiangfu has quit [Remote host closed the connection] 2013-03-20 06:34 security has joined #qi-hardware 2013-03-20 06:36 megha has quit [Ping timeout: 276 seconds] 2013-03-20 06:43 apelete has joined #qi-hardware 2013-03-20 07:03 LunaVorax has joined #qi-hardware 2013-03-20 07:16 LunaVorax has quit [Ping timeout: 260 seconds] 2013-03-20 07:20 jekhor has joined #qi-hardware 2013-03-20 07:33 jluis has joined #qi-hardware 2013-03-20 07:42 gbraad has quit [Ping timeout: 264 seconds] 2013-03-20 07:42 gbraad has joined #qi-hardware 2013-03-20 07:42 gbraad has joined #qi-hardware 2013-03-20 08:26 jekhor has quit [Ping timeout: 252 seconds] 2013-03-20 08:43 dlan^ has quit [Quit: Leaving] 2013-03-20 08:44 dlan^ has joined #qi-hardware 2013-03-20 08:58 lekernel has joined #qi-hardware 2013-03-20 09:46 Jay7x has quit [Read error: Connection reset by peer] 2013-03-20 09:52 mth has quit [Read error: Connection reset by peer] 2013-03-20 09:52 mth_ has joined #qi-hardware 2013-03-20 09:53 unclouded has quit [Ping timeout: 264 seconds] 2013-03-20 10:04 kuribas has joined #qi-hardware 2013-03-20 10:17 Calyp has joined #qi-hardware 2013-03-20 11:09 pcercuei has joined #qi-hardware 2013-03-20 11:12 kuribas has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 2013-03-20 11:20 jekhor has joined #qi-hardware 2013-03-20 11:39 rz2k has joined #qi-hardware 2013-03-20 12:46 gbraad has quit [Ping timeout: 252 seconds] 2013-03-20 12:55 wolfspraul has joined #qi-hardware 2013-03-20 12:59 gbraad has joined #qi-hardware 2013-03-20 12:59 gbraad has joined #qi-hardware 2013-03-20 12:59 gbraad has quit [Changing host] 2013-03-20 13:02 erikkugel1 has joined #qi-hardware 2013-03-20 13:10 rz2k has quit [] 2013-03-20 13:38 wpwrak has quit [Quit: Leaving] 2013-03-20 13:43 zear has quit [Read error: Connection reset by peer] 2013-03-20 13:46 zear has joined #qi-hardware 2013-03-20 14:35 fire has joined #qi-hardware 2013-03-20 14:36 security has quit [Ping timeout: 260 seconds] 2013-03-20 14:55 gbraad has quit [Ping timeout: 245 seconds] 2013-03-20 14:57 pcercuei has quit [Ping timeout: 260 seconds] 2013-03-20 14:59 pcercuei has joined #qi-hardware 2013-03-20 15:00 kyak has joined #qi-hardware 2013-03-20 15:18 Can the NAND flash memory on the Ben be addressed as if it were RAM? I'm asking about the capabilities of the hardware, not of Linux. 2013-03-20 15:22 mwcampbell: nope 2013-03-20 15:23 * whitequark has only recently heard of XIP NAND 2013-03-20 15:25 XIP was what I was thinking of. 2013-03-20 15:26 I guess that has mostly been done with NOR flash. 2013-03-20 15:26 pcercuei has quit [Ping timeout: 272 seconds] 2013-03-20 15:30 pcercuei has joined #qi-hardware 2013-03-20 15:30 mwcampbell: no 2013-03-20 15:31 What is the shortest boot time that has been achieved on the Ben? From power-on to a shell 2013-03-20 15:31 or at least, from power-on to running some user-space program 2013-03-20 15:32 mwcampbell: actually nevermind, I never heard of XIP NAND flash ever. 2013-03-20 15:32 it was a NOR with an SPI interface, which made it somewhat more convenient. 2013-03-20 15:46 erikkugel1 has quit [Quit: Leaving.] 2013-03-20 15:46 erikkugel has joined #qi-hardware 2013-03-20 16:03 paul_boddie has joined #qi-hardware 2013-03-20 16:12 jluis has quit [Ping timeout: 245 seconds] 2013-03-20 16:14 Actually, when it comes to boot time, is it possible to augment the kernel so that the CPU just starts running it (the augmented bit of the larger payload, I suppose) at power on? Or does there need to be a smaller payload like U-Boot that then loads and jumps to the larger kernel payload? 2013-03-20 16:20 erikkugel has quit [Read error: Connection reset by peer] 2013-03-20 16:22 paul_boddie: well, you need a bootload 2013-03-20 16:22 *bootloader 2013-03-20 16:22 because nand can have bad pages 2013-03-20 16:23 plus, the ROM primary bootloader only knows how to load a few leading NAND pages. 2013-03-20 16:24 Well, I was just thinking of the situation you have where things like U-Boot starting to accumulate Linux kernel code, and then you start to wonder whether the essentials of the bootloader couldn't just be incorporated into the kernel somehow. Or rather, the kernel payload. 2013-03-20 16:24 u-boot needs to set the environment up for kernel 2013-03-20 16:25 when it starts to be portable across platforms, it quite naturally has an intersection with the kernel field of responsibility 2013-03-20 16:25 given they're both in C 2013-03-20 16:25 So instead of the CPU loading U-Boot, initialising the hardware, figuring out where the kernel is, loading the kernel, jumping into the kernel, and all the stuff that then tends to go wrong (the kernel doesn't have the support for hardware that U-Boot was quite happy about), why not just have a single payload? 2013-03-20 16:26 paul_boddie: for one, that would require compiling a distinct kernel for each device 2013-03-20 16:26 Yes, but there is only one NanoNote. ;-) 2013-03-20 16:26 not sure about MIPS, but with ARM, you can more or less build in the support for every single board out there. 2013-03-20 16:27 (now with device tree support) 2013-03-20 16:27 MIPS stuff iirc has a similar mechanism 2013-03-20 16:27 paul_boddie: well, you're not the only user of the kernel 2013-03-20 16:28 It's not like some random distro loading modules for all sorts of arcane, ancient datacentre crap just in case that modern CPU is connected to some weird networking interface made by some dinosaur organisation in 1993 for ten whole minutes. 2013-03-20 16:28 paul_boddie: u-boot is also useful in its arguable bloat. 2013-03-20 16:28 hello. In latest snapshots of openwrt-xburst for nanonote mpd seems broken (exits with message "Failed to initialize input plugin 'ffmpeg': No protocol"). Does someone know something about this? 2013-03-20 16:29 paul_boddie: I've reflashed dead kernel through tftp more than once. Without u-boot, I'd be fucked. 2013-03-20 16:29 jekhor: Maybe the MPEG exclusion in the configuration is broken? 2013-03-20 16:30 whitequark: I agree that U-Boot is very useful, but I just wondered that since U-Boot is probably always expanding, why not just combine it with the kernel? Let them share their hardware expertise. 2013-03-20 16:31 paul_boddie: I guess because U-Boot's source is also of abysmal quality 2013-03-20 16:31 paul_boddie, this is tail of 'strace mpd' output: http://paste.debian.net/243137/ 2013-03-20 16:32 I guess there is some movement towards eliminating the initial root disk versus running system discrepancies, but I can't say that I read all the details. 2013-03-20 16:33 jekhor: It seems to look for /dev/crypto and not find it. I wonder if this device is supposed to be created somewhere by some script. 2013-03-20 16:34 wpwrak has joined #qi-hardware 2013-03-20 16:34 The whole initrd thing is probably well illustrated by things like Knoppix or distro live CDs which manage to run on systems, but when you try and install the actual system, you can end up with something that won't boot. I seem to recall seeing that. 2013-03-20 16:36 jekhor: I'm no expert on things like device creation. That's another area where things have changed from static device creation for a load of devices you'll never use to more clever stuff, and maybe even getting the kernel to share its knowledge of the devices it supports, but I can't say I've looked at it much, especially with OpenWrt. 2013-03-20 16:38 A simple mknod with the right arguments might work, but it depends on whether the kernel is able to support the functionality. Alternatively, you might be able to disable the plugin causing the error, but this might be something you actually want enabled, so that wouldn't really help you. 2013-03-20 16:38 afaik the kernel now creates the device files for every device which exists automatically 2013-03-20 16:38 the job of udev was reduced to setting the correct permissions 2013-03-20 16:38 that is, with devtmpfs. 2013-03-20 16:39 Sounds familiar. 2013-03-20 16:43 What is the maximum payload that the Ben's ROM bootloader can handle? 2013-03-20 16:43 I saw this kind of thing with Emdebian, I think. 2013-03-20 16:44 http://en.qi-hardware.com/wiki/Ben_NAND#NAND might be informative. 2013-03-20 16:46 and how many bytes are in a NAND page? 2013-03-20 16:48 4096 blocks * 128 pages/block * 4096 bytes/page = 2147483648 bytes (from the wiki) 2013-03-20 16:49 I don't know what kind of restrictions there are when it comes to the SoC pulling stuff out of NAND in order to boot. 2013-03-20 16:51 Perhaps the main reason for using a boot loader is to ease reflashing and avoid bricking. 2013-03-20 16:52 paul_boddie: at startup the JZ loads the first 8kB from NAND 2013-03-20 16:52 so the bootloader has to be smaller than 8kB 2013-03-20 16:53 u-boot isn't, so it's divided into two parts, the first one just init the memory and load the second bootloader from the NAND 2013-03-20 16:56 So the first part of the boot loader could just load the kernel instead, right? But then reflashing and alternative boot options would be more difficult, I guess. 2013-03-20 16:57 mwcampbell: it is not trivial to fit the NAND FTL code into 8kb 2013-03-20 16:58 even less so if you have something fancy (and convenient!) like ubifs 2013-03-20 16:58 What does FTL mean in this context? 2013-03-20 16:58 just need the expansion, then I can google 2013-03-20 16:58 flash translation layer 2013-03-20 16:59 pcercuei: Thanks for the insight! 2013-03-20 17:00 Faster than light! ;-) 2013-03-20 17:00 So the first part of u-boot loads the second part form an area of NAND flash that isn't subject to the FTL? 2013-03-20 17:00 mwcampbell: yes, that's what ubiboot does (the bootloader we use on the gcw zero) 2013-03-20 17:01 it weights only ~5kB, and loads a Linux kernel from UBI or SD (FAT) 2013-03-20 17:01 mwcampbell: FTL is Flash Translation Layer 2013-03-20 17:02 it's a software layer that maps logical blocks to the real blocks of the NAND 2013-03-20 17:03 so that when one block breaks, it doesn't break the whole memory 2013-03-20 17:05 mwcampbell: first block of NAND is guaranteed to have much better durability than the rest 2013-03-20 17:05 1-2 orders of magnitude better at least 2013-03-20 17:05 and I suppose it will be even more durable if it's reflashed infrequently. 2013-03-20 17:10 well, it will surely last longer 2013-03-20 17:10 I am trying to install and load kmod-crypto-ocf which creates /dev/crypto, but it depends from kmod-crypto-manager and kmod-crypto-core, which doesn't exist. 2013-03-20 17:12 Here's why I'm asking about the boot process. http://www.loper-os.org/?p=300 argues that computers only come in two speeds, fast and slow, where "slow" means any user-perceptible delay. I'm still trying to understand what makes computers slow, even with processor speeds increasing. One obvious hypothesis is that multi-layered systems and multi-step processes, as opposed to just doing what the user wants in the most direct way possible, 2013-03-20 17:14 your message was truncated after "way possible," 2013-03-20 17:14 btw I can explain. there are roughly three reasons imo. 2013-03-20 17:14 oops, too long a message 2013-03-20 17:15 the last few words were "are to blame" 2013-03-20 17:15 first, there are genuine delays, perhaps network delays. they can be ameliorated by using proper caching, scaling, shaping etc algorithms but not removed 2013-03-20 17:15 it's also sometimes an UI issue ("block the app" vs "add an operations queue") 2013-03-20 17:16 second, there are poorly designed systems which underutilize available resources 2013-03-20 17:16 e.g. a list box with 10k elements which does not cache/prerender items will appear to scroll slowly. it could be fast on the same hardware. 2013-03-20 17:17 third, there is some genuine increase in the complexity of systems. but more often than not it's intrinsic, not something due to poor design. 2013-03-20 17:18 say you see that your IM client renders a megabyte of accidentally pasted text very slowly. you complain. but what does it do? it invokes the freetype engine which is ought to render every single character ever existed on this planet, with kerning, antialiasing, hinting and whatnot 2013-03-20 17:18 this is a very perceptible positive change in the UI, which does increase the resource requirements by orders of magnitude 2013-03-20 17:18 and it should, and this change is welcome anyway. 2013-03-20 17:19 openVG :) 2013-03-20 17:22 The standout quote from that article I linked is, "The GUI of my 4MHz Symbolics 3620 lisp machine is more responsive on average than that of my 3GHz office PC. The former boots (into a graphical everything-visible-and-modifiable programming environment, the most expressive ever created) faster than the latter boots into its syrupy imponade hell." 2013-03-20 17:22 That one didn't get truncated, did it? 2013-03-20 17:22 probably did :( 2013-03-20 17:23 No. You weren't affected by varchar(256) this time. ;-) 2013-03-20 17:23 on the surface, that quote seems like quite a criticism of software developers over the past few decades. 2013-03-20 17:23 But whitequark makes a good point about actual advances in software features that necessarily require more resources. 2013-03-20 17:25 I wonder, what features would one have to sacrifice to have a fast-booting (defined as 10 seconds or less), responsive GUI on the relatively underpowered hardware of the Ben NanoNote? 2013-03-20 17:26 mwcampbell: not that it is ever correct to compare cycles per second :p 2013-03-20 17:26 (unless it's exact same microarchitecture, I'd say.) 2013-03-20 17:27 does it use sysinit or systemd? 2013-03-20 17:28 Does what? That blogger's office desktop? 2013-03-20 17:28 I have no clue 2013-03-20 17:29 besides, gui responsiveness doesn't have much to do to achieve 2013-03-20 17:29 it's a matter of separating gui operations into their own thread and giving it the highest priority, as the iOS clearly demonstrates 2013-03-20 17:30 I guess whatever that blogger runs (gtk?) cannot do that. 2013-03-20 17:32 I guess that blog post is more hot air than reasoned argument 2013-03-20 17:32 I'm sorry I took us so far off-topic with that 2013-03-20 17:32 xiangfu has joined #qi-hardware 2013-03-20 17:33 So, someone mentioned that the ubiboot bootloader can load a kernel from ubifs or SD with only about 8KB of code. What advantages does u-boot provide over ubiboot? 2013-03-20 17:34 I don't think it's off-topic to consider the properties of a system like fast boot, really. Everyone looks at microcomputers and asks why they are usable within a second of power on and yet today's machines need to "think about" starting up. 2013-03-20 17:34 you can achieve these speeds by tuning linux correctly 2013-03-20 17:35 Yes, I know. I mean, you can boot into a Linux plus busybox environment very quickly without really thinking about tuning at all. 2013-03-20 17:35 you'd need an SSD, a custom kernel compiled for your hardware and parallelized boot process without anything extraneous. you could get to GUI very fast 2013-03-20 17:35 a matter of less than 10 seconds. I think I once did four. 2013-03-20 17:36 it's a given fact that PCI enumeration takes very real and significant time 2013-03-20 17:36 oh also like half of the boot time of my notebook is BIOS/EIF 2013-03-20 17:36 *EIF 2013-03-20 17:36 argh, EFI 2013-03-20 17:36 A lot of the focus on parallel boot and the other stuff is necessitated by the amount of cruft in the boot process, however. 2013-03-20 17:36 Argh, EFI, indeed. ;-) 2013-03-20 17:36 paul_boddie: no, not really 2013-03-20 17:36 it's only cruft if you lack perspective 2013-03-20 17:37 is a network managing service "cruft"? is printer server "cruft"? etc. 2013-03-20 17:37 people want everything to Just Work™. Software abides. 2013-03-20 17:37 Yes and yes. I have a desktop which doesn't need network management and I don't have a printer. 2013-03-20 17:37 well, if you care about that so much, go turn it off and get faster boot. 2013-03-20 17:37 ;) 2013-03-20 17:39 And the printer doesn't need to be available immediately during the boot. Actually, I can be launching applications in about a minute after boot, so it's not important to me, but the continuation of the "telephone switch operating system" mindset means that a lot of people just accept a gazillion services running and people adding yet more without anyone asking whether they are all necessary. 2013-03-20 17:40 well that is the point of parallel boot 2013-03-20 17:40 That's what I said! :-) 2013-03-20 17:40 besides, boot time doesn't matter 2013-03-20 17:41 ACPI S3 is usable even on Linux for almost a decade now I think 2013-03-20 17:41 I'll accept that I hate the alternative extreme where Windows boots (slowly) and you have to wait for it to become usable, the desktop icons appear then disappear then appear again, chugging noises are heard, the hourglass appears. 2013-03-20 17:45 mwcampbell: I imagine that if you deployed a minimal Linux plus busybox environment, you'd get to a shell within 10 seconds. 2013-03-20 17:46 My Ben will arrive tomorrow (hopefully), so I'll soon find out. 2013-03-20 17:46 also funny how people complain that the new dynamic languages waste lots of cycles 2013-03-20 17:47 "The goal is to create something which can one day be seamlessly converted to a fully-asynchronous design, implemented using Muller C-gates. The latter is extremely difficult (though not entirely impossible) on available FPGAs, so the “adult” form of the design would have to be fabbed in actual silicon" 2013-03-20 17:47 even in cases when the workload is dominated by I/O time. even when I can modify one line in any given file of an equivalent of 100KLOC or 1MLOC C++ project and get to run it within four seconds. 2013-03-20 17:47 ahem 2013-03-20 17:47 it's easier to do it with fpgas than silicon 2013-03-20 17:48 there are the same problems, only you don't need a slow and expensive respin with the fpga when you fuck up 2013-03-20 17:48 (from http://www.loper-os.org/?p=846) 2013-03-20 17:50 jekhor has quit [Ping timeout: 264 seconds] 2013-03-20 17:51 whitequark: Do you use any dynamic languages on the Ben? 2013-03-20 17:51 I have used Python on the Ben. 2013-03-20 17:52 Maybe this is just a psychological effect, but I assumedf that I would need to avoid dynamic languages on the Ben, because after all, it's only a 336 MHz MIPS processor, so it'll probably be hard work to write responsive applications 2013-03-20 17:55 Well, I was using Python on early 1990s workstations with 25MHz or so processors, so the CPU speed is not really an issue, even if Python has become less lean over the years. 2013-03-20 17:56 kuribas has joined #qi-hardware 2013-03-20 17:56 Of course, you might want to use a systems programming language to get more horsepower. On my long list of things to do, I aim to compile some Python stuff using Shedskin for the Ben and see how that turns out. 2013-03-20 17:57 In my experience, the more significant problem is likely to be the RAM footprint, which for an untuned version of Python is not too bad, but if you start importing modules that need other modules like numpy, then you can easily exhaust the RAM. 2013-03-20 17:58 That's arguably a problem with numpy and the way they bundle absolutely everything into the package so that you're loading a ton of Fortran-related stuff when you (or rather pygame) imports numpy. 2013-03-20 17:59 Good point about RAM usage. 2013-03-20 18:00 In a language that's compiled to native code ahead-of-time, the OS can mmap in just the pages of code that it needs. 2013-03-20 18:00 Whereas in an interpreted language, all of the code that you just imported is just data as far as the kernel is concerned, so it has to be kept in memory. 2013-03-20 18:01 And of course JIT compilation makes RAM usage worse. 2013-03-20 18:02 Is there an explanation somewhere of why the Ben's hardware has such modest specs in the first place? That has to be a common question. 2013-03-20 18:03 My best guess is that it was such necessary to use low-spec hardware in order to reach an acceptable price even for a small-scale manufacturing run. 2013-03-20 18:03 s/such necessary/necessary/ 2013-03-20 18:03 mwcampbell meant: "My best guess is that it was necessary to use low-spec hardware in order to reach an acceptable price even for a small-scale manufacturing run." 2013-03-20 18:04 oh, nice :) 2013-03-20 18:05 never heard about shedskin, looks intetesting 2013-03-20 18:06 With the Ben you always have to remember that the starting point was someone else's device at a particular price point. That in turn would have influenced and been influenced by the availability of SoCs known to and understood by the manufacturer. 2013-03-20 18:07 I don't use Shedskin that much, but I have used it for prototyping some stuff that others would perhaps want to rewrite in numpy-based technologies, and it was a pretty good fit and gave a nice speed-up. 2013-03-20 18:08 guanucoluis has joined #qi-hardware 2013-03-20 18:08 People get upset about it because there are limitations, but people tend to overstate them and want all their ultra-dynamic sugar for their programs and yet not have those programs get fat. 2013-03-20 18:09 * paul_boddie has to go. 2013-03-20 18:09 paul_boddie has left #qi-hardware ["Kopete 0.11.3 : http://kopete.kde.org"] 2013-03-20 18:16 pcercuei has quit [Read error: Connection reset by peer] 2013-03-20 18:17 The Ben was based on another device? 2013-03-20 18:17 pcercuei has joined #qi-hardware 2013-03-20 18:20 (ultra-dynamic sugar) well, that's why we use high-level languages. 2013-03-20 18:20 properly used metaprogramming can reduce the size of program 10x, or even 100x, in extreme cases. 2013-03-20 18:22 pcercuei has quit [Ping timeout: 260 seconds] 2013-03-20 18:28 (cruft) hmm, ubuntu 12.10: comes up, network manager finds Ethernet, Bens, configures each as possible internet access. then rotates between them, causing rather interesting failure patterns. 2013-03-20 18:28 in this case, there would be two choices: 1) keep it simple, or 2) only use what actually works. 2013-03-20 18:29 wpwrak: that is a bug, not cruft ;) 2013-03-20 18:30 pcercuei has joined #qi-hardware 2013-03-20 18:31 (cruft II) on to cups. as usual, printing didn't work. nota bene, this is a fresh install. turns out it somehow mis-autodetected the printer and it only figured out what it was after deleting and re-creating it. the printer is a postscript printer and all i want is postscript to be sent to it untouched. ancient lpd could handle this perfectly, without ever breaking. now we have cups that has some regression on what's the same set of t 2013-03-20 18:31 asks on each release. 2013-03-20 18:33 (cruft III) xorg. each time i have to install a new ububtu, xorg regresses in my triple-head setup, usually requiring a day of searching for returning to the status quo antes. 2013-03-20 18:34 there you go, with ubuntu 2013-03-20 18:34 sometimes it gets worse: once, we had to debug the radeon driver. this time, i had to install a patched non-official xorg server package to get at least mousing out of the first screen. 3rd screen is still gone, without a clue why. 2013-03-20 18:35 I'm sorry I started us on that tangent about boot time and cruft. 2013-03-20 18:37 whitequark: it's software complexity growing until the thing collapses under its own weight. in all three case, these are things that keep coming back. they're no isolated bugs. xorg is particularly bad. once you have to find some magical kernel command line option, once you need to fix the driver, once you need a very hackish downgrade to an earlier server version, etc. 2013-03-20 18:38 Jay7 has joined #qi-hardware 2013-03-20 18:38 she sheer amount of trouble also means that community fora gets crowded with yesteryear's fixes for similar problems and it's increasingly hard to find sonething that actually helps to move forward 2013-03-20 18:39 (just venting about my experience of the last few hours :) 2013-03-20 18:40 this is the price of complexity, combined with diversity, combined with proprietary devices. 2013-03-20 18:40 one could of course say that all this is an epic QA failure. maybe that's the case. 2013-03-20 18:41 pcercuei has quit [Ping timeout: 260 seconds] 2013-03-20 18:41 whitequark: in my case, the hardware is the same for a very long time, and not exotic at all. and of course i don't use any proprietary drivers. yet each new version runs into trouble. 2013-03-20 18:42 pcercuei has joined #qi-hardware 2013-03-20 18:46 pcercuei has quit [Ping timeout: 260 seconds] 2013-03-20 18:48 My Ben just arrived, a day early. I know what I'll be doing tonight. :) 2013-03-20 18:51 enjoy an uncrufted system :) 2013-03-20 18:52 and I'll hopefully develop some uncrufted software to run on it 2013-03-20 18:53 pcercuei has joined #qi-hardware 2013-03-20 19:00 paul_boddie said earlier that the starting point for the Ben was someone else's device. Does this mean that the Ben is an unauthorized clone of some other product, or merely that it used the components of some other product as a starting point? 2013-03-20 19:02 pcercuei has quit [Ping timeout: 260 seconds] 2013-03-20 19:03 it's not a clone :) it's a variant (customized keyboard, etc.) of a dictionary, made by the company that made the dictionary 2013-03-20 19:04 ah, OK 2013-03-20 19:04 kuribas has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 2013-03-20 19:05 And presumably that company authorized the copylefting of the hardware design? 2013-03-20 19:05 Anyway, that origin explains why the specs are so modest. One surely doesn't need a very fast processor for a dictionary. 2013-03-20 19:06 the hardware design isn't fully copylefted. i suppose they authorized the re-making of the schematics, though. 2013-03-20 19:06 things we don't have are layout and mechanical design 2013-03-20 19:07 ah OK 2013-03-20 19:07 lekernel has quit [Quit: Leaving] 2013-03-20 19:08 anyway, the Ben seems to be much more hacker-friendly than many mainstream devices 2013-03-20 19:08 well, there are partial scans of the case, which have some use if you want to make mechanical add-ons: http://www.almesberger.net/misc/ben/scan/ 2013-03-20 19:08 lekernel has joined #qi-hardware 2013-03-20 19:09 LunaVorax has joined #qi-hardware 2013-03-20 19:09 (the partial scans never got finished because one day the pc on which i had a VM with windows that was running the scanning application died) 2013-03-20 19:09 I'll probably only be doing stuff at the software level. I'm no electrical engineer. 2013-03-20 19:09 just a programmer 2013-03-20 19:12 actually, this is a better url. less traffic on my site :) http://downloads.qi-hardware.com/people/werner/ben-scans/ 2013-03-20 19:13 What kind of keyboard, if any, did the original dictionary product have? just curious 2013-03-20 19:14 i suppose it was somewhat similar 2013-03-20 19:14 guanucoluis has quit [Ping timeout: 264 seconds] 2013-03-20 19:15 xiangfu has quit [Ping timeout: 256 seconds] 2013-03-20 19:33 Hi! 2013-03-20 19:35 guanucoluis has joined #qi-hardware 2013-03-20 19:35 mth_ is now known as mth 2013-03-20 19:40 pcercuei has joined #qi-hardware 2013-03-20 20:14 pcercuei has quit [Read error: No route to host] 2013-03-20 20:14 pcercuei has joined #qi-hardware 2013-03-20 20:31 In the stock software installation, is the OpenWrt logo displayed by the kernel itself, or by a user-space process early in the boot procedure? 2013-03-20 20:32 guanucoluis has quit [Ping timeout: 256 seconds] 2013-03-20 20:33 rz2k has joined #qi-hardware 2013-03-20 20:35 kernel 2013-03-20 20:54 jekhor has joined #qi-hardware 2013-03-20 21:07 Any advice on which GUI toolkit to use if I'm writing a new app that I want to be responsive on the Ben? 2013-03-20 21:07 I won't be writing any games; the display will be used primarily for text and UI controls. 2013-03-20 21:08 Is GTK reasonably snappy on the Ben? 2013-03-20 21:08 by default there is not tk 2013-03-20 21:08 gtk* 2013-03-20 21:08 all is framebuffer 2013-03-20 21:08 you need compile your own openwrt for using gtk 2013-03-20 21:09 oh, I thought there was a framebuffer version of GTK included. 2013-03-20 21:09 better try allegro or why not pyallegro 2013-03-20 21:09 ah there is somwhere yes 2013-03-20 21:09 I'll check out Allegro. 2013-03-20 21:16 pyallegro was already introcuded to the nanonote by david k so it should worth a look as well 2013-03-20 21:21 No vector graphics or TrueType fonts in Allegro though, right? 2013-03-20 21:22 so a UI made with Allegro would probably look retro, IIUC 2013-03-20 21:24 then again, any UI that is responsive on a 336 MHz processor without the assistance of a GPU might look retro 2013-03-20 21:26 or very futuristic ;-) 2013-03-20 21:26 BTW, does the Qi Hardware community need a faster download mirror, particularly in the US? I'm getting ~20 KB/s from downloads.qi-hardware.com 2013-03-20 21:27 I'm not complaining; in fact, I'm offering to help 2013-03-20 21:29 kuribas has joined #qi-hardware 2013-03-20 21:32 kristianpaul: Looks like the latest Ben NanoNote image does have a DirectFB-based build of GTK. 2013-03-20 21:33 good :) 2013-03-20 21:34 pcercuei has quit [Read error: No route to host] 2013-03-20 21:34 btw if you need gtk on a xfdev, there is jlime port as well 2013-03-20 21:34 emeb has joined #qi-hardware 2013-03-20 21:34 Calyp has quit [Quit: gone working on freeconomy =o)] 2013-03-20 21:35 not sure if one can really recommend jlime anymore. as far as i know, it' 2013-03-20 21:35 s been unmaintained for years. 2013-03-20 21:35 X seems quite superfluous on a device like this anyway 2013-03-20 21:36 a screen this small practically requires that you only run one app at a time, and it seems to me that X offers nothing at all if one can run GTK, Pango, Cairo, etc. directly on the framebuffer device. 2013-03-20 21:36 pcercuei has joined #qi-hardware 2013-03-20 21:37 So which is better on a device like the Ben: GTK or Qt? 2013-03-20 21:38 wpwrak: well yes but it still smooth for some tasks no ;) 2013-03-20 21:38 One appealing thing about GTK is that if I use GTK, then I can write apps in the Vala language, so I'd get ahead-of-time compilation with the benefits of a more high-level language than C/C++ 2013-03-20 21:40 kristianpaul: oh, it's very smooth ... until you need a cross-development environment, and all you find is an ancient toolchain (a great one though, much easier to use than the one from openwrt) 2013-03-20 21:41 for all my little bits of development on the ben, i used SDL. but that's quite low-level. pixels and lines :) 2013-03-20 21:42 Allegro is equally low-level, right? 2013-03-20 21:43 wpwrak: ;) 2013-03-20 21:43 yeap easy to use it is 2013-03-20 21:43 not get get made i guess :) 2013-03-20 21:49 pcercuei has quit [Ping timeout: 258 seconds] 2013-03-20 21:50 pcercuei has joined #qi-hardware 2013-03-20 21:50 wpwrak has quit [Ping timeout: 272 seconds] 2013-03-20 22:13 kuribas has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 2013-03-20 22:14 LunaVorax has quit [Ping timeout: 260 seconds] 2013-03-20 22:34 guanucoluis has joined #qi-hardware 2013-03-20 22:34 jekhor has quit [Ping timeout: 256 seconds] 2013-03-20 22:35 baba has joined #qi-hardware 2013-03-20 22:36 guanucoluis has quit [Read error: Connection reset by peer] 2013-03-20 22:37 fire has quit [Ping timeout: 276 seconds] 2013-03-20 22:37 guanucoluis has joined #qi-hardware 2013-03-20 23:08 wolfspraul has quit [Ping timeout: 252 seconds] 2013-03-20 23:13 lekernel has quit [Ping timeout: 260 seconds] 2013-03-20 23:16 pcercuei has quit [Ping timeout: 258 seconds] 2013-03-20 23:23 pcercuei has joined #qi-hardware 2013-03-20 23:26 lekernel has joined #qi-hardware 2013-03-20 23:29 pcercuei has quit [Ping timeout: 260 seconds] 2013-03-20 23:29 pcercuei has joined #qi-hardware 2013-03-20 23:46 paroneayea has quit [Remote host closed the connection] 2013-03-20 23:48 apelete has quit [Ping timeout: 264 seconds] 2013-03-20 23:58 gbraad has joined #qi-hardware 2013-03-20 23:58 gbraad has joined #qi-hardware