skysight-inc/HackerNews huggingface dataset:
So the 2021 census is projected to cost twice as much as the 2011 one did, but unfortunately the cause of this isn't explored in the article. However it does note that there's "a drive to get most people to complete next year's census online".

Could it be the the UK govt has yet again had an IT project spiral into runaway costs?
The GP is probably referring to the attrs library, which is another (older) way of creating dataclasses than the stdlib way. It has an easy way to create slotted dataclasses.

http://www.attrs.org/en/stable/examples.html#slots
Would you be so kind to give an overview over it (Brazil, both banks and brokers), incl. a recommendation? Thx
That is why you don't wear purely black clothing in winter and why visibility vest are a thing (think French yellow vests). Or why as a cyclist you want reflective stripes. Funny present.
There were protests at the border checkpoints trying to reach out to mainlanders and inform them of what the protests were about, and counteract mainland government propaganda.
> But hey, if they were stupid enough to leave the EU than they're capable of doing anything.

This is quite offensive. Please don't tar the entire country with the same brush.

This was - and still is - a highly controversial & divisive subject. It was only voted in by 51.89% vs 48.11% of the population ...at the time - more recent polling suggests it has flipped (1)

1 - https://www.independent.co.uk/news/uk/politics/brexit-second...
There would probably be a much longer list of issues if ESR had converted to Rust instead, but the syntax for error returns is quite interesting. Rust and Go both opt not to have exceptions, instead they use error return values.

The original Python code using exceptions was:

sink = transform3(transform2(transform1(source)))

Making that use error return values looks quite verbose in Go, but Rust has syntax specifically for that case, making it quite manageable:

sink = transform3(transform2(transform1(source)?)?)?
Conservative News Sites Track You Lots More Than Left-Leaning Ones
> While the US is not perfect and has executed a number of immoral/illegal projects, the world order under the US seems far superior to what a world order under China could be.

Which specific part of the Middle East are you thinking of with that little gem? I'm looking at Iran on a map and they are the last stable center amongst a sea of catastrophes from Syria to Afghanistan that all have the sticky fingerprints of American influence on them. The entire Arabian peninsula is a mess hold together only by US support and stands as a real-time embarrassment of all the rhetoric out of Washington in my lifetime.

Compared to that, what exactly is China likely to do that could be worse?

The US has a bunch of stuff they can be proud of, but nobody is going to (indeed nobody is) take them seriously when their ambassadors hand-wringing about the risks of foreign spies or foreign influence. The US has been doing whatever they feel like for decades with little regard for anyone else and they have not shown themselves to be particularly honourable when there are real stakes, like oil, on the table.
> I avoid new technology, exactly because I'm an engineer.
> I wonder if that is just me

Can't find it now but there was a poignant quote or anecdote I read the other day that expresses this exact sentiment - the more you know about technology, the less likely you are to use it. I think it was in the context of e.g. smart homes and voice assistants or online tracking - if you're aware of how much data they hoover up and what can be done with that, you'd be Very Afraid.
and CHina does not do this? Bull shite
While you are not wrong, it would be naive to assume key Open Source projects are not infiltrated by the CIA.
At least in the west you get to choose your propaganda. There is no single party line all the media have to toe, and different media outlets frequently disagree vigorously with each other.
ACME wasn't the first attempt at automating certs. See Simple Certificate Enrollment Protocol (draft) and Enrollment over Secure Transport (RFC 7030):

* https://en.wikipedia.org/wiki/Simple_Certificate_Enrollment_...

