skysight-inc/HackerNews huggingface dataset:
This might be more useful for a task like "read files off a list, and download them in parallel, with no more than 20 concurrent downloads." That particular task might be a one-liner in some programming languages, but there are a lot of programs like that which need significant bookkeeping and/or boilerplate even though their plain-language description of intended behavior is not complicated.

Or implementing a sophisticated protocol that has a formal specification. If you can express the correct behavior in some kind of pithy pseudocode, a tool like this could "compile" that to code in various programming languages. Like a super-powered version of SWIG.
There is nothing wrong with Set being a subtype of Bag, the problem is that the type system you're discussing doesn't enforce it. If a Set were merely a Bag that must statically enforce the constraint that all elements are unique then there wouldn't be any issues.
That would be an ideal situation but someone with large amounts of money might be able to change the course of actions and big data probably could make this easier. Let say they scan their blood type, etc, then type in the condition and wait for an answer from the computer for further actions...
Google Calendar is spamming millions of events with “Google Meet” links
It seems like the kind of thing that should just have a small informative pamphlet mailed to everyone in the country. It's a relatively cheap, straightforward way to inform everyone.
Yes! Bet he would ace whiteboard interviews too.
Your organs could go to a violent criminal who uses their new lease on life to threaten others': https://www.cnn.com/2015/04/01/us/anthony-stokes-heart-trans...
I guess the bit I'm missing is why the miracle sudoku (the two I can find) are special. As far as I can tell, they don't require any intuition at all, you just sit down and work through the rules that are right in front of you. Surely they're much easier than normal sudoku because of the extra rules? Are they noteworthy because of the construction of the puzzle, rather than the solving of it?
Why is it left to guesswork? Plenty of places make it opt-in but present the option regularly. Every time I renew my drivers license there is a clearly marked checkbox for opting-in to organ donation.
It loads everything from the data sources (presumably pushing as much down to the underlying database) and then does sql in ram. Pretty much the definition of map reduce. Federated sql wouldn’t give speed up across a single database but presto does.
They might be needed in the after life :-). Jokes aside I think individuals should have a right to do what they want with their organs. Even posthumously...
> just like the TSA opt out, you will be basically shamed into compliance.

How? TSA security checks happen in public. Opting out of this involves ticking a box on a form and it remains private (I assume).
That system metrics section is great. If more places which have status pages had that section, I would complain a lot less about their failure to update the status in a timely fashion. Case in point: the current status shows as green, but the system metrics tell you that something is indeed wrong right now since the request rate dropped sharply by ~90% at the same time that the error rate spiked from near zero to not zero (a y axis would be nice but it's understandable if the business doesn't want to disclose specific numbers, and the chart is still somewhat useful even without numbers).

The folks who make the AWS status pages could learn something from this.
I’m an opt-in donor, always have been. And I think this change is good, albeit poorly communicated.

Some ammunition for those who disagree - organlegging!

http://www.technovelgy.com/ct/content.asp?Bnum=337
Another use-case for USB is to access crypto tokens. There are USB devices which store private key and allow to perform crypto operations. It's much safer than storing private key in file system. Using those keys in website is a useful feature.
In fact there is a negative correlation. To speak as a press reporter would say: "The harsher the lockdown the more deaths"
It could be the other way round, but you can twist it both ways.
It could've been my setup, to be honest I had just finished fixing all the pseudo classes and was kind of frustrated and decided to just switch to png after I couldn't figure it out in 5 minutes hahaha

But whatever the case is, Safari definately does not support webp and special exceptions need to be made to support this edge case.
I'm not aware that a medical procedure is opt-out, I always assumed it was voluntary.

Unlike this state mandated organ seizure, if you haven't heard the news and opt-out of yet another thing.
Ada had them before Haskell, and I'm not even sure it was the first language with them.
An overview of available graphical programming software tools
An interesting idea; it could be extended to other constructs - assignments, method calls... Also, imagine having something like this:

while (!return? foo) {
foo = get_foo();
}
Why is this on the front page of a tech news aggregator? Sure, everyone has an opinion on this, but why _here_ instead of some subreddit? (and then making it to reddit front page, which is topic-agnostic)
Seems reasonable to me. If organ donation is valuable enough to a society to justify infringing upon an individuals rights to collect those organs, then society can at least offer some level of compensation.

If a society no longer believes it requires the willing consent of the individual to engage in these kinds of actions.....well that opens up a few other problems.
They do!
In my opinion Tiktok is a viable replacement for Instagram, a platform that generates on the order of 10B USD revenue a year. They both have pub/sub models where you can follow topics or celebrities or content creators you care about. Instagram is more photo focused and Tiktok is more video focused. The video first format is arguably higher fidelity/more compelling for content consumers.

