skysight-inc/HackerNews huggingface dataset:
In C++, if you leave the capture specifier at the beginning of a lambda expression empty (e.g. [](int x) { return x + 1; }), you can't capture variables from outer scopes, so you effectively have an anonymous function without inheritance. Non-capturing lambdas can be coerced to regular function pointers, so they behave almost identically to true functions, though they technically have different types (before being coerced).

Rust also allows the "non-capturing lambda to function pointer" conversion but (for better or worse) doesn't have explicit syntax for non-capturing lambdas; a lambda automatically qualifies if it doesn't mention any outer variable names.
You mean like this? https://godbolt.org/z/jvG3hY
Public Education's Dirty Secret
The key criteria is loyalty. Lattner left for the competition before Swift was ABI stable and mature. He didn’t see it through. If he had still been around now, he would likely be on the list.
The worst part is not the horror of mass extinctions and runaway greenhouse gasses might eventually resolve itself on geologic timescales, but that the society that rebuilt might find it impossible to get out of the stone age; much less through an industrial revolution: we've pillaged the highest-yield mines, germs have been developed into antibiotic-resistant superbugs, we've extracted the easiest-to-reach stored hydrocarbons, and replaced natural, hardy, diverse crops and the "basic 5" domestication-friendly animals with inbred monocultures.
I'm a big fan of ISL - one of the best intro machine-learning oriented textbooks out there IMO. If you're looking for book that still offers a broad survey while going a bit deeper into the math, I recommend Elements of Statistical Learning as well (they share 2 authors):

https://web.stanford.edu/~hastie/Papers/ESLII.pdf
"Macintosh seemed to be acroynm proof."

Must-Acquire Computer, Integrated, Not Too Overengineered, Sensible, Hyped
Opt-in OTR encryption. Kind of a big difference.
I’d recommend staying away from options.

That said, the only riskless options/futures trade is called a “cash and carry” which essentially earns you the risk-free rate and isn’t much better than buying a treasury note. Also with interest rates so low, you’re more likely to get like 0.5% per year rather than per month
I’ve always assumed that’s because TV manufacturers choose the most under-powered SoC they can get away with, don’t put half as much RAM as it needs, and let loose incompetent programmers who don’t have to use the damn thing ever. Still very frustrating.
It seems to have been confiscated ammonium nitrate. It had been in storage there since 2014.
he is really on top of things. I wonder if he has some ML algos to help him moderate?
I mean If you say so, sure. I'm not forcing you to do anything. In my experience when moving away from Windows it has been fine though, I'd just install what I wanted to do while playing games on Windows as well (such as a web browser, chat software, etc.)
I had the same thought -- I wonder if there's a name for this genre?
Sure, for your average HN user, that is viable.

Most people aren't your average HN user. Most people wouldn't be able to really figure out dual-boot, much less shared folders, Wine and Valve's Proton. It's still just too complicated compared to Windows. For these people, any use of Windows-only software makes the decision for them. They will use Windows because its easier and it 'just works' as far as they're concerned.
Yeah if the fundamentals as far as experience and such are bad to start .... you've got little chance to survive in the world of food service where the difference between success / fail is already razor thin.
"With the 730,000-square-foot lease, Facebook has acquired more than 2.2 million square feet of office space in the city for thousands of employees in less than a year, all of it on Manhattan’s West Side between Pennsylvania Station and the Hudson River."

"The timing of the deal’s announcement was somewhat of a surprise because Facebook, which had expressed interest in the Farley Building for months, has given most of its employees the option of working from home during the pandemic. Even after the pandemic subsides, Facebook has said that within the next 10 years up to half of its roughly 52,200 employees across the country would work from home."
Yeah, I think a lot of the ideas around women being more sexually fluid are hard to separate from societal pressures. Or, I think the ways men are expected to behave romantically is a big reason why we have the term "MSM" [1].

[1] https://en.wikipedia.org/wiki/Men_who_have_sex_with_men
Yeah, it is perfectly possible to build javascript heavy websites without making them unusable until all is downloaded and processed...

