10,505 karma · joined Feb 3, 2021 (5y ago) · 2,505 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
edit: Wow these were actually $100-250k! Back in 1993 that was an immense amount of money. I bet you could have bought a nice San Francisco row house in the mission or other hot area for $100k back then.
comment 4y ago · link · parent
comment 4y ago · link · parent
This is exactly how it works, recruiters don't get paid unless they get a candidate hired. Despite all the words they write and say to you, they only care about getting you and the hiring manager to say yes and _everything_ else doesn't matter or is immaterial to them.
Unfortunately it's nothing new to see recruiters being less than honest. In their defense, right now is a weird time with many companies who were firmly in the remote only culture now backtracking and reopening again. It could be the case when this position opened things were much different with its requirements.
But ultimately never trust a thing a recruiter says unless it is signed in writing from your hiring manager/HR of the company. Never believe anything they say about compensation, the future of the company or your position, etc. Never.
comment 4y ago · link · parent
How would Linus quantify his revenue impact in his promotion packet and compete against another hypothetical engineer that improved ad targeting by 0.0X% and can directly measure an increase of revenue for the comapny in the millions of dollars?
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
Gone are the days of packaging up distro-specific binaries, or worse yet depending on some system installed script interpreter (and all the myriad of ways it can be broken or out of date on your user's machines). Now you just download a single executable, put it in your path, and you're done. It will always work--today, tomorrow, ten years from now. It's so easy and reproducible you can even just commit the tools into your source repo if you want.
comment 4y ago · link · parent
I suspect OSX is no different and has similar telemetry and privacy policy for its terminal.
comment 4y ago · link · parent
But you completely missed my point of computational notebooks + shell and I'll just respond in kind with a link that you should research yourself: https://en.wikipedia.org/wiki/Project_Jupyter
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
> And the only thing preventing that from happening is the suggestion of "oh be sure to eyeball the .envrc file and make sure it looks ok, then run this command to enable it". People will just google for the first "how to I unblock .envrc file" and blindly run the command, then oops. Or a determined attacker will just obfuscate what they're doing so the .envrc looks fine but you failed to realize some esoteric bash-isms were actually invoking an obfuscated script and... oops.
You need to be absolutely sure you've read and understand every single line in the .envrc file, and every single line in any script it may be invoking, before you run direnv allow. Otherwise you are giving code from the internet a blank check to do anything on your machine with your user account.
I personally do not think bash/shell is a sensible language to trust that you can quickly or easily determine from a visual check alone if a script might be doing nefarious things.
comment 4y ago · link · parent
You are giving people a _ton_ of trust when cloning a repo or pull request that has a .envrc which will be automatically executed by direnv. This file could do anything from steal your SSH keys to delete your entire home directory or worse. And the only thing preventing that from happening is the suggestion of "oh be sure to eyeball the .envrc file and make sure it looks ok, then run this command to enable it". People will just google for the first "how to I unblock .envrc file" and blindly run the command, then oops. Or a determined attacker will just obfuscate what they're doing so the .envrc looks fine but you failed to realize some esoteric bash-isms were actually invoking an obfuscated script and... oops. It's just begging for a supply chain disaster on a similar scale as npm's infamous issues.
VS code and some vim extensions have similar issues with automatic project-specific configurations that allow arbitrary code execution too, and neither have a good solution beyond 'just read all the code and understand it to make sure it's not going to hurt you'. It's not really a unique thing to direnv.
We really need a better model for collaboration and consistent dev environments. I think containers and docker/chroot/etc. environments with explicit opt in of your local resources, configs, files, etc. are a much more sane and security conscious path towards it. A script executing to setup my python environment for a project should never, ever have access or even know about my personal password store database for example (unless I explicitly decide it should).
comment 4y ago · link · parent
For printing if you use a modern version of Ubuntu or other distro it's pretty uneventful and network printers, especially those that support Apple print and advertise themselves on your network, all just work.
comment 4y ago · link · parent
comment 4y ago · link · parent