skysight-inc/HackerNews huggingface dataset:
You're right about microservices, but IMO you're mistaken Event Sourcing (CQRS/ES)[1,2] with EDA (Event-Driven Architectures)[3] in general.

There are many different types of EDAs.

There are at least 3 relevant dimensions when choosing a Software Architecture:

1. complexity of the domain

2. scalability requirements

3. company stage / number of developers working on the same codebase

Microservices are mostly solving #3, and to a lesser extent #2. They mostly solve the problem of too many developers blocking each other on a monolithic codebase (NOTE: monolithic doesn't mean non-modular).

Event Sourcing and friends (DDD, CQRS, EventStorming, etc.) are mostly solving #1. It's also technology/vendor-agnostic, so makes migration to other tech (including microservices) easier, and most importantly possible at all.

So for a complex domain in a small company I would choose a CQRS/ES monolith, but for a simple domain and high scalability in a large company maybe CRUD-based microservices are making more sense.

--

[1] https://martinfowler.com/eaaDev/EventSourcing.html

[2] https://martinfowler.com/bliki/CQRS.html

[3] The Many Meanings of Event-Driven Architecture • Martin Fowler • GOTO 2017

https://www.youtube.com/watch?v=STKCRSUsyP0

What do you mean by “Event-Driven”?

https://martinfowler.com/articles/201701-event-driven.html

tagged by: event architectures

https://martinfowler.com/tags/event%20architectures.html
Ukraine in default according to Fitch and S&P
Agreed, Corona has made us hyper sensitive to fears of illness. I hope this blows over.

For example monkeypox does not have the potential to have even close to an impact like Corona to the population and health system. Simply because most people are not promiscuous. Fears that it will involve to something spreading significantly beyond sexual encounters are unfounded at present. Edit: Like I said: significantly. I know it can spread in other ways but it's not doing so at levels which are harmful to society as a whole.