I'm rebuilding a site for a client and using a bunch of dynamic imports, if you don't touch a video route, you'll not download the videojs bundle at all, I set a performance baseline for the site to be interactive and anything that makes it go over the baseline needs a good reason to be there.
Particularly when you consider they didn't even add the anti-glare display upgrade to the iMac Pro. It seems likely the iMac Pro will go its entire life with only this one small processor bump before it's retired.
Researchers Use AI to Predict Space Weather Events
In some ways the outlook for the Mac is much better today than it was a couple of years ago.

But I agree it does suck that you can't get a decent desktop that's not an all-in-one iMac. Users have been asking for it for years, and Apple's response was "Fine, you want upgradeability? Here's the entire kitchen sink with terrible base specs for $6000. Oh that's too expensive for you? Guess you're not a real pro after all so shut up and buy the consumer level products we sell you."
If you travel to China, maybe?

If Microsoft were found in violation of GDPR, they already are in Europe, so there would be all kinds of ways to enforce that law.
It would be nice to see sliders for the estimated true infection (those that have had it but not been tested or counted) as well as the life years lost.

How do we account for the reduced life span for those who are "recovered" and those who have not been virus sick, but have taken years off of their life from stress and anxiety.

There are also people who are dying from other things because they did not go to the hospital. There is also a large uptick in pedestrian deaths by motor vehicle.

I don't think such a simple calculation reveals the true gravity of the situation.
Try looking up 'blum' on urbandictionary :)
I'm developing a tiny-site search engine. upvote if you think this product would interest you. The catalog would be sites that load < 2s with minimal JS
The way your friend describes it is almost like money laundering or something. I hardly use cash at all, why is a daily cash stream "something we all need and something that helps a great deal"? I find that phrase kind of bizarrely vague.

Like I think most people, I have a job which pays me every 2 weeks. What this enables me to do is take some small amount of that money each day to cover my expenses. I suppose if you wanted to conceptualize it as a daily cash stream, you could simply divide the lump payment by (roughly) 14, but I'm not sure why you would do that. Some days I spend a lot of money (when making a major purchase, for example), and some days I spend none at all.
This appears to be developed in concert with Google, though I don't know if Google is promoting this yet: https://github.com/WICG/sms-one-time-codes
That is what happens when you hire react devs to build your static website.
I hear car washes are a good option. If I understand what we're really talking about here...
What Are Edge Networks?
This is irresponsible advice.

Options are potentially the most complicated common financial instrument and modeling their risks is extremely difficult. Moreover, unlike equities, nearly every single options trader is an institution (versus just ~most equities trades being institutions). You are a tuna in a shark tank.

There are so many ways to blow up your account with options even if you think you’re not doing anything too risky. Volatility crush, long tail risk, complicated positions (butterflies and condors etc) that can be complicated to enter and unwind. Etc etc the list is so long. Brokerages can try to paper over some of these issues but the playing field here is inherently a highly leveraged minefield. ~80% of all options expire worthless.

Retail investors should not trade options, it is not something to do lightly, and is is certainly not something to do for pocket money.
I've used an 8 bit computer with a 300 baud modem. One bbs I dialed into was a 8 bit computer with a whopping 4mb of ram. It was the fastest response time of any computer I've every used. Everything was in ram, and coded in assembly with speed and low code space as the concern.

Modern computers should be much faster, but they aren't. They do more, but when you do something you notice the slow speed.
Pixel phones do? Or using Google Fi as your phone provider does?

I would understand Fi having better protection because you have to manage it online through your Google account (and same for Google Voice users).

Not sure what a phone would be able to do about it.

Anyway, Google as your phone provider opens up a different can of worms. Instead of having an overly helpful support staff who can be tricked into doing things they shouldn't, now you have Google's algorithmic account bans and tie-in with Google Payments and no recourse for problems because the customer service is a robot that says "no". https://news.ycombinator.com/item?id=18886804

