Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaba0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
kaba0
2y ago
Off topic, but rust really messed up the terminology by using 'enums' for sum types.
92.
▲
by
kaba0
2y ago
Rich Hickey has a presentation titled 'Maybe Not' that talks about this exact distinction, but he actually argues the reverse (and often criticized quite wildly, even though both sides are sort of right here, I believe). He says t
93.
▲
by
kaba0
2y ago
I don't know, go has lackluster expressivity, and these pre-compile tools always feel like a hack in its case.
94.
▲
by
kaba0
2y ago
Let’s not fool ourselves, linux’s accessibility (and anything else) support was lackluster to begin with. Android and ios is far far superior on every count from an accessibility perspective and interestingly they have a sane security model
95.
▲
by
kaba0
2y ago
It shouldn’t complicate the program itself, everything should be sandboxed by default. And they should simply not have access to my home folder, it should be given access to a specific file only it is about to read.
96.
▲
by
kaba0
2y ago
> Why do I have to open Moebius sync to keep syncthing synchronization running Because it’s a mobile OS and every single spent CPU cycle is a detriment to battery life? There is absolutely nothing in the security model that would prevent
97.
▲
by
kaba0
2y ago
In what way or form? Citation needed.
98.
▲
by
kaba0
2y ago
You might be living in a bubble. The majority of the population doesn’t have a PC, most people use a smartphone as their only general purpose computer. And while you may not run blender on your phone and render a full-time movie with ray-tr
99.
▲
by
kaba0
2y ago
But what’s the limiting factor of doing the sane and safe thing by default? The most popular operating systems all do that (ios and android), and they have carved out safe APIs for all of that to work. You can’t patch up a Swiss cheese afte
100.
▲
by
kaba0
2y ago
They queried that info based on a specific implementation of a framework. If that framework is implemented under Wayland, then through the Wayland APIs it will only get rudimentary info on mouse position (e.g. only when it’s in focus and th
101.
▲
by
kaba0
2y ago
And an often under appreciated tenet of security — even a “good” software can be exposed to “bad” data , and you only need a bug (especially a memory bug, which is exceedingly common because linux userspace can’t get rid of c for the life
102.
▲
by
kaba0
2y ago
XOrg was predominantly used as a useless middleman between a compositor and a window manager communicating with each other. Just because the wayland compositor is “one big important process” doesn’t mean that the whole architecture is more
103.
▲
by
kaba0
2y ago
Heh? That hasn’t been true on even the very first POC wayland compositor, Weston. I mean, it used to crash from time to time in the very early days, but visual artifacts? I don’t remember any, besides the occasional xwayland app (which is l
104.
▲
by
kaba0
2y ago
(Nitpick, but it’s just a “superficial” superset. The biggest difference is probably doing “multi-methods”, aka the runtime type of an argument deciding which method implementation to call vs java’s static overload resolution.)
105.
▲
by
kaba0
2y ago
‘Informed users’ has always been a joke.
106.
▲
by
kaba0
2y ago
Apple’s intelligence has the benefit of a much deeper integration (if they can live up to their wwdc), which will pretty much bring the sci-fi assistent to life. Just say “when will my plane depart” and when siri replies ask it to “send tha
107.
▲
by
kaba0
2y ago
The java metric is also from a single core. But you are probably right that it should only be taken as a rough ballpark, but java is definitely in the same ballpark as go in compile speed.
108.
▲
by
kaba0
2y ago
The actual compilation step is 100% not the bottleneck - it can go as fast as 10k-50k lines per second! (According to the Mill benchmark, but that’s the Mill-independent part). Comparatively, Go does “only” 16k lines per second based on som
109.
▲
by
kaba0
2y ago
Which are mostly small, isolated library code , whose purpose is to be easily incorporated into larger programs. That’s the 90% easy path of build tools. What about a large project built over 6 years by 50 people, and that has to use some
110.
▲
by
kaba0
2y ago
To be blunt, if anything it might be you who live in a closed bubble. Builds that require ad-hoc functionality is the default. It’s extremely rare that everything fits nicely into “cargo build” or other single language build tools’ model. A
111.
▲
by
kaba0
2y ago
There are quite a few cases: the moment you touch another language, resources that require a compile-step (e.g. xml schemas to code dtos, protonbuf, all that kind of stuff), sometimes even the code itself requires generation.
112.
▲
by
kaba0
2y ago
First invocation may be. Subsequent builds are very fast, unless someone decided to write random bullshit into the build scripts that execute at config time, making the config process impure.
113.
▲
by
kaba0
2y ago
There is basically no DSL. You simply write what a build needs, e.g. you write a function `collectCFiles()` that collects every file with extension `.c`. You then issue a command like `gcc ${collectCFiles()}`. And pretty much that’s it - yo
114.
▲
by
kaba0
2y ago
Not the parent commenter, but I feel it mixes sandboxing and a non-ideal packaging method together. Something like nix solves the second problem so much more elegantly.
115.
▲
by
kaba0
2y ago
From your own article: > The Flutter team would like to eventually turn the semantics on by default in Flutter Web. However, at the moment, this would lead to noticeable performance costs in a significant number of cases, and requires so
116.
▲
by
kaba0
2y ago
Its web targeted version is still not accessible, even though they promised that they will actually render to HTML elements as much as possible. A single canvas element is not that.
117.
▲
by
kaba0
2y ago
Throwing out the baby with the bath water? There are millions of standardized APIs available in the browser that would be probably impossible to recreate in anything else due to failing consensus.
118.
▲
by
kaba0
2y ago
So throwing out literally 99% of what makes the web actually portable and useful? A random drawn rectangle is not a UI, it’s not accessible, not inspectable, not part of the de facto OS native toolkit. If all we wanted is a random cross-p
119.
▲
by
kaba0
2y ago
Java is as open-source as it gets (it’s reference implementation, OpenJDK, has the same license as the linux kernel) And it was used by some browsers, there was just no consensus between different vendors due to politics. The problem largel
120.
▲
by
kaba0
2y ago
Completely ordinary setup, as is, both arch and nixos.
More ›