Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Dav3xor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
Dav3xor
15y ago
http://www.reddit.com/r/IAmA/comments/b1bpp/i_program_elevat...
32.
▲
by
Dav3xor
15y ago
Crap, I want to use this in my web game, but my users are already used to using esc for other stuff.
33.
▲
by
Dav3xor
15y ago
Three.js is awesome, I just wish it had better documentation. I threw this together in a couple hours: http://www.davesgalaxy.com/site_media/test.html
34.
▲
by
Dav3xor
16y ago
Yes, exactly. I have a little web game that renders in SVG, and it puts up ~8000 shapes on the screen, updates at about 5hz on most desktop machines. This is ok, since it's basically a panning map that doesn't get panned much. If I switc
35.
▲
by
Dav3xor
16y ago
Haha, this is extremely funny, since that email was written by Derek Sivers; then owner of CD Baby, and an incredibly popular contributer around here.
36.
▲
by
Dav3xor
16y ago
Mine has a single click demo -- http://www.davesgalaxy.com Oh, and it requires some form of sign in since it has a persistent world.
37.
▲
by
Dav3xor
16y ago
Forth, in a way, out of left field.
38.
▲
by
Dav3xor
16y ago
The Amiga speech device had a nice phoneme grammar you could use to make it say all sorts of odd things.
39.
▲
by
Dav3xor
16y ago
You do have to be careful, it can be annoying on ARM chips certainly. If you're using GCC, __attribute__ ((packed)) fixes alignment issues. This method is so much less error prone than pulling stuff out a byte at a time. Plus you can use
40.
▲
by
Dav3xor
16y ago
pointers to structs for things like network protocols... struct packet_header { uint from_addr; uint to_addr; ushort flags; ... } packet *p; read(socket, somebuf, sizeof(packet)); p = &somebuf; printf("from = %u to = %u flags =
41.
▲
by
Dav3xor
16y ago
I've reverse engineered some protocols -- haven't done a USB one yet, but I'm sure the principals are similar. Grab some data, look at it (usually with a good hex editor -- last time I used ghex2), look for patterns. Usually there's some
42.
▲
by
Dav3xor
16y ago
Or with Schmitt Triggers -- I built a little synth around a schematic from Music From Outer Space -- makes awesome Forbidden Planet type noises.
43.
▲
by
Dav3xor
16y ago
I do occasionally make my own bread, and I grew up on a farm. So? I'm not an expert in either, but I can dabble. Why keep yourself from learning something new?
44.
▲
by
Dav3xor
16y ago
I'm an embedded programmer, and I had to write an XML parser for work. I've also written operating system code, 3d graphics, whatever. And ECMAScript too. Having such a narrow view limits were you can go, and what you can do. I speciali
45.
▲
by
Dav3xor
16y ago
You're mostly paying for labor, and they generally charge for an hour -- so get as much done at once as you can. You can also use either process with Aluminum sheet. both have their advantages.
46.
▲
by
Dav3xor
16y ago
Also, the requisite mention of the PIPE ORGAN he built. http://www.sentex.net/~mwandel/organ/organ.html
47.
▲
by
Dav3xor
16y ago
So is Scaled, and who wouldn't want to work with Burt Rutan?
48.
▲
by
Dav3xor
16y ago
Another nice thing about the X20x, and Thinkpads in general, is the keyboard. It's well laid out, the key action is decent, it has a handy light that actually illuminates the keys in the dark. Also, there's no optical drive, so you get a
49.
▲
by
Dav3xor
16y ago
this is what I came here to say. Exactly this.
50.
▲
by
Dav3xor
16y ago
Could be a magnetometer too -- they are very touchy. Although you'd think it would be far away from the passengers.
51.
▲
by
Dav3xor
16y ago
Pilots love using them for mapping. There are a couple of very nice apps for it too. I'd bet you could make really good money if you can ferret out more niche markets that it's perfect for.
52.
▲
by
Dav3xor
16y ago
"And then there's this thing! ... but I don't want to talk about that today..."
53.
▲
by
Dav3xor
16y ago
Mmmmm, Hopworks Urban Brewery... Their brew master is my neighbour, super nice guy.
54.
▲
by
Dav3xor
16y ago
Yeah, the duplicate key business came in because of other code hanging off the side of the search (a rather hairy algorithm that was searching for the next key with a different letter in a position -- given KLXX, increment the 2nd position
55.
▲
by
Dav3xor
16y ago
I've written one. It was for an embedded system. A good, well tested binary search is a pain in the ass to write... 1. Your sorted array MUST use exactly the same ordering as the search is expecting. We built and sorted the array on a PC
56.
▲
by
Dav3xor
17y ago
Contact info? I've been working in embedded mapping software for years, and Amsterdam sounds like fun.
57.
▲
by
Dav3xor
17y ago
Depends on what you want to do. Getting a beagleboard would be a no brainer to start out. http://www.amazon.com/ARM-System-Developers-Guide-Architectu... is a good book, you might want to buy a copy. Some handy things to know about ARM..
58.
▲
by
Dav3xor
17y ago
Most ARM's will be significantly slower on non-aligned data. Un^H^Hfortunately I'm not at work to test. :)
59.
▲
by
Dav3xor
17y ago
Shamelessly copying that warehouse idea is very tempting.
60.
▲
by
Dav3xor
17y ago
Fair enough, but I don't mind making lemonade with my low bandwidth graphics and mapping engine that doesn't require tile reloads on zoom. And it will work on the iPhone/iPad. IE support in a couple years is just icing on the cake.
More ›