Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phoboslab
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
phoboslab
5y ago
`l` is the binary data for the levels, `m` is for the models. These are loaded in the map.js[1] and models.js[2]. JS13k, the contest this game was made for, has the 13kb size limit for a ZIP containing all necessary files. The build process
62.
▲
by
phoboslab
5y ago
The levels are stored as 6 bytes per "brush" (i.e. block): 1 byte per each x, y, z coordinates and width, depth and length[1]. The y (vertical) resolution of these values is a bit higher than the x/z resolution to allow for s
63.
▲
by
phoboslab
5y ago
Upon popular demand, there's now a checkbox to have the vertical mouse axis move the wrong way :) Play: https://phoboslab.org/q1k3/ Code: https://github.com/phoboslab/q1k3/commit/a52
64.
▲
by
phoboslab
5y ago
Roadroller was the reason I was able to find the second level in. Thank you so much! :)
65.
▲
by
phoboslab
5y ago
Very cool! Sounds a lot like all the tricks you had to employ for the Atari 2600. If someone is interested in this, I can highly recommend the book "Racing The Beam". It's hard to imagine these days how complicated even the s
66.
▲
Appfleet Joins Cloudflare
(appfleet.com)
3 points
by
phoboslab
5y ago
|
0 comments
67.
▲
Freespin – demo running on c64 floppy drive
(youtube.com)
6 points
by
phoboslab
5y ago
|
1 comments
68.
▲
by
phoboslab
5y ago
MPEG1 over WebSockets: https://jsmpeg.com/
69.
▲
by
phoboslab
6y ago
Very cool! I see that SharedArrayBuffers are enabled again, after they were disable due to spectre!? I have previously tinkered with ffmpeg in the browser and implemented a workaround[1] for the (then) missing pthread support. It turned out
70.
▲
by
phoboslab
6y ago
SEPA payments with my bank here in Germany typically take 3 business days, not 10 seconds. Reading about it, it seems that my bank doesn't support SEPA Instant Credit Transfer!? I'm not sure if any bank here in Germany does (never
71.
▲
by
phoboslab
6y ago
About 20 years ago I was coming across a website called something like filthyrichguy.com (I can't remember the exact name). This site described how rich the guy owning this site was and how you could become rich too. How? By just buyin
72.
▲
by
phoboslab
6y ago
It's not that "well-packaged" but last time I tried it, JSMpeg worked nicely when streaming from an RPi3. It has very low latency (~70ms), reasonable quality/bitrate (MPEG1, rather than MJPEG) and is viewable in any brow
73.
▲
by
phoboslab
6y ago
Island Not Found deserves a mention: http://js13kgames.com/entries/island-not-found Gameplay falls a bit short, but in my opinion it's the technically most impressive entry this year.
74.
▲
by
phoboslab
6y ago
Not related to USB, but flash storage quality in general varies a lot. We have a few hundred Raspberry Pi in operation at customer sites, running 24/7. Back when we started our business we used generic Micro SD (can't remember the
75.
▲
by
phoboslab
6y ago
I'm curious, what are the "plenty of alternatives" exactly? We have tried a lot of different advertising networks and sadly we have found none that's even in the same ballpark as AdSense (revenue wise). Advertising on th
76.
▲
by
phoboslab
6y ago
Quite the hack: https://i.imgur.com/rG0p0b2.gif
77.
▲
by
phoboslab
6y ago
Interframes are not a problem, as long as they only reference previous frames, not future ones. I was able to get latency down to 50ms, streaming to a browser using MPEG1[1]. The latency is mostly the result of 1 frame (16ms) delay for a sc
78.
▲
by
phoboslab
6y ago
Shameless plug: here's an MPEG1 player in 400 lines and the decoder in 4000: https://github.com/phoboslab/pl_mpeg
79.
▲
by
phoboslab
7y ago
I'm curious to hear why and how Maria failed you. For a reddit-like social site, we have a Maria database with around 3 billion rows in total, with the largest table (votes) spanning about 1,5 billion rows. We can select data within ~3
80.
▲
by
phoboslab
7y ago
Thanks for the write-up! This is really interesting. I wouldn't have thought it's possible to get H264 running at reasonable speeds on the N64. Congratz for pulling it off!
81.
▲
by
phoboslab
7y ago
Lately there has also been an effort by a hobbyist to use an MPEG1 decoder (PL_MPEG)[1] on the N64[2]. Disclaimer: I wrote PL_MPEG, but not the N64 port. [1] https://github.com/phoboslab/pl_mpeg [2] https://
82.
▲
Deep Thoughts Engineering Speaker Series: John Carmack
(youtube.com)
1 points
by
phoboslab
7y ago
|
0 comments
83.
▲
by
phoboslab
7y ago
It's surprising to me that you apparently have to fight for memory usage for these cases when using Go. A while ago I ran a (quite naively written) nodejs application that maxed out at ~700k WebSocket connections per server - using onl
84.
▲
by
phoboslab
7y ago
> I doubt anyone is going to want to run a 33GB model on their phone. Why not? Many modern phones have upwards of 512GB of storage. 33 GB for a useful model seems entirely reasonable to me.
85.
▲
by
phoboslab
7y ago
Thanks for the explanation! It hadn't occurred to me that an encoder would spit out packets for part of a frame, while it's still encoding. For what it's worth, ffmpeg's public API - at least the one I used in a previous
86.
▲
MPEG1 Single file C library
(phoboslab.org)
96 points
by
phoboslab
7y ago
|
25 comments
87.
▲
The world's worst video card? [video]
(youtube.com)
3 points
by
phoboslab
7y ago
|
0 comments
88.
▲
The Vostochny Cosmodrome: Launch of the Soyuz-2.1a Launch Vehicle
(gelio.livejournal.com)
2 points
by
phoboslab
7y ago
|
0 comments
89.
▲
by
phoboslab
7y ago
So what stops me from abusing Cloudflare's gateway as a free CDN for petabytes of traffic? There has to be a catch? Edit: found it. https://www.reddit.com/r/ipfs/comments/al8emd/cloudflare_ban...
90.
▲
Wiz: A high-level assembly language for homebrew software and retro games
(github.com)
3 points
by
phoboslab
7y ago
|
0 comments
More ›