Hacker Newsnew | past | comments | ask | show | jobs | submit | rguillebert's commentslogin

So they saved $0.000006 per record, it's really about the little things...


It depends on what you mean by free market, it's often used interchangeably with with laissez-faire capitalism but an important concept in a free market is that the barrier to entry for new competitors should be as low as realistically possible, so regulation that prevents vendor lock-in can be pro free market.


You're only saying this because you don't like the outcome of economic research. So called "soft" sciences are the best way to get close to the truth in those fields even if it's harder to get undeniable answers.


In our use case (rebuilding tables from Postgres CDC logs), Delta Lake was significantly faster than Hudi.


Are you open to sharing more? We'd love to highlight this success and contribute any learnings back to the community!

nick ( a t ) nickkarpov.com


This is monthly rent, not yearly...


Aside from whether this is "cheating", this shows how having connections can give you an advantage in your career.


That's literally what people do when they buy a house, except in that case, that debt is probably backed by Elon's Tesla stock.


Yes, but the hoi-polloi don't get to write off their mortgage interest as a tax deduction.

"The rich have all of the money and pay none of the taxes. The middle class pay all of the taxes and have none of the money. The poor are there just to scare the shit out of the middle class so they keep going to those jobs."

—George Carlin, 1937-2008

UPDATE:

As some replies have pointed out mortgage interest on a primary residence is permitted in some form in six countries: The Netherlands, Switzerland, the United States, Belgium, Denmark, and Ireland. If you live in one of these six countries, my comment does not apply to you. If you live in any of the nearly 200 other countries in the world, it does.

YMMV: "Your Mortgage-interest-deductiblity May Vary."


> Yes, but the hoi-polloi don't get to write off their mortgage interest as a tax deduction.

What a strange example to pick. That's, like, THE major write-off that most people have. It just gets obfuscated by the fact that most people don't go over the standard deduction.


I think this varies between jurisdictions. I believe it is deductible in the USA, but not here in the People's Republic of Kanuckistan, although there are ways around the limitation, depending on your appetite for the risk of a drawn-out battle with the Canada Revenue Agency.

Up here, home mortgage interest is only deductible if the home is used to generate income, so it does not apply to people who use a home as their primary residence. But what if you have a home office? What if you use it as an AirBnB some of the time?

If you ask a tax accountant whether Canadian home mortage interest is deductible, they will answer "a definite maybe." But it's actually "no" for most people who don't structure their home ownership around qualifying for a deduction.


That second part is huge and people don't account for it correctly. It really hasn't mattered much in the era of super-low loan rates, but the amount that your mortgage is deductible is only the difference between the standard deduction and the itemized deduction.

My mortgage interest became "worthless" for that when the standard deduction was raised. I'm still better off than before, but that particular part of the benefit is gone.


The standard deduction for California did not change, unlike the temporary change on the federal side enacted for 8 years beginning with 2018. Also CA did not change the limits on the amount and type of loan interest that is deductible.

Since California by many measures is large enough to equate to a "country", It would be fair to add it to the list of places where primary residence (and a second home too) mortgage interest is largely deductible.


> The rich have all of the money and pay none of the taxes.

This is demonstrably false. But then again, you don't expect factual accuracy from a comedian.

> As some replies have pointed out mortgage interest on a primary residence is permitted in some form in six countries: The Netherlands, Switzerland, the United States, Belgium, Denmark, and Ireland.

This Wikipedia sourced list is obviously not exhaustive. And interest deduction is allowed in the US which is the relevant case here.


> mortgage interest on a primary residence is permitted in some form in six countries

And China[1]. And India[2]. (Although I don't know either country's housing market and therefore don't know how to interpret upper limits).

Between the US, China and India, it seems like most people and the biggest economies do that.

[1] https://www.chinadaily.com.cn/a/201812/23/WS5c1e2dc0a3107d4c... [2] https://www.bankbazaar.com/tax/mortgage-tax.html



According to the link:

> The Netherlands, Switzerland, the United States, Belgium, Denmark, and Ireland allow some form of the deduction.

That's six out of roughly 195 countries in the world. Perhaps you live in one of them, but billions don't.


The origin of this conversation is a US citizen who is purchasing a US company.


Elon Musk lives in one of them though, si that's not very relevant. You should take it up to your own government if you want to make it happen wherever you live, not be against Musk doing the same


If a customer has 1000 employees all using your app, it is.


Not always. In fact, I'd strengthen that and say that this is not a problem in general/in most cases with thousands of concurrent users. See my other comment one level up.


If the app is designed correctly, then the thousand employees would write to their own temporary databases, and a background job would pull their changes into the main database sequentially.

If the app is not specifically designed to do this, then SQLite would not be an option.


Serious question, is this just a "how do I get SQLite to work in this scenario?" thing, or is there actually some other benefit to having this sort of data architecture?


This can actually relate to SMTP servers using mbox or maildir formats. Maildir is more resistant to corruption, and doesn't rely (as much) on file locks.

https://serverfault.com/questions/564456/what-are-the-practi...


What's the benefit over just using the main database?


A lot of these things can scale vertically rather than horizontally. If you allow denser housing by building higher, schools and hospitals can also build higher.


Namedtuples also behave like tuples, which is great when you want to incrementally turn tuples into classes but if you want an easy way of creating classes, it's probably not a good idea to have them behave like tuples. Plus dataclasses have more features.


There’s also the fact that sometimes you need an actual tuple - in some places (C extensions like numpy, opencv, …) and a dataclass just doesn’t work.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: