skysight-inc/HackerNews huggingface dataset:
I'm in both camps at once. I hate C's footguns, I hate the difficulty of doing some things that are simple in other languages (iterators, coroutines, etc). I love C's speed and flexibility. I love the availability of C: any chip I need to program (that isn't an FPGA or such) I can use C.

So I push for Rust (and sometimes Zig), because they're better than C in many ways, but they do lose the availability and some of the flexibility.
r/AskHistorians has some very good posts, but it also has a good deal of misinformation, even coming from flaired users. The big problem with it is that the user base and the mods tend to believe that it's accuracy is better than it actually is (and comments from the mods seem to encourage this overestimation). I've seen many people who believe that if a flaired user on r/AskHistorians says something, then it's true (there seems to be a lot of people like that on the aptly named r/badhistory sub, for example).

In addition, their yearly April Fools' events (a bad idea in my view) as well the generally poor quality of posts during the first few years makes searching for past answers a pain. You get a ton of information that's flat out wrong, and in the case of April Fools' events the wrong information was actually encouraged (or written) by mods.
That concept traces back to unbundling Craigslist, from 2010:

https://thegongshow.tumblr.com/post/345941486/the-spawn-of-c...

(That's been submitted to HN but with no traction to date: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...)
This is fun typing with hundreds (or more?) of people!

I tried to type a sentence by scripting the api calls in the console. But even after requesting all the characters too many people interfere to create a good sentence.
Situação Caótica No RJ
Technically even that's incorrect - percentages can be negative and greater than 100 as well.

A doubling expressed as a percentage of a given baseline would be 200%; economic growth during a recession is typically expressed by a negative percentage.
Right, but they have no ad network, only ads on their own properties. That's why the settings are different, they're describing totally different things.

I think the settings should be combined, but Apple is in no way tracking users across sites, because they're not tracking users like that at all. Refusing to track users is the entire reason their "iAd" ad network failed!
Fastcore: A library that extends Python with new features
What kind of anomalies do you track on clients and inventories ?
I usually do the "inMeters" thing.

Another thing you can do is define a "METER" constant equal to 1. You can then call your function like this: func(1.5 * METER), and when you need a number of meters, you can do "accuracy / METER". The multiplication and division should be optimized away.

Good thing about that is that you can specify the units you want, for example you can set FOOT to 0.3048 and do "5. * FOOT" and get back your result in centimeters by doing "accuracy / CENTIMETER". The last conversion is not free if the internal representation is in meter but at least, you can do it and it is readable.

If you are going to use such distances a lot, at least in C++, you can get a bit of help from the type system. Define a "distance" class operator overloads, constants and convenience functions to enforce consistent units. Again, the optimizer should make it not more costly than using raw floats if that's what you decide to use as an internal representation.
My time at Etsy (2012-2015) taught me that people will rationalize anything to avoid dealing with the fact that they made a fundamentally bad decision.

A big reason Etsy has lost a lot of trust with consumers is their inconsistently applied policies and their allowance of cheap knock off crap. When I was there a few years ago, there were all sorts of forum posts, reddit posts and tweets about the problem all the time. The leadership (and more importantly) the people in the company, absolutely refused to believe it was a problem. We came up with any excuse and rationalization we could for not addressing it. The most common one was, "they (the people complaining) don't have access to our data, they don't know what we know, therefore their points are irrelevant." Another was, "they're just mad, let them vent, it's no big deal." Pure denial, the simplest reaction to bad news.

By continuously shoving their heads in the sand and not addressing the perception (whether it was real or not) the company allowed the perception to become reality. I'd be pretty surprised if reddit leadership doesn't do the same thing when they see messages on HN talking about how shit reddit is. They'll rationalize how we're a bunch of pedantic, angry nerds who don't represent the average user. They'll ignore the growing negative trends in favor of looking at the positive ones. They'll do anything they can to not change the strategy they've committed to. It smacks of a company that doesn't plan, doesn't think about the consequences of their decisions, and goes with the first idea that pops into their head.
Yes. It's registered in the UK. It still has to obey UK law. So what does the ownership matter?
Real programs care about data, and functions operate on data.
A little known fact is that Germany resorted to using sawdust in bread when they had flour shortages during the world wars

https://en.wikipedia.org/wiki/Kommissbrot

Are ther any other strange flour replacements that people have heard of?
USA-ian in Canada. I do IT (network engineering) remotely for a US/global F500.

It is pretty straight-up for worker visas, honestly.

Permanent Residency (PR) only matters if you want to stay. There are short term (2) year work permits available, Express Entry permits if you're young-ish and have skills and degrees.

There is also the NAFTA "TN visa" which is just for US/CAN/MEX which is basically one you apply for at the border if you have a valid job offer. It's good for 3 years, can be renewed an unlimited number of times, but it's not a path to PR. As in, you'll have to move to another visa and then follow the steps to get PR that way... but it's quick and easy, and is a decent idea if you don't want to live here forever but do want to do something different for a while.

You could also go to school or marry a local.

There are also a few other more obscure work permits, like Provincial Nomination -- the province needs jobs filled, often in rural areas, so they'll sponsor for somethings. Often these are surprising, as in I knew someone who got sponsored to be a barber in rural AB.

There are also "investor" visas -- aka buying your way in at around 400k -- and a start-up visa, though that requires funding from a handful of approved start-up/VC related groups in Canada. I know tons of folks with a PR, all of whom came in different ways, but I don't know any who did the start-up visa :/

Also keep in mind that the CAD is tied heavily to oil prices, and that salaries in STEM are just, all around, not as high as the US. I'm in AB, and compared to the 2 states that I used to live in the most (VA and WA) the taxes are crazy high -- but they're the lowest in Canada. Investing rules (the dreaded PFIC) and cross-border taxes are also a PITA, and are ones that never really came up when I lived other places overseas.

I could go back to NoVA or Greater Seattle and get a 30-50k USD pay raise... and if the US wasn't under the thumb of Trump, I'd seriously consider it.
Android has "Sync for Reddit" (https://play.google.com/store/apps/details?id=com.laurenceda...) which is an excellent app. One of the best designed and engineered Android apps that I use.
This is something I wanted to say in my response but left it out to avoid taking away from my other thoughts.

Circa 2013, had I been asked this series of questions, the answers almost certainly would have been:

1. Spend as much time with my friends and family as possible. Do a bit of traveling. Try to finish off seeing all the MLB parks.

2. Yes. I want to leave a legacy for my children. I figure there are a few ways to do that. Join a very promising mid-stage startup, e.g. Optimizely, Pinterest. Join a very promising late-stage startup, e.g. AirBnB, Dropbox, Stripe. Join a FAANG.

I was super hot on Optimizely back then, so I would have jumped at the opportunity to get in relatively early. With ten years to live, and a family to think of, you can be damn sure I would have given all I had for 3-5 years.

With three years to live, I _might_ have taken a moonshot on a mid-stage like Optimizely. In that case my plan would have been to negotiate a high-equity package, early exercise the first year, then quit and live the next two years of my life however. But, I never would have said that in an interview.
Creating a Video Streaming Server Using HLS
> I'm not sure what Android has on that front.

"Reddit is fun" has a very decent interface.
Lock screen/Bitlocker bypass/elevation of privilege in Bitlocker:
https://docs.google.com/document/d/1S4jU7knBG_Km_AdHXf8JyE8z...

Group policy client service - Insecure file operations causing escalation of privilege:
https://docs.google.com/document/d/1sRrftambp4gz4koVX1Qs1l1O...

And a bunch more here: https://twitter.com/jonasLyk
I worked in a large company for a number of years that had a system where you were scored 1 to 5 (1 being bad and 5 excellent).

However, it really meant you were scored as either 3 or 4 as "nobody is a five and if you were a one or two you wouldn't be here anymore". My manager and I did agree it was a silly system so we settled on me being a 4 and I set everyone who reported to me as all 4s - even though they all deserved 5s.
It's not a blessing. As bad as performance management, goal setting, and OKRs can be when it's done badly, working for a company that isn't engaged with helping you to improve is far worse. Even if you're motivated to improve on your own you'll be working with people who aren't and that's more stressful and annoying than any number of performance measurement systems.
Yes, I was thinking something like proper ratio but I don't think that's standard plus I think it's getting pedantic.

The takeaway is words are mostly a leaky abstraction, imperfect model for math concepts.

But I guess if you're a clever programmer you could call it a ThielAccuracy, or ThielRatio
Well, there's something you don't see very often these days: conservative intellectuals. The old stalwarts of Ross Douthat and the AEI. The problem is though, if you skip ahead to the conclusion:

> [T]he only thing more frightening than the possibility of annihilation is the possibility that our society could coast on forever as it is—like a Rome without an Attila to sack its palaces, or a Nineveh without Yahweh to pass judgment on its crimes

- arguing, effectively, that America is too comfortable and therefore must be destroyed? In some ways this feels like a quaint thing to worry about as a pandemic sweeps the US and police and demonstrators fight in the streets, but perhaps it explains the blase approach that has been taken to those events.
My point thing is, even dumb people think in much more nuanced terms, so this kind of reductive fake-logic argument does not work. Using it just makes you look like someone who is not able to think about real world.

You may seeming win debate, because people stop to engage. But, you wont convince neither on rational nor on emotional level, because that argument is weak.
> I think most people that use reddit are using it for specific sub-reddits, not for memes or 'shitposting'.

Perhaps. But the shear size of r/pic or r/jokes makes me doubt that most people are there for "serious business". Yes, I understand that you can subscribe to many subreddits and that you can sub to r/jokes AND r/serious-topic-with-serious-people. I'm just skeptical. Reddit is trying to be for the masses. Most of the time people spend on their phone is to look at cat pictures. I'm not passing judgement necessarily. It's just what everyone I know does. They read news, check Facebook, and then pull up TikTok/Snapchat/Instagram and look at funny pictures.

I still visit particular subreddits. I never visit the front page- not even "my" front page. I go to exactly whichever subreddit I want to read from at the moment. Maybe lots of people are using that way, but it's not what I see in my bubble. Again, I could be totally wrong.
It looks like a total waste of time.

As a developer of internal web apps, it is apparent what I must do next to serve my users, in the next week, month, quarter, year --- I have a long to-do list! It is also apparent what I must do to serve my team, in the next week, month, quarter, year. (I get rave reviews from both, unsolicited.)

The goals that cascade from the executives are laughably vague and obvious: cut costs, increase revenue, reduce maintenance, get to the root of recurring problems, please the customer (of course they phrase those things with your typical multisyllabic jargon). So what the process ends up being is taking my goals that I have already got and writing them down in another place (a shockingly flimsy and probably expensive web application they bought from a vendor) using certain words that they like. It is a total waste of money and time (which, ironically, is counter to at least two of their supreme goals).

Let me be clear. While it is theoretically possible that the executives know of a problem or need at the company that I don't, and when they share their company-wide goals it would be news to me, this has never happened. There has never been a time when the yearly goals come out and I say, "Oh, well, now that you put it that way . . . "

On the other hand, I must be above average, because there exist many at my company who, left to themselves, would sit around and do nothing, or worse. Presumably this whole ceremony is in reaction to their behavior. In my opinion, such people should be fired, not babysat.
If there is an engineer afterlife, then we got some serious hell to pay for how wasteful we are collectively.
> I don't find `man git` to be bad at all. Git is complex, and its man pages do the right thing by referring to sources for basics info like giteveryday, and referring to in-depth guides as well. Individual man pages are also pretty good, see `man git-rebase`. It starts with an overall explanation of what rebase does, with examples, and then covers configuration options and flags. It's a lot of stuff, but it's pretty good as far as documentation goes.

Having used both Mercurial and git, it is my general experience that Mercurial has a much better documentation system. Git's documentation has improved, but mostly only in the more-well-used commands; when you want to reach for more exotic stuff, you start to find that the documentation is too full of jargon.

As a recent example, I wanted to get a list of files managed by git. Since I know mercurial best, I wanted the equivalent of hg manifest. Its documentation is thus:

> hg manifest [-r REV]

> output the current or given revision of the project manifest

> Print a list of version controlled files for the given revision. If no revision is given, the first parent of the working directory is used, or the null revision if no revision is checked out.

This is unusually bad documentation for mercurial--the short description and command name are reliant on jargon, and it's not aliased to "hg ls" or something like that. Okay, how about the equivalent git command? git ls-files looks promising. Here's its short description:

> git-ls-files - Show information about files in the index and the working tree

But its description is, um:

> This merges the file listing in the directory cache index with the actual working directory list, and shows different combinations of the two.

Mercurial suffers from a bit of jargon, but reading its description would enlighten you as to what it does without understanding the jargon. Git's documentation here starts with jargon, and then doubles down on it so that the more I read, the less sure I am about what it actually does. [In the end, by actually running it, I did verify that it's basically the equivalent of hg manifest].

Now both mercurial and git have a glossary (help glossary), but I've never seen anyone actually point a newbie to either one. Of course, here you can also see the world of difference in the documentation quality. Mercurial's glossary entry for the jargon term "manifest" says:

> Each changeset has a manifest, which is the list of files that are tracked by the changeset.

Now compare git's glossary entry for "index":

> A collection of files with stat information, whose contents are stored as objects. The index is a stored version of your working tree. Truth be told, it can also contain a second, and even a third version of a working tree, which are used when merging.

... and that is why people like me say that git suffers from poor documentation.
You just wish that the focus in dating shifted from being attractive to being financially stable.
Jelled Teams and Old Neighborhoods
America, land of horrors.
A battery-free Game Boy that runs on the power of sunlight and button-mashing
Last company I worked with used OKRs, but in their own "unique" way. Senior management was always 3-4 weeks late with the company wide OKRs, so the OKRs for individual teams would either be wildly divergent from the approved company direction or they were switched mid-quarter to align with the company OKRs.

Nobody ever checked the progress of the OKRs either, not even at the end of the measuring period and not even to calibrate the realism of the goals for the next measuring period. Once, when asked at an all hands meeting by the person who had been designated "OKR champion" a year earlier, the CEO answered he had forgotten about it but that OKRs were certainly still on.

I think the most success was had by a single guy who had managed to get "increase twitter followers" on his personal OKR list. Not for some company account btw, for his personal twitter account. It was continuous hilarity, but I don't regret not working there anymore. Whatever system you use, take it seriously.
If only there existed ways of cleaning things.
>This is true, but it's not the entire truth either. Most congressmen don't have access to the really sensitive intelligence that comes from these surveillance operations, so it can't be that useful to many of them.

Pretty easy fix is to make it illegal for them to not have the info. Then again I would prefer laws entirely removing the idea of sensitive information from the government. It is like a gun. A useful tool, very important for defending yourself, but those who have abused it in the past lose the right to it no matter how useful it is. The government has abused secret information in the past and as such should no longer be alloweed to have it. I rather we didn't have spies than to have the same laws protecting spies also cover up and enable child sexual abuse.
Some ideas for improving music streaming
What I was taught in school is that "percent" doesn't refer to 0 - 100, it refers to 0% - 100% which is equal to 0 - 1 (not really a conversion, actually equal).

As 0% and 100% aren't floats (they're more like formatted values), seeing AccuracyPercent in the question had me thinking there was nothing more accurate.
I've never worked anywhere where the annual review wasn't an almost entirely fictional process. It's totally subjective finger-in-the-air stuff. Often to my benefit, but I recognise that it's subjective.
Situations to Test the Strength of Your Mobile App
Very belated followup. Apologies.

