Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
strags
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
31.
▲
by
strags
12y ago
libev - http://software.schmorp.de/pkg/libev.html -is an existing library that provides async networking IO, over a number of backends including (I think) kqueue, epoll and in the worst case, select.
32.
▲
by
strags
12y ago
A MOD player was my first ever real x86 asm program - I remember discovering that trick too - store the 16.16 value rotated by 16 bits, then use ADD and ADC to increment it according to frequency. Good times!
33.
▲
by
strags
12y ago
More fun with sound stretching: http://musicmachinery.com/2010/05/21/the-swinger/
34.
▲
by
strags
13y ago
FYI - On level 3, the "okay" button is obscured by the page footer, and can't be clicked on one of my machines. Scolling down doesn't help, the button remains obscured by the page footer which scrolls with the page.
35.
▲
by
strags
13y ago
If I remember correctly, I got around the jitter by pipelining the HTTP requests - ie. shove several HTTP requests down a TCP connection without waiting for the responses. This made it far more likely that the server would execute your re
36.
▲
by
strags
13y ago
It's been a while, so my memory's a little fuzzy. If I remember correctly, all the code was s-expressions, piped through a scheme (?) preprocessor, and then into the compiler. Many of the basic language constructs were actually ma
37.
▲
by
strags
13y ago
This reminds me a lot of GOAL, the in-house videogame development language that we used to use at Naughty Dog. It had a LISP syntax and feel - complete with awesome metaprogramming and on-the-fly relinking - but the runtime was much closer
38.
▲
by
strags
14y ago
I still don't get it. And I've done a bunch of Intel asm. Besides, there are 24 blue boxes and one yellow one. How does this relate to the "16 general purpose 64-bit registers"?
39.
▲
by
strags
14y ago
That was a nice diversion for a Friday afternoon - thanks. I finished the bonus round, but didn't find any pig jokes or easter eggs.
40.
▲
Solving ITA Software's Two-Time Pad Puzzle
(codepuppies.com)
2 points
by
strags
14y ago
|
0 comments
41.
▲
by
strags
14y ago
Awww. In an attempt to recreate Inception, I tried to run Foon (a ZX-Spectrum Emulator for the GBA that I wrote about a decade ago) on it. Unfortunately it crashed almost immediately :(
42.
▲
by
strags
14y ago
Level 3 timing out :(
43.
▲
by
strags
14y ago
"[Obama] repeatedly expressed concerns that any American acknowledgment that it was using cyberweapons—even under the most careful and limited circumstances—could enable other countries, terrorists or hackers to justify their own attacks. “
44.
▲
by
strags
14y ago
Meanwhile, the US continues to attempt to extradite Garry McKinnon from the UK - without a trace of irony.
45.
▲
by
strags
14y ago
Yep. GOAL was built from the ground up to support hot relinking, as well as a number of other nice features. Very cool for the time.
46.
▲
by
strags
14y ago
We had something similar quite a while ago at Naughty Dog, when working on the Jak and Daxter PS2 games. Our development environment was Emacs, and as well as having a REPL console in one of the buffers, you could position your cursor insid
47.
▲
by
strags
14y ago
Thanks - a really fascinating article. Can't help but be reminded of "Cat's Cradle" by Kurt Vonnegut. (If you haven't read it, one of the plot features is "Ice 9", a fictional form of ice that's a solid at room temperature, and causes liqui
48.
▲
Programmer Puzzle: Encoding a chess board state throughout a game
(stackoverflow.com)
1 points
by
strags
15y ago
|
0 comments
49.
▲
by
strags
15y ago
A man can dream.
50.
▲
by
strags
15y ago
Oh, I'm just advocating using a standard binary serialization format like MessagePack that is far more efficient, can easily represent binary data, and has a far more obvious mapping to runtime data structures.
51.
▲
by
strags
15y ago
Your comparison of data vs. messages is interesting, although I think what you really should contrast is messages/data vs. markup. HTML and LaTeX are clearly markup languages (or "code"). It's entirely reasonable to expect somebody to edit
52.
▲
by
strags
15y ago
>>> plaintext + gzip is preferable to binary. I'm not sure I agree with you on that. You're imposing a load of extra CPU (and, I suspect some bandwidth) overhead where it's not necessary for all except the most infrequent cases,
53.
▲
by
strags
15y ago
So... for the one occasion out of a million where somebody needs to "debug" a piece of data, it's necessary to suffer the bloat of a text format for every other piece of data we transmit? How about we just standardize on a binary data repre
54.
▲
by
strags
15y ago
Absolutely. I stopped reading a couple of pages in because I didn't want to forget where I live.
55.
▲
by
strags
15y ago
Even the "monitor program" - ie. the Spectrum 16KB ROM image is probably ok: http://www.worldofspectrum.org/permits/amstrad-roms.txt 1) What exactly do you have to do to use Sinclair ROMs in an emulator, such as acknowledgements etc?" "Am
56.
▲
by
strags
15y ago
No worries! Audio emulation can be hard for a couple of other reasons too: Firstly, it's sometimes easy to tell that something "isn't quite right", but unless you have awesome ears (I don't), it's hard to hear exactly what the problem i
57.
▲
by
strags
15y ago
I wrote a NES emulator for ExciteBike 64, so that the original 8-bit ExciteBike could be played as an unlockable level. The hardest part was getting the audio to sound approximately right! Fun fact: NES Excitebike supported saving and loadi
58.
▲
by
strags
15y ago
Some further analysis, and a theory that it's a viral marketing campaign for Kid Icarus. http://metabunk.org/threads/480-Debunked-Human-Birdwings
59.
▲
by
strags
15y ago
I bought a Logic-8 from them a while back - definitely worth the money. And they seem like an awesome company too. I inquired as to whether they were going add a particular feature to the Logic-16, and while the answer was essentially 'not
60.
▲
by
strags
15y ago
Absolutely agree. It's too bad this happened, but they've turned it into something interesting, and by clearly explaining what's going on, one would hope that customers will be understanding. It reminded me a bit of these guys: http://blog
More ›