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

Be careful of planned obsolescence in the apple world, it sadly applies to their computers too. A MacBook from 2013-2015 almost certainly can't be upgraded to the latest Mac OS releases and stopped getting security updates long ago. IMHO just go full Linux on it.

But if you do need to dual boot I remember doing it a few times and the refind bootloader was very nice: https://www.rodsbooks.com/refind/

comment 3y ago · link · parent

Those generations of MacBook Airs were just unbelievably amazing laptops for the time. They were lighter and more portable than anything else, but still had plenty of ports and functionality (even the old beloved magnet-based power cables). It was the first non-Thinkpad laptop that I enjoyed using. This post is going to make me dust off an old 2013 Air I have kicking around and see if I can fix a broke space bar and get it running Linux.

comment 3y ago · link · parent

They should really try XFCE, it feels extremely similar to old-school windows (95/XP). You can even theme it to look unbelievably similar to old windows. I feel like them installing the latest Xubuntu with XFCE and Firefox with an ad blocker would let that old laptop run for many more years of service. Heck, the latest version of Wine probably runs all their old XP software just fine as-is too.

comment 3y ago · link · parent

Looks like fira code font https://github.com/tonsky/FiraCode and the color scheme is similar to the soft default Alacritty terminal uses https://alacritty.org/

comment 3y ago · link · parent

That's awesome!

comment 3y ago · link · parent

When you're a kid it's precisely the time to learn about and deal with all the minutia. Tell them it's like Minecraft but you're building an operating system instead of a world.

comment 3y ago · link · parent

Arguably they'll be learning more valuable skills than some of the schoolwork teaches.

comment 3y ago · link · parent

Setup your 10 year old with bleeding edge Arch Linux, add a script to automatically update nightly (or even hourly lol), and give them a secondary device like a tablet loaded up with access to arch wiki, every man page, etc. but nothing else. They will be an absolute Linux wizard in months and maybe a core contributor soon after.

comment 3y ago · link · parent

Just switch now, I dumped Chrome two years ago and haven't looked back. Firefox is great, and you can even use it on mobile--with ublock!

comment 3y ago · link · parent

I forgot that and you're totally right. It was awesome to scroll (and search!) through a feed's entire history. Ugh it makes me so mad Google got rid of all that for nothing.

comment 3y ago · link · parent

I'm in the PNW and national forests with dispersed camping are everywhere. It's glorious, I can drop everything and disappear into the woods and mountains at any moment.

comment 3y ago · link · parent

Wow even the rules for bivouac seem bizarre and arbitrary. Only one night in the same place allowed... what if you set out to climb some peaks in the Alps and need to wait a few days for the right weather window, do you have to move your tent every day (and tear it down after sunrise)? Very odd and arbitrary. It almost seems like it would incentivize dangerous fast and loose/sloppy outdoor behavior.

For comparison in the US dispersed camping usually just has very general rules like can't stay in an area more than 30-60 days, have to leave no trace, respect fire bans, and deal with other local restrictions like on hunting, foraging, fire wood collecting, etc.

comment 3y ago · link · parent

Also if you thought you were clever and cut one in half to let it cool, then you would only find a sad shell of a pizza roll with all its guts leaking out into a congealed mess of cheese and pizza goo.

comment 3y ago · link · parent

Lifehacker was interesting when it was mostly the single voice of Gina as their blog: https://en.m.wikipedia.org/wiki/Gina_Trapani She would publish great articles about how she managed her personal information, used technology and tools, etc. As a blog it was great content. As a million and billion dollar business... I have my doubts.

I do think there is still a good future for a Lifehacker that goes back to high quality and interesting content from a small set of passionate voices. Too often on Reddit you get a hive mind where the group forms a consensus and any dissenting or alternate views are suppressed or ignored. It's nice to have something with a strong editorial team that can publish unique content based on the merits of its research, and not mashes of the upvote button.

comment 3y ago · link · parent