Nonexistent support is great in terms of resistance to social engineering, but sometimes you need support.
> A lambda is both.

bool foo() {
return [](){return false;}();
}

No capture here; no closure. Adding `-O2` to GCC inlines the lambda.

> The amusing thing is that C++ still doesn't have nested functions.

Also amusingly, it does have anonymous types which can have function members.

bool bar() {
struct {
bool orly() {
return false;
}
} a{};
return a.orly();
}

It's fun to send this type of stuff to code review.

Edit: Oh and I forgot; you can refine the member to be static so you don't need to instantiate it first.

bool bar() {
struct a {
static bool orly() {
return false;
}
};
return a::orly();
}

[0] https://gcc.godbolt.org/z/Pjdnre

[1] https://gcc.godbolt.org/z/hc73GP
This post reminded me of this quote:

"The hope is that the progress in hardware will cure all software ills. However, a critical observer may observe that software manages to outgrow hardware in size and sluggishness. Other observers had noted this for some time before, indeed the trend was becoming obvious as early as 1987." - Niklaus Wirth
I think you're likely right, and that I'm being a bit overzealous in assuming that the mechanics are statements about the real world. Perhaps it might have been better to suggest from a "death of the author" viewpoint.
My boss. I mean, we don't have unlimited cash to throw away, but let's say I'm going to keep a new Mac for 4 years (which is a lot less time than I'll probably actually have it, but we'll round down). I work about 2,000 hours a year, or about 8,000 hours over the time I'll own it. That $1,000 amortizes out to be about $0.13 per hour, which is a rounding error compared to salary, benefits, air conditioning at the office (back in the old days when that use to be a thing), etc. If that makes me 0.2% more efficient -- say by making compiles or "docker build" commands run faster -- then the company made a profit off of it.
Considering how Windows 10 until very recently pitched an absolute fit when the user tried to change the default browser away from Edge, I'm gonna go with the latter.
This article goes more in depth and answers the questions you bring up https://passwordbits.com/dont-need-sms-2fa/
The world needs more of this kind of important research.
Why did the atomic spy do it?
The reddish brown smoke afterwards is certainly consistent with some sort of nitrate explosion. That's the color NOX usually is.
Maybe this is too much navel staring but clearly, if the central thesis of the article is true, tiktok owes its success to prioritizing the content over the individuals. An interest graph, not a friend graph.

Besides stagnation... Could it be also an effect of "the West" becoming more open to collectivist ideals, where the individual is less important, and it's more about what you follow and not who you follow?
Ask HN: Where Does Innovation Happen?
HN has become fairly boring for me. I remember learning about new deep topics. Now it's mostly about incremental improvements. It's probably a function of me being around for a while.

Where do you go once you have graduated from HN? What are the next big jumps in innovation and learning that you see?
If you're small and have actual competition or not that great of a market fit, sure.

If you're Google, Facebook, Oracle, etc, nobody cares. They just endure it to get what they really want.
No, you're not. This is an argument that doesn't hold water. Why am I morally responsible but none of the abstractions below my code are not? What about chip manufacturers? The developers of CPU instruction sets? Compiler developers?
This is a mountaineering / rock climbing expression that is slowly finding its way into popular recreation lexicon, by way of Instagram/vanlife culture. Sort of like "just send it"
It was Pepcon[1], not Tiokol. And yes, the smoke has the same brown/orange color that you see with nitrate explosions.

[1] https://en.wikipedia.org/wiki/PEPCON_disaster
Aggressive Cancer Diagnosed for First Time in a Dinosaur
I don't know, but my guess would be Type III Fun is where you are having fun while you're doing it, but afterwards you realize it was miserable and would never do it again.
I am awestruck. What an awful event. I will be keeping up to date with this and looking for ways I can help... All I know to do right now is pray for those that have suffered from this. My breath has been taken away...
As someone who just recently worked on reducing page load times these were found to be the main issues

