HNHacker News
TopNewBestAskShowJobs

mwt

161 karma · joined December 21, 2021

submissionscomments
mwt··on How to write a Git commit message (2014)
GitHub (by default) uses the name of the PR as the merge commit message and also includes the commit message of each commit in the log. Having whitespace-altering "Dummy commit to trigger CI, ugh!" commits in a git history isn't good but it still clutters the `git log` with stock squash+merge GitHub use.

I can't speak for everybody, but if GitHub goes down completely and I only had access to my git logs, I'd struggle to recreate ~20% of the information scattered across issues and PRs. This issue is external to merging preferences, but it's definitely not solved by squash-merges and descriptive merge messages.

mwt··on How to write a Git commit message (2014)
This works well enough if (and only if) your company has a culture of small, atomic PRs.
mwt··on Twitter set to accept Musk's $43B offer – sources
It's not a matter of "he must do X every time" but the obvious juxtaposition between two countries that are economic powerhouses with questionable records on free speech: Saudia Arabia gets criticism for for its dubious free speech record and China, seemingly more restrictive on personal liberties overall, gets none.

If he has offered any criticisms of the CCP's relationship with free speech, I apologize for missing it. Otherwise, it's hard not to be cynical about people like him that claim to care deeply about freedom of expression while playing up business interests in countries that do not share such a value.

mwt··on Textualize – A framework for building Text User Interface applications
We simply have a different perspective on this. You see a TUI and have experience in the "Bronze Age" of the Internet in which browsers were not so stable across platforms/etc. and think that this more or less just doesn't work. I suspect peoples' experiences using it for a while now won't sway you; you are more than welcome to assume everything works only on one computer and is reliably broken elsewhere. I don't care what you choose to build your company with but I personally find this attitude towards new tools toxic and paralyzing. Hence my attempt at engaging to learn more.

From my perspective, I've used Rich in one of the very few contexts that practically matter (a terminal on macOS) and had a good experience. Will M. has been developing it in the open for a couple of years now and it's nearing critical mass in some parts of the Python ecosystem. If it was a diaper turned into a Molotov cocktail, it simply wouldn't the adoption it has so far. It probably runs fine on the three major operating systems of today, which is pretty much what a TUI needs to do. I have no idea if it runs smoothly on a Commodore 64 and to be honest I don't really care.

> Perhaps you'll be able to point me to what I missed.

You could have a look at Rich itself, which is what Textualize uses: https://github.com/Textualize/rich. I don't build UIs but the number of files/LOC gives me a bit more confidence that my personal experience wasn't a fluke.

> If this were a pure open source project,

What's a "pure" open source project in your view? You can review the licenses of the projects yourself and determine if MIT is "pure" open source, or see what the company says about their plans with the project: https://www.textualize.io/what-we-do

> Rich, Textual, and many of our future projects will continue to be built in public, with an Open-source license.

mwt··on Textualize – A framework for building Text User Interface applications
Why waste time making up a weird claim and then arguing against it? The author told you, personally and directly,

> It will run just on just about any terminal on any OS.

It's not hard to imagine it being rigorously tested on several platforms with modern CI tools. It's borderline disrespectful for you to immediately assume that the author has only ever tested it the specific terminal(s) he happens to develop in.

mwt··on M1 Thunderbolt ports don’t fully support USB 3.1 Gen 2
> Allowing marketers to take over everything was such a terrible mistake.

How else it could possibly play out? It's nice to think that NIST or a similar U.S. government agency could standardize everything, but outside of industries that are most government funded (defense, etc.) or deeply connected to government funding (medical research) the forces of marketing are going to take over eventually and at scale. It's not like the government can or will force consumer electronics marketing to be honest, at least in the U.S. and Europe.

I was a little disappointed, for example, to learn during the HDMI 2.1a fiasco that HDMI (the organization/legal entity responsible for the standards), VESA, etc. are loosely organized groups from the companies in the industries. So if they want to rename HDMI 2.0 to 2.1a to make their old products look better, nothing's really stopping them.

