[-] rikudou@lemmings.world 2 points 2 days ago

Heh, indeed I wrote a proper code to calculate the day, it's called Zeller's congruence and feels like magic.

18

So, a few days ago I've written about a then work-in-progress configurable calendar model and now we're ready to roll!

Features

  • The days are always correct - uses an algorithm to calculate the correct day for any date. So if you want to print a calendar for 2077, rest assured that the model will calculate the correct day for the 1st of January (it's Friday, btw).
  • Generate only select months - the full model measures 240x240 mm, which might be quite large for some smaller printers. You can generate only months 1-6 and then separately months 7-12 and voilá, it fits.
  • Choose how many months are on each row - what would it help cutting the calendar in half by only selecting half of the months if you couldn't fit 3 columns on your print bed? Well, just change the amount of columns, of course! Set it to 2 and the model fits again.
  • Custom holidays - every country has different holidays and here you can put them all easily!
  • No AMS or MMU? No problem! - supports printing both with AMS/MMU and without. With a simple toggle you can switch between multi material mode and a mode where each colored part has different height for manual color switching
  • Are Saturdays worth celebrating? - you decide! A simple toggle to toggle whether Saturdays have that holiday/Sunday color or not
  • Magnet or hook holes? - or both? You can configure the diameter, width, height and whatnot of either or both.
  • What the f…ont! - choose your font, choose your font size.
  • No hablo English? - just translate the calendar to your language! Title, month names and day names are all translatable.
[-] rikudou@lemmings.world 2 points 3 days ago

What algorithm did you use?

[-] rikudou@lemmings.world 5 points 4 days ago

Just a calendar to hang on the fridge. To be fair, my main reason for doing it was to see if it's possible. Do you have any other use cases in mind?

[-] rikudou@lemmings.world 2 points 4 days ago

It doesn't currently, don't know if it's possible like that. But you can input your own holidays, which is what I did for the screenshots.

45

So, I'm making a fully customizable calendar in OpenSCAD with the following features:

  • correct columns for every date - uses an algorithm to calculate the correct day of the week for any date, you just change the year and the calendar is correct
  • fully translatable
  • supports custom holidays
  • supports both MMU/AMS and single extruder (with the help of M600 or similar)

Planned features:

  • configurable holes for magnets or holes for hanging the calendar
  • configurable first day of the week

I can share the SCAD file, though beware it's a work in progress and I haven't test printed it yet.

Some screenshots:

Click here to view the screenshots

UK calendar with holidays 2024:

UK calendar with holidays 2025:

Czech calendar with holidays 2024:


What do you think?

41

I made a configurable Task planner that you can easily edit using OpenSCAD customizer (or various compatible customizers like the one on Makerworld).

I've posted this here once already some time ago, so here's what's changed:

  • tasks can now be provided as a comma-separated items
  • font can be changed in customizer (added due to a request for Korean language support)
34
Redout 2 free on Epic Games (store.epicgames.com)
submitted 2 weeks ago by rikudou@lemmings.world to c/games@lemmy.world

Store description:

The fastest racing game in the universe. Redout 2 is a tribute to classic arcade racing games and the sequel to the critically acclaimed Redout, where racing through the dystopian wastelands of a semi-abandoned Earth is one of the galaxy’s most popular sports.

Stream reviews: 79%

17
Redout 2 free on Epic Games (store.epicgames.com)

Store description:

The fastest racing game in the universe. Redout 2 is a tribute to classic arcade racing games and the sequel to the critically acclaimed Redout, where racing through the dystopian wastelands of a semi-abandoned Earth is one of the galaxy’s most popular sports.

Stream reviews: 79%

26
[Epic Games] Redout 2 (store.epicgames.com)

Store description:

The fastest racing game in the universe. Redout 2 is a tribute to classic arcade racing games and the sequel to the critically acclaimed Redout, where racing through the dystopian wastelands of a semi-abandoned Earth is one of the galaxy’s most popular sports.

Stream reviews: 79%

34
submitted 3 weeks ago by rikudou@lemmings.world to c/android@lemdro.id

Currently I'm using Google Play books and there are few things I'm used to and can't live without:

  • turning pages by volume keys
  • cloud syncing (doesn't have to be their cloud, but implementing some cloud services would be nice, bonus points for S3 compatible)
  • searching text in the book
  • supports epub

I want to switch to something open source because I'm often using my S-Pen to turn pages and I'd like my book reader to support it too. I'm fine with contributing the code myself (as I've done for the comic book reader app I'm using), but if there already is one, it would save me some work.

16

Currently I'm using Google Play books and there are few things I'm used to and can't live without:

  • turning pages by volume keys
  • cloud syncing (doesn't have to be their cloud, but implementing some cloud services would be nice, bonus points for S3 compatible)
  • searching text in the book
  • supports epub

I want to switch to something open source because I'm often using my S-Pen to turn pages and I'd like my book reader to support it too. I'm fine with contributing the code myself (as I've done for the comic book reader app I'm using), but if there already is one, it would save me some work.

120

At this point, making something that doesn't work using Wine or Proton is actually kind of an achievement, so congrats EA, you managed to fuck up both Origin and EA app. The actual game runs flawlessly, it's the launchers that are all kinds of broken.

163
1

Hi there!

Since the last time the LemmyWebhook package gained quite a few new capabilities so I've decided it's time for another post.


Quick intro to the package: It adds support for webhooks to Lemmy, meaning you can get notified of events to automatically react to, instead of having to poll for everything, often using multiple http requests. Everything is done in a quite efficient way which avoids hitting your database as much as possible and if it does, it only uses queries on primary key. You can also (optionally) make it available to other users who can then run their bots on your instance only on the permissions you allow them, meaning if you only grant them access to post events, they don't also get access to new user events.


So, what's new?

  • When you listen for an update event, you get the previous version of data in addition to the current one, meaning you can directly compare what has changed
  • New function for getting parent comment id have been added, with this you can for example detect if someone is replying to your bot
  • You can now listen for community subscribe/unsubscribe event

As usual, let me know what you think, feel free to offer suggestions or ask questions.

658

Apple being Apple again. Just why does anyone actually like that company?

[-] rikudou@lemmings.world 96 points 5 months ago

While this doesn't work all the time, when it does, it's really fast. Similar to the isPrime function, it's correct most of the time and is much faster than alternative implementations:

function isPrime(number) {
    return false;
}
[-] rikudou@lemmings.world 103 points 8 months ago

Saving your comment to remember what sites to avoid.

[-] rikudou@lemmings.world 152 points 8 months ago

It's gotten better. A lot. More people means more content. Sure, I have to curate it a bit, but overall it's better.

[-] rikudou@lemmings.world 358 points 9 months ago

46.6˚C in normal units.

[-] rikudou@lemmings.world 128 points 10 months ago

I'm a simple man, I see blockchain, I downvote.

[-] rikudou@lemmings.world 108 points 11 months ago

The top one's a motherfucking website, indeed.

[-] rikudou@lemmings.world 89 points 11 months ago
  • Wombat feces are cube shaped.
  • Bananas are berries and strawberries are not.
  • Oxford university is older than the Aztec empire.
  • Humans share 50% of our DNA with bananas.
view more: next ›

rikudou

joined 1 year ago
MODERATOR OF