skysight-inc/HackerNews huggingface dataset:
Masks to work (and to be worthwhile) don't particularly have to stop you from getting infected what the homemade versions are good for is stopping you from infecting others by confining, redirecting and slowing your breath as you breath out. It limits the volume that the breath spreads into and the first surface any droplets will hit will be the mask potentially capturing it.
> > That is unlikely to happen in PowerShell because the structured data is .Net objects.
> Isn't that an implementation detail?

Arguably, but I don't think so. They stopped writing a language spec at version 3, but the spec which exists[1] says on page 1 "Windows PowerShell is built on top of the .NET Framework common language runtime (CLR) and the .NET Framework, and accepts and returns .NET Framework objects." so that's in the spec. Either way, there is only one PowerShell implementation to speak of so if you want GNU utilities to emit structured objects to PowerShell without going through the serialization to JSON/CSV step that you want to avoid, you will practically have to add interprocess communication into the running process of a managed language and emit .Net objects, and that will be a difficult push.

If you built an implicit decode-from-JSON step into running native cli commands, as Invoke-WebRequest has for talking to REST APIs, you could get more convenient syntax but they will forever be second-class citizens. They won't follow the Get-/Set- verb naming scheme, they won't be built to take pipeline input or handle command line parameters in the same way, they will be limited to only output which can be serialized to text.

By the time you've updated `ls` to read [System.IO.DirectoryInfo] through stdin, detect if it's running inside PowerShell and return serialized [System.IO.FileInfo] output to stdout, and rewritten PowerShell to auto-convert output like this to objects, you may as well have used Get-ChildItem instead.

> I don't think that a set of patches that adds a new output format will be that problematic.

See https://news.ycombinator.com/item?id=12319670 / https://github.com/PowerShell/PowerShell/pull/1901 for the kind of hassle that just being microsoft near Linux causes. Unilaterally patching coreutils for Microsoft-specific behaviour will have an apoplectic body count associated with it, I reckon.

[1] https://www.microsoft.com/en-us/download/details.aspx?id=363...
SHL/SAL/SHR/SAR (the shifts) affect the condition codes so one could check for overflow (or use it as part of multibyte arithmetic) while LEA does not affect the conditions code (so overflow goes undetected). It's something else to keep in mind.
Buying Phone Numbers and Pointing Them to Your Sip/SMPP Network Programmatically
Consuming less goods and services doesn't sound as bad as drinking poisonous water and breathing toxic air.

I think our children will experience both scenarios anyway (they already do in poorer countries).
The Snap team has some experience with this, seeing as how 20.04 has released and you still can't move the fricking ~/snap folder. Creating some generically named top-level folder in the users home directory is a straightforward fuck you to all users.

Since 2017: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575053
> give the engineers ownership in the same way management has ownership, and trust them to make decisions that are in the interest of the business.

that's crazy talk ;-)
> The cool thing about Linux (Fedora or whatever else!) is that it's the operating system that belongs to us, the people. That's amazing

100% agree. I would love to have a solid desktop experience in linux where everything just works without having to spend a week configuring drivers and other crap just so I can be productive. But, it is what it is. Others have said they had issues with drivers on Windows 10, so clearly there are downsides to both.
Ending fossil fuel consumption is at least somewhat relevant to the stated problem...but reconfiguring economic systems? The Greeks couldn't construct a better horse than that.
Bug leaves iPhones vulnerable to hackers stealing email contents
I always had problems with both of them. I use Docker a lot and Flatpak/Snap are intended to be a type of Docker for desktop apps. I know with Flatpak it has some shims to integrate with your system UI libraries so themes try to match up, but there are issues with that too (and flatpak apps just not starting up half the time).

I really hate Snap/Flatpak conceptually. Use the package manager. That's what it's there for. FPM is a way to make package building easier.

Snap/Flat tools feel like they're about the same as Electron cancer; and I bet we'll see more closed source commercial stuff pushed to the Linux world via them as well.
Stingle Photos secure cloud storage app
Trump owes tens of millions to the Bank of China – and the loan is due soon
But how can I dehumanize and dismiss them if I do that??
My guess is that Amazon has plenty of experience hiring tons of warehouse workers for the Christmas shopping season.
Stingle Photos is a secure photo/video encryption and backup application that is safe, easy to use and ad-free. It provides strong security, privacy, encryption and safely saves your media on cloud storage keeping you safe from data breaches and leaks.
I was not arguing the people writing code should perform strength reductions manually, I was explaining what they were and then stating that even ancient compilers do them automatically. While I did not explicitly state it, the logical follow on is that programmers should almost never explicitly strength reduce in their code, they should write the semantically clear version and let the compiler handle it for them.

