Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaba0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
781.
▲
by
kaba0
3y ago
Java build times are very fast. You are just measuring your internet speed here. (Also, gradle is faster as a build tool for incremental compilation)
782.
▲
by
kaba0
3y ago
You can’t just ignore the many thousands of work hours by experts that went into ios/android to make it usable on a battery-powered device. I will happily take a laptop first that manages to not die on standby in a couple of hours runn
783.
▲
by
kaba0
3y ago
The result being safer is not the same metric as productivity of maintenance.
784.
▲
by
kaba0
3y ago
Sure - it is worse than nonsense. It can do stuff like non-compiling code and hard to find bugs.
785.
▲
by
kaba0
3y ago
That link is about learning rust. It’s quite obviously true, that you have to actively think/maintain how long each instance lives, which is simply done by the runtime in your place in case of a managed language. In my experience, this
786.
▲
by
kaba0
3y ago
I guess the alternative has to be mentally stimulating for it to work. Maybe she finds it too easy or meaningless?
787.
▲
by
kaba0
3y ago
It is a much harder problem, but it is working just fine on even low-end mobile phones with the majority of websites.
788.
▲
by
kaba0
3y ago
Do you have any form of proof that layouting is a bottleneck anywhere?
789.
▲
by
kaba0
3y ago
It’s almost like 3d rendering is vertices and shading is an embarrassingly parallel problem which is quite trivial to make faster by throwing more hardware at it. General layouting/text rendering, etc are not like that, and there is no
790.
▲
by
kaba0
3y ago
I don’t think you can make an apples to oranges comparison here, there are too many differences. But sure, linux is mostly server-workload oriented.
791.
▲
by
kaba0
3y ago
Aren’t it simply more common for apps to go into a “save state and basically exit” mode, from which they are expected to recover without any fuss? Like, ios is very aggressive in “killing” background apps, and since this is the general cons
792.
▲
by
kaba0
3y ago
Linux has something similar to ctrl+alt+del monitoring in the form of REISUB and alia. But it is much more crude (and nowadays mostly disabled by default).
793.
▲
by
kaba0
3y ago
“More eyes discover more bugs” never worked.
794.
▲
by
kaba0
3y ago
That’s not encapsulation, that’s just an ugly hack. Somewhat related, it has been shown that a language with public/private visibility modifiers is more expressive than one without (that is, it can’t be locally replaced by another ex
795.
▲
by
kaba0
3y ago
Fair enough, though I think a functional approach (you create a new set from the old, with one field changed), and somehow “committing” it back is fine, and no need for side effecting then (besides at the boundary). Maybe structural typing
796.
▲
by
kaba0
3y ago
I don't know, relational model seems to be fundamentally mathematical/side-effect free. Like, I think we should think of a `Connection` as an object, not `User`, which is just plain data.
797.
▲
by
kaba0
3y ago
if you mean that ridiculous "gcc/pdf/web browser is ridiculous, use tcc/txt file/curl" bullshit page, then I can't take you seriously. Feel free to use a pocket calculator instead of your current device, I
798.
▲
by
kaba0
3y ago
A great, and often under-appreciated point is - as put by Guy Steele - "We find that the notion of side effect and the notion of equality (object identity) are mutually constraining; to define one is to define the other." With tha
799.
▲
by
kaba0
3y ago
Just because someone coined the term, doesn't mean that they get to define it. The industry absolutely doesn't use OOP in any way similar to what Alan Kay does, and the former is the de facto correct usage.
800.
▲
by
kaba0
3y ago
React is not a UI library itself -- the actual UI stuff is delegated to the DOM. It is more like a library on top a UI library, that manages the state->representation flow (where reactive FP is indeed a good choice).
801.
▲
by
kaba0
3y ago
https://projectsandcastle.org/ But don’t get too excited.
802.
▲
by
kaba0
3y ago
Healing crystals seems to be a much smaller market (to the point of barely existing) than “Big Pharma”, so your analogy doesn’t really make sense.
803.
▲
by
kaba0
3y ago
Why exactly? Does petrol get cheaper for an old car that barely works?
804.
▲
by
kaba0
3y ago
Especially that a 10 years old phone was very weak in terms of hardware, we haven’t reached a more plateaus era back then. It’s much easier to update a phone in the last 5 years for 10 years, than doing the same in a 5 years earlier window
805.
▲
by
kaba0
3y ago
Does it really let you run custom builds when it zeroes out proprietary firmware blobs on many models, turning your fancy camera into a shitty basic one? Or what about the million proprietary blobs you would need for full functionality — wi
806.
▲
by
kaba0
3y ago
Promising is easy - google can’t keep maintaining successful apps of theirs, let alone a whole phone. I’ll believe it at 6 years in, maybe.
807.
▲
by
kaba0
3y ago
> But I have bad news for you. This kind of software will soon be written not by you, but by an AI Press X to doubt
808.
▲
by
kaba0
3y ago
I believe it should work with any other Graal language (currently, JS, Python are the bigger ones and Sulong can run LLVM bytecode. There is also Espresso, which runs “java on top of java”, making it also eligible for these security boundar
809.
▲
by
kaba0
3y ago
C++, Rust, Zig all are lower level, due to having control over vectors.
810.
▲
by
kaba0
3y ago
“Fun” stuff: Rust also doesn’t prevent this for more complicated objects. The ‘Sync’ trait will get applied to any struct that has only ‘Sync’ constituents, but that means that such an object can be observable in inconsistent states (e.g. a
More ›