skysight-inc/HackerNews huggingface dataset:
The issue, in my opinion, is when you want something like this:

while m := f(many, args):
# do stuff with m

Now, if you're writing this in Python 3.7, you often end up with some code duplication:

m = f(many, args)
while m:
# do stuff with m
m = f(many, args) # duplicate

Or something like this:

while True:
m = f(many, args)
if not m:
break
# do stuff with m

Personally, I consider the last version to be the most elegant, but still something of an anti-pattern. So I welcome this new operator.
Hey Alan! Glad things have turned around and are on the up :)
So, when I was involved in this stuff, this was my best understanding:

1. Tests are tools. By themselves, they tell you nothing of real value. They are useful in the hands of a qualified professional.

2. Tests are game-able. They try to keep questions and tests under wraps because studying for the test or memorizing answers invalidates the test results.

3. Bright kids are horrendously hard to assess, especially if they are 2xE. They have trouble giving the canned "correct" answer.

This is something my son calls "guess the teacher's password." In other words "what inane thing do I need to parrot word for word to get the teacher off my back."

Example from email list discussion:

"Who discovered America?"

Teacher's password: Columbus.

Gifted kid's reply:

"I'm not sure. Columbus was trying to find India and thought he had, which is why Native Americans were called Indians. But it wasn't called America until years later when Amerigo Vespucci traveled to the continents now named after him...(blathers on about more history)...um, what was the question?"

4. Only certain tests can be used to assess IQs above 145. They were having trouble developing and validating an updated test for the higher IQs.

5. You basically can't be accurately assessed by someone with a lower IQ. Smart kids are routinely given hell by adults of more average intelligence who interpret their behavior as bad behavior and can't accommodate them.
Most first-line SSRIs are out of patent protection, as are a lot of other medications for mental health issues. My monthly resupply of bupropion, sertraline and methylphenidate comes to the princely sum of $20.

Therapy is much more costly.
Moles are not unique to China, it just happens that China currently happens to be the enemy. Most people whether immigrant or not just want to get the work done and go home.
Buy selling a book or work to the public you are making it public.

“After a while” now means 90 years after the creator is dead, or something atrocious like that. So that new study on Alzheimer’s that the government paid for with your tax dollars? Yeah, you can’t read that unless you shell out a small fortune (or go to scihub, which most true scientists use and support). People are dying. This is a real serious problem and we need to start changing the wording so people realize it’s not just bad economics to have intellectual monopoly laws, it’s bad morally.
There is no axiom that the flaws of biometrics cannot be avoided. “Something you know” is in fact a biometric property of the brain that can easily be transferred.

Touch ID combines something you have with something you are. It’s easily better for 99.9% of the threats out there that result from weak passwords shares across sites and users trained to type them into anything that resembles the real logon page.
~0% of sampled trees does not necessarily mean ~0% certainty that we have found the oldest tree, since tree ages are correlated strongly with each other in local neighborhoods. We know where to look to find "oldish" trees and then narrow our search there. No need to sample trees from a new growth forest to be reasonably certain how old they are.
Thanks. The article linked to some entirely different paper instead.
Buddy you are so out of touch.
Agreed, and I assume the main use case is for websites to be able to offer a "dark UI" like maps apps do, so if you're using it for navigation at night it won't blind you.

But here's a crazy idea for them:

@media (prefers-color-scheme: dark) {
color: white;
background-color: black;
}

That way it doesn't leak any uncontrollable information, and it makes the UI look how I want it to! It can even happen automatically at night if I've set my phone to do that. Downside, if I drive through a tunnel during the day the UI stays bright. I'll live.

If they really think they need to access my light sensor, they can ask. Maybe someone wants to make a light meter web app, I don't know. But I do know they have no business accessing sensor hardware without permission.

It's like with the battery API, people had this idea that web developers could say "Oh your battery is low, we'll throttle back into low power mode to respect that."

