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

Find a cheap apache web host that allows cgi-bin.

comment 4y ago · link · parent

VS Code is effectively a SSR IDE. Electron and node are the 'server' side of it and are necessary for interacting with the filesystem and all the native things browsers can't access (running processes, terminals, etc.). It has a somewhat complex RPC model (inherent to all Electron apps in general) where JS code on the browser frontend side has to make requests with JS code on the node side and vice-versa, just like most Next.js style SSR apps. It's a very similar ball of complexity for better or worse as mentioned in this gist/blog post, and in general very necessary as browsers are only taking baby steps to give full access to file systems, processes, hardware, etc.

comment 4y ago · link · parent

Yeah they can quickly turn into the junk drawer in your kitchen. Things go in there to never be found again.

comment 4y ago · link · parent

Just make an alias in your bachrc.

comment 4y ago · link · parent

Serverless API functions, like if you were going to use Amazon AWS lambda functions to add interactivity or simple APIs to a site without have to manage and run a full server.

comment 4y ago · link · parent

What incentive do manufacturers have to release open firmware? Let's get serious, it's been 20+ years and desktop Linux usage isn't moving the needle or getting any of their attention.

IMHO it would be far better to put effort into change at a different level, like perhaps a broader push with right to repair legislation that expands it to include releasing firmware in addition to schematics, spare parts, etc. Change is going to have to come from a different source, you're just abusing users today for no benefit.

comment 4y ago · link · parent

Yeah by far the worst experience of living there is the lack of sunlight and not the rain. Watching the sunset at 4pm while you're still stuck in an office is brutal. Much of the winter you'll wake up in darkness, go to work, and come home in darkness.

It's worth it for the summer and fall though, at least when things aren't on fire. I've never experienced nicer and more consistently amazing weather than the PNW in summer and early fall.

comment 4y ago · link · parent

Yeah, but there's no release of docker daemon for mac or windows. You have to run a linux VM and install and use it there. Docker desktop basically wraps that VM process up into a little gui app. If you're willing to do it yourself then yeah a simple virtualbox VM can run docker without issues or license fees.

comment 4y ago · link · parent

Docker is under a commercial license and if you use it at a company or work you need to now pay $5 a person a month: https://www.docker.com/pricing/

This changed in the last year, previously docker was free to use personally or at non enterprise scale work/office.

comment 4y ago · link · parent

Yeah, take a serious look at desktop Linux instead of this thing.

comment 4y ago · link · parent

Companies have to increase wages as people job hop to seek better opportunities. Look at the Apple hiring/salary fixing fiasco that got Steve Jobs in hot water about a decade ago--Apple was actively colluding with all the tech companies to agree not to hire or poach employees so their salaries wouldn't rise: https://en.wikipedia.org/wiki/High-Tech_Employee_Antitrust_L...

Big companies love the free market, except when it means they have to pay more money to employees...

comment 4y ago · link · parent

Everyone who works for a FAANG or big tech company. Non-competes are unfortunately standard everywhere and I don't know of anyone who isn't like a distinguished engineer/luminary in the field (i.e. someone who can set the terms of their hiring) that was able to successfully negotiate one away.

comment 4y ago · link · parent

I don't want line numbers, IMHO it's an anti-pattern to have them. I'm not writing code trying to maximize the number of lines, or show my boss "look I wrote 10k lines today, so productive!". I'm trying to write less lines of code--if a function is sprawling past a page then I'm getting suspicious that it's too complex.

If I have to remember "ok line 7000 is where the weird permission business logic starts" that's a failure to comment and make clear how the code is structured.

If tooling is telling me there's a problem on a specific line then I should have a code action or command to take me directly to that line, I shouldn't have to juggle navigation manually.

comment 4y ago · link · parent

One of the more popular and recent LSP autocompletion plugins is written in python: https://github.com/ms-jpq/coq_nvim It appears to work pretty well for them.

comment 4y ago · link · parent

A lot of LSPs are written for node though, like pyright for example (yes, the best python LSP is written in typescript). It's kind of unavoidable to use node at some point if you're using LSPs in your editor.

comment 4y ago · link · parent

Yeah autocompletions are a mess with native LSP. In the last 6 months or so there have been ~3 different plugins around to support autocompletion, and each one fell into unmaintained or unused status. I hope eventually there is a stable, native solution for it.

comment 4y ago · link · parent

lua is such a nice and sane language for application config. I really enjoy neovim's choice to use it, and with this release more or less allow 100% of typical configuration to be done entirely in lua. Good riddance to bespoke scripting languages.

comment 4y ago · link · parent

Make sure to use the latest kernels. My Ryzen 2500U laptop has finally been fully stable and usable after about the 5.10 kernel. There were unfortunately a ton of bugs and issues with Ryzen, especially the APUs, in the earlier kernels. Ubuntu 21.10 or similar derivatives have been solid though.

comment 4y ago · link · parent

They address that in the post. Github treats organization accounts differently from personal accounts, and what would have worked perfectly fine and expected for a personal user account actually impacted a different and unexpected repo for an organization account. I would wager 99% of Github users would make a similar mistake in the same situation since they rarely deal with organization accounts directly.

comment 4y ago · link · parent

I wonder how different the response from Github would be if this blog post was instead, "Oops, Github's confusing UI made me delete the entire project metadata... so since we're forced to start fresh we decided to move to Gitlab/sourcehut/etc."

comment 4y ago · link · parent

Some people might say DLNA, but trust me you want absolutely nothing to do with that disaster of a protocol and tech. I have tried off and on for _15 years_ to use different DLNA tech and every single time it ends in total disappointment and failure.

comment 4y ago · link · parent

Your brain is still growing and changing with much more ease than someone who is 25 or older. So use these years where you can quickly learn and adapt well. But the other side of that coin is that you aren't emotionally matured yet and will look back at your actions in these years with much different eyes.

comment 4y ago · link · parent

caco 'wards (aka "caca-(a)wards")

named after the cacodemon: https://doom.fandom.com/wiki/Cacodemon

comment 4y ago · link · parent

I bet John is actually happier that the game he helped create almost 30 years ago is still so popular and has such a vibrant community that he's not the top dog in level creation.

comment 4y ago · link · parent

Looking forward to see how you'll imprison the German government for continuing to purchase oil from Russia through shell companies like Gazprombank.

comment 4y ago · link · parent

Probably have to terminate the fiber before the valve, put a port in to get it out, jump the valve, and then start again in the pipe after it. However once you're inside the house and about to hit the main valve they'd probably just pull the fiber out and put in the box to turn it into a network connection.

comment 4y ago · link · parent

Homebrew works great, even on linux. Every one of these nifty tools is available there.

asdf is another good option with most of them.

comment 4y ago · link · parent

The Element is actually kind of interesting because you would think it and the similarly boxy Scion xB would have been popular cars for young folks. They're utilitarian and oozed hip marketing directly at active younger kids--load it up with mountain bikes, camping gear, etc. and go have fun.

But in reality these cars were incredibly popular with senior citizens and older folks. It turns out they had amazing visibility with the boxy upright design and seniors felt safer driving them, plus they were spacious inside and easy to enter and exit. The marketing was kind of misplaced and younger folks didn't care for them at all.

comment 4y ago · link · parent

It's steel, it will rust. No one would want to spend the huge increase in cost for a fully stainless steel car. DeLorean tried!

comment 4y ago · link · parent

I don't think it's trying to compete with git, it's not decentralized or meant to support big distributed open source project development. This looks like a nice tool for Big Company to manage its internal, private code repositories.
1
464748
84