Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
grose
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
grose
4y ago
When Google Play Music died I made https://inter.tube as a replacement music storage locker. It supports almost all of the Subsonic protocol but I haven't had the time to make a web interface for things like the playlist ed
182.
▲
by
grose
4y ago
It was temporarily private in a bit of a reorganization, should be public now.
183.
▲
by
grose
4y ago
I think it's a mistake, probably reorganizing things at the moment. You can find a slightly outdated fork here: https://github.com/guregu/trealla (note that this isn't a "hard fork" -- just a WIP pu
184.
▲
by
grose
4y ago
I plan on writing a blog post soon to explain it better. The quick summary is that it uses WASI to execute a C program not entirely unlike oldschool CGI, but now it's inside of a WebAssembly runtime instead of an OS process. It uses co
185.
▲
by
grose
4y ago
Oh hey, this is mine. Thanks to triska for submitting it, and for his Power of Prolog lecture videos. I got started learning Prolog with them this year. This package uses the novel (at least, novel to me) method of embedding a small C progr
186.
▲
by
grose
4y ago
A slightly unorthodox but fun usage of Monodraw is making maps for text-based games: https://twitter.com/guregu/status/1256167193659633668
187.
▲
by
grose
4y ago
Imagine that we didn't have a fancy dynamic system and we were still using files for web pages like the good old days. In that scenario, what would happen if someone accessed the non-existent `/api/v1/employees/100`
188.
▲
by
grose
4y ago
Probably closer to 1999 but my first foray into web programming was Neopets. You could upload some HTML for your virtual pet and they'd host it for you. Spent ages making fancy animated text gifs from random tutorials only to realize t
189.
▲
by
grose
4y ago
Sorry, just saw this now. Mostly for fun! But I have some slightly crazy ambitions. Prolog lets you easily write complex queries, so it works quite well sitting on top of some in-memory data. I think that you could use Prolog's unifica
190.
▲
by
grose
4y ago
They found it: https://mainichi.jp/articles/20220624/k00/00m/040/100000c Looks like someone found his bag and handed it over to the police. (Sorry, can't find an English article yet)
191.
▲
by
grose
4y ago
I think modern C++ could be perfectly viable as well. Maybe https://github.com/cloudflare/workers-wasi would be a good starting point? I'm not too knowledgeable on the subject. Exciting times though, I think WASM
192.
▲
by
grose
4y ago
I've been writing Go professionally for about 10 years now. I don't really buy your arguments against Go. Error handling is optional only if you explicitly ignore error results, and you can have the linter yell at you for that. Th
193.
▲
by
grose
4y ago
Here’s some: https://www.researchgate.net/figure/Objects-studied-in-this-...
194.
▲
by
grose
4y ago
I've noticed this in social networks as well. If you don't get enough transactional notifications for a while they start making up fake ones like Twitter's "in case you missed this Tweet", Facebook's "[som
195.
▲
by
grose
4y ago
Japanese has two syllabaries, hiragana and katakana. They represent the same sets of sounds. I think this is very similar to uppercase and lowercase. Of course, the conventions around their usage are different. If I write a sentence in ALL
196.
▲
by
grose
4y ago
AFAIK that is still the limit. You can try and use TinyGo to reduce binary size but it's an uphill battle: https://nicholas.cloud/blog/continuing-hijinks-with-cloudfla...
197.
▲
by
grose
4y ago
Something like https://github.com/caddyserver/certmagic perhaps?
198.
▲
by
grose
4y ago
`--long x` is potentially ambiguous. `x` could be referring to a file if `--long` doesn't take any options, so parsing it correctly depends on this knowledge. The equals sign removes this ambiguity.
199.
▲
by
grose
5y ago
I had a similar problem that I solved with goquery and otto. You can use goquery to traverse the DOM and otto to execute the script fragment. Then just grab the data from otto's VM. Your scraping being slow and using Chrome might be a
200.
▲
by
grose
5y ago
I know this is a joke, but this is an actual thing in linguistics called reduplication. For example, hito (人) in Japanese means person, and hitobito (人人) means people, more or less. Japanese isn't the best example since they don't
201.
▲
by
grose
5y ago
How about alchemy? https://en.wikipedia.org/wiki/Alchemical_Symbols_(Unicode_bl...
202.
▲
by
grose
5y ago
This is the coolest thing I've seen today. I've been working on a game rendered using xterm.js† and this would be perfect for an enemy. † https://kawaiisolutions.itch.io/bitesize-tactics
203.
▲
by
grose
6y ago
Thanks! Just sent one.
204.
▲
by
grose
6y ago
I went with the BYOC route for my current side project: https://inter.tube It’s a music locker service with a custom web client. Instead of writing my own native app I implemented the Subsonic protocol: http://www.su
205.
▲
Some notes about motivation (game development)
(hempuli.com)
3 points
by
grose
6y ago
|
0 comments
206.
▲
by
grose
6y ago
I like using the “serverless monolith” architecture. You use a catch-all API gateway hooked up to a single lambda. You write it the same as any standard HTTP server and let an adapter handle the lambda bits[1]. During development you run it
207.
▲
by
grose
6y ago
Author here. For the past few years I've been writing what I like to call "Web 1.5" or somewhat old-fashioned websites for side projects. I use Go's standard library template system and try to keep most of my rendering l
208.
▲
by
grose
7y ago
You're right, I should have replied elsewhere. By the way, if anyone knows what this _is_ called I would be interested to know. As far as I can see it's basically feature detection with no other way of detecting it besides the UA.
209.
▲
by
grose
7y ago
Here's an official Google page telling you to sniff UAs or their new feature will break everything: https://www.chromium.org/updates/same-site/incompatible-clie... Edit: OK, this isn't progressive enhanc
210.
▲
by
grose
7y ago
I had to blacklist .top and .xyz registrations for a free service because they were being used exclusively for spam. xyz in particular I think is just so cheap (often $0.99 to $2) that it's tempting for spammers to register a bunch of
More ›