mwt··on Tell HN: OpenBB scraping GitHub emails for marketing spam
I think people are probably curious how you got a list of emails of people who have starred your repo(s) on GitHub? Personally I don't think "please add my email to a database" as being included in starring a repo. Maybe there's something in the TOS or a community understanding I'm not aware of.

I'm not trying to pile on or push negativity to you and the project; if this is what you intended to do (and I don't have too much reason to doubt) then it's a different flavor of spam than recruiters/blogspam contacting us or signing us up for stuff without our consent.

mwt··on Tell HN: OpenBB scraping GitHub emails for marketing spam
> Until they start getting kicked off platforms for a certain number of spam complaints

This is even far from a solution. The spam I get is always from a newsletter or "startup" I had never heard of before. This leads me to believe MyMachineLearningNewsletterForum will just rebrand under a new name if they were ever given some death penalty from the Internet (putting aside how infeasible that is).

mwt··on Tell HN: OpenBB scraping GitHub emails for marketing spam
The only (remotely) effective strategy I've seen is to use burners that only show up in commits and then report all companies using them to GitHub itself in the hopes that eventually those companies will somehow be reprimanded.

Of course, the problems with this strategy are that the manual work scales poorly, there are two or more points of failure, and the best outcome is only marginally positive, doing nothing to deter future abuse.

mwt··on Tell HN: OpenBB scraping GitHub emails for marketing spam
> They should realize the damage they're inflicting ...

Of course they should, but this is by no means a new marketing strategy ...

mwt··on Physicists Build Circuit That Generates Clean, Limitless Power from Graphene (2020)
Maybe this is it?

> first analysed in 1912 ... by Polish physicist Marian Smoluchowski. ... popularised by [Feynman] in a physics lecture at the California Institute of Technology on May 11, 1962,

https://en.wikipedia.org/wiki/Brownian_ratchet

mwt··on Arizona moves to ban recording video of police
The text of the bill is focused on recording, not physical interference (for which there appears to be existing laws)

https://www.azleg.gov/legtext/55leg/2R/summary/H.HB2319_0223...

mwt··on Arizona moves to ban recording video of police
I'm always weary of "legislator/body proposes <thing that seems obviously bad>" headlines since many politicians fundraise via grandstanding bills that are DOA. This passed the house, though, so it's not that sort of thing. And it passed by a party line vote, so with one party having a majority of the senate and governorship, I guess it's going to become law?
mwt··on How Zillow's homebuying scheme lost $881M
In a housing bubble, hopping a zip code over isn't always possible.

One can always wait out the market. You could tell me to simply wait for the next housing crash to buy up property, but until that happens, it's not an option.

The whole observation the other person made

> automation creating adverse market incentives for smaller market participants

matters not just in the long-term state but while the adverse conditions exist.

mwt··on How Zillow's homebuying scheme lost $881M
Whether or not the market works itself out later, it puts everything into a weird state while the bidding war is going on. If iBuyer1 and iBuyer2 together buy up the inventory of a zip code for 120% of asking, then what are people who are willing to go to 105% to do? Maybe it just resets the market to whatever the drunken algorithm decided it to be.
mwt··on How Zillow's homebuying scheme lost $881M
There's some poetry in older banks claiming they're pivoting to being tech companies (i.e. Capital One) while some tech companies are heading straight towards being banks.
mwt··on The new silent majority: People who don't tweet
Is there a link to a podcast or article that I'm missing? The authors throw out this big claim

> It turns out, you're right. We dug into the data and found that, in fact, most Americans are friendly, donate time or money, and would help you shovel your snow. They are busy, normal and mostly silent.

then follow it up with a couple disjointed statistics and then ends with

> The bottom line: Every current trend suggests politics will get more toxic before it normalizes. But the silent majority gives us hope beyond the nuttiness.

What?

The entire premise around how often people _send_ tweets also doesn't seem like a good foundation. Misinformation (to pick only one relevant thing about social) comes from _consuming_ media. The median user story is probably people skimming endless content (memes, news, etc.) not tweeting everything out.

mwt··on Spotify was down
Google Cloud is reporting some oopsies
mwt··on Nintendo is removing switch emulation videos on Steam Deck from YouTube
> Well it's definetly "niche" in that it's not sold in general stores

