HNHacker News
TopNewBestAskShowJobs

chucksmash

2,817 karma · joined December 16, 2014

submissionscomments
chucksmash··on How to create a Python package in 2022

  rm ./.git/hooks/pre-commit
Or just do not install the hook in the first place. Choice is still the developer's unless your team is doing something else here that limits your ability to delete/rename files locally.
chucksmash··on Programming languages endorsed for server-side use at Meta
Because it's not an argument, it's just lazily recycling language tropes.

> Rust is immature

I recuse myself due to fanboyism.

> C++ is intractable

Except to all the firms and people successfully using it.

> Python is fundamentally unusable at scale

Except to all the firms and people successfully using it.

chucksmash··on Detecting Fake 4G Base Stations in Real Time (2020) [pdf]
Interesting. Never saw the spam numbers transition either when travelling or when living in a new area long term.

I only ever get spoofed number calls from the area code of my cell phone number. Works out pretty well because I only lived there in passing 12 years ago, so never wonder if I'm missing a real call by ignoring them.

Could it be apps sharing location info?

chucksmash··on EA: The Human Story (2004)
> How about when I sell my house, should the developers who built it get a cut?

Only a matter of time?

Some NFTs used this as (an additional) money grab - every time the NFT is resold, N% of the purchase price goes to devs - so the idea is definitely out there in other forms today.

chucksmash··on Show HN: Remove unwanted objects in photos simply by dragging boxes
Ahh, only seems to have that issue in private mode.
chucksmash··on Show HN: Remove unwanted objects in photos simply by dragging boxes
Total tangent but Imgur simply does not load on Firefox for Android now? Linked page just spins forever "loading" the linked image until I request Desktop Site, at which point it happily loads.

An image hosting site that cannot (errrrr, "cannot") display images. Imagine.

chucksmash··on Few people grasp the amount of effort Daniel Gackle expends running HN (2020)
> Posts like these, for me, highlight the class divide.

To start from Paul G. saying "Thank you dang, ..." and end up at "...(under)class cohort keeping capitalist dreams alive" seems like stretching a particular framework of thought past the point where it usefully describes people.

chucksmash··on New Tolkien book, The Fall of Númenor, to be published
There are also things that I think people just tend to take for granted regardless of where they live, even outside of America.

"The Book of General Ignorance" talks about an example of this with frogs:

> There are 4,360 known species of frog, but only one of them goes "ribbit." Each species has its own unique call. The reason everyone thinks all frogs go "ribbit" is that "ribbit" is the distinctive call of the Pacific tree frog (Hyla regilla). This is the frog that lives in Hollywood.

> Recorded locally, it has been plastered all over the movies for decades to enhance the atmosphere of anywhere from the Everglades to Vietnamese jungles.

Frogs don't sound like that here but that's not something that ever seemed incongruous to me until it was pointed out in a book.

chucksmash··on SpaceX said to fire employees involved in letter rebuking Elon Musk
Maybe, maybe not, but this level of vitriol is unmerited and makes HN worse.
chucksmash··on United States vs. One Book Called “Ulysses”
> there is a work for that type of edition that escapes me at themoment.

Annotated? Companion?

chucksmash··on On the angst of American journalists (2019)
If only 1 in 100 can do either well (enough) but with digital media reach you only need 1 in 10000 to fill such spots, that's still an oversupply of journalism job seekers who need some other way to differentiate themselves.

Separate rant, but journalistic writing feels so paint-by-numbers now and I think that reduces the barrier as far as writing talent required. I know journalists have always been taught to write articles with a certain shape, but it feels like we've moved beyond "inverted pyramid" to something more constrained. Every article must mention the effect of whatever is being reported upon the downtrodden, every article must end with a quote from an individual affected by the subject of the article that is twinged with irony or somehow fraught with meaning to make it personal.

It's as if all HN posts had to end with a coda that captured the essence of what the poster wanted to express in a dramatic way.

Pausing, chucksmash seemed reflective. "There's a dreary, pervasive sameness to the way we express ourselves now, and I suspect it's driven by engagement metrics" he said, slowly sipping his coffee before looking back to his phone with a sigh.

chucksmash··on Ask HN: Burnt-out, directionless but want to turn it around
> On a related note, this "gap in resume" thing needs to stop being a thing at all. I don't know when it became a thing, but it feels distinctively like forcing a wage slave class to keep their head down and continue wageslaving.

I think you can better make sense of it as a vestigial organ of hiring process from before background checks were widespread, no "wageslavery" explanation needed.

