Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TOGoS
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
TOGoS
5mo ago
A master volume control would be nice (only because my browser doesn't have per-tab controls).
2.
▲
by
TOGoS
8mo ago
My mental model of a website that replaces the content with some 'sign up now' stuff while I'm trying to read it is that it deserves to get closed and never looked-at again.
3.
▲
by
TOGoS
8mo ago
http://www.nuke24.net/ Most interesting pages are probably `music/` and `plog/`. Optionally HTTPS, though some of the features don't work right due to links to files on personal servers that I haven't ye
4.
▲
by
TOGoS
9mo ago
I have never really grokked Ruby on Rails and I passionately hate all the frameworks that try to adapt it to some other language. That said, I suspect that Ruby on Rails itself occupies kind of a special space where the magic is acceptable
5.
▲
by
TOGoS
9mo ago
> inadvertently leaky I think this is the main problem. I don't mind layers of abstraction when they work well and their components compose nicely . Like a well-designed programming language. These can actually be quite fun to wo
6.
▲
by
TOGoS
9mo ago
I'd return my Framework laptop if that was still an option. First they sent me bad RAM, and left me on my own to sort it out with Crucial, which never went anywhere. The mainboard has some weird power issue that prevents the modular
7.
▲
by
TOGoS
9mo ago
> I thought this would bring some space savings, because files that are not binary code should be largely the same. Those ternary blobs tend to be cross-platform, I hear.
8.
▲
by
TOGoS
9mo ago
An example of an OpenSCAD design written this way: https://github.com/TOGoS/OpenSCADDesigns/blob/master/2023/ex... I wrote about the approach a little bit in this Reddit post: https://www
9.
▲
by
TOGoS
9mo ago
> The awful thing about OpenSCAD is that what one can model in 3D is limited by one's ability to mathematically stretch, rotate, and/or arrange spheres, cylinders, and cubes in 3D. Not at all. You can build any polyhedron you
10.
▲
by
TOGoS
9mo ago
Maybe, and I would definitely prefer this to the random-generic-word practice. "illuminate" is some part of Laravel, but I can't remember what it is, just that "that's not even a noun; they just picked that word fo
11.
▲
by
TOGoS
11mo ago
1900s MPEG compression was pretty intense.
12.
▲
by
TOGoS
11mo ago
`5.times` is not so outlandish, though it would seem better for that to be in a `Loop` library or something (`Loop.times(5) { do some stuff }`). The `5.days` example that was posted somewhere else in this thread might be a better example.
13.
▲
by
TOGoS
11mo ago
> adding a queen to the Borg destroyed the Borg Agreed. The Borg used to be scary because they seemed unbeatable. They were like grey goo that could adapt to whatever you threw at them.[1] Having a queen gives them a single point of fa
14.
▲
by
TOGoS
1y ago
I had about as much luck trying to find a countersinking router bit for 5/16" holes on this site as I did elsewhere. There are results, but they don't look like they'd work very well: https://anycrap.shop
15.
▲
by
TOGoS
1y ago
Same "easy to run" benefit, but Deno has the advantage that it caches everything and won't mess screw your computer unless you `--allow-write` or whatever.
16.
▲
by
TOGoS
1y ago
Being a good programmer requires thinking about things that, whether you realize it or not, are math problems. Things like managing complexity, or analyzing a program to understand what it even does. You can get pretty far just with a str
17.
▲
by
TOGoS
1y ago
I'm a fan of Deno's deno run http://uri.of.the/dang.program.ts
18.
▲
by
TOGoS
1y ago
The demo video doesn't seem to have any audio in it! At least none that either ffmpeg or whatever Firefox uses can recognize.
19.
▲
by
TOGoS
1y ago
As per the 'special parsing rules for script tags', browsers don't actually treat it as what you'd expect it means. <script>console.log("<![CDATA[Hello, this string content in a CDATA section!]]>&quo
20.
▲
by
TOGoS
1y ago
> Not so fast, things are about to get messy That ship sailed several paragraphs ago, when <script> got special treatment by the HTML parser. Too bad we couldn't all agree to parse <![CDATA[...]]> consistently, or, you
21.
▲
by
TOGoS
1y ago
> We have <!doctype html> but why not add other doc types as time goes on We do have older ones! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> and <!DOCTYPE HTML PUBLI
22.
▲
by
TOGoS
1y ago
> At best we’re implicitly rewarding obfuscation and time wasting; at worst we’re allowing a lack of clear thinking to be covered up. Most people don't think very clearly. That's why rhetoric is effective. That's why mos
23.
▲
by
TOGoS
1y ago
> No, you shall not do a User.where directly, you have to do a > UsersRepository.find_all_with_email(...). Even that seems weird to me. If want to load objects, I want to load them from a particular repository, not a class of repos
24.
▲
by
TOGoS
1y ago
I don't have a one-page overview of Pony, but I did listen to https://corecursive.com/055-unproven-with-sean-allen/ in the car a couple of times and that made me want to try it.
25.
▲
by
TOGoS
1y ago
When I have a thought about how some piece of code could/should be improved, but it's not urgent, instead of // TODO: Refactor this by doing X, Y, Z I'll say // Hmm: This seems brittle. We migh
26.
▲
by
TOGoS
1y ago
I'm interested in the long piecewise elimination section. Presumably that's where they explain why not use Ocaml/Nim/yaddah yaddah. If I were to write such a list, the answer would probably come down to "because I
27.
▲
by
TOGoS
1y ago
Cover the roof in solar panels and use the power to do something useful instead of running bullshit generators. Or maybe a park with some oak trees and a frisbee golf course idk.
28.
▲
by
TOGoS
1y ago
Eh, if you're doing RPC where the whole request/response are already in another layer on top of HTTP, then sure, 200 everything. But to me, "REST" means "use the HTTP verbs to talk about resources". The whole
29.
▲
by
TOGoS
1y ago
The neat thing here is that they did it without involving three package managers, two Docker containers, and an LLM.
30.
▲
by
TOGoS
1y ago
There is a secret technique, called content-addressing[1], which elegantly solves both of them at once. A lot of people haven't caught on, and try to cache things using ambiguous names, hence the struggle to invalidate their caches whe
More ›