1,074 karma · joined April 23, 2012
However, they've been working on a new version of k that's not publicly available yet and I suppose the kparc stuff requires that.
A log basically is a stream of changes to a DB. I found this the best introduction to it so far: http://engineering.linkedin.com/distributed-systems/log-what...
Could I run this on my OpenWRT router (560Mhz ARM, 128MB RAM, 8MB flash)?
How would you implement preemption in an event loop based system? Can you just stop execution of functions in the middle, run a different function for some time and then continue with the original one?
Have you thought about selling your system directly to manufacturers for integration? I'm certain that there are chances if you're able to deliver a working component that can simply be integrated into existing models. Most of the current assistance systems aren't developed in-house but come from one of the big third party suppliers.
I don't see many people that own modern enough cars (having the required electronics/mechanics already installed so all that's needed is a sensor and some data processing to send out control signals) investing into a retrofit device instead of just buying the next model which comes with the same thing out of the box.
But I have to say that I'm impressed that they have made it this far, and almost certainly without any support from Audi.
And even the shuffling doesn't really simulate a realistic distribution in memory, it'd be better to also allocate random memory block in between the objects.
However, I haven't tried it but just looked up the implementation of std::shared_ptr in GCC 4.9.0, and accessing it is exactly the same as with a raw pointer. operator-> and operator* just return the internal pointer and do nothing else.
There's some slight space overhead associated with shared_ptr, since it has to store the two counters for shared and weak references, so that might influence the runtime. unique_ptr should behave exactly like a raw pointer.
That said, I'd love to see some benchmarks about this as well and would be even happier to be proven wrong.
Another aspect I find interesting about this is that as the objects grow, it makes sense to store them in column-wise (one array/chunk of memory just for member1, one for member2, ...) instead of row-wise.
I don't know any languages besides Q that make this way of storing data easy/the default.
Canonical use something similar in their Ubuntu online tour: http://www.ubuntu.com/tour/en/
For 3.5" disks you also need +12V, so the easiest way would be to gut an external USB disk enclosure.
I would add to this list:
- BetterTouchTool (http://www.boastr.de/) with gestures set up for better browsing. Change tabs by swiping with three fingers to the right/left, close tab by swiping down, new tab by swiping up. Same thing for terminal.app tabs.
- iStat Menus for network/cpu monitoring.