jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I gave up in fustration, the site has no real information, no system requirements, no installation information. does it run on linux? I like the idea but i have a department with 100 fedora workstations in it.
s/latter/former
So, with all the people here doing Adblock. Should I feel bad when startups go bust because of the lack of advertising dollars?
https://github.com/h2o/h2o
I believe Google strips the font hinting if you're not on Windows, as it's not needed/used by other systems.
The zoom is why I have always used dolphin on android and probably always will. Can we call these set of bugs Mac Retina Blindness?
You're about to rent a new place. The landlords have just signed the eviction papers for the old tenant, and they just survived an attack from the dogs he let loose on them. Should the old tenant get to stay in the apartment 10 more days, and wreak havoc?

Worse, the old tenant has the nuclear codes.

I wanted to ask what if something big happens now, like an ISIS attack, but I suppose this administration has been so dumb the last 4 years, someone else lower in the chain of command can deal it it.

On the topic of chain of command, from Obama's latest book:

> What I was quickly discovering about the presidency was that no problem that landed on my desk, foreign or domestic, had a clean, 100 percent solution. If it had, someone else down the chain of command would have solved it already. Instead, I was constantly dealing with probabilities: a 70 percent chance, say, that a decision to do nothing would end in disaster; a 55 percent chance that this approach versus that one might solve the problem (with a 0 percent chance that it would work out exactly as intended); a 30 percent chance that whatever we chose wouldn’t work at all, along with a 15 percent chance that it would make the problem worse.
Finally, this has been years coming. This was absolutely the right thing to do.
If you want to address people's stance on those unrelated issues, address them (not vague "whoever") when they're brought up (not now).

> slippery slope

Do I really even need to say anything about that?
But still, the action happened on political basis. This feels something I used see happening in Eastern Block or USSR some 40 years ago.
This probably hurts Trump more than the impending impeachment.
You have the right to speak. You have no right to an audience, nor to compel a third party to spend time, effort and money providing you either audience or amplification.

He has the White House web site. He wouldn't even use the @potus Twitter account because he'd rather have people follow his personal account.
If someone told you people were plotting to overthrow the government on your minecraft server, and you didn't act on that, you could be culpable if that report turned out to be true. If people died, their next of kin could hold you accountable for civil damages in a wrongful death suit.
1. https://qntm.org/abolish

2. Summarising why I agree with 1.): With UTC (or whatever other time zone you'd standardise on), you "know" what time it is everywhere (because it's the same everywhere), but if you actually want to know what that means for people elsewhere (i.e. are they likely working/sleeping/eating/...), you'd still have to look it up, just like you need to look up time zones today.

At the same time though, because time loses its relation to the solar day, any mention of time you read or hear about in some article/piece of news/story/novel/... a) becomes completely meaningless without being tied to a concrete geographic location and b) if it's elsewhere, remains meaningless without looking up which bit of the solar day that time actually corresponds to at that location.

3. At the price of creating the International Date Line, the current system has the very useful property that the local calendar date changes at a time when most people are asleep or otherwise don't really care about it. With a single global time zone on the other hand, no matter what meridian you choose, 00:00 will happen right in the middle of the waking hours of a significant fraction of the planet. Having the calendar date change in the middle of the calendar is incredibly confusing and would necessitate using unwieldy double dates ("today is the 14th/15th") to make things unambiguous again. Public holidays and suchlike would have to be specified with starting and ending hours instead of being able to rely on the sensible default of midnight local time (and doing so would effectively reintroduce some sort of time zones through the back door, which calendar software would have to be able to handle, too – unless you want to force half of the world having their holidays starting and ending during typical waking hours)

Right now this is only a common problem when having to coordinate things with people in significantly differing time zones, but under your proposal, those unlucky people that are not living near the meridian will have to deal with it constantly when dealing with their local time (which for most people will be much more frequently that having to schedule a meeting with someone on the opposite site of the planet).
You don't have to say "I hereby incite you all to commit violence" to be found guilty of inciting violence.
The only difference between insurrection and resistance is corporate sponsorship.
Yes, in Norway the consumer association even recommends it
"Oath of Fealty" was a science fiction novel, not a how-to guide
This is the real reason. For instance, McDonald's in India is itself run by two companies, one for North and West India, and another for South and East India.
Everything is worth what it's purchaser will pay for it; every transaction is subjective
How does Plato make money?
Most people aren’t spending so little. My wife and I are at like $150-$200 per week if you are including alcohol. And we are cooking almost every dinner from raw ingredients.
You can apply the same logic to suggest no one should start a business.
It is a very imperfect analogy indeed, since you cannot instantly kill a family of 5 with a flick of your wrist, while using linux.

