Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
notpublic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
notpublic
4y ago
*Jeremy Howard
62.
▲
by
notpublic
4y ago
First of all, a big thanks! What is your take on the current state of autonomous driving? Do you think we can achieve "full autonomy" with the technology we have currently? Any new advances in DL that you are excited about?
63.
▲
by
notpublic
5y ago
I have been using mine (64GB with Ubuntu 21.04, Gnome Flashback) for the past several months as my primary work laptop. I have not experienced any of the issues you mention. I like it so far. In fact, hardly notice it. Except maybe when I d
64.
▲
by
notpublic
5y ago
Fair enough. I meant easy as in without installing any additional software, minimal config and ease of use. AppArmor has come a long way. It's worth learning about it. They have quite a few builtin profiles that you can take advantage
65.
▲
by
notpublic
5y ago
If you are on a linux distro that supports apparmor (ubuntu/debian etc), such issues can be easily prevented by creating a sandbox profile and alias commands like node/npm to run using it. alias npm='aa-exec -p sandbox np
66.
▲
by
notpublic
5y ago
Good point and nice script. I am going to use it in my projects. I wish package.json had an option where I could explicitly mark which packages can run postinstall scripts.
67.
▲
by
notpublic
5y ago
You can find out which packages require postinstall scripts and then run them manually: $ grep postinstall node_modules/*/package.json node_modules/esbuild/package.json: "postinstall": "node insta
68.
▲
by
notpublic
5y ago
Talking about tomatoes, highly recommend watching this episode of Growing a Greener World. https://www.growingagreenerworld.com/episode-803-epic-tomato... https://www.craiglehoullier.com/resources-videos-etc
69.
▲
by
notpublic
6y ago
There is no easy way to do it. Wish yarn/npm had an --allow-scripts flag. Anyway, this is what you could do. Find out which packages require postinstall scripts and then run it manually: $ grep postinstall node_modules/**&
70.
▲
by
notpublic
6y ago
One can protect from these kinds of vulnerabilities by setting ignore-scripts to true as default: npm config set ignore-scripts true yarn config set ignore-scripts true https://blog.npmjs.org/post/14170288
71.
▲
by
notpublic
6y ago
It does. You can connect USB flash drive for e.g. You have to ssh and manually mount the drive though. Unfortunately, the existing xochitl app doesn't seem to show additional mounts. However, you can write your own scripts/code to