skysight-inc/HackerNews huggingface dataset:
But if you want better arrays you want operator overload to be able to use these arrays as 1st class citizens without having to use array_get(arr, 3), array_len(arr), array_concatenate(arr1, arr2) etc... You want to be able to write "arr[3]", "arr.len()", "arr1 += arr2" etc... To implement operator overload you might need to add the concept of references.

If you want your arrays type-safe you'll need dark macro magic (actually possible in the latest standards I think) or proper templates/generics.

If you really want to make your arrays convenient to use you'll want destructors and RAII.

Then you'd like to be able to conveniently search, sort and filter those arrays. That's clunky without lambdas.

And once you get all that, why not move semantics and...

Conversely if you don't want any of this what's wrong with:

struct my_array {
my_type_t *buf;
size_t len;
}

I don't think it's worth wasting time standardizing that, especially since I'd probably hardly ever use that since it doesn't really offer any obvious benefits and "size_t" is massively overkill in many situations.
Why answer when you can just downvote . . . ?
A perhaps more important downside to arrogance is that hubris leads to blindness. One can be so blinded by the light of one's own brilliance that one fails to see beyond it. Intellectual humility, therefore, is the recognition of our limitations and helps us remain open to new information.
Fair point. That said it's not nostalgia, Baker's article was about linear logic and that forth was naturally fit for this. Cue Rust borrowing and you see why it may be of interest (if baker was right of course).
Wow, why would they risk their brand like that. Seems silly.
A deterministic physical universe doesn't mean we don't have free will [video]
Ask HN: Can blockchain allow full privacy Covid-19 tracing?
The current plan for bluetooth covid-19 contact tracing sounds a little bit creepy to me(but better than nothing. They generally have two components:
1. A decentralized part storing on our devices (anonymously) who we’ve been in contact with
2. A state-run centralized system to contact people once someone had been infected

Sounds to me blockchain could allow the second part (and the whole system) to be more/fully decentralized, with more/total privacy…
What do you thing ?
This should be required reading for every person. I remember I thought I kind of understood the issue but the reading of this book opened my eyes to how important and fundamental the issue really is.
On the other hand, Sweden also took measures, they just weren't as extreme. The virus spread in Europe mainly through travel and large groups of people. Sweden has neither (also because no neighboring country would allow travel). They didn't impose a lock down but it's not like nothing happened in Sweden.
Because if they split up they would be easily overwhelmed from a concentrated charge from the other side and split apart and sent running, especially if they had any horsemen. And during a rout is when the majority of casualties would happen.

Also being in formation helps stop people from running. If all your guys are spread out in the woods, more than a few might take that chance to 'disappear' from the battle if not from the entire military. It is a lot harder to do that in a tight formation and you would easily get called out, or even potentially shot in the back, for deserting.
> The US is not a very densely populated country, and density seems to have the biggest impact on the spread of this thing.

You might be right, and I hope you are. But at least 'intuitively' my experience is that the more insular a community is, the more exposed those /within/ that community are because of frequent interaction.

So, basically, a big city is not very insular, but people spread the virus via public transit and whatnot.

A small, rural town is insular, but the locals interact much more than the city-folk. All it would take is one infected out-of-towner to trigger rapid spread locally.

I wouldn't be surprised if the problem that, for now, seems to be contained to liberal metropolises, will find their way into all sorts of rural communities because just one person passed it on. I hope I'm wrong.
Virus Outbreak: Chen Reveals Taiwan’s Email to WHO
Cops may be human, but they are still part of an inhuman organisation. Individual actions don't matter if everyone around you is terrible.
I think Ryzen 3 is coming this year, so it might be better to wait a bit.
It doesn’t seem like the best time to try to totally dismantle it.
The WD and Red brands turned worthless overnight. I used to buy these drives without thinking. Now what do I buy?
You are correct that I have an emotional reaction to death, but I was not intending to spew a bunch of hyperbole.

Society isn’t a numbers game, it’s a shared set of values, and I find it appalling that we seem to be favoring the economy over human life. We have enough resources to take care of both, but chose to bail out corporations instead of people.
At the end of the day, if a doctor is prescribing medication against clinical guidelines, surely the doctor is at fault? If a pharma warehouse is burgled then it's on the burglars.

Am I missing something regarding this case? Did they mislead doctors?

Edit: Downvotes to -4 with no engagement for asking a question. This place has gone downhill rapidly
Possibly your skill level isn’t talent + training but talent * training
I remember people screaming that it would be worse than 9/11 and Pearl Harbor two weeks ago. Still waiting on anything that level of sheer panic and pandemonium. Sadly I don't think anyone is going to be willing to admit they were wrong anytime soon.
Big Data Powered Personalized Dynamic Pricing
Neat, but I think it would have even more interesting to use church encoding for your numbers. It would have shown some of the wonderful inhabitants this seemingly simple structure can lead to :)