Cars kill one and a half million people a year. Let that sink in. That's a loaded jumbo jet going down every few hours. Cars are not supposed to be exciting, they are (or should be) supposed to be safe.

If you want exciting cars, buy a dedicated one and play with it exclusively on the track. There's already enough morons doing "exciting driving" in public roads.

> Being in total control for me includes the ability to shoot yourself in the foot.

Yeah, if it would only be yourself you'd endanger, I'd say knock yourself out. But you can harm others, so you shouldn't have that freedom.

ESC, seatbelt warnings, road condition warnings, even a simple alert when you've been driving for a long time without breaks, all those things measurable save lives. I'm sorry you feel annoyed, but I find that a very self-centered thing to say.
iirc SELinux can only restrict the process groups that are able to read the file, which doesn't help you in a remote code execution exploit inside openssh.

The question is, is is possible to use the keys without having them in RAM any more?
I don't see any memory getting unexpectedly stomped on.

C is a great language, but it is absurdly common to accidentally write code that writes garbage to nearby memory, or can be exploited to do so. Such bugs are the cause of a vast number of security problems. This characteristic of C is simply not true of most other languages.
I guess Joe is no longer a libertarian.
haha, yes.

My mother wasn't too happy to step on the bricks, so I had to put them in a box.
That sounds very good but you have to have enough textual content that the ad engine can figure out what the page is about. (Because of pervasive privacy concerned I think behavioral targeted and user profiled based ads are going to decline in effectiveness.)
This article uses a trope that is frustratingly common in rationalist articles: It sets up over simplified straw-man versions of real world scenarios and then knocks them out of the park.

In the real world, a doctor who ignores the complaints of every patients will quickly find themselves the subject of malpractice lawsuits. Not by every wronged patient, but it only takes one or two angry patients with lawyers in the family to cause huge problems. Malpractice insurance is expensive for a reason.

Real-world security guards do a lot more than just catch robbers in the act. I've had security guards catch employees trying to remove company assets late at night, catch doors left open, notice faulty security mechanisms that need to be repaired (e.g. door sticks open), and so on. Not to mention the presence of a security guard is a huge deterrent for getting robbed in the first place.

And so on. Yes, there are situations where you can get away with betting on the most common outcome for a while, but unless the people around you are all oblivious then eventually they'll notice.
"Not mentioned in the post, but mentioned in the book that inspired the post: 2C-B"

It is mentioned in the article:

"these and other reasons make me suspect that even 'safer' phenethylamines like 2C-B won't be getting FDA approval anytime soon."
How do you know what the "right things" are without markets? If architects are quitting their jobs to become bakers, it's because society values the baker more than the architect and therefore the person can make more as a baker. If enough architects quit, you will see the incentives switch and more and more people will begin training to become architects.

>There's also the question on whether inventions, medicine, technology are what we should be optimizing for?

Only the whole economy can accurately decide what we should optimize for. If you try to centrally plan an economy, it will fail because you remove pricing from the equation which is a signal to where resources should be allocated. For things that may not have a current market, this is what privately funded research and charities should be used for.

>The real cost to inequality is that it correlates with political polarization

This is only an issue because for some reason we have decided we need these huge government bureaucracies to run our day to day lives. Without this, peoples politics wouldn't matter. As for the anti-police movement's, this is manly due to people starting to realize the only thing the police protect is the State. The anti-vaccine movement hasn't grown. The government and the media have changed the definition of anti-vaccine. If you don't believe the government should or has the right to implement vaccine mandates on the populace you are anti-vaccine. If you aren't sure there is evidence the vaccine slows the spread of COVID, you are anti-vaccine. So basically the government and the media have labeled anyone who is unsure about this specific vaccine to be the same as the person who believes essential oils will heal everything and that vaccines in general cause autism.
Other points of reference would also be rhodium. But you're spot on, it was a magical point of the Internet.
> But they don't stand out from each other.

They were (still?) also colour-coded[0].

[0] https://upload.wikimedia.org/wikipedia/commons/thumb/1/15/AC...
That's because the first 'object' is a block instead of an object literal.
The problem isn't that the list is incomplete. It's that the endeavor is poorly conceived.

You can names tapes by their intended use, or by their adhesive properties, or by the material of the substrate, etc. Depending on what naming scheme you use, you get different lists. Look at 3M's list of tapes [0], for example. Their tape names don't match those on the wikipedia page, because they're named after intended use. The wiki page uses all strategies simultaneously. For example, they have a category called "foil tapes", which includes the wiki page's "aluminum tape" as a subcategory. The wiki page has "scotch tape", ironically a brand owned by 3M, which doesn't even appear on the 3M page (presumably they fall under that page's "office tapes" category).

