Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mk89
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
541.
▲
by
mk89
4y ago
And it will take another 40 to convince people to use it instead of cout. :)
542.
▲
by
mk89
4y ago
The part quoted is explicitly about the QT commercial license. Apparently, you can't use QT commercial with non-qt commercial (and Qt Studio non-commercial). And probably this is done to be able to sell the IDEs, maybe based on n. of u
543.
▲
by
mk89
4y ago
This only works if you apply backward compatible changes all the time. Sometimes you do want to make incompatible changes in your implementation. Database tables are an implementation detail, not an API which you're trying to expose as
544.
▲
by
mk89
4y ago
> a view would allow you to change a field's type. Which proves my point: if I change a field type ( in the table ), I will have to change the view type. I need to change 2 services because one of them changed an implementation deta
545.
▲
by
mk89
4y ago
Yeah, but you can reject (it's written in the first paragraph). Apparently with Facebook you can't...
546.
▲
by
mk89
4y ago
No, because that's not the service API. That's just a view over a table - an internal data structure used to represent some business domain model which should be properly exposed through some implementation-agnostic API. Service B
547.
▲
by
mk89
4y ago
> So then back to your original question, the way that this contract can break is via schema changes. So for us, since we use postgres, we created database views that we expose for reading. And postgres view updates are constrained that
548.
▲
by
mk89
4y ago
> A better rule is for one service to own writes for a table, and other services can only read that table, Been there: how do you handle schema changes? One of the advantages that having a separate schema per service provides is that ser
549.
▲
by
mk89
4y ago
Learn whatever you really want to. They are just 2 tools, and either of them will teach you something. You can't make any mistake, if your plan is to learn and maybe build something simple. If you want career advice, that's where
550.
▲
by
mk89
4y ago
Ahahaha
551.
▲
by
mk89
4y ago
Not an Apple fanboy but wow I read a lot of criticism here. I love macbooks since the 2013 model until the newest one (skipping the 2017 model with the weird keyboard, if I recall right). Not sure what issues with Docker many of you are exp
552.
▲
by
mk89
4y ago
Just to know... why is it called [name redacted] instead of orchestration.cloud ? They are two very different concepts which I see very often used interchangeably. Temporal is clearly about orchestration.
553.
▲
by
mk89
4y ago
Penalties are not random at all. There is a reason why some teams suck big time on penalties while others nail them all the time (or almost always, depending on the generation, players, etc).
554.
▲
by
mk89
4y ago
Absolutely true! I still remember a team member some years who was promoted to "Principal SW Eng" - when titles were still a little bit of "something". And then he added: yeah, but no raise. And we both laughed, because
555.
▲
by
mk89
4y ago
Yeah, but for some reason, maybe just "luck" (in the sense of "fortune"), I was always surrounded by people who google your idea and say "look at this, xyz is also doing it" which can be extremely demotivating.
556.
▲
by
mk89
4y ago
Yes, I would like to stress out that it's VERY likely that there are competitors. I believe nearly everything has been already created, and the idea of finding a niche market doesn't necessarily mean to innovate and do something n
557.
▲
by
mk89
4y ago
> And I don't think people really expect to be immune to bugs in their compiler or runtime just because the language is "safe"! I would really ask you to rethink what people think and expect. Maybe you work for a company w
558.
▲
by
mk89
4y ago
> By this definition, nothing is memory-safe, since it is possible for your code in a "memory safe" language to encounter memory-safety issues in its runtime I am trying not to be extreme here, and of course I agree we objectiv
559.
▲
by
mk89
4y ago
You might be right, it's probably just easier to ask :) So, when I wrote the message I was really physically and mentally tired, I wrote from the phone which unfortunately doesn't always help me write 100% consistent sentences. Fi
560.
▲
by
mk89
4y ago
> If you want to go further, you can disable unsafe in a crate by adding #[forbid(unsafe)]. Cool, so it's possible to exclude dependencies which include unsafe stuff! That's awesome . See, this is the kind of stuff I was looki
561.
▲
by
mk89
4y ago
> Because there are things which literally can not be safe, and rust will not let you get away with pretending. Can you post maybe a good article explaining this?
562.
▲
by
mk89
4y ago
> You… almost literally did? I don't understand this comment, to be honest. What does it add to the conversation?
563.
▲
by
mk89
4y ago
> It is - as long as you don't use unsafe. That's what I tried to show in the previous post: it's just not true, because if you rely even on an unsafe function from the standard library affected by a CVE, you're just
564.
▲
by
mk89
4y ago
If we leave it to the programmer, what are we improving? We did a big improvement, but why can’t we disable “unsafe”? That would leave absolutely no margin for such errors.
565.
▲
by
mk89
4y ago
I didn’t say it’s not an improvement. I just wonder who will you blame once you have a hacker exploiting that exact CVE which you didn’t know about because they sold you rust as memory safe language, so you didn’t take the time to run any s
566.
▲
by
mk89
4y ago
I am not a Rust or C++ fanboy, and I am happy that we are moving towards a future where there are less memory bugs, but… are we really? - https://www.infoq.com/news/2021/11/rudra-rust-safety/ - https:&#
567.
▲
by
mk89
4y ago
> Said warmongering dictators do not need dollars or euros to wage any war. And how do they pay for “things”?
568.
▲
by
mk89
4y ago
I agree. Until it becomes an issue, where everyone runs screaming like chickens, literally nobody gives a shit.
569.
▲
by
mk89
4y ago
You can use yaml nowadays with Spring. It's not anymore that ugly stuff it used to be 10 years ago where you had to wire everything together bit by bit. I believe one thing that really tells the Java world apart from others is the heav
570.
▲
by
mk89
4y ago
Just stumbled upon this: https://developer.apple.com/documentation/distributed is this not good enough?
More ›