skysight-inc/HackerNews huggingface dataset:
> Hmm, forgot about that style. Where you only have prefix await, .then() can end up nicer

Mind that in this example the then is a little nicer only by chance that the continuation is quite trivial. If you'd need something more complex than the single function call it is annoying and if you do any later change to this code, you likely have to change this as well.

I typically go to the multiple lines, but wanted to show that there is a kind-off suffix await.

I am not used to suffix await, as i like to spot the places where i jump out of the coroutine easily. But maybe that would change if I'd use languages with suffix await more :)
Always nice to see people mention radio stuff on HN.

Just a quick remark, I believe Hellschreiber is transmitted as a single line, just displayed as multiple in order to get around the skew caused by timing differences.
The West and India seem to get along much better than the West and China.

Is that simply because India is weaker? Or is it because India and the West are closer in values? India has a pluralist political system; China doesn't.

(There are of course some doubts about what direction India is going in given the Modi government, but even given those concerns, India still has far more of a pluralist political system than China does – BJP is in opposition in 7 state legislatures. In China, opposition is illegal.)
WOW! That’s a really cool list! https://www.dgcustomerfirst.page/
I try and get my mentorees (is that a word?) to read and write up their "favourite" python modules - just for the exercise in reading and style.

I ought to do more of it but I think this ought to become a thing - a sort of nutshell guide to different modules.

I think this should be something between the manual and pymotw
Even if humanity wasn't able to manufacture 12b vaccination doses in time for the winter (success of the vaccination program), mRNA still undoubtedly proved itself as a technology (success of mRNA as a vaccination platform). mRNA vaccinations were faster to develop, easier to modify for new strains, and probably more effective than alternatives.
It is a democracy. People vote for elected leaders. It's a deeply troubled democracy with a laundry list of items that could make it a more effective representative democracy but that doesn't make it, say, an authoritarian government where the people have no voice in any capacity.

The efficacy of peaceful protests in enacting change is orthogonal to whether the US is a democracy "in any form" or not.
And barely legal at that. Right to protest is curtailed bit by bit year by year. It isn't a protest if you have to apply for a permit and have to stay in some "free speech zone."
I wouldn't say the fact that 6 startups that they worked on failed is their fault. A lot of startups fail.
Google-Microsoft Truce Crumbles Amid Feud over Cloud, Ad Tech
https://archive.is/QyyWH
Forgot to mention: they don’t have an HR department anymore as they are too cool for that. They do have something they call “people” that manage contract, hiring etc. but according to them it’s not HR.
I like the focus on gestures there. They're doing a lot of good work. They're really making gnome workable, the developers of gnome itself are too puritan for my liking (removing as many options as possible). At the moment I use KDE but I do like where System76 is heading.

I just wish they'd make their style a bit more mainstream. The whole "Pop!" branding puts me off. It's too deliberately 'quirky' but doesn't inspire me much confidence that it'll stay around.
Just download the library of the distributors.

E.g. digikey, mouser, farnell... etc

There are crawlers available and projects that download all information and change them according to your needs. Picture and datasheet seems kinda fringe though.

We will only buy your component if all information can be easily integrated in our design process. Depending on the design software used, we receive component libraries of available components, including step and spice files, directly from the vendor.

Any good vendor will give you his full component library for free. You can just ask them, they may even tailor it to your needs.
The thing is - if you hire slow enough but not too slow to make the process agonizing but slow enough so you fully check candidates's suitability you shouldn't have too many fire fast events.
> The second mistake is assuming that most (putatively) peaceful protests in the western world are actually the impetus for political change, and not just part of a legitimization strategy for political changes that were already in development before the protest started.

This "but protests must be peaceful!!!" attitude that persists in Western countries and grew in popularity with the '68 generation is actually reproduced by (mostly conservative) politicians these days, as it's easy to simply ignore a peaceful protest.

Just compare worker protection and social security regulations in France (where unions and people literally fight, to wide approval in society and media) vs Germany (where the population is kept docile and any protest that even only looks non-peaceful gets decried in media).
NO, you can't use jQuery!! It's against the law!!!
(proceeds to build non-interactive static page with create-react-app)

I find jQuery and Bootstrap great for fast prototyping. The thing I love about jQuery is the cross-browser compatibility. I know things have improved but I have very little faith in native JS "just working" as I would expect on all browsers.

But of course it was not designed for building reactive apps and so should not be used for that. It's nice just for fast-and-dirty UI interactions and animations.
Apparently Elon Musk lives in one of these in TX.
Would be an interesting fact so see companies adopt languages that need significantly more code to reach the same result just because some AI can automate a lot.

