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

> And why do we assume that the tech is sufficiently advanced to e.g. take out every major city at the push of a button?

I guess you didn't grow up under the cold war? Typical nuclear weapons are 10-20 megatons of explosive force and can destroy everything within a city-wide radius or more. There is the capability to deliver 100-200 megaton mega weapons too (they have been tested in the 60's, look up Tsar Bomba).

Delivery devices like ICBMs include dozens of these warheads in independently target-able munitions--the idea is that one big missile can be shot down, but a shower of dozens and dozens of warheads is impossible to stop when only one needs to hit. These missiles can launch from undetectable nuclear-powered submarines laying in wait anywhere on 70% of the globe (even under a sheet of arctic ice).

As far as numbers go they were vastly reduced in the 90s, but both the US and Russia have enough nuclear munitions left to destroy every major city in the world.

comment 4y ago · link · parent

We have something even worse happening right now--climate change armageddon.

comment 4y ago · link · parent

It seems like the perfect thing for Facebook (err Meta) to do with their social network. Bands already use Facebook for announcing tours, events, etc. so it would be a logical step to let them sell digital goods/music and give a small percent to FB. But I dunno if Meta actually cares about this business anymore.

comment 4y ago · link · parent

Yeah, I wish there were a go version of the same minimal template engine/swiss army knife that is eleventy. Hugo is nice if you need some full fledged CMS workflow and can do everything the hugo way. But IMHO if you're just turning some markdown into HTML with a simple template then hugo has far too many concepts and abstractions. Eleventy is a breath of fresh air and can be learned and made productive in an afternoon.

comment 4y ago · link · parent

It doesn't look like this has any editing UI (i.e. code, sound, graphics, etc. editors) like PICO-8 or TIC-80. So it's more of a bare runtime for a console and you're on your own to make all the assets.

comment 4y ago · link · parent

Check out Pulumi, it's a similar idea of python (or other languages) to generate container orchestration config for Kubernetes or other systems: https://github.com/pulumi/pulumi

comment 4y ago · link · parent

If you're dockerizing a dev environment check out batect, it's kind of like the combo of docker-compose + make (i.e. simple script running) that is really the tool we all just want: https://batect.dev/ It can easily define one-off container tasks like integration test runs with just a couple lines of config.

comment 4y ago · link · parent

I don't think people realize just how much work tools like crosstool NG do to take away the pain of cross compiling. I remember trying to cross compile stuff in the early 2000s before all that tooling existed and.... oh boy, it was nightmare fuel. A good docker container setup makes it even easier these days.

comment 4y ago · link · parent

Brits calling the US "the colonies" would be a better comparison.

"The Ukraine" is how the Soviet Union referred to the country when they ruled it. Modern, independent Ukraine does not want this association anymore (and rightfully so).

comment 4y ago · link · parent

And how do you handle your manager having a cultural or unconscious bias against your <race / religion / body type / gender / appearance / clothing / hair color / fragrance of the soap you use / eyewear / etc.>? You just live with them not liking you and not measuring up to others in their mind?

comment 4y ago · link · parent

> Hasn't this been a very long time coming?

That's a feature not a bug of golang. Major language changes like this by design are supposed to take a lot of time and thought to land.

comment 4y ago · link · parent

You still have a goal that people are optimizing for though--how to increase that intangible, subjective measure known only to the manager. It leads to people optimizing for talking about the stuff they do more, showcasing their accomplishments, and in bad extremes brown-nosing, infighting and sabotage of others work. Whether any of those behaviors lead to a better product or outcome for the company is something to strongly consider.

comment 4y ago · link · parent

Exactly, I don't know what the answer is (probably a combo of subjective and objective measures, along with a healthy dose of independent oversight for both) but relying completely on 'gut feeling' is an express train to unconscious bias land.

In reality I think someone who only looks at team members who are "doing the most" is really just measuring who is talking about their work the most. You need some kind of objective measures like features shipped, assigned bugs resolved, etc.

comment 4y ago · link · parent

Well, modern react is pushing folks to use the hooks model which jettisons the whole componentDidMount and other class functions. Now you use a side effect hook: https://reactjs.org/docs/hooks-effect.html This is a little more clear that it's for side effects of the component being put in the DOM, but it does require a bit more knowledge of react and hooks.

comment 4y ago · link · parent

I thought the organization was split in two, a Raspberry Pi foundation/non-profit that was tasked with the original mission (cheap computing for all people of the world), and a Raspberry Pi company with CEO (Eben Upton), board, etc. driven to be a successful company that produces the Pi.

Here's the foundation: https://www.raspberrypi.org/about/

Here's the company: https://www.raspberrypi.com/about/

comment 4y ago · link · parent

Yeah a 'spawn a VS code server instance on these files' microservice could be super handy for lots of things. There are fantastic technical doc tools like mkdocs, mdbook, etc. but none of them have an editing interface. You could add an 'edit' button to their generated HTML that opens a spawned VS code server instance on the files, and now you've got a little wiki / knowledge base that a small team can work from.

