skysight-inc/HackerNews huggingface dataset:
The results remind me of the following passage from Dale Carnegie’s How to Win Friends and Influence People:

Shortly after the close of World War I, I learned an invaluable lesson one night in London. I was manager at the time for Sir Ross Smith. During the war, Sir Ross had been the Australian ace out in Palestine; and shortly after peace was declared, he astonished the world by flying halfway around it in thirty days. No such feat had ever been attempted before. It created a tremendous sensation. The Australian government awarded him fifty thousand dollars; the King of England knighted him; and, for a while, he was the most talked-about man under the Union Jack. I was attending a banquet one night given in Sir Ross’s honor; and during the dinner, the man sitting next to me told a humorous story which hinged on the quotation “There’s a divinity that shapes our ends, rough-hew them how we will.” The raconteur mentioned that the quotation was from the Bible. He was wrong. I knew that. I knew it positively. There couldn’t be the slightest doubt about it. And so, to get a feeling of importance and display my superiority, I appointed myself as an unsolicited and unwelcome committee of one to correct him. He stuck to his guns. What? From Shakespeare? Impossible! Absurd! That quotation was from the Bible. And he knew it. The storyteller was sitting on my right; and Frank Gammond, an old friend of mine, was seated at my left. Mr. Gammond had devoted years to the study of Shakespeare. So the storyteller and I agreed to submit the question to Mr. Gammond. Mr. Gammond listened, kicked me under the table, and then said: “Dale, you are wrong. The gentleman is right. It is from the Bible.” On our way home that night, I said to Mr. Gammond: “Frank, you knew that quotation was from Shakespeare.” “Yes, of course,” he replied, “Hamlet, Act Five, Scene Two. But we were guests at a festive occasion, my dear Dale. Why prove to a man he is wrong? Is that going to make him like you? Why not let him save his face? He didn’t ask for your opinion. He didn’t want it. Why argue with him? Always avoid the acute angle.” The man who said that taught me a lesson I’ll never forget. I not only had made the storyteller uncomfortable, but had put my friend in an embarrassing situation. How much better it would have been had I not become argumentative.
Interestingly, "Earthling Cinema," (later rebranded "Alien's Guide") has a running gag where they show clips from movies, and sensor any frames which show someone eating food.

Check it out: https://www.youtube.com/channel/UCu6DDGoV21YhwSb5iWbriAw

It's always been my least favorite way for a film-maker to lazily show that someone is evil. Perhaps the worst example would be King Théoden in the Two Towers. It's an extreme closeup, which holds for a while, of Théoden eating in the most gross manner possible. It's as disgusting as it is ham-fisted. A modern equivalent to mustache-twirling, perhaps.

[edit]

It turns out that I meant "Denethor II, the Steward of Gondor" and not "King Théoden."
Maybe the goal is to force the Supreme Court to weigh in on the issue.
> magit-blame seems hard to read, I guess it's a limitation of emacs, or can it be configured to show the author name on the left of the line like CLI git blame?

There are different styles available. While blaming a file, press B to open the popup, then c to cycle through them.

> I tried to find the equivalent of "git add --patch", but did not find it in the info manual.

That's just the entire staging workflow.
You see a list of changed files, which you can stage per file. Or you can expand a file to its changed chunks using TAB, then stage chunk by chunk. Or you can select some lines in the chunk and stage only those.
I'm not sure I understand the question, but you may be interested in the following article about Samsung contributing to Fuchsia: https://9to5google.com/2021/05/12/samsung-contributing-f2fs-...
Yet another unsung victim of COVID19: RIP Krishnappa
I remember on my first year here in Texas, driving by Arlington's city hall and there were a bunch of second amendment rights guys protesting outside, armed to the teeth with assault rifles and camo pants.