Thinking about generating 10 times the code you need, just because you can generate it instead of writing (perfomant?) code.
I have no idea how well Copilot will work in practice, but, in principle, imagine a huge Cartesian space where every program in Copilot's training data is a point. Call this space S. Now suppose S contains two programs P1 and P2. Copilot should be able to represent P1, P2 and any program in S that is on a gradient between P1 and P2. If you want to write a new program, P3, such that P3 is in S between P1 and P2, then you're in luck. Otherwise you'll get garbage.

This is explained in more detail in the article below; see the first section titled "Deep Learning: the geometric view":

https://blog.keras.io/the-limitations-of-deep-learning.html

In other words, Copilot should work well for boilerplate code and allow for many variations, but for anything more original it should be hit-and-miss. In principle. In practice, we'll know in a year or two, once enough people have used it. Or not even then.
Microsoft approved a Windows driver booby-trapped with rootkit malware
>Tools like this allow programmers to become more productive, which increases demand for the skills.

Well like everything in life I guess it depends? The only iron rule I can always safely assume is supply and demand.

But for programming especially on the web, it seems everyone has a tendency of making things more difficult than it should be, that inherent system complexity isn't going to be solved by ML.

So in terms of squeezing out absolute efficiency from system cost, I think we have a very very long way to go.
So you want to run fresh React on IE11?
If you receive HTML mail there is a high chance they'd triangulated you. Tracking pixels in email are only partially shut down.

If you use Gmail, you're being scanned in aggregate but busting individuals out of aggregates is .. triangulation.

How many 59 year old like me lie behind my ISP.. two or three extra measures and they can cross correlate to your visa card.

(Your card usage is being sold by everyone, bank and shop both)

Very probably the ad blocker only makes you more visible

Your browser string isn't the only way your identity is being checked online. Capabilities exchange identify os, all kinds of things.
Oh man, is this one of those units that makes way more sense almost everywhere, like 2π for the diameter instead of the radius? Am I going to start noticing that "this equation would have been much easier using the conductance" now?
In that case, if it provides real choice and the level of service required, the case for municipal broadband falls away. I find it hard to believe that any municipality WANTS to go through with the arduous task of setting up a locally bounded ISP, it's just that the commercial market has, by and large, sat on its hands - if the outcome is more choice in the market, more realistic pricing and removal of data caps that seems like a win for consumers, which IMHO is a good thing.
Apple limits email tracking on iOS 15 with one popup
Translation Statistics You Need to Know in 2021
Favorite quote:
"(...) so that the information security community and the general public can judge the quality of your work, which basically tricks organizations into spending a ton of money for installing Docker into a CentOS image without any cryptographic signature to verify the integrity of that image."
Long term is subjective.

But the more important point is, Amazon is a must-use shipping provider with a crappy platform. They don't give a fuck about the retail part. They diversified with AWS, Jeff plays with his billions, fights unions, tracks piss bottles, cancels or renews Prime shows, goes to space, etc.. etc.. the site at this point is almost just a cute idiosyncrasy. As long as it runs and the orders are flowing, it's A-OK. Of course there's are probably many teams working on "reforming" it. The NEW amazon.com. The redesign. The refactor. The revamp. The modernization. But all of those are just to keep people working there so they maintain the old behemoth while their project slowly gets put on the backburner (and/or gets scaled down to a small demo page somewhere that no one ever sees or uses).
I actually remember visiting your site at one point, and I think this is a case where going through a seller is a net advantage :)

I see it not really on the "shopping" experience, and more as you point out because as a buyer I'd need/want way more information than what Amazon will ever provide on a single page, and also because there is a context surrounding the product that is far far away from a "just buy" transaction.

I also see some hobby sites like Bricklink as something Amazon will never be a replacement of. Fundamentally I think specific seller sites are needed.
I dunno, giving people who might not be able to afford a masters otherwise or aren’t able to move away for two years an opportunity to get half a masters degree from home seems like a pretty big deal to me.
Aren't you back at the actor model at that point, where each thread has a message queue and can push tasks/results to the other thread's queue? That is indeed getting popular.
I imagine the act of writing a summary of the conversation rather than verbatim allows the brain to do some work to understand the gist of the meeting, which will help recall even without revisiting the notes.
My wish for them would be to really focus on being integrated with ZFS. They could really differentiate themselves by doing that.

Doing a native encrypted ZFS root system, including ZFSBootMenu style boot system. They control the firmware so they could allow you to set up remote attestation or using local security keys to do the boot.

I think that would really put them over the top.
Pakistan under pressure. PM Imran Khan
Python 201 is a great resource. I've recommended it to a lot of people. Fluent Python is also great. There is a physical version of the CPython book by Anthony Shaw.

