skysight-inc/HackerNews huggingface dataset:
"What problems, challenges and hardships in life and work were faced by people in earlier generations and centuries? And how did we solve those problems through science, technology, and invention?"

I respect Patrick Collison, but this curriculum worries me. Our understanding of progress already de-emphasizes the nasty parts (eg slavery) by hyper-focusing on innovation. I think this curriculum, which seemingly leaves out critical analysis of labor practices, etc., will worsen our understanding of technological progress.

For example, the improvement of infant mortality is one of the major accomplishments of the last couple centuries. We could focus on the role innovation in the improvement of women's health. But I believe that expressly leaving out the exploitation along the way (eg experimentation on enslaved women[1]), leads to understanding history worse, not better.

[1] https://www.npr.org/sections/thetwo-way/2018/04/17/603163394...
Also responsible for the WoSign CA distrust
Easy yet powerful script for configuring WireGuard VPN
Oh good. For a minute I was worried Telerik was launching a bootcamp.
No, it’s far from a monopoly on violence in Weber’s sense (or any, really). The king had to manage a whole bunch of aristocrats who had their own armed forces and could pursue their own ends.

Anyway, not sure what you’re arguing against: the divine right of kings is exactly the kind of thing I’m talking about when I say legitimacy.
clang gets it "right" because it uses the sse divsd instruction to perform the division, gcc gets it "wrong" because it uses the x87 fdiv instruction.

You can configure gcc to use sse math with the -mfpmath=sse instruction. The author states that gcc still gets it "wrong" but he simply is not correct. gcc will use divsd and gets 0.501782303180000055.

gcc defaults to use the x87 fpu instead of sse because not all 32 bit x86 cpus have SSE instructions. It's a safer default. When compiled in 64 bit mode, it uses up to SSE2 instructions, because all x86_64 CPUs have SSE2.

https://godbolt.org/z/3PfKQU
I am not obliquely referencing any study. You are mind reading.

So you have a statistic that says doctors choose to die differently than the patients they are treating. That is interesting, but merely descriptive, not prescriptive. It does not tell you which treatments works best for someone who happens to be a doctor.

If you are talking about fixes being studied for problems borne out of subjectivity, you admit that objectivity is at odds with the individual.
The FDA is largely composed of Type B people. They are very risk averse and will often delay a new technology simply because there might be unknown risks. There are technologies widely used in European ventilators such as automatic alarm control or adaptive alarm limits which the FDA views as unsafe based on their fear that the alarm system might fail somehow.

It doesn’t surprise me that they tried to slow the approval process down. Anyone that believes the FDAs mandate is to foster progress is severely misinformed. Their actual mandate as I understand it is specifically to protect the public from injury by making progress really slow and making sure there are enough barriers to prevent someone selling a product which makes patients worse off than competitors.

In this case they probably caused a lot more damage than they prevented.
> why should it not be the default?

Why should what not be the default? The speculations of string theory? Um, because they're speculations?

>* just the idea there is something that doesn't collapse any further*

Because our best current theories, the ones we have actually tested experimentally, say that once you are over the maximum mass limit of stable states of matter, there is no alternative to collapse to a black hole.

If someone comes up with a better theory that makes different predictions, and has that better theory confirmed by evidence, then our default will change. But until that happens, our default is what our best current theories that have been confirmed by evidence say.

> what are the testable consequences of the contrary - i.e. the existence of a singularity or the possibility of crossing the event horizon?

We cannot directly observe events at or below the event horizon from the outside, but we can test for the possibility indirectly by looking for the evidence that we would expect to see if something else happened, i.e., evidence that collapse stops somewhere short of the horizon. So far, in cases of objects which are above the known maximum mass limits, we have seen no evidence that anything stops the collapse short of the horizon. If we ever do see such evidence, it will be evidence that our best current theories need to be modified. But so far, as I have said, we have not seen any such evidence.

