skysight-inc/HackerNews huggingface dataset:
I think UTF-8 was a mistake.

It is a pain in the ass to have a variable number of bytes per char.

In Ascii, you could easily know every character personally. No strange surprises.

Also no surprises while reading black on white text and suddenly being confronted with clors [1].

[1] Also no surprises when writing a comment on HN like this one and having some characters stripped. I put in a smiley as the firs "o" in colors, but it was stripped out. Looks like the makers of HN don't like UTF-8 either.
Seems to be broken on Firefox.
> Do you not have those with Free private repos?

Correct.
Regardless of the "ladder" (or any other attempts to organize algebraic structures), what I find interesting (and somewhat unexpected) is that each particular structure exhibits so many features exclusive to it and such a rich behavior that is not found in any other structures - even closely related ones (like, for example, commutative vs. non-commutative rings) - that these attempts of organizing them and of some kind generalization seem to have not much value. It is only category theory that has managed to bring in something of a common viewpoint on many mathematical constructs (and not just those in algebra).
It happens, some people might think I'm not hardline enough on the CCP, others might think it's not worth discussing. That's just the nature of HN posts around topics like this.

As for the surprise factor, if you look at the history of the CCP and the way they use capitalism against itself it makes a lot of sense. China is a huge country worth its weight in gold to corporations, many of whom are now deeply embedded because of how much profit it generates. If they rebuke China, that means losing (a lot) of money which goes against how our system works.

In this sense, it's the free market working as intended. Which is easily gamed by political powers by tossing more money and incentives into the system.
That’s quite precise, can you give a sense of why it’s useful to have? Does it translate as “you can never know whether two mallocs are adjacent, so don’t even try merging them”?
I don’t think that explains the whole situation, or at least I don’t believe that all but Germany have incompetent leaders, have bad experts, and lack coördination.
The guy pretty much single handedly built a profitable company that enables him to pursue whatever research interests he want, and that’s been going for over 30 years.

They hate him cause they ain’t him.
What is Actions?
The fun thing about a lot of people dying is that the government will take care of the bodies for you. Try another strawman tactic, my dude. That one missed the mark.
+1 for 'intended to replace the Matrix remote trigger system'
Tesla might not have advertisements on TV or radio, but it is not a coincidence that luxury malls have prime parking dedicated to Tesla chargers, that they have prominent show rooms and that their CEO is always getting in the news.
A better example would probably be "ij" in Dutch. That's definitely considered a single letter, as words starting with ij in Dutch are capitalised IJ. Though there are glyphs for Ĳ /ĳ already in unicode.
Does the point not stand though?
My high school girlfriend got me backstage passes to a Weird Al concert. Her dad was Weird Al's manager's insurance agent. Why Weird Al's manager bought insurance from an agent in a smallish town in Michigan, I'll never know, but it was pretty awesome to meet him after the show.

Last year I went to the opening show of his "Ill Advised Vanity Tour" where he only played his original songs. It was amazing seeing him up on stage just playing music without all the costume changes and videos playing in the background. Totally different feel, but still the same awesome Weird Al.
blatant whataboutism is blatant.
I think GitHub are doing well, but one cannot deny that GitLab has carved out a fantastic niche (on-prem, private instances, OSS, etc) that GitHub doesn't compete in. So while I agree GitHub are "the" company to beat, I think GitLab is doing a good job of contrasting.

PS - No affiliation with anyone.
Pots of pleasantly warm water are now available for multiple frogs to use for free.
This issue comes up a lot. As a sibling comment says, if it is so common an occurrence for the character limit to lead to misleading headlines because they were overly condensed, you may want to consider slightly expanding the headline length limit (perhaps to 120-140). But I appreciate that it's a balancing act, because making it too long dilutes the punchiness of the HN front page itself. No easy answer here.
What do you call your credit score?
It's also currently only in the dev version:

> The performance.measureMemory() API is available as an origin trial in Chrome 83. The origin trial is expected to end in Chrome 84.

Chrome 83 will be released as stable on May 19: https://www.chromestatus.com/features/schedule
First of all, thank you, this is great news.

That said, the news made me wonder what exactly I’m still paying for with my personal Pro account. I went to the pricing page https://github.com/pricing and it seems Pro isn’t even listed anymore? And the Billings page https://github.com/settings/billing says “Pages, Wikis, protected branches and more for Pro developers” without any further explanation or link to docs explaining the differences. I can only assume that Pro has the same set of features as the $4/user/mo Team plan, but the messaging is certainly pretty confusing, don’t you think?