Yes, people jump from platform to platform. Instagram will not be king forever, but it will be generating massive amounts of money both on the upswing and the downswing.
> From the looks of it it's a package manager that I should be able to use it on any POSIX system, but I doubt that's the case?

No, that's basically true. It's fully supported on Linux and Darwin, assorted BSD support is underdeveloped but in scope.
Opt-outs are the new insidious way to impose the state/collectivist views on the individual without permission. Opt outs are a problem because not everyone may be aware of the need to opt out, and it requires additional attention and effort. The default state, without requiring any additional action from an individual, must respect individual consent and bodily autonomy - which means that no one has a right to your body or your property unless you've granted it explicitly. An opt-out situation is not that, and it doesn't matter even if a majority of constituents would prefer an opt-out model.

Moreover, the linked website's claim of universal religious support for organ donation is very suspicious. It relies on opinionated interpretation of religious texts and cherry picked quotes of support from random individuals that they've propped up as authoritative representatives of religions, when that is not really the case in reality. Religious ritualistic practices and interpretations of texts vary and there will be many for whom this permissive assumption of the state's right to an individual's organs will be a violation of their beliefs.
Did it ever make the front-page of a paper that you could opt-in? Why was that not a scandal?
> There's an opt-out.

That was the spammer's excuse 10 years ago.
If you want change, take action in a way that will matter. Withholding an organ donation in a way that will never be visible to the people at the relevant time isn't it.

So some poor sap who needs an organ is gonna get fucked because your "principled" stance against "the system" will keep you from donating?

You think they'd have a problem with your estate getting money? You think that marginal additional expense would cause them to be like "welp, better just die then."

I wouldn't oppose this "compensate the estate of the donor" idea at all, but to refuse to save lives as a result is insanity, especially because your refusal, and some posts about it on the internet, will amount to 0.
Organs are worth a lot of money. The wrong incentives may mean you end up pronounced dead when you could’ve lived because someone is collecting a fat check for your organs.
The tendency of young people to jump from platform to platform is partially an illusion caused by the fact they don’t remain young. You see this especially in dating sites — people used to think OkCupid could never make money because it was dominated by 18-to-25-year-olds. Now it’s mostly people in their 30’s, and the prior king of 30-somethings, Match.com, is for people over 40. The same thing happened with Tinder, PlentyOfFish, etc.

TikTok isn’t a dating site, but it’s certainly “flirty”. It has specific appeal to socially active teenagers and nearly all of the content shows off suitability for dating: looks, dancing, fashion, wit, etc. I could imagine adding paywalls to men contacting desirable women, or of course just padding the feeds of less valuable users with ads.
Chrome allows to disable JavaScript by default and only allowing it on some websites. Probably privacy and security-conscious users use that feature.
This pretty snidely disregards how difficult it is to emigrate anywhere else with a similar standard of living. De facto you are stuck in the country of your birth, barring some extraordinary effort on your part over the course of months to years.
> People say it's a grave

The remains of the people that died on board are still there, so technically it is a grave.

For land or air-based accidents, the remains are easily gathered together and buried. Ships that sink are a little different. There’s even modern examples, like the ferry Estonia that sank in 1994, that has been declared a maritime grave and diving near the wreck is forbidden.
If a lockdown would make sense. As you see with the data, it didn't. Hygiene measures could be much more effective.
It's not about hoarding organs. If you are an exact match for some wealthy person on a transplant waitlist you might legitimately fear for your safety.
This should be a full time job at Reddit moderating the most popular subs. I think they should just quit this thankless job. Once the most popular subreddit’s are filled with hate content, the Reddit team will understand importance of these moderator jobs. Facebook is known to hire a bunch of moderators to keep its site clean and I think Reddit should too
Someone with an unlimited amount of money wouldn't be keeping an eye on emergency rooms if they desperately needed an organ. There are other places/organizations that will play ball.
Microsoft's recent involvement to open source is currently a bigger threat to OSX than it ever was to Linux.

Users who use Linux distros are content with their overall desktop experience in the absence of closed-source libraries such as DirectX, etc. They were never the target audience Microsoft gains from embracing because not many would have felt the incentive to do so. Especially considering their efforts to port and upstream changes to the kernel, lessening the allure. Albeit not that Microsoft is doing this out of the goodness of their hearts, they benefit from doing so.

Meanwhile, the Apple developer ecosystem has not made any significant strides. It has been a while since homebrew that OSX has gotten a useful developer tool, and ever since Lattner departed from both of his projects related to Swift (TF), it has slowly been losing traction.

Many Mac users choose OSX for the neat desktop experience Linux struggled to offer, and the *nix-like interface Microsoft had been missing. WSL and Microsoft's recent contributions to Linux has changed the Windows developer experience significantly, giving many previously hesitant Mac shops the nod.
That´s good learning by Microsoft: In the 1990s they "competed" against Netscape with the "free" web browser... it was shocking that they gave it for free, but in reality they were buying eyeballs.

