damo.io

  • About
  • Social
  • Code
  • Blog

dam5s pushed to main in dam5s/somanyfeeds.py

May 07 '25 @ 21:06

@dam5s dam5s pushed to main in dam5s/somanyfeeds.py ·
2 commits to main
  • @dam5s f23839b
    Update README
  • @dam5s 91044c3
    Add prettier. Use double quotes to match python.
  • 2 more commits »

dam5s pushed to main in dam5s/somanyfeeds.py

May 06 '25 @ 19:05

@dam5s dam5s pushed to main in dam5s/somanyfeeds.py ·
1 commit to main
  • @dam5s ea74ecf
    wip

May 04 '25 @ 15:12

No, the article does not say Microsoft did it because of that. That article is trying really hard to make the link, but there is absolutely nothing suggesting it. Until there is actual information about the reason I would hold off jumping to conclusions here. [contains quote post or other embedded content]
Source

dam5s made dam5s/somanyfeeds.py public

May 02 '25 @ 20:04

@dam5s dam5s made dam5s/somanyfeeds.py public ·
dam5s/somanyfeeds.py

Python 1 Updated May 7

April 18 '25 @ 23:35

Americans are about to learn why French people feel weird to be asked about their race in administrative paperwork. This is exactly the kind of stuff we do not want to happen. During World Ward the Nazis would leverage this kind of data... and here they are again. [contains quote post or other embedded content]
Source

April 01 '25 @ 02:18

Marine Le Pen. The apple didn’t fall far from the tree.
Source

March 23 '25 @ 15:25

Been back at the climbing gym fairly seriously since the beginning of the year. It's been frustrating knowing how much better I was ten years ago, but it's also been really rewarding to solve harder problems every week. Now not to fall in the trap of overdoing it and getting injured again.
Source

March 02 '25 @ 17:49

Mike Myers is outstanding! [contains quote post or other embedded content]
Source

March 02 '25 @ 17:07

The complexity of calculating wages for tipped restaurant workers is outstanding... I don't understand why one would keep such a system in place. Colorado is trying to do some changes that I'm not sure to be good or not... https://coloradosun.com/2025/02/21/restaurants-minimum-wage-tips-workers-denver-boulder/
Source

March 01 '25 @ 02:06

Upgrading software on the Raspberry PI that’s been hosting our PiHole server… over 1600 packages to upgrade! It’s been a while 😅
Source

February 20 '25 @ 01:42

We live in a strange timeline... https://www.techdirt.com/2025/02/10/as-elon-musk-continues-to-repeat-lies-about-who-and-what-usaid-funded-turns-out-it-funded-elon-musk/
Source

January 15 '25 @ 00:06

Looking forward to be able to install Steam OS on my arcade cabinet. https://arstechnica.com/gaming/2025/01/bye-bye-windows-gaming-steamos-officially-expands-past-the-steam-deck/
Source

January 11 '25 @ 02:43

Creature Commandos by @jamesgunn.bsky.social was excellent. I knew it would be good, but it was much better!
Source

January 07 '25 @ 23:04

So the MacOS implementation of smbfs still does not support the creation of hard links, and that code has not been touched in at least 4 years... https://github.com/apple-oss-distributions/SMBClient/blame/main/kernel/smbfs/smbfs_vnops.c#L9105
Source

December 28 '24 @ 16:24

I came to this country on a H-1B visa. My employer did not exploit me more than my American counterparts. They did sponsor me for a green card after 6 months at my request, in exchange I did agree to stay at the company for another year after getting approved.
Source

December 25 '24 @ 14:15

Maybe, just maybe, our SSN should not be considered a secret *and* be stored in government databases in plain text? Crazy idea I know. https://arstechnica.com/tech-policy/2024/12/hackers-infiltrate-rhode-island-benefits-portal-forcing-state-to-shut-it-down/
Source

November 11 '24 @ 16:36

You can't refactor code you have not written yet. I see a lot of devs try to come up with the perfect solution before even knowing how it even works. Make sure your code is easy to delete and replace, learn from each iteration, keep improving for your actual needs.
Source

July 23 '24 @ 01:02

Arcade cabinet upgrade in progress

Wiring of buttons and joysticks to a couple of PCBs
Wiring of buttons and joysticks to a couple of PCBs
Source

May 01 '24 @ 21:49

This was a few weeks ago at Faction Brewery in Alameda with a great view on San Francisco.

Small glass of beer out of focus in the front, in the back is the San Francisco skyline with the sun setting behind it.
Small glass of beer out of focus in the front, in the back is the San Francisco skyline with the sun setting behind it.
Source

