Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ainar-g
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
ainar-g
3y ago
I was hoping that Canonical has higher standards when it comes to server software, as opposed to something like Snapcraft, but reading this makes me think that maybe they both were developed by the same team.
32.
▲
by
ainar-g
3y ago
At least the people who named it understood the silliness of the issue, heh.
33.
▲
by
ainar-g
3y ago
Ah, understandable.
34.
▲
by
ainar-g
3y ago
Depending on whether or not the resulting YAML is supposed to be human-readable[1], you can just produce JSON output, since YAML 1.2 is a superset of JSON. I did that at one of the places I worked in at the time, and it worked very well. [
35.
▲
by
ainar-g
3y ago
What are you using yq for? Unless you use YAML-only features (e.g. integers, arrays, and objects as object keys), it seems like it would be easier to just pipe-convert your YAML to JSON and process it with jq.
36.
▲
by
ainar-g
3y ago
There are a few ways to represent that in the database, see[1]. Unless I misunderstood what you mean by “no way to specify”. [1]: https://codeblog.jonskeet.uk/2019/03/27/storing-utc-is-not-a...
37.
▲
by
ainar-g
3y ago
I'll be able to try a bit later, but does it handle UTF-8 correctly? I remember having some versions of nvi split characters through the middle when doing e.g. folding back in the day. EDIT: Sorry, I'm a dum-dum, it's wri
38.
▲
by
ainar-g
3y ago
https://github.com/golang/proposal/blob/d661ed19a203000b7c54... About five years too late, heh.
39.
▲
by
ainar-g
3y ago
It's in the original: > […] Similarly, function pointers should be used only if there is a very strong justification for doing so because they can seriously restrict the types of automated checks that code checkers can perform. Fo
40.
▲
by
ainar-g
3y ago
Based on the discussions I've seen, Go2 is considered to be the name for the process of extending the language, not an exact release version. With that said, the label seems to “work” by allowing people to first think of a backwards-in
41.
▲
by
ainar-g
3y ago
> I honestly don't really know of a story where a source-incompatible update killed a language. Death may not come as swiftly (heh) as you think. I know a few people (including myself) who, when deciding which language to add to th
42.
▲
by
ainar-g
3y ago
It can, by setting GOGC=0 or from within the program. And yes, you would. It's essentially like writing in C, but not being able to call free(); i.e. allocating a fixed amount of resources at the start of the program and work on them
43.
▲
by
ainar-g
3y ago
> I wonder: why not go further and say "there will never be a Go 2" in order to eliminate ambiguity about this? They did, five years ago. Albeit with an “if”. https://github.com/golang/proposal/blob&#
44.
▲
by
ainar-g
3y ago
https://nyxt.atlas.engineer/faq > Nyxt is a browser with deeply integrated AI and semantic document tools that work as a second brain to help you process and understand more, more quickly. It'd be nice if they elabo
45.
▲
by
ainar-g
3y ago
Not exactly stories in text, but there is a YouTube channel called “Deutsch Lernen Durch Hören”[1] (“Learning German Through Listening”), which has hundreds of stories for all levels. [1]: https://www.youtube.com/@DldH
46.
▲
by
ainar-g
3y ago
Can I ask why? I generally only see the “I switched from MySQL to PostgreSQL and loving it” comments in my info-bubble, so it'd be interesting to know what people who prefer to use MySQL feel is still lacking in PostgreSQL.
47.
▲
by
ainar-g
3y ago
PostgreSQL has been around for almost 27 years (and even longer, if you include the Ingress and Post-Ingress eras). And things, well things, they tend to accumulate, to quote Trent Reznor, heh. On a related note, one could say that the C++
48.
▲
by
ainar-g
3y ago
I'll share a bit of personal experience for those who hate PowerShell to maybe make them look at it from a new point of view. As a devoted Unix fanatic, I used to hate PowerShell, because I initially came in with the expectation that i
49.
▲
by
ainar-g
3y ago
> There was a time when people would get excited about choosing Go for a new project, regardless of it being a CLI tool, a Web application, or some system-level infrastructure. Looks like all three are getting well-covered by Rust the
50.
▲
by
ainar-g
4y ago
Weird that nobody has mentioned Game Of Trees[1] (aka got), which is developed by OpenBSD-related people and “prioritizes ease of use and simplicity over flexibility”, according to their main page. [1]: https://gameoftrees.org&#x
51.
▲
by
ainar-g
4y ago
A bit off-topic, but is there a list of these “Are We X Yet?” sites? I think I've seen at least five by now, and most of them were somehow Mozilla- and Rust-related, but are there others?
52.
▲
by
ainar-g
4y ago
People often forget about the environment, and I feel like a lot of the simpler services and applications could be configured through it easily. For anything that requires more complex structures, JSON5 ( https://json5.org/ )
53.
▲
by
ainar-g
4y ago
“YAML evangelist” sounds terrifying, and I have never met one in real life. Most people who used YAML basically resorted to the old argument of “Well JSON doesn't have comments, so YAML it is”.
54.
▲
Snapcraft: Multiple Major Outages
(status.snapcraft.io)
2 points
by
ainar-g
4y ago
|
0 comments
55.
▲
by
ainar-g
4y ago
Depending on your definition of “using”, you may not actually be able to, at least for now. If CPPReference's table[1] to be believed, there are still important features that are either missing from GCC and Clang or implemented “parti
56.
▲
by
ainar-g
4y ago
A surprising thing is that the gap between XFCE and MATE isn't large. Maybe it's because of the modern GNOME 3's initial infamy, but I kind of assumed that MATE would be a bit more of a resource hog, but I am very happy to s
57.
▲
by
ainar-g
4y ago
Reminds me of the (in?)famous Dropbox comment: https://news.ycombinator.com/item?id=9224 . It's one thing to implement something. It's another thing to implement it in a way that makes other people want to use it.
58.
▲
by
ainar-g
4y ago
I feel like you're confusing it with UTF-32, which is fixed-length. UTF-16 is neither fixed-length, like UTF-32, nor compatible with the old ASCII encoding, like UTF-8. The historical reasons of why UTF-16 exists are fully understanda
59.
▲
by
ainar-g
4y ago
One command that I've used a lot that's missing is: pkg_info -Q str It allows searching for packages with substring str in their name. Very useful when you want to see, which additional packages are available for a thing,
60.
▲
by
ainar-g
4y ago
tl;dr: pay extra to actually use the CPU you have already bought.
More ›