skysight-inc/HackerNews huggingface dataset:
Memory usage is an interesting problem, because the failure mode is so much more painful (crashes and complete lock-ups) than high CPU usage.

And even if you return memory to the OS, that doesn't actually solve too-high memory usage.

Some things you can do:

The article mentions `__slots__` for reducing object memory use, and other approaches include just having fewer objects: for example, a dict of lists uses far less memory than a list of dicts with repeating fields. And you can also in many cases switch to a dataframe with Pandas, saving even more memory (https://pythonspeed.com/articles/python-object-memory/ covers all of those).

For numeric data, a NumPy array gets rid of the per-integer overhead for Python, so a Python list of numbers use way more memory than an equivalent NumPy array (https://pythonspeed.com/articles/python-integers-memory/).
> It's surprising to me how difficult it is to have a discussion in the (cyberspace) open holding what I consider the internet-minority-viewpoint on covid.

The thing is, not all viewpoints are equally valid, and some are both unreasonable given the facts and have actually dangerous implications.

For instance, minority viewpoints like promoting herd immunity as a solution at this point (like some prominent people were doing as recently as a month ago [1]) is about the dumbest thing ever. It's pretty much "let's try to get everyone sick (with the death and disability that entails) just before our vaccine effort bears fruit and would make that pain unnecessary. It's nonsense, and at this point it makes more sense to downvote than to beat the same dead horse yet again.

[1] https://abcnews.go.com/Politics/trump-embraces-idea-herd-imm...
Youtube has to realize that a significant amount of content that people watch on its site is reaction, commentary, compilations, and other recycled content.

I think its for this reason that they don't go after these projects very aggressively.
Agreed! I think this is becoming even more important as the barriers to building software products shrink.

Every day, there are dozens of products being launched on ProductHunt - many of them without code.

The "easy" distribution channels are being flooded.
Given the average age of covid deaths, there's probably something like 80-90% overlap there. Nowhere near double.
> if we recalculate the odds in terms of a particular in-group, and tell you that, of the 25 people you know and care about, there's a 33 percent chance that one of them will die, that seems like a large risk, and one you would work hard to avoid.

Isn't that 25% chance that someone will die of the personal cohort?
I think for C++ programmers either you have to pay a premium and hire senior people in their 40s (like 60s and 70s for COBOL), or find someone who is willing to learn and have the patience to get him on road not now, but 3-6 months from now.

I feel that it's rare that companies choose the second road so usually they pay a premium.
Do drugs open said ‘doors of perception’?
I've always found the Polgar story a bit weird, despite the way their father obviously characterised it. Was their chess education really that different from any other resulting chess pro?
I mean for a site like sourcehut the "work" could literally be an invert filter or taking the styles that dark reader generates for sourcehut.
message batching and locking can be thought of as orthogonal pieces. In practice, yes there are advantages still of using thread per core, but perhaps not for the reasons you think. It has to do with core-local metadata materialization for a subset of the requests. THere is effectively essential complexity (i.e.: to replicate data, one must replicate data), but the TpC is strictly an optimization for flatter tail latencies.
This is out of scope for both https://StackOverflow.com and https://SuperUser.com.

This is an Apple Hardware and macOS issue and should be posted on https://Apple.StackExchange.com
Well that’s obviously a total exaggeration.

Yes, there is some information leakage, but nothing like ‘inspecting any aspect of your life’.

But more to the point, you own the computer. You chose the operating system. If you don’t like what it does, buy something else. You can sell the one you don’t like, because it is yours.

It’s as simple as that.
And if I had endless time, presumably I could reach englightenment, with seems like a better use of my time.
I don't think it would have changed much.

It would have slowed the initial spread, but as we have seen, it only takes a single "superspreader" event to infect an entire country. Out of the various actions taken to fight the pandemic, closing borders was among the least effective. Basically, it only worked on islands and in combination with strong local actions (testing, tracing, quarantine, lockdowns, ...).

20 years ago wasn't the middle ages, air travel was a thing (9/11 was almost 20 years ago). In fact, it wasn't that different than it is today.
I have a friend who has run a restaurant for decades with a customer base that is almost entirely regulars. She has encouraged us to leave bad yelp reviews as she has found "yelpers" (different from people who simply consult yelp) to be a pain in the neck...plus wants space to be available for the regulars.
Remember when companies and experts just talked about their product without expressing an overt political position?
I'm not a huge Apple fan at this point, but implying that other platforms don't have this problem is somewhat disingenuous.

Updates brick device across many platforms all the times. I've had plenty of PCs break from updates.

That you can even recover from a T2 failure at all without opening it up is quite nice. Perhaps my standards are low.
Home Depot Buys HD Supply Holdings in $8B Takeover Deal
To downvoters (2+1 down, most of my karma, without comments in last hour): those are facts, not opinion.

Now I'm wrong and I'm very happy with this.

There was a site witch I'm not using anymore for that reason. When I used searchbox provided, Cloudflare was going in the way:

'Please stand by, while we are checking your browser...
Please turn JavaScript on and reload the page.'

.. but then after some time it was refreshing anyway and it would catch if I enabled JavaScript for some other reason.
It was dark pattern - asking me to reload the page, but then doing it anyway, without my consent, of witch I wasn't aware for a while.

I just checked it, and Cloudflare is not doing this (refreshing) anymore. :)

I'm quite happy because of this (not wasting resources in some corner case), but in meantime I stopped using that site (they are not aware of it nor of the reason) and found some other, without this kind of obstacles.

I wish, Slack could fix it (not me) too.
Learn to Develop on Android with Mad Skills
Thank you, I will look it up. I have a reading list and have read many from a theory perspective. I am re reading them but this time with a different perspective/goal.
I haven’t checked the website, but I confirmed the app has it as an option!
You can get a bag of pre-cut frozen vegetables for a dollar or so, and rice takes about as long as mac and cheese to cook. Eating microwave frozen foods is far more expensive than eating rice and vegetables. I'd say your education and habit arguments are more compelling explanations.
Oh no. When did HN get climate truthers?
Customizing C2-Frameworks for AV-Evasion
I'm not sure I would trust this even if all the private data was in homeowner's Tim Berners-Lee's Solid pods. The risks are just too great.

But on Facebook's servers ?! Are you out of your mind !?!

See also : Oculus.
Disagree, somewhat. You should check out the OCaml manual: https://ocaml.org/releases/4.11/htmlman/

It is a complete and up-to-date manual of the entire OCaml distribution, including executables, language, runtime, and standard library. It's rare to find modern industry-driven languages with this level of coherent documentation.

But regarding third-party library documentation, that is indeed spotty. Some people publish it, some don't. I have to reluctantly conclude it's due to a lack of tooling which automates the tedious processes.
In many cases, neither Yelp nor Grubhub are adding value here. They are inserting themselves as rentiers because they are better at SEO (i.e. have more money) than the restaurants themselves. It amounts to a shakedown similar to domain squatting.

That's not to mention the surveillance capitalism angle of phone calls that would previously be private now being recorded by Grubhub.
Literally any search service besides Google

If you are concerned with unethical monopoly exploiting their market position that Google has to be at the top of that list right along with Amazon
Agreed. Even with significantly reduced capacity it doesn’t seem restaurants around here are turning people away.

Demand has dropped off. Whether there are government restrictions or not, people have overwhelmingly decided it’s not worth the risk.
> I solve this particular problem by only ever updating my os long after the problems have been ironed out. Apple are notorius for beta testing on users and frankly I think it's crazy to update your main machine this early in the cycle.

Exactly. Mac has become windows in this sense. Updates aren’t safe and users must stay a few versions behind.
Sure. It just used to be harder to build in, and to do so precisely. In your example, dropping calls from an area code, that's a relatively coarse filter.

There's a whole strand of academic research [1] arguing about whether people can build prejudice into technological artifacts, eg one disputed example was an underpass with low clearance, supposedly so that white middle class people in cars could pass, but black poor people in buses could not [1, p123].

These days that dispute is ridiculous - obviously prejudice and bias can be built into technological artifacts. It's one "if statement" away.

[1] "Do Artifacts have politics" https://www.cc.gatech.edu/~beki/cs4001/Winner.pdf
I see you have cherry-picked a single malware attack from five years ago that affected a very specific and highly-populated region, and are using that as your single claim that iOS is less secure overall. But search after search I conduct, reading articles on this topic from the likes of Norton and various respected security researchers are tipping the balance in favor of iOS for overall security. It's not perfect but it is rather clear. The lack of fragmentation, and the centralized control and ease over updates, are all cited as key advantages in the iOS space in the war against malware.

Thanks for the info on XcodeGhost, I hadn't heard that before. But to stake your evidence on this one single event from over five years ago is not so convincing.

I appreciate your effort to dig up an example that is an exception, but we're talking about the industry overall here, worldwide, and in recent years.
The European Court of Justice will rule on the legality of upload filters
Nice well organized list. I like seeing some less well-known services being preferred to the known defaults.

Also, immer sounds very interesting:

> An intuitive, performant way to do immutability. It can also serialize patches you make to an object, so it’s fairly easy to implement undo functionality as well.
There should be no need to make claims of forgery. The mere fact that an email can be forged will substantially reduce the likelihood of email being used, unless clear providence can be provided.

At the moment that providence can be proved with DKIM. Remove DKIM and now bad actors need to prove that they actually broke into someone’s emails and stole them. A much high bar to pass, especially as it may mean incriminating yourself of a crime.

Emails become just as useful as find a pile of top secret papers on the floor. Unless you can prove the source of those papers everyone is going to ignore you.
Do you? I've never tried to watch any that have required it.

Maybe there's Red-only content that isn't advertised/recommended to non-subscribers?
I live in a US state with essentially no lock down measures in place. Companies around me are going out of business by the dozen. These companies are not going out of business due to any government mandate they are going out of business because of economic uncertainty and people not spending as they dont want to go to places and potentially get sick. I used to spend ~$500 a month on eating out, I spend almost zero now as I dont want to take the risk. This has nothing to do with government choices and fully to do with mine. Now multiply this by tens of thousands of other people making the same choice and you will understand why an effective widely used vaccine is important for an economic recovery. Until the virus is under control I and many others will severely curtail our spending and there will be only a limited economic recovery.

In addition I dont go out as I have elderly relatives who I dont want to sicken, they dont expect it, its my choice. So blaming others for being selfish is really missing the point and is an illustration of not really understanding the current economic situation.
No, sorry.

My testing was not a comprehensive assessment of macOS-compatible VPN services and my selection was biased towards breadth of implementations disregarding all other criteria. It would be inappropriate for me to recommend any of them as I did not assess for quality of app, support, billing, or privacy.

If it adds a default route to your routing table when you connect, it's fine. If it offers fancy per-app traffic rules, it's probably not fine.
They reinstated the repo without going through the usual DMCA counter-notice process. Which would require youtube-dl to file a counter-notice, and then to wait some amount of time for the original complainer to respond, before reinstating the content.

I think there are few if any major other hosts who would have done this -- although perhaps with the example set here, more will going forward?

Honestly, I don't totally understand how you can get away with being as protective of the person receiving a takedown notice (in this case developer) as github has been, under the DMCA. It is unusual.

Compare for instance to gitlab.com's DMCA workflow. (Which it is amazingly awesome that gitlab has all their policies/workflows like this public and transparent, which github does not, true!). Following this workflow, youtube-dl would still be down, until/unless "there was a valid counter-notice and no response has been received from the plaintiff within 10 days of the counter-notice being forwarded"

https://about.gitlab.com/handbook/engineering/security/opera...

So yes, I would say that github has already acted in a way to stand up for developers, in reinstating youtube-dl already, and in changing their policies for the future further. Even in their present actions, they seem to be really pushing at DMCA safe harbor allowances.
Whistl UK delivery company suffers data breach
Whats the argument here?

Most people would agree that what Google is doing is also immoral.

But ignoring that, I don't see the equivalency - you are paying Google to prevent someone else from paying them more and showing up above you; in the Yelp case, your phone number already existed on Yelp, and someone is already on the page, yet GrubHub still adds their number.
Not exactly, but yes my math is wrong - it should be 22% that some member of the cohort dies. (`1.0 - (1.0 - X)^N`). I'll update the post.
So sure, fishing is something humans have done for a long time.

But hardly any human beings at all (as a percentage of the population, certainly) now take part in this activity.

Growing food was once the preoccupation of almost every human being alive - in the USA it now employs around 1% of the population, and most people have almost no understanding of how to grow food at all (and certainly could not farm, evne if they have a small garden).

The working activities described in the essay has almost no relationship with normal life for the vast majority of people living in industrialized countries around the world.
I think I have always had faith in other institutions. But they have all changed. They come and go over the years. I want a constant.
And even if it weren't Corona, you still experienced shitty symptoms and realized how much even "mild" Corona can suck.

Two of my friends have it right now and they basically got a really nasty cold, not too bad. Others die.

One experience doesn't invalidate the other.
1750 is pretty good. But with chess you can get so many games per day, it's much easier than other games with the same ELO ranking system. It's the sheer number of valid games which are possible online. You can also easily cheat online.

An analogy: I started with 52 as regional table tennis player. In Saxony. I started with 1150 or so, and am now at 1300. We cannot play that many games, around 4 per month, so we cannot raise our points that much as in chess. But other countries do have a trick, and therefore have much higher ELO points. They added their self organized games in so-called "<sponsor>-pokal" leagues, which can be played daily around the district. You can easily organize your oiíwn tournament with the Swiss system, which guarantees time-bounded end times. You are sure that the tournament is finished by 10pm. And most countries honor these tournaments points, so you can easily raise up your ranking.

But my country saxony doesn't like this idea because there are folks who would cheat the system. They would loose on purpose in such tournaments to be able to stay in the official lower ranked leagues, where they will win more easily against lower ranked players. They would abuse the system. I'm pretty sure professional chess players in the lower ranks would also like to play for his club in much lower leagues, so that wins are easier. Only to get into international tournaments or the highest leagues you need the points. Many are also loosing on purpose at the end of the season to be able stay in the lower ranks, if the remaining games are not important anymore.

Eg when I played in the US I would beat the 1600 players. In Saxony no chance at all.
Thanks! That's interesting. You can do that with Narwall too and I do see the advantage.

I generally advise wiping the mask down with an alcohol wipe or equivalent prior to doffing (also servess as a reminder to sanitize one's hands before exposing the face). Perhaps I should include a gif of this too.

Would love feedback from you (or other hn'ers) on the preview of the full website which goes live tomorrow, by the way! http://next.narwallmask.com

Already had a few orders come in through HN, will be shipping those out today.
Nicely put! It's important to be aware of the spectrum ranging from very rigid and introspectable, to very flexible. We should not be religious about approaches, and it is certainly a good idea to consider new approaches. But there are other economic forces unrelated to this spectrum - for example, it can be a good idea to just stay with old and proven tech because of better tooling, compatibility and familiarity.
Isn't the big advantage of the Moderna vaccine over BioNTech that it doesn't have to be stored at -80c? This one should be stable at normal refrigerator temperatures for up to a month and -20c for longer, according to the article. That doesn't seem hard to transport at all
List of Hauwei and Honor devices that will be getting the Harmony OS
Airbnb Turned Away 1.4M People Who Refused to Sign Its No-Bigotry Agreement
It is even weaker than that. DKIM keys themselves can be stolen - most servers don’t store them in HSMs (and HSMs are also not infallible).

Or factored - Debian had a bug 12 years ago that caused weak SSH keys, a similar thing could happen to DKIM key generation (or has happened, but not yet discovered).

Some study showed many RSA keys in the wild had a common factor. A weakness of this family might be discovered with DKIM keys.

It is supporting circumstantial evidence, not proof of identity.
If the user wants to use it in the future, then I'm sure a simple login once in a while is enough to deem them as "active".

However, if they haven't shown any sign of life for 10+ years I believe it's time to move to someone who will be an active member of the GitHub community.
Why the Future of Nuclear Power Is Tiny and Factory-Made
Cost of living is getting there though :(. Our Maine neighbors of lobstermen and other solidly middle class vacationers are being displaced by doctors and lawyers. Complete with stupid pissing contests between old vs new residents.

This year has all new problems though: Some people drove straight up from Florida and Texas then dropped by to chat within hours. What the bleeping bleep is wrong with you? Why are you here?!
Sure, but other folks have to make use of it, too. Not everyone's code will be abstracted from CUDA. They're trying to get folks on Summit to test out HIP more strongly. Repeating my comment from last summer [1] that linked to the "try to use HIP" [2]:

> The OLCF plans to make HIP available on Summit so that users can begin using it prior to its availability on Frontier. HIP is a C++ runtime API that allows developers to write portable code to run on AMD and NVIDIA GPUs. It is essentially a wrapper that uses the underlying CUDA or ROCm platform that is installed on a system. The API is very similar to CUDA so transitioning existing codes from CUDA to HIP should be fairly straightforward in most cases. In addition, HIP provides porting tools which can be used to help port CUDA codes to the HIP layer, with no loss of performance as compared to the original CUDA application. HIP is not intended to be a drop-in replacement for CUDA, and developers should expect to do some manual coding and performance tuning work to complete the port.

[1] https://news.ycombinator.com/item?id=20495637

[2] https://www.olcf.ornl.gov/wp-content/uploads/2019/05/frontie...
I've been using Mac since 15 years and it's always been this way.
The original question seemed to be asking about how to make a real chart, that is, with real paper, pens, compass, straightedge, etc. In the real world, taking successive roots is going to bleed accuracy pretty quickly, and when you feed that inaccuracy back in to the e^x function, it's going to bite pretty hard. I don't think it's practical to get the requisite level of accuracy this way.
Yeah I'm finding myself explaining the difference between shell and Python a lot:

https://news.ycombinator.com/item?id=24873284

Shell is good for creating Unix systems because of the tools it provides. ... It's hard to explain, but if you work in that area, you'll very quickly see it.

I think many people have learned one language, or 3 languages that are similar, and they think all languages do roughly the same thing.

That's incorrect on all counts: in terms of the core data model, the operators, and the libraries.

If you do a lot of work in a specific domain, you'll start to see all the differences. Shell is the best tool for bringing up machines, which happens a lot in both the cloud/web and embedded spaces.

----

Ditto for R. R makes a lot of tasks really easy, and a lot of other ones really hard (like being 10x slower than Python, or 1000x slower than C, for many tasks). That sounds horrifying, but it really helps you get a lot of work done.

Another thing people have trouble appreciating is the difference between R and Matlab, and Matlab and Mathematica. Those 3 languages are drastically different because of both their core data model and who uses them.
What Rent Drop? Listed Prices Aren’t Budging Where Covid-19 Hit Hardest
I didn't cherry pick, I was in fact exhaustive. I was looking for cases that supported "most of highly-developed Europe is doing much worse than the USA" and specifically mentioned Germany. I looked at the specific cases mentioned and any others that could be classified as "much worse".
Can anybody recommend a good spiritual successor to KidPix? I have a four year old and would love to give her something like this to play with (perhaps on an iPad). There are sooo many drawing apps targeted at kids and it's hard to know if any of them are any good.