Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DasIch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
DasIch
6y ago
Arrays and tuples are very different. Arrays are homogeneous structures, all entries have the same type. Tuples are heterogeneous, so entries can have different types.
92.
▲
by
DasIch
6y ago
Diesel is nowhere near being able to fully map SQL to rust. It's ok for relatively simple queries that are typical for OLTP applications. Anything beyond that and you're going to run into trouble. If you want to do something more
93.
▲
by
DasIch
6y ago
You also have to pay employer contributions to insurance and you don’t make money, if you don’t have a contract, are sick or on vacation. So you also have to make at least 150k+ to make up for that. If you were to make significantly less th
94.
▲
by
DasIch
6y ago
At least in Germany the employers pay about half of mandatory social insurances such as healthcare, unemployment, pension etc. This is usually not considered when people talk about pre-tax salaries. Ultimately though that’s just accounting,
95.
▲
by
DasIch
6y ago
I’m a senior engineer at a large Berlin company and I make 82k. We have a program to share salaries between employees internally, based on that and conversations with my lead I understand that I’m not at the top of the salary band. You can
96.
▲
by
DasIch
6y ago
I admit that this is to some extent memory management that you have to think about. However especially when it comes to concurrency, this is stuff you have to think about in any language. The difference is just in when you get the error and
97.
▲
by
DasIch
6y ago
You manage memory in Rust about as manually as you manage memory in Python, at least in normal application code. If you do very low level stuff, you might think about that a bit more but then you have to in any case.
98.
▲
by
DasIch
6y ago
It's indeed used for phonetic distinctness. The German word for 2 is "zwei", which is relatively close to and even rhymes with the word for 3 "drei". "Zwo" is used to make it easier to distinguish the two
99.
▲
by
DasIch
6y ago
It’s interesting you mention Walmart. Walmart has failed spectacularly in trying to enter the German market. Their treatment of employees probably was a factor but probably not the most important one though.
100.
▲
by
DasIch
6y ago
> Then something breaks on production, but you don't know what. You need to get on that machine and take a look. If that's a problem you find yourself having at all, much less regularly. You have a serious observability problem
101.
▲
by
DasIch
6y ago
> [...]they are not preventing the employees to form one, and will accept their decision. That would be a crime in Germany, you can go to prison for and they are actually very very close to crossing that line, if they haven't alread
102.
▲
by
DasIch
6y ago
Indeed, it's fascinating to watch. Reputation matters for a bank and they are in the process of completely destroying it. Quite frankly I doubt it's possible to recover from that without removing the founders (currently acting as
103.
▲
by
DasIch
6y ago
Postgres allows you to create an index on keys within a JSONB column[0]. It may be the case that Django doesn't offer support for this but I would expect you can probably get around that with raw SQL. [0]: https://www.postgr
104.
▲
by
DasIch
6y ago
Nobody is using every AGPL project and there aren't that many AGPL projects to begin with. The problem is not just the risk associated with AGPL, it's also that the benefit is actually quite small. I think most companies would be
105.
▲
by
DasIch
6y ago
You could have a mechanism to grant yourself temporary write access on an as-needed basis. At Zalando everyone has read access (except to secrets). You can request write access with a command line tool another employee can then approve it.
106.
▲
by
DasIch
6y ago
The bar for "good enough" can of course be quite high. If you're hiring people at the very top or with rare skillsets, like building browser engines, building databases or people whose skill is at author/contributor leve
107.
▲
by
DasIch
6y ago
You only need to fill a position with a person that is good enough. If you reject someone who would have been a good fit but still hire someone good eventually, that’s ok. A bad hire is not fun, not for HR, not for the hiring manager, not f
108.
▲
by
DasIch
6y ago
Judges in Germany generally aren’t elected. The few that are cannot be re-elected and have fairly long terms. The voting population in this case would consist of politicians in the legislative branch.
109.
▲
by
DasIch
6y ago
If you are running Kubernetes, happen to be a fairly large organization and use microservices, you probably have many databases. Hundreds of them. Most of them are going to be small, using few resources of any kind. In that context running
110.
▲
PgBouncer on Kubernetes and how to achieve minimal latency
(engineering.zalando.com)
2 points
by
DasIch
6y ago
|
0 comments
111.
▲
by
DasIch
6y ago
Your database is realistically postgres or mysql and can really only run as many queries in parallel as you have cores. You can run more queries concurrently but then the database just switches between those, which usually means worse laten
112.
▲
by
DasIch
6y ago
Nothing about how Rust handles deallocation is magical in any way. It's also definitely a zero-cost abstraction as I can see because the manual solution that's equivalent to get_len1() would be to essentially call free() on things
113.
▲
by
DasIch
6y ago
While I like SQLAlchemy a lot, it has to be said that it leaks like a sieve. Personally I think the problem is not that ORMs are leaky abstractions, it's that they often pretend not to be. SQLAlchemy just leaks unapologetically, if you
114.
▲
by
DasIch
6y ago
The German constitution explicitly distinguishes between humans and citizens. So no, this is not a big task. It’s not a task at all.
115.
▲
by
DasIch
6y ago
> Germany is a democracy, so it ultimately comes down to the quality of the leadership decisions made by the populace. This is not entirely true. Democracy is a broad term and different democracies work very differently. In Germany for e
116.
▲
by
DasIch
7y ago
Mask do not protect the person wearing the mask (unless you talk about the kind of masks used as PPE for medical professionals). They do protect other people from the person wearing the mask spreading the virus. The consequence is that for
117.
▲
by
DasIch
7y ago
No, it isn't but I don't see anyone making the claim that Rust is a faithful model of the hardware. That's quite common take on C though, which is not that wrong, if you go back in history far enough. It's quite wrong to
118.
▲
by
DasIch
7y ago
In Germany childcare costs vary a lot and depend on your income, so it's hard to say what somebody would pay for that. However you'd definitely pay less than 400/month. If you're paying more than 200/month, you got
119.
▲
by
DasIch
7y ago
50k per year pre tax in Germany, would end up being 30k after taxes. If you're married, you'd get substantial tax benefits and there are also benefits, if you have children.
120.
▲
by
DasIch
7y ago
It seems to me that the problems that trains and rail infrastructure is facing are: bureaucracy, politics and an increasing inability to execute on infrastructure projects on time/budget by governments. To the extent cost is a a factor
More ›