Additionally, have you tried visiting a random page of the Python Documentation? I recommend reading about the data model [1], or the execution model [2], the import system [3], and the data types sections [4]

I also recommend reading a few of the PEPs. Some of the more recent ones which are really interesting are:

1. PEP 635 - Structural Pattern Matching: Motivation and Rationale [5]
2. PEP 636 - Structural Pattern Matching: Tutorial [6]
3. PEP 483 - The Theory of Type Hints [7]
4. PEP 572 - Assignment Expressions [8]

The thing about books is that while they're are a good introduction, you won't get these things from the books. The docs exist for a reason, and if they're not good, feel free to file a PR. However note that the Python docs are really well written :)

I also personally recommend the RealPython blog. It has a LOT of articles on the topics you mentioned. On the note of decorators btw, you should learn how to use two python functions: `id`, and `dir` [9]. They are the most powerful tools in my repertoire, and I only grok the advanced topics because I know how to use these.

References:
1. https://docs.python.org/3/reference/datamodel.html
2. https://docs.python.org/3/reference/executionmodel.html
3. https://docs.python.org/3/reference/import.html
4. https://docs.python.org/3/library/datatypes.html
5. https://www.python.org/dev/peps/pep-0635/
6. https://www.python.org/dev/peps/pep-0636/
7. https://www.python.org/dev/peps/pep-0483/
8. https://www.python.org/dev/peps/pep-0572/
9. https://realpython.com/lessons/dir-function/
Sigh - sends me back 15 years or so.

I'd prepared a 1 hour talk. When I was about to go on stage, they told me that I had only 15 minutes. So, well, I remembered one of the few things I learned in grad school: talk fast and don't give 'em a standing target.

Covered my points and finished in, yep, 18 minutes.
Building (and activating) a machine that's designed to kill, obviously violates the "thou shalt not kill" and makes you an attempted murderer the moment you activate it. But the actual moment of killing? You're literally not doing that (you could be sleeping or have forgotten about the machine, at the moment it first kills).

Similarly, building the e-commerce machine obviously can't be done on the sabbath, but if it's already running then you're not actually working.

For example, suppose you push a rock off a huge cliff. If the rock tumbles for a full week after you push it, were you pushing it off a cliff for the full week (including the sabbath)? Or did you only push it the one time on a tuesday?
> A lot of people think Amazon saw buying and operating Whole Foods as a way to learn about the world of groceries and then to use that knowledge to launch a larger, more mainstream grocery chain. Now the company may be taking its first steps toward doing just that...

Learn the domain then leverage that knowledge. Sounds like this is about to be a canonical case study in business schools a decade from now.
Ask HN: Will you take the Covid vaccine?
It's due to EU protectionism and bureaucracy, not Brexit.

The only apparent Brexit related problem is getting the non-profit status.
> DocC creates a Vue.js web app

This is the main problem with web that people are raising.
Something as simple as documentation, that obviously should be a collection of static pages, is now a web application.

You don't need React, Vue, Angular, Ember, etc. What you're building now might not be web application.
Doesn't look like it, see https://github.com/JosephDuffy/DocC-netlify which is the example linked in the article. The author treating the archive as a folder with static files in it, and using the URL rewriting DSL to do full service.
Pop_OS is downstream of Ubuntu, so it would be especially odd for a regression to occur on something as low level as support for a specific Ethernet card. Which Ethernet card is it, specifically?
I really don't like that default dock. It's thick and wide while serving no purpose other than showing app icons.
I won't be injecting any mRNA to loose a few kilos anytime within the next multiple decades.

Metabolism is complicated and there are some really nasty and weird metabolic diseases out there, based on some small regulatory feedback loop being broken. Don't fix a working system!

If your weight bothers you, just go for walk or a swim once in a while. Have a salad.
Windows 11 Insider build: What's new?
Chinese online grocery firms Dingdong, Missfresh have a tough IPO
There's been similar concepts in Europe for decades:
https://www.alucasa.com/viviendas-residenciales
Cryptanalysis of Meow Hash
past and present in fact, is happening yet and is a really bad idea. Some things must not be left to script kiddies.
Why HR tools are must-have for every business
HR specialists face so many challenges and only custom software can help eliminate them.
It's not about delayed gratification - it's about predictability.

I know what I'm doing tomorrow if I can afford to wait for a delivery.
What will I be doing on a random day next week? next month? Less so!
You may wish to look into whether your editor/IDE's git integration already offers this feature (I believe git-gui also has it). It's much more efficient than having to copy/paste hashes back and forth and scrolling through the file every time.
Many legit sellers – big names in all sectors – use the listings merging feature, from kindle books that are almost unreadable to network equipment that has variants with very different qualities. In many cases, Amazon is the seller.