Speculating about other possible theories, in the absence of any evidence such as I have described, is fine as long as they are understood to be speculations. But in the absence of such evidence, the "default" remains as I have stated it above.

> Reading popularized accounts of renormalization gave me the idea that when a physical theory spits out infinities, it's got to be inadequate.

Not inadequate; incomplete. Yes, physicists pretty much agree that GR must be incomplete because it predicts infinities in certain particular regimes. But that only means the theory is incomplete in those regimes: at the singularities predicted at the centers of black holes. The black hole event horizon is not such a regime; GR predicts no infinities there whatsoever. So there is no reason to consider GR incomplete at the black hole event horizon, or even well below it, all the way down to the singularity, on these grounds.

> Whatever ideas don't give infinities are probably better.

Not at all. The fact that a current theory is believed to be incomplete because it has infinities in a particular regime, does not at all imply that any theory that does not have infinities in that particular regime must be better. That is simply faulty logic. The fact that many string theorists proclaim it does not make the logic any less faulty.

> relativity is guaranteed to be wrong

No, relativity is believed to be incomplete in one particular regime. That is very, very different from "wrong".
-ffast-math should rebrand itself to -ffast-and-more-correct-math ;)
Thanks! I had actually asked my doctor for a home test. (Lab tests currently impractical due to pandemic). We’ll see what the results are.
If your eager to try it, Feddit Social is another (much smaller) instance.

https://feddit.social/
Apple Will Force Apps to Ask for OK Before Tracking Users
Do you have caffeine? I don’t drink soft drinks, but coke has caffeine.
I don't think it's necessarily a given that nothingness is even an option.
In general, the problem with "all actions are banned unless they benefit society" is that people who have different opinions about society's best interests need to coexist.
Are you sure? The FPU instruction set is the same.
No it's not. For example, being against gay marriage is still a fairly mainstream social conservative position; opposition in total is around 35% across the US[1]. You don't hear much about it anymore because it's viewed as politically infeasible even within those circles, but if they could do it they absolutely would.

Just look at the recent supreme court ruling that made it illegal to fire people based on you being gay or transgendered. Tons of conservatives shot back on that one. I don't know how you can look at a viewpoint like, "yes, employers should be allowed to fire you for merely being gay" and think that that doesn't mean they want to keep marginalised people marginalised.

1 - https://www.pewforum.org/fact-sheet/changing-attitudes-on-ga...
The polarization of every company to serve one half of a political divide does not seem terribly healthy.
A server also means it still works when the language is not simple enough to condense into simple grammar rules :)
Which compiler that can compile modern C++ doesn't always inline a static single-caller function?
The problem is that a lot of those ports are using old kernels and various hacks that a) OEM wouldn’t want to support since it can produce unreliable results and b) may quite likely be in violation of whichever agreement they have signed with the SoC manufacturer.

That said the larger OEMs could easily provide updates since they can simply compel Qualcomm to support newer kernels heck some of them like Samsung even produce their own SoCs.

They don’t want too, planned obsolescence has pretty much been integrated into the android ecosystem.

This is why I left it, OnePlus One was my last Android phone, iPhone 6S was my first iOS phone (I had an iPad and a iPod touch before but didn’t really used them, these were gifts and a raffle win).

The iPhone 6S will still get iOS 14 this year.

Overall I could sum up my Android experience as - lost weekends of tinkering with ROMs and kernels trying to get my phones in-line with new releases.

Not to mention the worst shit they cam up with and that was when updates were linked to carriers so sometimes you had to wait a year to get an update if you didn’t want to risk bricking your phone by applying an update form a different region.

Honestly if there was a $300 iPhone coming out each year I don’t think Android would have gotten above single digit percentage in the west.

And while I’ll probably get flack here for saying this but Android is the biggest piece of shit out there not because the OS is bad but because even Google cant get their asses out of their head long enough to provide support for more than a couple of years to their own devices.