You are correct, that on modern CPUs there are often specifically recognized idioms where the processor can implicitly perform an instruction transform such as a strength reduction from a multiply to a shift.

Having said that, it still makes sense a compiler to perform strength reductions rather than depending on the CPU frontend, at least if your compiler has a relatively decent scheduling model for the CPU. I don't know of any modern production quality compiler that would omit a simple strength reduction like this and leave it to the CPU.
The most annoying thing I've run into while working remote is that whenever I have an unproductive day due to random interruptions or little things that aren't tracked in JIRA, to my boss it just looks like I haven't been working all day.

But when I was at the office, sitting in my chair, he could see that I was working hard even if the stories weren't getting completed.

I haven't figured out how to solve this, other than by spending a lot more time and effort documenting the numerous little things that cause distractions and exposing that in my daily status updates. I can tell that it's still not as convincing to him though.

So I often end up finding myself working late in the evenings just to finish the actual work that was scheduled to be done that day, even though I've already spent 8 hours dealing with random issues and helping other team mates with things.

I need to find a solution soon before I completely burn out.
But their debt might devaluate?
Languages with FP interfaces usually do these kind of operations lazily. Rust and Clojure come to mind.
Ah ok I understand now. Sibling comments reference the MacOS Library and *NIX ~/.local approaches. Both of those seem to make a lot more sense. Is there a config for Snaps to store user data in a different path, like ~/.local/snap/?
The JVM can trivially inline virtual function calls and lambdas. However, it will add a sanity check that the function/lambda you're executing matches the inlined section and if not will use an indirect jump or call as a fallback.
Would you like to be driving the car when it veers off the road, or in the passenger seat. Passively waiting for the disruption of climate change to ravage normalcy, is probably going to be worst then trying to dealing with it aggressively. The equity of disruption will be extreme in the passive case.
The New Deal has such a ridiculous glorified position in the view of the left. Of course it was a total failure and thankfully rules unconstitutional. The US had the deepest Great Depression, deeper then countries that didn't do a 'New Deal'.

You can pin-point the start of the recovery to the leaving of the gold standard (literally in the month by month producing you see it jumping). It was actually the New Deal that stopped the bounce back.

The politicians behind the new deal saw the Great Depression as an opportunity for social revolution, not as an economic recovery program. It is no secret that many of the primary architects behind the New Deal were strongly inspired by early socialism and fascism.

Further I would say Noam Chomsky has absolutely zero credibly in any topic related to economics. He is a weirdo socialist and we could go down 3 levels deep of what type of socialist exactly he is, but needless to economics and political science would agree that his ideas are not practical. So why take a advice from him on this.

You don't need a 'New Deal' you need to apply your budget and countries strategy with the long run goals you have and make good investments. The New Deal was the exact opposite, it was the embodiment of 'lets throw shit on the wall and hope for the best' often doing massive damage in the process. Mass slaughtering of pigs and destruction of other foods being the most absurd examples of such idiocy. The Blue Eagle program might be the worst regulation ever passed in American history. The list goes on.

Depending on what exactly you want to achieve, their are far, far better solutions then having the government bureaucrats blow billions of 100s of billions on politicians pet projects. Its totally contrary to how good government contract is done.

Just as with the original New Deal this Green New Deal is not about achieving results. Its is about achieving social and governmental revolution along the principles that the authors believe in.
What do you mean, no need? The US government did this.

IIUC Tumblr and Craigs have similar problems as a result.

Video games are somewhat different, it's not a situation of a platform with user-generated content.
Miami-Dade has tens of thousands of missed coronavirus infections
Are you suggesting that reconfiguring our economic system is more feasible than introducing a new redistributive welfare transfer on top of the existing economic system?

Keep in mind that we already have a negative income tax in the US: the Earned Income Tax Credit. We're really just talking about expanding that.
There's no question which order to perform the map and select in the given example, there's no decision to make. You can't do the select until after the map because you're selecting based on the results of the map. If it weren't ruby, it would be obvious by the types in a language with a static type system.

Of course the same is true in the for-loop example. But overall, there are more things to specify in the for-loop:

let car_ids = [];
for (let i = 1; i <= 5; i++) {
const car_id = `car-${i}`;
if (car_is_empty(car_id)) {
car_ids.push(car_id);
}
}
return car_ids;

Specify:

- storage location for result

- loop variable

- loop variable initial value

- terminating condition (is it < or <=?)

- increment

- temp variable for producing ids

- test condition for filtering

- how to add new item to result

return (1..5)
.map{|n| "car-#{n}"}
.select{|m| car_is_empty(m)}

Specify:

- min value of range

- max value of range (are ranges inclusive or exclusive?)

- how to generate id

- how to query

