This is in the same area of exploration, except that my main requirement is that, visually, the QR code is a random-dot stereogram. If you align your eyes the right way while staring at it, a 3D image appears.
Other requirements, like that it decodes to something that is meaningful, are secondary.
Alok's quine work is interesting. The actual quining is trivial because the program pulls out its own image using Location.href. (The trick seems to be that when JS code is embedded in a literal "data:" URL, then the Location.href can pull out that URL itself. I'm not a JS person, though.) It looks like the hard work in this project was developing the QR code encoder using a verbose OOP approach, and then code golfing it through 25 steps to make it small.
I'm well aware that there's no absolute standards for this, but I've built a number of CQRS systems, and I didn't ever have idempotency IDs as a core tenant of the system.
What literature, or framework or ecosystem holds this to be a hard-and-fast requirement of CQRS?
Personally I've solved this problem similar to Git, modelling CQRS on top of Merkle trees so your system at least knows if your incoming edit (command|commit) is being applied on HEAD (no changes to the model since the command started) or to HEAD+n (needing to re-run some command validations, and "rebase" the incoming command).
I don't think there is any "standard" that strictly governs the implementation of a CQRS system. We just need to be aware of the nuances of the fault-tolerance aspect in distributed systems:
- idempotency is ONLY a hard-requirement if the events are transmitted via lossy channels such as network. ID is one out of several ways to ensure idempotency. If you're implementing CQRS for your distributed system then it's needed
- otherwise, if the events aren't lossy and can be processed atomically, you don't need to ensure idempotency. think implementing CQRS for your user interface where events are just transmitted between different objects in memory rather than via network
As a European reading this it sounds like the author has some kind of narcissistic take on exactly what kind of immigrants their country has and where they "belong".
Of course what the author wrote, and what I understood needn't align, we're different, with different cultural references, but this stood out to me enough that I stopped reading to revisit HN to find out if anyone else observed the same casual use of what seems like inappropriately dismissive language.
This is yeah, probably a cultural mixup. There's a fair number of people in the US who view and characterize immigrants as freeloaders, when the truth is they work harder than "natives" and our economy depends on them. And like a sibling comment says, it's a reference to a line from Hamilton, which celebrates in lots of ways the US' diverse heritage.
I'm a recently naturalized German citizen, could you say more about how I can use my Perso this way. It seems nobody uses the "smart" features.
So far, it seems like a "mini passport" and an enormous risk to carry around literally everything someone needs to know to rob and/or impersonate me, but yet we're legally required to do so.
Germany deliberately set up the authentication ecosystem around private actors it appears pretty much to ensure this would not ever happen. I use my Estonian ID to sign certs from time to time, but my kid has never even bothered to open the envelope with the codes (PUK etc) for his German Ausweis.
You’re not legally require to carry your ID around, only to have an ID. You can leave it at home without worry, although there may be situations where that is inconvenient.
As to how to use the smart features: not knowing how to use them is really what makes you German. Welcome onboard!
Adoption of the online ID function has been incredibly slow. I haven't had a need for it yet. Some online banks allow you to open an account using it. You can also file taxes with it. Most applications require a NFC reader of some kind. But there is also an official app for iOS and Android which can be used to read the ID with your smartphone.
There is an online portal where you can read more about it:
I'll have to dig up a citation. But the [] Three Mile Island accident was in part caused by (former) naval nuclear specialists making poor choices based on optimizing for the wrong things.
My memory is fuzzy, but this 37 minute video [2] has a breakdown.
If memory serves, the root causes were faults in the pumps and delays in the 28 baud diagnostic printouts running minutes or hours behind which left everyone operating on bad data.
Part of that was exacerbated by the operators applying techniques used on subs (something about preferring to keep low pressure in some vessel, because high pressure there could sink the boat if containment was lost), the TMI design didn't need this as it could vent/blow-off, and the operators became somewhat fixated on "trying to save the boat" and missed a bunch of procedures.
Of course this doesn't invalidate your point, but even if the reactor designs are really similar, it may be a mistake to cross train anyone.
(disclosure: haven't seen this video in a year or so, and am generally a fan of nuclear power considering the alternatives, but it needs to be done with different, safer reactor designs and probably with new branding because no matter what it's going to take _forever_ to convince anyone to trust nuclear, when they associate that term with the dangerous, BWR designs that were never intended for land)
Sorry if this is considered off-topic, but I mus thave surely missed something about why AstraZeneca is seemingly the only choice on the vaccine market.
I am German, we developed the Pfizer vaccine, but there is _no_ news about it, it seems like the AZ vaccine is the only option.
Is it a case that Pfizer wasn't viable, wasn't used here, or only made lucrative contracts with other countries, or is it being used, quietly without drama because they are fulfilling their obligations, unlike AZ who seems to be in the news every day.
I celebrated the success of the scientists (Turkish immigrants) who developed it, after the waves and waves of racism in Germany, having immigrants develop a vaccine helped vindicate some of our nation's political decisions to open the doors and borders, that we do in fact benefit, and, sadly now they seem to be invisible again.
I am not sure where you currently are, so maybe I misunderstand the question. Sorry if that's the case.
> there is _no_ news about it
There is regular news about Biontech/Pfitzer in Germany. Including additional deliveries based on eu negotiations [1] and it needing yearly refreshments [2].
Further, the vaccine distribution in germany is like this [3]:
The main problem with the Pfizer vaccine is that there is not enough of it. The government of my country gladly orders any Pfizer doses that are offered, but it's not enough. People here generally favor the Pfizer vaccine over the AstraZeneca vaccine, given all the bad press of the latter. Pfizer is very well known and desirable, that's not the problem.
AstraZeneca on the other hand promised plentiful quantities, and my country made plans based on those promises, but AstraZeneca failed to deliver. I guess the EU feels screwed over.
There are a couple, Moderna, Pfizer/Biontech, Johnson&Johnson, AZ and Curevac (soon to be approved as it seems). AZ is the cheapest one (Oxford has them selling at cost so far) and was seen as the most promising last summer.
AZ is getting a shit loaf of bad press, so everything AZ related is "news".
All vaccines are effective and working, Pfizer as well as AZ.
I can't remember exact values but my guess is this friction comes from the price point.
AZ was negotiated at something like less than 2 euros per shot for EU markets, and the Pfizer contracts varied wildly for different countries but it was negotiated at about 15 euros per shot for EU.
With my cynical hat on if you are having to vaccinate millions that order of magnitude difference probably matters.
What I haven't seen anyone discuss at the EC level is what would be the maths of just paying premium Israel prices for the Pfizer vaccine?
Would the economic benefits of get out of this mess as quickly as possible outweigh the extra euros per shot spent on vaccination. My guess is it would likely pay off but then again I am not a European Commissioner.
I remember the exact values, at least the ones published on public media (German ZDF):
The negotiation wasn't about the purchasing prise of a shot, but about the price to "reserve a shot". Germany spent ca. 4€ per capita on "reserving an AZ shot", which adds up to a total spending of ca. 350M€.
Just to have a comparison:
- Last time I bought a beer in a pub in Munich a paid more than 4€
- Just last week Germany spent 1.7B€ on a Syrian topic, which obviously won't change anything, neither for Syria, nor for Germany
- The lockdown - ongoing since November - costs 3 to 4B€ per week
The only one acting not like a moron in this situation is AZ: selling the vaccine to whoever pays the highest price. If the German politicians could pay the highest price, but doesn't want to, whose fault is that?
Funny fact: a friend of mine gets paid to support German R&D on measuring COVID concentration in the sewers to develop an early-warning-system. He says this money should be used to buy vaccines instead of founding some random R&D.
>> selling the vaccine to whoever pays the highest price
It does not appear the AZ are shipping vaccine to customers based on price. We know that Pfizer are, which is why Israel has been able to pay them a premium to get vaccines first.
Rather, AZ appear to have set up manufacturing dedicated to particular contracts - for instance separate manufacturing in the EU, manufacturing in the UK, manufacturing in the US, and manufacturing in Latin America. They seem to have written contracts that say 'you get what your dedicated manufacturing produces'.
The dispute between the EU and AZ is about whether the UK counts as being in the EU - in my opinion AZ appear to have taken money from the UK to build factories there, included those factories in the EU's contracted dedicated manufacturing when they should not have, and then refused to give the EU the vaccines from these factories.
This became relevant because AZ manufacturing yields are lower than expected - less vaccine than expected is being produced for a given amount of manufacturing capacity - so the bugs in their contractual arrangements have become visible.
So, I agree that AZ screwed up, but I disagree with your model of why.
> They seem to have written contracts that say 'you get what your dedicated manufacturing produces'.
It came a couple of weeks ago in the news that 29M AZ shots, hidden in an Italian harbour, waiting to be shipped out of Europe, were found by the authorities. As I said -> selling the vaccine to whoever pays the highest price.
These are murky waters - I don't believe anyone involved.
To correct what you wrote, they were found in a warehouse at a bottling plant, not a harbor, and half of them were COVAX shots that had been produced by the South American supply chain and had just come through Europe for bottling and QC.
The other half were EU shots - held back because the EU had not yet given regulatory approval to the bottling plant.
The allegation, made by un-named sources, is that AZ were deliberately delayed this regulatory approval, presumably by being slow to file paperwork. As there is obvious hostility towards AZ, it is also possible factors on the EU side were causing a delay.
I would say that, having raided a factory with great fanfair looking undeclared stockpiles, saying you found one, and then discovering it was declared and all above board, one way out of the PR problem would be to anonymously make an allegation like that. On the other hand, maybe it's true. Who knows.
With that said... once you start thinking AZ are secretly holding vaccines back to smuggle out of Europe like some Columbian cartel, you are well into QAnon teritory. They would be risking a lot to do that - they are already facing so much for failing to meet a contract, actually smuggling drugs would destory the company. Why would they do it?
What? The Biontech-vaccine is mentioned all the time in news about vaccination progress and vaccine distribution. I really wonder how you could have gotten the impression that it isn't used.
Turkish immigrants were welcomed into the country, selectively, with a planned system and for job vacancies.
Today’s immigrants are illegally crossing borders and refusing to register at the first non-hostile country. They are not using official channels, or even legal systems.
I’d just like to point out that difference since you bought the racism card into the debate competely unnecessarily.
I am in no way condoning sports piracy, or any other sort of piracy, but watching sports has become so incredibly difficult using legal means as to be virtually impossible.
I am a foreigner in my country of residence, I only own an Android smart TV (Philips, and with minor side-loading patches, all ads and nonsense are removed).
I used to run a media PC as my TV because local media options are so bad, and I cannot get "cable" because the TV corner, and telekoms corner of my apartment are opposite.
By now, it is impossible to watch MotoGP, or Formula 1 on a SmartTV using any kind of app in either my host, or home language - my choices are streaming with DRM via custom apps on some platforms (Apple iPad, desktop browser with DRM plugins), or to subscribe for €50/month to a nonsense cable package I won't use.
I maintained the desktop PC and fought with VPNs (and, the arms-race of anti-vpn, with DNS tricking from the stream host) to get a stream (Eurosport, if I recall) for a while, but at some point the VPN detection was reliable enough that I couldn't watch UK Eurosports, just EU Eurosport which didn't show the same streams.
In the end, I'm 18+ months out of any kind of motorsports, and completely lost the interest after a lifetime of being enthralled. They are killing these sports for internet audiences.
The poster can just subscribed to the 50 Euro cable package. That is the legal way to get it. The poster just won't pay the list price.
It isn't impossible to watch by any stretch of the imagination. There just isn't a willingness to pay.
Just to note that in many cases the cable package is not equivalent to getting F1 TV or MLB TV to take two examples I have experience with. Both those lets you watch the events after the fact which many cable packages do not.
Not just that... the "good" F1TV package gives you many many many streams.
At least 30 or so...in-car from every single car, the main broadcast feed, and a number of others, including alternate (and generally far better... commentary)
Yup, friend moved back to Puerto Rico after finishing his PhD and can no longer legally watch most cycling. I know there's a whole history of PR/US whatever-you-want-to-call-it, but it's honestly absurd to me that he can't pay for the same steaming package as me.
It's interesting to see how some sport leagues (from my limited understanding of MLB TV) have realized that they are all in this together. Others, like F1 also have that centralized content control, but still manage to drop the ball in parts. And then you have sports like cycling, with historical stakeholders desperately clinging to their slice of pie as everyone slowly sinks (monetarily).
There are matches here in the UK that aren't televised nationally on Saturdays due to rights, but are shown live in other countries. It's a bit of a silly situation when you can't watch a match legally that's 5 miles away but if you're 5000 then that's cool. I understand why, but this only drives people to piracy.
>By now, it is impossible to watch MotoGP, or Formula 1 on a SmartTV using any kind of app in either my host, or home language - my choices are streaming with DRM via custom apps on some platforms (Apple iPad, desktop browser with DRM plugins), or to subscribe for €50/month to a nonsense cable package I won't use.
In many cases, its impossible to watch certain teams, events, and entire sports even if you get cable and purchase every streaming app available in your area. You are left with no option but to pirate a stream or simply be denied the chance to watch at all.
What country? Formula 1 now has its own streaming service [1]. I used to stream it via less legal means previously, because the only legal way to watch it was to pay high monthly costs for some sports TV package, which would have commentators in my native language (which I don't want). I'm not interested in any sport other than Formula 1, so I'm very glad they made their own streaming service.
I visited that landing page a couple of times and had a mental "blip" because it looks exactly like a domain squatter holding page. I don't want to turn the thread into an incitement of your product, but first-impressions count.
You can reach me in private for any constructive feedback you want, but the product seems cool, but that home page is not doing you any favors.
The post solely looks at open source products, and for the author's example case (the Angular repository) it may be valid criticism.
For internal repositories we find this to be really valuable in my company, the odd duplicated branch (when we couldn't get through CI for some reason, but recreating the branch) for whatever reason will be garbage collected, and all those `[CHORE]` branches people quickly hacked up without following our issue tracking process will be GC'ed too, if not handled.
We run our (home made, with GitHub Actions, actually) bot in two stages, 30 days without activity, they get a label and a comment "stale, will be closed in 5 days, remove the stale label to prevent this", and then closure.
This works great, except when people take extended vacation, or happen to switch between teams with WIP branches that are unmerged, but because Git never really loses anything, we've never lost work this way,we just benefit from easier summaries when looking for PRs to review, and having better metrics about mean time to merge, and other factors.
There's quite some research, and even some products (I mentored a company about five years ago doing such a thing, but I even forgot their name, and don't remember what their outcome was) about this topic.
If memory serves, you don't even need to have permanently installed sensors, you can do it with a portable stethoscope kind of contraption which can detect anomalies and help to schedule preventative maintenance.
https://www.quaxio.com/qrquine/