skysight-inc/HackerNews huggingface dataset:
Out of curiosity, if there was anything you could change about C, and not have to worry about breaking existing code or any other practical concern, what would it be, and why?
Perry Mehrling - The Money View. He has a course on coursera [1]. It’s the best explanation I’ve seen of how the economy works. It’s a bank centric view and focuses on balance sheets for analysis. Highly recommend it.

[1] https://www.coursera.org/lecture/money-banking/a-money-view-...
riots games will start shipping with a rootkit or you can't play
In reality I have not gone out and purchased overpriced goods. I'm wearing a cloth mask when I go out.

In the hypothetical, you have no idea whose life is more at risk. And the central planners who want to implement price fixing, purchasing quotas, etc. do not have much if any more insight than you.
What's wrong with letting them share in the wealth, giving them masks and gloves, and reducing the throughput a little bit so that people don't have to work in close proximity to each other?

They're addressing all of your points, aren't they?

- $2 raise during this time

- masks and temp checking

- prioritizing essential items for fulfillment and delaying non-essential shipments
hmmmmmmmmmmmmm
They named this blog post after a component of Unix/Linux (/dev/null); ironically, it doesn't look like their games will ever be available for macOS or Linux, especially when they're doing something like this.
Chinese backed development of a rootkit people willing install, what could go wrong!?
Same here. Broken on FF 75, works on Chromium 81
What are you even talking about lol?

Animal Crossing has huge problems? Like what? It's a simple game about managing friendship and an island. It does that perfectly. There was some issues with multiplayer, but even those where minor and are being fixed.

BOTW is empty????? Have you never played a large map game ever? It's absolutely amazing and one of the top rated games of all time.

You're just being an iconoclast for no reason but to get downvotes?
Yup. Designing an economy around denying fundamental human nature is doomed to miserable failure.
They have an undocumented one that you can check in the network tab on your browser. this is how the API looks like https://query1.finance.yahoo.com/v8/finance/chart/%5EGSPC?in...
> a near identical array of sensors

I don't know anything about the devices in question, but from what I know of engineering of medical devices, stating "near identical" makes me listen up.

If these devices malfunction, they could hurt people. I expect a device like this to have an extensive array of sensors and a lot of extra hardware for constant self-monitoring. If the two lines of devices don't have exactly identical hardware, the differences need to be checked carefully. The lower tier device may be missing some capabilities because of that.

Also, it is not obvious that the main development effort for a medical device often isn't about making a device perform its primary function, but to make it incapable of doing anything else. That includes automatic detection of malfunction and appropriate safe modes (simply turning it off may not be safe!). Of course, all of that needs to be tested and validated very thoroughly. If you ever want to use a hacked device on a patient, you will have to prove that it is up to the same engineering standards. That is no simple task, but it beats hurting or killing people because of bugs.

In short, this isn't a job for the regular basement-dwelling hacker, the kind who is happy to have his Roomba drive around with a hacked up firmware. This needs some serious and methodical engineering effort to become practical.
I was more okay when Valve did it years ago because Valve isn’t majority-owned by a scummy Chinese company.
It’s not similar, it’s the same in the end. They’re both Riot games and they plan to be moved under the same umbrella.
That's not the same thing. Fraktur is just a style of fonts, antiqua and fraktur letters are semantically the same.
I think this is mostly driven by history. OIDC came in few years after SAML, so people are still thinking of SAML first and asking for it for enterprise integrations.

I'm pretty sure OIDC can be supported everywhere now. Okta, Oauth, PingIdentity, ForgeRock, Microsoft all support both. The last offender was Microsoft but it's included with active directory since 2016 both on premise or through Azure.

I'm working on auth for a big bank and it's definitely there, although not necessarily advertised and not everybody understand what is supported or preferred.

If a company were to only support OIDC nowadays, and maintain that OIDC is the preferred protocol when customers ask "can you do SAML?", I am willing to bet that most customers would integrate just fine either way.
Microsoft has a locked down kernel for gaming already. It’s called Xbox.
Whether it is the Sirs/Ladies, or the Elkanns or the Rothschilds, they are interested in continuing the current status quo, enriching the 1% that they belong to, at the cost of everyone else.

