Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jolux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
421.
▲
by
jolux
5y ago
It's not really dynamic typing, because it's happening at compile time. Really type providers are just a specific, restricted form of code generation.
422.
▲
by
jolux
5y ago
> One particular problem I remember was a type difference issue. They had a string and needed to compare it with a string in an object. Easy, just do something like myObj.myVar == "string" right? But autocomplete suggested myOb
423.
▲
by
jolux
5y ago
I mostly agree. It's a little hard for me to remember how I started because I'm almost fully self-taught and I never restricted myself like that. I think it's best to start people off with a friendly and helpful but minimal e
424.
▲
by
jolux
5y ago
This is an argument against programming by autocomplete, not an argument against programming with IDEs. IDEs make this method of programming possible , but they don't make it mandatory. The primary thing I use autocomplete for is to i
425.
▲
by
jolux
5y ago
I don’t know if it’s Go that’s been that influence more or if it’s the generally increasing profile of functional programming languages (especially JavaScript!) which have always taken a more minimal approach to features.
426.
▲
by
jolux
5y ago
I don't know if this has changed but at some point I stopped watching LTT because my own knowledge of computing exceeded his (as far as I can tell) and I started noticing trivial technical errors in a lot of the content he made, delive
427.
▲
by
jolux
5y ago
The value of such an exploit likely exceeds their valuation.
428.
▲
by
jolux
5y ago
You can check this fairly easily with https://haveibeenpwned.com/Passwords . It's not exhaustive obviously but it's something. 1Password vaults are also encrypted with a separate secret key that is generated locall
429.
▲
by
jolux
5y ago
1Password vaults are encrypted end-to-end, their database would not be worth nearly that much. It's a bunch of worthless data. A successful hack of 1Password would probably require pushing bad client updates. Besides which bug bounties
430.
▲
by
jolux
5y ago
Hmmm, I don't know that their sales are shrinking. They're definitely increasing their margin on the higher-end devices though.
431.
▲
by
jolux
5y ago
https://bugcrowd.com/agilebits
432.
▲
by
jolux
5y ago
Apple's profits from hardware are still growing though.
433.
▲
by
jolux
5y ago
It’s a good point. UI is a situation where the classic OOP-style frameworks work really well when they’re carefully designed. I think we’re still waiting on a model for doing that with FP that doesn’t rely on passing state deep down into an
434.
▲
by
jolux
5y ago
I will say plainly that I think there are situations in which mutability offers more elegant solutions than immutability, but I think most languages that offer it do it badly. I’m most experienced programming the Erlang platform via Elixir,
435.
▲
by
jolux
5y ago
There's a lot to think about in your comments in this thread but I have a nitpick about functional programming style here. > In fact maybe it's nicer to have that implicit state strewn everywhere instead of having to carry arou
436.
▲
by
jolux
5y ago
Polling is one thing but the economics on this are extensive and they mostly reject your suggestions here. Female labor force participation is U-shaped with regards to GDP ( https://www.nber.org/system/files/working
437.
▲
by
jolux
5y ago
Not the case with normal RSS-based podcasting.
438.
▲
by
jolux
5y ago
> If their sandboxing is as good as you say it is, there should be no security threat imposed by allowing other apps on the device. No, because it's part of a defense-in-depth strategy. Sandboxing and isolation is meant to catch wha
439.
▲
by
jolux
5y ago
But it's not security theater. Sandboxing and strong isolation is one of the oldest techniques around for increasing security. iOS has the least malware of any OS. The security measures it contains would appear to be extremely good at
440.
▲
by
jolux
5y ago
Security is not moot just because state actors can break it, that's basically expected. The idea is to give everyone below the level of a state a harder time.
441.
▲
by
jolux
5y ago
Well, it should support go to implementation too.
442.
▲
by
jolux
5y ago
Yeah, except I've tried it in CLion with the plugin, and it doesn't work.
443.
▲
by
jolux
5y ago
I believe Maven supports this, but I don't know if it's turnkey like cargo docs.
444.
▲
by
jolux
5y ago
The bigger problem is that neither rust-analyzer nor IntelliJ Rust currently support go-to-definition for trait methods. They will just give you a popup with all the overloads. I understand this is being worked on with Chalk but it's q
445.
▲
by
jolux
5y ago
And Elixir/Erlang is actually more imperative and stateful than some other functional languages, because of the process model. Sending messages imposes an ordering on the receiver's state. One way you can think of a mailbox is as
446.
▲
by
jolux
5y ago
> The real-world limitations often leak through the declarative interface, because you have to care about things like performance, or do things that don't quite fit into the opinionated declarative interface, or have other weird con
447.
▲
by
jolux
5y ago
The whole supplements industry is like this. The best you can do is get one that’s USP certified.
448.
▲
by
jolux
5y ago
Obviously if they come out with a console they won't be selling the Apple TV anymore, except maybe as a low-end option.
449.
▲
by
jolux
5y ago
I think the primary reason Putin wants Ukraine is that he sees a difficult future for the Russian economy over the next 10-20 years in the declining importance of fossil fuels (lest we forget the oil price war in 2020) and thinks that expan
450.
▲
by
jolux
5y ago
If we ever lose a war to a superpower you can bet that will happen to us. What other entity are you imagining would enforce such a punishment now?
More ›