* https://en.wikipedia.org/wiki/Enrollment_over_Secure_Transpo...
A browser extension should be able to change those. Or an application could hold a list of easy-to-use step-by-step tutorials.
Anyone have a link to the leaked doc referenced in the article?
1500% increase in gender dysphoria in Swedish girls since 2008 (Swedish)
In version 74. I linked this to illustrate, that features for users are made hastily, as if by "intern", to check the box and get paid. I cannot imagine a job or a student project where I was tasked to make keyboard shortcuts editor and got away with implementation that lacked ability to delete shortcut. But I get it. Since Firefox is for free, I have to either a) shut up, or b) hail it positively. There's no room for negative feedback.
Cloud Data Platform Snowflake Raises $479m at $12.4bn Valuation
That is kind of the point. If the collection of melodies can’t be copyrighted then no one can be sued for infringing on them.
I was more talking about _not just_ young people. Studio apartments/small "bachelor pads" exist outside of pure age brackets or even affordability. Something bigger might not be available if you want to live close enough to work/city centre/etc. and/or it might be more common in your culture (Japan/Europe vs. US).

In other words: I don't see why a one-room situation should be restricted to young people.
Avalanche increase in gender dysphoria in girls
When it comes to backup, the time it takes for the backup to complete is not a property that matters the most in my opinion. The time it takes to restore the backup matters, and being sure that the backup is able to restore and is not corrupted matters even more.
The issue at question is hard links for directories, not just hard links. Hard links aren’t going anywhere, whereas hard links for directories was a dangerous feature to begin with (I won’t expand on that but you can easily find explanations) and basically only there for Time Machine.

APFS has native support for COW and snapshots which is way better than the directory hard links hack. They’re just slow to port Time Machine to APFS targets.
They could claim to have removed the regulations on the shape of fruit (which don't really exist in the way they were described) and secured some kind of fishing deal and call it a success.
Also convinced me! Thanks as well.
Why do you stick with the rotary phone?

Also, isn't it easier to have a second landline phone attached vs having to play DTMF tones from a phone app?
That state machine is scary. I wouldn't dare to write it without an async/await generator.
I always thought it would save you touching the communally-used PIN pad and thereby avoid potential contagion.
I simply agree with what you said. "Computation is always free" made me cringe as well. I also felt that the initial page is abruptly stopped without giving any kind of explanation.

Then clicking next you get jumped into a new language implementation : /
For years I have worked remotely. And I think that I was more productive these days than when work regulary. All these advices I saw here, in my opinion are rubbish. Just sit down and do your work, all you need is your PC , pen and notebook. If you have difficulties to work in such manner change your job.
I tried building commerce systems in a few Vue/Nuxt js sites and figured out that building the backend part of that is in a very bad shape right now.

You either have to custom code everything or use woocommerce or Magento APIs.

Getting woocommerce or wordpress system to work as API is very difficult and poorly implemented with multiple plugins to manage register, cart, orders, payments etc.

Implementing a full blown Magento install for this is just overkill.

I looked into couple of hosted SaaS in this space and they were too new with limited functionality.

Glad this space is picking up. All the best.
or unary :D

The firebrigade and police not even a thousand clicks away.
What was the turnover rate at that place? This would have me quit within a week.
A lot of people here talk about backing up their code. I did that too. In 2003. Anyone hear of Github? It's unlimited private repos.
> And yet it's literally in cars on the road.

It is not. There is no real self-driving on the road, at least not in conventional vehicles.
Teslas autopilot is basically a collection of conventional assistive systems that work under specific circumstances. Granted, the circumstances where it works are much broader than the ones defined by the competition, but for a practical use-case its still very restricted.
Self-driving systems can be affected by very minor changes in lighting, weather and other circumstances. While Teslas stats on x Million miles driven under Autopilot are impressive, they do not show the real capabilities of the self-driving system. For example, you can only enable the Autopilot under specific circumstance for example while driving on an Autobahn with clear weather. Under circumstances with for example limited sight the Autopilot won't turn on or will hand over to the driver, simply because it would fail. Of course, this is for passenger security, but these are situations real self-driving vehicles need to handle.
Other leading projects like Waymo also test the vehicles under ideal circumstances with clear weather etc.

We'll most likely see fully self-driving vehicles in the future, but this future is probably not as close as Tesla PR makes us think.
Thanks for the explanation! I had glossed over the hard links "for directories" only bit. Thanks.
Just modified the CSS for phones, forgot to check how it was looking on phones and it was actually looking quite bad with the justified style. sorry about that, hope you liked the post thou :)
> plain old L3 latency can be worse than misprediction.