But instead, websites are happy to continue burning all the CPU, data, and battery life in the world, because by and large developers aren't paid to give a shit about your battery. They're paid to ship features and make whatever metrics go up. So the only thing it gets used for is identifying phones for advertiser targeting.
Anxiety and depression are terrible issues, I hope you figure out the key for that lock soon.

The other side of this is 'lazy as shit' - in terms of psychometric measures, you're largely describing conscientiousness, one of the five OCEAN traits. IQ and conscientiousness both correlate with income, but it's their combination that really makes for economic high achievers. Sounds like you have half the triforce, as it were.

You may very well be highly intelligent but not conscientious. There are lots of people like this, it's not a sin, just a personality. I will say that conscientiousness is probably more valuable than IQ in many ways, but IQ is nothing to scoff at. Imagine being in the same situation as you, but being dumb as well.

>But we grew up in the world told we could do anything we wanted!

You can do anything you want. The trick is that 'wanting' here doesn't mean 'I want to have the results of having done that long arduous risky focused effort'. It means 'I want to go through that long arduous risky focused effort'. Most people don't want anything like that, though.

To say "You can go to the gym," is not the same as saying, "You're entitled to be jacked." It just means you're allowed to strive.
I should have said single-character additions or deletions . == And = have a levenstein distance of 1, == and := is 2. You can't simply make a typo and change an equality check to assignment.