And the worse thing about this is that because of how utterly garbage the Android ecosystem is we are somehow supposed to pat Apple on the back for supporting devices for 5 years.
I see.

I also realized after I posted that Wren is apparently meant to be embedded.
Respectfully this is wholesale incorrect. It is trivial for a practiced data guy working in the discovery space to build a cia worthy dossier on someone solely by buying data and building appropriate data models. I am not making an outrageous unresearched claim. I am staying what I know to be true, having worked in the space.
Code like this actually always makes me feel better about my own code when I’ve ultimately had to make a trade off between abstraction/organization and performance. I wonder who all these engineers are that see code like this, especially in hot paths, and can’t understand how it came to be and that there was a deliberate choice made.
I am curious which editors pass this test, as pretty much everything I have tried chokes on long lines, even things like nano, vim, Sublime Text…
In regards to the ssh-agent stuff (and a lot of the other CLI tricks), the man pages usually document them. They may lag a bit for new features, but most of them will have a man page. Barring that they’ll usually print a help message.

One command off the top of my head that doesn’t really follow this is the undocumented/internal `airport` command. In that case it has two different help messages depending on how it’s called, and is also tucked away in a framework as well.
"now" is at least 16 years now (with PKCS11 and opensc)
I have wear on my teeth from cronic grinding during sleep years ago when I was objectively under huge stress but felt fine . I suggest you write out every possible source of stress you can think of or guess might by in your subconscious past, present ant future. Past e.g. difficult experiences. Present: e.g. financial, relationship. Future: e.g. getting old, sick unable to work. Do this every day expanding on the previous day for a month. I can't say for sure if this stopped my problem but my grinding did stop and never returned.
I don't want to speak too much for raphlinus here [1], but I don't think it was ever the goal to make an editor that gets a lot of downloads like a startup pitching a product. All the things you've listed are non-goals, or at least lower-priority goals.

The goal was to make an editor based on sound technology principles, and that included investigating said technology principles. It turned out some of those principles were bad ideas, and that's that.

[1]: My involvement with xi was limited to being part of conversations he had about rendering performance on Windows in the winapi crate's IRC channel.
> Ad blocking isn't a community

It's a user's side tool to remove unwanted content based on community generated rules

It's content moderation nonetheless

The error IMO is to think that the current implementation, which is also very young and immature, it's the best possible

It isn't

HN is not really a community, it's a platform run by a commercial entity, with (legit) interests

Imagine if HN was just a node of a larger federated network

They could decide what to post on their node(s) and which comments to remove

I could run my instance and subscribe to their feed or their same source feeds and make different choices

People could share blocklists, whitelists, favourites, ratings and everything else and decide what to use and what not

HN would still be popular, but other nodes could benefit from having more freedom or making different choices

Now HN (and every other UGC out there) is an all or nothing experience

Facebook is facing an ad boycott because they can't moderate the platform the way corporations want, it means advertisers are the ones who ultimately decide which content is valuable and which is not, sometimes it can coincide with what users want, but more often than not it doesn't.

