Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
forty
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
871.
▲
by
forty
5y ago
Unless I'm missing something, the exercise is pretty simple, and could be done with grep in a sane codebase (find all require without indentation and with a single string literal inside the parenthesis)
872.
▲
by
forty
5y ago
I have been doing nodejs backend development for the past 10 years and I have no idea why ES module are needed and who is using them. I assume this is a front end thing. We are using typescript which is using "import" syntax, but
873.
▲
by
forty
5y ago
Yes I answered a sibling comment on front end code, I'll ask here again: doesn't browser code have tests that are run with nodejs? And my build / CI machines generally run the tests too (though it's possible to separate
874.
▲
by
forty
5y ago
Yeah I also thought of that but aren't front end devs running some kind of unit test in node? Do they always run everything in their browser? (Honest question, I'm a BE person)
875.
▲
by
forty
5y ago
I understand the attack but my point is that the next step after installing the popular package is probably to import/require it in my code, then run my unit tests, which will allow the evil package to run whatever code they intended t
876.
▲
by
forty
5y ago
Isn't that only useful for the very rare minority of people that install packages then don't run the code right after? :)
877.
▲
by
forty
5y ago
It's not the case in Dashlane at least. If you share a password with "full rights", all users have the same access to the password, and can cut off the others at any time.
878.
▲
by
forty
5y ago
You can store your 2FA in a password manager, and use it to share it with people. (I work for Dashlane which supports this, but I'm sure some other PM can also do this)
879.
▲
by
forty
5y ago
Absolutely. This is for secondary houses mostly though, it's slightly easier to expel those from your main accomodation. But I think in any case your ownership of the property is not challenged. It's "just" that you cann
880.
▲
by
forty
5y ago
Perfectly reasonable. However it's another thing to give them to your kids.
881.
▲
by
forty
5y ago
Is there stories of people getting their property stolen this way? My guess is that in France, if such a story as the article happended, the buyer would be kicked out of the house (and probably lose their money stolen by the fraudsters) but
882.
▲
by
forty
5y ago
Yes, I'm not sure what parent means. Even java double has NaN.
883.
▲
by
forty
5y ago
I have been using vi like key bindings for the past 15 years, so learning to do differently would be a significant investment I'm not willing to make, even moreso that the benefits would not be clear ;) But yes, I'm 100% convinced
884.
▲
by
forty
5y ago
I switched from vscode to (doom) emacs. I don't know how it is now, but the vi-like key bindings of vscode were pretty bad at the time.
885.
▲
by
forty
5y ago
May I ask you what experience you have with upstreaning or not upstreaming kernel patches that have led you to make this comment? (I have recently read very interesting articles/presentation from Netflix and Google about both approache
886.
▲
by
forty
5y ago
Music is not an Apple product, maybe they don't really care.
887.
▲
by
forty
5y ago
First time I discovered earthly I found it looked cool, but then I encountered the issue that it needed privileged docker which is not really practical in our setup, as this would require launching one VM per build job (we are using gitlab
888.
▲
by
forty
5y ago
Yes absolutely. On AWS you can use spot instance fleets to implement this strategy https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-spot...
889.
▲
by
forty
5y ago
For a while I have been saying "buy AMD now or else later you won't have a choice" (and for laptop we did not have a choice not that long ago, so it's not hard to imagine)
890.
▲
by
forty
5y ago
Personally I'd like more external ports. My current laptop have like 2 usb-c 2 usb-a, 1 HDMI, 1 Ethernet, 1 audio jack and 1sd reader, which I find pretty convenient for most situations. I think the 4 internal ports are more than enoug
891.
▲
by
forty
5y ago
Maybe they will. If not you can increase the tax even more and, worse case scenario they still don't care and you still get the money to invest in public transportation :)
892.
▲
by
forty
5y ago
Well except that on peak hours their infrastructure would disappear :) You always need some traditional instances to serve things that need to be available at all time, like your website. Now you could run things using spot instances and sw
893.
▲
by
forty
5y ago
I remember asking a candidate whether they were doing microservices at her current job. She answered "I don't know if we have microservices, but we do have services that don't do much" It's since then that's my
894.
▲
by
forty
5y ago
If you like trains and nuclear, you should move to France, we have lots of both. And pastry too ;)
895.
▲
by
forty
5y ago
Yeah I feel the end of life has not yet been factored in the price (ie the cost of dismantling the reactor or maintaining it alive forever). It would be very aligned with the general philosophy of nuclear ^^ (ie "the next generations w
896.
▲
by
forty
5y ago
Where have you seen nuclear is the cheapest solution for electrity production? Nuclear has some benefits, but price does seem to be one of them (and actually one of the reasons for preferring renewable)
897.
▲
by
forty
5y ago
Yeah I have no idea what parent means. We have a company branded company namespace on dockerhub with just a dev account. There is indeed this verified publisher program, which is crazily expensive and I'm not sure what benefits it offe
898.
▲
by
forty
5y ago
In French we say "good practices" (bonnes pratiques) so at least there is room for improving them ;)
899.
▲
by
forty
5y ago
I was only joking on the topic of Australia vs Russia :)
900.
▲
by
forty
5y ago
From a French point of view, this might have become debatable lately ;)
More ›