skysight-inc/HackerNews huggingface dataset:
> Coronavirus is not a poor-person-problem.

That's just wrong. The Corona virus is hitting poor and minority populations much harder than wealthy white communities. This is what the free market is optimized to do. It's what Trump and most Republicans in congress truly believe is what's supposed to happen! This very issue is one of the fundamental differences between Republicans and Democrats.
I spent a few hours typing this entire article into an editor just to build muscle memory and I'm amazed. It's exactly the sort of article I needed to learn Rust.
I've since thanked Amos on Twitter and I've forwarded links to his blog to a lot of people. This is a great article and does a good job clarifying things to a newcomer.
Fate of Atlantis is the game where you could knock almost any opponent out with a specific key. Later in the game there's an enemy who says something like "that cheap American trick won't work on me" if you try it, so you have to find another way to defeat him.
To me it seems like the intention is to make the seller responsible for the VAT, but HMRC has really no ability to enforce this on overseas parties with no UK presence so it still ends up being the responsibility of the recipient and/or postal service. I imagine nothing will change for the customers, apart from some shops outright refusing to sell to them, and some other shops just ignoring the rule. Then the recipient will get the VAT bill + 8 pound surcharge from Royal Mail when they pick up the package.
>visualizing boolean logic trees and all kinds of other stuff, aimed at making programming more accessible and concrete to regular people.

Here's an art analogy. You make it easier to create art by making an algorithm that takes fuzzy beginner line art that is not following proportions and has all sorts of problems and turn it into professional line art via ML. People will struggle at the far more challenging skill of choosing what to draw because it innately requires knowledge of human anatomy, perspective and many other skills beyond knowing how to use a pencil. Programming languages are equivalent to a pencil, tablet or other any input method in this analogy.
Can you expand on your question a bit more?

Do you mean:

- whether it's relevant to getting employment or upgrading your employment?

- does it help with regards to furthering your education/interest when we have so many amazing learning resources for (often for free) online?

The most valuable thing I found in doing a tech related masters was meeting people with similar interests and professional aspirations. I don't think that can be replicated online so easily. Was it worth the money or did it help with gaining my current position? - probably not.
The PinePhone is a special beast that had or still has some supply issues AFAIK (also with the higher value customs issues are more likely).

I personally had no issues ordering stuff from Pine64, albeit it did take long.
eBay website returns.ebay.co.uk is down
returns.ebay.co.uk is down for more than 24 hours
I worked my way through the entire article, typing in each code example. Took me about 3 hours.
You need to seriously read more on Rust before making judgments. You're clearly confused.

What '2 is Copy' means precisely that Rust WILL NOT 'introduce pointers where they don't need to be' - 2 is fine to 'alias' because it's a primitive type and so a copy is made when you do that, (i.e. the type implements the 'Copy' trait). However when you do that with complex types that do not implement Copy, you're moving ownership to the new variable so cannot use the old one any more.
Use Tuples in SwiftUI to Pass Just One Parameter to Any View
It also makes you google why St. Louis lost out to Chicago.
Is Time Real?
The reMarkable tablet, Supernote A5/A6 are some pretty hackable e-ink tablets.
What it takes to get through app review
What would you expect a large publicly traded corporation to write down as their beneficial owner? Maybe it’s a bit tricky for firms with dual class stock like Facebook, but for most firms the beneficial owners are their shareholders (so basically a big stake for blackrock and vanguard, maybe a few other big stakes, and a lot of small stakes).
I recommend typing out the entire article as in into an editor. After you work your way through it, try the rustling course, Rust by Example, the CLI tutorial and then read The Book.
This sounds like the same reason we have a death tax. Those that can’t afford to setup the right paperwork are essentially screwed and have to pay their fair share. Meanwhile those with teams of lawyers have the ability to skirt paying their fair share. Great.
A Comprehensive (and Animated) Guide to InnoDB Locking
It's my understanding that it's not uncommon for a, for example, doctor in the US to own an anonymous shell company based in the Cayman Islands or somewhere similar for tax purposes. Presumably the US-citizen doctor would be on the hook for the federal crime regardless of his shell company's location, and there's no need for extradition.
This is precisely what I was looking for when I searched for “Rust for C++ programmers” in the past. I love the Rust book, but I’ve always thought the common focus on accessibility for newbie programmers made it feel tedious for those who are more seasoned. I’d love to see more writing like this, maybe even for other things like libraries!
What?

