HN user

sharno

446 karma
Posts56
Comments121
View on HN
axiom.co 3mo ago

The Sortable interface: Teaching every column type to sort itself

sharno
2pts0
news.ycombinator.com 4mo ago

Ask HN: Is there any CLI or MCP tools for filing US taxes?

sharno
1pts1
gist.github.com 6mo ago

Ralph Driven Development

sharno
2pts0
brooker.co.za 8mo ago

Is the Mean Useless?

sharno
4pts0
www.youtube.com 11mo ago

Java will get Haskell's type classes

sharno
7pts2
httpyac.github.io 1y ago

Quickly and easily send REST, SOAP, GraphQL and gRPC requests

sharno
2pts0
twitter.com 1y ago

A blind developer cannot register a new app on the App store by himself

sharno
9pts2
www.youtube.com 1y ago

Valhalla – Java's Epic Refactor [video]

sharno
4pts0
www.nushell.sh 1y ago

Nushell 0.100.0

sharno
1pts0
www.youtube.com 1y ago

Elm and the Future of Open Source (With Evan Czaplicki)

sharno
1pts0
github.com 1y ago

Hok: A CLI Implementation of Scoop in Rust

sharno
2pts0
old.reddit.com 1y ago

uBlock Origin is no longer available on Chrome web store

sharno
233pts126
www.youtube.com 1y ago

Warehouse Tour, RI Computer Museum – 'Puter Smith [video]

sharno
1pts0
www.youtube.com 2y ago

Snapdragon X Elite laptop battery test vs. similar Intel versions vs. MacBooks [video]

sharno
1pts0
github.com 2y ago

Livecodes.io: open-source, client-side code playground for 80+ languages

sharno
2pts0
forum.subscene.com 2y ago

Subscene.com Is Shutting Down

sharno
4pts1
twitter.com 2y ago

Paul Graham wrote an Arabic word processor in 1982 or 83

sharno
2pts0
www.youtube.com 2y ago

CNN's Clarissa Ward visits a Gaza hospital, this is what she saw [video]

sharno
4pts1
twitter.com 2y ago

How to make an oven using an oil can

sharno
1pts2
smallcultfollowing.com 2y ago

Moving from borrowed data and the sentinel pattern in Rust

sharno
3pts0
www.wired.com 2y ago

The destruction of Gaza's internet is complete

sharno
141pts554
en.wikipedia.org 2y ago

UMkhonto We Sizwe

sharno
1pts0
twitter.com 2y ago

Using car batteries to charge phones in Gaza

sharno
9pts0
www.nushell.sh 2y ago

Nushell turns 4 years old

sharno
2pts0
www.youtube.com 2y ago

New Anti-Consumer MacBook Pros – Teardown and Repair Assessment [video]

sharno
53pts42
downdetector.com 3y ago

WhatsApp Is Down

sharno
9pts1
twitter.com 3y ago

Why airline websites’ authentication sucks?

sharno
1pts2
www.youtube.com 3y ago

A library of mechanical engineering mechanisms

sharno
2pts0
sharno.substack.com 3y ago

React is hostile to the outside world

sharno
18pts14
perfectionkills.com 3y ago

The poor, misunderstood innerText (2015)

sharno
112pts28

I'm surprised nobody mentioned types or type systems as one of the best solutions for eliminating fear. Out of all the systems that worked on, the ones that were changed fearlessly were stuff written in Haskell and Purescript. That was before Rust became so popular. These systems were changed fearlessly and we had very minimal tests. The code reviews were much easier to perform as you don't tend to check if the code might throw exceptions but you just need to think about business logic.

These days I'd argue that Rust is at the same level of Haskell and Purescript in fearlessness.

Some languages that removes certain fears:

- Kotlin: removes the fear of null exceptions

- Go: removes the fear of forgetting about an error that this function throws

- Languages with ADT (Haskell, Rust ... etc): remove the fear of missing a case

Also don't forget about:

sleep: bed, mattress, pillow, sheets ... etc

workout: gym membership, bike, ... etc

food: organic, heirloom, natural ... etc

I'd claim that this is a logic that comes from rich, first world countries where you don't need to prioritize things in life much, as you can mostly afford everything. Poor people have to think thoroughly about everything they spend money on.

What I noticed too for pushing the for loops down is that more functions start taking list of things instead of one thing. This makes it easier down the path when a requirement change and we need to handle multiple things instead of one thing with the same code logic. It decreases overall change in the codebase.

My battery with FF on a Macbook Pro with M2 still lasts less than the same device with Chrome. Hope this improves soon.

Ofc, Safari beats them both but I hate Safari's plugins system so I need a browser that doesn't need an AppleID to install plugins.

If you were taken a hostage by terrorists, the government is trying to free you, would you prefer them to:

- kill the terrorists and you OR

- stay with the terrorists until the government figures out a peaceful way to free you first before attempting to kill the terrorists?

Another Q: If you were living in a certain city, they found out that there are terrorists around your house, maybe they dug a tunnel close to you, would you prefer:

- the army carpet bombing the area?

- the army attempty by other means to get rid of the terrorists?

* A hypothetical questions, not wishing you any harm

Have you read the linked page?

Adam and Moodley cite the marriage law as an example of how Arab Israelis "resemble in many ways 'Colored' and Indian South Africans".[237] They write: "Both Israeli Palestinians and Colored and Indian South Africans are restricted to second-class citizen status when another ethnic group monopolizes state power, treats the minorities as intrinsically suspect, and legally prohibits their access to land or allocates civil service positions or per capita expenditure on education differentially between dominant and minority citizens."

The language and way of writing feels very weird. The concepts are simple genetics but for some reason I don’t get the idea of underlying type. Wish they used a more formal language

It's ridiculous to me that the most popular languages from the last 20 years or more are the ones that handicapped. They have `and` types but not `or`.

It sounds like a very basic logic tool that's needed for types.

Go 1.21 Released 3 years ago

Interesting, didn't think about closures in Python before. It seems that JS has the same behavior.

Java forces you to final copy the variable.