So, wiki defines levenstein distance as including substitution, but I was taught or at least remember it only being additions and deletions?
Is it bake-off or real bread baked at the store?
I measured a similarly high score as a child (my parents refused to reveal to me the exact number, but told me it was somewhere in the 130-150 range; I guess now as an adult I could ask them if they remember the exact number; but I've never felt it important enough to ask.)

I haven't done badly in life, but I've always felt I could have done a lot better if I had better executive functioning. If somehow I could have traded some of my IQ points for better executive functioning points (is there such a thing?), I'd happily take that trade.
How many people are smart enough to produce such work, let alone to see it's brilliance?

Reviwers aren't all geniuses....
I don't think so, and if they are, I don't think it will be through hacking.

Refactoring other people's code is often harder than coming up with your own, and this is when you have the corresponding ability. Just receiving source code/ design without know-how to actually implement anything might even be worse in the long run.
I know for me, finding out I had a high IQ made me more arrogant, which was a major problem for me in elementary school. I was always a jerk about being able to understand things easily, to be able to do well in school without trying.

Learning how to not be a dick about being intelligent was probably the most valuable thing I learned at school.
The Chinese Government co-funded at least four University of Queensland courses
Oh but surely Slack could never scale to the needs of Uber. Much better to build the chat app in-house. You know, for reasons...

/s
> Frankly, the best prenup is not getting married in the first place, and not living in a state which may honor "common law" marriage.

We can tell that your advice is made out of ignorance by your obvious error in the second part: There is no state in the US where one can accidentally enter into a common law marriage. In the few where any kind of common law marriage is still possible at a minimum the parties must intend to be married and hold themselves out to the public as married.

The idea that you could accidentally be married is the sort of absurd paranoia that comes along with many other messed up misconceptions about marriage.

> is at best negligible,

Yes, marriage can end. And so what?

Marriage is a partnership, each of the parties going into it forsake other opportunities for the same of their collective benefit. It is useful to make the terms of that partnership explicit to protect everyone's interest for exactly the same reasons that you formalize ownership of a business.

In particular, marriage matters specifically because it might end--- just like the legal structure of your business matters because eventually you might part ways. If the participants in a marriage (or business) don't know that their interests will be protected in the event of a dissolution then their ability to have a true partnership is inhibited.

For example, if your spouse had the opportunity to become CEO of Microsoft or whatever, it might make tremendous sense to abandon your own career as (say) a mid-tier programmer to support her by maintaining your home, family fiances, and acting as an occasional assistant. But that would be extremely foolish to do if your partner could just drop you with nothing and no job 5 years later after their success paid-off and their success caught someone younger's attention.

That doesn't mean that the default terms of marriage are right for everyone, just like every business doesn't have the same ownership structure. But if the terms of the relationship don't guarantee people a fair share from the fruits of efforts produced with the aid of their own labors or forgone opportunities, then the terms are no good.

These are important factors that are apply independently and additionally to the social ones. I can say first had as someone who has spent >15 years in a committed and exclusive married-like-but-not-married relationship that third parties have significantly less respect for your relationship if you're not married and at times this becomes a nuisance and a source of practical logistic complications.
Zcash’s Halo Breakthrough Is a Big Deal – Not Just for Cryptocurrencies
(Disclaimer: Googler here, but no relationship with Android team other than as a normal user)

Another pointer leading to a probable troll on this one: the original OP's nick is just a bunch of profanities in Finnish [1].

Oh, how can they receive an email stating the account suspension if the account was suspended in the first place?

[1] (careful; NSFW) https://translate.google.com/#view=home&op=translate&sl=auto...
history. and that's a big deal.
Thanks. I've always wondered if my ultra-chill dogs could be of use to other people besides myself and my wife. I will check into this.
I’m not entirely sure if this characterization of religion makes sense.
Check out Lean Prover's online editor: https://leanprover.github.io/live/latest/

They borrow syntax from LaTeX math-mode to allow symbol entry, such that you can type "\ne" and as soon as you hit the space after the "e", you get ≠ instead.

The language plugin for Visual Studio Code does the same thing.

Lean Prover's not exactly a programming language, but :

def foo (a b : ℕ) : ℕ → ℕ → ℕ :=
λ a b, a + b

Still looks decent.

I think it has to be all or nothing though, since if it's optional the odds of getting decent editor support for it is low.
This is what I was thinking the whole time reading and looking at the site images... why script all that, when you could simply click the buttons in the browser...

Rube Goldberg Machine's are not good in software projects...
I still generally eat a vegemite sandwich for lunch every day, but these days it's nicer bread with vegemite, cheese, avocado, and tomato. While not as basic as the Norwegian one, I like having a simple lunch that's the same most days. Stops me pigging out on random convenient crap, but is enough to get through the day.

My kids are vegemite fiends too, and despite us giving them plenty of options, they'll nearly always choose a vegemite/cheese sandwich for lunch.
Once upon a time German and Japanese manufacturers were laughed at as mere copies too.
You start from scratch.
At least that's what I've been following for the numerous hackathons I've attended/won/lost.

Of course no one's going to check if you worked on it last night or whatnot (I know friends who've taken previous hackathon submissions and submit it to hackathons like it's new and actually won) but for the hackathon spirit you shouldn't.
A back of envelope exposure calculation using the Sunny 16 heuristic [1] and assuming that high shutter speed is the rationale for using a Kerr cell shutter [2]

Full sun bright for a "typical" scene. That's ISO 100, f16, and 1/125 seconds for "typical" exposure [3]. To make it easy, assume an f1 lens (about as fast as you can buy and assume t-stop equals f-stop and ignoring issues with acceptable depth of field). An f1 lens is 8 stops faster than f16, so it requires 1/2000 of a second exposure at ISO 100. The Raptronic shutter was 1/1,000,000 second (1 micro-second). That's nine stops faster. We're out of lens aperture so Sunny 16 says we need 9 stops of ISO. That gives ISO 102,000.

ISO 102,000 is available on consumer grade digital cameras such as the Sony A7S, the Pentax K1 and KP, etc. The Pentax KP goes to ISO 800K (for some definition of 'goes') so you could theoretically shoot at f2.8 in full sun. Theoretical if you can live with the noise and if there are not other effects from very short shutter speeds (the equivalent of solarization from short shutter speeds on analog film) [4] [5]

Most people want the ability to shoot in less than full sunlight. Most people don't want to live with a high noise baseline. Most people want the ability to achieve moderate depth of field. Most cameras are designed for a meaningful segment of most people.

So Kerr shutter digital camera is viable. It needn't be mirrorless. In a typical single lens reflex, the mirror already swings up out of the way before the shutter fires. It is also possible to mount the shutter in the lens of a single lens reflex camera. That's typical with Hasselblad, Mamiya, and some other SLR medium format cameras.

[1]: https://en.wikipedia.org/wiki/Sunny_16

[2]: https://en.wikipedia.org/wiki/Kerr_cell_shutter

[3]: e.g. snapshot conditions not Adams' Zone system or similar.

[4]: Just theorizing about the possiblity of equivalent effects. I don't know.

[5]: It would be interesting to know about the film stocks which allowed the Rapatronic to avoid solarization.
> Literally said that once they were hired they'd come up with useful projects.

This is a great way to have engineers burn time on projects they think are interesting rather than projects that will actually have good ROI.
No! It's not bullshit. It is a measurable human trait that is correlated to a wide range of life outcomes. It might actually be the most correlatable human trait there is.

Yes, some of those life outcomes are good and some of those life outcomes are bad. That doesn't make it bullshit.

What it most often means, if you have a high IQ, is that you have a choice and more often many choices, because you can see more choices and it's overwhelming and it's easy to give up and say fuck it all this is bullshit and SWE (I am so embarrassed to say I had to look up SWE even though I am a software engineer and one of the SWEs was smoke weed every day, ha!)

Which brings me to my point! If you have high IQ, you can be a SWE or SWE.

You know what I mean??
It is amazing how similar the comments on today's article, are from a HN thread about matpakke 9 months ago.

https://news.ycombinator.com/item?id=18830186
It's counterproductive though IMHO.

Employer won't get more or better work if you prevent everyone taking a worthwhile break. Thankfully nearly all the places I've worked over the years have been entirely happy to permit it. Or expect it.
Harley-Davidson stops electric motorcycle production due to charging problem
This pretty much sums up both why I switched from Windows to Linux and why I'll never buy anything Apple is pushing. On Linux, the easy stuff is annoying and the hard-but-necessary stuff is even more annoying; on Windows and Mac, the easy stuff is easy and the hard-but-necessary stuff is impossible.

Edit: Well, that and also because, if my OS is going to randomly break whenever some idiot pushes a "update", it might as well be one I don't pay money for, and one that only updates when I tell it to.
Sure. The argument the OP made on healthcare is equally applicable to food, and yet food doesn't have the same issues and the proposed solution would be obviously terrible.
Each point has something different:

1. official - it's not clear how this would be better; that is, the team is not likely to have more expertise in this space than others do

2. standardized - it is standardized, as I said, the interface is in the standard library

3. optionally importable - this is fine, of course, but so are these, so this attribute isn't really anything better or worse.

But I don't think this is the biggest strength of this approach, the big strength is that not everyone wants the same thing out of a runtime. The embedded runtimes work very differently than Tokio, for example. As the post talks about, it's assuming you're running on a many core machine; that assumption will not be true on a small embedded device. Others would develop other runtimes for other environments or for other specific needs, and we'd be back to the same state as today.
I personally think that redux is very simple when you just explain its key idea.

It only becomes complex when people trying to show a "cultured" way to write a large redux/react app bring in a ton of containers, controllers, action classes with methods for various auxiliary conveniences, etc. Even the example in redux's own docs is unnecessarily complex.

This is not how you explain things.

For an explanation, i'd use a single file, with 2-3 actions, using strings (or an enum) to denote actions, with a reducer right next to renderer, and a single-function react component.

Then the data flow becomes apparent, and the usefulness of redux for keeping state within the unidirectional loop becomes also apparent.

After getting the key idea, the reader will have an easy time understanding tools built around it, ways to fold up the boilerplate, etc. A react/redux app can be very compact and approachable, even when the logic is complex.
I think either windfall awards for successful, new medications that then become public domain and production and/or public loans with gracious forgiveness conditions for meds that fail to make it out of the trials would significantly help the market clear. It’s inefficient to let a company coalesce all the resources and knowledge needed to develop a medication for a disease and then let or force that company into bankruptcy after a failed trial. Those people and resources can more readily retool, refocus, and so on onto the next medication than always starting from scratch.

Windfall payments should make the government able to produce and deliver he medication at the rate of occurrence in population instead of a pricing mechanism.

Just my .02 though.
I’ve heard anecdotally (from strippers wanting tips) that their tip based comp has gone down. Like what they get to keep from dances and private rooms had been cut in conjunction with the reclassification
All places I worked so far in sweden had mandatory lunchbreaks. From 30 minutes in care-jobs to 1 hour in IT. After 5 hours your employer is required to give you a longer break where you are allowed to leave your job for lunch or whatever. Many eat out but it's also common to bring a lunchbox with rests from yesterdays dinner. A lunch is usually around 10 euro at a restaurant so many eat lunchboxes to save money and/or live healthier.
Not the state of the art, but I'd be surprised if it isn't still used in some cases where you need lots of dark filters anyway. https://web.media.mit.edu/~raskar/trillionfps/ I think has info about the state of the art for "shutters".
I've lived here for five years, just giving you my take on the city as I see it and as others that I know see it. Not trying to start a big argument, there's also a difference between statistics of a city and how it feels to live in.
I’ve had this little pet theory about high achievers and depression for some time. It boils down to:

They apply the same thinking patterns that make them excel at work (= very controlled environments with binary answers, requiring perfectionism and attention to detail - e.g. programming, maths, fact-checking, engineering, arts) to every area in their far less binary lives.

If you have very high standards at work you likely apply very high standards to yourself. How you view yourself is frequently how you view others, which can be destructive for relationships.

If your job is searching for bugs 8h a day you likely develop the thinking pattern to take even the smallest issue very seriously.
Auditable includes financial auditing. It should be possible and simple to reconstruct the state of a customer account at any point in time. What products they had, what discounts and promotions were in place, how they were purchased and what was owed at that exact point in time.

It is scary how many systems cannot be audited this way because the engineers and business owners had no understanding of basic accounting concepts like double entry book keeping.

Systems that are not designed to be easy to financially audit are either going to overbill or underbill customers. It isn’t a matter of if, but when...
You're totally right.

"Mindset" by Dr Carol Dweck is probably the most important book (research) on this topic. A must-read for anyone pretending to educate kids, actually to anyone period.
I don't think they're in any way contradictory. I think he was a genuinely great critic, and that can't be taken away from him. But that doesn't mean I can't be disappointed to learn he made female graduate students uncomfortable.

Similarly I fully support Handke winning the Nobel this year, but it doesn't mean I can't deplore his support of Milosevic.
This doesn’t match my experience at all. Every tech company that I or my close friends have worked for has huge backlogs of features they want to implement, and huge amounts of tech debt they’d like to eliminate. They have to prioritize ruthlessly to select a small number of projects that they actually have the resources to complete. Reimplementing rock solid 3rd party tech just takes away from this, AND introduces huge maintenance burdens.
Looks like python is trying to out C++ the C++ language with kitchen sink bolt ons.
Basically you don't. It's a really big challenge to create a consistently non-blocked email sending service, especially if you host on a big cloud provider like AWS.

Sounds like you are using the Gmail API. To be honest that's not really fit for sending transactional emails, and is increasingly unfit for 3rd party consumption due to API restrictions.

Sendgrid also has a free tier that may work for your use case if the app is for a very limited audience, other than that you're kind of asking "how do I get something really difficult for free?"
i agree with your criticism in general -- actually it applies to virtually all psychological and medical studies.

but if you think the physical disabilities are better explained by something else to do with this population sample than their iq, you could very clearly publish this theory