Better HN
topnewbestaskshowjobs
Log inSign up

qbasic_forever

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

Submissions

comment 3y ago · link · parent

One of the articles about this past weekend's Cruise traffic jams mentioned the company blamed a flakey cell phone signal as the root cause. Now why would having perfect access to cell networks be required to keep the car driving... I suspect because Cruise is relying much more heavily on remote human drivers. It would not surprise me to find out Cruise is just a big scam and the self driving algorithm fails so often the cars are basically just remote piloted taxis.

comment 3y ago · link · parent

Absolute garbage comment. Go listen to some 60s rock and it's nothing but the same themes. Jim Morrison and the Doors wrote songs about explicitly killing your father, doing drugs, etc.

comment 3y ago · link · parent

You might like systemd's run command, it's a hidden little gem that basically does what your tool does--it turns some CLI params into a transient service file: https://www.freedesktop.org/software/systemd/man/systemd-run...

I dunno if this was a more recent addition to systemd, but it's pretty slick in my limited use. I use it for exactly the scenarios you mention, like quickly spinning up some local user services during development. It can do stuff like setup a listening socket, timer (cron) or file watcher service all from the CLI too.

comment 3y ago · link · parent

Wrong, by 2030 there will be a lot less coastal area habitable in Hawaii: https://climate.hawaii.gov/hi-facts/sea-level-rise/

If you think the great lake region is too cold or wintery, well I got some bad and/or good news about what global warming is doing... it's not going to be frigid winters there for much longer.

comment 3y ago · link · parent

Buy some property next to or on the great lakes, like in Michigan's upper peninsula. Hawaii and many, many coastal areas of the US will be underwater in the coming decades as oceans rise. A lot of climate crisis aware folks in the know are saying the great lakes will geographically be one of the best places to ride out the oncoming catastrophe--it's well enough inland yet also near a huge source of fresh water. It's also a gorgeous place that isn't a total tourist trap.

comment 3y ago · link · parent

That's wild to see 10 year car loans. But on the other hand I also saw some high-end Cadillacs are north of $150k brand new, so some folks are really going to do anything to conspicuously consume. I can't fathom spending so much money on a massively depreciating asset.

comment 3y ago · link · parent

I don't think you understand how new cars are sold in the US. You can't click buttons and order the car from the website, you have to work with a dealer and convince them it's worth their time to order a car for you.

I got some bad news, there is no dealership that thinks a $22k Corolla is worth their time when dozens of other buyers are willing to spend $30-40k or more for other models. The higher the price out the door generally the more money the dealership is making.

comment 3y ago · link · parent

I just went to Toyota's site and mid range V6 Camry with a few options like navigation, driving assistance, etc. is over $45k sticker price. If you want a hybrid it's over $50k. For a Camry!

comment 3y ago · link · parent

Goooooooood luck driving off a dealer lot with a $22k Toyota! Seriously, if you can do it then good on you!

But back in the real world the on the lot availability of cars is abysmal and most makes are sold out for months of backlog. Like if you want a Toyota minivan it's something like a 2 year wait--unless you are willing to buy one on the lot with a $10k dealer markup.

comment 3y ago · link · parent

Not nearly as much as inflation. Groceries alone are up something like 40% in the last 2-3 years. Your and everyone else's wages have not risen that fast on the whole.

comment 3y ago · link · parent

There is a _LOT_ of debt being added, household debt is up to something like 17 trillion dollars from like under 10 trillion pre pandemic.

IMHO vehicles are huge drivers of debt. There are almost no cars under $30k now, and the average sale price of new cars is pushing up near $50k. This is for bog standard stuff like Hondas and Fords, not luxury cars. Used cars are incredibly expensive too. People are financing cars for well over 5 years now--I've heard of people on 6 and 7 year loans now just to make monthly payments possible. It's nuts.

comment 3y ago · link · parent

Your kernel is fine at managing the container root filesystem and paging in and out parts as necessary. It's not just loading gigabytes of root fs into memory and calling it good.

comment 3y ago · link · parent

No a process running in docker or on your host is going to use the same amount of RAM. There is no RAM dedicated to a running container on Linux--it's just a process that's flagged with some metadata to tell the kernel that it should be isolated in certain ways, like with a unique root filesystem.

comment 3y ago · link · parent

Again, it's integrated in vs code and GitHub codespaces. If you open your project in vs code it detects the devcontainer config and automatically launches the container using docker, connects vs code remotely to code in the container, and pops open any terminals or tool executions in the container.

On GitHub codespaces it gives you a button on the website that is literally one click and get vs code in the browser connected to your dev container launched in their cloud--you don't even need vs code or anything installed and can code from a tablet for example.

comment 3y ago · link · parent

It's not tied to vs code, you can install a standalone CLI if you need to exactly replicate the container somewhere else (wherever node and docker can be installed): https://code.visualstudio.com/docs/devcontainers/devcontaine...

But... I don't think you have a good understanding of the feature if you're making that comment. Most people that use dev containers just have a dockerfile or docker compose file in their project and point the dev container config at it directly. Anything can use that dockerfile, it's not special in any way.

