kota

joined 5 years ago
[–] kota@hexbear.net 11 points 18 hours ago

heart-sickle Aww thanks! Kinda funny that it's like my most actually meaningful programming project. I should really get around to making spoilers work properly...

[–] kota@hexbear.net 4 points 2 days ago* (last edited 2 days ago)

Pretty big fan of caddy for your actual web server / proxy. Nice clean and readable configs (far nicer than nginx or apache imo). Also it'll fetch your certificates automatically so you don't need to faff about with certbot. Seconding what hello_hello said about making a static site with hugo or similar. It'll be much faster and zero maintenance once you've made the site, but a bit more effort to develop. There's a good collection of themes if you're not interested in learning css+html, but it's not that hard either. Happy to point to some good resources.

1gb of ram is far more than you need for a static site. For wordpress it'll be probably "enough", but you can always allocate a swap file if it becomes a problem https://wiki.archlinux.org/title/Swap#Swap_file_creation

Feel free to dm me questions

[–] kota@hexbear.net 44 points 3 weeks ago

tbh I'm quite surprised 20 percent of CNN's audience wants Iran to have nukes

[–] kota@hexbear.net 3 points 3 weeks ago (1 children)

Damn yea tricky, looks like mainline linux patches only landed a few months ago so it'll probably be a while until there's actually good distro support.

[–] kota@hexbear.net 2 points 3 weeks ago* (last edited 3 weeks ago) (4 children)

it doesn't exist yet for Snapdragon

What laptop is it? Linux works great on ARM chips, such as basically all android phones, tablets, etc. There's a number of distros like postmarket which are designed for arm phones and laptops.

It's very possible you're right and there's no port yet, but you might be surprised. Most of the popular distros are only really designed for x86.

[–] kota@hexbear.net 5 points 3 weeks ago

Been using antenna pod for years and since it's open source I don't have to worry about it getting bought out or whatever

[–] kota@hexbear.net 5 points 1 month ago

Just bought a replacement part for my camera. Literally the only place you can still get them and a wonder you can.

[–] kota@hexbear.net 7 points 2 months ago* (last edited 2 months ago)

Exactly, for anyone who's interested:

Qwant = Bing
Ecosia = Google + Bing
Startpage = Google / Bing
Swisscow = Bing
metaGer = Bing
DuckDuckGo = combination of Yahoo, Google, Bing, and a tiny bit of their own indexing
Brave Search = mostly their own index, but a tiny bit of Bing

Yahoo = used to have their own indexer, but mostly Bing since 2009ish

There are only a few independent indexers, most notably Yandex, but also some tiny projects like vyntr, marginalia, wiby, and other small ones which only index a small fraction of the web.

[–] kota@hexbear.net 7 points 2 months ago

johnz makes some relaxing and chill videos about hiking and sewing your own gear

[–] kota@hexbear.net 3 points 2 months ago

What a silly article.

[–] kota@hexbear.net 2 points 5 months ago

It's not tooo bad if you have to edit them manually for some reason:

but using a gui tool like alacarte or menulibre might be easier

[–] kota@hexbear.net 26 points 5 months ago (2 children)

I mean if you were gonna retire this year anyway isn't it just free money?

36
submitted 5 months ago* (last edited 5 months ago) by kota@hexbear.net to c/history@hexbear.net
 

It's crazy the amount of mystification still taught about the reasons the US entered WWI and then was so eager to fight the Japanese in WWII when it was this obvious and clear to Lenin in 1917.

On the question of America entering the war I shall say this. People argue that America is a democracy, America has the White House. I say: slavery was abolished there half a century ago. The anti-slave war ended in 1865. Since then multimillionaires have mushroomed. They have the whole of America in their financial grip. They are making ready to subdue Mexico and will inevitably come to war with Japan over a carve-up of the Pacific. This war has been brewing for several decades. All literature speaks about it. America’s real aim in entering the war is to prepare for this future war with Japan. The American people do enjoy considerable freedom and it is difficult to conceive them standing for compulsory military service, for the setting up of an army pursuing any aims of conquest a struggle with Japan, for instance. The Americans have the example of Europe to show them what this leads to. The American capitalists have stepped into this war in order to have an excuse, behind a smoke-screen of lofty ideals championing the rights of small nations, for building up a strong standing army.

 

It's a full-frame mirror-less camera designed and assembled by hand. The recent video about this project is truly insane if you're interested in electronics DIY.

 

Enter xz, a modern compression utility for modern binaries. If gzip(1) is a Subaru Forester that "gets you where you need to go", xz is a lifted Ford F-250 that "just ran a stop and killed a cyclist".

 

Pretty much what is says in the title. Redis had been using the BSD-3 license for years to encourage developers to write code for them for free and now they've gone and switched to some custom proprietary license in order to secure their theft of the labor of everyone who has contributed to the project over the years. It's the same age old story.

A harsh, but important reminder to never write code for projects with these weak open source licenses. These licenses ONLY exist so that your labor can be stolen, either by them re-licensing at some point in the future or other companies taking it right now. That's the only reason they use BSD/MIT-style licenses.

As an aside it's a shame we're stuck with the GPL given the person who wrote it.

 

My phone barely manages to load the site. Pages crash and when they do load it's around 10-15 seconds. Pretty much all newer js-dependant websites are like this for me. I simply don't use most newer websites on my phone. Maybe eventually I'll buy a new phone, but things work fine on my laptop so I mostly use that and having a phone from this decade is bourgeois decadence.

A while back I thought maybe I should take a crack at writing a fast and simple read-only frontend that I can use on my phone similar I guess to nitter, invidious, bibliogram, etc.

So I went ahead and did just that: https://diethex.net

Hilariously, I actually wound up doing this TWICE. The first time I finished it up last June and then the site migrated to lemmy v3 so I had to rewrite almost everything which I just now got around to this month. Here's the code in case anyone wants to read it: https://git.sr.ht/~kota/hex

When a page is requested all of its data (comments, posts, etc) are cached for the next 20 minutes which dramatically reduces requests to the actual website when you're browsing around. Also every page is statically generated from simple html templates on the server; so javascript isn't required. I wound up adding a tiiiny bit of optional js to allow opening and closing comments. So you can swipe to the left on a phone to close a comment.

If hexbear is already fast for you then there's no point in using this, but figured I'd say something in case there's anyone else with my issues.

 

TLDR: Microsoft worked with Intel and AMD to develop Pluton which is basically a TPM chip designed to prevent running non-microsoft approved software. It will likely make it impossible to boot un-approved linux distros, bsd, and likely will make it very hard to run any un-approved software in the future.

This CPU "feature" is very likely to be a requirement for Windows 12 in 2024. Meaning nearly every computer available will have this and the majority of manufactures will not allow you to unlock the bootloader.

Similar situation to running LineageOS or PostmarketOS phones. For now, it can be "disabled" in bios on most of these computers, but that's simply a choice the OEM is making and will no longer need to make once this has become prevalent without any real pushback.

view more: next ›