skysight-inc/HackerNews huggingface dataset:
Many, many moons ago I saw a study in children about trauma and they found a kind of bimodal distribution -- some kids "bounced back" and some kids very much did not bounce back. Of course, the replication crisis being what it is, who knows, but I suspect some people are geared for it and some people aren't.

Evolution being what it is, I wonder, if this were true or true enough, about the tradeoffs are between the two groups.
I can relate to that. My home's basement has a side resting on a rocky mountain. I have daydreamed of secretly digging into the mountain and making a secret room, but it's not feasible: neighbors would complain of noise, the construction would be quite evident, and there's subterranean wiring and likely gas/water/drain pipes in the way. It would also be awful to find a spring and flood the house.

Now, if this was in a remote area...
What we need is a way to inhibit lying. A brain operation or some kind of psychological conditioning.

People who undergo this procedure will be guaranteed trustworthy.

They will be given a mark. A forehead-tattoo.

Certain roles in our society - certain jobs and offices - will be available only to those with this mark.

I would vote for a person with this mark.
Fair point. I think they could get a lot more aggressive, though.

I'm conversational in Japanese, and I'd love to see Japanese variety/game shows on netflix. There are thousands of hours of content that have never been available to the US market afaik - I think I've only seen them on youtube or dailymotion when not in japan.

I wonder what the expense of subbing these shows would be. Perhaps they could do a non-exclusive licensing deal where they contribute the sub IP back to the IP holder for an even-further-reduced rate.
Luckily, this matters a lot less than one might think. A good AI architecture can tolerate a few % of noise in the data. For example, A LOT of people in the Oscar dataset spelled the German "Metzger" as "Metzker" but AIs trained on it still perform great and strongly prefer the correct spelling.
The problem is that you can't ram down income redistribution schemes in places like New York without watching all the income earners move to another state. No rational person is going to subject themselves to being robbed like that, they will leave (like I did with NYC). The key is to do it at a national level so you can shove it down everyones throats concurrently and give them no way to escape your shitty systems. Then you can appeal to your larger base of voters who are benefiting from stealing from a smaller number of people who are providing all of the resources, or a least until the government runs out of other peoples money to use as bribes.
I never really understood why a standard library would insist on having a single "sort" function (or at best, a "sort" and "stable sort"). Why not just provide explicit quick sort, merge sort etc. functions and let users choose which they want? Sorting is one of the first things a budding computer scientist learns, and the research on sorting algorithms is well-trodden ground by now, so I don't see how it could be a usability issue. I'd like to be able to choose from these criteria without having to rely on external libraries:

- How does it perform on average?

- How does it perform on pathological inputs?

- Is it stable?

- Does it allocate?

Not to mention constraints that an application can take advantage of:

- What if the data is already mostly sorted? (insertion sort)

- What if writes are very expensive? (cycle sort)

- What if all the data are integers? (radix sort)

And so on. Trying to force a one-size-fits-all solution seems rather silly at this point.
This is interesting to me. Back in the "Facebook is cool" days, two people from middle school friend requested and reached out to me to apologize for crappy things they'd done when we were kids. In one case, I remember the girl quite well but could not remember what she did. In the other, it was a dude who punched me in the face during a basketball game, which I definitely remembered, but it was still a weird experience, because I got a black eye, healed in a few days, and was fine. No hard feelings. Sports get emotional and kids fight. But apparently this guy had been haunted by it and by his general pattern of violent behavior for decades. He'd become a karate instructor for kids. He was like a real life version of Johnny Lawrence in Cobra Kai, atoning for his sins.

Even though I had no hard feelings and never felt bullied just because a guy hit me one time, why would I deny these people their atonement? Whether it's part of some pseudo 12 step thing or just them feeling crappy about who they used to be and trying to be better, let them. It seems wildly uncharitable to assume someone is still the same person they were 20 years ago and is trying to get in contact to resume the abuse, let alone because they want to hook up with you. Bullies tend to become bullies because their parents beat the crap out of them when they were kids. They didn't exactly have ideal childhoods. Much worse than mine. If this helps them overcome it and break the cycle of abuse, I'm all for it.
So you would rather your children continue to suffer the burden of a system that forces people into limited opportunities simply because you had to?