comment 3y ago · link · parent

You don't understand the feature. Devcontainers can use any plain old dockerfile or docker compose file, it's literally part of the spec.

You can do exactly what you're saying--have a dockerfile as the source of truth--right now. And you can install the devcontainer CLI and use it outside vs code if necessary too: https://code.visualstudio.com/docs/devcontainers/devcontaine...

comment 3y ago · link · parent

It's integrated into vs code and nearly transparent. Like they said, someone new to a project can just open the IDE and their environment is automatically setup vs. spending days installing tools from a (likely) undocumented and out of date process.

comment 3y ago · link · parent

You don't have to use them, docker has flags to disable things like network isolation. If you want to go deeper systemd-nspawn doesn't isolate anything (network, pid, user, etc.). And if you are some anti-systemd zealot the plain old chroot command does what you want too (and has done so for decades).

comment 3y ago · link · parent

It's no lighter than a process running in docker, on a Linux machine at least. With docker you have a whole root filesystem packaged up and a process inside it is executed on your system with certain kernel namespacing to set its root filesystem, users, network access, limits on memory and CPU usage, etc.

With nix instead of a tarball being the root filesystem it's a bunch of symlinks to stuff in the nix store directory--the process you run is exactly the same as whatever you're running in docker.

One crucial difference is that nix does nothing for network isolation, you have to do all that on your own (if you need it).

comment 3y ago · link · parent

It's fine, just be sure you know where your tools are coming from (use the which command a lot when unsure). Nix might have more up to date or bleeding edge software, although since you're on arch in my experience nix can lag even arch by a little bit.

Fully reproducible environments with home manager and nixos are neat but IMHO you can just use ansible to do the same thing on debian, arch, etc. if those systems have the packages you need.

When you inevitably find software that isn't in nix (or are packaging your own software), be prepared to take a quantum leap in complexity as you now need to fully understand the nix language and its concepts like derivations. This isn't necessarily hard but it is not documented well at all, and there are factions in nix at odds with each other (flakes vs. nix-env) which make learning it even more confusing.

comment 3y ago · link · parent

Subpoenas can happen extremely quickly though so don't think it's a slow process today. They just need a DA to talk to a judge and get the paperwork approved. I've heard there are judges on call effectively 24/7 ready to approve subpoenas as necessary.

comment 3y ago · link · parent

As long as the watch time doesn't drift drastically, does it really matter? Set it once from your atomic source and it will be fine for seconds accuracy. It's not like you're going to be doing the timing for the LIGO experiment or similar with this watch.

But to directly answer your question, since this board exposes some GPIO and digital buses there's no reason you couldn't built a GPS receiver add on that reads the atomic time from GPS satellite signals and sets the watch time. It would be extra bulk and battery drain of course.

comment 3y ago · link · parent

The FBI can already subpoena this information from your cell provider. They would even do this back in the analog cell phone days--Kevin Mitnick was nearly caught a few times because they were tracking the location of his analog cell phone.

comment 3y ago · link · parent

This board is an order of magnitude more capable as a general CPU than the original, that's why it takes more power. The SAM L22 processor on it has 32 kilobytes of RAM and 256 kilobytes of code/flash storage vs basically zero memory or programmability on the original. You could easily run micropython, tinygo, johnny five (JavaScript), lua or other high level languages directly on the L22 processor here. It's a fun board for embedded electronics hobbyists. If you've ever played with an Arduino, this is basically one you can wear on your wrist in a classic watch shell.

I don't think this product is for you if you're just expecting a longer battery life watch... and that's ok!

comment 3y ago · link · parent

The demand for food delivery still exists and plenty of other companies would fill the void, that's how the free market works. Right now these apps are exploiting workers so they can pocket more money for shareholders and paper over a failing business model.

comment 3y ago · link · parent

What? So is there like a Twitter/X for whales, dolphins, octopi, etc. that let them post racist screeds and everyone agrees well there's nothing we can do about it that's just the cost of intelligence?

comment 3y ago · link · parent

The commenter explicitly says to the contrary:

> Skip, on the other hand, penalizes his earnings if he falls below 80% moving average accept rate (over the last 10 orders).

comment 3y ago · link · parent

Nope, I said none of those things like banning part time work that you are saying.

Your only comment here is to try to pivot into other arguments that you are inventing. Not gonna work here.

comment 3y ago · link · parent

He DOES have a boss that mandates when he needs to work--the apps penalize him if he isn't taking rides and eventually cut off his work entirely if he isn't taking them (which is the whole point of the original article and legislation in Seattle!).

comment 3y ago · link · parent

Do you realize what you're saying? Gig company A only dribbles out 8 hours of work a week so your Dad is forced to also work for gig company B, but needs flexible hours to do so.

You are completely failing to see my point--if gig company A had to employ your Dad as a part time or full time employee with guaranteed minimum wage or work hours and other benefits he wouldn't have to tetris together an insane set of gig work jobs to keep from being evicted or starved.

Your dad is forced to be an indentured servant for these companies that can't make money without exploiting people like him. And somehow you are immediately going to bat for these employers... pretty sick IMHO.

12345
84