Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jolux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
271.
▲
by
jolux
4y ago
Tangential but what's the status of garbage collection and DOM manipulation in WASM? Are we ever getting those? I understand it's a high-value technology without them, but I'm interested in writing full apps in say, OCaml (so
272.
▲
by
jolux
4y ago
How is it an array if it's not guaranteed to be contiguous?
273.
▲
by
jolux
4y ago
That’s bizarre, are they implemented as linked lists or something? Why would arrays be that slow?
274.
▲
by
jolux
4y ago
I don’t know that it was a mistake but it doesn’t seem implausible to me.
275.
▲
by
jolux
4y ago
Microsoft is far from the only company that sniffs, they all sniff. If you give people information they’re bound to use it. This is all commonplace in web dev.
276.
▲
by
jolux
4y ago
Yeah but you’re assuming the programmers who worked on this don’t make dumb mistakes like the rest of us. Especially not since they’re working for one of the only major tech companies where all the devs use Windows and might make bad assump
277.
▲
by
jolux
4y ago
Well iOS 16 is still in developer preview and it won't be launched for another 3 months almost, so it might not be in the currently released versions. But here: https://www.macrumors.com/2022/06/06/ios-16
278.
▲
by
jolux
4y ago
This looks very interesting. I'm curious if the author has looked at Erlang/Elixir — my first reaction on reading this is that it sounds similar to the actor model and the way that Erlang handles state and state updates: as messag
279.
▲
by
jolux
4y ago
Actually Web Push is coming in iOS 16.
280.
▲
by
jolux
4y ago
> For some bizarre reason, macos doesn't ship with `wget` by default. Don't ask me why :/ Because curl is better?
281.
▲
by
jolux
4y ago
I find text a lot harder to read without anti-aliasing.
282.
▲
by
jolux
4y ago
Very true. There's a lot to love about it!
283.
▲
by
jolux
4y ago
That was after he left.
284.
▲
by
jolux
4y ago
I think possibly the greatest advantage Elixir has is offering the power of the Erlang/OTP system without weird quirks like Erlang’s string handling. I never have to think about it in Elixir, binary UTF-8 strings are the default and th
285.
▲
by
jolux
4y ago
The general case this article describes is a type being confused for another type. This happens to me all the time when programming with Python and Pandas, and somewhat less often in Elixir. The `+` operator in Python will concatenate seque
286.
▲
by
jolux
4y ago
Yeah, brew requires the CLT because it’s built on git, so I assumed that’s what you were talking about.
287.
▲
by
jolux
4y ago
I use the Belkin one that Apple sells and have never had much issue with it. What chipset is that?
288.
▲
by
jolux
4y ago
> even something as simple as installing git is a 700mb installation with a mandatory reboot Mandatory reboot? I've never experienced that with the Xcode command line tools.
289.
▲
by
jolux
4y ago
> I confess I'm guessing here, and haven't tested it Maybe you shouldn't make unsubstantiated claims like this then? > Tailwind improves the developer experience at the expense of badly optimised code bloating and slowi
290.
▲
by
jolux
4y ago
> At worst, you'll only need to wait for a year or two to get sub-$0.10 transaction fees on the ETH rollups, as user adoption picks up. I do hope this works, genuinely. I feel I’ve been burned already on this stuff so I’ll believe i
291.
▲
by
jolux
4y ago
The article says Ethereum’s tx rate is 20-30 per second, and Bitcoin’s is 7. That’s what I’m going off.
292.
▲
by
jolux
4y ago
I did. He lays out several possible solutions but notes that none are proven. That’s what I’m criticizing: I’ve seen these claims made before, and they were never proven.
293.
▲
by
jolux
4y ago
The biggest problem I see with cryptocurrency is the transaction rate problem. It’s not like attempts haven’t already been made to solve it (Bitcoin Lightning), and Dr. Green fully admits that it’s not certain that any currently proposed ch
294.
▲
by
jolux
4y ago
Rust got the concept from C++ and it’s not a C++-specific concept, despite having originated there. You seem to have some fundamental disagreement with what I’m saying that you’ve yet to identify. What does RAII look like without scope, if
295.
▲
by
jolux
4y ago
Scope is a necessary part of it too though. There’s always going to be one owning scope for an object in Rust (unless you’re using Rc) and that scope is responsible for calling the destructor. You can change which scope is responsible by mo
296.
▲
by
jolux
4y ago
It's well-defined, it's just more flexible than Java. The difference is that returning a value moves it, and resources are owned by the creating scope by default. Java doesn't have the same concept of ownership, or rather, yo
297.
▲
by
jolux
4y ago
Fair enough, yeah.
298.
▲
by
jolux
4y ago
Well sure but I would assume the pattern would be consistently implied in the standard library, no?
299.
▲
by
jolux
4y ago
Right, but those are opt-in features. In Python you can lock something and not release it by mistake. In Rust this pattern is enforced, the destructor will always release it at the end of the enclosing scope unless there is a panic or infin
300.
▲
by
jolux
4y ago
This sounds like an argument that C++ isn't RAII.
More ›