So much for making the world a better place. The course that you took in life failed to teach you a fundamental truth about how a society grows.
The Balrog are decent people.
All of the work discussed is published to some extent. References are in the slides

https://arxiv.org/pdf/2012.10597.pdf

https://research.nvidia.com/publication/2020-07_grannite-gra...

https://research.nvidia.com/sites/default/files/pubs/2020-07...

https://ieeexplore.ieee.org/document/8920342
Very likely, the performance of a JIT comes from:

- the architecture of the JIT itself

- the generated code

AFAIK, the Rust YJIT doesn't change any (they explicitly say that the generated code is approximately the same), so there no significant difference in performance should be expected.
This is an excellent idea, both ironically and unironically, depending on where you stand.

Of course we'll have geo targeting to cater to a global user base and not stir up any unnecessary feelings. Kinda like when Bethesda put rainbows on their Western Twitter accounts but not their ME+Russia accounts.
Charlie Brooker said in some interview that they sell their not-good-enough ideas to Samsung.

Found it:

What happens to the ideas/story concepts that are never made into a show?

CB: We sell them to Samsung.

https://www.theguardian.com/tv-and-radio/2019/jun/02/black-m...
Transforming lives (and privacy) with iris recognition technology
This program is for people working in the public sector. It's not known at the time of issuing the loan whether the student will quality for loan forgiveness.
> Have you watched a Netflix show recently?

Nice dog whistle you got there.

I haven't seen anything I would consider "culture war" in the popular representations of fictional characters today, so I'm not really sure what you're talking about.
I suspect its because a shamefully large percentage of Ask HN and Show HN are stupid or lazy

"Guys how do I learn math?"

"Are there any apps that let you type in numbers and add them together?"

"Is there any way I can ask questions to strangers on the web so I dont have to type the equivalent into the Google search bar or look it up on Wikipedia, YouTube, Amazon, library etc etc etc etc?"

granted my most generous interpretation of this phenomenon is that many of these cases are "kids at keyboard" phenomenon. but its frustrating at times seeing it repeat endlessly here.
> Yeah. I'm becoming more and more convinced that the modern adult's emotional maturity now stops developing in middle school. I guess I would blame social media? I don't know. Or maybe we just don't teach kids how to deal with this anymore.

As a millenial, I agree with this. It took me until I hit 30 before actually reaching something resembling healthy emotional maturity. It took a lot of really painful experiences for me and a lot of self-reflection for that to happen.
```
//pseudo Go
import (
"strings"
"internal/inputs"
)

func emailValid(input inputs.ProfileInput) bool {
if len(input.Email < 3) {
return false
}
return strings.Contains(input.Email, "@")
}
```

An email should be at least 3 chars long and contain a @ sign to be valid.

a@a can be a valid email address if your hostname is a and your mta accepts the email address. A user a may or may not exist (virtual).

And as the author wrote 10 years ago, if the mail doesn't arrive, no validation can help if the email address doesn't exist. But len>=3 and @ sign presence is enough of a sanity check.
legalization works even better and doesn't destroy society with drug wars and cartel violence
Who is this theoretical neighbor in the woods?
Because you are not elimating the problem just one cause. People will encounter other similiar situations in the future. If someone is not trained emotionally to deal with these events you are harming that person.
And next year, the ant decides to also spend her time dancing around and partying, and when winter comes everybody is f-ed.
Yeah it's like this with the people who want to kill Social Security as well. How are people who are supposed to retire in 10 years going to do so if you kill Social Security in 5? Retirement preparation starts when people are in their 20s, so any changes to SS that do not include an equivalent replacement need to be planned 50-60 years in advance.
This seems like a bit of an urban myth? Or at least hugely overblown. How often does this really happen?
Unfortunately vocal people on both sides of the spectrum hate that. The people calling CPS hate it because they think parents are being negectful. Certain people hate it because they imagine kids getting indoctrinated into religions they don't like. I have several friends and families that were raised via home schooling or raised their kids homeschooled. All the kids are amazing, none of them had any religion involvment.
Olimex has several excellent ones, at good prices and under open source license.
"...if the band is fully abandoned in the near future I say we should open the top 150 kHz or so for hobbyists operating at a low power of around 50 W or so."