The Economist used to be pro-small-business free market. At some point they started justifying outsourcing as "free trade", which benefited big companies like Apple, etc. and stagnated or starved small businesses (and the productivity/innovation that comes from it), not to mention labor providers (even highly educated ones, such as software engineers :-))

This has proven to be quite bad for the US and Europe (except the 1%, whose interests The Economist represents through ownership) - and it may get even worse when money-printing will stop working at some point.
Even then... I don't expect Github actions to go away any time soon. I would expect a lot of the underlying systems, build agents and workers to be the same over time though.

Azure DevOps and Github largely cover different, though overlapping market segments.

I would be slightly more concerned about Github Enterprise and Devops co-mingling over time, as I think that may be inevitable, which makes me concerned over the public/free resources that Github offers in the long run... even then, migrating to Gitlab is an option should that time come. My only hope would be better discoverability and social coding with Gitlab to better match Github over the interim time.

Even then, it's just a possibility and somewhat unlikely that MS would burn this much karma.
From the same company (Riot games)
I read an article a few years ago where it was explained that investment is a winner-takes-all market: the top 1% VC firms get 99% of the best companies to invest in, while the rest is left with scraps (numbers as an example, not real). I am pretty sure SoftBank is not in the 1%, no matter how much money they have.
Hi Nat,

ICE kidnaps children and forces their captives to live in unsafe, inhumane, over-crowded conditions in the middle of a global pandemic.

Why do you work with them?
I've got to congratulate you. I've been a conspiracy nut for decades but I've never heard anyone suggest that the Chinese Communists are a front for Western control.

* slow clap*

But no. Study the history of the Middle Kingdom. They invented totalitarian bureaucratic central government centuries ago.
Probably the blog posts are a better starting point:

- https://alephsecurity.com/2019/06/25/xnu-qemu-arm64-2/

- https://alephsecurity.com/2019/06/17/xnu-qemu-arm64-1/

- Here some more recent screenshots: https://twitter.com/JonathanAfek/status/1221719094661197825
If you REALLY need to self-host, try Gitlab.
He might. Not this year, though - the 2020 Massachusetts primary is history. And four years from now, will Trump care enough to support a primary challenger? Will Republicans care what gubernatorial candidate Trump supports?

