skysight-inc/HackerNews huggingface dataset:
It's explained in more detail further down in that paragraph, I think the wording is fine.

The axis argument gives the index of the axis along which your summate, and which therefore disappears after summation.

There might be a confusion about whether "axis 0" is rows or columns? Its length is the number of rows, but it "points" along columns.

I prefer just calling them axis 0, 1, 2, ... and avoid thinking about rows and columns in numpy, I've found that sometimes avoids confusion.
There will always be a level of risk greater than zero in life. Anytime you step outside, you’re exposed to so many different low probability threats.

If you are so risk averse, why not quarantine yourself indefinitely instead of forcing medical procedures on everyone else so that YOU can have free movement with a risk exposure that’s acceptable to you? It seems to me like you’re just as selfish as those you’re criticizing, since you want what’s best for your circumstances and values just like everyone else.

Between two different “selfish” perspectives, I would rather err on the side of bodily autonomy, privacy, and individual liberties.
The connection between open economies and harsh Covid measures is somehow lost on a lot of people. As a result, the se people are out and about for keeping everything open, Covid is spreading and the economy has to be closed down (at least parts of it anyway). Which prompts more "open up" activism, and the cycle starts again.
The minister of health, Mr Illa, is not a doctor or anything like that. He has a degree on philosophy and is originally part of a party which wants to break up and harm Spain. He’s there because of quotas: the head of government is a psychopath who had to give positions of power to people of other parties so they would allow him to form government thus making him president.
I'm fine with Julia's use of unicode for math symbols in general.

The strange ascii characters I'm speaking of here are used to annotate block boundaries in pluto's generated code, they are literally in # comments so they could have used anything.

I think they are the old school ascii box drawing characters. They might live in a separate unicode era these days.
The DS was way better IMHO. I got overhyped on the GBA because of how it was marketed as a pocket SNES. Only two face buttons and the shitty sounding music were a big disappointment to me. The games did look nice, whenever it was possible to see them.
"You should be thankful for having to move despite really not wanting to, because some other people have been completely screwed" is an abusive logic tho.
This goes for many many things. Most products are produced and marketed for the general consumer. It‘s time-consuming and frustrating to sort through all that marketing crap when you‘re looking for a new device/product/part when you know what you want.
Doubt any games I play on stadia I'll want to play anymore than the crummy tv shows I watch on netflix in 10 years. There's very few games worth playing after that long. Actually to me, there are 0 games worth playing. At that point the competitive scene is so good I'd rather just watch it as a sport. (Brood War, CS, Dota)
You do realise that this can be repeated right back at you? Your concern for the health and safety of your family does not trump my concern for the health and safety of my family.

Unfortunately for you, doing nothing is always a morally acceptable option in case of conflict.

Unfortunately for me, that won't matter. We've already forfeited so much power to the government that they can and will do whatever they like. And you'll be cheering on the sidelines.
I've been doing something similar.

Basically adding a alias to my zshrc, that runs: `git --git-dir=$HOME/dotfiles --work-tree=$HOME`.

And then set status.showUntrackedFiles to no.

See: https://github.com/sp1ritCS/dotfiles

I've got this idea from the following blogpost: https://news.opensuse.org/2020/03/27/Manage-dotfiles-with-Gi...
In America records are pretty much decentralized. If you switched to another dentist, you'd have to get the records from your old one. Same for regular doctors. Usually there's a release to fill out. And not even digital depending on where, some still use paper and pen and a folder.

I think some states started doing vaccine registers for schools and stuff. But if not and say you lose your proof and needed it for say going to another school or college, your option is to get a test if your immune, get it again or an exemption depending on the state... Like California only allows medical, while some states allow religious or personal exemptions.
Having been part of demoscene and still having a feet in game dev scene, dogma is exactly the right word to describe it.

Game development appears to only move forward when some console or OS vendor steps in that asserts "this is how we are going to do it now".

It happened when moving from Assembly into high level languages, adopting C++ despite all its bloat (vs C/Pascal/Modula-2) thanks Watcom, PS SDK and DirectX, Objective-C/Swift (thanks Apple), C# (thanks Unity, Managed DX, XNA/WP 7,...).

