rimu
rimu avatar

rimu

@rimu@kbin.social

Web developer. Also into photography, nature, philosophy, politics, climate, psychology.

rimu, to accessibility
@rimu@mastodon.nzoss.nz avatar

Hi mastodon,

I’ve been building a web app, “PieFed”, for the last few months and recently put a bit of effort into making it more accessible. It is almost WCAG 2.1 AA compliant now.

However I have no lived experience of using the web with disability so any feedback in this area is most welcome. Please give it a try at https://piefed.social and let me know what you think, from an accessibility perspective.

rimu,
rimu avatar

@AxelTerizaki I've made a high contrast theme now. To enable it, go to https://piefed.social/user/settings and choose 'High Contrast' as the theme. It's the last field before the "Save Settings" button.

Thanks for the idea for this!

@rimu @spokeek

Stupid Question, not an insult: Why is kbin written in PHP?

Is PHP still a relevant language in today's day and age? I know a LOT of languages and it just never occurred to me to learn this one, because anyone I've ever been aware of writing a backend these days would either choose Node or one of several compiled languages. Lemmy uses Rust for it's backend which is highly desireable,...

rimu, (edited )
rimu avatar

PHP is huge and more relevant than you realise. There are many many PHP developers.

IMO one of the things holding the fediverse back is that not much of it is written in Python or PHP. Neither are "good" languages but there is a massive pool of developers and they're easy to get up and running.

rimu,
rimu avatar

No, OOP is optional in PHP.

rimu,
rimu avatar

When I say "optional", I mean you can just create a filename.php and start putting lines of code into it, and it'll work fine. But, these days OOP is favored by most and pretty much everyone is using it. So if you are working on code that other people have written, classes are everywhere.

A lot of Wordpress code is non-OOP, though.

rimu,
rimu avatar

Seems like 'top' is based on the number of boosts instead of upvotes.

rimu,
rimu avatar

Often, the option to downvote is the only thing stopping me from getting sucked into some stupid argument with an idiot. It is a massive productivity booster. Downvote and move on.

I wish kbin would hide posts with lots of downvotes...

Will it ever be possible for kbin to federate with PeerTube?

I know this is a silly question, especially as I'm currently focused on local-only feeds, but there's just one part of the Fediverse I wish would get more love: PeerTube. While there aren't a lot of people actively looking for alternative video hosts outside the big guys (Twitch, YouTube, Dailymotion, etc.), it would be nice to...

rimu, (edited )
rimu avatar

I expect it will be - it seems to almost work already. For example, take this peertube channel - https://tube.arthack.nz/c/intertwingled/videos?s=1.

I tried a few different things in the kbin search and @intertwingled@tube.arthack.nz got a result that I could subscribe to. If that channel posts another video, it might show up in kbin. Will it be a microblog? A thread? A magazine? Who knows! kbin seems very confused about all of this.

rimu,
rimu avatar

I have heard of Mastodon instances with a dozen users using about 50 GB. So 40 GB for a single user should be enough, if you set up cron jobs to automatically prune old content. It depends how many people you follow and whether you set up a relay or not. (Single user instances without a relay kinda suck)

NB space on a VPS is usually a lot more expensive than space on S3 or equivalent. If you can configure Mastodon to store images on S3 it'll be more cost effective.

rimu,
rimu avatar

When things are working properly, it does.

I developed a platform to navigate with slow or unstable connections (blaze.cyclic.app)

Recently, I ran out of mobile data on my phone, and I was forced to browse at a significantly reduced speed. It was so slow that it was practically unusable, except for messaging apps. So, I developed a platform in the form of a search engine that allows browsing and accessing information while exchanging a negligible amount of...

rimu,
rimu avatar

Very cool!

rimu,
rimu avatar

It's pretty complicated. Something like half the emissions / footprint of a phone or computer is in the manufacture of it so anything that means people don't need to replace their device is a win, regardless of battery life or power usage.

A lot of servers are run off renewable energy. If you check out the sustainability pages of AWS or Azure they both talk a pretty good game. Plus if you're using some flavor of serverless there isn't really a dedicated CPU core just for your app so sometimes the server side of it would be using zero energy as it's gone to sleep.

We really need to get to grips with how to measure the 'ecological weight' of software in a simple, reliable and transparent way.

rimu,
rimu avatar

You don't need to read much history to find plenty of bad things done by non-commercial entities, e.g. governments. Or churches.

It's not commerce that is the problem, it is oppression. Use of my code for oppressive purposes is the thing I want to avoid.

rimu,
rimu avatar

I don't miss the 60Hz flicker, one little bit.

rimu,
rimu avatar

I wonder if Gab was invited. It would be hilarious if the only instances willing to federate with Meta were Nazis.

Every Linux Geek Needs to Know Sed and Awk. Here’s Why… - The Tech Edvocate (www.thetechedvocate.org)

Linux is known for its flexibility and customization options, and there are countless tools and commands available for users to explore. However, two of the most versatile and powerful tools that every Linux geek should know are sed and awk. These command-line tools have been around for decades and are still widely used by...

rimu,
rimu avatar

Wanna see something that makes even Perl look elegant and readable? Check out any sed script. Here's tetris, in sed: https://github.com/uuner/sedtris/blob/master/sedtris.sed

OC Looking For Opinions on Docker + Letsencrypt + Reverse Proxy Setup

I've been running 2 linodes for a number of years now - one has my website (wordpress) on it and one has a Foundry VTT server running. Both are separate linodes, and I use Google Domains to point [site.tld] to the wordpress VPS and foundry.[site.tld] to the other linode....

rimu,
rimu avatar

Naaah, Caddy is way simpler than Apache. It'll be much easier. Take a quick look at the docs and you'll see what I mean.

rimu,
rimu avatar

Yes, it can provide a SSL connection to the end-user even though you're just serving http with no cert. However it is yet another moving part that can break or be mis-configured and yet another bunch of capitalists data-mining all the things.

rimu,
rimu avatar

This seems ideal for something like ActivityPub where data is flowing between different people and places all the time. Looks like the tooling isn't there yet, though.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • ethstaker
  • magazineikmin
  • mdbf
  • thenastyranch
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • hgfsjryuu7
  • ngwrru68w68
  • osvaldo12
  • kavyap
  • DreamBathrooms
  • anitta
  • PowerRangers
  • Durango
  • khanakhh
  • everett
  • cubers
  • GTA5RPClips
  • modclub
  • cisconetworking
  • vwfavf
  • tacticalgear
  • tester
  • normalnudes
  • provamag3
  • All magazines