I mean, I guess if your ambition is to hold office for decades, then you might be concerned. But the downside seems minimal to me. (But then, I'm neither in politics nor in Massachusetts, so what do I know?)
Sure you can. int aFoo[]; has many legal array operations possible:

*(aFoo+3) should work fine and return the 4th int in the array.
> but the possibilities of the net as a free space for people to flee into and become empowered there- isn't that a utopian enclave, a refuge?

That theme isn't really present in the Neuromancer series. From the perspective of our viewpoint characters, the matrix is primarily a place that one goes to do a job, not a place to hang out; it's seen primarily as the domain of megacorps and mysterious AIs, not a human space.
When the page was opened I immediately tilted my head to "correct" the page, a totally unconscious reaction, much deeper than assumption.
"The site isn't so much a "master class in design" as it is a page that was made in the 90's and has never been updated"

Have you looked at sec.gov?
What I'm saying is that it would be self-destructive behavior to give people things for free. It is much better to let people starve in the streets, then to give them both food and housing for free. You'd completely destroy the entire country by facilitating this.

You can give them your own money if it pleases you.
I find it interesting that in their "Should I panic" section, they miss one of the biggest panic-inducing points for me: That a program running in ring 0 has some form of internet access.

They don't go into detail here about how far this goes, but I wouldn't be at all surprised to hear that it is directly sending and receiving data from the internet. That is such a bad idea for obvious reasons.
We salute you. Thanks for saving the world; to all greater y2k saveaists. What an unseen fix, you guys, all you y2k fixers, I mean, really did it. Thanks man(s).

man s might also mean women etc whatever all the new forms of people and identities goes on. We salute everyone.
Kernels are still things on MacOS and Windows.
The nt kernel of windows is a very real component of the OS, which is what they are talking about. Microsoft keeps their low level well hidden though.
> This isn’t giving us any surveillance capability we didn’t already have.

Wait, really? What surveillance capabilities does LoL already have without a kernel driver?
It seems like the author is wrong about the weak Sapir-Whorf hypothesis not applying to programming languages.

This is anecdotal, but once I learned Clojure, some things about the way I thought about problems changed. I didn't think about things in a functional way before that. The same has happened since I started learning Rust. Now I'm thinking about ownership and lifetimes. And in C I had to manually allocate and free memory.

Perhaps the hypothesis should be amended to refer to programming language paradigms, or something along those lines.
If you're using parentheses, as has been recommended for decades, there is no problem. Otherwise, it is likely that such a change would adversely impact previously working code. There just isn't a pressing need to change it.
Does it recommend them to never install this piece of crap?

It's already been defeated, and it's not like LoL didn't have a crypto miner before.
> Did exactly this!

Reminds me of this news.yc thread, "We may get fired and I don't know what to do" [0], which had a follow-up from the OP with full backstory ~7 years later, "I stood up to my boss, then he got promoted" [1].

[0] https://news.ycombinator.com/item?id=6309766

[1] https://news.ycombinator.com/item?id=21766903
I equally strongly reject people who cloak racism in "science" that is full of holes. Just as strongly as I object when someone justifies silencing others based on personal offense. You proceed down that path and there's no limit to that reasoning.

And I hold both sides equally to that logic. What I warn people against is the insidious slippery slope of people (from either side) who gain (or assert) power to police what people say, and gradually turn the knob from (for example): fighting racist policies to the much fuzzier and dangerous I-am-offended sensibility that targets anyone who wants to talk about something reasonably as racist/sexist/xenophobic. The parent comment strikes me as that vein.
I believe its only there because of the kernel panic pun.
Me too. The menu bar on the left hand side is a big visual clue, I think.
The coronavirus butterfly effect: Six predictions for a new world order
The full title starts with "/dev/null", which I don't believe is a thing in Windows?
Ask HN: How can I be a better contributor to meetings at work?
Mid thirties female. Naturally quiet. In school my teachers always said I should contribute more to class discussions. Now as an adult I find myself wishing I could contribute more to meetings at work, as I know my passivity is holding back my career.

My diagnosis of the situation is that I’m technically competent, but lacking creativity and the ability to think on my feet. On the rare occasions I do have an opinion about something work-related, I’ve never had the confidence to express it to a group of people, in case I’d look like an idiot. Other times I genuinely have nothing to say - I literally have no ideas. Maybe it’s because of fear?

This trait is so engrained in me that I finding it difficult to break out of.

Anyone got any tips on how to become a useful contributor to meetings after a lifetime of being passive?
I really like this talk from Splash 2016 by Amy Ko called "A human view of programming languages". It explores various metaphors on Programming Languages including PL as language. I think she makes a very good case for why it is important to analyze programming languages from different perspectives.

https://medium.com/bits-and-behavior/my-splash-2016-keynote-...

After watching Amy's piece, I have to disagree with the conclusion of the author at hand: "I’d say it’s better to use the tool metaphor, and see where that framing could take us."

I think the PL as tool metaphor has been almost as thoroughly been mined as the PL as math metaphor. Most PL conferences are filled with papers approaching PL from these angles -- we know where that framing takes us. The other metaphors are more interesting to me and I think are more ripe for interesting new research (good luck getting them into some PL conferences though).
I believe the fizzbuzz failure thing is largely interview anxiety
We May Have a Path to the Fundamental Theory of Physics and It’s Beautiful
I'm not saying you shouldn't, in my previous company they went all-in in clickhouse and it just changed their lives.

But it feels like ads when you have the same person every time telling you the same thing
And they can do it without using any GPL-only symbols?
Agreed. Not talking about it sends a very clear message of implicit endorsement and agreement.

In contrast, talking about it teaches those who haven't encountered him before how he works. Without that knowledge, one is liable to either get swept up in his aggressive, self-centered reality distortion field or reject him outright as blogspam. Neither response is appropriate. He deserves positive attention for his ideas and negative attention for the reality distortion field, and these discussions serve that purpose.
Doesn't mean the power was off
> When writing a UTF-8 string to a file, it is the length in bytes which is important. Counting any other type of ‘characters’ is, on the other hand, not very helpful.

So, suppose I have a UTF-8 string of n code units (bytes) length. Unfortunately my data structure only permits strings of length m < n bytes.

How do I correctly truncate the string so it doesn't become invalid UTF-8 and won't show any unexpected gibberish when rendered? (E.g., the truncated string doesn't suddenly contain any glyphs or grapheme clusters that weren't in the original string)
Are you looking for the log module, but with a UI on top of it (something like splunk, but for local development)?
I dunno. That sounds like proposing to render "foo.txt" as "Zm9vLnR4dA==" or "[102, 111, 111, 46, 116, 120, 116]" or something. I think you probably meant something like "print the regular characters if the string is UTF-8, or a lossless fallback representation of the bytes otherwise." That's a good idea, and I think a lot of programs do that, but at the same time "if the string is UTF-8" is problematic. There's no reliable way for us to know what strings are or are not intended to be decoded as UTF-8, because non-UTF-8 encodings can coincidentally produce valid UTF-8 bytes. For example, the two characters "&!" are the same bytes in UTF-8 as the character "Ω" is in UTF-16. This works in Python:

assert "&!".encode("UTF-8").decode("UTF-16le") == "Ω"

So I think I want to claim something a bit stronger:

1) Users demand, quite rightly, to be able to read paths as text.
2) There is no reliable way to determine the encoding of a string, just by looking at its bytes. And Unix doesn't provide any other metadata.
3) Therefore, useful Unix programs must assume that any path that could be UTF-8, is UTF-8, for the purpose of displaying it to the user.

