skysight-inc/HackerNews huggingface dataset:
Google "common|popular|standard source max line length"

125 characters per line is the real de facto coding standard for maximum line length these days, because this is the maximum number of characters that you can see in the GitHub diff view. This used to be 119 characters, but the page layout changed.

I just updated my editor to show rulers at 100, 120, 125.
I see. I mostly use Debian, and it seems that their "parallel" package removed the notice.

More info at: https://sources.debian.org/patches/parallel/20161222-1.1/
Many previous submissions, e.g. https://news.ycombinator.com/item?id=23261815.
TL;DR: Use Firefox with uBlock Origin to block the highest number of scans. Edge/Chrome/Brave let them through.
Minor nit: long -> double -> long cannot introduce more rounding error than long -> double, if the same long type is at both ends.
I discovered Eliot in my 20s. I’m still discovering him: I’ve been working my way through Four Quartets for about five years. Spent about 10 years discovering The Waste Land.

Yes he’s a privileged white male.

But even for younger readers, that’s not a huge turn off.

Besides, he may have been gay.

Regarding his public stature - he’s still present - more so than, say, Ezra Pound.

For example, “Better You Believe” (http://www.nightmare-magazine.com/fiction/better-you-believe...) is one of the most popular short stories of the past decade. It’s partially inspired by the Waste Land. Parts of Song if Ice and Fire also drew inspiration from it.
Do you not see the stark difference between the first set and the set you list?

Each of the ones you listed fall into two camps - lack of evidence to disprove (e.g. JFK papers being sealed) or evidence available to support (Mass surveillance, Panama Papers).

Flat earth, anti-vax, pizzagate have mountains of evidence to disprove them, but there are a worrying number of people who buy into them, and an entire cottage industry pushing them. See also 5G.
Wow. What a product. I would have killed to see that pitch meeting. Not only do you just eat sugar out of a bag - but the utensil (stick for feeding) is also made of sugar.
CA Root expired on 30 May 2020
I'm very willing to believe that this move was driven by actual user research. As a user, the last thing I want to do is create a user name and password for your app, click a link to validate my email, then enter my password again into some sort of cross platform widget that doesn't support keychain autofill. Unless it's an essential service like a bank or an airline, I'll probably opt out of using it.

I'm also very lazy when it comes to payment methods. Trying to order food and the app doesn't support Apple Pay? Delete it and do something else.

Clearly there are issues with the entrenchment of Apple at the center of all this, and these problems would be better solved with open standards, but the consistency and convenience makes an actual measurable benefit in the end user's daily life.
There is a simpler way by adding a different CA into the chain. You can add the version of USERTrust RSA CA that is signed by AAA Certificate Services (https://ssl-tools.net/subjects/cd30d24c343a82ab1f0570158ad7a...) and it will work.
In C, if you forget to clean up, you have a memory leak which is hard to track down.
In Rust, if you don't do this, you're not sacrificing memory leaks, only performance. A profiler can tell you when you should drop asynchronously.
If it gets votes fast enough after being submitted, it can appear on the front page with very few votes.
Right there is no reason to pass ownership to a function like this.
How can they prove that he downloaded the software? What if someone else did?
Nice I've been looking for this product. Bookmarked
Wow. That's almost inexcusable, especially due to the requirement of forcing iOS apps to implement this. If they didn't extend the window (from originally April 2020 -> July 2020) so many more apps would have been totally exploitable from this.

After this, they should remove the requirement of Apple Sign in. How do you require an app to implement this with such a ridiculous zero day?
Ether is a perfectly valid spelling in British English. See meaning 3 at https://www.lexico.com/definition/ether.
Show HN: Open GIF Search
Proof of concept on an open sourced Gif Search Engine.
How Not to Help Restaurants During the Pandemic
Then we wouldn't have Rivian, for example. Competition can be good.
So let me get this straight, in spite of not quieting the shipping lanes, the population has exploded, which is impossible according to you.

Somebody forgot to tell the whales, apparently.
I hear you on how daunting the problems feel. And the pandemic has shown what many have suspected about the ugliness of capitalism. Thanks for your comment it helps me engage better with the broader community.
It’s hot takes like this that make me come to HN to read ppl’s opinions on literary figures. It’s as if the Nebraska Farm Report had a society weddings page.

Talking about 20th century critics and not mentioning Elliot is like talking about pop music in 1960s Hamburg and failing to mention the Beatles.
Super valuable. Is this a one-off or something you hope to do monthly?
Protective Distribution System
99% of all demonstrations do not lead to riots. But you'll never hear about them because non-violent protests aren't interesting enough to the media.
The Comeback of a Fallen Tech Unicorn CEO
I am well aware of the bug bounty program. I think it needs work.
> Closer to home, you can look to the steady diet of fear-based public health reporting that the "news" outlet finally has explicitly disclaimed as non-factual (but always was defective) -- "Due to the rapidly changing nature of the coronavirus public health crisis, some of the recommendations included in this article may eventually become out-of-date."[2].

Well, let's see.

> steady diet of fear-based public health reporting

There's a pandemic on with a nontrivial death rate. A little fear's deserved.

> that the "news" outlet

I believe these are called scare quotes.

> finally has explicitly disclaimed as non-factual

where is this disclaim?

> (but always was defective)

You have certainty on your side apparently.

Now the quote about stuff getting out of date, well, what do you expect? Speak to god if you want utter certainty, not scientists. Seriously, what makes you think eternally correct information drops fully formed into anyone's lap.

If you want to live in a world without science, aka the middle ages, I urge you to do so, so those of us left behind with the internet, antibiotics, human rights, a stable civil society, non-agricultural jobs, and education, can suffer alone.
Ok, we've changed the title to say that...
... and not that. Thanks to both of you.
That strikes me as a short tolerance for feeling something is ruined. He appropriately highlighted the real time
estimate of the more involved work in a footnote. He didn't literally mean all of the work was one day, he's trying to convey a larger point about outsized engineering returns from comparatively small person-hours of work.

Were you able to move past this to read the rest of the article? Because it's a very good article.
>A profiler can tell you when you should drop asynchronously

Is there any profiler that does this today?

What are the drawbacks with asynchronous drops?
If freeing the data structure in question takes this long, how much time are you wasting duplicating the data structure?
I'm sure there are Pepsi bottling plants in every major city - my workplace is a block away from one.
- query hints

- planner hints

- better statistics (including ways to manually create statistics)

- no vacuum

- automatic planner adjustment when true cost was off

- better planning for prepared statements

- active-active clustering with RAC

- vendor support for running on SAN including snapshots

- usable query analysis tools provided by the vendor (pg_stat_statements alone doesn't cut it)

- datapump much faster than pg_dump

- better connection management

- out of the box backup tooling

edit: I haven't used Oracle in 4 years, all of that was available to me back then.
This isn’t an information disclosure vulnerability that would allow someone to gain knowledge of new Apple IDs. It also doesn’t affect first-party applications.

I can’t provide an explanation of the behavior you observed without more information, but I can reasonably conclude that the vulnerability here wasn’t the cause.
I have never really wanted to go "serverless" until today.

TIL that I can buy a cert that expires in a year that is signed by a root certificate that expires sooner. Still not sure WHY this is the case, but this is definitely the case.
I Stopped Eating for 72 Hours and This Is What Happened
For these contrived cases, yes, you would just pass a reference to the function but I think the point is to simplify the case down to demonstrate a point.
I just tell people I use a mono repo to house all my single file microservices.

Php under apache.
They’ve seemingly been fairly responsive for web-based issues.
Ask HN: Can't focus when writing code in dark mode
Seeing fellow programmers left and right switching to dark mode and everyone seems very happy. I gave it a try a few times but it just doesn't work. I can't focus.

It is not the time that I need to get used to a different syntax highlighting scheme because I switch between editors all the time. I'm perfectly fine as long as the background is lighter than the foreground, so it has to do something with the dark mode itself.

Is it that I have to give it more time (so I can stop noticing that "something is wrong"), or simply it doesn't work for some people? And if so, what am I losing (reduced eye fatigue, better sleep...)?
With a quick process, I assum they're either outsourcing the whole delivery portion, or they're reusing their existing distribution network. Their distribution network may have a lot of excess capacity right now, as many smaller retail outlets are closed or seeing less sales. If uptake is slow, they can learn as they go, and then start advertising as things start working.
I've heard that FB doesn't really hire people with a few years of experience. They hire interns and new grads, but once you're past that they look for 5-6 years of experience.
>It's entertaining but it's dumbing down discourse when people are discussing positions that are essentially strawmen.

One such strawman is one you'll find throughout this thread, that anyone skeptical of conspiracy theories is either an agent of the conspiracy, a useful idiot or a troll. That dumbs down discourse as well but no one seems to question it.
Beyond Pandas: Spark, Dask, Vaex and other big data technologies
API and performance comparison on a billion rows dataset. What should you use?
My parents used to have one with a mechanical thermostat. It was pretty simple and worked well once you had figured out your target temperature.
You’re spot on: this is simply a bad example that you would never see in a real application.
I find it hard to believe that signing up for an Apple ID caused the start of the phishing emails unless the email account or computer has been compromised. This is not normal when signing up for an Apple ID.
How I Built My Own Weather Forecasting Tool
I have considered it before but I just don't trust real people enough to share my personal thoughts with them.
Apparently so!

https://www.polarpurewater.com/

More details here:

https://www.polarpurewater.com/new-page
In warmer climates you can capture waste heat from your a/c and heat water at the cost of running a small recirculating pump.
Ask HN: Why is the GUI for MS Outlook for Mac so slow?
When you grab the corner of the window to simply resize it ... the window lags behind your mouse movement by a yoooge amount. Even on a 10-core iMac Pro. Why?
What is your estimate about when we ll be ready to have that discussion?
Also this post has been flagged and I can't seem to be able to vouch for it.
The JSON-to-columns approach is a best practice for analytic applications. ClickHouse has a feature called materialized columns that allows you to do this cheaply. You can add new columns that are computed from JSON on existing rows and materialized for new rows.
Personally I hope nanotechnology can be used in vaccines, for targeting cells based on their genome - imagine a tiny machine that will attack exactly cancer cells, covid, hiv. One that we can program, inject and cure.

Also I see the validity behind concerns around vaccines - certainly mistakes can be made and some may not be beneficial.

Same for 5G and radio waves. In theory, strong radio can cause damage but the amounts would have to be enormous.

But of course I am talking about people whom like children exaggerate everything in their minds, good and bad, to the point where where they fear an imaginary cabal plotting to subdue them. Like Courage the Cowardly Dog which sees everything like an exaggeration coming to get him and his family.

So imo yes, there are emotional connections but those emotions are underdeveloped and exaggerated.
Integers identify as male :)
I took this to be a contrived example to illustrate the point. I could imagine a process that creates a big data structure (e.g. parse an xml file), pulls some data out, and then drops the data structure. If you want to use that data sooner, you can push the cleanup off your thread.
Any word on what the fix was?
I know in the past Chick-fil-a has been criticized for its conservative views; perhaps this was related to their efforts to mitigate attacks on the website?
If you never drop it, you have a memory leak. If the caller drops it, it's still the same as the `get_size` dropping it in terms of performance impact.

Generally you'd only pass ownership when that's needed for some reason. So this toy example might not be realistic but it does demonstrate the performance impact.
Well, https://www.mssqltips.com/sqlservertip/4591/ddl-commands-in-...
Yep. Not everyone includes a public email but some do.
Did it show what URL you had to send the request to? It looked to me like that was redacted. I'm guessing that that URL would have been in the developer documentation.
One of the best ways to get adoption is to have people take initial risks and build real world serious product with a serious team/company backing behind it.

Erlang got a big boost when it came out WhatsApp scaled it up with a billion users, with tiny team and only a few servers.

React/React Native got boosted by Instagram adopting it to build their production mobile app.

Rails had 37signals/Basecamp and Github/Shopify/early Twitter/etc.

Haskell needs some more famous commercial "killer-app" examples for real businesses and real teams. And yes I'm very familiar with the current selection of popular Haskell examples.

Currently I only ever hear Haskell (and Ocaml for that matter) being used by engineers for backend engineery things (parsing programming languages, fighting spam, tooling) mostly for OSS tools.

On a positive note, PureScript is trying to position itself as a practical Haskell and making a bit of success. One helpful reason is they have a nice app/company leading the way as a production app with Lumi [1], with their founder playing a key role on the language/ecosystem dev side as well: https://www.lumi.dev/blog/purescript-and-haskell-at-lumi

This is what Haskell needs more of - and critical a company promoting/blogging about their progress using Haskell as well as contributing back into the community.

Another big one is simply a sort of 'starter kit' which guides you with best practices on how to architect a serious Haskell app (ie, using STM, free, etc). React has plenty of starter kits. For Rust CLI apps there is a great starter kit https://github.com/iqlusioninc/abscissa

I'd love to see a similar starting point micro-framework for starting a new Haskell app that makes a bunch of importation decisions for you and guides the structure of the project.
I’m actually very curious why it takes this long; is Rust memseting the buffer when dropping it?

Edit: it seems like turning on optimizations seems to improve the situation quite a bit. Not sure why they were profiling the debug build.
Rust will automatically clean up data that’s left scope, but you can also manually accomplish this by the “drop” function, which is only necessary if you want to cleanup explicitly, such as in a different thread.

Interestingly, the drop function is actually user-creatable. It’s actually an empty function with a very permissive Non-reference argument. The semantics of ownership in Rust makes that sufficient to trigger memory cleanup.
Not at all, Herb Sutter has a CppCon talk about this kind of optimisations.

It is also the approach taken by C++/WinRT, COM and UWP components get moved into a background cleaning thread, to avoid application pauses on complex data structures reaching zero count.
That sounds like a transaction isolation level being set too low. Really sounds like it.
From the article:

> Encouraging analytic thinking may also help. In a 2014 study published in Cognition, Swami and his colleagues recruited 112 people for an experiment. First, they had everyone fill out a questionnaire that evaluated how strongly they believed in various conspiracy theories. A few weeks later the subjects came back in, and the researchers split them into two groups. One group completed a task that included unscrambling words in sentences containing words such as “analyze” and “rational,” which primed them to think more analytically.

Also:

> In addition, false conspiracy theories have several hallmarks, Lewandowsky says. Three of them are particularly noticeable. First, the theories include contradictions. For example, some deniers of climate change argue that there is no scientific consensus on the issue while framing themselves as heroes pushing back against established consensus. Both cannot be true. A second telltale sign is when a contention is based on shaky assumptions. Trump, for instance, claimed that millions of illegal immigrants cast ballots in the 2016 presidential election and were the reason he lost the popular vote. Beyond the complete lack of evidence for such voting, his assumption was that multitudes of such votes—if they existed—would have been for his Democratic opponent. Yet past polls of unauthorized Hispanic immigrants suggest that many of them would have voted for a Republican candidate over a Democratic one... A third sign that a claim is a far-fetched theory, rather than an actual conspiracy, is that those who support it interpret evidence against their theory as evidence for it. When the van of the alleged mail bomber Cesar Sayoc was found in Florida plastered with Trump stickers, for instance, some individuals said this helped to prove that Democrats were really behind the bombs. “If anyone thinks this is what a real conservative’s van looks like, you are being willfully ignorant. Cesar Sayoc is clearly just a fall guy for this obvious false flag,” one person posted on Twitter.

This article is about encouraging skepticism and analysis, not discouraging it. Notice how it discusses false conspiracy theories, as an acquiescence that sometimes conspiracy theories could become truth.
This issue has been a real nuisance for at least 5 years and I could never retrain myself. One solution that worked for me was to make it full screen with its own Space.
If you're a Costco member, you can always go to Costco business center [0], it doesn't require a special membership other than the usual Costco one. It's where some of the smaller retailers and restaurants (eg. mom and pop gas stations and convenience stores) shop for individually packaged snacks and drinks.

[0] https://www.costco.com/my-life-costco-business-center-benefi...
You should store dates with timezone or you can't make calculations like how old is this post. You could base it off system time, but then the calculation have to take into account summer/winter time.
Glad we have people willing to disclose these vulnerabilities rather than just selling it on the black market.
It’s a contrived example to demonstrate the technique.
My guess would be that it was just a lucky guess/bot sending to a lot of addresses. I’ve had email addresses get spam before without using them anywhere.
As I understand it, rust is automatically cleaning up, and that can cause glitchy timing. The clever hack is that rust lets you shunt that cleanup process off to another thread when you're the sole owner of that object. You can do the same thing in C, but unlike rust, the cost of cleanup is not hidden by the syntax.
I believe this is contrived to prove a point.

And this isn't just a help in these contrived examples. I believe process cleanup (an extreme case of cleaning up objects) is one of cases where garbage collection performs better because it doesn't have to unwind the stack, call cleanup functions that are not in the cache, and make a lot of `free` calls to the allocator.

I vaguely remember reading about Google killing processes rather than having them clean up correctly, relying on the OS to properly clean up any resources of significance.

Now this doesn't mean you should do this in all cases. Profile first, see if you can avoid the large objects, and then look into deferred de-allocations ... if the timing of resource cleanup meets your application's guarantees.
No info about Safari
The 24GB card mentioned is almost certainly a RTX Titan, which are $3000 each. Just the card. Second, training frameworks like Megatron can distribute to multiple GPUs in the same computer as if they were on different machines, but the naive trainer is greatly helped by NVLink in order to actually look the memory and greatly improve accuracy, which means V100s which are $5000 each. (Also, people use Linux for ML)
I think the contrived use case is just for illustrative purposes? If I'm understanding correctly, the combination of cleanup code and deallocation can sometimes consume enough time that it's worth dispatching it on another thread. That's hardly specific to Rust though.

As you note that will certainly add some overhead, although that could be minimized by not spawning a fresh thread each time. It could easily reduce latency for a thread the UI is waiting on in many cases.
Yeah, doesn't this just mean they didn't detect misuse?
See some discussion here: https://www.reddit.com/r/rust/comments/gntv7l/dropping_heavy...
I'm guessing that the research iPhones were given to a very select group of security researchers with track records of reporting important vulnerabilities under some kind of NDA.
Many people die with excess savings. It's not necessarily ideal, but it's qualitatively different from spending it.
There's something that's been nagging me about horoscopes and the like. The periods they define are fixed in respect to the Gregorian calendar, which is arbitrary and doesn't capture the actual cycles of planets and stars. Isn't the significance of those natural planetary cycles part of the premise of astrology. How do astrologues justify that?
> for readers who believe that favoring female and minority voices is a moral and ethical issue

A strange morality indeed that mandates sexism and racism...
was? I got worried for a minute.

I'm glad it still exists. It's pure junk but much better than soda because it's sold as an occasional treat and not an everyday beverage.
I used to do this sometimes with C++ when I realized that clearing out a vector with lots of objects was slow. Is Rust basically based on unique_ptr? One problem with this approach was that you still had to wait for these threads when the application would shut down.
I haven't used Perl recently, but the last time I did there was a say function, so

say "foo";

was equivalent to

print "foo", "\n";
You might find it amusing that "JavaScript: The Good Parts" directly inspired the "Modern Perl" book.
Does it have a borrow checker?