skysight-inc/HackerNews huggingface dataset:
I am not familiar with C++ templates, but isn’t this a similar ambigious pattern? If the compiler doesn’t evaluate the sizeof’s before parsing, there are still more than one equally logical ways to parse it.

Nevertheless I think the C# way of choosing generics over comparison without semantic processing is strange. The example above should run as intended (as a simple function call with two arguments) and not fail because of some spec rule.
Note that this just a draft/proposal. And there's heavy activity on the mailing list.

With that said, this has been suggested and discussed many times in the past. I imagine this will be as controversial as the walrus operator[1] was.

[1] https://www.python.org/dev/peps/pep-0572/
I'm not sure what that's supposed to mean.

You might think there is some nuance because the areas with risk of Islamic separatism are not _necessarily_ the same as the high-crime areas where the police cannot easily go. But in practice they definitely are. It's not a pleasant situation, but it's the situation.

I can give more background if you are interested, but it is a well-studied problem with no solution in sight.
Are you thinking of income tax as the only tax that exist?
Google, Amazon condemn Trump order cutting off foreign worker visas
If you do the math on best-case costs for some of Google's AI projects they've been spending tens to hundreds of millions worth of compute on things like training StarCraft bots, so I wouldn't be surprised if the industry as a whole is throwing $50b USD worth of compute at various tasks every year already. If you're a company like Amazon or Google using your own fleet for it you're not actually spending that much money, of course...
I am slightly confused by your comment. Why do you say my opiniong will change in time? It has been the same over 8 years now and it just seems to get stronger and stronger.

"You do not need to store centralized user data to run a sustainable competitor to Google Analytics." That was exactly my point, right? Any platform that is hosted stores centralized user data (as they control all the servers), so self-hosting is the only way to decentralize the data. Am I missing anything?
Technically illegal but still legally protected. It's the hypocrisy of law enforcement.
USA v David Correia: Devices sent from client to attorney not privileged [pdf]
Thoughts on Oculus' Strategy
> I do not support this change since it has nothing - and I mean absolutely nothing - to do with race, racism, insensitivity or otherwise abusive behaviour.

It's fine that you believe this, but other people don't agree. Other people believe that the historically racist connotation of "master" in the context of establishing a hierarchical relationship is real, acute, and powerful, especially in the zeitgeist. Other people experience the term "master" in this context as a reminder of that historical (and sometimes not so historical!) racism, which can be painful. Or they experience it as an example of how systemic, institutional racism can persist in extremely small and subtle ways. Or both!

I don't think that people who believe these things are believing them in bad faith, or that they're claiming these things for ulterior motives. I think they're being honest when they say they're pained, and I find the arguments about perpetuating systemic racism plausible. So I think it's completely reasonable to use a different word where we can. I think it reduces suffering in the world, and I think that's the best goal that there is.
That works if

- There is only one released version in flight at any time

- You don't need to do a lot of validation before release. E.g. if you release on physical media, or need certification, or shoot the program into space and can't patch it.

Basically, it works for web software where you want (or can have) continuous deployment.

For any scenario that doesn't do "continuous deployment", I think having multiple release/maintenance branches is inevitable. In that case, master is the vNext development branch, and each major version will have a branch for stabilization/validation point releases.
Oni was/is build completely on top of neovim and oni2 turned vim (not neovim) into a library and builds on top of that.

I suppose the vscode plugin support is implemented in similar fashion as coc[1] does it.

1: https://github.com/neoclide/coc.nvim
glad to see this! though it's a shame that the proposed `match/case` is a statement, not an expression:

> "We propose the match syntax to be a statement, not an expression. Although in many languages it is an expression, being a statement better suits the general logic of Python syntax."

