Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaba0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
151.
▲
by
kaba0
2y ago
It was the governments that require that certification, and for good reasons. We can play this “wild west hacker” whatever, but rules are a necessity for a working society, one can’t just start driving on the other side of the road, and nei
152.
▲
by
kaba0
2y ago
You can have a pinephone, and it will work fine for like 2 hours, warming like hell, and having you wait for minutes for an app to open. That’s where the linux userspace is. Maybe we should take a look at android and simply re-use the multi
153.
▲
by
kaba0
2y ago
The gnu/linux userspace has absolutely no security whatsoever. It’s a real shame how trivial it is to have even an npm install potentially do literally anything. Android has an actual, sane, rethought security model that has a good tra
154.
▲
by
kaba0
2y ago
But that’s not the fault of the language. insert another DSL would have the same issues.
155.
▲
by
kaba0
2y ago
Arguably, XML’s schemas are better than SQLite’s constraints, especially in this domain.
156.
▲
by
kaba0
2y ago
Being familiar != simple. Sure, more people have used SQL, but it’s definitely not impossible to just query XMLs. Hell, if someone has written JS they are likely familiar with DOM manipulations, which are more or less the same.
157.
▲
by
kaba0
2y ago
It was several years ago I’ve read it, but GNUCash’s documentation does actually start with some generic accounting knowledge, which I have found quite useful at the time.
158.
▲
by
kaba0
2y ago
Haskell compiles down to a C “subset” called C-, and flings mutable state and memory like crazy. That’s the whole point of encapsulation, if the abstraction is sound then it absolutely doesn’t matter that react uses global state — like how
159.
▲
by
kaba0
2y ago
Heh? My smallest hobby project that is not a POC but actually is finished and is doing something is like 1000 lines long. There are very few stuff you can do with less than 100 lines. (Just for completeness sake, Haskell and alia sometimes
160.
▲
by
kaba0
2y ago
Why would that be bad magic? It’s a very clever way to expose stuff that is accidentally side effecting.
161.
▲
by
kaba0
2y ago
> (actually not very hard, but intimidating if you've never done it before) These stuff are never really hard, but you will make countless vulnerabilities that way. The most important job of a good framework is cutting down signif
162.
▲
by
kaba0
2y ago
I mean, you get pretty good results with a dumb-ass logic of “if right wall is closer than this, go left” and the reverse. Like, a robot vacuum is 95% there where a tesla is. And a tesla is 80% where a human is. It’s just that last n percen
163.
▲
by
kaba0
2y ago
So is Turing completeness. But we can’t just put our heads into the sand and ignore these, as we require both Turing completeness and multi-threading in most cases. This is part of our jobs, and is what makes the whole field an art - both o
164.
▲
by
kaba0
2y ago
As others have mentioned - Python exposes very low-level details to C, making plenty of optimizations invalid as programs may make use of it.
165.
▲
by
kaba0
2y ago
One way should work quite easily: calling Rust from Java. GraalVM has Sulong, which can execute LLVM bitcode.
166.
▲
by
kaba0
2y ago
It is, an array and a pointer are different types. There could be ways to convert it to a pointer, but it shouldn’t happen at so many places, implicitly.
167.
▲
by
kaba0
2y ago
A series of questions, but if you limit it and don’t allow infinite amounts then they can surely fool anyone. Also - as part of recognizing the bot, you also obviously have to recognize the human being, and people can be strange, and might
168.
▲
by
kaba0
2y ago
Ot literally can’t reason in any form or shape. It’s absolutely not AGI, not even close [1] [1] we can’t really know how close or far that is, this is an unknown unknown. But arguably we have hit a limit on LLMs, and this is not the road to
169.
▲
by
kaba0
2y ago
A Turing test also has to be completable by a sort-of average human being — some dumb mistake like not counting Rs properly is not that different from someone not knowing that magnets still work when wet..
170.
▲
by
kaba0
2y ago
You surely have read several posts/replies written by a bot that you have no idea were not humans. So they can definitely fool people in many circumstances.
171.
▲
by
kaba0
2y ago
I believe GNOME just hides the option for fractional values in their native settings menu, but it can be easily accessed through something like GNOME tweaks and similar.
172.
▲
by
kaba0
2y ago
There is not even a JRE anymore - at least read some stuff from this decade before you criticize something so shallowly.
173.
▲
by
kaba0
2y ago
Java is more open than ever. Those random “scary” bullshit posts appear here and there but — OpenJDK is the standard reference implementation, and it has the same license as the Linux kernel. Different vendors give you builds of this same
174.
▲
by
kaba0
2y ago
String Literals have been superseded by Text Blocks though, so it’s only “got pulled” as a technicality, Text Blocks are stable parts of the language now forever. I believe something similar will happen with string templates. Also, Java has
175.
▲
by
kaba0
2y ago
I have thoroughly enjoyed that Hickey talk, but I think he has a very system -oriented view/take - which is very important and shows his experience - but it is also common to have control over the whole universe for our program. In th
176.
▲
by
kaba0
2y ago
Here is a case: https://stackoverflow.com/a/4662537 But I have run into issues with multi-module projects and the like, and it can be very frustrating to realize that you are trying out some corrupt version. Nonetheles
177.
▲
by
kaba0
2y ago
To a degree, yes, that’s possible. But leaking a private type over module boundaries is bad form, so a better (though possibly over engineered solution) would be to have a separate public interface, implemented by the private record type, a
178.
▲
by
kaba0
2y ago
Correctness is the number 1 priority, and maven is simply not always doing what it should, unless you do a clean build. I am absolutely not bothered by XML and alia (btw, there are maven frontends in json/yaml, etc for those who are),
179.
▲
by
kaba0
2y ago
I am primarily a backend developer, so nope. Also, give me any build tool that would be similarly capable. I only know of Bazel.
180.
▲
by
kaba0
2y ago
> Consistency of gradle build. You yourself stated just a paragraph above that sometimes you have to run "clean" xD That was in reference to maven.. Also, feel free to show me any benchmark showing maven being as fast as gradle
More ›