chucksmash··on Tech bubbles are bursting all over the place
> Who buys a house in cash? You mean literal suitcases of dollar bills?

Not literal suitcases of dollar bills, no. Buying with cash here means without taking out a mortgage.

To answer the first question about who buys a house in cash, 28% of buyers do so[1]:

> All-cash sales accounted for 28% of transactions in March, up from both the 25% recorded in February [2022] and from 23% in March 2021.

[1]: https://www.nar.realtor/newsroom/existing-home-sales-slip-2-...

chucksmash··on Master’s Degree in Computer Science
One reservation I have when I read about these MS programs is that they often sound like they will be heavy on group work. I see where that is valuable to prepare people just starting off in their career, but as someone who has been doing "group work" for the past 10 years irl, I'm not really interested in the mock UN version of having a day job.

Have your classes been built around group projects, or can you go it alone if you're doing it for kicks? I'd love to spend some time studying CS and end up with something to show for it, but I'm not interested in group-work-as-workplace-prep.

chucksmash··on What game are you playing?
Good thought.

My immediate response is "yeah, I really didn't get the games other people were playing in junior high," which is the time frame the article evokes for me.

I feel like the gotcha is you have to realize - at least sometimes - that there are still games you don't get. It's easy to feel like, "at ${year - 1} I was such an idiot, glad that's over now." You'd be surprised how many years in a row you can feel that way before the meta realization sinks in.

Understanding other people is like learning to play "Have You Got It Yet?"[1]:

> When Pink Floyd gathered in January 1968 for one of their first rehearsals as a quintet, Barrett shared a new composition he called “Have You Got It Yet?” The song sounded straightforward, but the band became confused as they tried to join in and learn the number. The melody and structure seemed to shift on each run-through, with Barrett gleefully singing a chorus of “Have you got it yet? Have you got it yet?” at them.

> Eventually they realized that Barrett was changing the arrangement each time, deliberately making the song impossible to learn. “We didn’t get it for quite a long time,” says Gilmour in Rob Chapman’s book A Very Irregular Head. “I remember the moment and the song well. It was really just a 12-bar, but the responses were always in the wrong places according to Syd.

[1]: https://www.rollingstone.com/feature/syd-barrett-10-things-y...

chucksmash··on Is everything falling apart?
That doesn't mean you will get what you were promised if the pension was underfunded[1]:

> If you look at multiemployer plans, those people worked in coal mines, driving trucks, in bakeries — typically physical, difficult jobs, and they certainly earned the pension they were promised by their union. Now, some of them are 70-years-old and in retirement and have the terrible prospect of having their pension cut.

> There’s a government backstop for private pensions, but the government backstop for multiemployer plans is very modest

[1]: https://ideas.darden.virginia.edu/underfunded-pensions

chucksmash··on Snap launches its first drone
> Except that mp3s sucked until the iPod

Just being able to download music from the internet was already a game changer, it didn't suck! Before that if you wanted to hear a song from an album you didn't have at hand and you wanted it RIGHT NOW, you had to call into a radio station and ask nicely for another human being you've never met to play it for the entire city.

Waiting 60 minutes to download "Stairway to Heaven - LIVE rip" by "Guns N Roses and Bob Marley and U2 and Green Day" was a privilege.

chucksmash··on The bottom is dropping out of Netflix
> I couldn’t even find Seinfeld reruns

Guess it depends on what you mean by "recently" and maybe it depends on region as well, but Seinfeld is on Netflix!

chucksmash··on Europe's now-drowned 'lost world' and the 25m-high tsunami that finished it off
A simpler alternative assumption could be this:

1. sophistication is driven by specialization

2. the ability to specialize is driven by access to surplus energy

3. before the advent of agriculture bands of humans simply did not have the excess calories available to them to support a priesthood and philosophers and bureaucrats, etc.

chucksmash··on When hiring developers, have the candidate read existing code
It could be that, but it doesn't have to be.

If you're on a team that isn't currently having staffing issues, I don't think it's weird to want your next hire to be better than the median person on the team. "Raise the bar," etc. Asking harder leetcode questions seems like a bad way to achieve it, but I get the impulse. If the bar for member nine of the team is approximately "better than the bottom 4" then that 9th person in is likely to have at least one moment of "wait, how did you pass that interview?" at some point after they come on.

chucksmash··on I built a receipt printer for GitHub issues
Reading the thread for "minor hear"

There was essentially no reasonable distance at which we could store the to-go pizzas from their accompanying thermal receipts where information the receipts contained would be recoverable.

chucksmash··on Spotify and Google Announce User Choice Billing
It's not a silly response.

"It's much easier not to switch" is just a peculiar way to spell "I don't care enough to switch" in this case.

If someone doesn't care enough to do something as easy as switch music streaming services, do they actually care?

chucksmash··on Major breakthrough on nuclear fusion energy
> Not exactly. In American English "bring a pot to a boil" is much more common. When I read "enough energy to boil 60 kettles of water" I thought "vaporize".

Disagree that this is a) a much more common phrasing or b) that your interpretation would be the common one. I've yet to run into a situation where somebody asked me to "boil some water" and intended for me to vaporize all the water in some vessel.

chucksmash··on The New York Times buys Wordle
Just because they could have easily cloned it doesn't mean it's dumb to reward (and be seen rewarding) the creator.

This is better PR than a media goliath ripping off the success of the little guy.

chucksmash··on Moderna’s HIV vaccine has officially begun human trials
Presumably the viral load required for transmission is greater than the viral load required for detection.
chucksmash··on Chesterton’s Fence (2020)
> or at least no good one

Understanding whether the purpose was good implies understanding the purpose. Even with very bad code you can at least see what the author was going for. Most code I've seen and felt was bad could be described as "Author needed to do X but wasn't aware of Y." I can't remember a time where I had to deal with code where I couldn't figure out what X was.

chucksmash··on Putin’s Challenge to Western Hegemony
Mikhail Gorbachev's purported view[1] on the matter, according to Russia Beyond[2]. Emphasis mine:

> Interviewer: One of the key issues that has arisen in connection with the events in Ukraine is NATO expansion into the East. Do you get the feeling that your Western partners lied to you when they were developing their future plans in Eastern Europe? Why didn’t you insist that the promises made to you – particularly U.S. Secretary of State James Baker’s promise that NATO would not expand into the East – be legally encoded? I will quote Baker: “NATO will not move one inch further east.”

> M.G.: The topic of “NATO expansion” was not discussed at all, and it wasn’t brought up in those years. I say this with full responsibility. Not a single Eastern European country raised the issue, not even after the Warsaw Pact ceased to exist in 1991. Western leaders didn’t bring it up, either. Another issue we brought up was discussed: making sure that NATO’s military structures would not advance and that additional armed forces from the alliance would not be deployed on the territory of the then-GDR after German reunification. Baker’s statement, mentioned in your question, was made in that context. Kohl and [German Vice Chancellor Hans-Dietrich] Genscher talked about it.

> Everything that could have been and needed to be done to solidify that political obligation was done. And fulfilled. The agreement on a final settlement with Germany said that no new military structures would be created in the eastern part of the country; no additional troops would be deployed; no weapons of mass destruction would be placed there. It has been observed all these years. So don’t portray Gorbachev and the then-Soviet authorities as naïve people who were wrapped around the West’s finger. If there was naïveté, it was later, when the issue arose. Russia at first did not object.

> The decision for the U.S. and its allies to expand NATO into the east was decisively made in 1993. I called this a big mistake from the very beginning. It was definitely a violation of the spirit of the statements and assurances made to us in 1990. With regards to Germany, they were legally enshrined and are being observed.

[1]: https://www.rbth.com/international/2014/10/16/mikhail_gorbac...

[2]: https://en.wikipedia.org/wiki/Russia_Beyond

chucksmash··on Grep one-liners as CI tasks
`!!thing` is a fairly common JS idiom for "I have a truthy/falsy thing and I want true or false."
chucksmash··on Format Strings in Rust 1.58
I see where you are coming from but I disagree with your conclusions.

I think the number of developers who would not have insecurely built a SQL string from user input but for the language adding format strings is approximately zero.

By analogy, to me this argument seems like saying, "If a standard library contains a StringBuilder class that minimizes unnecessary allocations when constructing a String, it encourages developers to construct SQL strings manually and therefore makes them more likely to fall victim to SQL injection attacks, therefore we must not provide StringBuilder classes."

I don't imagine there are very many developers who are properly using parameterized queries only because it is inconvenient to concatenate strings.

chucksmash··on Young people from Brazil's favelas set out to conquer digital world
Commenting on crypto in bio is 2022 HN's version of 2014 HN's commenting on site's CSS: "Good article, but black font on white bg makes this literally unreadable for me."
← PreviousPage 11 of 27Next →