Maybe in an alternate reality, the system locale could've been the reliable source of truth for string encodings? But of course if we were starting from scratch today, we'd just mandate UTF-8 and be done with it :)
The Coronavirus and the Brain
Also, one of the strongest predictions of working memory in all groups was gender, which may be an indicator that confounding factors haven't been broken down.

Only if you erroneously assume that the sex cannot be predictive of differences in working memory. We know it's not the case: there are sex differences in average scores in subtests (or in group factors). However, most results point in the direction of female advantage in short term memory. Jensen's 1998 book for example quotes Cohen's d between -0.2 and -0.3, favoring females.
> Generally actual tech startups don't have a lot of patience.

This wasn't true in the pre-2000. It was only the DotCom(tm) era that spoiled VC's who all wanted hits within 36 months.

The history of the valley was the history of slow investments. Semiconductors are money hungry and slow--yet VC's invested in them until about 2000.

I would argue a lot of the lack of progress in tech is because all the VC money is chasing fast returns.

I find Musk insufferable, but, credit where it is due, he put investment money into two VERY slow industries.
Thanks! Glad you think so. I've found it's most useful for workflow documentation and code snippets.

The main reason I built mmap is I started a new job a few months ago which required learning a ton of new workflows that leveraged a bunch of unfamiliar technologies. Documentation for these was scattered over github, confluence, google groups, etc. which made it both time consuming and difficult to find what I was looking for.

I wanted to be able to save documentation and code snippets in my own words so I could quickly find it without switching windows. It's lead to a noticeable jump in my productivity so far.
Perhaps you meant snprintf. But snprintf can fail on allocation failure, fail if the buffer size is > INT_MAX, and in general isn't very light weight--last time I checked glibc, snprintf was a thin wrapper around the printf machinery and is not for the faint of heart--e.g. initializing a proxy FILE object, lots of malloc interspersed with attempts to avoid malloc by using alloca.

