HNHacker News
TopNewBestAskShowJobs

mbroshi

536 karma · joined January 9, 2015

submissionscomments
mbroshi··on Going Dark, and the era of law enforcement hacking
> In the real world, it does feel likely that we’re going to hit some sort of a ceiling on the number of useful bugs, and probably we’ll hit it soon.

This doesn't resonate with me. I see companies adding more sloppily written features with AI. I see more bugs in the software I use, not less. While it's plausible that software is getting both buggier and more secure, I suspect those two move in the same direction not opposite.

My guess is that we're getting better at finding _existing_ security issues with AI (and thus fixing those issues), but simultaneously adding more insecure surface areas _at a faster rate_.

mbroshi··on Show HN: Probabilistic Tic-Tac-Toe
Brilliant! Makes a simple children's game very interesting. One aspect I really enjoy is that it makes clear the knee-jerk response towards action bias[0]. There are times when your opponent has two-in-a-row, but the probability of a frown on the third is > 50%, in which case it's in my interest to have my opponent click on the third square instead of me (but even knowing that cognitively, it's still hard to not action).

[0]: https://en.wikipedia.org/wiki/Action_bias

mbroshi··on 85% of Neuralink implant wires are already detached, says patient
https://web.archive.org/web/20240521193946/https://www.popsc...
mbroshi··on Show HN: The Sage Programming Language
FYI, Sage is also the name of a mathematical programming language: https://www.sagemath.org/
mbroshi··on Two men die in Ironman Cork competition in Ireland
There's an implicit assumption that the organizers would cancel the race if conditions are unsafe. E.g., when I go on a rollercoaster, I assume engineers have calculated the safety better than I could ever evaluate
mbroshi··on The Peecyclers
Sounds like an interesting--although presumably not easily and quickly scalable--solution to fertilizer shortages. I am dubious about the environmental improvement. According to a meta-analysis[0], chemical fertilizers produce less ammonia emissions

> However, ammonia emissions, nitrogen leaching and nitrous oxide emissions per product unit were higher from organic systems.

Basically, chemical fertilizers are much more efficient and have more uniform distribution of nutrients.

[0]: https://www.sciencedirect.com/science/article/pii/S030147971...

mbroshi··on Longbet: By 2027, software will be metered/sold by the second
I see a lot of doubters, but the bet is still open. If you're so doubtful, go ahead and put your money where your mouth is!
mbroshi··on Do Not Recommend: User Provided Primary Keys
> Did you use a regex to verify the data looks like a uuid before putting it into the database?

Is that really a thing? I have used UUIDs as primary keys many times in my life, and never had a need to do such a thing. I am struggling to even think of a valid use case.

mbroshi··on Ask HN: Quit caffeine? Before and after anecdotes
This is something I have thought about a lot.

I have had coffee daily, gone months without any caffeine, and currently average about one cup of coffee every week or two.

I think the best approach is experimental and data-driven. Everyone has different genes, life circumstances, sleep quality, etc., so it's hard to deduce too much from others' anecdotes. Once a week, I do a version of the Beck Depression Inventory[0] to measure my mood over the previous week. For me, daily coffee definitely causes me to be slightly depressed. I have found a cup when I really need it (which is about once every week or two) is ideal. But, whatever it is you want to optimize for (lines of code, happiness, sleep quality, etc.), make sure you are measuring, and then start experimenting!

[0]: https://en.wikipedia.org/wiki/Beck_Depression_Inventory

mbroshi··on Major breakthrough on nuclear fusion energy
As Tyler Cowen always responds to headlines like this: "If it’s true, why isn’t the price of oil down?"
mbroshi··on Show HN: Tuchu – Automatically highlight the important parts of a document
This is a great idea! I tried it on a 200-page document [1], and it took over a minute to process in my browser, and the result seems to be about 75% highlighted. Not sure if it's the "math-ese" or length that is the issue.

One cool thing is that it highlighted both the same sentences in English and French. I presume you translate the text before analyzing.

[1] https://www.math.mcgill.ca/darmon/theses/leahy/thesis.pdf

mbroshi··on We deleted the production database by accident
I love this post. This sort of thing happens to everyone, most people just are not willing to be so open about it.

I was once sshed to the production server, and was cleaning up some old files that got created by an errant script, one which file was '~'. So, to clean it up, I type `rm -rf ~`.

mbroshi··on $7.5k Google services mix-up (2018)
I think the link should be here: https://www.ezequiel.tech/2019/01/75k-google-cloud-platform-...

And the date should be (2019)

mbroshi··on The human body’s remarkable ability to adapt to the cold
I wonder why the body needs to move to stay warm. Seems like a waste of energy. If I were to "design" the body, I'd make automatic heat generation one of my MVP features.
mbroshi··on Changing Our Approach to Anti-Tracking
My favorite hidden feature in Firefox is having multiple profiles[0],[1]. Unlike containers, profiles have separate bookmarks, extensions, etc. I have found profiles even more useful than containers for development.

[0] about:profiles (paste into URL bar in Firefox)

[1] https://support.mozilla.org/en-US/kb/profile-manager-create-...

mbroshi··on Periodic fasting starves cisplatin‐resistant cancers to death
Somewhat perpendicular, but intermittent fasting has been a great recent lifehack for me. I skip breakfast every day, and sometimes skip lunch. Gives me back at least an hour every day. And gorging for dinner is a lot of fun.
mbroshi··on Showdown: MySQL 8 vs. PostgreSQL 10
There are functional benefits for having UUIDs as a primary key, but yes there are performance impacts on writes and ORDER BY. The best way to find out how it will impact your application is to have performance tests in place, and test out the primary key change in a development environment. I do not think you'll able to determine the impact on performance/scalability based on "pure thought".
mbroshi··on Showdown: MySQL 8 vs. PostgreSQL 10
It's pretty unlikely to get a collision[1], and the client should be able to handle the gracefully (regenerate the UUID and retry).

[1] https://www.quora.com/Has-there-ever-been-a-UUID-collision

mbroshi··on Ask HN: Anyone making money through algorithmic trading?
I wonder whether the premise of your question is faulty. If you ask enough people: "In your last 100 flips of a coin, did you get more than 60 heads?" some will truthfully say "Yes." Unfortunately, that does not mean there's anything special about their coin-flipping strategy, or that you will be able to generate a successful coin-flipping strategy.

My guess is what you really want to know is "What is my expected gain if I try to employ an algorithmic trading strategy?" I have my suspicion of the answer to that question, but I don't believe your current question will shed any light on the answer.

mbroshi··on Why can’t women get pregnant without the menstrual cycle? (2016)
Apparently some mice do menstruate[1]. Do mice have another mechanism for handling the issue the author raises: "What to do when the embryo died or was stuck half-alive in the uterus?"

[1]: https://www.nature.com/news/first-rodent-found-with-a-human-...

mbroshi··on Slack is down
I believe OP's point was that aggregating crowd-sourced reporting of outages is surprisingly accurate and prompt, not that there aren't any other tools for reporting outages.
mbroshi··on Feature comparison of ack, ag, git-grep, GNU grep and ripgrep
Nice feature-level comparison.

Don't know how you'd pull it off in the current tabular format, but would be great to include some of the UX side of things: For example, I use rg almost exclusively because it has an easy-to remember syntax (`rg search-string` is a recursive search), attractively colored and well-organized output, and seems much faster compared to other tools in my use cases.

mbroshi··on Emergency rooms are monopolies
In order to open a new hospital in most jurisdictions, by law you need the permission of other local hospitals [0]. That's like being required to get the permission from Google to start a new search engine.

0. https://en.wikipedia.org/wiki/Certificate_of_need

mbroshi··on What's killing us?
As pointed out in the comments section, the chart does not account for years of life lost, simply numbers of lives. I'd be interested with whether the ex-post explanation still applies if we did a simple transformation like weighted each category by average age of death. Suicide, homicide and drugs skew a lot younger than heart disease.
mbroshi··on White House Looks at Replacing Social Security Numbers
You've just rediscovered the premise of David Eggers's The Circle

https://en.wikipedia.org/wiki/The_Circle_(Eggers_novel)

mbroshi··on Switching to e-cigarettes could save 6.6M American smokers
For those looking, I believe the actual research article is here:

http://tobaccocontrol.bmj.com/content/early/2017/08/30/tobac...

mbroshi··on Random Ideas
A lot of people are remarking on particular ideas. Before you do this, make note of the following points:

1. The author is posting one of these lists EVERY DAY(!)

2. The author puts in the About: "Since ideas are useless if you don’t share them with the world, I decided to post them here. If you like any of them, go for it, make them."

3. Also in the About: "Sometimes interesting, sometimes thought provoking, and often enough pretty stupid. The point is to get the brain thinking, to exercise the brain muscle...All of them are original, as in I thought of them, but many may not be novel, as you know what they say, geniuses think alike :)"

mbroshi··on Chrome's 'Secure' indicator was designed to make users proceed on any HTTPS site
This sounds ad hominem to me. While it's certainly worthwhile to consider Certsimple's motivations when reading the article, I actually found their case pretty compelling.
mbroshi··on Privatize the Interstates
TLDR: Government makes trillions by auctioning off the interstates, and uses the money to fund a universal basic income. Should be equally popular for both free market and socialist sorts.
mbroshi··on 14 People Make 500K Tons of Steel a Year in Austria
"The factory of the future will have only two employees, a man and a dog. The man will be there to feed the dog. The dog will be there to keep the man from touching the equipment." - Warren Bennis
Page 1 of 2Next →