It really is a small universe.
Belgium has people concentrated in a few centers, is a travel hub in the middle of Europe and has a high density of EU employees. With that they imported cases from pretty much everywhere at an early stage.
I discount any comments that argue IFR as the sole basis for how quickly we can let the disease spread to save jobs on a short term basis.

Hospitalization is a more important factor as it the death count goes up dramatically without intensive care.

These comments always come with a healthy dose of "people aren't seeing reality!?!?", which is a bonus given the level speculation surrounding IFR and the variance therein.
Study finds that having a happy partner leads to a healthier future
The only two times my HDDS failed, was with WD.
The first one was after the shipping refurbished as new in 2000s scandal.
If you can not argue from your own moral principles why your acts are good, or why another act is evil, you need to work on building your moral compass.
UK was the country that first wanted to isolate the elderly and get young people infected and immune. The current case count is a reflection of that rather than the lockdown which came afterwards.
A lot of people seem to develop a strange sense of loyalty to services they like (and haven't been stung by, obviously).

Try suggesting that you can run a software business without using GitHub as your single point of failure^W^W^W^Wsource control system, and a lot of young developers will just laugh and wonder what you've been smoking.

Try challenging Apple's walled garden philosophy and suggesting that their mobile devices could implement standard protocols for transferring your own data on and off them directly like almost every other mobile device in the past decade, instead of relying on their not-properly-secured iCloud system, and plenty of Apple fans will wonder why you might care.

Even the HN community falls victim to this mentality from time to time. I find people here tend to be more rational about these issues than average, but any suggestion that one of the YC success stories that has become an HN idol has done something unwise or even bad can sometimes end up brutally suppressed.

It would be better, IMHO, if people kept in mind that behind these services they have allowed themselves to depend on so much is usually just a business, even if it's a big and famous one, and that businesses generally have no obligation to anyone to continue doing anything other than to the extent that either the law requires it or there is compensation changing hands and a contractual obligation.
The actual text isn't an arbitrary byte string. There is logical data and then there is its representation. char, short, int, string can all logically refer to the number 0 but the representation is completely different. With char it is even possible to represent the same number in two ways. As a binary 0 or as the character code for 0. Allowing byte strings as the physical representation is not a bad idea to stay future proof but you will have to provide additional information by storing the character encoding that was used to create the arbitrary byte string. If you fail to do that then this information will have to provided through convention and that's how we get "stuck" with UTF-8 and I although I like UTF-8 this doesn't feel like the right solution. If everyone agrees to use UTF-8 then we should stop pretending that something is just an arbitrary byte string and formalize UTF-8.

The idea of an arbitrary byte string is fooling people into believing something that is not true. Developers falsely think their software can handle any character encoding. However, once you decide to support only a single character encoding you will notice that if something better comes along you need a way to differentiate the old and new codec. Then you decide to add a field that declares the character encoding type and suddenly it's obvious that your arbitrary byte string is a bad way of dealing with the problem. That byte string has meaning. Don't throw that meaning away.
This is why I don't use SSO for personal affairs, unless required. The convenience is not worth it to me, especially because I just use a password manager to log me in anyway. The provider will just cut you off at a moment's notice and then tell you to shove it. Besides, logging in is faster than having to be redirected to another page just to use my password manager to log in to my google account, redirect me back and then I'm in...just log in directly.

I also never, ever, for any reason, no matter what, no matter where, or who, or who I am with, or where I am going, or where I've been... ever, for any reason whatsoever link a business email account to a personal account. I use different browser profiles and keep all that stuff segregated.
MoMA releases free online art courses
This virus is in some 180 countries right now. You are just delusional.
With regular raid yes, not with something like ZFS.

(which is often argued as something positive but I would argue is a bad aspect of ZFS (regardless of whether SMRs are used or not))
Serious question: so basically wikipedia is the only use case?
That's a problem. I have been using and recommending WD to everyone who asks me what drive they should buy (based on backblaze data and 20 years of personal experience) for their private and everyday usage. Even though these are NAS drives it tarnishes the brand.
I know this is actually very important and interesting in the context of understanding how to build better ships/torpedoes, but I'm just imagining two seamen clinging to debris arguing on the exact mechanics by which the torpedo blew up their ship.
Companies can only get away with this type of behavior in a labor market flooded with candidates. Of course they will claim they can't find anyone and need to government to search the four corners of the Earth to find someone for them. No company that rejects candidates for a reason like this should ever be allowed access to candidates beyond the local labor market until they stop this type of behavior.
We named our meatballs a old british name.

This was why we got nuked.

If only we knew that 4 days ago when we first got banned, and not, well, 4 days later.

The issue is github works by report only.

You can do what ever you want in a github repo, but if you make a video game on github, and ban the wrong person, they can just go through your repo and look for ToS violations to troll you.

We are literally removing the in game chat word filter for the n word out of fear it could be used to git us banned again by somebody else mad their buggy pr got rejected or their character got banned in game for breaking the server rules
Have you seen a non asm low level language that could fit hardware better than C ? Not starting a flamewar, just that it seems that you're in a context where you may have reviewed things we might not know of.
You have to compare states with comparable population density, cultural norms and roughly comparable initial cases. Climate plays a huge role in how much people engage in potential infection prone activities. E.g. like being outside in parks, beaches.
The comment was not hyperbolic. Since you believe that, that means you don't believe the projections (or maybe the current statistics). That's fine, but don't respond by denigrating on the wrong basis. Instead of accusing people of exaggerating things as if they have some kind of agenda, just be straightforward and say I don't believe those numbers.
>They'll have issues again, their very nature of being a government-operated institution guarantees that.

By which you mean that bad actors in government repeatedly sabotage[0] an otherwise extraordinarily well-run and cheap service, right? It's a standard playbook from, ahem, a certain type of politician: sabotage a well-run service, then point to its failure as evidence that the concept of government is broken; privatize and profit.

The fact you had to go all the way back to 1837 (!) to find evidence of instability speaks volumes.

--

[0] The most relevant sabotage in this case is the Postal Accountability and Enhancement Act (2006) which single-handedly destroyed the USPS's balance sheet. Seems rather unfair that the government gets to dictate how the Post Office spends money, but doesn't fund it at all.

https://en.wikipedia.org/wiki/Postal_Regulatory_Commission#P...
Mod+Enter to open a terminal, sway/i3
Two Meters Ap-Art
> SMR has a terrible rep for a reason, and no one with any knowlege of what SMR is would buy which is why they have to be unethical by removing this spec from the spec sheets

I have a couple of 8 TB Seagate SMR drives i use for backup, and for that purpose they've been great. They're cheaper than PMR drives, and i honestly don't care if the backup takes an hour extra to complete.

Unless you're in a business scenario, how much of your data on your x*8TB drives at home do you actually write to on a regular basis ?

Half of mine is family photos, backups of clients, movie/music media, etc. For this purpose SMR also works well.

I'm far more worried about power consumption for NAS drives than write performance.
This is great and I will most likely take advantage of this new offering, but I cant help but wonder why.

"everyone deserves GitHub" is marketing, not a corporate strategy.

How does GitHub stand to benefit from this change? How does more non-paying users help the company?

I am not trying to be a tinfoil hat jerk here. Life in the age of information has taught us all that (again) "nothing is free". So what am I paying here?
It would be a very good idea to acknowledge the existence of codecs by storing the identifier of the chosen codec but forcing a specific one doesn't appear to be that useful.
While current Swedish strategy carries a high risk of bringing it to that point, that statement is absolutely false right now. Swedish deaths per 1 million are currently 102, significantly lower than Spain (397), Italy (348), France (241), Belgium (383), etc.

Source: https://www.worldometers.info/coronavirus/#countries
> we seem to be favoring the economy over human life

I really don't agree with this meme at all and the evidence doesn't support it whatsoever. The people that are hurt most by the shutdown are lower class service workers, not Wall Street stockbrokers. As I just mentioned, everyday people are hurting far more from the lockdown than from the virus. If you really cared about the average person, you'd want to get society running as soon as safely possible.

The idea that the government can support or pay for the salary of the entire/most of the population for a sustained period of time is also completely ludicrous and impossible.
Even if Microsoft was willing to throw away what makes Windows have the desktop market that Linux will never have, and go back to its Xenix roots, Linux would probably get as much back as it has been getting from all those Android OEM contributions.

So not really a reason to cheer what would be yet another pyrrhic victory in the desktop/mobile space.
We already had article this when it was in Quanta:

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

Presumably you've all upvoted this specifically to annoy me, since i was moaning about it yesterday:

https://news.ycombinator.com/item?id=22871788
Here's a compilation benchmark: https://www.anandtech.com/bench/CPU-2019/2224

I guess there are more gaming benchmarks because there are much more gamers than software engineers.
Free Wordpress Themes Download – 100% Legit and Licensed
That's true. There would be no issue as long as the fact is clearly displayed in data sheets. The problem is not really with SMR, but with hiding the fact.
Yes, I've been buying WD for what, 15-20 years (I'm just a domestic user, fwiw) .. these sorts of things signal "we've decided to burn the brand to make short term gains", like when venture capitalists take over.
Get the News Ticker Wordpress Plugin for Free
For some reason I feel that I should be honest about downvoting your comment just because of the insane number of sentences mentioning 'woke' <x> and <y>. I just tend to zone out when commenters bore the shit out of me mentioning some kind of 'woke' adversary. It should be beneath all of us.
It's all very meta but this is possibly one of the best comments I've read on HN.