The police in their HQ right across the street didn't seem bothered by it so I assumed it must be legal.
Visualising Pokémon Types and Type Combinations a Chord Diagram
Know what was just passed? Suing women who have abortions. Also dying anyone they talked to about it. Possibly suing the Uber driver who dropped them off. Definitely suing the medical staff. We did add an exception to make sure your rapist can't sue you but his friends and family can.

Go Texas! Pride of the South!
>you are only legally protected in self defense,

From what I seen in US you can kill anyone if you then can argue that "I was afraid for my life" and you are white and have some money.

I am not sure how exceptional this cases are though. But if this laws are what the citizens want then I am not against it, just the argument I responded felt wrong.
This is considered on topic why again?
Generate synthetic data -> run model -> check expected outputs.
Yes it a lot of work, but you're reaching millions of people with this model and correctness is paramount!

Similarly, even such simple test harnesses help when yourself or other go to modify the code. Having flags for "Did I break something" is very important.
Interesting! Could you say more? I'd looked at some console images, but they didn't have much text.
Possibly. This is known as mortality displacement.

https://en.wikipedia.org/wiki/Mortality_displacement
It's directly from the article, and Clean Code was one of the first books I purchased.

Fixed the typo, thanks.
Let me post the whole second amendment for you:

`A well regulated Militia, being necessary to the security of a free State, the right of the people to keep and bear Arms, shall not be infringed.`

