Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
netvl
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
netvl
8d ago
This is not true, with leasing you don't own the product or property at all. Leasing is basically long-time rent. For example, when you lease a car, you don't own it - the leasing company does. In some cases, you can buy out the o
2.
▲
by
netvl
2y ago
FWIW it's ladybird, not ladybug :)
3.
▲
by
netvl
2y ago
Yup - my correction is not very strong, I usually don’t wear glasses at all, and I was able to use Vision Pro without inserts just fine, but with inserts subjective sharpness is much better.
4.
▲
by
netvl
2y ago
Front display is very dim, and yes, it mostly turns on for interactions.
5.
▲
by
netvl
2y ago
Yes, almost every day. I spend approximately 60-70% of my time working with the headset on, connected to my MacBook. It’s actually better for me than my physical display because of the Zeiss inserts - I usually don’t wear glasses, so due to
6.
▲
by
netvl
2y ago
So this is a direct reimplementation of your example in Java - https://gist.github.com/netvl/32698cc97b88267fecee9b30f00d16... It is under 120 lines, uses Java SE API only, and the complexity is approximately the same.
7.
▲
by
netvl
2y ago
> I suppose it would be much harder to do it without the transferTo function, No, it would not: public class Test { public static void main(String[] args) throws Exception { byte[] buf = new byte[4096];
8.
▲
by
netvl
2y ago
Typo, yeah :( I don’t agree that it is true) I can try doing it later today, but I’m 100% sure that TCP example will look pretty much the same in Java, in terms of complexity. > The gRPC protocol here is only an example. Feel free to use
9.
▲
by
netvl
2y ago
1 is really trivial and took me like 5 seconds to write: public class Test { public static void main(String[] args) { System.in.transferTo(System.out); } } 2 is anything but trivial in any language,
10.
▲
by
netvl
3y ago
Interesting concepts, but dependency on Bazel is meh :( Also, there are some passionate statements about other languages: > As it's currently defined, there's nothing requiring the two arguments to actually have the same type.
11.
▲
by
netvl
3y ago
It does not - my M3 continues to keep the speed if I override autopilot with the steering wheel. If I press the brakes, then both systems are shut down.
12.
▲
by
netvl
3y ago
After Java’s JSR-310 almost any other API in almost any other language looks broken or insufficient. Threeten’s modeling of different time types seems so powerful and natural - specifically, it has Instant (which is literally a nanosecond-p
13.
▲
by
netvl
3y ago
I use one sim card for day-to-day life in the US, and another sim card from my home country to interact with digital services there, when needed.
14.
▲
by
netvl
3y ago
This is not true for Maven and overall the general Java ecosystem. Your own build may have arbitrary logic, true (this holds for Maven, Gradle, SBT - virtually any build tool for JVM), but the artifacts which are distributed to consumers of
15.
▲
by
netvl
4y ago
You’re right in that knowing pronouns is sufficient to determine grammatical gender of words to be used with relation to a character in Russian. Combining a particular gender of pronoun with an unmatching form of verbs/nouns/etc i
16.
▲
by
netvl
4y ago
The problem with SparkJava is that it is not maintained anymore :( according to GitHub, meaningful work on it last happened in 2020. It was indeed a great tool, but now I’d choose Javalin since it is maintained, or even better, Ktor if I’m
17.
▲
by
netvl
5y ago
The key benefit of the Kotlin DSL is that in this precise example, IDEA does suggest valid stuff: https://imgur.com/a/vFYNIU1 Kotlin DSL is miles ahead of Groovy in terms of discoverability and IDEA integration. Wi
18.
▲
by
netvl
5y ago
The whole point of a local date is that it is just a container for three values - year, month and day, and nothing more than that. You cannot go from `Instant` to `LocalDate` without specifying time zone/offset information, and vice ve
19.
▲
by
netvl
5y ago
#159 kind of works with the `string collect` mechanism, although it is indeed not very obvious, compared to bash: set file_contents (cat filename | string collect -N) I understand that this is purely anecdotal, but I'm using f
20.
▲
by
netvl
5y ago
Android apps are written in Kotlin, and Gradle config is also written in Kotlin. How come it is different from the JS situation? Even though Gradle can be configured in Groovy, and Android apps can be written in Java, it is still the same e
21.
▲
by
netvl
6y ago
While Gradle does have a lot of issues, some of the things you mentioned are not correct. > Don't forget you need a basic .properties file in META-INF that just gives out the plugin's name so it can discover it through reflecti
22.
▲
by
netvl
8y ago
This post, as far as I can see, does not mention scala-meta-based macros (project called scalamacros I think) at all. What happened with this direction of macros development? Was it abandoned? Or is the new approach built on it?
23.
▲
by
netvl
9y ago
As far as my understanding goes, performing a .so injection at least on Linux systems is much easier: you just need to set up an LD_PRELOAD variable before running the program and that's it. See, for example, here [0]. And it is some
24.
▲
by
netvl
10y ago
> I've never seen people using UTF-8 deal with a code unit stage. They parse directly from bytes to code points. Well, that's probably because in UTF-8 code unit is byte :) Quoting https://en.wikipedia.org/wiki