Had a bit of an aha moment.
Ask HN: What point in my career should I be getting at by now?
Hi,

I'm a regular reader of the hacker newsletter and I've been wanting to pose a question to all of you (in the form of a vent) but I haven't gathered myself to do it (until today) because, honestly, I feel embarassed for what I have to show and tell, curriculum speaking, in comparison to what I see here.

I'm a 28 yo working in the Information Visualization industry (or, as LinkedIn like to call it, Business Intelligence). I'm on it for about 3,5 years but I feel I'm not accomplishing anything meaningful, technically speaking.

In terms of stack, I've only come across working with Tableau and Qlik Sense and nothing more. I do throw around a little SQL, but very, very little, and at the end of the day I feel I'm only 'making charts'. Although Qlik (Sense) allows for some ETL, where I can put into action some cleansing and transformation strategies, I'm feeling I'm not learning what I should be learning. I want to get deeper, into more abstract terms.

I suck at optimizing - code, workflows,... I suck at understanding the architecture of things. I have a bachelor degree in computer science but it seems I haven't put that much into practice. I should be devising mental algorithms when working on things and I'm not capable of that. I should have a pipeline when working, like a method to do things, 'use this tool for this, that tool for that', that sort of operating. Instead, my to-do list is a collection of tabs in notepad++. If I need to do a copy & paste, I paste it into notepad++ and it says there forever. There is no structure.

