skysight-inc/HackerNews huggingface dataset:
If you're having trouble organizing around classes, objects and inheritance, classes might not be a good fit for your project.

Consider modules as your main organizing scheme. That's also a decent guide for code file organization.

What goes in a module? The tool(s) that you need to implement your project. Think about what off the shelf tools you wish you had and build those tools/modules.

Use doc strings per module and function, written to your future self, explaining what is being done. The how should be in descriptive variable names and function signatures, with comments where necessary.

Don't over comment. Out of date comments will confuse.
It seems kind of pointless if it doesn't reveal the identity of the killer. It seems like the Zodiac was more interested in creating intrigue than taking the risk of being caught.
Can you set goals for things you don't control?
If I were in AWS/GCP's position, I would prefer to send alerts rather than turn off services.

Shutting off services can mean destroying the customer's data with no way for them to recover it. That could be from terminated ephemeral disks, or a terminated database, or cutting off a critical upload stream into their instances.

Its a lot easier to reduce/forgive a bill when a customer makes a mistake than to recover their lost data (or loss to their business).
This is beyond ridiculous.
This is amusing but IRL you'd just roll up the extra dough and cut more cookies out of it until you can only get one cookie, then eat the rest of the dough. This is your reward.
And yet the most succesful founders are closer to scum than earnest...
Well then repeat it again, slower and slower, until I get it.
s/ddgp/ddGp/g ftfy
That maybe only applicable to certain cases or is US-only. I was quoted ~$500 for rMBP 2015 due to swollen battery (which is entirely Apple's fault), from two of their authorized centers.

I was told they assess the extent of damage and charge based on that, but the whole top assembly is changed in any case (glued). For example, if they believe the keyboard was in good condition, you won't get charged for it (and hence the baseline $200).
Next time don't ring, write and email. I've worked in financial sales. What's in the contract counts more than anything anyone ever says.
I will design a professional and unique Shopify store for you
Don’t stop there!

... for cd ../..

....

.....

They compose naturally too, ..../targetDir

I use these so frequently and naturally that I forget that they aren’t built-in to my shell.

Also, a shortcut to jump between the last 5 or working directories. Print them with `dirs` and cd to a directory by invoking its number.
It has been fascinating to watch the pendulum swing back and forth between headlines that social media platforms aren’t doing enough to curb misinformation and headlines that social media platforms are overstepping their bounds by trying to intervene when their platforms are used for misinformation.

Obviously everyone has different opinions on the matter, but I’m beginning to suspect that the Venn diagram of the two sides of this debate has a lot of overlap in the middle. It seems we’ve entered an era where it’s trendy to despise social media platforms regardless of what they do or don’t do. Cynicism reigns supreme in the public discourse about social media platforms.

Everyone seems to carve out an exception for their preferred platform, though. Twitter users mock Facebook and brag about deleting their FB accounts. Redditors mock Twitter users. Hacker News comments are frequently self-congratulatory for “quitting” other social media platforms and so on.

Ironically, the more we hear about social media platforms, the more people seem to forget that these are really driven by concerning underlying social issues. Why are so many people willingly subscribing to the people peddling misinformation in the first place? It’s hardly limited to one platform. The prevailing narrative that a handful of engineers are shaping the thoughts of the nation by manipulating “the algorithm” to emphasize divisive content ignores the fact that people seem more eager than ever to engage with it. Some times I suspect that what the social media cynics really want is for us to return to a time when the communicating on the internet was only accessible to the few of us who were willing and able to figure it out. Now that the genie is out of the bottle and everyone can access global communication with ease, we need to accept that these are societal problems, not just the side effects of a few engineers tweaking algorithms.

It’s also time that we start expecting people to take some responsibility for their own social media usage. We’ve spent so much time blaming “the algorithm” that people now treat social media as an uncontrollable black box or even an addictive drug. It’s time we normalized things like muting the friends you don’t want to see in your feed, unfollowing people who rile you up, and otherwise curating the content we all consume. Contrary to what I read online, it’s trivially easy to tune my Facebook feed and use social media responsibly. However, we never hear about responsible use. It’s always just “delete your Facebook account” or other extreme measures that don’t work for grandma who really just doesn’t want to miss out on photos from family. It’s time we start educating people on responsible use instead of preaching social media abstinence as the only solution.
See this answer of mine :
https://news.ycombinator.com/item?id=25398775
From https://www.bbc.co.uk/news/health-54648734 "Covid test-and-trace: Is backwards contact tracing the way forward?"

> "Coronavirus does not spread evenly. Most people who get the virus won’t pass it on to anyone at all. But a small number of people will spread it widely. Scientists estimate as few as 10% of infected people are responsible for 80% of infections."

Based on this, they go on to explain why, if it's true, it becomes worthwhile to do backward contact tracing to reduce R.
Yup. I have a strong “fuck you” to ASCAP for charging my favorite small coffee shop insurmountable fees and forcing them to stop having live musical performances. FWIW the musicians played mostly original work.

ASCAP has also been actively against the EFF, Creative Commons, and others.

> In June 2010, ASCAP sent letters to its members soliciting donations to fight entities that support weaker copyright restrictions, such as Public Knowledge, the Electronic Frontier Foundation, and Creative Commons

https://en.m.wikipedia.org/wiki/American_Society_of_Composer...
There are quite a few pro-Trump users here and a lot of users that dislike politics. The former seem to only come out to defend him and the latter downvote all political discussions. At least in my experience.
Semgrep for Cloud Security
>Apple made a very good charger! But it was expensive, People assumed the cheap knockoffs where just as good. Sadly they aren’t! Most issues I’ve seen all come from using a bad charger.

An argument to keep in mind for the "right to repair" and third-party replacements...
I recently just gave away a bunch of my old reference books and binders with printed articles or clippings from magazines. Those followed me from job to job early on.

To be accurate the internet existed but we didn’t have the web resources, it was quite different.

We would also use BBS systems with forums as well as email to communicate with experts etc.
Unfortunately these jokes only work if you git them.
It could well be. I actually enjoyed these kind of things back then.
In politics, the word "technocrat" is used to try to carve out a divide between specific intellectual talent and political leadership talent, with a heavy implication that these are mutually exclusive.

I think that's how PG is using "earnest" here. He presents it first as a compliment but goes on to suggest that it is exclusive from understanding other people's motivations, and by extension, exclusive from business leadership.

I take it as an underhanded compliment.
What's the biggest appeal of ViEmu over VsVim?
The other day I read about car makers considering using batteries as structural elements to cut weight.
I agree with you, seeing how even my spouse's 16h-drive-away mother is still managing to insert herself into her child's life several times a day. I can see on my wife's face she's been talking to her mother when I get home. Even with new recent boundaries set (we're not visiting anymore, no more answering the phone or WhatsApp 33 times a day and then when not answering right away having other family call to argue that you're abandoning your family, fuck all of them), and I feel my spouse has made tremendous strides there, the mum is still finding ways to do this.

Downright psychological abuse.
Data published using Datasette should have good SEO, but it's not nearly as widely used for publishing yet as I'd like.

I've been thinking about building a Datasette of Datasettes as usage grows though!
Q: What do you call an idle server?

A: A waiter.
Our computers also don't know how to do all sorts of complex biological manufacturing that small groups of proteins can do inside cells. Thus your measure of intelligence also says that protein complexes are intelligent, but they aren't, so your argument is invalid.

As I said, this is literally the watchmaker argument with the nouns swapped out. Ant minds are not general intelligences, they are programs created by natural evolution. Their pathfinding and identification and anthill-making and communication are all fixed programs in their genetics, not learnt during life. They cannot execute other programs.
I know you're being nice here, and I have no idea if that particular user cared, but like, as someone who has to take frequent user data/trust/privacy/handling trainings, like, don't ever do that.

Firstly, you really want to engineer your systems as much as possible so that you can't look at any PII -- and that includes things like usernames that aren't displayed to the public, and maybe even ones that are! -- as an administrator of your system, without going through some sort of "break glass in case of emergency" process that leaves an audit trail with a clear policy of when it is acceptable.

Second, even if you have access for job-related tasks, you shouldn't spontaneously try to tie user accounts to outside identities; that should be like line 4 or 5 in your data access policy. The right way to do the above would be something like saying "Thanks for vouching for us! If you message me your username @XYZ, I'll add some extra bandwidth credits to your account. :)"; that turns the interaction/demasking into something voluntary on the user's behalf, rather than you creepily stalking them through your user DB.
Could I, with reasonable effort, run such a VM on Qubes?