And I'm not saying it's just an LGBTIQ+ thing either, like most of the media are doing now. But it does spread mostly through sex right now which eliminates it as a risk for most of the population (being monogamous) and thus as the possibility of completely stopping society like Covid did (and i'm saying that as a person who is not monogamous)

I'm not saying it's harmless and yes we have to fight it but it's not another covid.

Illness is a risk and one that we can't ban completely. We just have to deal with it, and it's not worth completely throwing our lives around to have a minor effect on that risk.
Given all the optimizations mentioned, I'd guess they used intrusive lists, which aren't straightforward to abstract. You'd have to use C++ templates or mess with the pre-processor to instantiate a copy of the functions for each type. Hence from the article:

> Among its many features, storm contained an excellent implementation of doubly-linked lists using templates in C++.
The discussion is mostly about features of teleconference software which is completely off topic. The point of the article is security. I am not sure if Zoom INTENTIONALLY left the bug for future exploits. I have suspicion and no proof. But in any case, not fixing a bug after 8 months is simply unacceptable.
One of the things I remember being discussed on m.d.s.policy not so long ago was making a registry (maybe handled by IANA) for example private keys. Turns out Peter Gutmann did the heavy lifting (thank you Peter) to turn that from idle discussion into a draft document:

https://datatracker.ietf.org/doc/draft-gutmann-testkeys/

From the point of view of m.d.s.policy the main idea is to require CAs to reject these keys in certificates for the Web PKI and encourage software to use these keys (rather than their own examples) in sample code. Basically when you build my-cool-website.example and copy paste the private key from an example into your certificate fetching code, the CA should say "Er, no, you need to actually choose your own private key, that's what the word private means" and this should happen when you copy-paste a high-rated Stack Overflow example, the provided sample code from the library you used etc. Ideally these would all be the same keys is the idea.

It would also make sense for tools to care about these example keys e.g. GitHub could flag code that's checked in and has keys which are not these examples since maybe you used real keys by mistake in your GitHub repo, meanwhile your build-for-production CI tools could reject keys which are on the list because that means you forgot to pick actual keys for the real build.
Its PHP
I think the point he made was rather the opposite. He works 10-12 hours a day, 60 hours a week, 6 days a week. He needs seven to eight hours of sleep, like a normal person. He specifically mentioned that he never was much into doing all-nighters and that he experimented with working different times of the day. So he'd start in the afternoon and then continue until deep in the night when he was younger whereas having kids and a family caused him to shift to having an early start instead and run a more normal schedule.

That sounds like an intense schedule for sure but not really that insane. He's not super human and just staying in shape, and well rested is what has allowed him to do this for decades on end. Work life balance and taking care of his family is just part of that deal as well.

I notice that the quality of my own work is simply much better when I'm well rested and that beyond a certain point, the most productive thing is for me to simply take some rest or do something non work related. The rare case that I need to work on something late, I pay the price the next few days. It all averages out in the end in terms of productivity.

Grinding away at a problem for hours is simply draining. Often those problems melt away the next morning after I sleep a bit. Your brain doesn't stop working when you do. The hard work is immersing yourself in the problem and absorbing all its facets and then calmly reflecting on all the assumptions you are making. Generally, if you are stuck you need to find out which of your assumptions it is that is wrong. I've woken up with fully formed solutions in my head for seemingly unsolvable issues or bugs that I fought with the previous day so often that I actually rely on this happening a lot these days. So, I generally stop working around 6-7 pm and I'll park harder issues until I'm well rested in the morning or after a weekend.

I don't work on the weekend. The weekend is for resetting my brain. Just as important as sleep is. The most productive use of that time is allowing that brain reset to happen. Getting frustrated and stressed is counter productive. It leads to poor sleeping patterns and stuff just piles up. Take a break, relax.
Deterministic engines are very hard to pull off. I looked into it for my own engine, and decided not to.

The problem is floating point calculations on different processors. Maybe in the 90's that wasn't such an issue, but good luck now. Plus, if you don't need a physics engine, maybe you can stay in integer space.

That would explain small deviations at first, and getting bigger by time.

For example a game like Braid also chose not to use a deterministic engine for that reason.
Feel free to show me an implementation that does it with an alphabet of bytes, not codepoints, while maintaining support for Unicode classes.

It doesn't strike me as something amenable to lazy compilation. But maybe I'm wrong.
Snowy Hydro 2.0 will be able to generate from water storage dams, 2GW of continuous energy for 175 hours. As long as gravity keeps working it should be good for a while. https://www.snowyhydro.com.au/snowy-20/about/
Pretty debatable. C++ was always a pretty big language. Maintaining a decades-old project is going to require either ongoing modernization or you’ll most likely end up touching a lot of it, but you can, and the “start over” option proposed so frequently around here is not for organizations with tens of thousands of engineer years in their codebase.

New stuff that doesn’t need your decade-plus of C++ libraries or hit a few other corner cases should probably be in Rust, but you’re back to, that’s mostly greenfield stuff.

If you are beholden to not starting from scratch, modern C++ heavily subsets the language and is rather pleasant, certainly the tooling is best-in-class (which is often overlooked).

I consider it a good thing that C++ still compiles code from decades ago, and it’s frankly astonishing how well it’s aged when you consider the domains it targets.

Ditching everything every few years is nice work if you can get it, and this being HN that’s going to be a vocal bloc, but usually you get to greenfield everything because something else failed.
Bahaha, that second Google hit for that key was a joke I must have written a decade ago.

https://snakeoil.cr.yp.to/submissions/Lolcipher%20Submission...
I don’t know, how other people think, but in my circle, we are more and more living without the intent of even having a driving license.

Yes, we all live in cities (otherwise it’s not possible) but I still notice the trend. Compared to previous generations, having a card is not even considered in the first place
I agree, and want to add that I feel that NIMBYism would decrease if the residents (as opposed to huge corporations) would earn the profits from those renewable energy farms. You think differently about a wind park at the horizon if you know that each rotation earns turn earns you money.
We could always have been moving faster, saving more money and more lives, but we really didn't have good science on the last few percent of carbon emissions from the power system.

The deniers updated their messaging too, so you regularly see (and see in these comments today) people saying "Yeah, renewable energy is cheaper and cleaner but ... desperately makes up something to justify their believing lots of obvious lies ... in 2050 when we have lots of cheap, clean renewable energy something vague and bad will happen so we should just slow down and burn more fossil fuels for reasons.

So it's good to recognize that we now have better answers for the delaying tactic questions.
I watched through the video and I still cannot tell "What Physicists Don't Want You to Know About Quantum Mechanics". They seem to be hinting that the Copenhagen interpretation is being kept a secret for some reason, but that's not true, it isn't a secret by any means.

This video seems to be a (philosophical) commentary on social aspects of science by comparing it to the contrasting worlds of general and quantum.

I'm confused, but it might be because of the (potentially poor) title.
It is not virtue signalling to identify the cause of a problem. If a man comes into my room and starts stabbing me, I have every right to say "this man is stabbing me".

Corporations, capitalist production and other institutions (e.g. global militaries) are a core factor in climate change.

My evidence for this is that in the vast span of human history before these things existed, neither did climate change!
Cast iron leet
Agree, Dropbox is another app that asks for admin privileges.
>And disabling exceptions is easy

The LOL was directed at this. You can never disable exceptions in C++. No keyword or flag exists which can do this for you (-fno-exceptions and noexcept notwithstanding).

>I have a pretty big C++ codebase that uses noexcept on almost everything.

Noexcept is not enough see nearby comment by another user for explanation.
> Live preview SVG images being edited/generated by code

Glad you like that one, I was probably the lunatic that kickstarted that hack of an idea back in the Atom days :) Can't recall if I ported it to VScode or if someone else did/copied the idea (not that I care! I just needed such a tool in a pinch and then gifted it for someone else to take over)

