HNHacker News
TopNewBestAskShowJobs

ah-

1,074 karma · joined April 23, 2012

submissionscomments
ah-··on Impending kOS
I was more referring to the almost exclusive use of single letter variable names. If one would use at least short words to name things, the implementation would be a whole lot more understandable.
ah-··on Impending kOS
You can get kdb+ for free from here: http://kx.com/software-download.php

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.

ah-··on Impending kOS
k/q really doesn't have to be this unreadable, that's just Arthurs style. Here's some code in C by him for comparison: http://kx.com/q/cs107/a.c
ah-··on HFT in my backyard – II
There is already a second fibre link in these setups that has higher throughput and not much more latency.
ah-··on Ask HN: Key-Value Store Database with Historical Lookup?
I'm just in the middle of building a similar system. As another commenter mentioned, you can use a log / event sourcing for this.

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...

ah-··on Show HN: Homogenius – Packer/unpacker to reduce the size of JSON
So it's a schema plus interned values? Do you think it might be better on real-world data to use just one mapping of value id to value instead of one per column/key?
ah-··on Show HN: Use BIOS ram hacks to make an SSH server for MS-DOS, INT 10 13h OS's
That's really cool. From the way the cursor flashes in the video, it seems to refresh the screen pretty often? Does it do that constantly, 30/60 frames per second or only if something changes?
ah-··on Email will last forever
Check out OpenSMTPd, that makes setting up an email server so much easier. It's still far from what it could be, but pure bliss compared to Postfix.
ah-··on Show HN: AirSonos – Enable AirPlay support for all of your Sonos devices
How well does node.js work on embedded devices?

Could I run this on my OpenWRT router (560Mhz ARM, 128MB RAM, 8MB flash)?

ah-··on Runtime.JS – Operating system kernel built on V8
>Runtime.JS uses global non-blocking event loop to dispatch tasks for the whole system. Preemption is supported by design (and by V8), but haven't been implemented yet.

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?

ah-··on Runtime.JS – Operating system kernel built on V8
OSv (https://github.com/cloudius-systems/osv) for example simply targets the virtualized hardware of popular hypervisors, which gets you pretty far.
ah-··on For $10,000, your car can drive itself – Cruise (YC W14)
Very interesting, how do you control the steering wheel? Most solutions I've seen for that were either really clunky (and unsafe, as they obstructed the airbag etc.) or used/replaced the power steering. I just assumed you would have used the existing interfaces, I know for a fact that at least the current A6 has all the necessary hardware on board, and am pretty certain that the A4 has the same for park assist.

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.

ah-··on For $10,000, your car can drive itself – Cruise (YC W14)
These systems have been available for several years now, so I don't really see how many people would buy a retrofit option. People don't even upgrade their car stereo systems anymore.
ah-··on For $10,000, your car can drive itself – Cruise (YC W14)
I wonder what the long term goal is? Getting acquired by some auto manufacturer?

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.

ah-··on C++: Vector of Objects vs. Vector of Pointers
I suspect this is because he only benchmarks small data sets, even the largest one used easily fits into the CPU cache. It would be interesting to see the number of cache misses for each benchmark, perf stat should be able to record that data.

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.

ah-··on C++: Vector of Objects vs. Vector of Pointers
You're completely right about shared_ptr not being the right tool for this use case.

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.

ah-··on How We Use Docker For Continuous Delivery – Part 2
Yes, at least with raw lxc containers that's the case. You can simply see the processes in the container in the host top.
ah-··on Introducing Swift
Any hints on how hard it is to call C libraries from within Swift? This might be a great way to quickly develop a native UI.
ah-··on OS.js Version 2.0
As these "OS in the browser" things seem to pop up from time to time, has anybody here ever seen a good application for them?

Canonical use something similar in their Ubuntu online tour: http://www.ubuntu.com/tour/en/

ah-··on The Truth on OpenGL Driver Quality
Any idea wether the Intel osx driver is related to the Windows one or also completely different?
ah-··on The Linux Security Circus: On GUI isolation
Yes. See http://mupuf.org/blog/2014/02/19/wayland-compositors-why-and...
ah-··on DynDNS ends free services
Is anyone here hosting their own dyndns setup?
ah-··on Intel unveils tiny $99 MinnowBoard Max open single-board computer
There's also the ODROID-U3, which is roughly comparable to the Minnowboard, and it's just 59$.

http://hardkernel.com/main/products/prdt_info.php

ah-··on Intel unveils tiny $99 MinnowBoard Max open single-board computer
Typically the worst blob are the GPU drivers, and it seems to work with the normal open source i915 driver, which is pretty much as good as it gets.
ah-··on Intel unveils tiny $99 MinnowBoard Max open single-board computer
I'm using an ifc6410 board as a home server, and as long as you stay with 2.5" disks all you need is 5V. The ifc and as it seems the Minnowboard as well provide 5V, so all you have to do is build your own adapter to SATA power. I just repurposed an old molex to SATA power adapter.

For 3.5" disks you also need +12V, so the easiest way would be to gut an external USB disk enclosure.

ah-··on Intel unveils tiny $99 MinnowBoard Max open single-board computer
I wouldn't call the minnowboard a microcontroller, it's more similar to other single board computers like the Pandaboard and the odroid boards. And 2GB are already common for such boards, so 4GB are really not far off.
ah-··on Win $10,000 by creating a race car bot in haskell, scala or clojure
Signed up in the hope to find some time to have a go at this. But it would be great to have some idea what the task will be beyond "creating a race car bot".
ah-··on Startup Idea: Robot Cars
This is already part of many modern cars, with the added feature that the car will also automatically break before you hit a cyclist. See for example http://www.euroncap.com/rewards/volkswagen_city_emergency_br...
ah-··on HN Plays 2048 (democracy)
Just a friendly reminder, never ever move the highest number out of the corner.
ah-··on New Mac Setup
I agree with a lot of that, especially the key repeat speed. You can get it even faster than what the UI offers by manually setting it with defaults.

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.

← PreviousPage 5 of 6Next →