skysight-inc/HackerNews huggingface dataset:
If we choose to build a business critical functionality around this eventual consistency can have dire ramifications. There are use cases that availability is the needed property of a system but there are also use cases where consistency also is, where is better to not make a decision rather than making it based on stale information.

I see this issue raised quiet often. If consistency is paramount you can make commands on certain aggregates be synchronous all the way to updating the read model. There's nothing that says you MUST have a queue in-between the event log for an aggregate and the logic that updates the read model. Use common sense.

Typically shines the most when pinpointing parts of the system that benefit from it, identifying a specific bounded context in DDD terms, but never on a whole system.

I feel like Greg Young has taken great pains to make this clear. This should be taken for granted when attempting CQRS.

Also your events will be based on a SomethingCreated or SomethingUpdated which has no business value at all. If the events are being designing like this then it is clear you’re not using DDD at all and you’re better of without event sourcing. Finally, depending on the requirements on how the synchronous the UI and the flow of the task is the eventual consistency can, and most of the times will, have a klinky feel to it and deliver a poor user experience.

If the read and write model are being updated asynchronously from the UI you're gonna have to adopt an optimistic caching scheme on the client. This is why GraphQL subscriptions are pretty much boilerplate for any client I build against a CQRS service. The Apollo client seems to handle this rather well.

Converting data between two different schemas while continuing the operation of the system is a challenge when that system is expected to be always available. Due to the very nature of software development new requirements are bound to appear that will affect the schema of your events that is inevitable.

I hereby give you permission to use the Strategy Pattern. Problem solved.

The events can’t be too small, neither too large they have to be just right. Having the instinct to get it right requires an extensive knowledge of the system, business and consumer applications, it’s very easy to choose the wrong design.

Greg Young and others have talked quite a bit about how to bound aggregates.

However the events in a event store are immutable and can’t be deleted, to undo an action means sending the command with the opposite action.

This is why bookkeeping systems have the idea of "journal entries". I haven't implemented one for an event sourced system but I can see how this might work.

Overall great post. Really enjoyed that the author took the time to walk us through all of these issues. Most are non-trivial.
Could you give your source on MCD being forced to spin out their stores? In US 90% of the stores are owned by franchisees, not MCD https://www.mcdonalds.com/us/en-us/about-us/franchising.html Why should China be different?

You said "Wang Jianlin had touted that he'd personally chase Disney from China, and that his parks would dominate instead. Disney really had no choice but to acquiesce and partner up." I pointed out that the partnership with Shanghai predated Wang's boast by many years. If you didn't mean to imply some kind of causal relationship between the two you may want to clarify.
Prosperity is a proxy for consumption. We measure it and then we pursue it. We are so convinced that we've shortened financial wealth down to wealth, and have completely forgotten there are different type of wealth. For example, spiritual wealth.

Happiness is subjective. And if the science is correct, it's independent of consumption. Western culture and power structure is wired to create financial wealth, not dismiss it.
U.S. Working Class is worse off, in absolute terms
Sure, they have the biggest cloud in the US, but it's down on Sundays.

Kidding aside, do you guys do maintenance on Sundays or is that forbidden by company policy?
They didnt really cover it in the article, maybe in the video but I didnt watch it.

I've never worked for chickfila, but I've designed a number of restaurants kitchens before.

Chickfila has a large demand for using data driven solutions. Here are some common issues restaurants face:

1. How much food needs to be ordered? Excess food ends up being tossed out, sometimes it gets lost somewhere in the back of the walkin.

2. What days will be most busy based on major events happening in the area? How is this measured? How will we inform the manager about these changes so they can have more employees during this timeframe?

3. How are we going to know which food

4. How will we know when a piece of equipment needs maintenance, or if its done at all? (Grease traps, hood filter cleaning)

5. How are we going to track the customer experience?

6. How will we prevent cross contamination during preptime using camera systems?

