@zarlin@lemmy.world avatar

zarlin

@zarlin@lemmy.world

This profile is from a federated server and may be incomplete. Browse more on the original instance.

zarlin, (edited )
@zarlin@lemmy.world avatar

I use OneCalendar, it works with a lot of email/calendar hosts, looks good, and is very responsive.

Alternatively, Thunderbird has a calendar feature built-in.

(Edit) failed to see which community this was, OneCalendar is sadly not open source.

zarlin,
@zarlin@lemmy.world avatar

That sounds awesome, thanks for the suggestion!

zarlin,
@zarlin@lemmy.world avatar

Had that issue too, search in Start for “Default Apps”, then scroll to the bottom and click “Choose default application by file type”. Then scroll to .pdf and choose Sumatra. The settings window may crash for some reason, but for me the file association did seem to stick after that.

zarlin,
@zarlin@lemmy.world avatar

Heavy stuff first, cold things together, fragile stuff last.

zarlin,
@zarlin@lemmy.world avatar

Nim

I optimized Part1 by directly referencing workflows between each rule (instead of doing a table lookup between them), in expectation of part 2 needing increased performance. But that turned out to not be needed 😋

I had to dig through my dusty statistics knowledge for part 2, and decided to try out Mermaid.js to create a little graph of the sample input to help visualize the solution.

After that it was pretty straightforward.

Day 19, part 1+2

zarlin,
@zarlin@lemmy.world avatar

Nim

Decided to go for a polygon approach for part 1 using the Shoelace formula to calculate the area. This meant part 2 only resulted in larger values, no additional computation.

Code runs in <1ms for part 1 and 2 combined

Source

zarlin,
@zarlin@lemmy.world avatar

Good job on persevering with this one. Your approach for part 2 sounds quite viable, it is very similar to the Ear clipping method for triangulating a polygon.

zarlin,
@zarlin@lemmy.world avatar

This was actually something I learned for my job, it was nice to be able to apply it here.

I like your commitment to wheel-reinvention, it can be a lot more fun than going for an existing or ‘intended’ approach.

zarlin,
@zarlin@lemmy.world avatar

python-level intuitive-to-read language with static typing

Agreed, this is exactly Nim

zarlin,
@zarlin@lemmy.world avatar

Yeah the descriptions contain a lot of story fluff, but also critical bits of information.

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