Your interpretation above, of an individual right to bear arms, derives from DC vs Heller ( https://en.wikipedia.org/wiki/District_of_Columbia_v._Heller) which is relatively new: 2008.

It also doesn't comport with the contemporary writings of the framers, nor the fact that the term "militia" in the constitution refers to the National Guard, which was at the time imagined as a body made up of all able bodied men between 18 and 45 years old. Additionally, at the time, only men were considered "the people".
This is the point that I have the most trouble understanding in critiques of Fowler, Bob, and all writers who write about coding: in my reading, I had always assumed that they were writing about the perfect-world ideal that needs to be balanced with real-world situations. There's a certain level of bluster and over-confidence required in that type of technical writing that I understood to be a necessary evil in order to get points across. After all, a book full of qualifications will fail to inspire confidence in its own advice.
I think the idea is that the tech giants are NOT publishers. If they were, they would be responsible for third-party content. So they can't really use that argument if they want to continue being exempted from responsibility.

https://en.wikipedia.org/wiki/Section_230
Guess we'll be seeing a tiny two-bit "Facebookville" opening up sometime soon...
Past comments: https://news.ycombinator.com/item?id=1826666
As is usual: it's not like the Inclosure Acts were met with unbridled enthusiasm from the rural folk. On the contrary, there were revolts and subsequent hanging of the unruly peasants.
“Awesome” list of GitHub actions
I imagine the law's wording and scope has some issues. But addressing the situation where Google can render your phone, thermostat, etc, useless because you made a comment on YouTube is worthwhile.
It's the pragmatic solution to a hard problem.

Supporting distribution for all the different kinds of Linux package mangers alone isn't easy, and you take in how macOS and Windows do things, I'm not even sure where you start.

It's kind of sad, but there's multiple walled gardens in play here. I mean, Java's been around for 25 years, and it's just starting to get tooling for making OS installers for applications (jpackage).

So, programming toolchains just invent package management that is easy for everyone to use. Everyone needs a problem solved today for multiple platforms, and it's not like OSes are working together to make this easy.

Personally, I've come to prefer vendored dependencies with the sources, and building scripts around vendoring, separating the build from dependency distribution. But not a lot of programmers are comfortable with this. It's not a common practice, and the most popular version control system (git) isn't very great with binary management.
I get your point, but I have a hard time seeing Samsung, LG, and Huawei demanding that consumers have a checkbox to install third party apps. I've never gotten the impression that they actually care about that ability for their consumers.

Obviously having it for themselves was a key selling point.
Would love some commentary on why this is an unpopular question.

Good software practices don't only have to be for "production" or CI or large teams of coders. Testing for correctness could be seen as part of the work of delivering a high quality product/graph/prediction/model.
What the tool you use for getting company logos? I've been looking for something like this. What's the cost? Thanks.
TFA really seems to be saying that there's no such thing as clean code, so don't even bother trying.
How do you deal with other colleagues that have all the energy and time to push for these practices and I feel makes things worse than the current state?
The article is not written by Robert Martin, so that doesn’t necessarily establish he said that. You also implied Fowler said it. Thanks for clarifying.

I believe Robert Martin did say this, but there was probably a preface from the book that didn’t make it into the article, so the quote in the article may be a bit out of context.
Right. Think of this as "50 million years of opportunities for grandchildren to get to know their grandparents or 50 million years of time spent as a widow after your elderly husband dies" as well as just the economic cost.
I live in California, which is part of that country, and bans open carry. Why would I need to move to another country for sensible gun laws? I believe there is a balance which respects the second amendment (which I support!) while also placing reasonable restrictions on purchasing and carrying guns. Guns are extremely serious things, and just because I support the right of gun ownership doesn't mean that I support the totally unrestricted right of anyone to buy any gun at any time and bring it anywhere.
Does immudb offer mechanisms for distributed consensus, because that is one of the top features in blockchains, they do this while remaining P2P.
With blackjack and hookers!
SF and NYC have some of the lowest per capital gun violence rates in the country.
I agree. Trying to apply the lessons in there leads to code that is more difficult to read and reason about. Making it "read like a book" and keeping functions short sound good on the surface but they lead to lines getting taken up entirely by function names and a nightmare of tracking call after call after call.

It's been years since I've read the book and I'm still having trouble with the bad ideas from there because they're so well stuck with me that I feel like I'm doing things wrong if I don't follow the guidelines in there. Sometimes I'll actually write something in a sensible way, change it to the Clean Code way, and then revert it back to where it was when I realize my own code is confusing me when written like that.

This isn't just a Robert C Martin issue. It's a cultural issue. People need to stop shaming others if their code doesn't align with Clean Code. People need to stop preaching from the book.
My family left Richardson Texas in the mid 80's. Among my few vivid memories of being there are seeing gun racks on cars, holsters on angry parents at the grocery store, cigarettes everywhere (that was nationwide), and my parents being visibly anxious of strangers. I didn't really comprehend the cold war at that age, so I conflated the weapons posturing of US and Russia with the weapons posturing of everyday people in the town. In many ways it still feels similar, if we all have deadly weapons ready to fire we'll have peace. Billboards and tv commercials for everything from used cars to boots glorified the outlaw vigilante. The reality in public places felt like one loud person could turn a place into a circular firing squad at any time.
"Thanks for all the hard work, let's knock off at three today" Is a positive.

"Let's go down to the pub" is still capitalizing on my time. It's still work, just the location has changed. And in the past it has often started at 3 and then kept going and going until way later than if I'd just worked out my day.

There is always some idealism around it like "oh if you don't drink you don't have to, just come hang out for a bit" or "you don't have to stay late you can leave early" but in practice people aren't actually that understanding. You try to head home and it's all "you're not having a good time?" Or "you're not a team player"

No thanks. I'll pass on all of that from now on.
Magit has a great mix of direct manipulation of git primitives and good visualization. I think I've learned how git works faster through Magit than I would have from using the CLI. It's really hit a sweet spot for me.
it's also unclear whose person would carry the title, even if the title where valid, as while Amedeo's lineage would be the actual claimant, the Vittorio lineage is strongly opposing that and they're presenting themselves as the successors.
As a Texan, I am dumbstruck by the often austere nature of the state legislature.

I think the concealed handgun license (CHL) is the backbone of Texas gun-culture. Where someone goes from “regular citizen” to very adept at handing firearms and additionally having an understanding of the laws and regulations for those firearms.

CHL holders are a very real force in Texas. This feels like 2 steps backwards; it even feels like it caricatures the “John Wayne Texas” that so many imagine. Perhaps Texas feels like the “crazy drunken uncle Yosemite Sam” for some states. But hopefully anyone who has been to SXSW or the Super Bowl a few years back, or to Houston for business...hopefully you have seen that beyond the boots and funny accent most of Texas is not that different from other states.

So even though it’s legal, living in urban Dallas, TX - I have never seen a long barrel weapon held by non-law-enforcement in public. This is a very good thing in my personal opinion.

Plenty have brought up the Joe Rogan quote of “people in Texas are nice because you never know who is carrying [a gun]”. In my opinion this observation suffers from “correlation is not causation.”

Texas culture transcends my fear of being shot - which I almost never dwell on. Texas people are fierce practitioners of rugged individualism. With that, comes a bit of “don’t tell me what to do”, and as the belt-buckle of the Bible-belt there is a real culture of Protestantism that permeates more than meets the eye.

TLDR; Texas legislature tries to out Texas the rest of Texas.
And some of the lowest Per Capita gun deaths.

Stop using anecdotes as data.
Poland is nationalistic and Catholic, but also very anti-Russian. They are not friends with Lukashenko and Putin.

Hungary is kind of Putin's friend, yeah.
Finally! I'm glad to hear I'm not the only one. I've gone against 'Clean Code' zealots that end up writing painfully warped abstractions in the effort to adhere to what is in this book. It's OK to duplicate code in places where the abstractions are far enough apart that the alternative is worse. I've had developers use the 'partial' feature in C# to meet Martin's length restrictions to the point where I have to look through 10-15 files to see the full class.
The examples in this post are excellent examples of the flaws in Martin's absolutism.
Alternate experiment: try to force the government to perform a service for you.
I wonder how people who support deplatforming would react if their ISP cut their internet service?
imagine releasing a new OS in 2021 written largely in a non-memory-safe language.
It's a legitimate stance, but Texas exists in a union with total freedom of movement, so other states with the equally legitimate stance of "gun violence is worse than a licensing authority" have a right to be concerned. It's like one table in a restaurant voting to give themselves the right to smoke and play loud music, or something. I'm not saying Texas is definitively wrong, we have a federal constitution and in some sense we have already decided on this as a nation, I just want to point out that it's more complicated than "Texas can do what it wants".
Android, notoriously, does this. When (not if) you hit an Android bug while developing an app, more than likely you'll find it closed as stale. Luckily they don't usually block comments, so you'll get to see confirmation from within the last few weeks that you're not crazy and this bug is still present, and maybe some up-to-date workarounds if you're lucky.
Travelling by land has gotten much more complicated over the last year. Before, to travel to Russia all i had to do is to get a ticket, there was no border between Russia and Belarus. Fell asleep on a train in Minsk, woke up in Moscow\Saint-Petersburg. Nice.

Now the only reason that i am able to travel to/through Russia to Belarus willy-nilly is because i have direct relatives that are now citizens\residents there. I have to have copies of their documents, like passport & document confirming that they are residents and are residing in Russia legally. During last year i had to forfeit a set of documents that would allow me to travel there[0]. Only reason why it worked was because border point was mostly analogue, and in general they were unable to verify that the doc was real. More of a loophole rather than straight hack but still.

Things are not great if you want to travel to\from EU by land. Since august-september 2020 "due to corona" you are allowed to travel "outside" once in 6 months over the land border [1]. There is no limitation on how people can _enter_ the country. Get a visa and you are good to go. Weird? yea. Dumb? hell yea. Think about that like it is an anemic attempt to stop people from leaving the country. Iirc before August there was no limits set by gov on how people can travel at all.

[0] https://russiamedtravel.ru/en/
[1] https://gpk.gov.by/covid-19/
TLDR seems to be that next year's Cortex X2 and A710 are very incremental upgrades (+10-15%) over existing, at least compared to what ARM has delivered in the recent years. The A510 seems promising for the little core. Wait for the 2023 next gen Sophia-based designs if you can.

Given the industry's reliance on ARM's CPU designs, I wonder if it makes sense for prosumers / enthusiasts to keep track of these ARM microarchitectures instead of, say, Qualcomm Snapdragon 888 and Samsung Exynous 2100. Because ultimately the ARM architecture is the cornerstone of performance metrics in any non-Apple smartphone.

Conversely, it'll be interesting to see how smartphone OEMs market their 2022 flagship devices when it's clearly insinuated that the CPU performance on the next-gen ARM cores will not be much of an uplift compared to current gen. Probably more emphasis on camera, display and design.
100% plus resource allocation and development.
The goal is to rile up certain voters and be able to point to the law as proof of his convictions, even though the law will be struck down and is a grand waste of taxpayer resources, all from the party of “small government”.
I guess the question will come down to whose free speech rights are more important, the end-users' or the corporate entity's?
The Economist has been publishing since 1843. I'd imagine that for the vast majority of that time, readers have trusted them with either no details at all about methodology or little more than a high level overview of what was done— certainly there was no expectation of being able to reproduce and iterate on the full analysis locally, even thirty years ago, much less in 19th century.

Don't get me wrong— this is a good direction to be pushing in. But it's something that's been very much enabled by the internet, which is why I'm finding it weird to be blaming the prior status quo on internet culture attention span memes.
In other news: entirety of FL government forgets about the 1st ammendment.
A research-oriented wrapper website around github/git would be just as useful as this and possibly more so.
What does free speech entail when a literal handful of unelected people control the modern public square?
You need an offline smart assistant:
https://medevel.com/10-open-source-voice-assistants/
> Really? Really? Not even for dependency injection? Or, you know, you should duplicate your function into two very similar things to have one with the flag and another one without. Oh but DRY. Sure.

I'm not sure dependency injection has anything to do with boolean flags or method args. I think the key point here is that he is a proponent of object oriented programming. I think he touches on dependency injection later in the book, but it's been a while since I've read it. He suggests your dependencies get passed at object initialization, not passed as method options. That let's you mock stuff without needing to make any modifications to the method that uses that dependency easily.

> Until, of course you have to actually maintain this and has to chase down 3 or 4 levels of functions deep what is it that the code is actually doing. And think of function signature for every minor thing. And passing all the arguments you need (ignoring that "perfect functions have zero arguments" above - good luck with that)

I myself find it easier to read and understand simple functions than large ones with multiple indentation levels. Also, it definitely does not make sense to pass many arguments along with those many small functions. He recommends making them object instance properties so that you don't need to do that.

It may not be for everyone, but I'll take reading code that follows his principles instead of code that had no thought about design put into it any day of the week. It's not some dogmatic law that should be followed in all cases, but to me it's a set of pretty great ideas to keep in mind to lay out code that is easy to maintain and test.
I thought they were referring to latency vs bandwidth
Seriously this is the best solution. Instead of after work, do a (virtual or not) HH at 3 on Friday. People don’t have to donate free time and will appreciate it much more.
> As the original comment poster mentioned cars are lethal weapons as well, and you don’t see many intentional hit and runs.

All hit and runs are intentional, but the only intent required is foe the “and run” part. Because intent for the “hit” isn’t part of the crime, and its already a serious felony where injuries occur, its rarely worth the effort to try to ascertain or prove intent for the “hit” case.

OTOH, its worth noting that thr same political faction behind loosening gun carry restrictions has also been actively working to loosen restrictions on intentionally hitting people with cars, in direct response to people committing criminal homicide that way.

(Weirdly, its also the faction that likes to pretend to be “pro-life”.)
Looking at the official numbers in the UK, deaths seem to fall below the expected levels for a week or so, following a big spike in covid deaths.
I think where DRY trips people up is when you have what I call "incidental repetition". Basically, two bits of logic seem to do exactly the same thing, but the contexts are slightly different. So you make a nice abstraction that works well until you need to modify the functionality in one context and not the other...