https://github.com/josa42/atom-svg-preview/commit/995e4fe0ba...
>has never been build

Unless you count pumped storage, in which case it has.
Firebird v4.0.2 has been released
The point is not that you're handling an exception with some function, it's that knowing which function is being called to handle the exception becomes difficult to reason about.

This is the relevant line in the article:

> The problem with that is that you have no idea of who and where is going to handle the exception.

If you don't have a try/catch immediately around the throw, say at a higher level of where the function was called or, in the "worst" case, in the main body block, then the handling becomes hard to reason about.

I believe the argument is that reasoning about who handles which exception when is difficult and putting in logic to handle each individual exception at a higher level increases program complexity. Further, hunting back through the code to which piece of parent call handles the exception becomes increasingly difficult, especially if a function is called at different points with their own try/catch blocks.

The problem compounds because if you use classes, then there's no way to get around using exceptions as that's the only way to communicate that a constructor has failed. This means if you wanted to abandon C++ exceptions in favor of C-style error handling but still wanted to use classes, you would now need to mix and match C-style error handling with C++ style exception handling.

I don't quite see the argument against the class/struct <list> issue and I agree that this, from what I can tell, could be worked around and has better alternatives in C++ than they're making arguments against.
Some recent update of zoom and or pipewire made this absolutely broken. I need to manually go and change my Bluetooth headset source from A2DP to HSP before opening zoom or it crashes and I can't select any microphone.

It's insanely annoying. Zoom has caused more crashes ob my machine than any other piece of software.
From Google: "HVDC transmission losses are quoted at 3.5% per 1,000 km"

Seems like small losses for large distances.
> Many young people are depressed because they feel climate change cannot be stopped. We want to offer them hope by showing that our world can get all its energy needs from renewables at a price below that of fossil fuels

idk, to me saying that fossils can be replaced by 2050 is pretty much same as saying that climate change cannot be stopped. I think the discussion has largely moved from preventing the climate change to trying manage how bad it will be, as it seems pretty inevitable at this point.
I went the other way, as soon as VSCode-like language server protocol was available for neovim I dropped VSCode. Now I have the same speed with modern features too. In the end it's what's best for you that counts, having quality options helps a lot.
Most governments are converting coal to Methane gas ("Natural Gas"). Replacing one lobby with another.

Most governments are not deploying storage solutions that would allow continous energy supply irrespective of intermitent renewable energy generation.

Neither of the above has anything to do with NIMBYs and everything to do with spineless anemic Energy Policy.
Of course I noticed. I noticed that the world has become a lot greener due to the increased CO₂ content in the atmosphere [1,2] which used to be seen as a good thing but somehow now is presented as a problem [3]. From Malthus to Gore, from the Silent Spring to Extinction Rebellion, eschatologists have been around for a long, very long time yet... Earth abides. Mankind abides.

[1] https://blog.creaf.cat/en/noticies-en/the-world-has-become-g...

[2] https://www.forbes.com/sites/trevornace/2019/02/28/nasa-says...

[3] https://grist.org/climate-energy/earth-is-getting-greener-he...
What’s the name for this phenomenon where the greater the success, the less it’s appreciated?
Whilst I think there's some substance in your riposte, I think the tone was too harsh. If you get downvotes or negative replies it might be more about the manner of delivery than the content. "Virtue signalling" has become a go-to term of abuse (especially from those on the right to liberals) and "low effort" just feels a bit personal.
There are some valuable rod bits in it, they are all very shallow so and turn into management buzzword bingo half way down the article. And the most crucial point was totally missed: being able judge when an ops leader has to push things and when things have to be slowed and calmed down. It seeems the author only saw the first one and now thinks this is what ops is about. It is not.

I jave to agree on the strategy part so, strategy is such a pleasant way to not do any meaningful work.
Then Zoom should ask for those permissions, like every other app does. If we make it an admin, we have problems like these.
As a european i got into the habbit of walking between popular city neighborhoods to find hidden gems.
I did that in Tokyo,
and that was a really big mistake. I ended up walking next to a huge higway, looking at bland buildings for like 20 minutes, feeling completely lost in the middle of nowhere.