About 20 or so years ago I suggested to radio amateurs to set up a network for earthquake research but there were no takers back then.

It's known that often before an earthquake that highly stressed rock can radiate low frequency electromagnetic fields. If a widespread network of low frequency listening stations were established around the world then it's just possible that these waves could be detected before an earthquake begins within sufficient time to give vulnerable people adequate warning.

Because of the still-experimental nature of such research it is unlikely that governments or commercial operators could justify the funds necessary to set up sufficient (or the necessary) number of listening stations worldwide for the scheme to work (at least initially until proven to work). The solution: use the amateur radio network. Not only would it be in keeping with the longstanding ethos of amateur radio operators supplying emergency communications during disasters but also it would interest many radio amateurs from a scientific stance.

The way I'd envision it to work is that amateur stations would set up (VLF) very low frequency transmitters to act as beacons in a sort of cellular grid where a station would continually monitor one frequency and transmit on another (multiple frequencies being necessary so transmitters and receivers can be used simultaneously at each station (location)). When the transmission path is such that a signal is either received and or its signal varies with a signature that's characteristic of an earthquake then warnings can be issued.

It's my understanding that the transmission frequencies necessary would need to be much lower than any amateur band currently issued or agreed upon by the ITU, etc. (i.e.: in the 10s of kHz or so), so new amateur bands may have to be issued (initially, they could be allocated on a trial or experiential basis).

It seems to me that perhaps geologists, scientists and engineers with an interest in electronics or radio communications may wish to follow up this idea.
Fair, it's just a big pet peeve of mine how staff in movies is just so bare-bones.

Like with the book of bobba fett where there's a crime lord (bobba) whose "coffers are full" and just needs to hire some help and he hires nobody! His "army" was a business partner (fennac), a friend (wookie), another friend (dan), a pet, existing employees (mods), and unpaid citizens (freetown).
US Treasury secretary, other finance ministers walk out of G20 meeting w Russia
I’d say any of the top three levels of Maslow’s hierarchy. A hobby that helps you achieve feelings of self-actualization, esteem, and belonging is great.

Things get hairy at that second level. If you feel psychologically unsafe in your day-to-day life, there’s something wrong - either with your environment or the way you perceive it - that a tunnel can’t fix.
I cannot endorse this enough.

some of it is hard and will have you wondering if you want to continue. if you do, and I highly recommend that every developer complete this course, you will find yourself thinking in new ways and understanding many problems very differently, which is a very good thing.

and you will see huge performance problems in almost all software from them on, because none of this (I gesture vaguely at everything everywhere) should be as slow as it is. none of it.
as an avid cafe-goer, i've looked into the economics of cafes and talk regularly with the coffee shop owners around me. competition is almost never a concern for most small/independent cafes. starbucks doesn't matter competitively because their prices aren't appreciably lower and they cater to a different segment than independent cafe owners.

the biggest problem is almost always reaching their target segment--like the people already sitting there with laptops--to drive enough transaction volume to be sustainable, which is squarely a marketing problem. rent and labor costs (operations) are usually the next biggest problems. competition ain't the issue.
Except for the minor detail that Finland shares a land border.
Notes is great. One time I was like "it'd be nice to put a PDF in this note. LOL, bet that won't work" but no, of course it did, embedded it exactly like I'd hoped it would. Drag & drop, there it is, can view it inline.