(I sure hope this isn’t a sign of neglect for individual developers, who are still the backbone of open source activities.)
Sounds like SAML needs the same "everyone gets together to make a FOSS implementation that knows about the weird quirks of all the implementations it interacts with" approach that e.g. the Samba project was founded upon.
Your subscription lasted for the lifetime of your subscription.
If you have a personal paid account ("Pro"), the pricing page now says "Continue with Team". It looks like "Pro" has been renamed to "Team".
The world economy is now collapsing
What path is Eric Weinstein taking? I've heard about him for the first time yesterday, when a section of his appearance on the Joe Rogan podcast was linked, where he talked much too confidently about a subject he probably shouldn't.
Hmm, looks like GitHub pages are a paid feature? One of our private repos hosts our (public) website. Even with the price cut, the Team plan is still almost $100/month more expensive than the grandfathered in legacy plan we currently have that includes GitHub pages.
Case Study: ClassPass' Free Trial Activation Machine
First, there needs to be a proposal for adding a feature (I'm not aware of one having been submitted recently). Second, any non-trivial proposed feature needs to have some existing user experience behind it. For libraries that typically means implementations shipping with operating systems or compilers (but successful third party libraries might also be considered). Finally, it also needs to appeal to people on the committee; that can be quite challenging as well. Many proposals that meet the first two criteria die because they simply don't get enough support within the committee.
I know this isn't related to the article's content, but I've certainly, and sheepishly, thought at some point in my youth that learning programming was pretty admirable like learning a second language. Sure, you learned French, but I learned C++, I would think to myself, envious.

Then I actually learned a second language in my late 20s and chuckle at my former hubris (well, more like wishful thinking) that a programming language was comparable.

Programming was just something my socially destitute self did for fun in the comfort of my bedroom. To learn how to speak a language, I had to (shudder) talk to other people. And socializing with people isn't this finite, self-defined virtual world like your game.js file where you just invent your own physics: You have to actually figure out the social world.
Yeah, all these things are choices. I live an hour from Philadelphia. I could make more in a big city but I like my salary to cost of living ratio. I could also walk to work if I moved into the town center but would have to up my spending on housing and lose my yard. People have lots of choices they can balance. I lived in Cambridge for a while. My apartment was a 15 minute walk to the T (public transit). I could have been right on the line but my rent would have been 50% more at least. It was a choice of what I was willing to spend and what kind of inconvenience I would tolerate.
I don't think it's an attack to try and make good products. Unless they're playing dirty / being anticompetitive, you're just describing a company making dev and cloud products.
Certain things such as DNS, email addresses and so on should be restricted to ASCII, it’s a security nightmare otherwise.
Weird, with Hillary it would have been after killing reporter and his wife, Hillary fires off investigation against.....
Bloomberg has it backwards.
And then I look at IOT and weep.
Things I would like C to have:

- stricter type-checks on typedef types (useful when passing function parameters)
- gcc's ' warn_unused_result' attribute for functions (ensure error returns are checked)
- on-entry/on-exit qualifiers for functions (to do things like make sure you lock/unlock semaphores for instance before entry/exit of function)
- D language's 'scope' feature (better handling of error path)
- loops in the c pre-processor! (better code-gen)

Any chance any of this is on the radar for the next-gen C standard? Some of these are just ergonomics, but the first two might've have saved me some grief a few times.
also there Nth order effects which are confounding subsequent moves. This is why any idea that a certain party of president leads to good/bad economies is nearly impossible to tell, it could just be a lagging indicator from previous one(s)
Found the issue, NextDNS seems to be blocking some part of the interaction with the default settings, probably interacting with some intermediary that also does tracking. Got it to work when I turned that off.
I have that problem generally, where I will automatically think of plausible interpretations of what someone is saying (like, here, imagining that early graphical browsers e.g. for minitel looked like this), and thus often can't tell if someone is joking.
I think this is plenty ok. For one thing, If a struct as a member of type T, it's ok to access it through a pointer to T (and also the address of the struct is guaranteed to be identical to the address of the first member). For another, you are using dynamically allocated memory, so the only thing that matters is the type of the pointer when the access is finally made. It doesn't matter that it was a Foo* before, if what you dereference is an int*.

This is different from pretending that the address of a struct s { int a; double b; } is the address of a struct t { int a; long long c; } and accessing it through a pointer to that. If you do that, C compilers will (given the opportunity) assume that the write-through-a-pointer-to-struct-t does not modify any object of type “struct s”. This is what the example st1 in the article illustrates.

The latter is what I suspect plenty of socket implementations still do (because there are several types of sockets, represented by different struct types with a common prefix). It is possible to revise them carefully so that they do not break the rules, but I doubt this work has been done.
Continuous integration (CI) and continuous deployment (CD) services. Essentially when you merge a changeset you can configure a specific branch to automatically test, package, deploy, and integration test that branch with no additional human intervention.
Just subscribed to your mailing list!

If you're looking for a fun online game to play with friends during this lockdown, check this out: https://codewords.fun/
Did he get infected in Chinatown? Were there good reasons to assume there would be more infected there? Recent reports suggest the majority of Corona imports into NYC came from Europe. Joining a large event full of people seems like the bigger issue.

Around here, somehow people got scared about Taiwanese that haven't left Germany in years, but not their buddies that have been traveling a lot.
I hope GitHub allows protected branches in private repos. They're really important for everyone, not just enterprises.
Whoa, wanted to jump in here! SS13 is, in my opinion, one of the best games of all time when it runs well. Not very many people know about it.

I worry about the community dying and losing my favorite game, but have taken solace in the fact that the source will always be publicly available. If it was banned from GitHub, that's a major problem.
Zero-commitment onboarding to NEAR using Gitpod
> A better way is to self-host...

Even ignoring the higher cost to set up, are you sure your self-hosted solution will have better uptime? Are you sure you'll be able to get things up and running faster when it does go down than GitHub will when GitHub goes down?
We were mostly lucky to have about four times as many ventilators as France or Italy.

The numbers I read in two different sources: Germany has about 20,000 ventilator places, while France, Italy, Spain, and UK have about 5,000 each.

So in Germany, we didn't hit the "no more ventilators" situation and people didn't die.

Edit: Here a recent article confirming it: "Germany still has 10,000 free ICU beds" (in German: https://www.tagesspiegel.de/politik/coronavirus-in-deutschla...)

Edit 2: Pretty sick, considering that in Italy and France thousands are dying because there are no ICU beds, and here in Germany they are just empty and unused.
I guess it depends what someone means when they say "very overweight".

To me that doesn't just mean "overweight", it means "obese".
Lying in my bed, surrounded with my own filth, hunched over a coffee-stained macbook. I live in a very tiny studio with 1 other person, and have not been in my career long enough to be able to invest in any type of home setup.
To save the US economy, policymakers need to understand small business 101
Link: The Ars Technica semi-scientific guide to Wi-Fi Access Point placement
RE: RescueTime new URL tab.. that's really clever! Stealing this for myself. Cheers
Yes the west is not perfect either, but let's not pretend as if Chinese citizens enjoy even a fraction of the freedom and liberty as Americans in the U.S. In one of these countries they kidnap you if you criticize the government, guess which.
You’ve got it backwards. China’s lack of regulation is what makes both cheap manufacturing possible and spread of pandemics inevitable. The wet markets have gone straight back into business.
Blazor is slow to start but I think long-term will be a game changer.
I went to go downgrade to the free plan and noticed that GitHub Pages static sites served from Private repos still require payment. That will keep me on $4/month for now.
Unlikely, freemium users would make up the overwhelming majority which has been getting more value & less reasons to need a paid subscription with each release since their acquisition of which I've yet to see any signs of neglecting their existing user base.

IMO Microsoft views GitHub's user base as potential Azure leads and Cloud computing as the current & future lucrative computing utilization business model who has been pulling out all stops to grow Azure as fast as possible.

They're fortunately rich & big enough that they don't need every one of their business to maximize their profits and are more than happy to leverage the synergies in their different assets to funnel more business into Azure.
Ask HN: JavaScript framework to mke a “windows-like” UI?
Hi,

I want to create a Web app for data analysis that lets the user work with multiple movable, overlapping, resizable, and minimizable/maximizable windows. Each window would display a form a plot, a table, etc. Basically, it would look something like a Windows or Mac Desktop, but running in a browser.

Is there a javascript framework that provides especially good out-of-the-box support for this kind of thing? Most frameworks seem to be strongly grid oriented. I suppose it might be doable with standard popups, but I rarely see apps like this so I'm not sure if a typical framework would be limiting.

Thanks!
> one of the few programming languages that correctly doesn’t treat file paths as strings

I hear: one of those few programming languages that, despite its vaunted type-safety, makes it possible to accidentally create a file with a completely bogus name that I won't be able to view or open correctly with half the programs on my computer.

Languages which allow arbitrary byte sequences in paths are the cause of, and solution to, all of Unix's pathname problems.
It will not work because there is no way for anyone to profit from it. That's the sad but inescapable reality of the internet today.

The only way grassroot movements can succeed is through engaging in mass collaborative corruption. Thankfully, cryptocurrencies have proven the effectiveness of this concept. You just need to invent a financial instrument which has no value initially but which can grow in value as it becomes more popular - This gives your financial instrument 'potential value' - This potential value allows your financial instrument to be used to 'bribe' journalists to hype up your product and convert its 'potential value' into 'actualized value'.

It is a bit like a pyramid scheme, but everything these days is a pyramid scheme. The only way to compete within the gigantic pyramid scheme that is our financial system is through other even more elaborate pyramid schemes.

More concretely, the reason this is necessary is because corporations are constantly 'bribing' journalists by holding ad revenue over their heads and restricting the kinds of things that they are allowed to write about; so it's essential for grassroot projects to have a mechanism in place which can counteract such market forces which intentionally limit the visibility of new 'unproven' products.
Three weeks is not enough time. I've worked on code bases that took me 3 - 6 months to feel like I had enough understanding to start doing substantial work. You should give yourself permission to take the time you need to get a handle on everything.
Classic Nintendo fan. Not enough content to satisfy, make your own entertainment.
I'd put it this way -- as someone who writes both C and C++ and has for a long while, I find that the difference between "best practice" C89 and C17 code is not as wide as the difference between "best practice" C++98 and C++17 code. However, this is subjective and may be specific to what kinds of projects I work on, so YMMV.
You're conflating code points and some encoding; more importantly, you're conflating "array of encoded objects (bytes)" for "a string of text". They're not — and never have been — the same.
It can be both. Neither situation excludes the other.

Yes, people that refused to eat out in Chinatown were racist, because those people in Chinatown weren't the ones travelling. And the people that were refusing to eat out were still eating at other places which had travelers from all over; they weren't self-quarantining or trying to limit the spread of the virus.

There's nuance to discussion where you can discuss a country without being racist, but at the same time I've seen people make obviously racist remarks while trying to pretend it's meant as a criticism of the country and not the people.
Kind of off-topic but for $4/user/month only 2gb of private GH packages storage is laughably low, and the pay-as-you-go pricing model is pretty expensive if you want to use it for docker images.
I doubt very much that anybody can launch a website / web-app today with only user-agent stylesheets and be successful. Even for an internal product that would be seen as bad/lazy/unoptimal.
Combining PHPSpec and PHPUnit test coverage in CircleCI
Did You Forget Anyone? Militant Flowers can help.
https://github.com/features/actions
This doesn't make sense. Login of any kind can be a tricky problem, you need to handle passwords, rate limits, email verification, password resets, etc. In most popular web frameworks there are libraries you can drop-in that handle all of this for you (like Devise in rails). There are drop-in libraries like OmniAuth (again for ruby/rails) to make handling multiple types of Oauth login simple.

The same could clearly be done for SAML (and I've even implemented SAML and SCIM auth and user management for Okta before in an app, it's not difficult).

The problem is that the only organizations that would make this single issue of SSO support a deal-breaker are bigger companies who can afford to be upsold, so everyone treats this as an up-sell feature. This comes at the expense of the smaller companies, who can't afford to care as much about security. The industry should be making things secure by default as much as possible, and there's a big gap here in what basically every SAAS company is doing.
Should be fixed now. Always bad at spelling am I.
Looks like it's one of these:

.alt-mono-font {
font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;
}

If you find yourself wondering this a lot, https://chrome.google.com/webstore/detail/whatfont/jabopobgc... is a fun extnesion.
So http3 will be using UDP? Makes sense.

Will we see more performance tuning when it comes to MTU sizes?
For those like me who had never heard these abbreviations:

AuthN: Authentication (who you are)
AuthZ: Authorization (what you are allowed to do)
DIY Single Sign-On for SSH
Covid at home
I don’t understand how this model can ever be predictive. It seems like a good way perhaps to create an approximation engine but I’m not sure what sort of predictive insights you can gain from this approach.

In order to be useful, this model should either create a new testable prediction or speed up computations in existing models while retaining accuracy. It seems to be in the latter camp. I would like to understand more about why this model is more computationally efficient.

Perhaps there’s more work to be done on the process of generating rules or limiting the types of rules. Arbitrarily choosing rules to create properties that look similar to observed physical properties doesn’t seem to point to a fundamental theory.
struct sockaddr_storage is insufficient as well. A Unix domain socket path can be longer than `sizeof ((struct sockaddr_un){ 0}).sun_path`. That's a major reason why all the socket APIs take a separate socklen_t argument. Most people just assume that a domain socket path is limited to a relatively short string, but it's not (except possibly Minix, IIRC).
When has GOOG made something expensive once the competition died?

I guess for that matter... also when has MSFT? I buy they have, but not aware of any examples of the top of my head.
Yep, that's the story the media here tells. Of course. "We are so exceptional, we Germans."

In reality, we had just four times more ventilators available than any of the larger countries around us, so we never hit the "no treatment possible" situation.
Please correct me if I'm wrong but most of Germany is highlighted as "No data", at least in this map.
Can it really be called a conspiracy theory when there is proof that MS has done this same sort of thing in the past? Past behavior is a good predictor of future behavior. Saying that someone has been shown to do something in the past, therefore it is likely that they will do the same thing in the future doesn't seem to qualify as a conspiracy theory.