7. During rush hour how can we ensure fries arent going to go stale and served effectively? E.g. computer vision. Where is that data going to be stored at?

8. If a customer has had a bad food experience how are we going to track the exact problem that happened?

9. How are we going ensure data redundancy when our ISP has internet outages? Whats the backup plan.

10. How can we ensure the filets were getting from sysco or whatever vendor is the right thickness tolerance? This will affect food temperate curve graph and quality of filet

11. How can we be sure rules are being enforced during rushhour, especially with new hires?

12. How are we going to measure effectivenesd of training protocols in chickfila and get feedback from staff for improvements?

13. How are we going to keep track of all the food inventory?

14. How are we keeping track of our parts distribution for service tech (JIT equipment?)

15. How are we gojng to automate the Profit and Loss support for managers?

16. How are we going to know our vegetable supply doesnt have ecoli? What bigdata metrics are we getting from vendors for this?

17. Why are customers given X chickfila store poor reviews?

18. How will we keep track of all the information used in each store(plans, equipment, etc)

Note corporate needs to keep track of the food quality being churned out at each store. It needs to be tracked... there is alot of data. And alot of systems to house and transfer that data
There's Redis (OSS), Antirez (OSS developer), and RedisLabs (commercial company and employer of Antirez).

RedisLabs made some extra software available (nice) under a noncommercial-only license (well duh but ok), pretending some material relation between the noncommercial-use-only license and the Apache License (not nice).

The pitchforks and torches are (to 98%) about that last bit. Everyone is happy that Redis still exists and that Antirez and RedisLabs have a sustainable business around Redis. No one - and potentially especially not the Apache foundation - enjoys the bait-and-switch of using the Apache name for a proprietary shared source license.
Replace use of whitelist with allowlist and blacklist with denylist
> Typically, a DNA sequencing machine that’s processing the entire genome of a human will generate tens to hundreds of gigabytes of data. When stored, the cumulative data of millions of genomes will occupy dozens of exabytes.

100GB * 1M = 100 petabytes, not exabytes.

It's also worth quantifying the cost of storing this data. Storing 100GB on Amazon Glacier costs ~$5/year, which is still a small fraction of the total cost of whole genome sequencing.
Any license that includes the ""Commons Clause"" is by definition proprietary, it precludes incorporating the code into anything commercial and even prohibiting anyone from providing paid support for it (which seems even more extreme).

It's a set of anti-commercial license terms and is definitely proprietary by Free Software and Open Source definitions.
I don't think people changed their priorities at all. We just ran out of wood to fuel the advancing industrialization. Then figured out that the black stuff you can mine or pump from the ground burns really well. Which got us to where we are now.
Antirez discovered github was using redis by accident on a non related thread here sometime ago, and there was very little outrage.

Open source should be just about taking, if million dollar companies, forget supporting projects they rely on, can't even tell the authors something has gone wrong.

Ideally those who can afford it should throw some support to the projects they use. But clearly this is not happening, if the project becomes too important then they simply acquire the project with downsides for everyone.

There has to be a middle way that has upsides for all parties and untill that is figured out this can work in the interim.
How to build your product like a badass RPG item
You seem to be suggesting the only alternative to the App Store is a janky Apple-run Open App Store. All Apple has to do to offer an alternative is let people install Apps on their phones outside the App Store just like they can do on their Macs. People will still trust the App Store, but maybe a competitor comes along and maybe Netflix/Amazon etc use them or maybe they don’t.
Yeah - I remember in the 90s loads of people put their religion as Jedi in the UK census.

People just like to take the piss.
Trucks pay fees based on the load they're carrying...
You can do whatever you want with your iPhone too, including rooting it, or throwing out of a moving car. Apple can then choose to support it, or not. In the same way that you can buy a given make and model of car and mod it into a dragster, or a tractor if you want to. Apple sells iPhones, and own their store which you can choose to access from your iPhone, or not if you prefer. In addition you can get all of the benefits of “phone” and “app” from another platform if you prefer.

