Better HN
topnewbestaskshowjobs
Log inSign up

qbasic_forever

10,505 karma · joined Feb 3, 2021 (5y ago) · 2,505 submissions

Submissions

comment 4y ago · link · parent

The pi is meant to be setup to a TV or monitor with a keyboard and mouse for a full interactive login. You need some way for a human to type in authentication.

comment 4y ago · link · parent

QEMU and binfmt_misc should do the trick: https://wiki.debian.org/QemuUserEmulation

comment 4y ago · link · parent

If you're running a headless setup I'd switch to Ubuntu. You can use cloud-init and set it all up just like a VPS.

comment 4y ago · link · parent

The real winners are the boomer generation. When they graduated college in the mid 60's wages were enormous relative to the cost of property. Property in all the now hotly competitive areas was dirt cheap too. If you bought in SF back then you've probably made 100x or more on the property value.

comment 4y ago · link · parent

I was thinking the same thing, isn't ruby particularly hard to package as it doesn't support static compilation? It would be nice to just sidestep all of that with a hermetic little WASM distribution.

comment 4y ago · link · parent

They were probably posing for a photo there. Pair programming wasn't coined as a term or popularized by Kent Beck until the early 2000s and 'Extreme Programming'.

comment 4y ago · link · parent

I remember that flight simulator demo, it was something you'd find at events and trade shows or even super fancy arcades. This was back in the first VR 'boom' and tail end of the era of arcades. Some companies used SGI and similar powerful workstations to build simulator game pods, like for mechwarrior and spacecraft racing games. People would pay for a 5-10 minute session in one.

comment 4y ago · link · parent

Their price reflected their capabilities. I think they were something like $20k on the low end. A nice new car in 1993 was maybe $10k. Lots of homes even in good cities sold for $20k.

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

That might work for much more senior or established roles where the hiring pool is small and candidates few. But for your bog standard engineer roles it's not worth the company time and hassle to fuss with negotiations before interviews even start. The unfortunate reality is they'll just pass over anyone demanding such things and grab any of the other resumes on the stack.

comment 4y ago · link · parent

> I'm not sure what the compensation model for recruiters is, but it seems to encourage bringing in as many candidates as possible over treating them with honesty and respect.

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

Let's pretend Linus Torvalds worked for Google, would he be able to get promoted for creating and maintaining Linux? As far as the bottom line goes it brings in zero dollars and costs the company his total compensation or more to maintain.

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

The pull request scenario is what scares me. Someone sends you a drive by pull request that has a ton of changes and you don't notice they slipped an obfuscated bash quirk into the .envrc (along with legitimate changes to the file) that invokes their obfuscated nasty script. You pull down the change, approve the envrc (looks fine!), and poof there goes your home directory or worse.

comment 4y ago · link · parent

Yeah the LSP ecosystem is so much nicer than the machinations hacked into text editors over the last 20 years. When you get down to it a modern editor is just a process manager for language servers, a global event bus/RPC layer across them all, and a UI layer. Instead of reinventing bespoke versions of those things, just solidify it using standard protocols like JSON RPC, HTML for UI, etc.

comment 4y ago · link · parent

It happens by default, more or less.

comment 4y ago · link · parent

I wouldn't say it's a new era of open source, there's nothing novel about licensing from rust. But from a tool perspective both rust and golang support easy static binary creation and IMHO that's why you see both of them being popular with modern CLI tools.

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

Do you use Windows? Have you ever opened its terminal? Congrats, you're using a terminal that you agreed can phone home with telemtry. See https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk... and the link to the privacy policy for windows terminal http://go.microsoft.com/fwlink/?LinkID=521839

I suspect OSX is no different and has similar telemetry and privacy policy for its terminal.

comment 4y ago · link · parent

If there's a 1970's technology in bad need of an update, it's the man page format IMHO. Markdown is far easier to quickly learn and write.

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

Yeah I think some folks are seeing this and thinking the terminal is the product, when in reality the devops platform is the real product here and a slick terminal emulator is one component of that platform. Enterprises pay good money to companies like Redhat, Teleport, etc. for similar kinds of devops collaboration/security platforms.

comment 4y ago · link · parent

If you squint this isn't that far different from rundeck, ansible tower, etc. or other devops platforms that focus on collaborative management and maintenance of machines, services, etc. If they market to the kubernetes space in particular I suspect there's a market for devops teams there--the ecosystem is flooded with CLI tools and best practices but very little primary panes of glass to manage them all or tie them together. It's not too far of a jump to start offering a managed cloud service with these services.

comment 4y ago · link · parent

I love the idea of mixing terminal and documentation, kind of like a terminal notebook. I wish there was an open source project that was basically just a shell/bash jupyter notebook and nothing more. So many little scripts, makefiles, project setups, etc. would be way easier to understand and maintain if they were mostly markdown documentation with some big "Run this" buttons next to the code blocks.

comment 4y ago · link · parent

Unfortunately like the other comment you didn't read what I said and my concern about this approach. Please see my response: https://news.ycombinator.com/item?id=30922199

comment 4y ago · link · parent

Yes, that's why I explicitly mentioned this:

> 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

Presumably investors want at least 10x their investment, so...

comment 4y ago · link · parent

Wait, you _have_ to have a github account to even open this terminal?

Yikes.

comment 4y ago · link · parent

direnv is nice but it really makes me uneasy if it catches on for modern collaborative development.

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

I've found getting a multifunction device with wifi/network capability and the ability to directly upload to Dropbox or other cloud services is a _huge_ sanity saver. You can just completely throw away having to install or janitor drivers for document scanning and do it all on the device. Send things straight to your cloud file store of choice and the doc is right there on whatever computer you need. This is how scanning should work but absolutely never does when you have to touch drivers and such.

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

Wow this is a really well done little marketing thing to make the 1.0 an entire week 'event'. I like how it ends only with, 'here try the tutorial' and not 'please let's sign you up for newsletters, alerts, etc. etc.'.

comment 4y ago · link · parent

There's not enough information in the original maps to truly exploit all the features of a raytracing and global illumination engine. None of the textures have normal maps for example, so all of those beautiful bricks and such look flat as a board. Lighting was only defined ambiently at the entire sector level (think shapes on the map) so there's no information on light source locations, direction, spread, etc. So you're really just left with some fancy dynamic lighting and shadows--which IMHO still looks pretty cool (love the shadows and green glow as a BFG ball whizzes by) but yeah it doesn't look anything like a game designed with these features in mind from the start.

comment 4y ago · link · parent

It's really underrated, I love it too.

comment 4y ago · link · parent

I really like papercolor for a light theme: https://github.com/NLKNguyen/papercolor-theme
1
484950
84