Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
UK-Al05
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
241.
▲
by
UK-Al05
6y ago
Yes that my point. You get half of a database. The transaction log. Not the up to date state.
242.
▲
by
UK-Al05
6y ago
That's why you partition by some id. Say stock SKU id for stock control. Then you can handle other SKUs in parallel. It's only in serial for a single SKU. That's probably the maximum performance potential your going to get in
243.
▲
by
UK-Al05
6y ago
This is lack of abstraction. You can certainly fix this in kafka using various hacks, but its implementation of an abstraction you can get in a standard db for free. Funnily enough a list of events is pretty much what a transaction log is i
244.
▲
by
UK-Al05
6y ago
One way around this is to make sure your kafka command streams are processed in order, in serial partitioned by an id where you want the concurrency control. Normally you only want concurrency control within certain boundaries. By figuring
245.
▲
by
UK-Al05
6y ago
The mock should display the same behaviour as the real thing. So I don't think sharing one is bad. The ideal fake is one that shares the same behaviour as the real thing. And you have tests that run across both to validate this. Quite
246.
▲
by
UK-Al05
6y ago
Separating value and price is 101 of marginal economics. There couldn't be consumer surplus without it. I don't know how you could be marginalist and believe market price = value for user.
247.
▲
by
UK-Al05
6y ago
You have to understand most writing is aimed towards the layman, so they use market price as a proxy. I hate the term wealth creator as well. But it certainly is possible to create to wealth. If you take things that people don't value
248.
▲
by
UK-Al05
6y ago
Really? Because value and market price are separate things in marginalism. Using the rational model somebody will only purchase something when it's price is below how much the person values the object. It's related to consumer sur
249.
▲
by
UK-Al05
6y ago
Adam Smith's labour theory of value hasn't been used in modern economics. And has tons of problems with it. That and Ricardos version is probably the basis of the Marx version. They we're the popular interpretations at the ti
250.
▲
by
UK-Al05
6y ago
LTV on its own shows very little predictive value in the real world. Which is why it isn't used. Marginal economics explains and models a lot things we see in reality. I'm much more likely to believe a model that has predictive ab
251.
▲
by
UK-Al05
6y ago
LTV drawn to its logical conclusion leads to exploitation of every worker almost by definition. It is the core of the market economics = exploitation argument. Profit is simply value extracted from workers. As opposed to the arbitrage of th
252.
▲
by
UK-Al05
6y ago
And indeed those workers who get paid, can save and invest that money to enhance the productivity of other workers and get a return. Generally the higher risk of losing the money, the more return you can potentially get. Some of those worke
253.
▲
by
UK-Al05
6y ago
Oh I understand it(well sort of because even Communists can't agree), I've read all theory about Labour theory of value. Marx never defined the terms about value rigorously, so it can be whatever people want it to be. I know all a
254.
▲
by
UK-Al05
6y ago
This is basically the labour theory of value and ignores the value of capital and organisation. Some guy delivering stuff in a garage is not going to be nowhere near as productive as an Amazon worker. The crucial bit that people miss is tha
255.
▲
by
UK-Al05
6y ago
> The point is that if I blindly break a larger functions by functionality, I still have to understand the deeper functionality. So, I can't just skip when I'm debugging or deeply reviewing/inspecting the code, or doing a
256.
▲
by
UK-Al05
6y ago
Yes, but these about micro optimisation for video games. People here are complaining about this in standard situations. Where being able quickly grasp what function is doing is far more important then identifying recomputed work.
257.
▲
by
UK-Al05
6y ago
A well named function is easier to read, then having work out the intent behind some low level code.
258.
▲
by
UK-Al05
6y ago
You shouldn't have to jump around, because the function names tells you exactly what it does according to reasonable expectations. You can just skip over it, if your not interested in its work. If your function does an unexpected side
259.
▲
by
UK-Al05
6y ago
Sounds like way to form incredibly dense codebases.
260.
▲
by
UK-Al05
6y ago
Pretty much yeah.
261.
▲
by
UK-Al05
6y ago
Indeed. According to Sam Newman, the main difference smart pipes/dumb pipes. SOA has ESBs. But both are built around bounded contexts. Calling them "micro" was a bit of mistake.
262.
▲
by
UK-Al05
6y ago
The requirement of transactional consistency is one of the ways you identify a bounded domain in DDD. Well aggregates at least. If you require transaction consistency across multiple microservices. They are to small. If you don't requi
263.
▲
by
UK-Al05
6y ago
That's microservices.
264.
▲
by
UK-Al05
6y ago
You are incredibly out of date. No one uses mono any more. It's .net core. The official version which works on multiple platforms.
265.
▲
by
UK-Al05
6y ago
I don't think you'll be able to do that. What you can is make is define a starting point app in the desired architecture. Then create a list of functional changes to go from starting point, to desired state. Then you can use vario
266.
▲
by
UK-Al05
6y ago
I haven't read that in awhile. But the argument was around optimisation rather how easy it is to understand.
267.
▲
by
UK-Al05
6y ago
Multi-tier is different compared to say hex or clean, in that depedencies for edges of the system depend on interfaces in the "Core". Tradtional mulit-tier the UI depends on Business Logic, Buinsess Logic depends on persistence et
268.
▲
by
UK-Al05
6y ago
It's pretty much 1 above the bottom rung in tech companies.
269.
▲
by
UK-Al05
6y ago
That or you can become a mid-level manager...
270.
▲
by
UK-Al05
6y ago
Do they hide or do they just apply order to choices. Making it impossible to be ambiguous compared to the CFG definition? It's only sweeping under the rug, if you look at PEG under CFG rules. PEG is not CFG. I think practice of writing
More ›