skysight-inc/HackerNews huggingface dataset:
> The code should explain what it's doing (self documenting code) and tests should explain why it's doing it.

I agree at a surface level, however:

- this makes us assume that there are tests in the first place
- this makes us assume that someone will read these tests instead of asking the developer
- this makes us assume that these tests will be readable enough on their own to replace free form text
- this makes us assume that these tests will even be able to contain a representation of why the code exists
- personally, i have never seen a test that explains a business requirement with enough context not to miss out on details
- i have also never seen code that encapsulates these requirements 1:1, without getting too mixed up in implementation details

I think that code definitely should describe what it's doing, tests should explain how it's doing it as far as possible (though this requires discipline to have loosely coupled and testable code, which isn't always the case) and that there still should be comments that explain the realities of needing technical solutions for people problems and all of the aspects that are carried with this.

Doing anything less feels like giving ourselves constraints that will lead to suboptimal results because the tooling and testing solutions aren't quite there yet. Maybe when frameworks and languages will become more expressive, we'll be able to live without comments. However, that day may not come anytime soon.

Nor will companies be interested in the overhead that writing extensive and good tests entail, nor will they want to wait for their engineers to figure out how to convey everything in computer code, as opposed to just dropping some comments into the codebase, right next to the actual code that they concern. Maybe when companies are ready for 50% of the development time to be spent on testing software, that won't be an issue. That day may also not come anytime soon.

As a possible counterpoint, look at RSpec, i think it's headed in the right direction: https://rspec.info/
I like Rust, but gosh it produces the second-biggest bloated binaries I've ever seen. (Yes, it's mostly people using it wrong, though apparently I'm one of them.) The only thing worse is C++. (Again, probably people using that wrong, but that doesn't mean it doesn't happen.) Java and Python, by comparison, are tolerable, even when people use them wrong; when Java programs are huge, that's usually because of a mass of hideous “business logic” rather than a billion dependencies.
It's funny, because when it came to women's suffrage and the later waves of feminism, people would write the exact same thing you did when referring to the patriarchy - willfully misunderstanding, or not even bothering to understand what was being talked about, to ridicule it as "too nebulous" to deal with, or some sort of conspiracy that people were deliberately participating to, in an attempt to dismiss it out of hand as an "attack" - and someone commented as much in this same thread.
Aha, a patch.
Everything you just said also applies to amputating a limb. Or cutting out a cyst. Those seem like much closer analogies than a person in a coma.
I just wanted to write it was a crime still back then and take the example of the first worm in 1988 : https://en.m.wikipedia.org/wiki/Morris_worm
TIL: a Harvard student named Paul Graham was quite close to Robert Morris. It is a small world.
You'd think that would be a positive? Presumably only a very tiny fraction of those are suitable for automotive applications e.g. also presumably some of those were only made in smaller quantities trying to hook some big customer.

I think we've always had a pretty large variety of microcontrollers, just something like an 8051 was available in hundreds of options from various companies. Microchip has always had lots of different ones with slightly different options. Sometimes (often?) those are the same die in a different package with some different build time options enabled.
Ah ok, definitely in agreement. Not a good move on their part.
Sure, but it is a bit counter-productive to have no non-smart options for people like me who just plug it to a device instead.

Even if I look at my parents' TVs - all smart but they don't need or use that, they just watch cable.
Is this the client or the self hosted server? The page doesn’t make that clear.
I don't simply mean "I disagree with the other" side though.

I mean it feels like there is something very corrupt about the way the British public is kept whipped up into a FUD-driven frenzy by the tabloid press, and that the government (whether Labour or Conservative) seemingly makes many decisions to pander to that segment, rather than based on what's actually best for the country and all of it's people.
There are plenty of existing Wi-Fi analyzer / scanner tools out there. I don't see how this signal-strength map function is more helpful than the signal strength meter those have, particularly the audible (beeping) indicators which will you don't even need to keep an eye on.
Isn't it a problem that the steering wheel would be on the right side? Japan drives on the left.
Can equality of opportunity at individual level coexist with equality or outcome at group level? This is indeed a reasonable question to ask. Upvoted.

We might imagine that humans are akin to gas molecules and human groups are ideal gases, thus an ideal gas law of sorts holds for humans, PV = nRT. There is brownian motion at individual level, but we expect that, statistically, all ideal gases / human groups to have the exact same macro properties. And perhaps if we hard subscribe to rational choice theory (a popular theory among American economists with deep roots in The Enlightenment) we might imagine that indeed humans are atomized undistinguishable gas molecules, pushed around randomly by the vagaries of fate and character.

Alas, there are other ways for matter to organize. Witness the bewildering diversity of minerals out there. 'The Smithsonian's mineral and gem collection [...] consists of approximately 350,000 mineral specimens and 10,000 gems'. As soon as we allow for some degree of matter / social cohesion, the ideal gas / human group law is blown to the smithereens.

I'll let you ponder whether hard atomized rational choice theory is a reasonable assumption when it comes to human groups. Or whether it is a reasonable goal to aspire to.

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

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

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

https://www.si.edu/spotlight/geogallery

https://en.wikipedia.org/wiki/Rational_choice_theory#Critici....
Games are much more immersive and insular than other forms of culture. I can easily imagine myself playing my favorite games alone for years if all my other needs were met. Hell, millions of people are doing just that. Meanwhile, historically not that many people have chosen to fully escape into a world of literature, art or music - they're just not as engrossing.
Interesting to see this language feature being broken down in python. Just today I was looking at async/await & generator in js (and wrote a summary here https://stackoverflow.com/a/69055066 while still trying to wrap my head around redux-saga https://redux-saga.js.org/)

Haven’t done python for a while; was ‘t aware js & python share such resemblances!
That's where the "universalism" piece comes from. It's the belief that deep down everyone on the planet is a liberal, and is therefore hostile to other ways of thinking.

Yes, superficially it is very different to libertarianism. But stick a libertarian in a big city for a few years and they will realize how silly libertarianism is (there's too many people for it) and transition into a liberal universalist.
Why California liberals turn into raging conservatives over housing
Counterpoint: this is the reality we on HN have been warming everyone about for years.

This is no different from Cloudflare shutting down 8ch or AWS deciding not to host you anymore. We’ve been saying for years that we’re over-centralizing our internet infrastructure and that just a few bad actors have outsized influence on what can remain hosted and what they want to pull the plug on. If anything, this is good because companies might finally wake up and realize self-hosting is in their own best interests.
Oh, you're so close... what was the rest of the context?

It was that Apple somehow gets negotiating leverage with a three letter agency.

So how does Apple get negotiating leverage in a context with a TLA when they can't say "they made us do it"?
Not sure if I'm making any contribution but here's togetter aggregation[1]. Wondered why they don't have English counterpart and found it[2] had to shut down few years ago. I guess Twitter didn't like it at all.

1: https://togetter.com/li/1769757

2: https://chirpstory.com/
There certainly is evidence. It’s just inconclusive. There is sufficient evidence that more studies are being done.

If you are a fan of science, I’m sure you’ll acknowledge this.
It may be that, in modern times, filesystems don't actually key things with i-node number. But wasn't that the original purpose? Otherwise, why the design where directories are basically a mapping of names to i-node numbers?

Also, the article does say this:

> On non-volatile filesystems, inode numbers are typically finite and often have some kind of implementation-defined semantic meaning (eg. implying where the inode is disk).

If you've got other means to know where the i-node is on disk, then why would a filesystem bother encoding that into the i-node numbering scheme?

Maybe the article is wrong here. I don't know. But if the question is where the confusion is coming from, the article definitely seems to be painting a picture where normal filesystems look up things based on i-node number and tmpfs is relatively unique in not doing so.
Absolutely reason to promote ECH.

Sure Cloudflare are better than those other big US ISPs.

But for those of us in the EU, where such practices are illegal, we may want to think twice about giving our data to Cloudflare (who are subject to requests from US govt for instance.)
Toyota may have been the people who pioneered Just in Time, but there are also one of the few car manufacturers that actually had a stock pile of components. They realized that supply chain disruptions are too damaging not to have a cache.

Saying blame Toyota is funny, but really all the execs who say a cost savings and took without consideration of supply chain problems are actually to blame.
> What you probably don't realize is how culturally diverse America is, maybe more so than any other country.

Visiting the US the first few times did demonstrate a cultural diversity that I hadn't actually realised until I was there. However, I grew up in London and, the UK being tiny, spent time in Birmingham, Manchester, Bradford and many other places that were culturally diverse - if by culturally diverse one means race, religion, cuisine etc.

I thought that America had an overarching sense of being American that transcended its constituent cultures - in a far more concrete sense than "Britishness", whatever that means.

Let's be honest. An Indian, Chinese, Pakistani - French person, even - arriving in Britain in my youth had little expectation of aspiring to "Britishness". There really isn't such a thing. But those people heading to the US had something almost tangible - again, overarching - the idea of Americanness that transcended everything. Class, culture, status, no matter. The American dream.

Or, perhaps, I just watched too many films - ahem, movies - as a kid that advertised this message to the world.

But even discarding the rose-tinted goggles of youth, I still think that there was a genuine spirit of an American ideal that held true until, perhaps, only a few years ago. I can't imagine the American people just sitting idly by and watching it be torn apart from within.
Well documented code is respectful of the maintainer's time. Nobody wants to read a monologue full of noise to understand what is happening.

Comments are not monologues. Explain what the line you are commenting does, and perhaps elaborate why. But always acknoweledge: more words = more patience required = more maintenance cost.

Also, nobody will care about what your name is in 2 years. Do not make the code about you.
Does depicting mean that there was some sort of marzipan decoration depicting two men?

If so, would it be possible to refuse to make that particular decoration (but make a cake)? Wouldn‘t this kind of be like telling an artist what exactly they have to paint?

I‘m wondering purely from a legal viewpoint, not based on what would be the right thing.
Sorry but I think they are entirely different things with entirely different lineages. Woke comes from the Puritans, (American) libertarians come from the Western frontier.
DeepEqual is simply inappropriate here. It's fundamentally problematic to do deep comparisons on types you don't have visibility into. You're not entitled to manage the fields, so you lack any guarantee that the implementation matches your expectations. Maybe comparisons require holding a lock, maybe there's a pointer to a shared object (like in this instance), maybe there's some reference to CGo stuff. It's just not the right way to go about it.

If the language lacked reflection, how would you solve this problem?
Is there a reliable way to create RSS feeds for sites that don't have them? That would be really great...
BO was the only malware I got infected with on Windows. Back in 99, some colleague had sent me an executable to try out (supposed to be the portscan tool he developed), it did nothing so he said "hmm ok". Later, my mouse started becoming erratic, I started to make typos. I finally figured out what's going on when the CD drive ejected itself and I shut off the computer. He later admitted messing around.
Does the subject have clothes on? Most probably not a monkey.
> “They are effective, but doctors need them more, so please don’t hoard” is different from “they are not effective”, hence is a lie.

No, that doesn't follow. Do you have any evidence the CDC knew this was false, and was consistently messaging to the contrary (aka not a pointer to things like 280-char tweets where everyone understands bandwidth would be limited)?

A lie requires intent to deceive, i.e. dishonesty. Not something where they're forced to summarize and strip out details, but provide the details elsewhere when they have the chance. And certainly not a genuine, honest mistake. I have yet to see evidence the CDC knew that masks are effective and yet lied about it. And nobody here has been willing to provide any evidence of that either. Just because they might have been inaccurate in their assessment of the situation, doesn't mean they were lying. Just like how, just because you say "we ran out of ketchup, can you buy some from the store?" and then discover you had some in the back of your fridge, that doesn't mean you're lying.

And btw, I don't even know what example you're talking about. If you're talking about my example like I said, at 1:32, the reporter clearly communicates "surgical masks are not that effective". And it wasn't the CDC talking either. You should really link whatever you're talking about because it doesn't seem to be this example.
They stated something as fact to influence our behavior, when they did not actually have the requisite knowledge to make such a statement at that point in time.

They should have instead said "We don't know whether they're effective yet, so don't hoard them, because doing so could cause X."

There's nothing wrong with admitting you don't know something yet.

Instead, they make commands without supporting evidence. That implies total disregard for the peoples' intelligence. Upon realizing this, trust is lost and dissenting actions increase.
Mega absolutely complies with law enforcement and does issue takedown requests. It’s all built into their policies.

https://mega.io/takedown
I don't think the comment is the same as the code. If "size" was called "token_bucket_capacity" I would agree but since it's not, if you remove the comment you lose some context.
It would be fine for Black people too if the context was purely taxonomy and all people would be classified as primates. But that is not what happened here.
I have been to them, but not specifically for technology. I was on a mailing list called Q-Insights and it was good money during college. Basically you do a screening survey online first to see if you match the criteria (age, marital status, ownership of a competing product, etc). Then if you qualify, there is a time and date for an in person focus group where they show a product or video and ask you questions about it. Usually there is food and then afterward they hand you a check. I have done these for movie previews, kitchen appliances, cell phone case, cars, and a few others.
Yes, in the purity. It’s okay to give slightly contaminated medication to horses, not to humans. The human Ivermectin is purer.
Like all the evidence we had around the efficacy of hydroxychloroquine?

The paper from Argentina around Ivermectin is already suspected of fraud. I won't hold my breath it'll end up with good results.
The strange thing is that they built the exact opposite of building 20: an expensive, delicate, complicated building where the grad students wouldn't dare pick up a sledgehammer to run some ethernet cables through a wall in a hurry. How could they expect the new building to fill the same role as the old one?

If they wanted to reproduce the environment of Building 20, they should have built the whole structure out of T-slot aluminum extrusions and LEGO.
I am not even a proponent of anti-abortion laws, but I can clearly see this argument is faulty. Newborns are about as helpless without somebody feeding them as an unborn child. And even in the fetus stage a transplant may be possible if somebody really cared enough to try.
I assume you’re talking about HAT (head on tails).

The only way to mark in cache is to analyze the incoming streams which still uses significant power and can itself be bottlenecked. As I recall, there’s also occasional waste space on x85 because there’s so many length options.

With RISC-V, chunks parse faster because you can skip (eg) 512 bytes and I believe only the last two bytes need to be inspected to ensure it’s sliced and potentially padded correctly. At that point, I don’t know that any other scheme is needed.

All the fast ARMv8 implementations use uop cache and fast RISC-V implementations will do the same as they gain an even bigger advantage.
It's the desktop client. Arch's eminently readable build files make this more obvious: https://github.com/archlinux/svntogit-community/blob/package...
never heard of podman, but wow is their twitter logo really a remix of DugTrio ? https://twitter.com/Podman_io/
It's a strong symbol. Powerful poetry. Graphically lush. Ritualistically useful. Memetically energetic. Mythically resonant.

Which makes it handy when your aim is to throw a big party.

Much like a hammer is good for driving nails.
I think they're legal here in Canadia, but I've also heard they are highly unpleasant on the highway.
On my smartphone, a simple doubletap on the body text and it zooms in to the text, full-width on the screen, and is thus readable and beautifully typeset.
A leader's most important role is to build and maintain trust.

> "Seriously people - STOP BUYING MASKS! They are NOT effective in preventing general public from catching #Coronavirus, but if healthcare providers can’t get them to care for sick patients, it puts them and our communities at risk!"

This could very easily have been reworded to an honest "we do not know if they are effective" instead of a definitive "they are not". You cannot in good conscience call yourself a good leader and/or scientist if you do not acknowledge the limits of your understanding.

People may not understand the science, but they understand trust. And given that no individual has the time and/or intelligence to understand the science, breaches of trust should be the end of a leader's career. They're failing in their most important duty.
Well there's "blue hydrogen" and "brown hydrogen" which are produced from natural gas and coal respectively.

Green hydrogen is produced through electrolysis, from renewable energy sources like hydro, wind and solar.
Your PayPal is a regulated bank. American PayPal isn't.
If you were a believer in science, you’d understand that there is no connection between hydroxychloroquine and ivermectin.

Edit: you dishonestly added the following to your comment after I replied:

“The paper from Argentina around Ivermectin is already suspected of fraud. I won't hold my breath it'll end up with good results.”

For what it’s worth, I’m not referring to that paper.

But again, if you understood science, you would know better than to make assumptions about the results of a paper you have never seen.
In fact the annual burning of Zozobra took place last night! Around 27m in: https://m.youtube.com/watch?v=WpGpa_nLTEs
So you are openly a supporter of Corporatism. The more money, the more political representation you are allowed to purchase. Congrats.
On the other hand, if something is missing in the comments, it could take days to find out exactly what you need. Maybe a "level of comments" like log levels could help here?
Cold_iron: A Brief Introduction to Nanothaumaturgy
It was known 15 years ago that sensors will be the next big thing, but Kinect did not make it. It was later repurposed as an AI sensor.

Sensors are more important than ever, but they became technological details as opposed to selling points.
... Where do you think the Western frontier settlers came from?
The issue is that there aren't any studies showing that safe doses are effective for treating this disease in humans. The studies on monkey cell cultures are what they are, but nobody seems to be noticing that the dose you'd have to use to get those effects in living humans is unsafe. As a rule, medicine should be more likely to treat the illness than to kill you. If my doctor prescribed Ivermectin, I guess I'd take it, but if my doctor prescribed it at this point, they should get their license revoked.
It's the desktop client. The unofficial vaultwarden server package is also available in the community repository.
San Francisco Program Will Pay Criminals Not to Shoot Each Other
Right hand drive can be road legal here. Not all companies will insure it but many will. Would take some getting used to, but I've seen people driving them around.
Other than the potential to be independent which the two share, yes, I think that does support my point. We have no need to reclassify limbs as "not alive" in order to have good reason to amputate them. Doing so would be seen as quite neurotic.
big shocker neo-nazi hosting provider accepted them.
Does escape new line work in function names in C? Brb.

Edit: Hah. It does.
It's a bigger trend of Executives taking decisions without revising with their own shareholders.
Censorship is always bad for society. This is sad!
Thinking outside the box: AWS signals a new era for storage
> it's immoral to force someone to support a parasite

Just stop digging this hole deeper, please. You are misusing the term "parasite" and I imagine you may, later in your own life, come back to these remarks with a distinct feeling of shame.
I'm not following you how on that would be a positive (in a chip shortage situation).

Say you use 50 microcontrollers in a car. Probably 15+ separate part numbers? One or two of those can't be acquired, so boards need to be redesigned and the production line is held up.

Now, imagine a different world with wide cross-licensing between manufacturers and instead of doing hundreds of separate variants slighly cost optimized for various purposes for each major microcontroller design, let's just have a small number of kitchen sink variants.