In particular: could it be made to interact correctly with the domU X server? Qubes is on Xen, and has its appVMs run an X server that operate on bitmaps that the domU copies to corresponding regions of its own framebuffer, and is handfed input events by the domU; similarly, sound and camera traffic, and network packets.

I am particularly thinking of e.g. a Firefox appVM that runs Firefox but not systemd; Or, transmission, or element-desktop. Running systemd, and a whole Linux kernel, in every appVM is a big drain on RAM.

So I guess I would need library renditions of the processes Qubes wants to run in its AppVMs, that start a thread when first called. Trick is how to get the app in; maybe it is an "apt" unikernel image that switches to the installed /usr/bin image after running once.
Good. He needs to finally shut up and get the hell out. The losing tantrum has continued long enough. Time to leave before he cracks the country in two irrevocably.

To those who are downvoting: he lost pretty much every legal case he threw at this problem. He lost the election. It wasn't stolen. Give it up. There's no Kraken, just a bunch of grifters trying to take your money (including Trump himself).

Time to move on.
Hey Razengan! I agree a message like "You got this!" may not always be well received, especially by people suffering from a deep depression. Most of them are more neutral, or at least they seem so to me, like "May you be happy" for example.

For people who are not feeling particularly depressed in the moment where they see one of these badges, I believe it could have an uplifting, positive effect. A small one, probably, but that's good enough for me.