Nowadays, they have seen that if they provide software as "open source", and not only "free", not only do they get eyeballs, they also get "feel good" points from the community, and I assume they use that to attract customers to their revenue streams (Azure I guess).
OneDrive is a client and api grafted on top of sharepoint. It's all sharepoint under the hood.

You also dont need to use OneDrive to sync SharePoint, you can use the File > Open menu to open in Word, Excel, PowerPoint to open files directly.
You type

nixos-rebuild switch

and it builds you an entire OS and drops you into it. It also makes the new OS the default on startup.

Because it's all purely declarative, your old OS is still there. If things go wrong then you can just pop back to it, either in the command line with:

nixos-rebuild switch --rollback

Or when you reboot, the previous 'generations' of your operating system show up in GRUB, so just choose an older one to boot.
> “My startup went out of business because i couldn’t find devs to work for 20K” is a statement that would rightfully get laughed at in here.

Company: We are absolute desperate to hire workers but we just can't find any, anywhere! What can we possibly do?

Job seeker: Have you considered raising wages to attract more applicants?

Company: Haha, you're joking right?
I've noticed many of the survey for cash sites use websockets to scan for running services on your machine
Personally I think its straight up evil
It's not coming as surprise though. Is it? If I recall correctly it was announced a while ago but only just coming into effect now.
I asked the .NET Core team this yesterday during one of the Build talks, appearently data records can be defined as either class or struct and take on the same heap/stack allocation semantics as a regular class or struct.

My understanding is that structs are not always a good choice depending on the size of the data contained within because they are put on the stack, so having an immutable class record does not necessarily overlap with the use cases for structs.

It seems like records are more of a syntactic sugar which gives you a number of pre-defined behaviours such as value comparison and immutability by default (vs. regular classes).
From their FAQ: "All major religions and belief systems are open to the principles of organ donation" ... "We've worked with faith leaders and communities to build trust, raise awareness, explore questions around organ and tissue donation, and discuss how organ donation can proceed in line with faith or beliefs."

From the sound of it, I'm not sure what more they could have done. Are there many people in England who disagree with all major religions on this point?
That would be either a criminal conspiracy to commit murder or an illegal organ trafficking ring, and nothing about your hypothetical secret ultra-rich criminal would be affected by default opt-in or opt-out organ donor status.
They're not yours when you're dead. It's no different from your estate. If you don't leave a will, the state decides what to do with what you leave behind.
I think you can make an argument that people should have the 'right' (is there such a thing as a right held by a nonliving person?) to make an informed choice about their organs but this is certainly an ambiguous situation as to whether or not that right should be given. I personally believe that it would be entirely acceptable if it were not a choice and your organs must be donated (as usable) on death.
Meet 90-year-old Hamako Mori, the world's oldest video game YouTuber
> I think they'll struggle the same way Snapchat struggles to convince people over 35 to use their app.

Have you used TikTok lately? It's overwhelmed with millennial/elder millennial and beyond. I don't see this as a problem for them and in fact I think people are jumping over to it in droves.
https://www.facebook.com/off-facebook-activity

https://www.facebook.com/help/2207256696182627

https://www.washingtonpost.com/technology/2020/01/28/off-fac...
Genuine question, would LXD be any better? I'm not an expert in containerization but I find it really interesting.

There are some blogs that talk about how to do this:
https://blog.simos.info/how-to-easily-run-graphics-accelerat...
> I remember being a little surprised websockets could violate the same origin policy. It was only a matter of time before that was going to be abused.

WebSockets don't have the Same Origin Policy like XMLHttpRequest does, yes, but they are required to tell the server they connect to what origin they came from, so the server can enforce whatever restrictions it likes.

WebSockets were also designed with preventing abuse in mind: note the protocol obfuscation and weird headers, which I think are there so you can't confuse non-WebSocket-aware servers and non-HTTP protocols.

However, as with XMLHttpRequest and other ways to do an HTTP request, it's not possible for the browser to know if a destination server speaks HTTP without trying to connect to it, and I guess that's why port scanning is possible.
Strawman. I would prefer opt-in.
Nope, not always. I had a bad psychedelic trip with complete ego loss, and it gave me a boatload of issues that I still haven't completely recovered from. I'm more afraid of death then I was before, and I've been dealing with a higher level of generalized anxiety as well. Psychedelics and ego loss aren't always a panacea.
And the guy you hold the door open for tomorrow could be just after murdering someone... bit of a stretch there
If you add a guard to your awk script to check the line number you can avoid using tail:

