Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TOGoS
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
TOGoS
3y ago
I understood this comment about as well as I understood the article.
122.
▲
by
TOGoS
3y ago
Huh. Coincidental similarities with my own work log that I've been keeping since 2007 are striking. Even down to using asterisks to mark done items (though I've since switched to the org-style '- [X]') and equal sign f
123.
▲
by
TOGoS
3y ago
As a commie who feels bad about Kronstadt, I got a chuckle out of this. That kind of back-stabbing has happened too often.
124.
▲
by
TOGoS
3y ago
But I don't like tabs and don't understand dependencies so I'm going to invent an ad-hoc DSL full of footguns where everything's driven by magical, opaque 'plugins', call it "modern", and tell everyon
125.
▲
by
TOGoS
3y ago
It also appears to be about music production, or concerts, or something. Maybe this is an AI-generated website.
126.
▲
by
TOGoS
3y ago
> Guys in tech making 300+k a year whining about how it's so hard to afford just the basics in America. Also with wives with great careers. I suppose it depends where you live, whether you own your own home, and how many kids you&#x
127.
▲
by
TOGoS
3y ago
Skimmed the article, grepped for 'hash', didn't find it. > they are stored in AWS S3 Not sure why anyone would feel the need to couple this sort of thing to S3. Just store file hashes in the database, and have a blobstore
128.
▲
by
TOGoS
3y ago
> You should almost never try to expand abstractions in this manner But somebody on your team /will/. > you should feel eager to simply split apart the abstraction Sure, but it's going to be a lot more work at this poin
129.
▲
by
TOGoS
3y ago
Uh-huh. And yet they can (according to the article) turn .length into a special opcode, even though it looks like any other property access. So the Java compiler could just as easily see size() being called on what it knows is an array an
130.
▲
by
TOGoS
3y ago
tl;dr: Arrays have some special opcodes dedicated to them, and otherwise are completely unsurprising, unless you are an ancient Roman, or Andrew Brinstock, who can't wrap his head around the concept of zero and thinks it should be spec
131.
▲
by
TOGoS
3y ago
> At what point does that stop being an excuse? Ah, the old imperialist "Look, I gave you your wallet back (after taking what I wanted from it); what's the problem? By the way, I need cheap labor and you look like you need a j
132.
▲
by
TOGoS
3y ago
It's always time to sit down and write a lisp DSL. That compiles itself to AutoHotKey scripts so you can compile while you key. (I am in the process of doing this inside OpenSCAD.)
133.
▲
by
TOGoS
3y ago
One major headache with trying to run precompiled binaries on Linux is that if they were compiled using a newer version of glibc than the target machine, they won't be able to run. Back while working on Factorio, I was trying to get ar
134.
▲
by
TOGoS
3y ago
> Since everything living can feel pain for a generous definition of the term and since you kill plants and indirectly insects even on a plant based diet, there is little difference There certainly is if you take quantity into account.
135.
▲
by
TOGoS
3y ago
I'm not sure that there's a sharp distinction. From my experience inside my own head, the times that I spend 'on autopilot' in hindsight seem a bit robotic. Pleasure and pain may have been experienced, but were somehow
136.
▲
by
TOGoS
3y ago
The properties don't have to be 'state' per se; they can also be used to store metadata about the function. e.g. you could have a function with 'domain' and 'range' on it, or an 'integrate' meth
137.
▲
by
TOGoS
3y ago
> if you like Tailwind's approach you may enjoy it coming to your language of choice, where you can code by writing very long variable names in a highly specific way, which are then read by reflection and interpreted as code. No nee
138.
▲
by
TOGoS
3y ago
I would donate more upvotes to this multi-part tirade if I could. I haven't used Tailwind, or any other CSS framework, because I have never understood why I would want to, having attended a talk about a similar system back in the day w
139.
▲
by
TOGoS
3y ago
Make each AST node an RDF node and then you can cram whatever information into it you want. That's the approach I've been taking with https://github.com/TOGoS/TOGVM-Spec/ , anyway. Of course, for conveni
140.
▲
by
TOGoS
3y ago
There are varying degrees of simplifying things, from purposely obfuscating in order to look smart or fill out your paper to the required length, to sloppily throwing an explanation together, to carefully removing unnecessary complexity and
141.
▲
by
TOGoS
3y ago
> According to the corporation, just one of these turbines should be able to produce enough electricity to power 36,000 households of three people each for one year What happens after one year? Do they collapse into the ocean and then t
142.
▲
by
TOGoS
3y ago
If it's the same backend handling multiple chained requests that happen to use the same database, it could in turn build a single big SQL query to generate the result(s). I used to write stuff like this all the time (not specifically
143.
▲
by
TOGoS
3y ago
My team uses both Spring and Lombok. Spring may be the larger monstrosity, but they are both horrible ideas.
144.
▲
by
TOGoS
3y ago
On the contrary, I like it when the interface to my tools err on the side of precision at the cost of verbosity. I can always write a shell script or Makefile that does all the boring stuff once I've learned what the inputs mean, but
145.
▲
by
TOGoS
3y ago
I made a tool to display my photo collection as basically a tree map: https://github.com/TOGoS/PicGrid It's pretty good for idly looking through pictures, or in some cases for finding photos that I know approximat
146.
▲
by
TOGoS
3y ago
I will often spend hours researching different kinds of electrical connectors instead of....any other thing that I'm actually supposed to be doing. If I am feeling extra depressed I'll go order myself some Anderson PowerPole hous
147.
▲
by
TOGoS
3y ago
> You just pass by value, return by value everywhere, all day long This is actually how I've been writing PHP programs for years, passing arrays around like I just don't care.[3] I think the PHP interpreter is smart enough t
148.
▲
by
TOGoS
3y ago
Same, except I found that even the one-line changes just to have committed something were useful for keeping me in touch with whatever project I was choosing to work on. It also gave me extra motivation to fix relatively trivial problems t
149.
▲
by
TOGoS
3y ago
Been there, done that. Some of my favorite solutions: 1. Realize that /regardless of what it's all about/, making oneself miserable by dwelling on fear (of nonexistence, or of anything else) is a really lousy use of the time
150.
▲
by
TOGoS
3y ago
http://www.nuke24.net/plog/ Random personal projects. Some hardware, some software, some random bits of what I think are insight. Maybe someday I will get around to adding an RSS feed. (my previous post was missed, m
More ›