true but the instruction fetcher is driven by the branch predictor, so a misprediction to rarely executed code in practice also implies a cache miss.
> It was only voted in by 51.89% vs 48.11% of the population

It was voted for by 51.89% of the people who voted, which was 72.2% of the electorate.

It was only voted for by 37.4% of the electorate (46.5m) and only 26.2% of the overall population (66.4m).
Agreed, my only pet-peeve has been the default behavior of attaching modal dialogues to the parent window (thus preventing dragging capability, without resizing the text). This can be fixed with gnome-tweaks.
.. and then you lose your 2FA-info or are blocked because Iran.
You need also to check if your function is tail recursive.
It's hard to get any open source software finished, what with all the goat farming.

(https://pics.me.me/i-thought-using-loops-was-cheating-so-pro...)
The SVG + CSS is really clumsy combination. The SVG exists outside web technologies as vector image format, where CSS would be horrible choice. The combination of overly verbose XML and inadequate CSS, each with its own idiosyncrasies creates too much mental overhead for developers. Looking at some online examples, I would hate to work on project that uses this combination.

There is also JS animation option which has many flaws. I guess it is impossible to accelerate on GPU, it forces imperative instead of declarative animation style and you have to execute someone's code in order to show graphics/animation.

I don't think SMIL (or even SVG) is perfect, but it is still the best option for open vector graphics standard. Maybe a much smaller subset would be something all mayor players could agree to support? The transpiler to shader language would be a good solution for performance issues.
> Well airplane autopilots can avoid obstacles

Technically speaking yes. But the obstacle does need to have a working TCAS transponder! An A380 won't be able to detect or avoid a military jet for example because they tend to not be too forthcoming about their locations. Some birds, most notably the Ruppell's griffon vulture, can fly into airliner airspace topping out at 37,000 ft.

However, by general agreement, only aircraft on IFR flight plans are allowed into the airliner zone and therefore pretty much all the obstacles (not military jets or birds) do have TCAS or ATC clearance.

Lastly while some aircraft do have TCAS integrated autopilot it is uncommon. Some airlines are still operating aircraft 40 years old.
Going cold turkey to nothing for a month is not something a typical "addict" could do.
Cloud gaming compared: are any of the services worth paying for?
the cynic in me thinks the uncurrent is racial repopuation.

This census is going to be a shit show and everyone knows its racial tensions are going to be at an all time high when the data shows the great replacement is actually happening (like it or not it is in the UK).

2021 is going to be a fascinating time in the UK when this data comes out.
I just watched a talk from Bjarne Stroustrup who told about a biologist who was getting data using python. It's script had to run for 3 month to get that data.

The script was re-written and they got it right into 10 min exec time when he couldn't do it in 3 months anymore

https://www.youtube.com/watch?v=fX2W3nNjJIo&feature=youtu.be...
North Korea's internet use surges, thwarting sanctions and fueling theft
Mark Zuckerberg's Lost Notebook
Why we need a book about naming
It still aptly demonstrate the ability of the UK to shoot itself in the foot. Nobody believes that this necessary reflects badly on any individual British citizen. Unfortunately, in a democracy it only takes the barest of majorities to make bad decisions.

But to cheer you up: it's still better than in the US, where it's entirely possible to screw the country with slightly less than a majority (or even plurality).
Choosing a philosophy of life is the most important decision you'll make
Why do we even need to take a census in the age of omnipresent state surveillance? Our governments already know exactly where we are and what we're doing practically at all times, tracking our web activity, listening in through our phones and devices, reading our mail, tapping into the data servers of the few tech companies that won't happily hand over our private data directly to governments with a smile. And in a few years the mass deployment of facial recognition software and self-driving cars will allow governments to correlate race and gender to our travel and purchase habits down to the last second and foot.

An actual census seems like a quaint atavism. The UK can just ask the NSA to count its citizens and provide whatever demographic data is required, and the US can ask the same of the UK. Problem solved.
Show HN: The Progression of Coronavirus
Ask HN: How do you grow a community from 6,5000 to 100k?
We have a community of tech, creative, and digital talent. We want to use the community to help grow and invite more people into our platform, digitalprofile.com. Any ideas?
That's interesting, the few gigs I had were mostly "give us an estimate and see you never"
Polling before the referendum also had the numbers 52% to 48% (although favouring remain)[0] so I don't put much faith in polling numbers.

The fact that there is -again- a conservative majority is quite telling with regards to /either/ how much of the country can be swayed by conservative media or by how much of the population seriously wants to leave the EU. (possibly a combination).

[0]: https://d25d2506sfb94s.cloudfront.net/cumulus_uploads/docume...
Meanwhile on Google Pay, I'm unable to confirm my Capital One credit card.
> A recipe can not be protected by copyright.

Could some pro-IP person help me reconcile following statements:

1. If there was no copyright, "nobody" would write books/create art, thus we absolutely need to have copyright

2. Recipes have no copyright, but we are flooded by old and new recipes all the time.

If you claim new recipes are somehow less work a daily comic strip, thus needing less protection, please consult a chef of a michelin starred restaurant about the need of the work to come up with new recipes.
How North Korea revolutionized the internet as a tool for rogue regimes
Borg Backup is quite good. It doesn't take advantage of FSlogger, but otherwise is well designed.
It would be nice if that sort of awareness was more prevalent on HN.
Cold makes "erased" notes to appear, nothing disappears in reality.
Very interesting. I wonder if there's a link between melatonin production in the pineal gland (affected by visual perceptions of light) and endogenous DMT, also suspected of being produced in the pineal (see Rick Strassman's work)