no matching in lambdas unless those get overhauled too :(

instead, let's get excited for a whole bunch of this:

match x
case A:
result = 'foo'
case B:
result = 'bar'

(i guess i'm a little salty...)
React in the Enterprise?
Let's discuss React in the enterprise. Today at 1PM EDT: https://www.twitch.tv/codeitlive

Happy to have questions, ideas, and opinions.
> Haber also invented the Haber process and on the whole probably saved an order of magnitude more lives than were lost to his inventions.

This is not a very good defense. He could very well have chosen not to develop those weapons. He made a conscious decision to kill lots of people, and we can and should absolutely judge him for this, independent of anything else he's done. We don't give surgeons a quota of one free murder for every ten lives saved either.

(Edit: As always, I'd be interested in constructive criticism from the downvoters.)
In an ideal world, you'd always get a fair exchange for whatever you gave away. Currently money seems to be the most versatile. I remember I rented a room from a friend. He told me that his grandfather got a 100 year lease on that apartment, with an option to buy. He never did, since the lease was incredibly low. Paying for something isn't always unfair.
The problem with investors is that they've been oversold on the "AI" part, and are expecting magic robots that will replace humans in a few years.

Remember, the key motivation for investing in AI or ML is to become a more competitive business, by reducing (or eliminating) human labor costs. That's it.

Luckily, ML has become very incorporated in the modern workforce, but mostly as part of specific tools that can eliminate easy and tedious tasks - just as intended.

So yeah, it's sad that the big investor bucks have to come from more "exciting" projects, because there's a vast landscape of problems that can be aided my ML, even though they're not as exciting as self-driving cars, robot doctors, or whatever - and don't require some monstrous deep learning model to be solved.
Well, we will have to wait for several centuries to check if the comparison really holds up. As the linked text points out, LOTR has many obvious problems, and it can be easily construed as pompous nonsense, but it is still massive, in a league of its own, etc. (As an aside, Mervyn Peake’s trilogy is 100% better literature, but who cares, basically.)
What Technologists Love More and More About Remote Work
Of course individual police officers are at fault, but it's also the entire system that is rotten. The system creates these rotten police officers, encourages and protects them, and allowed them to spread the rot.
Idk. I optimized the end-user facing part of my website heavily, while the backend part (which is used only by a few people), I don't really care. I didn't even minify the JS.
> What is it that offends you about the terms, and why?

Sorry for being unclear. I'm not offended, either. But (see my reply to sibling comment) I find the arguments that the term can be seen as offensive, and that it perpetuates a (small! subtle! but real!) form of systemic racism, essentially plausible, and I'm sympathetic to them.
I've fallen for the LitRPG genre, in all its variety.

A lot of it is very Tolkien-esque, given Tolkien's influence on D&D and its influence on RPGs that followed, but it has a different feel than the fantasy of the 70's-90's that lived deep in his shadow.
Show HN: Tiny event emitter library for Java
"The match and case keywords are proposed to be soft keywords, so that they are recognized as keywords at the beginning of a match statement or case block respectively, but are allowed to be used in other places as variable or argument names."

That's interesting. Python 3.6 had "async" and "await" as soft keywords, before they became reserved keywords in 3.7 [1]. However, soft keywords have just been added to Python more generally [2], so aren't such a special case anymore.

[1] https://www.python.org/dev/peps/pep-0530/

[2] https://github.com/python/cpython/pull/20370, https://github.com/python/cpython/pull/20370/files
If you work for free, I'd love for you to take a shot at my project! :D Nope, there's nothing in it for you, except the feeling of JOY to work on my plan on taking over the world.
Breaking into a house using a Power Bank
Facetious? Whatever gave you that idea?

Anyway, we can evaluate the permissibly of moral actions using the principle of double effect. As you suggest, we do not always have the luxury of choosing courses of action without some kind of negative side effect. At the same time, it is not morally permissible to engage in intrinsically immoral acts (sorry, utilitarians/consequentialists) nor is it permissible to intend the evil effect. We may also not use the evil effect as a means of attaining the desired good. Finally, there must be a proportionality between the good and bad effects that justifies the toleration of the bad effect.
New SwiftSystem library will be open source and on Linux
How about a brass razoo? [0]

[0] https://en.wikipedia.org/wiki/Brass_razoo
i have worked with way to many people that don't know what the navigation keys do, don't understand most of the control keys, and the only function key they know is F5.

Way too many people who have never used an actual console terminal
Ignore open IP over VHF/UHF if anyone wants a challenge I found out recently that...

People have been able to eavesdrop on homes by targeting pretty much anything containing metal coils (including appliances) with advanced HAM radio equipment since the early 1970s.
Time to Start Learning Coding: Top Best Websites to Learn Programming in 2020
Can you point to where? I can't find it, and a quick search for "resolution", "high", "quality", "def" turned up nothing. They say they lost the art assets but a bunch of pixel art tilemaps would fit that description, especially if they were composited down during the build process.
Couldn't agree with this more.

A current favorite of mine is "The Emperor's old cloths", the Turing award lecture given by C.A.R Hoare. In particular his line "The price of reliability is the pursuit of the utmost simplicity", it applies equally to maintainability and extensibility (I think these are part of what it means for a system to be reliable).

An idea I try to keep in mind while working is not to plan or build for future features but simply leave room for them (meaning don't actively prevent their eventual existence through complexity). It has taken some practice, but it helps guide to a simpler implementation.
Why is a mid-motor preferable?
Doesn't it introduce an other point of failure at the chain because of the additional torque, which is not present when having the motor at the rear?
I always thought, that having the motor where the force is needed would be better, because there isn't any conversion necessary.

So I never considered buying a mid-motor ebike.
Like why do they even need it.
> The point is the prevalence of corruption. Without some form of objective measure claiming corruption is largely meaningless, because there is nothing specifically identifiable to change.

This is particularly tone deaf in light of the subject matter of the article. I can point to specific things that happened and say "that should not be permitted" or "this is evidence of a corrupt system that is not holding itself to account." I can do this before I know precisely how often it's happening, and it would be wrong not to do that.
You should check out the “Mistborn” series by Brian Sanderson. You’ll recognize some tropes/themes but it’s really different from what I’ve usually read and the characters are absolutely fantastic. It’s 3 books and they’re a bit lengthy but it’s a self-contained, satisfying story.

Elevator pitch for you: you know the epic good vs. evil showdown where the good guys charge epically against the likes of Sauron and his evil army? Well, the good guys lost. It’s 1,000 years later and the evil dark lord is running the show. Now a team of magic wielding (illegal) misfits is planning an ocean’s 11 style heist to get filth rich and topple the evil empire at the same time!

Again, fantastic series. I was hooked just a few dozen pages in. The Magic also has a crazy interesting mechanic/rule set that makes it more of a strategy issue in some ways.
The biggest substantial concern is the .tw domain.

The data is all on Library Genesis (currently https://libgen.is/) which is very firehose-friendly (eg, the download section has top-level links to mirrors, torrents, and database dumps). And IIUC the ~35TB of data is actively mirrored fairly widely, which is awesome.

Chances are the Sci-Hub project has alternative domains lined up, and probably more than enough ideas for how to manage if all DNS failed.
why should domain names have any privately identifying information with them anyway? it's not technically required.
JPEG quality can probably be better (but slower) when using sophisticated decoder libraries. This way, a JPEG image with a WebP size may look with the same quality. But I didn't test.

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

Also, Google has a "brunsli" library, that can recompress JPEG to JPEG XL format without loss.

https://google.github.io/brunsli/
Best way to try?
So they're essentially non-functional with today's technology stack? I think it's safe to declare the entire thing essentially incomprehensible to a single person. Sure - you can understand all the basics, and achieve expertise in a lot of it, but modern software and computing is essentially fractal in its complexity. Even when you think you understand, it often ends up being an abstraction which is re-written by some routine further down, deep within some area which raises even more questions.
Banks are very creative in their OTC derivatives.
I suppose it might be worth recognizing that a social media system with access to your private messages both gives them a lot of power, and confuses users. Privacy on social media isn't really trustworthy. If you want to whisper, do it via email, where at least it isn't on Facebook's servers.

I don't say anything on Facebook that I wouldn't want on the front page of the New York Times. I don't trust either them or other users to keep it private. (I don't even like putting sensitive things in email, if I can do it in person instead.)
I wonder if this is intentional. FP constructs are increasingly discouraged in Python, taking reduce [1] as an example. Not that this is necessarily a bad thing, per sé -- I think it does simplify the language. But it's an opinionated decision that will discourage FP enthusiasm from finding a home in Python.

[1] http://lambda-the-ultimate.org/node/587
Bad Safari extensions bug with context menus
> -- The human brain has a very different architecture that lets us learn vastly more efficiently from small amounts of training data.

I think this is right, but its misleading perhaps to identify this as 'efficiency' in a computational sense - we're talking trillions of extra parameters derived in the brain from the tiny fraction of training data
That looks super good
A guide to setting up Maven for a multi-component project
Of course you can't do that - anyone infected needs to be isolated and people who were in contact with them as well.

If you want to protect old people (and everyone of us will get old eventually) is to make sure they won't get infected, simple as that.

To achieve that, many care homes here locked down much earlier than the state wide lockdown (and in some cases were already in annual flu related lockdown, same thing for many hospitals). In quite a few cases, the care personnel even volunteered to basically camp out at the site to eliminate any possibility of getting the infection in from their homes.

This has been quite effective. The few cases where the infection did get in were pretty brutal, which validates the rather drastic steps taken.
I'll take this opportunity to plug my project that I used to build plugins for Diablo 2:
https://github.com/blurt/X86.Interop/

You can use this library to interop between C# and x86 assembly under a Windows process.
Best Marketing Metrics
Hi. EU-leftist generally-pro-SJ type here. I'm a big fan of Slate Star Codex. I just sent an email to the NYT about what a bad idea publishing Scott's real name would be.

I don't think a "quick very unscientific glance at Twitter" is a very effective way of finding out what Scott's readership is like. (I suspect a fair fraction don't use Twitter at all.)
Wow, that's expensive. At that price I could buy a used 2012 Chevrolet Volt, a car that can do both short trips (up to 35 miles) on electricity, and long trips (on premium gas).

Or, of course, I could buy a cheaper regular gas car. One main benefit of a car is resale value. I'm pretty much guaranteed that it'll sell for not a lot less than what I bought it for, especially if I buy it several years used.
Are you really making a global pandemic into an american political issue? Seriously? How far in the sand is your head?

It's right there in the title global pandemic.
I find your argument to be quite disingenuous considering that the intention of the ostracism it to harm by denying job opportunities and by exclusion from social relations.

Have some decency to call your actions what they are.

If you want to harm somebody in retaliation for doing something you don't approve of, don't call it 'the opposite of harassment'.
I think this sort of thing might become much more tractable if it were possible to visualize a git repo as it actually is - i.e. a directed graph of commits (occasionally with two parents - a merge commit), with moving labels (branch names) and fixed labels (tag names). Like when you buy a small shrub from the garden centre and it has a label attached to it somewhere.

Pushes and pulls can then be visualized as two such shrubs reconciling themselves.
So this is a weird question, but I am actually serious....

Isn't all "good" literature meant to be "long dull and badly written[to the untrained eye]"? The more I think about what you said, the more I realize that the image of "nobel winning" literature that I have in my mind is by definition long, boring, impossibly allegorical and it must feel like you have to be superhuman to read it and understand it. Equally, in my mind anything that's easy and pleasant to read must be trash(because anything I have ever read that was enjoyable was dismissed later as easy-reading garbage). My only experience with "great works of literature" is of that by Polish writers since that's where I grew up, anything by Sienkiewicz or Mickiewicz is considered almost sacred, literature with the "big L" as they say, those are big names with international renown, yet their books are the most soul destroying thing I have ever read, it's just so dull. Hell, Władysław Reymont won a nobel prize(!) for his novel "Chłopi"("Peasants") yet I'd rather stab myself with a fork that try reading that again. Same with more modern authors, Umberto Eco is impossible to read unless I'm actively trying to sleep, and he's considered a "good" author.

So my immediate thought after reading Lord of The Rings was....wow, it must be good(because it's so dull to read). It's almost like pavlov's instinct at this point, years of education has trained me to think dull book = great work of art.
This article is talking about several months ago, back when our testing infrastructure was severely limited. What's that got to do with now? The hospitals were absolutely overflowing back then and the daily death count was staggering. But the strict lockdowns worked and we got it under control. Now the virus is spreading rapidly again and if it continues uncontained we will end up back in that hospitals overflowing and staggering death tolls situation again in a few weeks in the worst-hit states of Arizona, South Carolina, Arkansas, Florida, Utah, and Texas.
I expected it to stop at each floor. :(
While I mostly agree, there could be two ways:

Upfront crowd funding ala KickStarter.

Monthly subscription ala Patreon for new features, assets etc.

Could very well be a combination of the two, starting out with some KickStarter then going through an "eternal alpha" via Patreon.

Of course lots of potential issues with this, like people rebranding and pretending to be devs, taking donations for themselves etc. But in theory it could possibly work.
Disclaimer: the following method may not work if your library is public facing, as breaking changes to public API is usually a terrible idea.

Ask yourself the following questions:
* Are you an experienced developer on this particular problem domain?
* Do you have good understanding of the future use cases, and the data structure when the new feature is added?
* Will the new feature make business or technological sense?

Unless you have a concrete “yes” on all questions above, your design should go minimalistic. Without good understand of the new feature, the code base will likely need refactoring when the feature is implemented. Your effort of going the extra mile (which definitely should be applauded!) is better spent on making the code easier to read and refactor - better tests, better documentation, code review to propagate knowledge and catch bugs.

Another thing, extensibility is sometimes in conflict with readability! Here’s an hilarious example:
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
Why is it when parallels is brought up, its always "award winning" whats so award winning this point about virtual machine software.
Radio spectrum is a limited and shared resource. It makes sense that it's licensed and regulated. But compared to other parts of the spectrum, the license is cheap and easy to get and the regulations are minimal. It's a public space for experimentation. If you don't want to be seen in public, go to some other area of the spectrum.
Governors will start locking states down soon as plastic infection rates skew logarithmicly.
I feel like a curmudgeon when say this but tools that make me leave my terminal ultimately never sit well. It always feels so limiting when you hit the point where you’re digging through the guts of some framework that basically a web app packaged as a desktop app.

I see why people use it and maybe it not even a web app but I’m old enough to know vim gets me everything I need and using some ide desktop app is going to cost me more time in the long run.

For context, one of my biggest pet peeve is my dependence on desktop web browser. I wish I could actually be productive using something lynx.
I was looking into this briefly when I was investigating molten salt batteries. Can anyone who has expertise in this field tell me a bit about why molten salt batteries aren't more common? From what I can tell, the materials used are more renewable than Lithium Ion batteries, and with comparable (potentially higher) density. I can see why molten salt isn't as common in the more portable form factor, but it seems like it would be a great fit for large energy reservoir/grid type applications.
Remote Whiteboarding and Brainstorming