Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jolux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
661.
▲
by
jolux
5y ago
> it just defines that safety in a different way than Rust Memory safety is already well-defined, though. It means that you can’t write code that mishandles memory in a dangerous way. In Rust, code outside of unsafe blocks is guarantee
662.
▲
by
jolux
5y ago
> Only for some common memory mistakes. Yes, I’m talking about memory safety, because memory bugs cause most vulnerabilities.
663.
▲
by
jolux
5y ago
Well, I feel pretty strongly about this issue as someone who cares about security. It is a question of ethics to me. I mean, saying Rust is unsafe because it has the unsafe block is like saying Haskell isn’t a pure language because it has I
664.
▲
by
jolux
5y ago
I respect the hell out of Andrew and what he’s accomplished with Zig, but to an extent I think it’s counterproductive to be creating new languages that aren’t memory safe. What niche does Zig fit? As far as I can tell, it seems to be people
665.
▲
by
jolux
5y ago
This is pretty much exactly how I feel and I appreciate that Ranch gives you this option.
666.
▲
by
jolux
5y ago
You do sometimes have to be careful about how you handle configuration with embedding multiple copies of other supervision trees though: https://ninenines.eu/docs/en/ranch/2.0/guide/embedded/
667.
▲
by
jolux
5y ago
This is a huge part of the power of Elixir/Erlang. Libraries can be written to use the same powers of isolation, resiliency, and concurrency that application code has, at no extra cost to the consumer and with total transparency. You q
668.
▲
by
jolux
5y ago
F# has a feature called type providers that make this sort of bookkeeping between the database and the code less tedious, but even if you mess it up, static typing still gives you more safety than dynamic. If your code blew up because it sh
669.
▲
by
jolux
5y ago
This is true but the incentives are currently not calibrated to ensure that more durable products are used. Making disposable bags more expensive, or similar to, reusable bags would go a long way here, I think. And there are some cases wher
670.
▲
by
jolux
5y ago
Vivaldi is Chrome underneath.
671.
▲
by
jolux
5y ago
Rust pretty much only has protocols, and people seem to do fine programming with it. Type classes (protocols, traits) and regular classes are both different ways of achieving polymorphism, which every abstraction needs. It’s just a question
672.
▲
by
jolux
5y ago
Every sub has its sacred cows that you can’t question. It just takes a while to figure them out sometimes.
673.
▲
by
jolux
5y ago
I believe I got that link from Daring Fireball originally.
674.
▲
by
jolux
5y ago
> They are gunning for monopoly. No shame in that. It is pretty shameful if you’re simultaneously claiming to be the biggest defender of the open web. > Why put in the effort It’s pretty clear why at this point: developers hate them a
675.
▲
by
jolux
5y ago
For the most part W3C is where standards go when they’re finished (often long after developers expect them to be available everywhere, especially these days). WebUSB for example is currently a draft, not a standard. Many of these complaints
676.
▲
by
jolux
5y ago
Apple deprecated the extension interface that Origin uses and has no plans to implement the needed APIs even though they now support WebExtensions.
677.
▲
by
jolux
5y ago
Apple has its own opinions about what web standards it should implement. It’s as simple as that. Google has been extremely successful in convincing developers that browsers that don’t behave like Chrome are behaving wrong. Don’t get me wron
678.
▲
by
jolux
5y ago
It’s not even like being gay completely prevents people from having kids! There is surrogacy, and artificial insemination, and always an awful lot of kids without parents. As well as plenty of heterosexual couples with fertility problems th
679.
▲
by
jolux
5y ago
Sometimes there is alternative medicine that has not really been tested. But a lot of alternative therapies—acupuncture, homeopathy, chiropractic—have been tested exhaustively by the scientific community and found to be either completely
680.
▲
by
jolux
5y ago
It means that the order they fire is imperative and determined by how you run your migrations.
681.
▲
by
jolux
5y ago
> Well, the 'Nation State' is a modern concept, so no. The nation state is. The state is not. The state is ancient. > But even without official, stated administrative organization, 'borders' still exist as the dema
682.
▲
by
jolux
5y ago
You’re begging the question of why ethnicity implies borders. Borders are purely political objects. Without states, there are no borders. Labeling geographic areas as being primarily inhabited by descendants of a certain ethnicity does not
683.
▲
by
jolux
5y ago
You can’t perfectly distinguish between intolerance and dissent from first principles because the distinction is inherently political, and intolerance could also be characterized as dissent in a society that practices tolerance. In most cas
684.
▲
by
jolux
5y ago
> They are (correctly) unable to subsidize the cost of development by selling data, which in some cases means they cannot use certain preexisting libraries. This is not what raises the cost of development. It’s not having any in-house kn
685.
▲
by
jolux
5y ago
The big problem is that they want people to be able to use iPads for 95% of what they use Macs for, but as developers we reside solidly in that 5% of critical functionality. It’s very hard to be productive as a developer on a system as lock
686.
▲
by
jolux
5y ago
In some ways it’s very American, it’s just the side of America that we’re not proud of. Property owners benefit from the status quo of housing scarcity, and they are the most powerful bloc in local politics.
687.
▲
by
jolux
5y ago
I mean you can have Joe writing it down on a piece of paper, sure. But when it gets to a computer, costs start coming up. It depends on how the software works but the products used tend to be a) ancient and b) often either not configurable
688.
▲
by
jolux
5y ago
It is the default view. The problem is that our tax structures and zoning regulations incentivize this behavior. We need a land value tax to really put an end to it, and get rid of the laws that stop housing supply from meeting demand in ci
689.
▲
by
jolux
5y ago
> how expensive is it really The answer, as with all govtech, is “a lot more than it should be.” Governments, especially local governments, have no internal technology competence, and have to rely on vendors and contractors for absolutel
690.
▲
by
jolux
5y ago
I agree that RAII is superior, but it’s not true that compilers and library authors can’t do anything to enforce proper usage of Drop-able types in GC’d languages. C# has compiler extensions that verify IDisposables are used with the usin
More ›