HNHacker News
TopNewBestAskShowJobs

ronenlh

275 karma · joined May 28, 2015

submissionscomments
ronenlh··on Can You Become a 10x Developer by Writing a Tech Blog?
Agree, the article mentions this in a way:

> There are many ways to do so: race others in ranked online challenges, try to solve hard programming riddles, or study new paradigms. However, most programmers, whose work involves a form of writing, overlook writing itself.

The point is that sometimes that "doing" doesn't advance you, as it's not challenging anymore. Writing can be a form of deliberate effort to improve in your craft. There are many other ways to improve, the post focuses on one.

ronenlh··on A little trick to spam the spammers (2021)
this simple behavior can be applied today to unsubscribe from “noreply@” emails and it’s not done
ronenlh··on Apple says they're removing my game because it's more than 2 years old
Similar current Twitter thread on the same issue:

https://twitter.com/lazerwalker/status/1517849201148932096?s...

ronenlh··on Show HN: Top headlines of the world to start the day
I was hoping for 5, but got hundreds
ronenlh··on The Thirteen-Factor Team
This is a unusual post for me, as is the first one I write on methodologies as opposed to technologies. Constructive criticism welcome.
ronenlh··on The fastest GIF does not exist
Great writing and research. You added great examples to make it clear, both in code and gifs. It was both fun to read and interesting. I was surprised to see Netscape running, I might try as well to play with the first JavaScript.
ronenlh··on How the Boeing 737 Max disaster looks to a software developer (2019)
> The purpose of MCAS is to give the MAX the same aircraft handling characteristics so that it retains the original 737's type rating.

The article mentions that prominently in a few paragraphs, this is the first one:

“That's because the major selling point of the 737 Max is that it is just a 737, and any pilot who has flown other 737s can fly a 737 Max without expensive training, without recertification, without another type of rating.”

ronenlh··on From TypeScript to ReScript
Yes and no. The syntax has been updated to make it less OCaml and more JavaScript-like.

ReasonML can compile to native, rescript can’t. Reason still exists as a separate project, and projects that have been rewritten into reason will not necessarily switch.

ronenlh··on From TypeScript to ReScript
Typescript is “breath-first,” you can convert your entire project to typescript in a minimal pull-request. Gradually adopting the syntax.

ReScript requires a lot of commitment, as you have to completely rewrite each module to 100% comply with the type algorithm.

Typescript even transpiles when it encounters type errors.

ronenlh··on From TypeScript to ReScript
Amazing in depth overview.

There are useful comments in my (shameless plug) post about my same transition:

https://news.ycombinator.com/item?id=25845147

ronenlh··on Ask HN: Can you relax without a screen?
Nice writing
ronenlh··on Do Not Log
I’ve seen too many times logs used as assertions in tests.
ronenlh··on Google no longer producing high quality search results in significant categories
If one had all the resources, what should be done to make the web searchable/indexed in a relevant way?
ronenlh··on iPhone camera app replaces person’s head with a leaf in photo
Can this be an argument for plausible deniability in court?
ronenlh··on macOS Setup after 15 Years of Linux
> So here I noticed a major difference in how Homebrew seems to work compared to Arch Linux for example. On Arch Linux applications are built from source code centrally instead of relying on binaries from a vendor.

Homebrew also builds from source, but it uses cached builds they call bottles. I believe other package managers that build from source also used cached builds, I don’t know about Arch.

ronenlh··on Maybe we could tone down the JavaScript (2016)
I believe it’s because programmers write websites, and when you have a hammer everything looks like a nail.

With webassembly we might start seeing compiled websites and we’ll miss the good old days of simple JavaScript.

ronenlh··on Ask HN: What's the next big thing in computing / programming?
Someone already mentioned Unity as ahead of the curve.

I was impressed by it being a “Framework IDE.” It contains hundreds of visual tools and workflows where actual source code files are a small component which you drag and drop into widgets. Each widget is a visual representation of a class, and it’s source code is irrelevant.

Some of these tools are visual state machines, reactions to events, version control, collaboration. Most of us won’t like that change, as we’d lose a lot of control to opinionated rigid tools.

Maybe XCode and Android Studio will evolve to that for the next generation of developers.