Now, this is a trivial example. I wouldn't argue that either way is clearly better than the other in this particular case. But, in my experience and opinion, the latter is much better as things become more complex.
I agree. The last Ubuntu release I actually liked was 12.04? After Unity I've been fighting Ubuntu ever since.

I'm seriously considering not taking the 20.04 LTS release and either using 18.04 until it's untenable or switching to something else.
One of the very annoying consequences of the Chromium move to snap on 20.04 is that it will silently fail to launch most external links (e.g. Slack, Zoom).

A workound is posted at https://bugs.launchpad.net/snapd/+bug/1776873/comments/29 (simple patch & recompile). May be worth making a PPA for the fixed snapd if we can't get the Canonical dev team to fix the core issue.
> That’s a bit rich: are they not the #1 consumer distro, which hardly implies they are failing to execute

All the hard work to make it a viable OS is done by Debian. Canonical just adds some polish and then wrecks it all with poor design decisions over and over again.
It may be worth checking out Pop!_Os, it will include flatpak, but it treats it as a fallback when a deb isn't available.
Providing a Rewarding Software Internship
Your list comprehension example is incorrect: car_is_empty() takes the id string, not number.
The general line of argument here is that the managers have spent time and effort as part of their professional development in order to understand the business, whereas the engineers have dedicated their time towards a more technical focus. This is reflected in how they spend their days - the manager spends time in meetings, whereas the engineer is spending time coding (very broad generalization)

Assuming that neither side is doing significant amounts of extracurricular work to bridge the gap, it therefore follows that management understands the business better, because that is explicitly the purpose of their job.

