Better HN
topnewbestaskshowjobs
Log inSign up

rugger

1,648 karma · joined Aug 24, 2007 (19y ago) · 341 submissions

Submissions

comment 2y ago · link · parent

An individual component participating in a complex operation spanning multiple steps indeed knows nothing about the grand scheme of things. But there will be one event consumer component specifically charged with following the progress of this distributed transaction (aka saga pattern).

comment 2y ago · link · parent

A few comments point out that replacing a monolith with micro services doesn't reduce complexity. I agree 100%.

That's why I mentioned Event Sourcing pattern, not "microservices". Think of a single event log as a source of truth where all the data goes, and many consumer processes working in parallel alongside, picking only those events (and the embedded data) that concern them, reacting to them, then passing it on not knowing what happens later. Low coupled small self-sufficient components that you can keep on adding one next to another, without increasing the complexity of the overall system.

Maybe Event Sourcing/CQRS can be called "microservices done right", but that's definitely not those microservices (micro-monoliths?) everyone is talking about.

comment 2y ago · link · parent

Monolith is fine if you have a fairly simple process for manipulating your data. Like posting an article, then a comment, with some moderation thrown in.

But when you start adding business rules, and start transforming your data and moving it around, then your monolith will become too complex and often too expensive to run. Lots of moving parts tightly coupled together, long-running transaction wrapping multiple joined tables etc. Rolling out new features will become very challenging as well.

Something like event sourcing is more complex to set upfront than a monolith, but at least it offers the way to add scale and features later without creating a combinatorial explosion...

4.

Ask HN: Google Pay hacked, what could be the cause?

5 points · by rugger · 2y ago · 1 comment

comment 4y ago · link · parent

Ruby: Roda

From the author of the Sequel gem. It can do everything that Rails can, faster and lighter by order of magnitude, expandable (turn on only the plugins you need), and it does it all 'the Ruby way', not 'the Rails way'. That means simplicity, clarity and power. Generally, all software Jeremy Evans releases is of excellent quality and actively supported. Oh, and this Roda framework is in active use by the US government and is subject to regular security audits...

The definition of obscure but powerful and quite beautiful web framework.

6.

A walk through a lightweight blogging(tvier.net ↗)

2 points · by 1gor · 4y ago · discuss

comment 6y ago · link · parent

APIs you provide to consumers should aim to make their badly written code just work. That's what Linus said.

8.

US mortally scared of China’s tech advances(businesstelegraph.co.uk ↗)

2 points · by 1gor · 7y ago · 1 comment

comment 7y ago · link · parent

There was explosion on the sea platform and men were thrown off it by the blast to the water. They were searching for them for a while before pronouncing them dead. This was reported in the Russian media.

10.

Latest 737 Max Fault That Alarmed Test Pilots Rooted in Software(bloomberg.com ↗)

138 points · by rugger · 7y ago · 150 comments

11.

French minister identity theft leads to stolen millions(bbc.co.uk ↗)

3 points · by 1gor · 7y ago · discuss

12.

Ecuador to Expel Assange Within ‘Hours to Days,’ WikiLeaks Says(bloomberg.com ↗)

222 points · by rugger · 7y ago · 241 comments

13.

A single-page app is almost always worse than a multi-page app(gregnavis.com ↗)

289 points · by rugger · 8y ago · 145 comments

14.

Genetic algorithms for training deep neural networks (2017)(eng.uber.com ↗)

101 points · by 1gor · 8y ago · 20 comments

comment 8y ago · link · parent

The article's study found that "people really don't want to confront information that could potentially disrupt their worldviews."

This thread's comments against "anti-partisanship" articles show that people also don't want to confront information about them not willing to confront information... etc.

comment 8y ago · link · parent

> The number of people in slavery would have still decreased

On what basis are you making this assumption? "The fall of Rome" was not an anti-slavery uprising. It was gradual disappearance of the central authority (and all its benefits such as roads, law and order etc).

About 10% of England's population entered in the Domesday Book (1086) were slaves. Compare that with the Roman Empire where slave population (including Rome and all provinces) are estimated at 10-15% of the total.

comment 8y ago · link · parent

> If you were a slave, you probably ended up somewhat better off

Slavery continued to exist in Western Europe after the fall of Roman empire until at least year 1000 AD.

In other former parts of Roman Empire such as Northern Africa slavery continued to flourish almost until the 19th century.

comment 8y ago · link · parent

James C. Scott is a good illustration of 'no skin in the game' syndrome among intellectuals.

It would be very persuasive to see him personally bolting for freedom between warring warlords in present-day Libya, or improving his welfare in lawless mafia-ruled cities of ex-Soviet Union in the 1990s.

But no such chance, so his views may be safely ignored.

comment 8y ago · link · parent

Funny thing is that a US project of nuclear-powered cruise missile Project Pluto has been abandoned in 1964 among other things in order to "not to provoke" the Russians into developing something similar... "against which there was no known defence".

20.

Russia has developed a nuclear-powered cruise missile(cbsnews.com ↗)

12 points · by 1gor · 8y ago · 27 comments

21.

Ex GM Vice Chair on Tesla business model: it's doomed and it's going to fail(zerohedge.com ↗)

7 points · by 1gor · 9y ago · discuss

22.

WeChat's App Revolution(bloomberg.com ↗)

131 points · by 1gor · 9y ago · 101 comments

23.

Hyperloop’s First-ever track test a success in Las Vegas(rt.com ↗)

3 points · by 1gor · 10y ago · discuss

24.

Hot Air Hisses Out of ‘Advertising Tech’ Startup Bubble(wolfstreet.com ↗)

3 points · by 1gor · 11y ago · discuss

comment 11y ago · link · parent

Github is down for Russian developers because some anti-Putin political activists are eager to make a point.

It works like this:

- they push some content deemed illegal in Russia to a github repo (something like instructions on committing suicide or on growing marijuana).

- then they themselves post a complain to the Russian internet regulator, accompanied by the link to illegal content;

- the ugly bureaucrats machine (which is mostly automatic) bans the whole of Github.

- at some point later in the day a human intervenes and unblocks the site, as happened several times in the past.

However, by that time the media has picked up the story, and many oppressed Russian developers who don't know how to use a US proxy, have received job offers.

comment 12y ago · link · parent

Imagine someone going to a library and making them remove a book from their catalogue/index.

That book then will be forever covering dust on a library shelf.

That is not a censorship, since anyone who knows where that basement shelf is can read the book. Or is it?

12345
12