- 0 Posts
- 28 Comments
asdfasdfasdf@lemmy.worldto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
272·2 months ago- Macro syntax technically isn’t even Rust
- This is definitely not average Rust code.
asdfasdfasdf@lemmy.worldto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
535·2 months agoHard disagree. Super beautiful.
Yep, we disagree. The world and technology especially is an extremely complicated place. IMO any complex system that is built upon “humans should just know all this complexity and keep it in mind all the time” is fundamentally broken.
I think you’re saying the same thing as what I am. If it’s more complex than what you may think, the language should guard against it. If not, it should make it simple.
Rust, for example, is the only mainstream language where it isn’t possible to read from a file handle after it’s been closed. Doing so is a compilation failure. This is just a general invariant of “how to use files”.
But you also don’t need to think about allocating or deallocating memory in Rust. It does that fke you automatically, even though it’s not GC.
JS can also be complicated when it tries to hide realities about the world. E.g. is a const array or object immutable? No, the pointer is. But pointers don’t exist! /s
I mean, this is correct in many cases, unironically.
It should be one of the core purposes of a programming language to help humans to write the code they intend. If a language doesnt do that then it’s bad.
asdfasdfasdf@lemmy.worldto
Privacy@lemmy.dbzer0.com•DOJ: Google must sell Chrome, Android could be next
3·1 year agoNo worries! Yeah I agree.
asdfasdfasdf@lemmy.worldto
Privacy@lemmy.dbzer0.com•DOJ: Google must sell Chrome, Android could be next
5·1 year agoYou’re right, but the concern is still valid.
asdfasdfasdf@lemmy.worldto
Privacy@lemmy.dbzer0.com•Signal is the No. 1 downloaded app in the Netherlands. But why?
81·1 year agoIDGAF who funds it or who develops it.
- E2E encrypted
- security review by independent party I trust which says there are no holes or bugs
- open source
Those three things are all that matters.
asdfasdfasdf@lemmy.worldto
Fediverse@lemmy.world•John Oliver promoted alternatives to big tech in last night's episode, including Mastodon and PixelfedEnglish
11·1 year agoEcosia is building a custom search engine index, ETA summer 2025
deleted by creator
asdfasdfasdf@lemmy.worldto
Fediverse@lemmy.world•Can we please make a viable (federated!) amazon alternative? I have an idea!English
1·1 year agoInstances are stores (think Amazon or Etsy). Products are posts. Sellers are users.
Stores aren’t protected from being defederated. You can still search Google or whatever, still visit the site and buy stuff. It just will not be a unified search, just like how anything else works with ActivityPub.
The good stores would be run by admins who don’t have an incentive to defederate from others. Stores don’t make money or take a cut from sellers anyway. The sellers aren’t in charge of the instance, just like an Etsy seller can’t do anything about the fact that they have competitors on Etsy.
The need for decentralization is that the store / Amazon / Etsy is broken up but the search and interactions, reviews, etc. are unified.
asdfasdfasdf@lemmy.worldto
Fediverse@lemmy.world•Can we please make a viable (federated!) amazon alternative? I have an idea!English
1·1 year agoI think it makes sense. It would allow a decentralized unified search across all stores. With Lemmy I can search posts as long as the instance is federated. With this I could find products.
If you want to buy the app
GrayJay is free, just FYI
asdfasdfasdf@lemmy.worldto
Programmer Humor@programming.dev•The government doesn't use SQL
7·1 year agoIsn’t that assuming you have access to doing arbitrary SQL queries on the database? Then you’d by definition have access to records you shouldn’t.
asdfasdfasdf@lemmy.worldto
Programmer Humor@programming.dev•The government doesn't use SQL
61·1 year agoJust curious, but if SSNs were not recycled after death, would there be any reason not to use them as a primary key?
asdfasdfasdf@lemmy.worldto
Programmer Humor@programming.dev•Why do people faint at the sight of plain-text code?
11·1 year agoTake a look at Rust. It’s what I’d call an exceptionally well defined language.
asdfasdfasdf@lemmy.worldto
Programmer Humor@programming.dev•Let’s just add one more feature
2·1 year agoHow do code reviews work with contractors? Is it just “you don’t get paid until we approve it”?
asdfasdfasdf@lemmy.worldto
Programmer Humor@programming.dev•Let’s just add one more feature
4·1 year agoTop pic is a Mutex and bottom is lock-free concurrency.

$564,000 / year??? I’d think definitely two, maybe three.