Ultimately, I can't control how people react to these, but I am careful about curating the messages and I do intend for them to express genuine kindness.

I also agree that this is not a cure-all. No such claim was made, in fact. I do think we could use more kindness at core levels of society, as you say.
I don't think it's fascinating, I think it's expected at this point.
Q: Whats the object-oriented way to become wealthy?

A: Inheritance
Student loans and house loans and payday loans are very regulated and have heavy government involvement. As far as I can tell, most house loans in the US are guaranteed by the government, something that's literally unimaginable at the other side of the pond.

Germany has Aldi and Lidl to help against food deserts.

Not sure what you mean by prison standards of living?

About social mobility: have a look at 'The Son Also Rises' for an interesting approach to historic and cross country comparison.

I am still quite confused about why you link all these things with feudalism? Feudalims was really heavy on intervention and paternalism. Just the opposite of what a market based order would be.
Discord is a much more community focused, external communication platform compared to Slack.

Slack is priced on per person economics, while Discord is oriented on individual usage. People can choose to pay a subscription to unlock better emojis and other server privileges, which allows Discord communities without any budget to have thousands of users.
For myself, IPv6 address are just to annoying to deal with as a human.

It's as much of a mental shift as replacing street addresses with Latitude/Longitude coordinates.

So I've avoided IPv6 as much as possible.
Q: Why did the functions stop calling each other?

A: Because they had constant arguments.
There's truth in this, but you need to ask, why did local officials screw up? And it's probably related to the way mistakes are treated by central government. So, even if central government was not responsible for the individual actions early in the pandemic, they set the framework for how they interact with local governments, and thus still bear responsibility.
Music copyright is complicated and there are certain rights that attach to each performance vs. the music. If I sit down and play Bach that recording cannot be copied without my permission but you can sit down and record your own performance of Bach.
The Reason Why NES Cartridges Are So Big
Surely the publication of the standard 17 years ago constitutes public disclosure and/or prior work.

Using extensions to increase the working lifespan of a patent to 25 years (as done here, apparently) really shouldn’t be allowed.

It’s one thing if the work is under development during filing or something, but we’re talking about an openly published standardized technology.

Patent lifespan should be limited to the minimum of 17 years from filing (or maybe grant date), and 17 years from publication/commercialization.
"Some people had antibodies that react with SARS-CoV2 prior to January 2020" isn't great evidence that the virus itself was present prior to 2020. There's some amount of cross-reactivity between antibodies to other human coronaviruses and SARS-CoV2.
git few here https://github.com/wesbos/dad-jokes
Concerts are commercial contexts.
Those who make the world smaller by drawing it toward them (and especially who profit from it) wind up at the epicenter of the resultant territory war.
Every year I need to convince my wife that we need more Christmas triangles. We do through in the occasional square, but with enough triangles we can render anything!
Good. Let's keep the foot on the accelerator and get to where we all know this is going.
Hang on I can make money by sharing my internet at night when I don't use it anyway and US persons might need internet from NL? That sounds awesome.

edit: The information on how it's secured for packeteers seems a bit limited. (how do you prevent people spraying 192.168.1.1 into all endpoints?).

But it's interesting enough to hit up in a seperate docker network. I'm looking forward to seeing if it'll actually use GBs.
I disagree on the overstepping. Twitter is a private company and can do what they want. There's entire forums online dedicated to flat earth theory, government intervention is not needed.
Inspiration for a great They Might Be Giants song called “ The Lady and the Tiger”
There is not. There is a scripting API that is very limited.
> Social mobility in higher in Europe than it is in the United States, but they face the same pressures in terms of cheap labor from other countries.

Sounds like social mobility for me but not for thee?

You know that 'evil' cheap labour from other countries is just folks trying their best at getting some social mobility? Foreigners are people, too.
> Apple haven't put it into M1 despite being one of first in the AV1 crowd.

Except they weren't. They just paid more money to be considered a "founding" members - assuming that's where you got the idea.

You seem to muse as though AV1 were on the same development track as H265 but delayed. This also doesn't reflect reality. It started well after and had a relatively quick turnaround (as far as codec development goes).
I see it as a last attempt of twitter employees to signal something / remain relevant
All the more reason for Apple to provide parts to consumers and repair shops instead of withholding them only for authorised resellers (which often come with way more restrictions and rules than just how good they repair stuff).

