Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gf000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
481.
▲
by
gf000
7mo ago
How is a WM not just a simple plugin/extension? Find a display server you like and write an extension for it!
482.
▲
by
gf000
7mo ago
You only need a single implementation that exposes an API for running a WM as an extension. I don't really get why would it be a good idea to somehow mandate a specific architecture design from the standard.
483.
▲
by
gf000
7mo ago
The more real answer is that python's primary usage is a glue language. It has to be able to interface with various C libraries, and to make the interfaces even more ergonomic, they exposed several internal details on how code is eva
484.
▲
by
gf000
7mo ago
> Cython and all the libs you mention use the c-api, which is the #1 thing python needs to lose to be competitive. Quite hard to lose the #1 reason people use the language for.
485.
▲
by
gf000
7mo ago
It does have a "shady" past, but AFAIK it mostly managed to leave that vaporware behind. Nonetheless, I would not bet anything too serious on such a small language.
486.
▲
by
gf000
7mo ago
Not parent, but basically every ML? OCaml, but also Scala/Kotlin to a certain degree Java, C# are all good choices.
487.
▲
by
gf000
7mo ago
Why go? That language has absolutely no expressive power, while you surely at least want to add together two vectors/matrices in AI with the + operator.
488.
▲
by
gf000
7mo ago
Yeah. That's why I meant "generic", and we would probably agree that Coq and alia are not generic languages.
489.
▲
by
gf000
7mo ago
I don't think there is a generic computational model that would prevent deadlocks, so no, pony also doesn't solve it.
490.
▲
by
gf000
7mo ago
Well, there are so many more lower hanging fruits that LLMs can actually replace before they get to developers -- basically every middle manager, and a significant chunk of all white collar jobs. I'm not convinced software developers w
491.
▲
by
gf000
7mo ago
This may have been practically true for a long time, but as Java's ZGC garbage collector proves, this is not a hard truth. You can have world pauses that are independent of heap size, and thus predictable latency (of course, trading of
492.
▲
by
gf000
7mo ago
But even the solutions would be so trivial - have a separate 'prod' compiler flag. With that, make these errors, without make these warnings. Problem solved, everyone happy.
493.
▲
by
gf000
7mo ago
Nowhere, or wherever C# would sit. Go is a high level managed language.
494.
▲
by
gf000
8mo ago
Exceptions travel up the stack on their own. Given that most error cases can't be handled immediately locally (otherwise it would be handled already and not return an error), but higher up (e.g. a web server deciding to return an error
495.
▲
by
gf000
8mo ago
Verbosity is an objective metric. Code readability is another, correlating one, but this is more subjective. To me go scores pretty low here - code flow would be readable were it not for the huge amount of noise you get from error "han
496.
▲
by
gf000
8mo ago
How does that relate to Go being a verbose language?
497.
▲
by
gf000
8mo ago
If by lightweight you mean verbosity, then absolutely no. In go every third line is a noisy if err check.
498.
▲
by
gf000
8mo ago
I agree with your questioning of it being capable of preventing bugs, but your second point is quite likely false -- we have developed a bunch of very useful abstractions in "research" languages 50 years ago, only to re-discover t
499.
▲
by
gf000
8mo ago
Go is one of the most verbose mainstream programming languages, so that's a pretty terrible example.
500.
▲
by
gf000
8mo ago
But that's still "draw the rest of the owl" category of complexity, and you probably can't really get hard real time on an ordinary kernel. At that point you might as well take a look at runtimes that have a GC and is
501.
▲
by
gf000
8mo ago
> Rust is actually really unique among imperative languages in its general composability Can you compare it to some other imperative language? Because I really don't see anything particularly notable in Rust that would give it this
502.
▲
by
gf000
8mo ago
The key point is that there has to be a slow vertical panning happening as actual content. If that happens, then the on-disk representation of a color channel can end up physically below/above what happens before/after in the movi
503.
▲
by
gf000
8mo ago
Well, vendors' randomly modified android systems are chock full of bugs, so it could have easily been some fancy os-specific feature failing not just in your case, but probably plenty other apps.
504.
▲
by
gf000
8mo ago
> is an environment that both coders and artists could use. Maybe Rive fits this well enough? (Not affiliated, just looked into it at a time from a render engine perspective)
505.
▲
by
gf000
8mo ago
There are hardly any rulings/laws about the topic, and it quite obviously changes the picture of licenses.
506.
▲
by
gf000
8mo ago
I guess it depends on if the source data set is part of the training data or not (if it's open source it is likely part of it). A lawyer could easily argue that the model itself stores a representation of the original, and thus it can
507.
▲
by
gf000
8mo ago
It's an Android service. But unlike on regular Android where Google play services have hard-coded special permissions, on Graphene it is an ordinary android service with all the same strict rules applying to it, as to any other service
508.
▲
by
gf000
8mo ago
Unlikely. The reason graphene doesn't run ön non-pixels even today is that it depends on certain hardware features that most vendors (beside Google) lacks. I wouldn't think this applies to Motorola.
509.
▲
by
gf000
8mo ago
Security theater, it has absolutely no use. If you can't trust your hardware that it won't actively listen to the microphone without your knowledge and permission then what are you even doing with that device?!
510.
▲
by
gf000
8mo ago
It does give back memory nowadays. And it's not really a VM in that sense of the word. It's a runtime, Go also has such a runtime it's just bundled.
More ›