April 11 '24 @ 14:13

Collective code ownership is extremely important.

You can't keep blaming the previous owners of the code for all the problems you still have after months of work. It is your codebase now, your whole team is responsible for its strengths as well as its weaknesses.

Fix the stuff you see being problematic even if you have not written it. It will only get worse if you don't or if you wait for being given permission.

Source

March 17 '24 @ 17:51

Somewhere between a quarter and a fifth of your team should be refactoring at all times.

Seriously, not kidding.

Source

March 09 '24 @ 20:21

Weekend in Arizona!

Selfie in front of a cactus
Selfie in front of a cactus
Source

December 01 '23 @ 02:42

Behold! My new cooking partner!

A brand new counter top oven.
A brand new counter top oven.
Source

November 29 '23 @ 02:30

More than my upgrade to an M3 MacBook Pro.

Source

November 29 '23 @ 02:29

I ordered a counter top oven and I’m soooo excited to receive it on Thursday just when I return from a trip to San Francisco!

Source

November 04 '23 @ 20:24

Learning Godot.

So far it's pretty good. I really appreciated to see that the UI can be scaled to support high DPI displays.

It seems rare these days to find cross-platform applications with this built-in.

Source

September 07 '23 @ 23:15

Giving VeraCrypt a shot. Let's hope it works well enough on my Linux, MacOS and Windows boxes!

Screenshot of VeraCrypt in the process of encrypting a drive.
Screenshot of VeraCrypt in the process of encrypting a drive.
Source

August 31 '23 @ 02:06

Back at the Barrel Room in San Francisco’s business district. My favorite place when I just want to walk.

Source

August 29 '23 @ 01:35

Scammers Abusing ExTwitter’s Fake ‘Verification’ Program To Prey On Angry Consumers

https://www.techdirt.com/2023/08/28/scammers-abusing-extwitters-fake-verification-program-to-prey-on-angry-consumers/

Those are fun times!

Source

August 21 '23 @ 03:45

So I made galettes with flour imported from Brittany that I found on Amazon. Well I’m happy to announce I was finally able to make something that tastes like home!

Picture of a Galette, it’s brown, thin and crispy with an egg yolk in its center.
Picture of a Galette, it’s brown, thin and crispy with an egg yolk in its center.
Source

August 07 '23 @ 15:16

This allows relative imports for files in the same folder only, requires absolute imports for other cases.

This will detect cycles across folder boundaries, not individual files. So you can have cycles within a folder, but not across the folder boundaries.

A/a -> A/b -> A/a is fine.

A/a -> B/a
B/b -> A/a is not fine.

That is assuming you organize your code by features (vertical slices), not horizontal slices.

Which you should be doing anyway.

Source

August 07 '23 @ 15:13

Implemented cyclic dependency checks for Dart/Flutter projects -

https://github.com/dam5s/disk_space_usage/blob/main/scripts/check_import_cycles.dart

Integrated into the build for now, hopefully a linter extension later -

https://github.com/dam5s/disk_space_usage/blob/main/Makefile

#dart #dartlang #flutter

Source

August 06 '23 @ 18:25

Websites that wobble horizontally on mobile are sooooo unprofessional, and there is so many of them.

Source

August 06 '23 @ 16:01

A typical example of cyclic dependencies when using ORMs would be to introduce a bunch of one-to-many dependencies in your User/Account record.

Those dependencies do not exist in your database, you now introduced a cycle and you will have to get rid of it before being able to extract this slice of your application.

Source

August 06 '23 @ 15:57

A common example: you built an app that became popular.

This could be a backend or a mobile app, the same principles apply.

You now want to build another app and leverage your existing user base.

You want to extract account/user management.

If you have cyclic dependencies in the related code, extracting a backend service/mobile library for this feature set can be extremely tedious.

This has nothing to do with putting controllers in a folder, domain models in another.

Source

August 06 '23 @ 15:52

Seems a lot of people conflate architecture and splitting an application into horizontal layers (Models, Controllers, Domain, Presentation...).

Architecture is actually more about defining vertical slices of your application.

That is separating features and domain concepts into groups that do not create dependency cycles.

You can have an app with well defined horizontal layers, but when you need to extract a vertical slice of the application it’s a nightmare because of cyclic dependencies.

Source

August 02 '23 @ 18:33

Code comments

Sandwich wrapping with a label saying “beef” above a drawing of a horse.
Sandwich wrapping with a label saying “beef” above a drawing of a horse.
Source