Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yobbo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
451.
▲
by
yobbo
4y ago
How much oil is required to heat the air over Los Angeles by 2C? (Facts quickly googled) Area of Los Angeles: 1.29 * 10⁹ m² Height of air column over city: say 1000m Volume of air = 1.29 * 10¹² m³ Mass of air (density 1.29 g/l) = 1.66
452.
▲
by
yobbo
4y ago
If two people follow the same advice and get different results; what conclusion can be drawn about the advice? What should the third person to hear the advice do? Advice is not really valuable without understanding of cause and effect. Typi
453.
▲
by
yobbo
4y ago
> The Apple case is an interesting counterpoint though Isn't the story that iphone development was a secret project with competing teams, one of which proposed the touch-screen interface?
454.
▲
by
yobbo
4y ago
Yes. And instead of requiring sites to ask "accept cookies", let it be a browser option when the site attempts to store cookies, like "OK for 10 minutes".
455.
▲
by
yobbo
4y ago
A title is relevant for the person claiming it, and the people around recognizing it. If it helps him feel proud and accomplished, who are we to argue? We - unaffected bystanders - don't really need to have opinions.
456.
▲
by
yobbo
4y ago
30 minutes of recurring work everyday for years is not the same as a few months of directed work. Automation forces you to understand and document a process, and usually do it more thoroughly and correctly. From then on, it relieves you to
457.
▲
by
yobbo
4y ago
> open source as a whole sucks at building products, but is great at building infrastructure. Yes, but Android? When companies promote OSS products, they become successful. > totally orthogonal to building "a good product that pe
458.
▲
by
yobbo
4y ago
Distinguishing between sales and payments is required, but any confusion is basically impossible in online systems such as this schema would be used in, in real examples. Typical accounting GUIs present transactions and ledgers such tha
459.
▲
by
yobbo
4y ago
> ... if you have a transaction that involves three accounts, that would be split up into two balanced mutations, right? Three or more "mutations", but these might be grouped together in whatever way you want. For this purpose,
460.
▲
by
yobbo
4y ago
Yes, it is best if transactions correspond to verifiable events. Complicated situations can be modelled by letting events be represented by their own "accounts", in a separate charter. In your example, you might let the monthly pa
461.
▲
by
yobbo
4y ago
There exists cases where it is problematic, but your example is fine. In this case, you would use individual transaction lines to represent payments , rather than sales, which is closer to reality. But you can group transactions in any way
462.
▲
by
yobbo
4y ago
It is bad practice in terms of software engineering, but some "real world" apps are implemented like this. They do verification in the "middleware".
463.
▲
by
yobbo
4y ago
This sort of schema requires a process to verify the sum before committing, and verification is annoying to achieve with constraints. Instead, you might consider something like: transaction_line (id, transaction_id[fk], dr_account_id[fk], c
464.
▲
by
yobbo
4y ago
People were moving to version control for web sites in the late 90s when their projects started turning to chaos. Virtualization of servers started when the tooling became available around 2005. Linux containers were available, and used whe
465.
▲
by
yobbo
4y ago
When you show this to the manager, he will choose between 1) having several reports that he can easily supervise and keep busy, 2) lose some reports and instead having you become a defacto sort-of-equal in discussions about the process. Man
466.
▲
by
yobbo
4y ago
> For example my current "transactions" table has fromUserId and toUserId columns (1 user = 1 account) and so purchases/transfers/reloading your account all take just 1 row This is what double-entry looks like in a da
467.
▲
by
yobbo
4y ago
> Because of this, instead of counting money as positive or negative amounts, it uses the debits and credits. That's not quite the point of double-entry. When one account is credited, at least one other account must be debited. All
468.
▲
by
yobbo
4y ago
$80B is a number much higher than I thought, but Klarna correctly calls their $1.4B net operating income.
469.
▲
by
yobbo
4y ago
That's not what a klarna transaction is. Klarna pays the vendor immediately (with its credit line), and the user enters into a sort of debt contract with klarna. Klarna's revenue is what it receives from the user. It's a grea
470.
▲
by
yobbo
4y ago
> That percentage is the 1.4 billion Klarna takes as revenue. Implying that transaction volume is on the order of $200 billion? No. For perspective, Amazon's 2018 revenue is $230 billion.
471.
▲
by
yobbo
4y ago
Not arguing with this. The point is rather that the time and effort of [tuning escalators] does not contribute to career credits in the way new construction projects do.
472.
▲
by
yobbo
4y ago
> You're working on something that has stood the test of time Like the janitor sweeping floors in NY grand central station.
473.
▲
by
yobbo
4y ago
So, they are taking advantage of you by exploiting your loyalty and passing you up for opportunities for growth and responsibility. Like most of the time in similar situations, you probably have a temper and demeanour that makes it convenie
474.
▲
by
yobbo
4y ago
Just by having a phone, you are self-hosting software on a machine with 8 cores and several gigabytes of ram. Yes, it's not free, but the marginal cost of an app is effectively zero. Git on its own requires nothing in resources. I have
475.
▲
by
yobbo
4y ago
> It's much more likely that the manager was actually asking if the author had reviewed the technology stack recently Yes, this is more likely. But autistics expect communication to be true and relevant . When it is not, it sound
476.
▲
by
yobbo
4y ago
> it contains the implicit assumption that your knowledge of the business/tech crossover is superior to your manager's. This might be the core of article. Some things are knowable and don't need to be assumptions. In the
477.
▲
by
yobbo
4y ago
In fairness, the author's response is demonstrating a better understanding of goals and tradeoffs than the manager. Asking questions as "in what way do you hope to improve it?" will help the manager understand. Just giving th
478.
▲
by
yobbo
4y ago
Many years ago I wrote a scraper-module for a scripting language that exposed a fake DOM to an embedded JS-engine, spidermonkey. The DOM was just an empty object graph, readable both from the scripting language and inside the JS context. Th
479.
▲
by
yobbo
4y ago
Furthermore, you can have several metadata tables that represent different types of graphs of the data tables, using all the relational features. For example, one can implement role-based ACL on a tree structure in metadata tables, with one
480.
▲
by
yobbo
4y ago
From the economics perspective, GDP = sum of all production = sum of all income = sum of all costs. Theoretically, it should give the same result when measured in these different ways.
More ›