Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ainar-g
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
361.
▲
by
ainar-g
7y ago
(Only tangentially related to the OP, but what the hell.) Does anyone here have an experience programming in Oberon-07? One of the most interesting features of the language for me is the fact that it doesn't have a BREAK statement. W
362.
▲
by
ainar-g
7y ago
> That's like looking at language that has both if/then/else statements and switch statements, and asking "do we really need both?". Not sure if that jab was intended or not, but Python, one of the most popular p
363.
▲
by
ainar-g
7y ago
You can see the difference even in primitive stuff like stat(1). E.g. compare the EXAMPLES section in OpenBSD[1] and Linux[2]. [1] https://man.openbsd.org/stat.1 [2] https://linux.die.net/man/1/sta
364.
▲
by
ainar-g
7y ago
To say nothing about the astonishing quality of the man pages and online documentation.
365.
▲
by
ainar-g
7y ago
Wow, that was quick. Thank you :-)
366.
▲
by
ainar-g
7y ago
Heh, they didn't seem to test their University website[1] before publising it. There is a gaping: <!-- End Google Tag Manager --> Additionally, paste this code immediately after the opening <body> tag: <!-- Goog
367.
▲
by
ainar-g
7y ago
Thanks for the link! “““ We wanted to find a solution that would minimize frustration (and time-consuming meetings) internally, while setting the correct expectations with users around quality and stability. ””” Honestly, this doesn'
368.
▲
by
ainar-g
7y ago
Excuse me if that has been discussed numerous times, but I distinctly remember CockroachDB 2.0 coming out, and it being a big deal. Where are releases 3.0 to 19.0? Was the versioning scheme changed? How? Why? Other than that, I really
369.
▲
by
ainar-g
7y ago
Staticcheck is inavluable, and I support it with words, actions, and money. Here are some additional tools that you might want to have in your module's tools.go: * github.com/kisielk/errcheck[1]: Find cases where you (accid
370.
▲
by
ainar-g
7y ago
> Wrapping your errors produces great messages but defeats type switches for structured error handling. This pattern makes it easy to not actually have the error handling logic that that appears to be there. Not true. I've been suc
371.
▲
by
ainar-g
7y ago
What do you mean by “code like that”? If you mean the code that never wraps anything and just does “return err”, then it could actually be better off using panics. In fact, it's documented in Effective Go [1]. If all you return in y
372.
▲
by
ainar-g
7y ago
I think that the difference between the Go way and exceptions is that exceptions are “automatic” and thus invisible. In a language with exceptions what you get up-stack is probably something like: FooException at /path/to
373.
▲
by
ainar-g
7y ago
All points are like stale mantras by now, but still: * Errors happen. All the time. And how you handle them matters. The err != nil path is not unlikely. * If your error processing code is repetitive, you're doing it wrong. Wr
374.
▲
by
ainar-g
7y ago
> My company is now moving to putting their docs in confluence, which I hate. The only good thing I've found so far about Confluence is that you can kind-of-sort-of escape its WYSIWYGness by pressing the small “<>” (“Edit Sour
375.
▲
by
ainar-g
7y ago
Someone should write an article and call it something like “‘XML Considered Harmful’ Considered Harmful”. By no means is XML a very nice one to work with (manually). But at some point during late 1990s it had a real chance of becoming th
376.
▲
by
ainar-g
7y ago
Thank you for posting this! Now I know that I'm not the only “grumpy old man” who smells the fishy part of the “Modern Web”. With that said, I would love the author to go on and elaborate on other advantages of XHTML2, such as possibl
377.
▲
by
ainar-g
7y ago
Hamburger (≡) → Help → About?
378.
▲
by
ainar-g
7y ago
What is the closest thing we have left that is close to “mostly declarative GUI”? QML? Tk? Please don't say Electron.
379.
▲
by
ainar-g
7y ago
The Wiki says[1]: > Abbreviated NGC in Japan and GCN in Europe and North America. So it was “GCN” for Europe as well. It could be somethings like “GameCube de Nintendo” in French and Spanish, “GameCube da Nintendo” in Portuguese, “GameC
380.
▲
by
ainar-g
7y ago
See, that's another thing that a lot of people don't understand about static analysis. It's not just there to find bugs in existing code, it's there to find bugs as you write or edit the code! Of course it won't
381.
▲
by
ainar-g
7y ago
It's a constant struggle against the current. Dynamically-typed languages are often “good enough for the time being”. I have the same issue explaining to our C/C++/Obj-C team why they should use static (Clang-Tidy, Infer, P
382.
▲
by
ainar-g
7y ago
These are rather old though: musl 1.1.5 uClibc 0.9.33.2 (Buildroot 2015.02) dietlibc 0.32 glibc 2.19 musl is at 1.1.24 at the time of writing.
383.
▲
by
ainar-g
7y ago
Oh man, I always wanted to learn more about COBOL. People like to crap on the language, but this article makes it seem like it's not that bad, actually. I could see myself programming that, for a large sum of money of course. With th
384.
▲
by
ainar-g
7y ago
Don't forget about drafts being synced between devices. I remember the first time I've noticed that: “Wait, didn't I write this on my phone? Why is this in my desktop client?”
385.
▲
by
ainar-g
7y ago
Which is honestly a shame, because Telegram the messenger is freaking amazing. Probably the best instant messaging experience of my whole life. If only Pavel “Pashka” Durov decided to fund the company with something less scammy. Like a p
386.
▲
by
ainar-g
7y ago
Re. the list. An obscure but mildly interesting one is Yo-Mobile[1]. It was a project funded by Russian oligarch Mikhail Prokhorov, of Brooklyn Nets fame. Prokhorov claimed that his engineers have developed a revolutionary supercapacito
387.
▲
by
ainar-g
7y ago
Can't find that in the Bugs section of the documentation of package reflect[1]. Is there a GitHub issue? [1] https://golang.org/pkg/reflect/#pkg-note-BUG
388.
▲
by
ainar-g
7y ago
GitHub issue: https://github.com/golang/go/issues/27026 . Marked as [help wanted], so if you're a JS/CSS wizard, come send some CLs/MRs/PRs/what-do-they-call-patches-these-days.
389.
▲
by
ainar-g
7y ago
Ah, I see. tcc is still tiny compared to clang and gcc though :-)
390.
▲
by
ainar-g
7y ago
Could I ask you what do you mean by that?
More ›