Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TOGoS
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
TOGoS
2y ago
All I can figure is that a lot of people, especially those willing to put up with PHP's warts in the first place, look at a giant crusty knot and can only be impressed with its size and seek to emulate its design. If, upon seeing the
92.
▲
by
TOGoS
2y ago
Count me as one of those disgusted by weird magic people. Unfortunately for us, the majority seem to love it. The more coding resembles throwing spaghetti at the wall and seeing what sticks, the happier they are. "What do you mean
93.
▲
by
TOGoS
2y ago
> What happened? Well. Laravel happened (and has been happening). Funny, because Laravel was one of the things driving me away from PHP, in the same way that Rails drove me away from Ruby. PHP was becoming a salvageable language with
94.
▲
by
TOGoS
2y ago
At Factorio office. Rseding was working nearby and seemed to always have these weird videos playing. "Why is that guy chromed?" I asked. "That's just how his face is", or something, was the response. I was curio
95.
▲
by
TOGoS
2y ago
Yeah, the holes will match up with VESA hole patterns, I guess. But that's the only 100mm-based standard I can think of. I would have[1] chosen a size that matched with 2020 rails, or LEGO bricks, or Erector sets, or common lumber (1
96.
▲
by
TOGoS
2y ago
Yep! The slight difference is often acceptable over short distances[1]. It's only when scale up that it becomes a problem. [1] e.g. http://www.nuke24.net/docs/2019/JSTRCYMiniPVCompatibility.ht...
97.
▲
by
TOGoS
2y ago
I like the idea of this sort of thing. Lots of different predesigned parts, cool, cool. But it's axe grinding time. As I recall from digging into STEMFIE a while ago (because I can't find this information on the site), they use s
98.
▲
by
TOGoS
2y ago
This is what Unison is supposed to do. As far as I know there is currently only one (Haskell-like) textual representation, but the program is stored in a binary representation of the AST, and once you've entered your code, it's a
99.
▲
by
TOGoS
2y ago
Q: "Why was this written in such a way that this logic that could have been one function is spread across 3 libraries using 3 different frameworks, one of which requires me to run a JAR file to install an Eclipse plugin before it will
100.
▲
by
TOGoS
2y ago
Ah, yet another competitor to the idea[1] I've had in my head for 15 years but never getting around to build into a general-purpose language worthy of showing off to HN (mine is "every expression is described in RDF, just like eve
101.
▲
by
TOGoS
2y ago
I think it's not different priorities so much as an organization that has ossified around a particular way of doing things, and when problems are detected (like "why does it take 2 weeks to add a column to a table"), the solu
102.
▲
by
TOGoS
2y ago
That is one approach that I try to take sometimes. The real problem is more that having to report every morning on work I've done that is in the sprint puts a real damper on my ability to focus on the other stuff. And if effort spe
103.
▲
by
TOGoS
2y ago
Same. I wish I got to actually write code. I spend a lot of time at my job knowing that there are programming tasks to be done, but they're not in the sprint, and scrum master will scold me if I work on them, so instead I sit on my h
104.
▲
by
TOGoS
2y ago
According to Deno it does work. type USD = number & { currency?: "USD" } type CAD = number & { currency?: "CAD" } const fiveUsd : USD = 5; const fiveCad : CAD = fiveUsd; console.log("How many
105.
▲
by
TOGoS
2y ago
I like to make the 'brand' property optional so that it doesn't actually have to be there at runtime, but the TypeScript type-checker will still catch mismatches type USDollars = number & { currency?: "USD"
106.
▲
by
TOGoS
2y ago
Only tangentially related to the main topic of the article, but the bit about the gym makes me want to say "that's an ADHD thing!". Which maybe the author already knows that. As if neurotypicals have an uncanny ability to s
107.
▲
by
TOGoS
3y ago
There is, actually. Madison, Wisconsin I'm talking about here. New apartment buildings going up all over the place. Now whether it'll actually make living here more affordable, we shall see, but I have my doubts.
108.
▲
by
TOGoS
3y ago
> It would never be tolerated if it was more visible. Idk man, we put up with a lot of horrible stuff up here, too. Not so much because we like it but because nobody who isn't a billionaire (or perhaps heads a powerful but privatel
109.
▲
by
TOGoS
3y ago
Neat! The idea that 'types are just constraints on values that happen to be checked at compile-time' is something I've been thinking about for a long time. I've been thinking about building a Scheme-like language on th
110.
▲
by
TOGoS
3y ago
That's interesting, because I've been 'working on' something with all those same bullet-points. I'd be interested to hear more about your take on this! Some notes on my lack of progress: http://www.nuke2
111.
▲
by
TOGoS
3y ago
> transforming a filename into the content of the file" is a really thin justification for a responsibility This is one of those things where I think it is until it isn't. I sometimes second-guess myself when I think I might
112.
▲
by
TOGoS
3y ago
I'm guessing that it makes it easier to pick and choose between a bunch of patches. This is something I sometimes want to do in Git, but doing so requires a bit of planning. Have all the independent features branch from the same poin
113.
▲
by
TOGoS
3y ago
I use a format[1] that's _slightly_ more structured, in that files are divided into explicit entries with headers to indicate whatever metadata I want, and I also use this same format for storing other information (metadata about my mu
114.
▲
by
TOGoS
3y ago
Dear OS makers: Please make it easier to swap the mouse buttons and also flip the cursor at the same time. I say this because I use multiple computers and depending on when and where I am using them, sometimes want the mouse on the left. I
115.
▲
by
TOGoS
3y ago
Dear AsmBB.org admin: Have those be turned off by default. They're annoying even when they don't occlude the entire screen.
116.
▲
by
TOGoS
3y ago
I may have clicked one ironically one time, for my own amusement, then followed it up with an actual answer because I knew my coworker wouldn't get the joke.
117.
▲
by
TOGoS
3y ago
Zero on the left and....neutron star density on the right?
118.
▲
by
TOGoS
3y ago
> I even used HATEOAS principles when building HTTP APIs I found your problem. > About being able to use any API without understanding it first That's a HATEOAS thing, as I understand it. REST just means that you have resources
119.
▲
by
TOGoS
3y ago
Same. I used to love Ruby because it just matched the way I thought, and the standard library was layed out in a way that was consistent and easy to remember (one reason I never got into Python was that, while batteries may be included, th
120.
▲
by
TOGoS
3y ago
Having recently listened to the Lord of the Rings audiobooks (the read by Andy Serkis ones) I thought this was going to be about escaping into fantasy novels as a way of keeping oneself sane without having to resort to drugs. I also found
More ›