That's a pretty good rant. Very Donald Norman. Know that I mostly hate rants about UI, ergonomics, design.

The follow up is pretty good too.

I've long had some notions about incorporating haptic and tactile stuff (I'm not saying "feedback") into the communication channels. Alas, I've never had the gumption to execute.

One very old notion was adding physical feedback into the mouse. A clicker/knocker, so the mouse would feel like it was passing over a bump. And one of those whirly things to make the mouse buzz.

Someone's actually done the physical part. But I don't think anyone has integrated it into the UI/UX.

Certainly nothing as sophisticated as Apple's trackpad.

Any way. Thanks for sharing.
Sometimes you're the tree. Sometimes you're the bread. Sometimes you're the staple holding it all together.
That's an interesting hypothesis. Is there objective evidence that humans need an order of magnitude less samples? One anecdote to possibly challenge you is that it takes a toddler several months to walk.
Why use Django when Flask is so much simpler and has less overhead?

For just a REST ML model endpoint, Flask does everything you need, and no more. It's a perfect fit.
The one thing that all the negative commentary fails to acknowledge is that even in the face of this somewhat overstated inconsistency across all these command line tools and applications, is that for the knowledgeable and motivated, it is quite simple to wrap the more complex invocations in simplified scripts or, at the other extreme, a completely functional native GUI.