If one of the big names in consoles would release a WebGL/WebAssembly based games console, with a couple of first party titles that would show its potential, Mario or whatever, we would see a couple of studios running to get a place on their store.
Yes. The pandemic has far from peaked and the plans and projections are overly optimistic.
In Soviet times, the totalitarian rule of Stalin had a lot of trouble with regulating the lives of rural farmers. In the end they gave up and the farmers just kept observing their seasonal work schedules, banned holidays, and days of worship.

Honestly I can see the merit of keeping medical records for public health reasons, but no one can deny that governments and corporations are corrupt. Rural Americans enjoy a lot of freedoms, but they also cannot access many of the higher paying jobs. The internet has changed this.

Cities are definitely ground zero for totalitarian measures. Is this totalitarian? It's invasive, but it's under the pretense of public health. Where do we draw the line?

I appreciate that the users on this forum approach the crisis with a critical lens rather than blindly following liberal/conservative party lines. I don't think there are many people who are against the idea of preventing disease.

There should be synthesis between those who are concerned for public health and those who are concerned with losing their previously held rights as human beings. Instead we have blind political partisanship over a public health issue that should not be partisan.

EDIT:

Alright it seems this opinion is really unpopular. I can't even downvote other users, but I'd prefer to hear a critical response rather than a knee-jerk reaction. I support public health and vaccines. I support the right to worship, work, and travel freely. I am not religious, out of work, nor do I plan on traveling anytime soon. Why can't we have both?

I would sincerely like to hear a good argument for closing and actively policing houses of worship yet allowing the patronage of major retailers. This is the situation in the USA, and it worked similarly in the USSR.
Virality and Chaos
A friend of mine actually lived in a place like this in Japan for a while - shoebox room, and then generous communal areas for cooking / living. It sounded like a great idea to me, and when I moved to London I tried to find somewhere similar.

There were a couple of places in this space when I was looking but I didn't go with them for a few reasons:
- cost was high
- contractual terms were long (6-12mo minimum)
- reviews were mixed, but the general vibe was a "tragedy of the commons" type situation
- location / transit links didn't appear great

I ended up boarding with an older couple for a while before finding a more traditional share house with other young professionals.

If I'd been able to try it out with a 1/2 month minimum I would've looked past the other issues to give it a chance, it seemed like it could've a great way to accelerate finding your feet in a new country/city
The average age of people who died of COVID in Spain is 86. Eighty fucking six.
Point taken and I will reconsider the choice of the unit. By the way, I got curious about how various tools deal with the KiB vs. kB vs. KB situation.

On macOS Catalina 10.15.7:

$ head -c 92160 /dev/urandom > foo

$ ls -l foo
-rw-r--r-- 1 susam staff 92160 Dec 29 15:04 foo

$ ls -lh foo
-rw-r--r-- 1 susam staff 90K Dec 29 15:04 foo

On Debian GNU/Linux 10.6 (buster):

$ head -c 92160 /dev/urandom > foo

$ ls -l foo
-rw-r--r-- 1 susam susam 92160 Dec 29 09:35 foo

$ ls -lh foo
-rw-r--r-- 1 susam susam 90K Dec 29 09:35 foo

$ ls -lh --si foo
-rw-r--r-- 1 susam susam 93k Dec 29 09:35 foo

$ sudo cp foo /var/www/html/foo

$ wget http://127.0.0.1/foo -O /dev/null
--2020-12-29 09:41:05-- http://127.0.0.1/foo
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 92160 (90K) [application/octet-stream]
Saving to: '/dev/null'

/dev/null 100%[===================>] 90.00K --.-KB/s in 0s

2020-12-29 09:41:05 (845 MB/s) - '/dev/null' saved [92160/92160]

This 90 kB (92 KiB) is also hosted temporarily at http://172.105.48.21/foo . When Firefox downloads it shows 90 KB in the Developer Tools > Network tab as well as in the download box [1]. However, after the file is downloaded, macOS Finder shows the file to be of 92 KB [2].

[1] https://i.imgur.com/Y0q5anu.png