The two things that bug me: no markdown support, and no built-in export (but the format's simple and well known and there are existing 3rd party tools that can do it). Everything else is so good and so stable that I've been hesitant to go looking for something else to try to fill in those two features. I can live with a formatting bar and export being a little annoying if everything else is basically perfect.
"... into something people could be persuaded to consider food."
And that previous attempts to curb the reign of mosquitoes include things like "draining all swamps everywhere".

Take a look at the coastline of Long Island on satellite maps, and all the scars left by that time they tried to eliminate all of the salt marshes to get rid of mosquitoes near NYC.
It means completely nothing for performance.
However, is that so bad?

This way, American universities have large amounts of funds available to provide the best education, best facilities, hire the best professors and that's why America simply has the best universities worldwide and it is paid by their students?

It also mostly only paid by students who can afford it. Students from weaker social backgrounds only have to pay a small fraction of the normal tuition fees.

As well, 77% of people with student loans have less than $40,000 in debt and 57% have below $20,000 in debt. $20,000 can be paid off within 2 years with a normal graduate job if one wants to pay them off early.

Source from 2019: https://i2.wp.com/www.brookings.edu/wp-content/uploads/2019/...
For anyone looking into this, Rotation Averaging by Hartley et al. (2011) is a must-read on the subject of rotation averaging: https://users.cecs.anu.edu.au/~hartley/Papers/PDF/Hartley-Tr...
An algorithm in a Tower Records store in '99 would tell everyone to buy Britney Spears and Limp Bizkit records. It would not suggest say Spacemen 3 or The Magnetic Fields because they don't carry them in their inventory. It will however suggest a poor alternative that meets some 'nearest-neighbours' cluster threshold in a statistical model.

Independent video stores are not so tightly tied to one distributor, so yes, a clerk that takes a few moments to hear what movies you like could point you in the right direction....even if that direction is to go a different store entirely.
It's genuinely horrifying to me that people appear to be upvoting the creation of a subhuman caste and delegating responsibility to them. Please think this through a bit more carefully, it's an interesting thought experiment but a terrible idea.

Consider also that not being able to lie is absolutely not the same thing as being trustworthy. If we've learned anything the last two years, it's that people can deeply believe some shocking things.
You're losing context.

'Landlord' is a perfectly reasonable word, and there's not reason to try to correct it, or get into the etymology of it.

You're down an crazy rabbit hole of splitting hairs and lack of contextualization, which is why you're having trouble understanding why it's an absurd kind of 'correction'.

If I wanted to take apart anything you ever wrote with such fine grained and pedantic inanity, I could, and you could never write anything.

'Landlord' is an accepted term - there's no reason to correct it.

"The tool there would not be saying that "policeman" is wrong and should never be used"

Again, no. It's a more complicated term, but it has it's use.

This is 'Social Justice Fascist Authoritarianism' - unhinged ideological moralization, perniciously and hypocritically pursuing an aggressive agenda through all vectors i.e. corporate, private.

If you want to be corrected by Social Justice Fascists at every turn with an ever increasing number of ridiculous claims on language - it's your choice. You can buy that plug-in and for it.

The rest of us do not want to have our language corrected in an ideological manner.

I have no problem if the city council stops using the term 'Policeman', that's fine, but I also don't care if anyone uses the term otherwise, and nobody else does either.
The other night I watched the Crypto Startup School video series by a16z on YouTube [0]. It includes presentations from smart people saying that blockchain/ethereum is the computing platform of the future.

One issue with ETH/smart-contracts that is not addressed in the series is how to ship patches to a smart contract. Let’s say there’s a vulnerability in my contract that accidentally leaks ETH.

How do I ship a patch to fix the contract? Could my buggy contract be taken advantage of indefinitely? Maybe I could move all my ETH to a new wallet and leave the bad contract? How is this problem handled today?

[0] https://youtube.com/playlist?list=PLK9Lwn4_TfLS3I9huJjd-k_Fe...
No, not really. CS and other branches of maths are using the exact same definitions of O,o,Θ, and ω. It is true that Ω is used with a different definition in CS, but it's stricter not more slack.

As explained elsewhere though, they are not notations for algorithmic complexity, they are notations for function categorization. It just happens that a common use for this notation in CS is to categorize the function "best/average/worse/... case complexity of an algorithm", but they are also used for other purposes.
> [1] floating point numbers and integers are obviously different, but the concepts are the same.

No they're not. That's the entire point. 32 bit IEEE floats get you 6 to 9 significant digits, whereas 64 bit IEEE floats get you 15 to 17 significant digits. Loss of significance and catastrophic cancellation are real problems in numerical analysis.

Physics in particular doesn't often have closed form solutions, so you're forced to use iterative approximations. Same goes for large matrix operations, which is why you actually have to be very careful with the algorithm you choose and the order of operations.

If you're still not convinced, feel free to try it yourself:

#include <iostream>
#include <iomanip>
#include <cmath>
#include <tuple>

// solve ax^2+bx+c=0
template<typename T> auto
solve_quadratic(T const& a, T const& b, T const& c) -> std::tuple<T, T> {
auto t = std::sqrt(b*b - T(4)*a*c);
return {(-b + t) / (T(2)*a), (-b - t) / (T(2)*a)};
}

int main() {
std::cout << "Expected x1=0.000000075 x2=-200.000000075\n"
std::cout << "Single precision:\n";
{
float a=1.0f, b=200.0f, c=-0.000015f;
auto [x1, x2] = solve_quadratic<float>(a, b, c);
std::cout << "x1=" << x1 << ", x2=" << x2 << "\n";
std::cout << "ax1^2+bx1+c=" << (a*x1*x1 + b*x1 + c) << "\n";
std::cout << "ax2^2+bx2+c=" << (a*x2*x2 + b*x2 + c) << "\n";
}
std::cout << "\nExpected x1=1.000000028975958 x2=1.000000000000000\n";
std::cout << "Double precision:\n";
{
double a=94906265.625, b=-189812534, c=94906268.375;
auto [x1, x2] = solve_quadratic<double>(a, b, c);
std::cout << std::setprecision(16);
std::cout << "x1=" << x1 << ", x2=" << x2 << "\n";
std::cout << "ax1^2+bx1+c=" << (a*x1*x1 + b*x1 + c) << "\n";
std::cout << "ax2^2+bx2+c=" << (a*x2*x2 + b*x2 + c) << "\n";
}
}

Even 64-bit IEEE floats don't help if you use the standard quadratic formula.
Note that you can improve the 32-bit case above significantly by reformulating
the solution to

template<typename T> auto
solve_quadratic(T const& a, T const& b, T const& c) -> std::tuple<T, T> {
auto sign_b = b < 0.0 ? -1.0 : 1.0;
auto t = -b - sign_b*std::sqrt(b*b - T(4)*a*c);
return {(T(2)*c) / t, t / (T(2)*a)};
}

This simple change will yield the precise result (within the fp32 precision) for x1 and x2 with a=1, b=200, c=-0.000015 (i.e. the error of ax²+bx+c will be lower than the 9 max significant digits).

However this won't help with the second (64-bit) example, which will still be wrong after the 8th digit (i.e. well within the supposed 12 to 15 significant digits of a 64-bit IEEE float).

Also note that in both cases all numbers involved have less significant digits than supported by the respective FP format. Just to give you a little insight on why available bits ≠ precision in floating point maths.
Likewise, there are many areas in Asia and in the Pacific where there is no FM and no mobile phones, and certainly no Internet.

In remote parts of Australia it came as a great loss when Radio Australia was switched off, along with the SW rebroadcasts of the various state-wide ABC programs. Many 4WD and Marine travelers had their HF radios fitted with ABC frequencies. There are huge areas of land and sea which have no alternatives but for SW radio.
free community college is already a thing, it's called 'Pell Grants'

republicans don't want to talk about it because it's free money that works, and democrats don't want to talk about it because there's no reason to expand it
Yes, voters simultaneously want benefits and low taxes. And this is how you do it, give the benefit subject to numerous qualifying conditions, and make it a loan, so cash flow is not affected today and hence tax impact is low.

See defined benefit pensions, higher education loans, military benefits, 401k/employer health plan tax benefits. All of these things could have middlemen removed, but they remain to obfuscate costs and who is getting how much of the benefit.
There are such things as sensible defaults though.

Timsort being a somewhat famous example, which uses the fact that python datastructures are known length to figure out the best sorting method for the size.

If you need something more exotic then you likely know more about what you're doing, but most people writing software who need a sort function usually don't need more than timsort.
The Ever Loving Hell
Crypto bug of the year: ECDSA signatures broken in Java