I can buy a Mercedes, and if I want to I can pay a Merc dealership $1400 parts and labor for an ignition coil when the similar part andlabor for a Toyota would be $200. I can also go to a non-Merc shop and seek repairs (and take some risks) for less money. What I can’t do is buy a Mercedes, then turn around and demand that Mercedes sell their parts at Toyota rates and claim that Mercedes has a monopoly on Mercedes.

I mean I could, but I’d rightly be an object of scorn and ridicule. To go back to the WalMart analogy, they have their own store brands as well, and they’re only sold in WalMarts. Why not force them to sell from other outlets, since they’re a monopoly in your fantastical estimation? It’s legal and frankly ethical to restrict sales that way, and a world of other options exist; it’s not WalMart mayo, or no mayo ever again.

By contrast for a real illegal monopoly see Standard Oil or AT&T. If I wanted to use the phone lines, I could pay whatever they wanted or train carrier pigeons. My access to “phone” was entirely a function of whether I was willing to play their game. It wasn’t a matter of having different choices of providers and platforms and marketplaces, it was have a phone with AT&T, or don’t have a phone.
Strange, how come there's no mention of the name's allusion to the protests on Wikipedia, if it was deliberate? (genuinely curious.)

https://en.wikipedia.org/wiki/1989_(Taylor_Swift_album)

Edit: Oh, never mind. I didn't see the sarcasm.
My post meant to say that there's reasonable discussion out there I don't have a problem with. Your post however, I have a problem with, as with the tone of many people in this thread.

It's inappropriate and it is the tone I've seen of people who have driven various open source maintainers to burnout and much worse. So yeah, I have a fricking problem with that.
What if I want to open source my code so that people can use it, but also I want to make money from it?

Why is that nothing something we should reconcile? Why is that not "sharing"?
The poster said nothing of the sort.

To make the point more directly for you, I think and I’m guessing the poster thinks we ought not to normalize certain kinds of discriminatory corporate behavior by just looking away and cheerfully admiring their oh-so-efficient tech stack.
> do we use the precious O-negative or do we carry a bit of everything and first test the patient for what can work?

Type O- is rare because being rhesus-negative is rare, but type O+ is quite common.
Ask HN: Do you use handwriting recognition for note taking?
If so, what hardware and software are you using? What setup would you recommend?
Welcome, happy to help. They're great people.
Those developers either did it for the passion, which was it's own reward. Or, much more often, they actually got paid to do it. Doing it for free and then expecting a payoff later is very different.
Finally that’s some good news
Really takes away from the credibility of the article too, that they don't know the form of the license/clause they are talking about.
AOSP is not "useless own its own". I don't know how you got that idea. Custom ROMs are every bit as capable as Google-flavored Android.
Reading files quickly in Rust
The point about real-time systems is not the your tolerance of 'blips' its about analysis of your worst-case timing requirements. This is what real-time control systems are all about.

Sure, you may be able to tolerate a 1 second 'blip'... how about ten seconds? a minute? do you know for sure how long Linux may put your process on hold for? Linux provides no guarantees at all.

It seems to me that what you are really creating is a traditional control system with web technologies and using the hype-of-the-day (i.e. edge computing) to justify it... with the corresponding increase in overhead and cycles.

This does not seem like a good solution to me, the only novelty here is the inappropriate use of technologies. i.e. you've managed to dig a tunnel with a spoon.
Why does this seem like the VC version of "...but I have Black friends"?

On a less cynical note, I guess it has to start somewhere and these folks have demonstrated how to build a business and a brand. Well, maybe not Durant, but we'll see.
Indeed, thinking about my own life, I hoard wealth because of the risk of an event such as a medical emergency, unemployment, or my kids not being able to launch their own careers.
My biggest challenge with JavaScript
I think a lot of my age group would be happy to buy such houses if there were any available. Where I'm from there are none, and if there are, they still sell for over half a million.
Python is the last language that needs a vim plugin to do folding better - `foldmethod indent` exists in standard Vim, and Python enforces indentation by making it syntactically relevant.
I use http://voip.ms
I dont get the desire for huge houses - finding a nice 1500sqft home is hard - yes the extra space is great, but I gotta heat and cool that space.