As a customer I find it infuriating, and it feels as though it has been made more difficult over time to read the reviews for just the selected product.

I suspect that many transactions on Amazon simply would not happen if customers were better informed about what they are buying. I have no doubt that this is true across retailers – just think of all the things that have been hyped and sold that end up in garage sales barely used. It's far more common to see crap with five-star reviews than something great with three- or four-star reviews.

The feature kind of makes sense for purely cosmetic changes, like color – but even then it would be useful to have information about the actual variant.

I don't think this is some UI problem. I am quite sure it could be solved very quickly by showing reviews for the selected variant first, and then making it clear that other reviews are for other variants.

There is a way of somewhat mitigating this merging feature: Don't just look at aggregate review scores. Read the lower-end reviews. If the flaws are petty or expected, then that's great. If your variant is the worst of the bunch, you'll find out. But even with all that, it doesn't sort the takeover problem in the article.
For the sake of debate, lets assume an equal level of incompetence between contractor run projects and government run projects.

In that case at least

a) There's no need to pay extra for the profit margins of the contractor companies (and the inevitable sub-contractors they use)

and

b) The incentives of the people doing the work are likely to be closer to the original project, in that the people doing the work are in the same organization as the project.

For me, outsourcing makes sense if the organization doesn't have enough of the specific type of work to have a fully staffed internal team, so specialist services, or if they are obliged to get an external opinion (e.g. auditing/pen testing). Otherwise you're just adding more layers of profit seeking middle-people...
> The move may still not happen if the foundation can’t find a suitable country to relocate to. Ireland is out, because of a requirement for directors to be residents; France too, because of the difficulty in guaranteeing English-language services.

So moving to the EU solves some problems but adds more?
But restoring balance to a whole ecosystem may require reintroducing extinct species. If's obviously not sufficient, but in some cases it may be required.
Yeah, no. Crypto does not provide (or even support) the experience I talk about when I say "great".
I'm not sure that the West and India are closer in values than the West and China if you take a comprehensive look. And we could also look at the closeness between India and China vs them and the West. After all, neither of them are Western cultures and they have a long history of interactions.

But this is irrelevant. In general political regimes hardly matter. The US are best friends with some of the most backward and repressive regimes on the planet, and ruthlessly torpedoed democratic regimes.

It's a matter of interests. India is much weaker than China and is not assertive as a global power. It's not a threat. It also shares interests with the West, not least containing China, with fewer competing interests.

I'm sure that India and the Indian understand China and the Chinese when it comes to the struggle of freeing yourself from foreign imperialism and of fighting your corner.
How rural freelancers made internet available at flat rate across the country
Babashka and org-mode literate programming
Why not in 2235. Empty promises for tomorrow. Laughable.
“ If they can get the permission to leave, that is.”

Also there’s the no-small-matter of how they get to the UK in the middle of a pandemic with restricted flights and transit visas.
Don’t they know who they are messing with? This man took down a spy ring from their ping times ;-)
In 50 years it's as likely to be China that can sanction the US into submission as the US can sanction China. IMO much more likely. The US (and everyone that follows their contain evil strategy) is shooting themselves in the foot.
People were probably doing enterprise java development on those very laptops in 2011 just fine. Not much has changed with respect to toolchain since then. You should be fine. You will want to go frugal on software installations to conserve memory. I would do a fresh install of linux, disable all non-essential plugins on intellij or heck, even install an older version from 2011, and disable multi-process mode on firefox. If possible, get 32-bit versions of softwares to conserve more memory.

You gotta do with what you gotta do. I'm not sure where you are from, but people in third world go through education with much lesser. And in other fields where hardware can be super expensive or inaccessible. Making smart use of what resources are available is very much an integral part of learning.
The fix for the first point would be local loop unbundling. Statutory rates for leasing access preserves the incentive to continue investing in infrastructure. This allows for competition without requiring a duplication of last mile infrastructure requiring huge costs. And without giving a significant advantage to a government endorsed group over private companies
You can easily modify the code to bypass MusicBrainz, and use Discogs as your source instead.
There’s a movie about it, with Cliff Stoll himself on the lead role.
For PGP keys, I've managed to replace my usage of Keybase with Keyoxide.

1: https://keyoxide.org/
2: https://codeberg.org/keyoxide/keyoxide-web
What if a software glitch evolves in future?
Mentees :)
The idea that the Foundation wouldn’t be able to find English language services in France is a bit of a stretch. I’ve been working in tech here in France for a while now and whether in startups, tech companies, or independently, I’ve never had any trouble conducting business almost entirely in English if I (as the customer) preferred to.
Ask HN: How would you make a payment processor web/app technology wise?
You are about to start a payment processor startup like Stripe and Paypal, what technology would you for what part use and why?