Do you think I have stagnated/should be in an advanced stage of my carreer? Which stack of tools and skills should I have 'mastered' by now? I'm not exactly young... I know I am mixing practical limitations with technical ones, but for me those two aspects are intimely connected. I can't differentiate between having a practical, structured mind and being technically good.

Thanks for any word you might find relevant!
Does the revelation that they use SMR somehow change their reliability or performance ?

I fail to see how it makes the drives any less useful only because it is revealed that it is SMR and not PMR.

It is models from 2TB to 6TB, meaning pretty much all NAS drives purchased in the past decade.
I don't know about yours, by my drives perform just as well as they did yesterday.
I agree. This sounds a gross violation of EU data privacy laws. Not every country has those kind of data protections for their citizens, unfortunately.

I hope that all Europeans hit by this will make an issue out of this that will make Atlassian and other companies think twice before doing something like this again.
My father and ex husband were both career Army.

The need to have some mechanism to deal with humans behaving badly is universal and lots of people talk like the police and the military are inherently the bad guys.

It's not an argument that gets any sympathy from me.

I would like to have actual solutions available. I run multiple websites to provide useful information for homeless Americans. The local police department gives out flyers listing my websites and I get along well with the local chief of police when I run into him.

I find the local police to be much better allies for my purposes than local homeless services. They aren't subject to The Shirky Principle, so they genuinely would like to see homeless individuals get their act together so they can focus on more serious crimes.

They are much more comfortable with my agenda to empower homeless people to pursue an income and solutions from the street. They aren't at all interested in treating homeless people like a puppy that followed them home.
Ugh, that's scummy. I wonder if I can give cash tips instead. Sucks to not be able to do non-contact though.
That's definitely a reliability concern IMO: critical operations cannot be completed in expected time.
And what if the user is on vacation or in the hospital or something? Such a dramatic change to your account should be opt-in, not opt-out.
I turned 40, so they took me out the back and shot me. As is tradition.
Why do you think that? How would you use the blockchain to achieve that?

Also, what does "full privacy" mean? The goal of such a system is by definition partiall compromising privacy, by revealing information.
Sorry, I don't recall being democratically asked whether shutting down everything indefinitely was something I agreed with before it happened. Of course people will agree that it's a good idea when the media is blaring "PANDEMIC" at them 24/7.
Even if you look at Germany, you will see huge regional differences. If you look at the map of the positive tested, you can clearly see spikes in the huge cities (Berlin, Hamburg, München) and in densely populated regions. You can also still see that the infection density is higher around the places of initial infections (Bavaria for example, many skiing tourists who got infected in Austria/Italy). On the other side, there are less dense populated regions with a noticeably smaller infection rate.