Eda

@rivea0
53 Followers
105 Following
124 Posts

writer, developer, amateur photographer.

& caffeine, hygge, good books, pine trees.

Website/Bloghttps://edaeren.com
Notes + Scribblingshttps://coalesce.bearblog.dev/notes
Unsplash 📷https://unsplash.com/@rivea0
Shown here is a local cat that can't be bothered, but is very glad to hear that Wikipedia is banning AI-generated articles. #CatsOfMastodon
today I have learned about the "three-em dash" ⸻ and this may make me *too* powerful

📝 New blog post: Copy-to-clipboard button for code blocks in Hugo with less JavaScript

#tech #hugo #webdev

https://edaeren.com/blog/copy-to-clipboard-button-for-code-blocks-in-hugo-with-less-javascript/

Copy-to-clipboard button for code blocks in Hugo with less JavaScript

Adding a copy-to-clipboard button in Hugo for code blocks with less JavaScript.

Eda Eren
Looking a little pensive this #Caturday

A mini (but hopefully fair) rant on em dashes after realizing that I really used to like using them.

https://edaeren.com/blog/a-short-em-dash-rant

A short em dash rant

A short em dash rant where I kind of miss the days when using it was not the sign of inauthenticity.

Eda Eren

Happy 25th Birthday Wikipedia! 🥳 🎂

Wikipedia & OpenStreetMap are open projects & open communities to build a free content, to make the world a better place. ☺️ ☺️

https://wikimediafoundation.org/wikipedia25/

#Wikipedia #Wikipedia25 #FreeCulture #OpenStreetMap

Celebrate Wikipedia’s 25th Birthday – Wikimedia Foundation

Celebrate Wikipedia’s 25th birthday and the hundreds of thousands of people around the world who make the backbone of knowledge on the internet what it is today.

Wikimedia Foundation

It turns out that the basics of a promise queue are fun

https://rivea0.github.io/blog/promise-queues

#webdev #programming

Promise queues

A look at promise queues.

Eda Eren
No, you’re not a “prompt engineer”, you’re a sloperator.

- the puzzles are mostly about scaling (this is the case when you wrote a "quick" nested loop, but with that logic, there'd need to be 12 nested loops for part 2...)

- pay attention to the input (`split_whitespace` is not always going to save you)

- stop using `unwrap` everywhere

- etc.

2/2

Okay, so mostly due to a terrible cold, I couldn't catch up with #AdventOfCode this year and wrote some very horrifying Rust code but have been taking some chaotic notes:

- remainder and mod are not the same, also `rem_euclid` is very nice

- understand the problem correctly (applies everywhere)

1/2