I thought about it a lot and came to the conclusion that tokyo wasn't one big city but in fact tenth of small cities linked together.
I have seen less NIMBY during the last 10 years in some areas, is this a general trend?
At least with the current version, there is a workaround for that, which works for at least any non-EUD map: Watch the replay without speeding the playback up beyond 1x.

I usually don’t bother since I don’t care about the whole replay and don’t want to wait. But it’s handy when you want to learn the strategy of somebody better than you that you just played against.

Civilization 7.9.9D was my favorite custom back in the day :)
Sort depends on who's box you're trying to own - my box? (sure ring 0) Intel/bigmedia's key store's box? (then maybe something closer to the metal)
Personally I think the Covid-19 was handled much better by the western world.

Look at how China is doing right now. Their population has almost no exposure to the virus, meaning every outbreak is still significant like it was for us in the early days.

We've moved beyond that where it's now a fact of life and no longer hampering us or saturating the health system. We have enough natural defenses along with the vaccines to give us adequate protection and we can live our lives again. We do control but it's on the health system impact, not the spread of the virus as such. And letting our immune system do the job it evolved over hundreds of thousands of years to do, supplemented by vaccines when necessary is really working out well for us.

Meanwhile China is stuck in a groundhog day loop of zero-covid policy that is really harming their society. I think in the western world we've handled it really well, we've accepted the inevitable and dealt with it in a way that had the least impact on society. Our focus on balancing freedom with prevention has really worked out well.

I do think a zero-covid policy could have worked but it would have been in February/March 2020 when total containment was still on the cards. In April/May when it spread to the entire world we were already past that point. At that point 'living with it with the least impact' became the only possible option.

I'm not a Trump follower at all but in Europe we have essentially adopted the same policy as the US did without the ridiculous misinformation of injecting bleach etc :P
>You're applying virtual signaling.

First, it's called "virtue signalling" and second, it's no secret that companies like Shell and Exxon knew about the catastrophic effects of climate change already in the 80s and yet they attacked other scientists who came to the same conclusion and blocked political efforts to curb fossils: https://amp.theguardian.com/environment/climate-consensus-97...

Blaming average people for not trusting or understanding the science when corporations actively tried to discredit said science is just wrong.
Using Firebase to send real-time notifications in Django apps
Sorry about that, yes I was looking for something that would work well for a road trip.
Inflation doesn't cause food scarcity, wars do.
Brilliant.

We just need 10 of those and we'd have covered the base load of NSW as long as there isn't a drought in the worlds driest continent.

Now all we need to do is build a few mountains to put the dams in and we're golden.
I also really like how easily available it is; in any app (except games), just put the cursor over any word and press harder than normal on the trackpad and a bubble with good definitions appears over the word. I don't think any system comes close in terms of dictionary ergonomics, for whatever that's worth.
The world could reach 100% renewable energy by next year if every citizen took a massive cut to their quality of life.

And it isn't going to happen at all if at least some citizens don't take a cut to their quality of life (compared to what they could have had with no action)

So it's a trade-off....
> High voltage inter connects are also more expensive

Aren't these paid for by the excess electricity that you've sold?

> Outside of Russia there are no transcontinental high voltage lines. The US doesn't even have a single energy grid despite being a single country. The European market is probably the most tightly coupled in the world and the inter-border power lines can carry less than 20% of most countries power demand.

Isn't this simply describing what the current situation is?
It reminds me about a story by Philip K. Dick - Autofab. It's a story about postapocaliptic world with automated factories that do not stop to work after the work causing trouble for people. People decide to make the factories fight with each other. Let's just say it doesn't end in a good way.
For readers wondering what MRP is: https://en.wikipedia.org/wiki/Maximum_retail_price
It’s a bit confusing at first but I have to say I actually love the design. It’s a text heavy site and it works super well. Good luck to the creators
In some ways, I have to disagree partly.

Each person is responsible to solve their own problems, but I see intelligence as a type of "strength". A 30-year-old is far stronger than a 75-year-old, so it's nearly a moral duty to help them get a fridge through their door (provided, of course, that the older person isn't being a jerk about it).

In the same way, a tech-savvy smart person should help a less-than-gifted person with things like setting up their email or figuring out an ideal flow system for their small business.

Granted, this must all be driven by love for people. Without that, it's worse than just pushing them away.
They could start by not commuting to the office/university
> The problem is floating point calculations on different processors. Maybe in the 90's that wasn't such an issue

Haha, I'd be surprised if they used floats at all in a 90's game. Fixed point were popular.