skysight-inc/HackerNews huggingface dataset:
The optimized code assumes it can read a full 32 bit value at once. So at least that is only valid on a platform that doesn't assume that 32 bit loads are aligned and the actual compiled code would look a lot worse on platforms that do.
If an app is good enough, developers and managers and "agile coaches" and such don't stop, they start doing busywork. It looks like they're working and progressing, but all they do is scare users away with by removing features, breaking workflows and more horrible stuff. You're just making money for the shareholders, nothing more. They don't care about users...
Being into motorhomes I always have this dream of a future where there is a bridge across the Bering Strait and one can drive from the US to Europe through a friendly and welcoming Russia on a well maintained highway system.

This would of course be in some sort of electric motorhome with amazing range and good charging infrastructure along with high speed cellular or satellite internet.

https://en.wikipedia.org/wiki/Bering_Strait_crossing
VAT is already a mess, even inside the EU. There's probably some business opportunity lurking in simplifying VAT for small businesses. Hell, there are probably regularity opportunities as well, if lawmakers are interested in small businesses.

I run a small business on the side, did a small project for a customer in another EU country, and got fined by the tax service for not having handled VAT properly. Now this is obviously my fault (and the fine wasn't too steep). It doesn't make financial sense for me to pay for an accountant (very small side business), but it's not easy enough to do it myself without the risk of errors. End result? People are discouraged from running small businesses.
If the tax payments are made yearly, then individual packages are not at risk. Presumably a company could do a year of trade before the UK government starts asking where their slice is.
Cromulent.
The thresholds are going to disappear soon™
When I read these articles everything always seems so understandable, but I can pretty much guarantee that I won’t remember much tomorrow.
I'd imagine they'd then have to deal with a lot of returns/chargebacks, from customers refusing to pay to accept the goods.

Simpler to just refuse to deal with the UK.
A simple plugin to create better looking “X+ Best things” like posts
AFAIK we don't know how they deal with non-compliant packages yet.

But they are not mandating any kind of identifier on UK-inbound packages to say "VAT already paid on this package", so I don't see how they could even identify non-compliant packages.
This will help understand that a lot...

https://youtu.be/SkNGxM4LRKQ
Haha yes, all lies
When you write a program, heap variables are allocated using NEW or Malloc... stack variables are local to a procedure or function, the rest are in the Var block before your code, and are neither on the heap, nor the stack. They're global to the program, or the unit.
Bitcoin breaks above $30k
George Lucas post 1976 is a mediocre director, and a worse writer. Even before 1976 he wasn't that great either - American Graffiti is a forgetable coming of age movie. If it wasn't made by Lucas of later 'Star Wars' fame nobody would remember it today.

What he is actually known for is being great at worldbuilding once, with Star Wars (beginner's luck?). Middle age took that ability away though after the eighties, like a punk band trying to be relevant in their 40s: only for hardcore fans.

And I say it regretably. I'd too wanted a great Star Wars 1, 2, and 3. That said, most modern S.W. movies are also crap. The J.A. ones were so much a blatant copy of the original story plots as to be useless, whereas Han Solo bordered on camp. Rogue One was somewhat decent though, and I hear good things about the Mandalorean...

Spielberg on the other hand is a true master...
Add Gary Kurtz to the list. He said the original plan for ROTJ had no Death Star, and Wookiees instead of Ewoks.
There is a big driver around carousel fraud here : https://medium.com/ecajournal/how-criminals-evade-vat-and-ho...
I don’t think you should have much unsafe code as a rust beginner.
You're missing that the programming environment needs to be scalable to 50 or even 500 collaborators. Arguably bash and excel struggle at scaling non trivial problems to 15 collaborators. A surprising number of programming environments do even worse, notably visual or pseudo-visual ones, but even some textual ones.
Who said I didn't get into college? Not every country works like the US, attendance has nothing to do with college admission.
if I say

a = 2;
b = a;
c = a;

There's no pointer in there, just 2.
Wouldn’t that force every small business to hire legal experts to prove they aren’t shell companies?
> Royal mail will charge you another £8

Something similar happened to me. On top of the £8 charge, I had to drive 30 miles to the depot to pay the charge. The Royal Mail refused to deliver it.
Yes, on July 1st, 2021, but they will be replaced with an unified threshold: If you exceed 10000 EUR in-EU cross-border sales in a year, you will have to charge destination country VAT. Otherwise you can continue charging seller country VAT.

Also, from that date, you will not need to register for VAT on the destination countries anymore, you can just remit VAT for all countries to your local tax office. Which is what they use as justification for lowering the threshold.

https://ec.europa.eu/taxation_customs/business/vat/modernisi...
sure, but unless money moves through them, what's the harm?

The could have done it so any one person can only have "shell" companies up to the point when x million is moved through them in any one given period.
^ this. It’s par for the course who anyone in tech at a large corporation who’s not naive or looking at life thru rose colored lenses. You are a cog in their machine, an employee number that either is a cost or profit center. Nothing more
This behavior design choice is exactly why I use caffeine :)
We have the same thing in the UK, Companies House. Anyone who is a director has their address in public. It doesn't generate much spam though as we don't do phone numbers or email addresses, and companies who spam people who aren't opted in to spam can be fined.
> “Visual, musical, and literary art created by human artists typically involve a collaboration between human and machine intelligence.”

What about the cases of virtual divas, such as the OG from Vocaloid, Miku Hatsune, and now the whole section of vtubers, such as Hololive? Seems like it hits that spot, although still a tiny niche.
11GB!
USA relative posted us (UK) a vase he handmade, new hobby. Marked as gift but put $100 as insurance value. That's more than £18 so customs charged us 20% vat plus £12 processing charge. So became rather an expensive gift. If he had not marked it as gift we would have also paid vat on the 50$ shipping!!! (Why is USA postage so much). So items from abroad can suddenly become very expensive. In the plus side books are tax free in the UK which is nice.
>Through an expansive iPhone 12 lineup coupled with a flagship killer in the form of iPhone SE, followed by joining hands with small businesses(by halving the App Store tax) and the M1 Mac, Apple clearly defied norms and expectations in 2020.
Mandarin Diamond: Mandarin diamonds are not solitary
If you have a couple of mandarin diamonds at home, you surely noticed that you didn't have to wait long to see chicks being born. Indeed, the zebra finch is a bird that reproduces quite easily and quickly. You will have to think in due time if you have enough space and time to offer to all these little birds.
I'm a product designer, and I've adopted Excalidraw as a daily tool in my workflow. It's wonderful for quick iterative exploration and collaboration with the rest of my team. Like another commenter mentioned, the messiness—or rather, variability—of the lines makes it much easier to focus on the ideas, concepts, and relationships over any level of refined design.

I've been doing this for more than 10 years and it's the first tool that achieves the same exploratory and collaborative outcomes as an actual whiteboard.

I'm a happy monthly contributor!
I appreciate that this is your genuine belief. For the record, I upvoted your response.
The european VAT systrm is very very simple. Its clear that you have never sold anything in the USA. There the taxes are much more difficult to calculate
Does anyone know if this would affect blind trusts?

https://en.wikipedia.org/wiki/Blind_trust
So the & and * can basically be left out to make ‘self’ a value from the start?
No they won’t, if not in very basic cases that can’t be generalized as a rule of thumb solution. Your suggestion bargains correctness with performance.

If you know you are reading aligned memory and you need to do it with a single word memory access, then you need to use intNN_t* and use htonl or similar functions to byteswap. There’s no way around it.
I've only had a passing acquaintance with C and C++, so I've never used aliases.

I just googled it... why the heck would you copy pointers? That's insane!

In my example, a, b, and c were variables, not pointers.
Was 2020 a Good Year?
I remember reading something about this, IIRC goods will join the VATMOSS scheme while the above thresholds apply before this happens (and the whole thing was postponed due to the pandemic). And VAT on digital services should get a threshold now
With the EU scheme the Dutch company doesn't have to register with the German or French tax offices. So while the Dutch company in your example would have to charge 19% VAT to its German customers and 20% to its French customers it only has to report and pay those taxes to the Dutch tax office.

So beyond the fee there is also an additional bureaucratic burden with this UK scheme.
CVE Stuffing
The US has gained 56 new billionaires since the pandemic began
Show HN: Map of Hope: Covid-19 vaccination rates per country
And fortunately we nowadays have validators that could be used to reject files with non-PDF/A features: https://verapdf.org/

Hypothetically a compliant reader is supposed to ignore non-PDF/A features encountered in files that declare themselves as PDF/A, so I've sometimes wondered if a cheap form of "sanitizing" PDFs would be to simply force their PDF/A flags on.
Ah, then the post should have gone farther: every coastal state, including Alaska and Hawaii, should have been bordered by each other.
Who proposed the addition of Death Star 2.0 and replacing Wookies with Ewoks? Many people have been criticizing the Ewoks because their role "doesn't make sense" and probably started George Lucas' tendency to pander to children for merchandising purposes.
This exists because terraform DSL, yaml, and Json are not programming languages and are thus tragic choices for making declarative statements
With many apps an issue for changelog writers is that often behavior is tied to feature flags, which can be remotely enabled. Thus a new feature is rolled out in the app but only visible to some testers. Only after a while it's enabled for all users. Thus app release is independent from availability of a feature.

That said "Bugfixes and performance improvements" is as useless as it gets ...
Exactly! This kind of legislature is pointless. Either fix everything at once, or don't. There's zero point in making small incremental changes that do not benefit everyone, and still allow a proportion of thugs to get away with it. It is obviously a political stunt by a government desperate to score some 'wins' on its way out.
>"Larger companies that employ more than 20 people, have revenues above $5 million and a physical presence in the US, are exempt from the act."

Ho long before few smarties pool together and form rich enough criminal enterprise that can act on behalf and serve smaller fish for some extra fee. This law is most likely just for show.
Alarming number of US health care workers are refusing Covid-19 vaccine
Top: Orwell (+copyright); Walk; Sleepy Secrets; Brain Fog+training;Cities
> There will be recriminations and retributive violence. It’s likely that some officers who participated in the decades of state sanction slaughter will face the same grisly, unceremonious end that they inflicted on others.

I'm not sure about this one, but maybe someone more knowledgeable can chime in.

I would have thought the same thing, but my wife is from Slovakia and I was surprised to learn that no such thing happened. It seems that everyone was involved in government somehow, and everybody was just doing their thing to live a decent life.

The real violence came from grabbing the new opened up market, and so trying to grab as much of the newly opened market and money as possible. Not so much revenge of what happened because of the government.

I definitely want to know if this was the case in other countries too.
The reason these bigger apps just put "Bugfixes" and "Performance Improvements" in their changelog is because when you have many teams contributing to the software not only through actual code editing but also feature flagging what features go out on what release, rollback policies etc this becomes a nightmare to fill in. Doubly so when different users are receiving different experiences.

The article says at the end: "You see? Not that hard right?". It is that hard in bigger organisations.
Your link applies to digital services only, while the UK change is for physical goods only.

But MOSS is indeed scheduled to be extended to cover physical goods on July 1st, 2021 (https://ec.europa.eu/taxation_customs/business/vat/modernisi...), and this UK scheme is indeed somewhat similar to that.

However, EU vendors only have to charge destination country VAT if they exceed a yearly sales threshold (currently 35000 EUR or 100000 EUR depending on destination country, and after July 1st 10000 EUR EU-wide).

And the EU import scheme will remain optional to out-of-EU sellers, unlike the UK scheme.
X-mas holiday coding project - my first ever web app, together with the awesome https://github.com/samsteyer. Any feedback very welcome. Thanks!
Why do the work yourself when you can ask others to do it and in return you also tax them for it?
Same with me, to learn anything I need to write it down, possibly several times.
Also I would like to point out that any package sent from UK to EU and vice versa will have to go through customs office. You will have to pay VAT at the customs office when you receive a package from UK. You will also usually pay flat rate fee for processing at customs office (to your postal service). This will affect all packages even gifts with low value (change in EU after 2020). Receiving small low value packages will be very inefficient (a 10 GBP package can have 10+ euro import duty plus fees).
UK and EU only agreed on zero customs fee - which is small compared to VAT (usually around 20%).
You mean global/static variables?

Yeah, those are not mentioned. It also doesn't mention constant storage...

That said it's not like they're the bread and butter of programming for their lack of mention to be that "odd" as the parent implies.
I'm not looking for a dick-measuring contest of which VAT system is the worst, thanks.
Wouldn’t that mean they’re on the heap by default? Your program will have to malloc something if they don’t go on the stack.

(My low level knowledge is limited, may be completely wrong)
30k USD
Yeah that's mostly on point. I have an MScA in mechanical engineering and my thesis was in robotics. I worked in industry (not robotics) for a few years but my current job is as an RA in academia.

I play with the the cool stuff all day, but pay is below industry average (for ME, don't even think about software engineer type pay).
Oh thanks guys for your help. I just need to hire 21 people and I’m ok. Phew.
Why on earth is borders and democratic control of immigration "evil"?!

HN is _such_ an echo chamber!
The VAT on digital services has had the 10000 EUR threshold since 2019-01-01. The same will apply to EU-to-EU cross-border goods starting 2021-07-01 when physical VAT OSS starts.
The parent meant that it matters for multi-word numbers, where the endianness becomes visible.

In the days of 8-bit microprocessors, the endianness became visible in software from 16-bit numbers up.

Now it might be visible only for numbers above 64-bit on many CPUs, but there is always a number size above which you must take endianness into account, even for the simplest operations, like comparing and adding.

In theory, you could choose the layout of a large number to have mixed endianness, e.g. to have a large number as a little-endian sequence of 64-bit chunks, where the 64-bit chunks are big-endian, because the CPU used is BE.

However that might make the algorithms even more complex than when you use a consistent endianness.

The endianness of a CPU is not visible in software only when the addressing unit of the memory is the same as the data register size of the CPU.

All modern CPUs have register sizes of either 32-bit or 64-bit, while the memory is addressed in bytes, so the endianness will continue to matter in the foreseeable future.
Not unless you are Bin Laden or Saddam. In that case we fudge the rules a little and celebrate the executions.
I would even say that if you're not frequently getting downvoted with no comments, then your comments are harmfully not enough contrarian.
If only there could be a webextension that would act as a meta recommender-system for HN comments that would highlight such sufficiently contrarian authors then I could quickly, heuristically read those more than average, valuable comments.
%
"I don't care who does the electing as long as I get to do the nominating."
-- Boss Tweed (19th century American politician)
Where are you located? And what did you not handle properly?

In the U.K. at least you don’t need to do or handle anything VAT-related if you have VAT-able turnover of less than £85k
Welcome to the Swiss experience!

Now would be a good opportunity to open a package forwarding service or package holding service in a neighboring country.

(That's pretty much the only way to buy goods from German Amazon etc. into Switzerland without paying those unpredictable customs fees.)
Pain+in+Lower+Back+Right+Side:+Causes,+Treatment,+&+More+|+Health+Lines
The problem is often the "bugfixes and performance improvements" are a list of 60 things, and for almost all users "there are less crashes and it is faster" is all they would want to know. How many users want to read (OK, possibly people here)

"On some versions of glibc, the 32-bit specialisation of memcpy which used SSE2 instructions had a bug when the memory being copied crossed the 2GB boundary, so in that case we now use our own memcpy"

Or "Changed some internal lists to be only be sorted when they need to be rather than eagerly sorted whenever elements are added, which speeds up start-up time".
In some (interpreted mostly) languages they are. Like some also don't have a stack at all.

But in the most common languages, there is special storages for globals, statics, and constants, which is what the grandparent means (e.g. the DATA section).
Declaring is for import duties, vat is on top of that and also applies to services
I know very little about trade law so this may be very stupid of me to ask, but if we're making it difficult for foreign companies to sell into the UK won't that put foreign companies at a unfair disadvantage compared to UK companies? Are we going to face retaliatory trade barriers from 195 countries soon as they try to level the playing field for their businesses by making it equally difficult and costly for UK businesses to sell into their countries?
Redux absolutely implements a state machine. The next state is a function of the current state and an input action. That’s the textbook definition of a state machine.
But that code isn't portable for a different endian machine. To write portable endian clean code, you want to write functions/macros named like:

cpu_to_le32(),
cpu_to_be32(),
be32_to_cpu(),
le32_to_cpu(),

etc. (and similar for 16, and 64 bit quantities) similar to what's described here: https://kernelnewbies.org/EndianIssues)

These functions will either swap, or not, depending on the endianness of the target machine, and this decision is made at compile time, so the "no swap" case imposes no performance penalty.)

That way, the intent is clear, and the code works on big endian and little endian. So instead of what you propose, which I imagine you might use via:

x = some_value; /* say this is big endian, and we want it little endian, because we're on Intel. */
uint32_t y = read_int((char *) &x);

you'd have:

y = be32_to_cpu(x);

Now the intent is clear, and the code is portable, x is big endian, and we want native CPU (whether that be big endian or little endian).

Likewise, you could write:

x = cpu_to_be32(y);

say before writing it out to disk or network for some purpose that requires big endian.

This is similar to htonl(), ntoh(), htons(), ntohs(). (host to network/network to host long/short).
Funny how people keep flagging these comments for speaking the truth about working in big tech. People seem to want to have their cake and eat it too. The rosy dreams will never mesh with reality
They understandably don't publish much. The best clues I have found are in their lead landing engineer's pre-spacex publications. This one a good one for example: http://www.larsblackmore.com/BlackmoreEtAlJGCD10.pdf

The tldr is that they find a convex approximation to the problem and use standard convex solvers to find the right inputs.

This paper[1] says that they use cvxgen[2] to generate the on-board solver code.

1: https://www.naefrontiers.org/55374/Paper
2: https://cvxgen.com/docs/index.html
As a Unionist, I really hope you don't.

Scotland, NI, Wales and England are stronger together. Our shared history is to be celebrated and we should pull together in this new chapter, not tear ourselves apart.

I wish you & your family an amazing 2021. Peace.
Now that AT&T owns Warner and HBO I expect to see tons of crossover ads: promoting the each new movie and the fact that it will be on HBO Max.

HBO will get new signups, the movie will get a marketing bill that keeps it in the red forever, and directors + actors with backend deals will get nothing.
Hehe I'd be happy to read such a changelog
Cant you just use a freight forwarder? Us companies do this with Mexico and Canada already
I automate the app deployments for our team and “bugfixes and performance improvements” is the changelog because it’s totally automated on release. Yes the automation could grab something from the commit logs but I’m not confident I’d want to expose some of our commit messages. Also recent versions of iOS have further hidden away the update ui making it very hard to find for most users, so why bother taking the time to add them manually when 99% of your user base will never see them?
Dropboxignore: It's all about the missing .dropboxignore file
George Lucas originally planned the trilogy so that the Death Star was destroyed in the third act - and the Wookies were supposed to be a primitive, arboreal species.

However, he wasn't at all certain that A New Hope would be popular enough to fund sequels (remember how risky a big-budget sci fi epic was back then,) so he essentially rewrote the entire trilogy into the first movie. When ANH turned out to be... popular (to say the least,) he wound up retelling the trilogy as he originally intended, as best he could.

And because it had already been established that Wookies were a technologically advanced species because of Chewbacca, he basically just made them smaller and reversed their names (Ewoks.)
> Just to confirm - am I reading this correctly in that, this massive corporate secrecy legislation does not apply to the vast majority of publicly traded corporations in the US? If they had just not included those exemptions, this would have been extremely beneficial for everyone right?

why would anyone go against 'all publicly traded corporations'? do you believe they are inherently evil, and should be taxed?

this law limits the depth of shell-company layers. it's more costly to add shells with this law.