Worst about this personally is how to distinguish between good and reasonably priced or bad and expensive. Because it's easy to know whats bad and cheap.
Tick Sticking, a Carpentry HACK (few people know)
Where is it going? Social media telling us what’s true or not?

Last time I checked we didn’t really like social media companies around here.
It sounds like some of the patents were granted after standardization was complete.

That’s incredibly sketchy. For all we know, they incorporate third party IP that Nokia derived from the standardization process.

I imagine Nokia would be hard-pressed to prove this isn’t the case.
Europe has lower rent, health care insurance, and more vacations
Rethinking Learning: The Hagen New Learning Manifesto
I find your comment to be harmful. I have therefore petitioned several large tech quasi-monopolies to ensure no-one can interact with you on the Internet.
Q: How many Prolog developers does it take to change a lightbulb?

A: Yes.
The sentence you opened this up with comes across kind of concerning and gross. For reasons?
I really don’t understand the perspective that this is about information control. The guy is engaged in a plot to overthrow democracy in the United States, and summoning social media pressure is one of his core strategies for how to make it happen, so Twitter is taking action to limit the amount he can summon on their platform. If it were about censorship they’d just ban him.
H265 is an older standard than AV1. It's closest relative is VP9.

The reason H265 has momentum now is because it's been around for longer. AV1 already has a higher efficiency than H265.

The standard that is competing with AV1 is VVC or H.266. As it stands, AV1 has much more momentum than H.266.
Loguru is a great package for "I just want a nicely formatted logger out of the box"
A few lifetimes ago I had a tiny apartment on a busy street in Brooklyn. I slept all hours so I had cardboard over my bedroom windows. There was a hole in the cardboard that on some days with the right light ended up projecting the busy street into my room. It was pretty amazing to hear all the sounds of a busy Brooklyn street below and watch it play out upside down on my dresser.
Saul Alinsky tactics are beautifully executed in this comment section. Accusing Trump supporters of doing what the Democrat/Antifa brown shirts do.

"No citizen, we have deleted this person because they were deemed a threat. But don't worry about it. You are safe."
He's trying to be clever and say "civil war" without saying "civil war". The LARPers on the right seem to be enjoying this a great deal. I'm sure the FBI will be very interested in their calls for violence.
you know, people like to talk about facts and about how this is true and that is false. usually there is some nuance to every “fact” (ie you should not take things as absolute truths).

this is not one of these times. it’s as clearcut as it gets when it comes to facts and still we see this alternate world. all generated by one guy. it’s the type of thing where reality is definitely stranger than fiction
Probably live performances, but not on video recording
Denial of the existence of white supremacy is a fun easter egg embedded in the middle of the essay.
These are great angles on software development and productivity, especially Chesterton’s Fence. I have watched several companies do rewrites of large codebases only to realize it was a massive mistake after taking years longer and spending millions more than intended. In every case it was a disproportionate focus on the problems they had, and a failure to understand what had been working well before tearing it down.

I’ve also watched Brooks’ Law in action, watched people thrown onto a project to try to get it out the door cause it to slow down. I do not believe what I said is an example of Brooks’ Law. Brooks’ Law is “adding manpower to a late software project makes it later", it was not an observation about all software development in all stages. Brooks’ Law assumes that the “ramp up” time is finite, and not particularly long.

I’m also not actually saying that people aren’t productive when joining existing projects, I’m saying that there’s a much deeper component of productivity that depends on involvement from the beginning. I’m sure you’ve already experienced being very “productive” after a short time when joining a large project, I definitely have. It’s the kind of productivity that depends on being there early, and Brooks wasn’t making any qualitative statement about productivity, only quantitative.

Fred Brooks was a lovely man to speak to, BTW. I met him and had a long interview when I was considering going to North Carolina for graduate school. The lasting impression I got wasn’t anything he said in particular, it was more of the positivity and optimism he carried about software and life that made me want to hang around and hear what he had to say.
Haven't read the linked study, but it seems like all of those metrics (except time to restore broken service) can be very easily gamed - thinking about the recent SO blog post https://news.ycombinator.com/item?id=25373353
And on the other side, “politics” is anathema to “nerds” and technocrats because good technocrats typically have a nice mix of the old school sociopathic qualities required to succeed in business along with technical chops. They don’t like politics because they typically lack emotional intelligence, don’t comprehend the need for empathy, and think their experience is the only experience that matters. They likewise usually have a regressive ultra-utilitarian philosophy.

This doesn’t apply to everyone or any actual human beings of course, but since we’re talking about abstract made up nonsense character types, might as well go along with it.
Neural networks to train on smartphones with faster speeds, less energy
A colleague of mine was infected, became symptomatic and tested positive, and results took several days to come back. The whole time he was at home with his family waiting for results, he quarantined at home but had contact with his family. He tested positive, but they never did. More credence to the idea that some are super spreaders and some are not.
Oracle is moving its Redwood City headquarters to Austin