In a best case scenario, it makes sense to provide engineers etc. with the context to understand the decisions. On the flip side, business decisions are often made upon a huge heap of context that is generally invisible to the engineer (unless they spend an equal amount of time in building up their business knowledge, spending time in meetings, etc. - but at that point, they're basically a manager?)

It's not to say that engineers can't develop the background, etc. to make the decisions, but that it's not exactly part of the expected job functions, and not something that's explicitly looked for as part of the recruitment process. In a sense, this is a bit of a tautological issue.
Unrelated to Snap, but on Windows, trying to use the My Documents folder for your actual documents is frustrating, because a huge number of apps and games like to use the folder for all sorts of nonsense, instead of using %appdata% like they're supposed to.
OTOH when you are just walking in a middle of nowhere and someone passes by on a bike, if the wind flows in the right direction you can easily get their droplets in your face.

>Take your mask off when you're not around other people you don't live with.

Do you mean that you will automatically get infected if someone you live with does, so it's pointless? Or something else?
We played Pandemic with great success: the other couple had the game too, put all their cards face up so they could find them fast. We drew for everyone, they mirrored.

That avoids complexities of camera resolution, and lets you examine other players at a glance: important for a co-op game.

(Yeah, I deliberately bought Pandemic just as we entered isolation since I've always wanted it and obvious reasons).
This is basically wrong. This has been studied, they do work. They don't work nearly as well as proper PPE for personal protection, which tends to trip people up (especially, it must be noted, the libertarians here) when reasoning about them.

But controlling outbreaks is not about minimizing individual risk. By far the biggest effect of wearing a simple mask or face shield, and it's a very significant effect, is that it prevents contagious individuals from spewing droplets into the air around them.

It's not for you, basically. It's for everyone else. Wear a mask.
What I was missing for all cases was:
E: I would never do that.
Although viable offspring and stable communities are pretty natural choices for moral goods, a preference for the long term over the short term that predicates them is still a subjective decision.
Dan, when you keep saying things like 'HN is not for internet ragewar', manually moving the top comment because it's contentious, and saying users should know better, that's the prioritization of civility I'm talking about.

In terms of "prioritization of intellectual curiosity above all else" then you are just opening the door to disingenuous bait posts, glib hyper-pedantry, sealioning, and various other trolling tactics. Of course HN exists for intellectual curiosity, but if that's the only mode of operation then it can be gamed, and it is.

Search on 'guidelines' in this thread and you can see people using the 'good faith assumption/strongest possible interpretation' guidelines to bait others. You're arguing that bullshit is called out on HN all the time, but you shut down people doing so in anything other than polite terms.

Regarding that paper, I urge you to pay particular attention to the comparison of successful vs. unsuccessful defensive strategies, and the fact that successful ones are correlated with higher use of anger words. Your antipathy to flames is what the posters of flamebait rely on to deploy more and more of it. Even if you kick accounts that regularly post flamebait, there's little cost to creating a new one and resuming the practice.

Much like forests, the occasional fire can significantly improve the quality of the overall environment. If you suppress fires so diligently that brush is allowed to build up, then the result can be catastrophic. In this metaphor, the brush is bad-faith discussion and wilfully fallacious arguments.

I think you need to be a bit more hands-off about this and accept that a certain amount of conflict and aggression in fact contribute to sustainability. While that might deter some obscure-but-interesting posts like the one today, the fact is that they will be just as interesting on their merits if posted in a week or two after the news-of-the-day focus has moved elsewhere.
There is no evidence that getting infected with covid19 gives anyone immunity. There are already documented cases of People have been infected twice.

Herd immunity would be nice - but so far none of the known coronavirus infections grant immunity. Herd immunity cries will only kill innocent people.

Herd immunity is more a myth than a fact right now.
I mean, I'm really not comparing anything to the EU or European countries?

It's simply a fact. Total death counts in the US are still going up.

Once the quarantine is relaxed and things "open up", we WILL go through a second wave. That is by design of shelter in place.

Why the defensiveness on part of the US? With or without the above, it's response has been terrible. Why defend bad practices?
Article is in Dutch. You’ll want to use a translator, if you can’t read Dutch.
I have a 2019 xps 13 that was delivered with ubuntu which worked well. Recently I've switched to Arch and everything has worked as expected.

Not sure what specific problems you had, but installing the base, sway and firefox had touch scrolling, webcam, mic, hdpi and everything else I expect working, which seems like a win to me.

I'd prefer a librem with the same form factor and specs, but this is working without issues and that's a lot more than I can say for the HP elitebook I had to use at the last job.
Honestly, getting everybody to wear masks so they don't transmit the disease beats getting everybody to wear them right so they don't get it.

Even when doing everything right, the efficacy of the masks to stop people from getting the virus is too iffy to rely upon.
https://en.wikipedia.org/wiki/Mir_(software)#Controversy
This thread [0] is speculating it comes from a malicious advertisement. More reason to use an adblocker.

[0] https://old.reddit.com/r/cybersecurity/comments/g79s9q/activ...
The original New Deal was quite clearly designed for that as well. It was not about improving the economy, it was about chaining society and achieve political dominance.
The solution is to kick out the tenants/landlords who are concerned. Then they won't have to live near a medical worker, and everyone is happy.

Those medical workers have as much right to their place of shelter as anyone else.

This is a despicable form of NIMBYism. The people complaining expect medical professionals to save them, but don't want to treat them as equals.
Yes but I've found a lot of people don't seem to know what the word 'defragment" means.
Discovering Fastpages and the painful process of migrating from Medium
You went through way too much effort only to miss the point to which I replied (which was your own comment). I specifically mentioned that covid fatalities in the US appear to exceed that of the flu. That was my point. I said absolutely nothing about death rates.
With web APIs there are also a lot of things that happen, even when the API is used correctly.

The HTTP request can time out. The firewall of the user has blocked the request. The server might be turned of for maintenance. The server might have an expired certificate.
I don't agree with the intuition. Even in the worst projections, climate change will be somewhat gradual; we won't wake up one day to find all the corn in Iowa is dead. The day we expropriate the factories, as the author insists we must, will be pretty extreme.
I'm not talking about Planning Poker, per se.

I'm talking about the dickering about whether something is N points or N-2 points. Or whether the points even mean the same between two teams. Or whether it's appropriate to assign it to another team or individual who says a smaller number because they have a different definition of Done or are more or less invested in the long-term health of the project.

I'm going to ask this person or the question in this way because I'll get the answer I like, even if that answer is unhealthy or even pure fiction.
This is really great content and was super useful as I’m considering offers
US factory orders plunge 14.4% as economy grinds to halt
A Third Solution
It would be incredibly helpful to have tips for solving leetcode problems in a functional way. There seems to be a category of problems that are most conveniently/efficiently solved using mutation, though I'm personally not a fan.
Yeah. That is what winds me up the most about snap. It is so... obnoxious! Why can’t it be .snap?! Or even better, something xdg compliant?
I would go further in that many programmers don't understand the difference between logical and arithmetic operations and why they exist.

I have had to puzzle over far too much code doing adds/subtracts/multiplies/divides instead of and/or/xor/shift FAR too often.

I blame Java not having an unsigned type. There are apparently some weird tricks you can do with arithmetic in Java that operate on things like an unsigned type without having to go up to the next higher integer width.
> We need the iOS/Android model for permissions on desktop.

This model is terrible. OS asks up-front: program wants permissions to do A, B, C, X, Y, Z: grant/refuse? You the user decide that the program should not be allowed to do X, so you refuse. Now the program will not run at all.
That's about the worst design possible. A 10 year old can brainstorm a better design within a few minutes.

Investigate prior art:

man 7 apparmor
man 4 capsicum
man 2 pledge
"Working from home can make it feel like managers have less direct supervision over workers. But an always-on video-conference tool changes that by automatically snapping webcam pictures of employees every few minutes."

https://www.businessinsider.com/work-from-home-sneek-webcam-...