I'm not just nit-picking about naming. I'm saying the list is arbitrary because it resolve hash collisions arbitrarily.

[0] https://www.3m.com/3M/en_US/p/c/tapes/
GME is a bit weird because it was essentially a crowdsourced fundraising round for Ryan Cohen SPAC, expecting an NFT play. (Which I expect will fail spectacularly)
Yes, but IMO that makes the code a bit more abstract:

You've left behind an explicit "is this collection non-empty" and you're instead relying on a property of a non-empty collection.

The PHP version can also be written as

if (($element = reset($some_arr)) !== null) {
echo $element;
}

But that code is similarly divorced from the imaginary pseudocode equivalent
The time it takes to run `cargo check` is nothing compared to dealing with bugs, terrible tooling, weak errors, etc. All of those areas have been radically better with Rust.

As an example, type errors in Rust are radically better than mypy, it's no competition. In general rust's type system is just way better, we have to use Any all over the place because mypy can't even handle a Json type (no recursive types at all).

There's nothing that Python really does better in terms of iteration that I can think of. Obviously you don't have to compile code, but `cargo check` is seconds, that is not the bottleneck. We use hypothesis in Python and quickcheck in Rust, cargo is way better than pip, working with loosely typed data is about the same in Rust, maybe a bit better, and working with strictly typed data is wayyyy better.

The tooling for working with crates, having an actual lockfile, higher quality libraries, etc. It just all makes Rust more productive.

We've run into maybe one rust footgun, which is that binding to _ drops the value immediately. We've run into so many Python footguns, like, did you know that in Python if you want to do circular imports you need to put your imports at the bottom of the file? Or use absolute imports everywhere? Neither of which seem to work 100% of the time by the way, something that makes writing graph data structures quite cumbersome. The other day we ran into a stray comma turning a value into a tuple. The papercuts and footguns across the tooling and language just add up really fast and basically don't exist in Rust.

I don't know how people get stuck on the borrow checker, frankly. It's one thing if you're very new to the language, but within weeks it should be very simple to avoid those errors. I maybe hit a "fuck, what" borrow checker issue once a year, in which case I hit up the Discord, they fix it, and I file an issue with rustc so that the error message will get improved.

This is based on about 7 years of Rust and Python experience, with 6 years of professional experience in Python and 3 in Rust.
Either way, the comment I replied to tried represent a whole of humanity stance on something, since the dawn of civilisation, that is clearly false.

We can both come up with examples to suit our viewpoint. I didn’t say that person was wrong. I just said that person was being selective.
I'm not a corporate lawyer, and by no means an expert, but I think this is propagating one of the great myths of the last 40 years or so. Profits/finances are not the sole-arbiter of success, even in for-profit companies. A fiduciary duty is not simply to profits, but to the success of the company (however it and the shareholders measure it). Granted, they likely need money to continue with whatever is their measure of success. There will always be those that feel that the sole duty of a company is to profit, but that doesn't mean they are correct.
No, the next giant wave will not overlap with Facebook's wave. Whatever overlaps with their wave, Facebook will be on top of. People will use whatever that next big thing is along with Facebook, not instead of it.
A difference which is relevant approximately 0% of the time.
Some languages put verbs first though. In which case it seems like functional programming languages might make the most sense to them.
While I'm aligned with the goal, it's burdensome for early-stage startups to hire FTEs to deal with what is essentially administrative paperwork. All startups have this problem, so it feels like one that should be solved by software. Hence eShares.

FD: I work at eShares.
This is far from universally agreed on.

>when examining the frequency of different alleles (variants of a particular gene) at an individual locus (the location of a particular gene) between individuals, it is nonetheless possible to classify individuals into different racial groups with an accuracy that approaches 100 percent when one takes into account the frequency of the alleles at several loci at the same time. This happens because differences in the frequency of alleles at different loci are correlated across populations — the alleles that are more frequent in a population at two or more loci are correlated when we consider the two populations simultaneously. Or in other words, the frequency of the alleles tends to cluster differently for different populations.

https://en.wikipedia.org/wiki/Human_Genetic_Diversity:_Lewon...

In other words people's genetics do naturally cluster into different groups.
I don't see how this tests the security of a setup if it is relying on a user submitting the password themselves. There is no way to protect against your own or the stupidity of others.
What a terrible article. I feel dumber having read it. It's one of those articles that sounds good and takes more effort to correct than it took to write, and thus causes a net loss.

Just one example: "That gives every path to this function a 50% to 75% chance it will fail with just the inputs above." I mean, what kind of nonsense is this? This is pretty much saying that the odds of winning the lottery are 50%, because either you win or you don't.

