Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xelamonster
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
xelamonster
2y ago
Nice thanks! I'm happy to pay for a good font but the page view restrictions and all have always bothered me. Not a fan of the idea that they might end up extorting large sums out of you down the line if your site becomes popular or if
92.
▲
by
xelamonster
2y ago
Extra fun: there's now JSONC which does support trailing commas and comments, and projects will use it with a .json extension still because Microsoft would hate for anything to ever be clear and make sense.
93.
▲
by
xelamonster
2y ago
My last big enterprise job, we did a lot of YAML templating and of course ran into issues like this all the time, eventually though we solved it by requiring defined schemas for all configs and validating those schemas in our pipeline. More
94.
▲
by
xelamonster
2y ago
JSON but with the structure of YAML, would be nearly perfect to me. JSON was not designed for humans to read and write directly, it happens to be easy enough that it's quite common but it's not exactly a nice experience. Take that
95.
▲
by
xelamonster
2y ago
I liked what I saw of Pkl, wanted to use it when it was released but it seemed the only parser was JVM-based and it was intended more to be transpiled into other config languages. If that's changing definitely worth revisiting it. Dhal
96.
▲
by
xelamonster
2y ago
Heh, maybe I missed the joke too. Thing is all of the problems people generally think of with YAML strings are solved with just one set of quotes so I don't quite get it either way. Maybe this would have some effect on strings that the
97.
▲
by
xelamonster
2y ago
I do quote strings to try and avoid this problem, though usually I'll leave single-word strictly alphabetical values bare--the only gotcha I'm aware of here is true/false/yes/no which I never use as string values an
98.
▲
by
xelamonster
2y ago
What's a better alternative? This problem is annoying but to me not more annoying than having to read or write JSON, and TOML is terrible with nested configs. If there were an option with the structure of YAML minus the ridiculous stri
99.
▲
by
xelamonster
2y ago
Yeah I honestly can't imagine how the customer experience could possibly be much worse than what we've got in the US but their speeds are generally lower and costs significantly higher. When I visited Toronto years ago I had a con
100.
▲
by
xelamonster
2y ago
Good points, the JVM is absolutely underrated these days imo and Rust won't always be a strictly better choice especially for established teams. From what I see though a lot of this repetitive back-and-forth starts with somebody saying
101.
▲
by
xelamonster
2y ago
I wrote some Typescript AST walking code recently, and could not for the life of me figure out what the advantage of the visitor pattern was here. It seemed to only overcomplicate the implementation, made it much more difficult to track whe
102.
▲
by
xelamonster
2y ago
My point is that the arrival of Rust-based OSes is absolutely in the cards, so while I don't disagree that it would be very difficult to fully escape at the moment that is also actively changing.
103.
▲
by
xelamonster
2y ago
I haven't actually, glad to hear it! I still see big advantages to the extra compile time safety provided by Rust, and despite the mentioned similarities I find its syntax significantly clearer to read and write. C++ templates took me
104.
▲
by
xelamonster
2y ago
Don't you think that's exactly what a manager looking to replace human writers with AI is going to do though? If they don't want to pay a copywriter they certainly won't be hiring a "prompt engineer". Most GPT
105.
▲
by
xelamonster
2y ago
I learned C++ first and Rust only within the past couple years, and I'd never willingly choose write a project in C++ again with the option to use Rust instead. Generics can get messy and the phantom data is indeed awkward, the differe
106.
▲
by
xelamonster
2y ago
Did you make it to the end of that section you linked? It's pretty clear on Rust having significant advantages here still: "This, of course, does not eliminate all possible bugs (misuse is still possible, and often not checkable i
107.
▲
by
xelamonster
2y ago
How is "too much existing software uses C/C++" not just inertia? That can also change with time.
108.
▲
by
xelamonster
2y ago
Yeah that makes sense, and I find the map chaining for complex cases much clearer too. I always have to look up how to do a nested list comprehension and I always end up mad about how dumb the syntax for it is when I figure it out. I do ver
109.
▲
by
xelamonster
2y ago
I thought of conda after I made the post, I've used it a handful of times. But still it's just another package manager, has a GUI installer and env setup usually takes max two commands that will be in the README. My point essentia
110.
▲
by
xelamonster
2y ago
Could totally beat Namecheap on search and provide good value there, I like theirs better than most but most are awful and theirs isn't amazing still, let me find name options I wouldn't find on other registrar searches and I
111.
▲
by
xelamonster
2y ago
Thanks! Well I love mucking about with DNS TXT records so it's not for me then :). But Namecheap is my go-to registrar so I'm sure it'll be solid enough, hope it works out!
112.
▲
by
xelamonster
2y ago
Oh and obviously this is super early and you'd probably fix this on your own anyways but a quick note since I checked out the interface: you should disable autocorrect/autocomplete on the search form input. When I type a domain on
113.
▲
by
xelamonster
2y ago
You're becoming a domain registrar? Well I'm not sure that'll solve revenue but it's certainly interesting, I'd like to read more about the reasoning behind this if you have any posts or articles on it yet. Would al
114.
▲
by
xelamonster
2y ago
Fair points. Still--and I'm no financial expert and haven't looked at any data so maybe I'm wrong--I don't get the impression that they're in danger of going bankrupt within the next year, and a lot can happen in a
115.
▲
by
xelamonster
2y ago
Twitter launched in 2006 and didn't turn a profit until 2018. They're not making money now either and don't show any signs of stopping, so I agree it needs to happen at some point but I'm not convinced it's an immed
116.
▲
by
xelamonster
2y ago
Great answer! Love how you're never afraid to jump in with clear answers to tough questions, gives me some hope we might actually be able to have something nice for once. Bluesky has really been a breath of fresh air compared to how th
117.
▲
by
xelamonster
2y ago
Those issues are annoying but I'm not sure they're all that common. The default interpreter is perfectly fine for most cases as long as it's not years behind in versions, and I honestly have no idea where you'd get a Pyt
118.
▲
by
xelamonster
2y ago
A lot of your points are valid but I disagree that Python is only popular due to network effects. I think it hit a sweet spot between expressiveness and accessibility that makes it attractive, and your point that popular libraries are often
119.
▲
by
xelamonster
2y ago
Oh I recognize that name, they've got quite a few nice NPM packages published as well. https://www.npmjs.com/~sindresorhus
120.
▲
by
xelamonster
2y ago
The 63/31 misalignment looks to me like it's because they don't use a monospace font.
More ›