[2] https://i.imgur.com/muZKcZa.png
Actually, I'm a developer from the second camp:

I am a hacker. I make hardware dance to my tune.

Why? First of all I enjoy doing things. Understanding the computer, the compiler, how to make use of it more, how to extract more performance from my code while being absolutely correct is making me extremely happy. I feel accomplished. I also apply this knowledge in some scientific applications so, they're not all lost.

OTOH, I don't throw eggs to other so-called tribes or the mercenaries, because We're humans and we're different. We have different reasons. I live in this stuff since C64. Not everyone has to. Some likes poetry, others don't. Some listen to classical, others listen to death metal, rap, whatever. I don't expect everyone to like, understand or endorse what I do. The correct baseline is we're expressing ourselves here, including the mercenaries.

So, as long as you don't throw eggs at me, we're friends. I'd gladly help you with my knowledge and more importantly, I want to learn from you to broaden my horizon and augment my ideas with yours to try, see and do new things.

Tribalism is not inherently bad, the quiet war and fetishization of these tribes are the toxic parts of it. Similarly, being passionate about programming sans the zealotism is not harmful IMHO.

These camps provide a nice foundation and philosophy when used correctly. OTOH, I agree that this is a double edged sword and very sharp one indeed.

Why not discuss further?
Map is ES6. Everyone had implemented it by late 2014. (Even IE11 has it.)

https://caniuse.com/mdn-javascript_builtins_map
Programming, and functional programming in particular, has changed a _lot_ in C++ since 2012:

* Important libraries have been developed (e.g. Niebler's ranges)

* The community has gotten used to C++11 constructs and getting the most out of them

* The language itself has evolved, with 3 new standard revisions in 2014, 2017 and 2020; the latter change is actually pretty significant and we're only starting to observe its effect.

So, even before reading this piece, you must realize it is quite outdated.
What I love about this story is that this is the tension of politics in a nutshell. What has happened here is what people would term "state capture", where someone uses the state to gain an advantage. Probably though, the solution is to not _completely_ demolish any standard of pasta and let the market solely decide, because we've seen what happens in a variety of other unregulated industries. However, I won't make my stand on any solution here: I'm more of a polenta person honestly.

It's a true problem that requires nuance, or lacking that, constant vigilance to make sure the system works for everyone. I'm realizing more and more that there will never be a political promised land, a polity will always have to perform the maintenance of their system, and every generation will have to actively work to bend their systems toward justice.
Without an atmosphere to burn them up, even the tiniest microasteroids can cause catastrophic damage due to their velocity and these events are very common on the surface of the moon. It might need less material support the weight but a hell of a lot more material to shield any mirrors/dishes and electronics from certain damage.
A virus is a separate agent from the people you allege are committing manslaughter. A virus is a background condition, like a weather event. An asymptomatic human shouldn’t be considered the agent committing a crime in your scenario, because they’re under no obligation to make changes to THEIR body to make YOU comfortable with a background environmental condition.
What a fear driven, nonsensical statement to make. Firstly the person who died would have had to not have taken the vaccine also; otherwise wouldn't they be immune to the serious side effects? Secondly, it's not even known if the vaccine prevents you getting the virus and transmitting it. Thus even vaccinated people could still transmit it.
regardless of whether or not you are correct in your assertion (i didn't think the declaration of human rights had such a Chinese interpretation to it..), i guess if OP wants to move to the countryside - in somewhat isolation - the pair of you would be satisfied.
Targeted Ransomware Attacks in 2020
Best unboxing ever.
> So the big win with functional programming is easier testibility and fewer hazards when trying to multi-thread your code.

To give you my experience: during my phd, I developed https://ossia.io in C++. For the manuscript redaction, I rewrote all the core algorithms in pure functional OCaml. When I did some tests, performance was slower than -O0 C++ (so it's not even a given that multithreaded OCaml would outperform single-thread C++), the tests weren't meaningfully simpler to write, and it would be pretty much impossible to have an average comp. sci. student contribute to the code.

My experience multi-threading C++ code is, "slap cpp-taskflow, TBB, RaftLib" or any kind of threaded task system and enjoy arbitrary scaling. Hardly the pain it is made to be unless you have a need to go down to std::thread level, but even then using something like https://github.com/cameron314/concurrentqueue to communicate between threads makes things extremely painless.
You are talking about so called (negative) externalities. Pricing these costs in to the price of a product or service can incentivize less harmful behaviour. This is the idea behind having a carbon tax to help with climate change.

https://en.wikipedia.org/wiki/Externality
Gell-Mann Amnesia, as described by Michael Crichton:

“Briefly stated, the Gell-Mann Amnesia effect is as follows. You open the newspaper to an article on some subject you know well. In Murray's case, physics. In mine, show business. You read the article and see the journalist has absolutely no understanding of either the facts or the issues. Often, the article is so wrong it actually presents the story backward—reversing cause and effect. I call these the "wet streets cause rain" stories. Paper's full of them. In any case, you read with exasperation or amusement the multiple errors in a story, and then turn the page to national or international affairs, and read as if the rest of the newspaper was somehow more accurate about Palestine than the baloney you just read. You turn the page, and forget what you know.”
And still the majority is pro-vacination. And pro lockdowns. German politicians are way to worried about an extremely loud, and arguably dangerous, minority. That is part of the reason why we missed our opportunity to prevent a third wave right for Christmas by locking down earlier in November. Seems our politicians didn't learn a thing.

We should just ignore those Querdenker and anti-vaxxers, enforce sanitary rules on their gatherings and do everything we can to defeat Covid. Otherwise this thing will become a bigger and bigger mess.
Has the vaccine been shown to prevent transmission?
With the Sony Clie PDA came a software disc, and it was in a slim ‘jewel’-case box that had the cd tray slide out from the side—and not slide out entirely but hold at the last inch or so. The box was made entirely from cardboard, except for the standard plastic piece that held the disc by the center hole. That's when I knew the Japanese take their origami seriously.
Yes, but they killed someone who was willing to kill. It could be argued it was self defense.
That's what VMs are for.
> - Alternative keyboard layouts: Why must a $6K laptop for professionals (or gamers!) do idiotic things such as compress the arrow keys or hide the Ins/Del/PgUp/PgDn keys? Why can't I choose the keyboard layout?

This is actually a fantastic point! Some models of Dell/HP/Lenovo have easily removed keyboards by design in order to install additional RAM/service parts etc. All they have keeping them connected other than some sliding plastic tabs is the ribbon cable. I can't believe no one has ever made drop in replacements either from the manufacturer or as aftermarket parts. Having Ctrl/Alt/Super/Fn keys in a dozen different configurations due to different vendors makes switching between different devices a huge pain.

Imagine if you could even get customised switches on your laptop!
The fact that the Map class doesn't have a map() method, is however extremely unfortunate. The number of times I've been backed into a corner where I have to convert a Map to an Array of (key, value) pairs, just so that some other API could map() over it's contents...
That was awesome. Security is often an afterthought for many companies. Anyway, it's good that they fixed it in the end.
That presumes you're putting the data in cold storage somewhere. For data that's being kept accessible, the reliability of a hard drive doesn't matter. It's transferred from RAID to RAID over time. And spy data is probably in warm storage.
> in imperative programming, a subroutine with side effects is idempotent if the system state remains the same after one or several calls

https://en.wikipedia.org/wiki/Idempotence#Computer_science_m...
> Are Apple thugs coming to your house destroying non-Apple tech? Of course not!

Reminds me of http://www.sandraandwoo.com/2016/06/09/0793-an-offer-you-can...
There is a standard for this which most vendors actually used to support: XMPP federation.

Not surprisingly most vendors also dropped support for this merely in favor of lock-in.
What about pro-vaxers who would like to see a vaccine go through the usual testing process to determine if there are any long-term side effects. Are you going to lump them in your anti-vaxer box also?
Launching My New Book
>>" I wonder if say 1-2kg nuke would be enough to throw all the debris out of orbit..."

I don't get it. Can you blow something only in one direction?
The iMac G3 had plenty of hard edges. You couldn't see them because they were all on the bottom of the carrying handle, aka the side that you actually hold it from.
Personally I would rather take an antibody test instead of the vaccine. I would like to wait before I get the vaccine.
Hey folks,

European chiming in here. If you are serious about bucatini, shoot me a DM and we can discuss importing that precious golden Ambrosia into the US of A, maybe declared as 'alimentary paste', drinking straw - or even use 'the Mexican route' to import it, if you know what I mean.

I have to go now, my pasta is ready.
Ask HN: Any Custom Designs for Squarespace?
On mcdonalds, the only damage is to oneself (not others) so should be fine.

On carbon/pollution is much harder to show a direct cause and effect between one’s actions and harm done to another individual. But it seems logical to me that i
when/if zero-carbon were to become a serious thing there should be some kind of enforcement framework around it (like smog inspections we have right now but hopefully more effective...)
Deaths are irrelevant to my point. It’s about hospitalisations.
Seems Facebook decided to screw with PrestoSQL by abusing trademark law and Linux Foundation is helping.

Not unexpected of Facebook (they are 100 % rotten and evil company) byt I thought Linux Foundation was better than this.
This has nothing to do with the socialist party. This is the way Spain works and as a right-winger I don't see anything wrong with it.

It's more like a different way of thinking rather than a left-right ideology.
What is Teleport Component in Vue.js 3?
The way I think about it is: as you change the 0th index you move up and down the column. Same with the 1st index and the row. That's how I remember it anyway!
Denmark does the same, adding the COVID-19 vaccine to the existing register of which vaccines people have received. The registry was used last year to remind parents to get their children vaccinated, when it turned out that most of those who hadn't gotten their children vaccinated wasn't against the vaccination program, their simply forgot.

It's also used to remind the elderly that their are entitled to free flu-shots.

Previously I wouldn't have been worried. I've always trusted our various governments to not misuse health records. With the current government I'm not so sure. The prime minister is enjoying record support, and it's not that I believe a different government would have done better, it's just the handling is down right creepy. Hoarding of power, bulldozing critics and make last minute half-assessed decisions all while the public is cheering them on.

The current attitude is that the COVID-19 vaccine is going to be 100% voluntary, but I also fear that is will only be in principle. If it's as you say required for border crossing, transport and so on, it's not really voluntary.

Danish experts have warned against forcing the vaccine on people could turn them against not only the COVID-19 vaccine, but the entire vaccination program in general.

Personally I think we should wait an see how many opt to not get the vaccine before dreaming up restrictions.
> What if we later find out that the first generations of the vaccines came with a whole bunch of delayed-action side effects?

What if you killed my mom because you were more worried about theoretical side effects than the very real lethal direct effects that are currently taking lives?
RAII was already available in C++ARM.

I was happily taking advantage of it in Turbo C++ 1.0 for MS-DOS.
Agreed. Murakami introduces all sorts of weird / surrealistic / magical elements into stories, but there's rarely if ever any attempt to explain them. They're just part of the fabric of the story.

Magic realism is kind of weird genre. Sort of "in between" in that "magic shit happens, but in our ordinary world, not a world where magic shit happens". That is, magic happens, but not in a Harry Potter'ish or Tolkein'ish world where magic is explicitly part of the world.

All of that said, I love Murakami. Need to finish reading the rest of his novels one of these days.
What is my transmission rate? Now add the fact that I leave the house once or twice per like half a year. I do not want the vaccine, but at the same time I doubt I am going to transmit to anyone. Frankly, if I did not get it from my positive family member with whom I live, then there is no way I am going to transmit it to others.
Ref vs. Reactive – Vue 3 Composition API – Vue.js 3 Tutorial
Pasta, pastry, paste, pasty. All related words. The French for pastry is pâte. Pâté means "pasted" as in "pasted fish".

The French aliment simply means food, although it's not spoken very often in France. The word exists in English but it's quite rare and normally used in legal contexts like so many other words of French origin.
Wikipedia includes a picture of all three:

https://upload.wikimedia.org/wikipedia/commons/8/85/IMac_G4_...

The 20" definitely looks the least balanced (aesthetically).