ronenlh··on Ask HN: How to optimize your career for happiness?
I don’t remember the source of the study, but commutes are one of the most important factors in happiness at work. Optimize for short pleasant commutes on bike or train, as opposed to bus or car.
ronenlh··on BusKill – A USB kill cord for laptops
Reminds me of the story of the arrest of Ross Ulbricht, where his open laptop was snatched away from him in a library by undercover FBI agents, while logged in and chatting as DPR. I recommend reading the whole story, this is in part 2 (https://www.wired.com/2015/05/silk-road-2)

DPR is Dread Pirate Roberts from Silk Road.

“What unfolded next was a piece of improvisational theater. At 3:14 pm, DPR was typing away, writing to Cirrus. Just then, a middle-aged woman and man came toward Ross, ambling along in the kind of semihomeless shuffle you might often see in a San Francisco library. “Fuck you!” the woman yelled when they were directly behind Ross’ chair. As if they were a deranged couple about to fight, the man grabbed the woman by the collar and raised his fist.

Ross turned around for just a second, during which a hand reached across the table and grasped Ross’ Samsung. The petite, unassuming young Asian woman sitting across from Ross this whole time was, to everyone’s surprise, also an FBI agent. Ross lunged for his machine, a hair too late, as she turned like a quarterback for a quick handoff to Kiernan, who appeared out of nowhere—as instructed—to get the laptop. It took less than 10 seconds. From afar, Tarbell was astonished by the elegant choreography of the whole thing. It looked like the police procedural version of a tight jazz quartet.”

ronenlh··on Ask HN: Do you still use Clubhouse app?
I left Twitter because I got bored of the conversation, too much noise and irrelevant chatter. When I joined clubhouse I was disappointed to see the same people and chatter, and a lot of crypto everywhere.

It also felt somewhat formal, I felt uncomfortable seeing myself as a listener in a square. It was ambiguous whether I was a passive listener or I had the possibility to be active. I have a thick accent so I prefer to communicate by chat.

ronenlh··on I started a paper website business
Crazy:

“ The error does occur because image segments, that are considered as identical by the pattern matching engine of the Xerox scan copiers, are only saved once and getting reused across the page. If the pattern matching engine works not accurately, image segments get replaced by other segments that are not identical at all, e.g. a 6 gets replaced by an 8.”

ronenlh··on We check our node_modules folder into source control
Specifically, it’s the zero-installs philosophy. It’s linked from the url you shared.

https://yarnpkg.com/features/zero-installs

It’s also compares this with checking node_modules into git

ronenlh··on Gigablast Search Engine
Hi @gbmatt, amazing work!

What is the business history of it? Did companies /investors show interest in acquiring it? What do you think needs to be done in terms of business development to extend the index to cover the modern internet, as well as get whitelisted (and shortlisted) properly by cdns?

ronenlh··on Ask HN: How has exercise changed your outlook on life?
Much better mood and self-confidence. I feel attractive, and that helps in interactions, and capable of handling challenges as I feel stronger.

I feel physical progress rather than decay, so I feel confident of a healthy future for myself. Group exercise has also helped me socialize.

A regular schedule has helped me feel satisfied of the week, and enjoy more my rest days.

ronenlh··on The Best Way to Hug Someone, According to Science
According to uppercased Science (science.org), while science.org has the same story in lowercased science.
ronenlh··on You can't download this image
Me too
ronenlh··on Understanding Kafka with Factorio (2019)
Here’s the HN discussion for Bartosz Milewski’s analysis of Factorio, where he shows functional counterparts in Haskell of Factorio’s patterns:

https://news.ycombinator.com/item?id=26157969

https://news.ycombinator.com/item?id=29299140

ronenlh··on How JavaScript engines achieve great performance
Rescript is sane but I wouldn’t all it simpler. It can be really hard to do trivial stuff with it. I felt I had to study OCaml to understand it.
ronenlh··on In the 17th century, Leibniz dreamed of a machine that could calculate ideas
Your brain is not Leibniz’s machine nor the algorithm sought upon in the Entscheidungsproblem.

Your brain also doesn’t infinitely recurse as it doesn’t have infinite time or space.

A machine that given a logical statement outputs whether the statement is universally valid is impossible, ergo all mechanisms that don’t output true or false given a logical statement are impossible??

ronenlh··on In the 17th century, Leibniz dreamed of a machine that could calculate ideas
Good clarification
Page 1 of 3Next →