Most of the article is spent on discussing the perils of a strcpy reimplementation. Yet there's no discussion of a fix. The author simply assumes the existence of a magical "safercopy" function that behaves correctly on all inputs. Of course the author doesn't provide the implementation of this function, because if he tried to write it, he'd discover that it's impossible.

In short: flagged for being awful.
"most of space is just... space"
I'm a mechanical/software engineer, but I set up our company's web and continuous integration servers using Ansible. The experience overall was excellent, and everything worked mostly as advertised. A couple pain points I had were:

* If I removed something from the Ansible configuration, it stayed on the server unless I explicitly removed it manually. This created hidden dependencies. I solved this problem by creating a brand new server and running Ansible on it from scratch every so often. I have considered setting up CI for our Ansible configs by using Vagrant to recreate our server architecture, running Ansible on the virtual machines, and ensuring everything works.

* Our continuous integration setup requires Ansible to be installed on the CI server, so it can automatically deploy to staging using the same playbook (Ansible configuration) we use for deployment. Our staging server is the same as our CI server, and it was actually a pain to set up deploying locally as root. Also, I feel like allowing the CI software to use root is a security hole.

I also spent some time with NixOS a year ago, and I was very impressed with how it manages packages. The first problem I mentioned with Ansible seems like it wouldn't happen with NixOS, since not including a package in an environment means it won't be present. Second, it also seems that you could use Nix's declarative configuration language in restricted environments, which wouldn't necessarily require root, instead of having to install system-wide packages for a particular deployment. I am not sure how easy this is in practice.

Currently, I am using Arch Linux, and I installed the nix package manager to play with some more. In the future, we might be provisioning AWS servers in real-time to run simulations given to us by customers (we make simulation software), and in that case I am going to investigate NixOS more.
I think the answer lies in the late '80s computing zeitgeist.

During the preceding decades, the object-oriented paradigm had been shown to be highly useful in simulation (Simula) and graphical UIs (Smalltalk), but these use cases were still far removed from the majority of real-world apps.

A lot of people looked at OO's phenomenal success in these fields and extrapolated that all software would soon look like that. "GUIs are going to be the future. Also, all of our software works with real-world stuff. Money exists in the real world, right? Therefore it's an object."

Java certainly didn't start the OO hype. By the time Java hit, the hype had already been in full force for at least 5 years... Borland's CEO announced sometime around 1992 that they would defeat Microsoft by adopting a "full OO" development workflow. At the same time, Microsoft was hyping its own OO concepts and frameworks like MFC.

But Java definitely hit the sweet spot of multiple hype cycles at once with its combination of OO everywhere, web-oriented applet deployment and platform-independent VM.
Right, he has a good reputation. But that shouldn't help -- he can't do anything about what underlies his code on these closed systems.
so the american 1% alone has created 50T in wealth in the last several decades? seems unlikely
One thing that, while possible, would take time and be non-trivial is their network hardware distribution. They are have more compute locations globally than Amazon, and it's not close. And one of the main focuses Cloudflare has worked hard at doing is driving down peering prices and offering IX services to get into competitive centers.

Google could replicate this, as could Amazon (that would be more my bet personally), but Cloudflare has no vendor lock allowing customers to use any infra. Google could do the same, but it would almost always have better and more robust support on GCP, and that would create a disconnect. Same for Microsoft and Azure. They're incentivized to vendor-lock you into their compute services. Cloudflare isn't.

But, there is room for multiple competitors across the space. For instance Akamai is still a dominate player in the CDN space and Fastly has been strong. Luckily there are plenty of businesses available that they all can eat. Google muscling in might hurt Cloudflare down the line, but it wouldn't necessarily reduce the staying power of Cloudflare. Again, it's hard to achieve and undo their physical network distribution.
Yes but I’d have to be quite strict with myself so give regular status updates to myself. Also would be wary that I would end up micromanaging myself.
This is one of the most compelling arguments against the laissez-faire attitude to sharing personal data that has permeated the tech industry as we've become an increasingly connected society. It's all very well saying the person who owns the device consented to RandomNotMalwareAtAllApp accessing their address book, or listening in on their mic, or accessing their camera or photos, but what about everyone else who is now being observed or data mined as a result of that action?

Obviously there has to be some reasonable middle ground, because otherwise no-one can ever provide an online service that offers a genuinely useful facility, say hosting email, even if it's done in a way that is respectful of privacy. But hoovering up someone's entire address book or photo collection or whatever, and then dumping the details into some database of shadow profiles or using it for other purposes that affect the data subjects? At some point, I think you are clearly across the line of what should be considered acceptable behaviour.
I think it's great actually. It's the first real step towards open federated/decentralized internet in the last 15 years. The technology didn't go away, we just stopped using it, and now there's finally some motivation to use it again. I am looking forward to email-like social network protocols.