For a long time endogenous DMT, or some other endogenous psychoactive compound, was suspected of being a cause of schizophrenia. I think it's largely discredited by now anyway.
I've never found LOC as a useful metric for productivity. Lines of code are most definitely not born equal.

So what's this obsession about it? Is it managers who can't or don't want to properly evaluate the performance of the people they're managing?
Companies don't have to care about customs controls if their products pass the controls 95% of the time.
> But the chances of something like waking up to the announcement that Microsoft is removing desktop icons in the next update and you can just install this third-party application for it (which will break with every update) are practically zero.

I get your point, but I do think this has actually occurred. Remembr when 7 updated to 8, and when 8 updated to 8.2 (I think) and when 8 updated to 10? I didn't use Windows much back then, but I really remember those three updates.

I forget which, but one unexpectedly took nearly 4 hours. Like an entire morning waiting for updates to finish, unable to use that computer, which was the one computer hooked up to the beamer, but it had to be updated at some point. I actually wrote a "windows update game" during that time, where you had to play a platforming hourglass, collecting percentages of progress. If you got to 100% it said something like "Restart to finish upgrading", then it started at 0% again, and you got ONE point. I think somebody got a high score of three.

And the first update completely changed the UI, removed the Start Menu (or hid it?), made icons into "tiles", some of which were "active" (?), which is to me a lot like you're describing. I was truly lost in Windows for a while. On all sides, not just the UI, but the settings, the folders.

And I still don't know what I have to do in Windows to disable ALL the telemetry and advertising in menus. Is it still possible? It's probably about as hard as setting up an Ubuntu install. And it's keeping me scared away from Windows, just like setting up Ubuntu seems scary to some other users.

