HNHacker News
TopNewBestAskShowJobs

mb7733

952 karma · joined December 19, 2019

submissionscomments
mb7733··on How we upgraded our 4TB Postgres database
I don't think that is a valid comparison. Static typing doesn't reduce throughput. It's almost the opposite.
mb7733··on New on Reddit: Comment search, improved search results relevance, search design
How can you offer a counter example to such a vague claim?
mb7733··on Inside the longest Atlassian outage
At least in that case, Slack is the better option. While using Jira is a worst-case scenario.
mb7733··on Unit Testing is Overrated (2020)
> Good! They shouldn't do the refactor.

> Because "obvious" refactors often introduce bugs (e.g. copy/paste errors), and if developers can't be bothered to write tests to catch them, they're going to screw over the other team members and users who will be forced to deal with their bugs in production.

In my opinion, useful tests should be able to survive a refactor. That is the only sane way I've ever done refactoring.

If I'm doing a large refactor on a project and there are no tests, or if the tests will not pass after the refactor, the first thing I do is write tests at a level that will pass both before and after refactoring.

Rewriting tests during refactoring doesn't protect from regression on my experience.

mb7733··on Man discovers that his wife is the best Tetris player (2007)
A key detail you omitted:

>Major League Baseball chose not to pause the season to allow its biggest stars to play in Tokyo, with the Americans made up of minor league players.

mb7733··on Fossil
Yeah interactive rebasing is such a fundamental part of how I work with git, that's a total deal breaker. It's how you both "commit early and often" and leave a logical chain of commits behind in the end.

Without the ability to rewrite local history, you're either not commiting often (risky) or leaving long streams of poorly documented "work-in-progress" commits in the main project history.

mb7733··on Hooks Considered Harmful
Why would you need useMemo in a class component? You can just attach a memoized instance of the function to the component
mb7733··on Upcoming Python features brought to you by Python Enhancement Proposals
The author of the article missed the point entirely. The feature allows default arguments to be set to the _result_ of a function call (that may or may not depend on other arguments).
mb7733··on Why won’t anyone teach me math?
I'll pile on another common application of eigenvectors and values that hasn't been mentioned: principal component analysis in statistics/machine learning.
mb7733··on Show HN: EdgeDB 1.0
How is it like MapReduce at all?
mb7733··on An ancient geometry problem falls to new mathematical techniques
That proof is just plain incorrect, though. It will break down when trying to prove this statement:

>Perimeter of the cut square (4) matches the circumference of the circle (pi)

Calculus will show that the area of the fractal approaches the area of the circle. But it will not show that the perimeter of the fractal approaches the circumference of the circle. It remains 4 at every step in the iteration, so the limit is still 4.

mb7733··on Why isn't there a replication crisis in math?
> Since proofs are programs one can basically say that mathematical theorems are incredibly detailed software that is completely open source and invites people to identify programs that don’t work and or fix issues.

I don't think it's that straightforward; proofs in papers are a mix between explanation in natural language and mechanical steps. Not every step of deduction can feasibly be written out. That's part of why computer aided proofs are not that popular in math.

mb7733··on A “Sideways” supply response in California winegrapes
Doesn't research show that even wine experts cannot do that?
mb7733··on The Shameful Decline of Scientific American
Can you provide a reference or at least a quotation or something? Which book are you referring to? This is the same thing the author of the article did -- dragged Wilson through the mud without actually quoting him or referring to any specific work.

I found a reference [0] where Wilson discusses slavery, but he's talking about slavery in ants. The only actual quotation [1] I've found anyone bring up in this discussion shows Wilson had views the exact opposite of what you imply.

[0] https://www.jstor.org/stable/2407145

[1] https://twitter.com/LSMitchell/status/1476447156118638594?s=...

mb7733··on The Shameful Decline of Scientific American
The article called someone a racist, days after they passed away, without presenting any evidence of that fact. (The original article does not cite or refer to any of Wilson's work.) When asked on Twitter to provide some evidence of Wilson's racist views, the author of the article declined to provide any. She said that readers should look it up themselves. That isn't sober critique, it's slander.
mb7733··on Want to be an actuary? Odds are, you’ll fail the test
British Columbia forces you to buy liability insurance from the provincial government and it's awful. The premium calculations are illogical and inefficient. Bad drivers are subsidized by good ones, the rates are among the highest in the country and the govt manages to lose money on it.

My experience in other provinces with private insurance companies was much better.

mb7733··on What it's like to ride 900 km in a day
Absolutely, it does feel like night and day relative to the amount of effort you have to put it. Especially cause the cyclists are sitting down!
mb7733··on What it's like to ride 900 km in a day
I am also surprised at how far the skateboarders can go, but to be fair your estimate of 5-10x is way too large.

The cyclist in this case averaged 37.5 km/h, which is really impressive over 24 hours. 5-10x slower would be 3.75-7.5 km/h, so somewhere between a very slow walk and a very, very slow jog.

Plus, the skateboards they are using are not going to be regular ones but purpose built and similar to downhill longboards.

mb7733··on What it's like to ride 900 km in a day
That's exactly what it means. I guess 10% wasn't worth doing 3600 laps on a velodrome. I can see why.
mb7733··on Etsy’s Journey to TypeScript
What is the cost?
mb7733··on Ask HN: Why is the Spotify UX so horrible?
I have this exact same issue with Spotify. It's to the point where I'm going to cancel it.

You can't even organize your library aka "liked songs" by artist any more. Instead they introduced a separate (initially empty) Artists section, which isn't synchronized with your library of liked songs, or the albums page. It's insane.

I miss the UX of Napster/iTunes/winamp/rythmbox etc so much.

mb7733··on Security issue related to the NPM registry
There was no package manager for JS before JS began to become popular on the backend with the release of node. NPM stands for node package manager after all.
mb7733··on Debit cards are hidden financial infrastructure
Even if things are taken care of in the end, with debit fraud the money leaves your bank account immediately and then it is up to you to make sure you get it back.

With credit card fraud it won't get to the point -- you dispute the charges before paying them back.

mb7733··on Ask HN: I'm making like 0 friends at college, how to fix it?
Why does it make you angry?
mb7733··on The wealthiest 10% of Americans own a record 89% of all U.S. stocks
Let them eat cake?
mb7733··on Fast rebases with git-move
I don't even think that rebase would get slower as the repo grows. It would only depend on how many commits are being rebased (and the contents of those commits).
mb7733··on JSFuck (2012)
It's because it _is_ working javascript. It's just obfuscated, taking advantage of the quirks of javascript's implicit type casting to represent expressions in odd ways. Look at the "basics" section of the page to get an idea of how it works on a small scale.

Brainfuck is an unrelated, separate programming language.

mb7733··on No One Wanted A&W's Third-Pound Burger (2016)
It's a 1/12th of a pound more.
mb7733··on 1Password for Mac Moving to Electron
Doesn't Bitwarden also use electron?
mb7733··on Git-blame-someone-else
Well for one thing, the unscrupulous employee would need to have force push permissions to the origin repo.

Even if they they did, once they change the history change, other developers working with the repo would be alerted of the remote branch changing out from under them next time they try to pull. And even if the change doesn't result in a conflict, and each of those other devs blindly accept the resulting merge, the original authors' commits will still be in the history resulting from the merge. So if those developers ever pushed anything, the original commits would be re-introduced.

Now, it could be abused if a single developer inherits a project that nobody else has checked out. But it's still a high risk strategy for the unscrupulous dev.

← PreviousPage 9 of 12Next →