1- Loading large Images(below the fold/hidden) on first load
2- Marketing tags- innumerable and out of control
3- Executing non critical JS before page load
4- Loading noncritical CSS before page load

Overall we managed to get page load times down by 50% on average by taking care of these.
Alphaville (circa 2000) forever rules as sim-anarchy's crowning achievement. Without moderation it quickly became saturated with the worst crimes people can come up with.

The Alphaville Herald was dedicated to it; the blog continued on for years, after the sim was shut down. This Salon article references the mag https://web.archive.org/web/20040217030353/http://www.salon....

Alphaville is one of my favorite pieces of internet history but it wasn't ever really documented. It's hard to find anything about it now.
I have learned a lot of new valuable skills and got to see how open source businesses and internationalization work among other things, so it's definitely been rewarding for me. But feel free to send a message to greg at pingcap.com if you want to figure out if it is rewarding for you.
> Just like everyone else, I had periods of feast and periods of famine.

The answer is to have a buffer. Think of it like a queue. You are pulling things off the queue at some rate with some variation, and stuff is arriving at the far end of the queue with hopefully a slightly higher rate but with much higher variation. In order to always have queue you can pull from, you need a buffer in the queue big enough to handle the input variations.

Which is a way of saying, having however many months of living expenses in the bank (six to twelve months, usually). Spend money you have already earned at or below the rate that you are currently earning it.

Is having another income stream that makes regular money worth it? It depends. We can assume that it makes less money than your irregular income or otherwise deprives you of some benefit or need, otherwise you would ditch your irregular income and do just that. In that case it's purely about how much reducing the volatility of your income stream is worth.
Bill Gates: Covid-19 is awful. Climate change could be worse
Seems mostly good to me after cloudflare caches it, but you have made one annoying mistake: you forgot to set the height of the image, so it results in content shift. Other than that, it's great! :)
Bashtop – The ‘Cool’ Top Alternative
Hi dear friends, today we'll discuss image optimization and can know why image optimization to try to On-Page Seo of a blog it's necessary to try to image optimization, image is optimized to bring your post to the primary page within the program. https://www.bloggerzune.com/2020/08/Image-optimization-for-s...

I hope that after reading this text, you'll understand about image optimization and know why image optimization should be done.

So Let's start

What is image optimization?

Image optimization may be a process during which we reduce the dimensions of the image without explaining it with the standard and optimize it to urge rank within the program While doing Seo, we've to figure on the name, alt tag, etc. of the pictures.

Why should I optimize the image?

Image optimizing is required for program optimization (SEO), the search engines are unable to crawl the pictures, the search engines run on the place where we've used the pictures as space,

Now we've to elucidate to the program why the image that's therein space is employed, therefore the images are optimized and there are many reasons that this process is completed.

This helps boost the speed of your website,
By Optimizing the image, you'll bring the post to the search result,
Attractive images user likes more
Nausicaa of the Valley of the Wind
I think people who create works should choose whatever license they see fit for their work. It doesn't really matter what the license is. If that later proves a hindrance for the specific aims of others, well. Actions have consequences.
In the 90s, my family saved $2.68/mo on the phone bill by opting out of tone dialing.
While most coments seem to agree that it is a futile endeavor, my experience was and is the contrary. I learned that the meme 'let the professionals do their job' actually is an excuse for being lazy and unlearn even basic hand craft skills up to the point of being totally incapable to get along on your own.

I admire a meaningful and quick fix more than a professionalistscwork, adhering to piles of regulations for no appearing reason but let many others profit from my money.

I also understand that amateur is from latin and actually means to love what you are doing.