Not when the consequence of failure for spilling hazardous material is so great! What are you going to agree to next, that nuke plants are allowed a few minutes of core meltdown a year? Get real.

comment 3y ago · link · parent

The article says the people that got sick were only going door to door to interview people in the town...

comment 3y ago · link · parent

And? The system shouldn't be in a steady state of expected failures. These are enormous machines that sometimes carry hazardous materials. Failure cannot be tolerated. It's indicative of a rotten culture of safety and mismanagement that ignores the problems.

comment 3y ago · link · parent

Also transportation sec Buttigieg just casually saying not to worry we have over 1,000 train derailments a year: https://www.dailymail.co.uk/news/article-11760173/There-roug...

Over 1,000 derailments! Maybe we should work on getting those down before patting ourselves on the back for job well done.

comment 3y ago · link · parent

Yes that weekend everyone started seeing Elon's tweets in their timelines: https://www.theverge.com/2023/2/14/23600358/elon-musk-tweets...

You seem weirdly protective of Elon fyi

comment 3y ago · link · parent

IIRC it was very recent, there was a Twitter engineer that was fired after explaining to Elon that the algorithm was not biased against him: https://www.salon.com/2023/02/10/petulant-elon-musk-fired-tw... Almost certainly after that event Elon had them explicitly bump his tweets in their reach.

comment 3y ago · link · parent

Flatpaks do exactly that.

comment 3y ago · link · parent

You have to remember to activate them. Node/npm has a similar concept with its scripts execution, but it automatically runs them in the local node_modules environment (i.e. virtualenv).

You might think this is silly but think about something like making a systemd service to run your python script in a venv--how do you do it? You have to activate the script or call its python bin, but it's not obvious how to do that in any python docs.

comment 3y ago · link · parent

Well your alternative is to use a VM, which is a slower and clunkier container, or fight the myriad of bespoke python environment management tools so you can make one Python install work for X number of projects and all their unique dependencies.

comment 3y ago · link · parent

Zero chance GDC goes away, it's a developer focused conference and is way more than just press releases and announcements. If you've never been to it GDC is non-stop talks and technical sessions, it's an invaluable resource for people in the industry.

comment 3y ago · link · parent

It's core to the design of python right now. Remember when python was designed in the 90s people had big multi-user Unix systems that were bespoke pets. It was assumed that python would be a system-level tool and all packages, etc. would be installed at the system level. Your Python install would be a living thing that was upgraded and administrated like any other software on the machine.

Fast forward 30 years and we really don't use most systems like that anymore, especially in production environments. We run things in VMs or containers and build them up from scratch with ease--it's all just cattle. Python hasn't really adapted to that new reality.

comment 3y ago · link · parent

Develop in a container. It will remove all other issues from your machine/environment and let you declaratively specify the exact environment you need (i.e. packages to install, version of python, etc). Forget all about venv and all the other tools in the python ecosystem--in your container there is _one_ python and you control all of its dependencies.

comment 3y ago · link · parent

That doesn't happen when apps are packaged in their own containers with all dependencies. The new version you installed has its own python dependencies.

comment 3y ago · link · parent

If you're shipping modern code like go or rust you have a static build with no real dependencies. If you're shipping a scripting language like python you're probably going to use their base images, and if you're shipping native C/C++ you have to figure out your risk tolerance for trusting a distro to ship good dependencies vs. just building them yourself. It's not hard to build all your deps in a container, and arguably is the best security practice so you have total control and knowledge of their versions.

comment 3y ago · link · parent

It's best practice not to have any shell tools in your app container, including package managers. It bloats the image and can be a security vulnerability if a zero day exploit hits the app. Ideally a container is something like distroless which just has the libc and dependencies you care about and nothing else, not even bash.

comment 3y ago · link · parent

I agree but I don't think the software packages themselves should be held back by the available time and attention of packagers. In the new world a packager or distro creator can just pick and choose what flatpaks, snaps, appimage, etc. sources they deem good enough to push to users. They shouldn't be a roadblock in the way of users getting the latest version of software.
1
141516
84