Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
loadzero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
Show HN: AI to Arse – Chrome text replacer for the new age
(github.com)
3 points
by
loadzero
5mo ago
|
2 comments
2.
▲
by
loadzero
5mo ago
Inspired by the o.g. classic cloud-to-butt.
3.
▲
by
loadzero
2y ago
I think at least some of the NOPs are due to this From my C transliteration: https://github.com/loadzero/si78c/blob/master/si78c.c // xref 0462 // // This code
4.
▲
by
loadzero
3y ago
I have been down this road a little bit, applying the ideas from jockey to write and ship a deterministic HFT system, so I have some understanding of the difficulties here. We needed that for fault tolerance, so we could have a hot synced
5.
▲
by
loadzero
3y ago
Sounds a bit like jockey applied to qemu. Very neat indeed. https://www.cs.purdue.edu/homes/xyzhang/spring07/Papers/HPL-...
6.
▲
by
loadzero
3y ago
I use this in my `~/.jq` when I have a problem like this. def flat_json_keys: [leaf_paths as $path | {"key": $path | map(if (type=="string") then (if (test("([?:\\W]+)")) then "['&q
7.
▲
Nerd Snipe: Small Integer Parsing
(blog.loadzero.com)
2 points
by
loadzero
3y ago
|
0 comments
8.
▲
by
loadzero
4y ago
Birdi | QA Engineer (junior) | Remote | 6mo contract | https://www.birdi.io/qa-engineer | Australian working rights required. Birdi runs drone capture projects across Australia. We acquire and process drone imagery, and pro
9.
▲
by
loadzero
4y ago
Birdi | Senior Front-End | Remote | Full-time | https://www.birdi.io/careers | Australian working rights required. Birdi runs drone capture projects across Australia. We acquire and process drone imagery, and provide an onl
10.
▲
by
loadzero
4y ago
Birdi | Multiple roles | Remote | Full-time | https://www.birdi.com.au/careers Australian working rights required. Birdi runs drone capture projects across Australia. We acquire and process drone imagery, and provide an onl
11.
▲
by
loadzero
5y ago
After reading a few paragraphs and skipped to the end, I was almost certain it was going to end with "The Aristocrats!"
12.
▲
by
loadzero
5y ago
An interesting (if horrifying) exercise: $ ndisasm -b 64 /dev/urandom
13.
▲
by
loadzero
6y ago
See below.
14.
▲
by
loadzero
6y ago
Ah, it does have a Microprose feel with the campaign, mission structure, and ejecting. Thanks for giving me permission to publish the port, and cheers for writing a game that has given people some fun memories. It's great also to see t
15.
▲
by
loadzero
6y ago
As a postscript, For the web hackers out there - the lossless animation at the start of the article is not a <video> or a gif. I got annoyed with how video codecs destroy pixel art, and other things, so I wrote my own. This was almost
16.
▲
by
loadzero
6y ago
I have not played it, but it does look to likely be an early inspiration for Chopper Commando. It would be nice if someone made a web version of 'Sopwith', too.
17.
▲
by
loadzero
6y ago
With these restoration projects, I am usually looking to maximise code portability and minimise dependencies, which for me means C. Sticking with Pascal would have been more authentic to the original source code, but I think that would have
18.
▲
by
loadzero
6y ago
I'm glad to see that others remember this fondly as well. The Pascal to C translation was a bit gruelling. I'd like to say that I'd written a fancy transpiler for it, but it came down to a 20 line ruby script, some vim macros
19.
▲
by
loadzero
6y ago
Author here. I used to play this 2D flick-screen CGA DOS helicopter game as a kid, and I remember enjoying the simple presentation combined with what would now be called sandbox elements. I thought it was really cool that you could eject fr
20.
▲
Chopper Commando Revisited
(blog.loadzero.com)
45 points
by
loadzero
6y ago
|
22 comments
21.
▲
by
loadzero
7y ago
Yes, it is coming from the ROM. Well spotted, it looks like you are right. A quick glance here https://computerarcheology.com/Arcade/SpaceInvaders/Code.htm... and here https://www.fontzip.com/appl
22.
▲
by
loadzero
7y ago
This is a good answer, and does reflect a good chunk of the reason for picking C. Dealing with such low level tasks is what the language was made for. The other big reason I used C, is that it is more of a lingua franca than something more
23.
▲
by
loadzero
7y ago
It's a great technique. Using it, and a suitable test program, you can bootstrap an emulator core for something simple like a mips, z80 or 6502 in a day or two. I highly recommend it as a low-level itch scratching programming exercise.
24.
▲
by
loadzero
7y ago
Looks like someone is doing it: https://github.com/neiderm/arcade/ Don't know if it's finished though - Galaga would be about 10 times harder to do than this project.
25.
▲
by
loadzero
7y ago
BTW, I generally agree about extra indentation and braces for these kind of statements. The code is a bit terse due to a mechanical issue - my current laptop screen only gives me about 25 lines vertically.
26.
▲
by
loadzero
7y ago
It most likely will be, I have not decided upon a license yet.
27.
▲
by
loadzero
7y ago
Yeah, there's probably a good article or two in that. Cliff notes: It's basically an extension of the Dual CPU setup mentioned in http://www.gtoal.com/sbt/ In that article, Graham Toal discusses a hack where
28.
▲
by
loadzero
7y ago
Yes, I would say that those constraints are the main factor in not compacting the code further. The C version also loses a few lines here and there for function prototypes and structured control flow. Handwritten 8085 can be quite compact i
29.
▲
by
loadzero
7y ago
Thanks for pulling the code and trying it out, jacquesm! That kind of feedback is gold. I have updated the README with the correct Ubuntu package details. I think the issue with the includes is likely to do with having both SDL1 and 2 insta
30.
▲
by
loadzero
7y ago
Good question. The sound is a hardware component (synth circuit) that I haven't looked into much, because it's essentially outside the game code. si78c is faithfully sending all the right bits to the right port, but the hardware c
More ›