awk -F, 'NR > 2 {s+=$(NF)} END {print s}'
It really isn't: it's safe to assume they did, because full language mappings are not the job of a single person, and don't get accepted willy-nilly (unlike emoji). However, clerical errors are SUPER EASY, so it's safe to assume someone accidentally pasted something in the wrong database-presented-as-a-spreadsheet close enough to the time of official revision publication, and when that isn't caught, now it's official.
I'm honestly not sure. I would ask on the Phoenix [1] forums -- they're pretty active, including a lot of responses from Phoenix's creator, Chris Mccord.

[1] https://elixirforum.com/c/phoenix-forum
Art thieves and bad actors are gonna love this, now they won't have to worry about being held accountable anymore.

They should at least hide these threads from people not in the list, to act like group DMs: it would still allow bringing more people in the conversation if needed.
> send a few dumps to interested journalists

That wouldn't help if the cover-up is meant to block the daily trickle of bad news.
It was an associative array all along, PHP just hides that from you. The Array is such a quirky data structure, it takes int or string keys, but numeric string keys ("1", etc.) are silently converted to int. It's never a real array, the implementation under the hood is a hash table.
All of those things you listed do not deterministically kill you as soon as things go wrong. Plenty of people survive car crashes, shaving, eating too much or too little. Even people who accidentally choke on food survive in a lot of cases. Plus, people do those things in order to either live (eating) or to enhance their life experience (shaving, airplanes).

I am yet to hear of someone surviving after their heart or liver was removed for donation from their body. And I am also yet to hear of anyone donating their organs in hopes of enhancing their life experience.
But, following the GP's logic, just imagine how many lives could be saved if they didn't.
Soon Tiktok will be banned in the US by an act proposed by FB lobbyists.

Smart for them to hire an American CEO, though. But I still believe FB has more lobbyists.

Another possible outcome is they will be forced to sell TikTok to some holding companies in the US.
The Possible Role of Vitamin D in Suppressing Cytokine Storm in Covid-19
Cue dang's caution about Wolfram Derangement Syndrome

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
To see an interesting use -- check out https://www.tillerhq.com/. An entire business built on top of google sheets.

Unfortunately, i didn't care for it (I didn't like the way they handled splits or the import from amazon)
Yes, every time I've opted out with TSA (which I do most of the times I'm required to go through the full-body scanners in the US rather than the TSA Pre metal detector) I've been allowed to do so. It's often meant a long wait for an agent to become available, but I've never been refused.

I admit to being a white male US citizen who politely requests it using the words "I'd like to opt out" (rather than some vaguer objection) and then waits patiently, not someone who gets angry at the officers. The ground rules aren't the fault of the workers, only any individual bad behavior.
That seems like the kind of thing that would immediately run into confounding factors, such as the potential that people who have dangerous hobbies may be more likely to opt into organ donation because they're more aware of the possibility of death.
Organ donation is usually done from a living, but brain dead, person. There's no specific rush, the person can stay alive for a while.

They are killed (controversial word there...) in order to take the donation.

On a practical level, most donation comes from head injury patients, motorcycles in particular are known for providing a lot of such patients.

Hypoxia (drowning) also works (sometimes) if it's long enough to kill the brain, but not the rest of the body.

There aren't as many candidates for donation as you might think. There is a lot of research on how to donate from a someone with cardiac death - doing that would significantly increase the donor pool, while also removing a lot of the objections.
Libertarian paternalism. Where the default is set to be the most beneficial. Another example is you get a raise at work and instead of going into your pocket by default goes into your retirement. You still have the ability to change it. Nudge by Thaler and Sunstein talk about this and so does Daniel Kahneman in Thinking, Fast and Slow.

This mentality has actually helped other countries save more lives by default. While each person still retains the power to opt-out. And yes other countries have done this before the UK. US should do this too!
I don't think I have enough for a writeup; I was actually looking into how Dock manages spaces so I have a bunch of general information on the SkyLight/CoreGraphics API. In short Dock grabs trackpad events and creates "SLSTransactions" to animate the windows around, but if there's anything in particular you're curious about I can try to go look that up specifically.
I agree, and it's happened before. Very recently, the Prime Minister sent a letter to every household in the UK on the COVID-19 lockdown measures. [1] This would be less intensive, as it would go to all households in England, not the whole UK.

[1] https://www.gov.uk/government/publications/pm-letter-to-nati...
How is that stackoverflow answer good?

You lose everything about the scheduled jobs when your app crashes.

This doesn't even address the rampant memory leak issues that plague long running genservers.
notqmail.org is for long the defacto maintained version. They had this fixed long time ago.
If what you’re saying is true, then in a sense a lot of these apps are like the Seinfeld of the time. Eventually the season finale happens, and very few end up being a Simpsons (Facebook).

Profit while you can I guess.
Something has to be a crime in both Japan and the US for one to be extradited for that crime.
The phrase "population pyramid scheme" comes to mind.
You can't decide what to do post-humously, for obvious reasons. You can specify before you die though, that's the reason there's an opt-out.