But if we produce the content (like this conversation we're having) we should have control over it, and be able to reproduce it on a instance we control and continue it ad libitum even when HN decides our karma doesn't allow more than a few comments a day or one of us is shadow banned for reasons completely unrelated to what we are discussing right now or because it looks like spam to them or any other reason they think it needs moderation.

It's their right if the content is free for someone else to pick up and they are not responsible for what happens on other nodes.

It should be part of giving back to the community, you generate content for us, we moderate it like a DJ selects music for the listeners, but you can make your own playlists if you want to, because we don't make the music, we just mix it.

Nobody said HN should not moderate their public instance, they have people to respond to, it simply shouldn't be the only instance

If I had a feed of every comment and every link posted, I could read them and make my own rules

Now I can't
Function calls do none of those things if they’re inlined, and compilers have been able to inline functions for a long time. Perhaps this code is even older than that.
Woa. Dude games without frontiers. That's some next level shit.
Because they're compiled to use SSE instructions instead of x87 FPU instructions.

If you are still writing 32 bit x86 C code, it's probably some embedded or legacy CPU, and it's wrong to assume SSE instructions are available. So GCC correctly defaults to using FPU instructions instead of SSE instructions on 32 bit x86.

Javascript and python will basically never be run in embedded environments, and their legacy environments probably aren't that legacy that SSE instructions aren't available. So it's reasonable to default to SSE.
You can shield yourself from alpha with two sheets of paper.
Hey I'm just answering the question, yeah? We do it. It's not that hard. You pay the overhead upfront and have fewer surprises. Read the "Hollywood Secrets" book, it makes a lot of IMO good points.

I once helped a guy build a go-cart out of an old lawn mower engine and a bed frame. It was a lot of fun. We didn't do any research, we just made it.

If I'm provisioning a commercial fleet (for a delivery service or something) I'm going to do my homework to make sure the cars we deploy are low-maintenance, high-mileage, with a good safety record, etc.
Same. Linux Mint has been the last step for me to completely being able to forget about my OS and just get to work. My family also runs it, and I don't get support calls ever anymore.
Volley (YC W18) is hiring a head of engineering to build voice-controlled games
Try magnesium.
The ecosystem is very successful:

https://twitter.com/freemancw/status/1276287684814594048
You’ve got to give people a space to consider both sides of every argument. Better to cordone off that space than have that discussion elsewhere.

If you tell someone NEVER GO INTO THE LAST DOOR ON THE THIRD STORY, they’ll endlessly wonder what’s inside. If you show them that it’s your amateur paintings, they’ll never care again.
Why would there be any difference?
Does it work with GCC on your computer? This might be 32-bit specific.
But then you have have make a database call to check the blacklist, so you might as well use sessions
So, Gatsby: not that great?
I would consider the tribal gift economies of many of the American Indian tribes as "better". Moraly, ecologically, and spiritually. Minimal ecological damage and some would argue, me included, that they operated more as stewards improving much of the land they lived on. They cherished and took care of their elders. They worked a hell of a lot less hours than we do.

And here's the kicker, they valued listening, honesty and respect. Can you even imagine living in such a society?
> JavaScript is required for this page.

Offering a second opinion; they barely know how to display text without using JavaScript. There is a lot of room for technical improvement.
Congratulations Clement and team, massively solid release.
Ha yes, as far as I remember, my claim about Aho-Corasick had validity, but I definitely learned a bunch of things from that thread.

If you scroll way down you will see a benchmark I did for the "constant string" problem.

So you can see that re2c does scale better from 1000-6000 fixed strings than either RE2 or rust/regex. But I uncovered a whole bunch of other problems, like re2c segfaulting, the output being slow to compile, egrep blowing up, the non-regular heuristics of "grep" playing a role, etc.

https://github.com/oilshell/blog-code/blob/master/fgrep-prob...

# grep is faster than both fgrep and the "optimal" DFA in native code
# (generated by re2c). I think grep is benefitting from SKIPPING bytes.

# All times are 'user' time, which is most of the 'real' time.
# re2c compile | re2c code size | re2c match time | ripgrep time | RE2
# n= 100 7 ms 11 KiB 1,566 ms 687 ms 1,398 ms
# n=1000 66 ms 57 KiB 2,311 ms 1,803 ms 1,874 ms
# n=2000 120 ms 93 KiB 2,499 ms 3,591 ms 2,681 ms
# n=3000 204 ms 125 KiB 2,574 ms 5,801 ms 3,471 ms
# n=4000 266 ms 159 KiB 2,563 ms 8,083 ms 4,323 ms
# n=5000 363 ms 186 KiB 2,638 ms 10,431 ms 5,294 ms
# n=6000 366 ms 213 KiB 2,659 ms 13,182 ms 6,397 ms
# n=47,000 2,814 ms
#
# NOTES:
# - egrep blows up around 400 strings!
# - RE2 says "DFA out of memory" at 2000 strings, because it exhausts its 8 MB
# budget. We simply bump it up.
# - at 48,000 words, re2c segfaults!
# - At 10,000 words, GCC takes 36 seconds to compile re2c's output! It's 74K
# lines in 1.2 MB of source.

I meant to blog about this but never got around to it ...

As mentioned, I think you would uncover similarly interesting things by benchmarking Sublime-like workloads with re2c's capture algorithm. They use some fundamentally different automata-based implementation techniques.
Thanks for the thoughtful response.

> automated program can't tell the difference between unused code and code that was commented out/not being called

Can you expand on those two types of unused code, and why you would want to keep one around longer term?

> in startups it's common, because there are sometimes more important things to worry about.

Do you think once an organization starts maturing (i.e. not so much a startup anymore) that cleanup work might take on more important ance?

> You might have more luck building security tools in my opinion--that seems like a bigger implication of unused endpoints, code

Yes, security is another good aspect of cleaning up unused code. I think some insights into more/less popular features of your sotware could also be useful/interesting.

> maybe call your potential customers and ask what tools they need around that.

Absolutely.
> They are very risk averse and will often delay a new technology simply because there might be unknown risks.

I think this is smart simply because of how difficult it is to undo something that's been approved. You have people coming forward with side effects and the company simply shrugging their shoulders and saying there's no way you can prove that it's from this vs something else.
SQLite true value is in its cross-platform usability. If you want to have same codebase for your application on all current major operating systems (Win/Droid/Lin/Mac/iOS) for a local database you go with SQLite.

SQLite is not as good at keeping big records on server side, for that you go with PostgreSQL. And if you're Windows only, then Access is faster for a local database. But if you want a good enough local database, that performs the same on all of them, then your only choice is SQLite.
> Not to mention of course that internet platforms do exist that handle individual content reliably

I'm not talking about whether they can or not. The case that makes them unable to exist is when one single item slips past their moderation net. If they're liable, that's the end of them.

Sure I want them held to a higher standard as well, but they will not be able to exist at all if they were liable for user content. None of them. The ones that are moderating successfully and the ones that aren't. User content sites will have too much liability to be able to run. That's the end of social media - for everyone.
I just checked on the linked Compiler Explorer session [0], and if you take out the -m32 then GCC does indeed use divsd instead of fdiv.

[0] https://godbolt.org/z/py3Dw0
Migration for the benefit of all (2002) [pdf]
It’s normally not more correct.
The compiler does a lot of optimizing, including inlining function calls so that they do not have overhead. My opinion is to favour readable and maintainable code. If there is a performance issue, then profile it, measure and then optimize. No need to prematurely optimize at the cost of code quality.
Why doesn’t porn ever get cancelled?
Those HPs are unfortunately still just 1080p (though one is 144Hz). I haven't used notebooks with that resolution since 2012.
Start with this:
https://www.educative.io/courses/grokking-the-coding-intervi...

That covers a lot of patterns you can typically use to solve a problem.
Keep practicing and don’t lose heart. Use mock interviews to get valuable feedback. You can do it.
Yes. Toggle -m32 (compiles to 32 bit) or deleting it. (defaults to 64 bit, because it's not 2005 anymore) It also works with -m32 -mfpmath=sse, even though the author of the article incorrectly states otherwise.

https://godbolt.org/z/py3Dw0
Montagnier's "proof" is a questionable paper (that has not his name on it, though) that does "decomposing" on the RNA of the viruses with a mathematical transformation that has no biological sense, and by using "patterns" and "waves" "deduces" that there must be something from HIV.

I've read it. It's embarassing on how bad it is written, and the mental gymnastics it uses to "explain" things.