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?
173 karma · joined December 8, 2018
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?
I did have to tweak few things mentioned in their community page/forum to get everything working.
Two issues (which hasn't bothered me yet)
- battery drain during suspend
- gnome not supporting different scaling with multiple monitors (fixed in later version of gnome as I understand)
edit: formattingAppArmor has come a long way. It's worth learning about it. They have quite a few builtin profiles that you can take advantage of.
alias npm='aa-exec -p sandbox npm'
alias node='aa-exec -p sandbox node'
sandbox profile: # /etc/apparmor.d/sandbox
include <tunables/global>
profile sandbox {
#include <abstractions/base>
#include <abstractions/consoles>
#include <abstractions/nameservice>
/sys/** r,
/{usr/,}bin/* ixr,
# nodejs install dir
owner /home/*/nodejs/**/* rix,
owner /tmp/** rw,
owner /tmp/**/ rw,
owner /home/*/.npm/_* lrw,
owner /home/*/.npm/_*/ lrw,
owner /home/*/.npm/_*/** lrw,
owner /home/*/.npmrc r,
owner /home/**/node_modules/ rwix,
owner /home/**/node_modules/** rwix,
owner /home/**/package.json rw,
owner /home/**/package-lock.json rw,
owner /home/*/projects/**/ r,
owner /home/*/projects/** r,
}
To load the profile:sudo apparmor_parser -r /etc/apparmor.d/sandbox
edit: For completeness, added step to load the profile.
I wish package.json had an option where I could explicitly mark which packages can run postinstall scripts.
$ grep postinstall node_modules/*/package.json
node_modules/esbuild/package.json: "postinstall": "node install.js"
$ cd node_modules/esbuild
$ npm run postinstallhttps://www.growingagreenerworld.com/episode-803-epic-tomato...
Anyway, this is what you could do. Find out which packages require postinstall scripts and then run it manually:
$ grep postinstall node_modules/**/package.json
node_modules/node-sass/package.json: "postinstall": "node scripts/build.js",
$ cd node_modules/node-sass/
$ yarn run postinstall
On the positive side, you get to know more about the dependency that you are trying to add :) npm config set ignore-scripts true
yarn config set ignore-scripts true
https://blog.npmjs.org/post/141702881055/package-install-scr...The OS has udev and systemd support and it's very easy to cross compile code with arm-linux-gnueabihf-gcc. I was able to build static binaries of packages with just the following option:
./configure --target=arm-linux-gnueabi --host=arm-linux-gnueabi --build=x86_64-linux CFLAGS="-static"
make LDFLAGS="-static"
You have low level access to buttons, framebuffer, touch events etc as well. You can do all kinds of interesting things with that.