Beyond that - in 1948, radio was something everyone hard, Television was a luxury, a home phone was pretty universal, owning a car less so, even electric coffee pots were seen less often - no smart phones, tablets or home computers - though many had a typewriter. People wrote letters frequently, as long distance phone calls were a luxury.
The next step is to ban third party frameworks in apps for "analytics" or serving ads. That should be something intermediated and provided by Apple itself.

https://developer.apple.com/documentation/storekit/skadnetwo...
I'm strongly suspecting the # increased, but the volume and/or mass of wood has gone down because the "sustainable" artificial forests seem to have less mass than old growth.
I disagree that they’re “just doing the open core model”. Open Core typically is fully proprietary and provides no source access. The least proprietary open core product I can think of is RHEL, and the source they provide is heavily crippled: last I checked it’s basically a giant tarball of patches they throw over the wall every few years, with even more restrictive usage rules (try using the “Red Hat” trademark in your product and count the seconds before their legal department gives you a call). In comparison Commons Clause is very lax.

I get that Commons Clause does not meet the official definition of Open Source (which I believe they admit upfront), but it’s definitely different from “open core” and from whatever Red Hat calls their model. Since it’s something new, it seems reasonable to give it a new name. I don’t have any strong opinions about the name “Commons Clause, maybe there’s a better name for it, but I wouldn’t call this one deceptive.
Does anyone use Root? Do you need to leave the app on constantly while you drive?
Alan Watts on the Difference Between Belief and Faith
Easiest of Easiest Way to Collect Data
A Third of Teenagers Don't Read Books for Pleasure Anymore
I think everything you said is also true of musicians, artists, actors, writers, athletes, game developers, youtubers, and twitch streamers, just to name a few.

The problem for all of these categories is that lots of people want to do the job. There is basically an unlimited supply of people that like to write novels, make programming languages, play soccer, or make video games. That makes it a buyers market. "What? This iPhone game is $0.99? No way. I'll play one of the million free iPhone games instead."

For every singer, basketball player, or instagram personality that hits the big time, there are thousands that never made a dollar doing it.

For better or worse, authoring an open source library is one of those things that there is no shortage of people willing to do, so I am not optimistic about use of "business innovations" to solve this problem. If those innovations are in any way non-consumer friendly, consumers are just going to choose a different open source tool/project.
For sure, but if they benefit from it and don't give anything back, money or time, they're just freeloaders, as simple as that.

EDIT: people or corporations, same thing.
Udemy works the same way. You can buy content either in the app store or outside and it still works.
I hear you, my best times were all solo and small gang stuff in lowsec. Did a little time as a zergling in null but it wasn't for me.
Weegee is one of the greats
Then find a way to make money of it? These are not exclusive.
Nobody is questioning the economic growth from 40s to 80s (Golden Era). Its the growth (and inequality) after that period that is in question. The concern now is the economic prospects for the millennial and future generations.
Having been in the academia I can tell you that from my experience there's two main reasons why scientists are often reluctant to share their code:

A) embarassement at having other people see how bad it is. Not necessarily wrong, but bad in other ways.

B) wanting to keep an advantage by continuing to publish on top of the work already done, whereas anyone else wanting to get in on the same idea would have to first re-build the original work.
I currently use a laptop power adapter for the cigarette lighter, which is only on when the car is. The NUC's BIOS is set to turn it on when the power comes on, but I power it off manually before turning off the car. This is not ideal.