Is that a good definition?

> and you have to order it 6 months in advance since Valve can't make them in large quantities at the moment

Switches were, and other consoles still are, in short supply for a number of reasons the past two years. The deck was released a week ago amid a historic shortage of the key component and general supply chain issues. The PS5 is hard to get at MSRP, to say nothing of GPUs, something like a year and change after release. I wouldn't call those niche products.

> Best case scenario it is plug and play for Deck verified games bought on Steam.

Yes, this is the best case scenario. It's also the baseline use case that most people will go through and a revolutionary value add in the market. Steam is the most popular platform for PC games and the vast majority of peoples' libraries are on their platform, not Epic's or GOG's. People without much investment in the platform are probably not going to buy a product named the *Steam Deck*. And even for the minority of users that are heavily invested in smaller platforms, it's a step up from whatever other obscure options they have now. That Epic doesn't want their games to run on a competitor's hardware is unfortunate but it's not like the Switch games I payed out the behind for are ever going to run on Sony or Microsoft hardware.

All of this seems like a strange set of criticism to target it with - all other plug-and-play consoles on the market basically require buying new games in a locked ecosystem with no/little crossplatform capabilities and all other PC handhelds either suck or cost roughly three times as much.

mwt··on Nintendo is removing switch emulation videos on Steam Deck from YouTube
> it's a niche product for tech enthusiasts

It is if you want it to be, but it's also a plug-and-play handheld console for PC gamers, which is not a niche market. Yeah, it runs a Linux-based OS but it's not like the user has to install it. Yeah, tinkerers and hackers are gonna do crazy stuff with it, but the vast majority of users will simply exchange $400 for a thing that runs video games.

mwt··on Norway Chess cancels Alexander Grischuk
> Chess isn't something that's played "on behalf of" countries like the Olympics are, are they, or some gray area in between?

Most events, and the general culture, is in a grey area. Outside of the Olympiad which features literal national teams, flags still feature prominently. There's of course wild variance in how nationalistic players feel; some like Karjakin are deeply nationalistic while the average probably feels loosely tied. Some even change associations after conflicts with their country of origin, see young prodigy Firouzja moving from Iran to France recently. I can't think of a comparable international sport to compare it to since I mostly know about American sports. Somebody else that follows chess and i.e. football may be able to make that comparison - AFAIK most players play for national teams during nationalized events but don't wear their country's flag prominently when they play for private clubs.

Each country has its own federation and playing for one's federation is so deeply ingrained in the culture that the solution "well, just play as yourself, not a national" that seems obvious outsiders is something that organizers and players are hesitant to reach for. I think *a* reason for this is that dipping out of a federation prevents you from playing in that country's championship or representing them in the Olympiad, each of which are a big deal to the top players. There are also almost surely other complications in FIDE rules that I'm not aware of. Suffice it to say that playing under the FIDE or ROC flags is not the sort of thing you'd see until recently.

mwt··on Norway Chess cancels Alexander Grischuk
-
mwt··on No minimum parking requirements? No problem for Fayetteville, Arkansas
To take nothing away from the power of the manufacturers, I wonder to what extent local dealerships have had influence. In suburbia and mid-sized cities, the owners of dealerships tend to have a big say in local politics.
mwt··on Show HN: Jupyter kernel using Poetry for reproducible Python package management
Likely even a little bit more narrow than Python-only since it seems to be Poetry-only. Most Python projects probably work okay with Poetry, but it's still a relatively new tool compared to the other options.
mwt··on Our recent server issues
For example, a recent 24-hour marathon had 24,000 players. Though not all playing at once, surely there were periods of time in which several thousand were playing/pairing at once.

https://lichess.org/tournament/autumn21

mwt··on Pre-commit: framework for managing/maintaining multi-language pre-commit hooks
You can point a hook towards a specific path, i.e. adding `files: ^C` to a hook will cause it to only run on the path of project/path C. There's also `exclude: ` to do to the opposite and other ways to customize each hook with granularity.

https://pre-commit.com/#pre-commit-configyaml---hooks

← PreviousPage 3 of 3