HNHacker News
TopNewBestAskShowJobs

bmm6o

1,797 karma · joined June 10, 2009

meet.hn/city/us-Huntington-Beach
submissionscomments
bmm6o··on A Design Space Exploration of Async/Await
C# has Task.FromResult(), which is useful if you are implementing an interface that allows async work but your implementation doesn't require it. I believe the runtime will check for this case and continue execution. It's better for the cache to keep executing the current task on the current thread.

I don't really understand gp's point. From inside the code, you can't tell if there was a pause or not. Clock time or thread id are heuristics, but you can't really be sure.

bmm6o··on StubHub, CEO hit with ‘deceptive practices’ class action over mass scalping
Those arbitrageurs who extract payment without adding value should not be surprised when people are upset and demand changes.
bmm6o··on Backpressure is all you need
I took the analogy to be about the location of the pressure and not the direction. If you allow pressure to build on the input pipe when you can't accept more, the component that is upstream in the flow is able to observe that and respond. Maybe the difference is I envisioned a series of pipes and not a single one.
bmm6o··on Citing 'severe' math deficits, UC faculty demand a return to SAT tests for STEM
You mean the culture of cutting funding from under performing schools to enforce a downward spiral and divert money to private schools? If not you should be more specific.
bmm6o··on Maladaptive Frugality
Let's say that each month I have an extra $1000. Should I use that money to pay down a 4% mortgage, or should I invest it in an index fund that is all but guaranteed to earn more than that?
bmm6o··on Regex Blaster
Automated accessibility testing needs to be in your loop, whether you are using an llm or not. Aria labels are easy to get right but they are also easy to forget.
bmm6o··on Python 3.15's JIT is now back on track
There are documented ways to ensure that changes are visible across threads (e.g. locks). If these are not used, the compiler is within its rights to not go out of its way to pull changes from another thread.
bmm6o··on Private Equity's New Venture: Youth Sports
Right, it's pretty inevitable given the incentives. I think it's made worse by PE for a few reasons. They are investing with relatively short time horizons because they will need to sell to pay profits. So the long term health of the business is of no interest. If the reputation of the business suffers, that's someone else's problem. Compared to an individual investor who is looking long term, they need to retain customers and reputation.
bmm6o··on Compiling Ruby to machine language
It probably still sucks in C, but the C++ DX got a lot better. Importing the idl would generate wrapper functions that made calling code look much more like a normal function. It would check the hresult and return an out param from the function. They also introduced types like _variant_t that help boxing and unboxing native types. It still wasn't fun but it greatly reduced line count.
bmm6o··on Venn Diagram for 7 Sets
One example included the empty set, the other did not. It doesn't always make sense to have it.
bmm6o··on When I say “alphabetical order”, I mean “alphabetical order”
I mean, if you're running regedit at all you are not a casual user.
bmm6o··on Why haven't local-first apps become popular?
Exchange server accepts or rejects meeting requests. There's no offline room reservation so it's pretty simple.
bmm6o··on Belling the Cat
This is a community that values a high signal to noise ratio and generally eschews small talk, a la nohello.org. Congratulating someone for learning something does not advance the conversation.

It also has a low tolerance of what it perceives as reddit- style in-group signaling via repetition of a common meme (xkcd, in this case). Again noise vs signal but also suspicion of karma farming.

bmm6o··on Use Bayes rule to mechanically solve probability riddles
There's also the cultural context of Monty Hall being a real person who had a real game show, on which he really opened doors with goats behind them. Most readers of her column would have been familiar with the mechanics of the show. And the question doesn't really make sense if there's a chance that he opens the door with a prize, there's no more hidden information in that case.
bmm6o··on Creating beautiful charts with JRuby and JFreeChart
What you should really track and chart is your downtime.
bmm6o··on Can Earth's rotation generate power? Physicists divided over controversial claim
Also relevant is that the oceanic bulge is along the elliptic, but the earth's axis of rotation is tilted. So the effect can vary by latitude.
bmm6o··on Can Earth's rotation generate power? Physicists divided over controversial claim
The short answer is that there would still be tides without rotation, but with a period based on the lunar cycle. We have daily tidal effects, the moon can't do that by itself.
bmm6o··on Edgar Allan Poe's life was a mess. But his work was in his command
What's interesting is that Poe is not in the Altered Carbon book. The hotel was called the Hendrix and its avatar was Jimi the guitarist. They couldn't get image rights for the film, so had to change it. But i agree that atmospherically and thematically Poe is a better fit.
bmm6o··on 3,200% CPU Utilization
I've seen this in production C#. Same symptoms, process dump showed a corrupt dictionary. We thought we were using ConcurrentDictionary everywhere but this one came in from a library. We were using .net framework, IIRC .net core has code to detect concurrent modification. I don't know how they implement it but it could be as simple as a version counter.

It's odd he gets so hung up on npe being a critical ingredient when that doesn't appear to be present in the original manifestation. There's no reason to think you can't have a bug like this in C just because it doesn't support exceptions.

To me it's all about class invariants. In general, they don't hold while a mutator is executing and will only be restored at the end. Executing another mutator before the invariants are reestablished is how you corrupt your data structure. If you're not in a valid state when you begin you probably won't be in a valid state when you finish.

bmm6o··on Inheritance and Subtyping
It seemed really encouraged in early Java. I think C# picked it up more to support mocking for unit testing.

The Go approach is a breath of fresh air when it comes to mocking and testing.

bmm6o··on The intricacies of implementing memoization in Ruby
Right. Also note that the non-optimized implementation boils down to computing F(n) = 1+1+1+1+...+1, with a function call tree that has 2F(n) nodes. So no matter what the relative cost is for addition and function calls, the total time should go like F(n).
bmm6o··on A made-up name is better than no name
The 'p' is for print.
bmm6o··on Turkish language has a gossip tense
Not only all the phrasal verbs, but that there is no parallelism across usage. Take up, take down, take off versus break up, break down, break off. Knowing the meaning of some of those doesn't really shed light on the meaning of any others.
bmm6o··on Ask HN: What book have you given as a gift?
Gave my nephew the Hitchhiker's Guide and Surely You're Joking this past xmas.
bmm6o··on The $100M Deal for Kickstarter to use Blockchain
Archive link: https://web.archive.org/web/20240311163832/https://fortune.c...
bmm6o··on Review: Chris Dixon's Read Write Own
I thought HN was supposed to combine duplicate submissions.
bmm6o··on How Quora died
This is exactly it. Even at its height, it felt like everyone was trying to build a brand and a following, and that was the primary motivation for the answers.
bmm6o··on The optimal amount of fraud is non-zero (2022)
I wonder if it's the phrasing rather than the actual idea that sets people off. Many readers here understand the increasing costs of pursuing higher SLI targets, but I doubt many of them would express it as "the optimal level of availability is not 100%".
bmm6o··on Meta to charge for ad-free versions of Facebook and Instagram in Europe
Mine was like that too. I started using the "I don't want to see this" flag pretty aggressively, and outright blocked a lot of accounts I had no interest in. It has worked pretty well - aside from some ads, my feed is from people I follow. I thought they weren't posting, but it turns out the algorithm was prioritizing NBA memes and other crap.
bmm6o··on π in Other Universes
The polar diagram shown there is what should replace the ellipse in TFA. It's far more complicated than a simple geometric shape since it has to account for such practicalities as sail inventory.
Page 1 of 32Next →