It can also fail on bad format specifiers--not directly irrelevant here except that it forces snprintf to have a signed return value, and mixing signed (the return value) and unsigned (the size limit parameter) types is usually bad hygiene, especially in interfaces intended to obviate buffer overflows.
They delegate to a userland process for most things and apparently have had multiple audits on this driver, according to what they've said about the same thing that they run in their game Valorant.
they are accessed using pointer arithmetic, if you wanted them to contain length data, you would need a different access pattern. I think one of the great features of C is that it doesn't do anything under the hood, its all explicit. If you want to bounds check, then do it.
Under why you shouldn’t panic:

> This isn’t even news. Several third party anti-cheat systems— [install kernel drivers]

Is there is a different in a rootkit and kernel driver? I think so.
Oh man, I completely forgot about that. That's a no no from me
To my knowledge (and looking online I can't find anything to change this) VAC does not run in ring 0.
No, but it can produce something that's unpredictable from the original code. And that's spitting distance from random.
Sigh...

As annoying as MacOS is, I find myself reassured every now and then that Windows is worse.
Does it? I think it comes off as extremely patronizing. To each their own, I suppose.
Is that because the stores that sell those things are designated non-essential, or are those items specifically prohibited, even by mail order?
Interesting perspective. I have a similar attitude towards subscriptions; except I don't really want the mental overhead of having to manage payments to the dozens (or hundreds, if you count one-off views) of different creators whose content I watch. A single subscription service which distributes payments automatically based on which videos I watch seems much more convenient from my perspective. (And all the other features which come with it are a nice bonus.)
I use R for most data science, J and C for hobby/future development on the rare occasion I have time. Never touch the others.
I can't speak to specifically working memory, but there is a wide variety of research on sexual dimorphism in humans, including in cognitive function. I know there was some research showing males having better spatial memory than females.

But all of this is caught up in a large nature vs nurture (vs both) question. Is it genetics that cause this? Is it the environment (social pressure/influence) that causes this? Is it a combination of genetics and environment that causes this?

The same sort of complexity would exist in any real life test like this, because this isn't a laboratory where you can make sure everything but a single independent variable is the same, modify that independent variable, and then measure the influence on the dependent variable.
1967 ASCII anticipated that, with dual-use character shapes so you could type o BS " → ö

But then people invented video terminals that didn't overstrike.
GP was referring to /dev/null in the actual article title (not the HN title)
non-factual: Amazon treats their employees poorly, they just don't care about us.

factual: Amazon does this factual thing X and this factual thing Y, and it shouldn't be happening this way.

First one is just an opinion piece, regardless of its truthfulness, because it cannot be evaluated objectively (how to objectively determine whether amazon cares or not? who counts as "amazon" in this scenario? what factual event led to this statement? and on and on).

Second one is a factual statement that can be evaluated on a true/false basis. Events X and Y either happened or they didn't. If they did, the responsibility for those can be traced and evaluated. It leads to actual results, while the former is just an emotional opinion sort of statement, but that's exactly what sells the headlines.
They were doing okay before, but they cannot grow, since the increase in demand will not be sustained.
Is there any necessary connection between visual roughness or a "90s look" and low bandwidth or speed? Seems to me you can have a lot of javascript and CSS in a few KB, and what bogs down modern web pages has to be frameworks and advertising. Although I'm not and never have been a web dev.
Neglect is a truly wretched cycle. When a child's parents cannot afford and value things like basic dietary nutrition and care, it creates cerebral abnormalities [1] due to lack of neuro-cognitive development.

It's then up to half-hearted social/governmental intervention to prevent it from becoming the same for the child's eventual offspring - a hail Mary that rarely lands with some individuals getting on a better path.

[1] https://www.apa.org/pi/families/resources/newsletter/2012/07...
I checked the English version, looks totally different, but the images are the same and I guess the content is as well.
There is a link on the menu bar, the address is:

https://president.mn/en/