If you do 'a: 'static, then you just said 'a is at least as long as 'static.

When you borrow the String, you just created a lifetime that is not as long as 'static. Variables are dropped (and hence unborrowed) in reverse order. So 'a will necessarily be dropped before its owner, hence it's shorter than 'static.

As you can see it complains that it's dropped at the end of main() even though it should be borrowed for 'static. If this was an owned value it would NOT be dropped at main() since it would be moved into the function on call.

Nothing surprising here.

> &a can live up to the end of the application

Nope. Imagine spawning a thread and passing &a but keeping 'a' in your main thread.

> bow out of this conversation thread I'm afraid

Welp I did what I could.
Best Paintball Place in the USA Wayne’s World of Paintball
What are the unintended side-effects? I understand this is probably a well-meaning legislation, but:

FATCA made it impossible for an American to have a bank-account abroad [1]

PFICs made it impossible for an American to invest in non-US funds [2]

Together with world-wide taxation, punitive departure tax when renouncing the citizenship and huge estate tax when finally passing away, seems to me that Americans are becoming prisoners of their own government.

1. https://www.democratsabroad.org/what_is_fatca_what_are_its_i...

2. https://thunfinancial.com/home/american-expat-financial-advi...
Use 'npm ci' does a clean install of the versions listed in the package-lock.json file. https://docs.npmjs.com/cli/v6/commands/npm-ci
it's running a low power nrf52. they can last a year on a coin cell battery, with adequate power optimisations. without an always on display, a week is possibly an underestimation.
for example, see the amazfit bip, it has lasted me ~45 days which even has a (low power) always on display.
By law Companies House requires that "Persons with Significant Control" be listed. PSCs are small numbers of specifically humans (not corporations) who, somehow, in effect control the company. The PSC entries are supposed to list all such humans (assuming any individual humans have "significant" control which they wouldn't at e.g. a publicly traded company) and only those humans.

The law is in practice fairly toothless, Companies House has typically insisted that it simply doesn't have the funding to pursue errors even though it's illegal to make false filings - despite a large volume of obviously bogus information in their system every year.

It did find the money exactly once in recent years, to prosecute one person. That one person was making a point of how toothless it is, by creating bogus data that was embarrassing to named politicians. What an excellent way to make their point for them.
Is it just me or is the screen not vertically centered on this device? Also the wake up button is on the left instead of the right, probably gets woken up a lot by hitting the sleeve of a coat or buttoned shirt...

These might be nitpicks but just because it's open source doesn't excuse it from poor design critique.

Tech wise looks really good for the price.
> I suppose I could be reluctantly convinced to part with $5 or $10 for the latest predictable comic book CGI-fest.

You'd probably never get that chance if prices floated; those films go out to a market that bases their social life on consuming genre fiction and for whom seeing them is not optional. Prices would shoot up to $40 a ticket, and marketing would just be laser-targeted towards that audience, who would pay like putting money into the collection tray at church. Kickstarter has proved that 5-10% of that audience would be willing to pay multiples of that (2x to probably 50x) extra without anything in return but exclusive tokens that are evidence that they paid.

IMO, mostly middle-of-the-road, highly-competent directors like Fincher would be in trouble in that world, since they are both going for a general audience and relying on a general media narrative of genius and award potential to market their films. Genre movies withdrawing from general reviewers and general marketing (like awards shows) reduces the impact of those awards, and leaves them as a de facto genre themselves - like mainstream literary fiction. Maybe able to crank out one or two films that crack the top 10 every year and barely self-supporting on average; highly dependent on government and institutional support.

Talent graduates from mainstream non-genre awards-show films to comic book films, not vice-versa, which is why awards shows are desperately trying to get those films into every category, as a means to market those traditional blockbusters to genre fans.

> mass-market lowest-common-denominator marvel or transformers nonsense

So, tl;dr, IMO Fincher is the mass-market lowest-common-denominator choice, and bombastic genre trash targets a small inelastic market that would still be sustainable at a far higher price point. The number who would pay a premium for Fincher wouldn't be enough to support his budgets and marketing. Mainstream Fincher films would only survive given away for a token (or in order to market something else.) 20M people would pay $60 for The Avengers 8, but 400M might be willing to pay $3 for Mank or watch it for free if you put it on all of some brand's devices as a promotion (like a U2 album, or Netflix.)

Of course Fincher would be (and probably is) highly desired in genre films, so in that world he'd probably be charging $100 per to 40M fans for The Incredulous Spider-Man: Sapphire Empire's Revenge Chapter II or The New Fast More Furious 19.
> Fincher [..] is kind of like Steven Spielberg [..] just gets a bit more respect because he is "dark"

So he's a great director like Spielberg - but he's in a different genre and willing to tackle less family friendly subjects. Sorry was this meant to be a criticism?

They're both great. Get off your high horse. Great cinema is great cinema. If you can't appreciate them both, there's something wrong with your taste in movies. Sounds like you don't like them just because they're popular, which is lame.

Of course Fincher isn't "art house" - although Mank is moving in that direction. But he's certainly not a multiplex pleaser. There's a lot of different genres and a fan base for all of them. The challenge is finding a model that makes this work.
I’ve been surprised with what you can accomplish with data URIs. Embedding a MP4 can work great, but your text editor will likely hate it.
I think those are the criteria
Apple has a much more traditional engineering structure and traditional release cadence though. A lot of the "worst offenders" of these types of release notes are structured and work much differently. They release updates 1-2 times a week, sometimes release features weeks after the code has shipped to users, and sometimes in stretched out rollouts.

They say there if there is a will, there is a way, so in a sense I agree that these companies probably could do something about it if they really wanted to, but I also don't think it would be easy, and considering how few people actually look at release notes, I am not sure the investment is worth it.
I cannot recommend qpdf [1] enough if you want to play around with PDFs.

Aside from being an excellent pdf manipulation library it also has a mode where it outputs a version of the pdf that is much easier to manipulate with a text editor and then lets you build a new pdf from that.

Shout out to Jay who has been steadily working on it for many many years. He is the most kind, undestanding and hard working free software developer I've had the pleasure to cross paths with. Thanks for all your hard work Jay!

[1] https://github.com/qpdf/qpdf
Heck, KDE is even available on Windows (now just the applications, but at one point you could run Plasma to a certain degree IIRC).

https://community.kde.org/Windows
Alternating your "main" job with other physical work, perhaps outside, is much more healthy both physically and mentally.
I've had some limited experience with academic writing, and overall I've not been happy with it.

As a PhD student, my supervisor would want to take my writing and reword it to sound "more impressive". That was basically adding in all the pretentious jargon you are referring to. I don't think it aids at all in conveying facts in a clear and simple manner. It's completely unnecessary. More often than not it is deliberately aimed to be non-committal and ambiguous so it ends up saying nothing of any substance. That's completely intentional. There seems to be a school of thought that you should never say you aren't sure or don't understand something, and so you couch that in soft language rather than being direct. I utterly despise it, and regard it as a form of intellectual dishonesty.

Later, as a scientific software developer, I tried to write and submit a technical paper for the software I was developing at the time. I spent weeks writing in detail about what it did, along with lots of figures demonstrating its performance and behaviour. But again, after my supervisor was done "revising" it, it become a lot of pretentious waffle that said almost nothing--all of the detail and simple description was reworded ambiguously or removed entirely. If you wanted to use the software, reading the paper would tell you almost nothing of importance. It seems to me that the primary purpose of papers--to be read and to inform others for their work--has not been the case for several decades now.

In the end the technical paper mentioned above was rejected, and the reason was utterly ridiculous. The software used a 5D data model inherited as part of its fundamental design from earlier software. Deliberately done for interoperability. The reviewer was from some competitor group who had a thing about the software being unusable unless it supported arbitrary numbers of dimensions. The paper was rejected as being "controversial" as a result, despite the fact that it was an evolution of something that had been in production use for over 15 years in institutions the world over, and worked perfectly as intended. That ultimately led to losing funding and being made redundant. Such is the fickle state of academia where you aren't judged in the quality of your work, but subject to arbitrary and capricious action like this. And peer-reviewed academic publishing being used as an assessment metric for promotion and funding has led to what it is today: a bizarre meta-game played by academics which has little to do with high-quality research or high-quality publications.

I'm afraid I became sorely disillusioned with the whole thing.
It's not a bad law - but will probably catch high income professionals and small business owners who're trying to hide assets from tax authorities, shield them from legal liability or in the event of divorce etc. Sophisticated crooks will probably setup as business trading cos who will swap businesses and/or high value real estate and recognize those as revenue - and can probably use the transaction to claim depreciation and/or section 1031 tax benefits
Is not open source

https://github.com/x74353/SaveAmphetamine/issues/1
Yes, primitive types all implement Copy.

Maybe playing around with the code would help you better, because that last line doesn't make any sense:
https://play.rust-lang.org/?version=stable&mode=debug&editio...
No, Companies House also requires you to declare "persons with significant control" in the ltd company, which includes the owners. (for example, this is my company https://find-and-update.company-information.service.gov.uk/c...)
Totally fair. I'll look into that for a v2. Since the operations are RO, I don't think there's much risk of messing up the data, but I think it makes sense from a context standpoint. The application certainly doesn't need permanent access.

Although tbh, one of the reasons I had it was because I tried to orient the setup towards a non-technical audience, so I wanted a 'clickable' solution, like giving full disk access.
There are plenty of smartwatches with heart rate monitoring that have a week of battery life and 180mAh is enough for 10 days on some of them. It's obviously not enough if you're playing music or video or something like that. But if you're primarily using the device to give you notifications, heart rate, and the time, it seems likely it does last all week.
What will Cuba’s new single currency mean for the island?
Happy Perihelion HN
Happy Perihelion HN ... from now for the next six months we are getting further and further from the Sun.

But just now we are at the closest point to the Sun in our orbit.

Enjoy!
The authors bupstash[1] tool looks interesting.

I see there's an issue made for Windows support, how is that with Rust?

Unless it's doing low-level stuff like directory monitoring I assumed Rust would be quite portable?

[1]: https://github.com/andrewchambers/bupstash
The thing is I do have high expectations.

I'd be very happy with good frozen potstickers and wontons. Actually cooking them is pretty easy; I just find making them really tedious. And I haven't really found the ones I can get in Oriental markets all that great.
It often gets compared to Scala, but, personally, I genuinely prefer F#. It has that ML feel, but without quite the same "I'm trying to be Haskell but I'm trapped inside a (relatively) weakly typed object-imperative universe" identity crisis.

It also does some nice things from a pragmatic perspective. It's true that computation expressions are nerfed monads, but they're done in a way that makes unfamiliar code easier to read. I find the tradeoff to be a net gain for the teamwork story. And, while pattern matching is everywhere these days, I still think F# wears it best.
Python 3.6 was pretty much on par with 2.7 and that was 5 years ago. There doesn't seem to be any meaningful difference between python and ruby these days at all https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
I don't understand, wouldn't all of the fields after the expanded/shrunk one become misaligned?
Vite 2.0
> Is it just me or is the screen not vertically centered on this device?

It's a 3D render. The actual display seems to be more or less centered[0].

> Also the wake up button is on the left instead of the right

One could presumably flip the device and the rotate the screen rendering by 180 degrees. This is how Apple Watch handles right wrist use.

[0]: https://pine64.com/wp-content/uploads/2020/09/PineTive-DevKi...
> the wealthy have made it too complicated to tax them effectively or even find out what they are doing with their assets

Complexity comes into play on the cost calculation. Wealthy people with complicated structures doing little revenue with few or no employees may find this law onerous. Most people, including the wealthy, will be done listing themselves, their spouse and a few outside investors.
In the UK, the logic behind vaccinating old people first is that they are the most likely to put pressure in health care. If we could make everyone over 50 immune, say, the virus is a lot less deadly for the rest, and so a much smaller problem for the society.

I’m oversimplifying but hopefully the idea is clear.
The key part of modern military organization is the utilization of specialized staff officers for planning and management.[1] Even elite units still use it at the battalion-level or above. Organization below the battalion is driven by a LOT of factors which vary across nations, but there's a reason so many countries employ a division of labor for specific functional areas for which a unit is responsible.

https://en.wikipedia.org/wiki/Staff_(military)#Continental_s...
It's like we read different comments. goto11 called one an excellent director and the other talented. I get the impression they like both and that their comment wasn't...whatever you thought it was.
Kind of, i built a lot myself but since I’m not a developer I needed to outsource building an actual application (I had ported a sort of MVP to a platform but the limitations were too great). I hired through upwork and it’s approaching completion, a few weeks behind but with relatively few tradeoffs and I understand, in hindsight, why it became more complex than me and the developer had anticipated. He showed me some code and a few behind the scenes stuff so I think it’s likely going OK and I’ve erred on the side of good faith by releasing milestones payments but I guess within 10 days or so will be the final verdict.

The project is a multiplayer card-based games with complex rules and custom assets.(intrapreneurs-game.com)
So you think everyone invoked at Apple was conspiring to keep her there to pleasure themselves? Does that really sound likely?
True, in the absence of downvoted comments, it would just be the older ones on the bottom.
There's better use of people's outrage than rallying behind a developer giving away their time to Apple in their walled garden. The replies in the HN thread confirm a derivative of my opinion is shared by most.

And in this case, a strategy including 'move' will almost always be superior to one without. Complaining to incumbents does very little.
I wonder how this affects the beneficial owners of trusts in South Dakota (who, amongst other pretty crazy shit, can stay anonymous under South Dakotan law: https://www.theguardian.com/world/2019/nov/14/the-great-amer... )?
Motorcycle Chariot Racing Was a Real Sport
I’m super curious about pulumi — I just inherited a mess of terragrunt at a new gig and was plannning to rewrite it anyway, is it mature enough for a reasonably standard aws/eks setup?
This article feels written for a high school audience in both reading level and content knowledge, it's a bit strange.
Because you aren't meant to know what the changes are, just consume.
Jet.com is a great example.

https://youtu.be/FskIb9SariI?t=409
DFAs can't do capturing anyway. They aren't expressive enough. You can do it with "tagged" DFAs, which I believe are equivalent to transducers. In that case, I would imagine minimization would work just fine, it would just probably be ineffective. The paper that came out of the re2c project is good here.[1]

But sure, I think it's just a matter of adding features where most uses of them will result in pretty poor performance. In RE2's case, state blowup manifests by thrashing its hybrid NFA/DFA cache, which slows it down considerably and eventually will push RE2 to fall back to the NFA simulation.

And I'm actually not sure off the top of my head how complement/intersection impact the Thompson NFA construction. That has to be reasonably fast and space efficient on its own.

[1] - https://re2c.org/2017_trofimovich_tagged_deterministic_finit...
Simpocalypse – free infectious disease simulator