There is an external battery solution for the NUC, and I bought it! http://www.mini-box.com/NUC-UPS But I haven't switched to it yet. The big upside is that it will gracefully shutdown my NUC after I power off the car. But if I use the cigarette lighter for power, it will lose the ability to turn itself on when power is present, because the batteries are always present. NUC UPS supports using a different power connector which can turn on the PC on ignition, but I haven't had it installed in my car as of yet as that's a little bit more work, and I'd need some help from someone who knows more about the car's electrical system.

As far as fast power-on, it's a pretty high end i5 NUC with an NVMe SSD. It boots pretty darn fast, and my software takes less than a second to load once the OS is up. The slowest part of boot is that I don't want my location history easily steal-able, so it's encrypted, and I have to key in the code to unlock the machine. (I'm looking at a security key or similar to replace this step in the future.)

As a note, I'm more or less specced out what's involved in a solar power setup on the roof of my car to independently power my computer all/most of the time when the car is off and otherwise charge a secondary battery off the car's inverter, but there's no reasonable or sane reason to do it. ...But I thought about it.
You can encrypt events and throw away the keys, if data should be made inaccessible. Of course, it adds complexity. But its already being done.
Affero GPL is the license that purports to solve this problem. It's been around for a while, and it's getting some use, but I wouldn't call it popular.
Unless you're thinking about the next Silk Road, then, you're not solving the real problem here.
>giving your kids an education

Only if you insist on universities. You can get an education almost for free on the internet.
The sinophobia in these comments always makes me uncomfortable because it’s usually underlied with overall anti-Asian sentiment. It reminds me that I don’t belong in America, we still live in a white world.
People who grew up under such regimes are fairly ingenious about getting around censorship. The more the government tries to clamp down, the more people want to know and they will find ways around the censorship.

People talk. My grandmother passed down first hand accounts of her living through the Japanese occupation during WWII. There are also stories passed down from the Cultural Revolution, etc.

Believe me, the Chinese know something happened in 1989 at Tiananmen. Hong Kong has been a torch bearer in keeping memories of those events alive.

Now the better question is if many Chinese still care in face of growing prosperity and what version of the "truth" they have.
Driverless Startup Zoox Suddenly Removes CEO
This is 100% what I'm saying. I think that it does fully justify the rule that people are saying is "unfair". I have yet to hear a good argument that doesn't amount to something totally incorrect like "Apple doesn't provide any value and is just a middleman" or just an opinion like "Apple shouldn't take part of the purchase just because they own the platform" because while it may be a valid opinion, it looks at the situation from only the perspective of the 2 companies in question (Apple and whoever) and not the end-user.
Please let it be grindr
Would you please stop posting to HN in the flamewar style? It lowers the discussion and evokes worse from others. We're trying to do better than that here, and I feel like we've asked you this many times already.

https://news.ycombinator.com/newsguidelines.html
Transiting at Frankfurt airport, I didn't have to reclear security when flying from the US, but I Had to reclear when transiting through London Heathrow.

So apparently Germany trusts some countries' airport security, but the UK doesn't.
My PhD adviser was a good friend of Chandler's, and a lot of my doctoral work was based on previous work done in his lab. I'm honestly really surprised one of his students/post-docs made a mistake of this magnitude -- generating a velocity distribution which does not follow the Boltzmann distribution is not something I'd expect to be a result of code coming from his lab. But we all make mistakes, and this really just lends more weight to the idea that all code used in producing published results should be posted along with the article itself, just like data sets often are (at least from studies with government funding).
The E39 Coastal Highway Route
INLOCK Strengthens Advisory Board with Addition of Bitcoin.com COO Mate Tokay
And the main trust of the AGPL is treating giving access to a running program, as traditional GPL "distribution" - code must be made available to users of a service upon request - along with any changes.

With GPL - for example - Amazon could freely customize the Linux kernel with a new software defined networking stack for use by s3 back-end services. And would be free not to share the changes. If the kernel was under AGPL users of s3 would have a legal right to see the changes.
In my case, it is very much column A.