So get out of your comfort chair, put the gaming controler aside and re-learn some basic skills. With every project it becomes more and more rewarding.
I'm making a site that's very light, minimal everything... except for a section that will contain some games. How do you handle those cases?
I don't really agree with renaming or rebranding. It is like going to the grocery store to buy one of your favorite things, but you suddenly cannot find it anymore. The box changed so you are not sure if it is the same thing as what you use to buy. You had recommended it to you friends under one name, but now when they get around to buying it, they can't find it.
The page is 1.03KB of HTML and ~1.5KB of CSS. The HTML has about a dozen lines of Javascript in the footer that, at a glance, seemed only to execute onclick to do something with the menu. I'm pretty sure a 166Mhz (with an M) Pentium could process 1.03KB of HTML and render the page in under 700ish ms, so I agree that that seems oddly slow for any modern device, unless they're browsing on a mid-range Arduino.
Might be the hindsight talking, but, it seems so reckless to store it in a city for so long. Do other port authorities do this?
A reddit thread [1] collected 10 different angles of the explosion:

Angle 1: https://streamable.com/xmmoa7

Angle 2: https://streamable.com/nscx9m

Angle 3: https://streamable.com/zbjj5f

Angle 4: https://streamable.com/saoafz

Angle 5: https://streamable.com/4ga1vb

Angle 6: https://streamable.com/lmivb2

Angle 7: https://streamable.com/mcy82f

Angle 8: https://streamable.com/zg9oal

Angle 9: https://streamable.com/zykkj6

Angle 10: https://streamable.com/22e152

[1] https://old.reddit.com/r/worldnews/comments/i3mb1v/large_bla...
This rhetoric is catoonishly simple. You are not doing yourself any favors here in my opinion.

The adherence to ideological purity over critical thinking is what scares me most about both sides and saying everyone who disagrees with you has a mental disorder is pretty far from critical thinking.
> If one didn’t know about him and watched his presentation, they’d find it hard to believe that a “marketing” person could talk so well about tech.

He was responsible for messaging and positioning Apple’s products globally for 4 years, so I guess it’s reasonable to assume he knows something about technology.
> There are lots of pros out there who don't know what they are doing.

Often these pros are also the ones that are easiest to find because the ones that know what they are doing are in high enough demand that they go mainly off word of mouth and friend-of-a-friend type business.

We bought a house three years ago that was built in 2006. The number of things I've found that were done just blatantly wrong has soured my opinion of general contract labor quite considerably.

I hired someone to fix some water damage by a door about three months after we moved in. The next spring when it rained we had a literal waterfall coming in from the top of the door frame.

Never again.

I've since torn that entire wall down to the studs, cleaned everything up, put it back together correctly, and rebuilt the attached deck.

I don't know how much that would have cost to get fixed by a professional (supposing I could have found one that actually knew what they were doing), but I'm guessing it was easily $10-$20k of work if labor was factored in.
The big "dream" of web-based technologies was to allow designers the freedom to do whatever they want. But doing this has a lot of costs, which we are all paying today. In the early days of GUIs, a group would design the OS, and everyone would just use that design through the UI guidelines. It was, in my opinion, the apex of GUI programming, because you could create full featured apps without the need of an experienced designer, at least for the first few iterations. Now, I cannot even create a simple web app that doesn't look crap, and any kind of web product requires a designer to at least make it minimally usable.

https://www.bloggerzune.com/2020/08/Image-optimization-for-s...
Seems so as well but I have to admit, it's an awful lot of effort just to gain a source of content. Realistically, it's more likely that these are just creative people who followed the trend (which they freely note in the piece) and decided to go off-grid in a way.
That’s like saying the Mona Lisa is a painting. It is a deeply sad real story, with many details in it. It cannot be summarised in a sentence.

Link: https://outline.com/wcZMzs
It doesn't stop it but delays it. The attacker seeing a SMS 2FA screen doesn't mean they give up, it just means the user is now more valuable. This explains it https://passwordbits.com/dont-need-sms-2fa/
How to Survive Working at a Startup
Startups are chaotic shit shows. Nothing makes sense. Ever. Even if sometimes it seems it does. And for a short period of time, the anxiety fades away. But the next morning everything changes. Again. And our brain starts trying to solve the puzzle of uncertainty. Again.
You should go work in a different industry as a part-time job before you give up your job in IT.