Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ackfoobar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
ackfoobar
1y ago
Similarly Java falls outside of Alan Kay's definition of OOP. But unlike Roy Fielding's ReST, I don't see many people bringing that up.
92.
▲
by
ackfoobar
1y ago
It's funny how the urban design forcing poor people to pay car insurance and auto loan, just to survive, is fine; yet charging a hundred or so to use the highly valuable space in the city is outrageous. Concern about public order is fa
93.
▲
by
ackfoobar
1y ago
I'm generally sympathetic to arguments that are "we will fall down the slippery slope." But as someone who has spent too much time stuck in traffic, I WANT congestion pricing to spread. It's just basic economics that peo
94.
▲
by
ackfoobar
1y ago
If the JVM encountered the same bug other people would have discovered it before me. Most probably I won't even know the bug exists.
95.
▲
by
ackfoobar
1y ago
Agreed, indeed I believe they have mentioned that OCaml gets them to ship quicker because they are more confident with the correctness of changes. But being outside of the mainstream may mean you need to occasionally debug more esoteric stu
96.
▲
by
ackfoobar
1y ago
> a byte array is in reality layed out as a (mostly empty) long array in Java Are you saying each byte takes up a word? That is the case in the `char array` in OCaml, but not Java's `byte[]`. AFAIK The size of a byte array is rounde
97.
▲
by
ackfoobar
1y ago
The example here is basically an 8-fold memory saving going from `long[]` from `byte[]` - while still retaining polymorphism (whereas in Java the two are unrelated types). Hard to say exactly how much performance one would get, as that depe
98.
▲
by
ackfoobar
1y ago
I don't use Swift not because I think it's not useful outside Apple, but because I believe its developer experience is poor. Some stories that formed my opinions: https://news.ycombinator.com/item?id=9947193 http
99.
▲
by
ackfoobar
1y ago
> It isn't human readable This is a tooling problem. Wireshark can decode protobuf for you when you're inspecting gRPC traffic.
100.
▲
by
ackfoobar
1y ago
> ... RustRover: By far the best code editors ... I'm using RustRover. It's pretty lame compared to the IntelliJ experience. "Find usages" does not separate test code and application code; "copy reference" g
101.
▲
by
ackfoobar
1y ago
> the `anyhow` crate is basically mandatory from an ergonomics standpoint in every Rust project I start If you use `anyhow`, then all you know is that the function may `Err`, but you do not know how - this is no better than calling a fun
102.
▲
by
ackfoobar
1y ago
To be pedantic, concurrency in OCaml has been fine with lwt. Single threaded concurrency, not unlike how JS does it.
103.
▲
by
ackfoobar
1y ago
Saw this on Twitter a while ago: https://www.tracingwoodgrains.com/p/reliable-sources-how-wik...
104.
▲
by
ackfoobar
1y ago
I don't think I've seen salt compartments in dishwashers in North America.
105.
▲
by
ackfoobar
1y ago
"Fast" in title. But I don't see any benchmarks, or discussion on how to reason about the performance of STM code.
106.
▲
by
ackfoobar
2y ago
> how that ties in with subtyping In Swift it does not. But in Kotlin, `String?` is not an enum (sum type), but instead means `String | null`, a union type.
107.
▲
by
ackfoobar
2y ago
In other words, this remove slop creators' ability to waste a minute of my life with bait. How is that not a good thing?
108.
▲
by
ackfoobar
2y ago
I grew up hearing about Java vulnerabilities over and over before I really learned programming, so I could not point to any specific ones. But this discussion expresses the same sentiment: https://security.stackexchange.com/
109.
▲
by
ackfoobar
2y ago
Will we still have compiler plugins? What will this mean for projects like ts-patch?
110.
▲
by
ackfoobar
2y ago
I think I've seen somebody compared lettuce and raw milk to argue that the latter isn't too bad.
111.
▲
by
ackfoobar
2y ago
> The real value of exceptions is you can skip 6 levels of functions that have lines like For some reason some Go programmers think those lines are the best thing since sliced bread.
112.
▲
by
ackfoobar
2y ago
Every Object in Java has a getClass method. If we changed all the static type information in Java to the `Object` type, that'd be pretty close to Python's case. GP's post is probably the "unityped" critique of dynam
113.
▲
by
ackfoobar
2y ago
The next section of the wikipedia link discusses the low speed approximation, where sqrt(m^2c^4+(pc)^2) ≈ mc^2 + 1/2 mv^2. Calling E=mc^2 an "approximation" is technically correct. It's the 0th order approximation. That&
114.
▲
by
ackfoobar
2y ago
>> non-coding junk DNA which is under no selection pressure > "conserved" sections of DNA which don't change much over time I'm not a biologist. I imagine DNA that does nothing and is under no selection pressure
115.
▲
by
ackfoobar
2y ago
I have no complaints for the well trodden path (e.g. https://github.com/google/protobuf-gradle-plugin ). I have also written some custom build steps, and indeed the docs aren't very helpful - but the final implemen
116.
▲
by
ackfoobar
2y ago
> end up implementing their own half-baked programming language interpreter inside of their XML Greenspun's tenth rule.
117.
▲
by
ackfoobar
2y ago
I must be missing something here. Don't the tools you mentioned do a lot less than Gradle? Gradle knows test depends on compile, which depends on code generation (say protobuf) - with caching and change detection. Compare that to chain
118.
▲
by
ackfoobar
2y ago
> whole [Li Haoyi]( http://www.lihaoyi.com/ ) ecosystem in Scala He has very good taste. I wish more Scala people are like him. > simply having immutability by default Not everything is a pure data structure. I called a
119.
▲
by
ackfoobar
2y ago
I think the incompatibilities burned a lot of the good will. I'm very fluent in Scala 2, but I will avoid Scala if I can, mostly to stay away from purely functional programmers. > all the goodies of Rust Does it prevent me from usin
120.
▲
by
ackfoobar
2y ago
Your comment would probably be less confusing for non-physicists if you said frequency instead of energy (I know, E=hf). Two meanings of the word spectrum are used in this discussion, definition quoted from wiktionary: 1. "A range; a c
More ›