It's not that I don't like Windows, like you say, if it were 2000 (or XP, or 7, I've also gotten used to those) ... actually you're right that 2000 might have been the last Windows that I wasn't slightly scared about (spying on me, even though what we considered "spying" in the days of XP, are like Tuesdays now).

There's this one thing that will always make me go back to Linux, however. And is that (perhaps the way I use it?) Windows has a "honeymoon" period that is one or two years, after that it just degrades in quality, responsiveness, just getting slow. And I have no idea how to fix that, clean it up, or whatever, besides installing Linux. Which makes the thing run smooth again. The only thing that seems to slow Linux down after a while, is the browser because the web just keeps getting heavier.

But I don't hate using Windows for those 1-2 years :) Especially now they got better command line stuff, who knows.
The distinction here is between code thats clear and concise or code that hacky and confusingly compact. Few people would recommend try and pack a 4-5 line function into a super complex and confusing one liner, but it is reasonable to put a 10k line class into a 20 line function. It's on us, as the developers, to make that tradeoff.

I think the spirit of the comment you replied to was closer to the "clear and concise" methodology rather than the "as short as is humanly possible" methodology.
African Tech Startup Unfairly Tilted Towards Foreigners-Kennedy Nganga Sad Story
We keep hearing every year from the Apple tech press how powerful the iPad Pro is, shouldn’t it just be able to handle compilation itself?

I say hearing because because the real world examples of this supposed power are few and far between.
I think the reason you've been having a good Hackintosh experience is solely because of the amazing Hackintosh community and the advancements that have been made within these past few years. I've been involved in that community for a little over 10 years now. Sometime back we did not have these incredible tools (new bootloaders like Clover/Open Core, vastly improved audio/storage/graphics kexts, advanced SSDT/DSDT tools & patching) that now in its current state make Hackintosh much easier and straightforward. I agree with you that Apple hasn't been actively going against the community but its definitely begun. To approach what you said about sabotaging the Hackintosh systems with minimal effort... they definitely wouldn't just start pushing software updates hunting for Hackintosh systems. It would work but it'd be feeding more into the cat and mouse games we see. (This behavior is not out of line with them... see their war on iPhone app sideloading & iPhone jailbreaking). The best approach would be to begin integrating these chips in the lineup and soon enough after some generations of new hardware and software, Mac's without these chips won't be supported by macOS. Effectively choking out the Hackintosh community silently.
Indeed! I also have a setup where the secrets come from the pass password manager, which I use with a hardware OpenPGP token. So, I get these global PIN dialogs once gpg-agent expires the PIN, which is quite annoying :(. Not sure though how to solve this nicely without making the secrets to visible to the rest of the system.
UK to make social media platforms responsible for harmful content
It is not suicidal, but probably worthy of a honorable mention in the annual Darwin Awards roundup since it was a very bad judgement on his part.

As an engineer - he should have known better than to continue to use the feature the moment it became unreliable for reasons unknown. Those kind of failure modes are extremely devious killers.
Powerful Radio Signal from Deep Space
I move a lot so i'm carriyng a nice rollable sheet of pvc whiteboard.
Venkat Rao thinks it's more the opposite, that turtle is a interesting refactoring of Berlin

https://twitter.com/vgr/status/1217153866447212544
You need to lose your 2FA device, like your phone, the recovery codes (normally in a password manager), AND the local copy of your code at the same time.
There may be some new documents available now, but the story as such seems to have been known for a while.
I first learned of it last summer while reading some of the drafts for Ross Anderson's update of his excellent Security Engineering.

See chapter 26, https://www.cl.cam.ac.uk/~rja14/book.html
This is how I understand it:

how: "reset values in the array with a loop"

why: "reset values so they don't affect the behaviour of foo()"

The first explains what happens in the code and how, which is not as important because it should be already obvious from the code itself. While the second one explains the reason this part of the code exists, why it's important, why it was written that way.
People cast their vote by not voting too, you know.

If you cast the "I don't give a shit" vote, I'm not going to take you seriously if you cry about the outcome afterwards.
Would Tesla be a heretic in this religion you just modeled? They're all about boring driver assistance, and acceptance of a low number of deaths. They don't even try Level 5 for now, and get a lot of criticism for requiring that the human pays attention at all times.
Payment providers already sell this data to the finance sector.
I think cython is already using type annotations to compile python code.