They also fail to acknowledge that contemporary unix, aka Linux in it's many derivations and flavors, is entirely malleable at the source code level by it's users. That is a feature provided by literally no other operating system that is deployable at scale, and is, in fact, the singular feature that drives it's adoption -- not only is it 'free', you can hack it together in any fashion you damn well please, and you can use it to build peer-grade native applications, typically with little more than a tip of the hat as 'overhead'.

tl;DR:
Some folks might miss the point because they are not sufficiently motivated to engage the *nix world with the degree of articulation required to tap into it's less than casually accessible capabilities.
And more reading on this matter, relevant to CCleaner's supply chain mishap:

https://www.wired.com/story/inside-the-unnerving-supply-chai...

Something like Bleachbit seems more reputable, but not necessarily immune from similar attacks, but it's what I use instead of CCleaner.
Red Hat really has gone all in on cockpit as well. It is very polished and pretty full featured, and continues to improve. Also very easy to setup on RHEL installations. When you login the MOTD actually has instructions on how to enable cockpit, that's how hard they're pushing it.
Russia's potential coronavirus vaccine shows 'no serious adverse' effects
This is original comment: "You can't create a world movement if all your means of communication are non viral."

This is original contra-argument: "there were no religions before the internet" followed by example of "French revolution" and various "religious movements, cults and sects, many very short lived and some long".

It is not fallacy to point out that none of these things was the kind of "viral world movement" original comment was clearly talking about. For that, non viral communications are not enough.
In Poznan, Poland, eight clams decide if people in the city get water or not
Drucker never actually said that, though it's been attributed to him frequently. I found this blog interesting, and they link to the Drucker Institute if you'd like something more authoritative.

https://medium.com/centre-for-public-impact/what-gets-measur...

Similar quotes are often attributed to Deming. He never make this claim either.
While MI2s ending gives this impression, MI was planned as a triology, where in MI3 the secret of monkey island should be revealed. (Un)fortunately Ron Gilbert left after MI2 and took the secret with him, never to be revealed.
My arbitrary suggestion for what I sometimes use in coding is "stage". As in "what stage has the animation reached?". At least it's short! Crops up a lot in gaming and graphic code.
I loved Maniac Mansion,Day of the Tentacle and Zack McKracken. A modern game that may be comparable is "Trover saves the Universe" by Justin Roiland, probably best played on the Oculus Quest. I haven't had that much fun playing a video game for a few years.