comment 4y ago · link · parent

Very cool! Reminds me a bit of Jupyter and the whole code notebook world too. Spawner almost seems like a more general purpose JupyterHub, which IMHO is a good thing (jhub is frighteningly complex to config and setup these days).

comment 4y ago · link · parent

Grinding your own bespoke mix of beef for a burger is a huge increase in time and complexity for a burger: https://www.seriouseats.com/the-burger-lab-the-worlds-best-b...

Will it make an amazingly tasty burger? Yes, when you also spend as much care with the prep and cooking.

Is it worth it when you want a burger on a late weeknight? It depends...

comment 4y ago · link · parent

That's just the food lab/serious eats stuff IMHO. Those things are purpose built to be "what if we turned everything up to 11 and made the best possible X/Y/Z?". If you read Modernist Cuisine it's exactly the same thing and you'll spend two days making a single cheeseburger (with from scratch bread, cheese, mayo, grinding your own beef, sous vide cooking the patty for hours, etc).

Watch his youtube channel and more recent stuff, it's a lot more toned down and accessible to everyone.

comment 4y ago · link · parent

I would bet the average American that says they 'cook' are actually just taking frozen meals like pizzas, chicken tenders, biscuits in a can, etc. and heating them in the oven. Households don't typically have even have flour, fresh milk, butter or other staples on hand here.

comment 4y ago · link · parent

Ansible is a lot of python that's already been written, battle tested, and made available to use. Once you get beyond one box or need to deploy and tweak something more than once, getting an ansible config setup is much easier in the long run.

comment 4y ago · link · parent

I really like the Chicago95 theme here, it's great with XFCE/xubuntu on low spec devices.

I also like installing the Window Maker and OpenBox WMs with a bunch of retro unix backgrounds--they kind of have the feel of CDE and old Solaris systems. I haven't used it but apparently someone is working on a more modern retro feel CDE-inspired thing here: https://github.com/NsCDE/NsCDE

Depending on my mood I can log in to a retro Windows or Unix experience. I haven't looked deeply into it but I think saw a Mac System 7 inspired WM theme out there too. IMHO retro modern computing environments are quirky fun that should be a bigger thing. :)

It's not canon to Windows 95, but XScreenSaver pairs nicely to go with the overall late 90s retro feel too: https://www.jwz.org/xscreensaver/ These screensavers are exactly the kind of thing workstations of the era would have been blasting in computer labs nearly 24/7.

comment 4y ago · link · parent

You mean python? https://www.python.org/downloads/ still has 2.7

If you're looking for libraries that support 2.7 you're in for a lot more work, you'd have to go library by library and figure out when was the last version they produced that supported 2.7. Almost certainly it will be way out of date and depend on other out of date things.

There was no single moment where every library 'threw the switch' and moved off 2.7 to 3.x, it happened organically over about 10 years. A lot of libraries spent a significant amount of time (and code) supporting both 2.7 and 3.x from the same codebase.

comment 4y ago · link · parent

I remember at pycon ~2016 one of the maintainers of pypi did a short talk on it and the entire pypi service at the time only ran on one or two boxes. It was surprisingly scrappy for such a critical service.

comment 4y ago · link · parent

Considering that he's sheltering in Russia right now I would strongly suspect he's going to keep his mouth shut no matter what his opinion is about it. If Putin kicks him out he will be extradited and thrown in a US federal prison solitary confinement cell indefinitely while 'awaiting trial'.

comment 4y ago · link · parent

This seems extremely silly, if for no other reason I would bet 75% of the applicants will be Russian agents/intelligence officers applying to learn intel or mess up the operations.

comment 4y ago · link · parent

US folks: Call your congressional representatives and demand they back harsh sanctions against Russian oil/gas immediately. Perhaps even a full embargo until aggression is stopped. That is the _only_ leverage the US has against Russia, and as of yet the US has steadfastly refused to do anything that would interrupt the flow or price of oil to itself.

comment 4y ago · link · parent

Yeah the site is a massive liability for whoever controls it. There's a ton of work left to do to fully decommission it and make it safe.

comment 4y ago · link · parent

Chernobyl's containment is not massive concrete, and cannot sustain a hit from a bomb in any way. The new safe containment structure is metal and air, it's meant to contain dust as the reactor building inside is dismantled. Watch this to learn all about it: https://www.youtube.com/watch?v=mdnutU2m71o

The old sarcophagus that was build in 1986 only had concrete walls in a few key places. Much of it had huge holes and open areas covered in sheet metal. All of it was falling apart and rapidly deteriorating when construction on new safe containment started.

And remember there are 3 other reactor buildings at the site and none of them are covered by the containment structure or really any protection (Chernobyl's Soviet era design which lacks a concrete containment structure is partly why its meltdown was so catastrophic). The site cannot withstand any attack.

1
545556
84