BerkanπŸ‡΅πŸ‡Έ's Avatar

BerkanπŸ‡΅πŸ‡Έ

@berkan.dev

Software Engineer. Born to write Elixir, Forced to work with Ruby on Rails.

223
Followers
213
Following
329
Posts
05.11.2024
Joined
Posts Following

Latest posts by BerkanπŸ‡΅πŸ‡Έ @berkan.dev

oooh okay. I didnt know github was falling apart. Setting up a daily backup via api should be possible but I don’t know about the human readable part.

10.02.2026 20:12 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Not that I would have an answer, but can you explain wdym?

10.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Podcast episode descriptions are so much worse since LLMs.

06.02.2026 17:49 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I refuse to use that path. This mogs it in every way: ~/.config/the_tool/

05.02.2026 14:30 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Mac's config path convention is sooo awful.

~/Library/Application Support/the_tool/

I guess it could have been worse with something like

~/The Crib/AppLiCatIoN SuppOrt xD 😍/the_tool/

05.02.2026 14:29 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Writing CLI tool - How to structure the main method I am currently working on my hobby CLI project. Is there an idiomatic way to structure the main method? I’m currently doing validation β†’ route to a command β†’ handle_exit. Validation itself returns an...

How to structure the main method of a cli tool?

elixirforum.com/t/writing-cl...

04.02.2026 15:42 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

> The hard part of computer programming isn’t expressing what we want the machine to do in code. The hard part is turning human thinking [...] into computational thinking that is logically precise and unambiguous, [...] in the syntax of a programming language.

Jason Gorman

20.01.2026 10:10 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Even redis based ones were not common in my experience. Nodejs community loves gluing aws sqs and lambda for some reason.

09.01.2026 07:59 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

No way… I would fire my legal team, ai deep research would never be incorrect

08.01.2026 12:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

There are some queue libraries that rely on relational databases. Havent tried them personally yet. PgBoss is mature, sidequestjs is more recent but db agnostic

05.01.2026 14:10 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I was thinking something like jit optimization. Imagining something like this:

A method that do nothing but call module A or B with if check. Resolved if condition is cached by beam, it knows which module to call until cache is invalidated.

02.01.2026 12:09 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Wow. Is there no other way to write this, so BEAM can handle this optimization by itself?

02.01.2026 11:12 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

This quote is about writer’s block but applies here;

Change your goal from β€œwriting well” to β€œwriting badly”.

Switch from team "I will one day write something good" to team "I have no choice but to write a piece of shit".

01.01.2026 05:16 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

What happened to rjit

30.12.2025 11:06 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I should stop reading these lol. Ping me if something with very high confidence comes up. Like fish oil improving depression symptoms

27.12.2025 10:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Reading summaries of medical research this morning. Almost all of them ends like this:

Researchers forgot to do consider {important thing}. So this study may or may not be true. Who knows.

27.12.2025 10:40 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

> My long shopping list sat in a text message. I wished I could check items off as I found them.

> I could copy/paste it into a notes app or an email draft and delete items: too much tapping

Incredible

24.12.2025 22:29 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I also started using it for dinner planning. I have a prompt that references bunch of files

- Ingridients\.md has items with expire dates on most items.
- Recipes folder has folder per recipe, in there I log my attempts, variations, results, notes for next try etc

23.12.2025 08:27 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Weirdest turkish chickpea stew recipe I saw. Squash and feta cheese in it is unheard of here.

23.12.2025 08:18 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

If I spawned into my body at this moment, I would feel so lucky. But since I’m already me, I compare myself to my peers and even my past self.

30.11.2025 14:51 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Life sucks a lot these days. 2025 crushed me economically.

30.11.2025 14:46 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Hot swap yapılıyordu sanki keychronlarda? Belki yeni switch seti sipariş edebilirsin

30.11.2025 14:44 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Wow looks insane, which recipe are you following

30.11.2025 10:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
The Hippocratic License: An Ethical License for Open Source The Hippocratic License (HL3) is an ethical source license that specifically prohibits the use of open source software to violate universal standards of human rights.

@evanhahn.com re:stopping bad guys using my project

Have you seen firstdonoharm.dev

30.11.2025 10:00 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Our unique and nuanced pro ai stance versus their parrot cliches of anti ai sentiment

26.11.2025 11:13 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Usually "my ruby version not installing because of openssl dependency" problem is followed with "bundle install failing because libffi decided to ruin my day" problem.

Then it's local postgresql service of course

bsky.app/profile/berk...

18.11.2025 15:10 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
```js
function isBuiltWithReact(){
 return Array.from(document.querySelectorAll('body *'))
  .some(el => Object.keys(el)
    .some(el_keys => el_keys.startsWith('__reactFiber') || el_keys.startsWith('__reactProps'))
  )
}
```

```js function isBuiltWithReact(){ return Array.from(document.querySelectorAll('body *')) .some(el => Object.keys(el) .some(el_keys => el_keys.startsWith('__reactFiber') || el_keys.startsWith('__reactProps')) ) } ```

Nerd sniped myself on this for 2 hours. But now I have reliable way of telling if a site is built with react or not.

18.11.2025 14:58 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Just couple days ago I came across this β€œErlang unit (in queue theory notation)β€œ while reading about Little’s Law.

18.11.2025 13:17 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
DHH and Omarchy: Midlife crisis Couple weeks ago Cloudflare announced it would be sponsoring some Open Source projects. Throwing money at pet projects of random techbros would hardly be news, but there was a certain vibe behind them...

Great summary of temu elon's chud posts

blogs.gnome.org/alatiera/202...

15.11.2025 15:10 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Initially I wrote this script to send my phone notifications from cronjobs etc, easiest channel I thought was to create a reminder. Instead of notification, my scripts create a reminder to the next minute.

I don't understand why siri doesn't have a cli.

15.11.2025 14:55 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0