Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sergiosgc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
sergiosgc
4y ago
I really dislike that link in the article. People lacking self-confidence may be more prone to introversion, but the reverse is false. Introversion is not mostly caused by lack of self-confidence, and it's not something you should &quo
92.
▲
by
sergiosgc
4y ago
That's not how you migrate. You disable the foreign keys, load the data, then enable them (which checks everything is ok).
93.
▲
by
sergiosgc
4y ago
Congratulations on the post. One may agree or disagree with the content, but the text is clear, to the point, and generally very well written. Good writing is, to me, the foundation of a good engineer. I know excellent engineers who are not
94.
▲
by
sergiosgc
4y ago
That's not it. EU countries have income tax.
95.
▲
by
sergiosgc
4y ago
I'm also developing in Rust, with a 12th gen i7-1270P. It's an absolute beast; I'd say it's on the range of 2x speedup vs my previous laptop (11th gen i7). I have no idea about power consumption yet (the laptop is a coup
96.
▲
by
sergiosgc
4y ago
You can have a statistic approach, and that's what the OP is referring to. If you find out about an unknown unknown frequently, they are out there. If you go years without hitting one, they are (probably) absent.
97.
▲
by
sergiosgc
4y ago
Anything "falsy" -- any item that, when cast to boolean results in false. So, also zeroes, falses and empty strings.
98.
▲
by
sergiosgc
4y ago
> I will quietly place my face in my hands and weep to the memory of php coding I did 20 years ago. You should revisit the language. PHP7 was a huge leap forward. It's a different language now.
99.
▲
by
sergiosgc
4y ago
I'd implement two mitigation features ASAP: 1. Disable the ability to unlock the car if the phone has been stationary for a while. No more siphoning authentication from a phone in the night stand. 2a. Setup phone presence inside the ca
100.
▲
by
sergiosgc
4y ago
Nice side effect: SQLite's SQL is almost entirely compatible with Postgresql. This probably allows one to use Postgresql instead of Mysql.
101.
▲
by
sergiosgc
4y ago
Synthetic fertilizers do not deplete soil fertility. Some agricultural practices do, with a strong emphasis on mono-culture, but it is wrong to throw everything in the same bag. Growing without synthetic fertilizers appeals to the symbiotic
102.
▲
by
sergiosgc
4y ago
M1 Macbooks support OSX only. That's a deal breaker.
103.
▲
by
sergiosgc
4y ago
Student loans should be discharged on personal bankruptcy. All of the other examples you give can be written off like that. Student loans, however, are rarely discharged by judges on those processes.
104.
▲
by
sergiosgc
4y ago
7th gen keyboard is the best in the X1 Carbon history, 8th gen had reliability problems, and the current generation (9th) is very very good, if you are ok with the reduced key travel. I happen to like it, but it is really a matter of person
105.
▲
by
sergiosgc
4y ago
Sorry, but no. That is entirely false. I get 10h out of a Lenovo X1C, and Lenovo is not special. Good battery life is not yet a given in every laptop, but easy enough to find with a bit of care when choosing the laptop.
106.
▲
by
sergiosgc
4y ago
I second that. I only use X1Cs. Had a gen3, gen7 and currently use a gen9. The one I have now (X1C Gen9) is the first one that turns the fans on without any CPU heavy task (compiling, blender, stuff like that). Low RPM, but fanning nonethel
107.
▲
by
sergiosgc
5y ago
The SSO flow is way too complex for something that must work on an emergency.
108.
▲
by
sergiosgc
5y ago
Why can't I tamper with hardware I bought and paid for? It's not theirs to brick, whatever the justification. I hate that the idea that you rent stuff from companies, instead of buying and owning, is now so ingrained that people d
109.
▲
by
sergiosgc
5y ago
There is nothing intrinsically wrong with positive rights. The right to physical safety involves active participation of others, and you'd be bonkers to say it isn't a valid right. No society functions without police. What we do w
110.
▲
by
sergiosgc
5y ago
The idea of a public ledger, where any public record can be kept without the need of a central authority certainly has value. The fact that current tech solutions are not efficient, and thus expensive, should not hide that value. Instead of
111.
▲
by
sergiosgc
5y ago
It's a very risky move. These agreements usually have a generous period for participants to seek funding (six months is typical). If the deal is economically advantageous (11k for a 50k share), and the problem is liquidity, the buying
112.
▲
by
sergiosgc
5y ago
The company avoided a shareholder fight for shares. This is actually a defense mechanism for the company, not the founders.
113.
▲
by
sergiosgc
5y ago
It solves the basic problem of stabilizing the shareholder group. No more infighting. Important to your point, this method makes it difficult to stray from the real valuation. If Alice really wants out, she does not value the shares as much
114.
▲
by
sergiosgc
5y ago
Having a shootout agreement in place I think is the best option: At any moment, a founder may wish to buy someone else's equity, or may wish to sell his own. At that moment, he proposes a transaction value. The counter-party has the ch
115.
▲
by
sergiosgc
5y ago
Portugal's prime minister announced a simplified visa programme for any Ukrainian wishing to flee the conflict. If in need, get in touch with the Portuguese embassy in Kiev [1]. It is still staffed. [1] https://kiev.embaixad
116.
▲
by
sergiosgc
5y ago
> For Ethereum and most other altcoins, it's not possible to run a full node on a home computer. That's why most of the nodes are run by companies such as Infura. I have never tried to run a full node, but from what I read, the
117.
▲
by
sergiosgc
5y ago
I have. Elegant it is not. Actually, it smells like Enterprise Java code, which made me flee from the Java ecosystem. To each his own, but this is not an elegant event listener (copied from the examples page): use App\Events\ArtistInfor
118.
▲
by
sergiosgc
5y ago
Not a native speaker either, so take this with a grain of salt. I read it as acting promptly, staying ahead of the problem, do not postpone remedial action.
119.
▲
by
sergiosgc
5y ago
Many people maintain those in a text file, somewhere. My approach is slightly different. I keep them in my shell history file itself. First, set your HISTSIZE to 1 trillion. Then, tag the relevant commands in the history file with a comment
120.
▲
by
sergiosgc
5y ago
> Awk/sed made sense for the time and place they are from, but things have changed. Don't do that. Do not assume something is of no use because you don't know how to use it. Double that recommendation for tools that have w
More ›