sami's Avatar

sami

@samifou.ad

calgary, canada / πŸ‡ͺπŸ‡Ή

4,697
Followers
1,283
Following
729
Posts
21.04.2023
Joined
Posts Following

Latest posts by sami @samifou.ad

tldr; untrusted input is the devi

12.12.2025 12:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1

there’s nothing wrong with a more traditional/boring client -> server pattern because it works, it’s familiar, and the security concerns are well established

12.12.2025 12:58 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

does it take away from some of the β€œmagic” of the rsc implementation in next’s app router? yes

was Pages router completely unaffected by these CVEs? also yes

12.12.2025 12:58 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

turns out if you just don’t trust client input you lower your attack surface dramatically (shocker)

in this framework you can β€˜use client’ but flight protocol never goes to the server (eg. β€˜use server’ directive in client components)

12.12.2025 12:58 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

the big difference is that it never deserializes flight protocol on the server, it exclusively just serializes flight protocol for clients. also it only supports api endpoints similar to next’s pages router instead of server actions like the app router

12.12.2025 12:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I also like the rsc paradigm

I just finished an MVP of an React 19/RSC based framework and to my surprise because of how I decided to implement things, the framework wasn’t impacted at all by any of the recent React CVEs

12.12.2025 12:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

πŸ’―πŸ’―πŸ’―

21.11.2025 13:08 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I didn’t think grifters could ruin an entire technology, but here we are

04.10.2025 21:32 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

do whatever feels natural, whatever clicks for you

22.08.2025 06:28 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
# list only directories, 2 level limit, ignore node
alias tr="pwd && tree -d -L 2 -I node_modules"

# list only directories, 2 level limit, ignore node alias tr="pwd && tree -d -L 2 -I node_modules"

sometimes i prefer a new command, like how i usually use tree:

22.08.2025 06:28 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

you can just put a bash function in your ~/.zshrc that leaves all the OG functionality alone, but let's you use whatever keyword you want for your own subcommand

22.08.2025 06:28 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

adding subcommands to docker because why not

22.08.2025 06:28 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
# name default branch
$ git config --global init.defaultBranch main

# auto setup remote so "git push" just works
$ git config --global push.autoSetupRemote true

# name default branch $ git config --global init.defaultBranch main # auto setup remote so "git push" just works $ git config --global push.autoSetupRemote true

18.08.2025 00:21 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

today i learned i can just add a new subcommand to git to do whatever I want. this feels illegal but i love it

18.08.2025 00:07 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1
# add new git subcommand for finding any directories
# that already contain a git repo
git config --global alias.find '!find . -name ".git" -type d'

# run new subcommand
git find

# add new git subcommand for finding any directories # that already contain a git repo git config --global alias.find '!find . -name ".git" -type d' # run new subcommand git find

18.08.2025 00:04 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1

reskeeting this for later

21.07.2025 06:58 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

that would explain the inflated price perfectly

02.05.2025 21:41 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

would be interesting to know if the contract went to someone with ucp connections

02.05.2025 21:40 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

they barely got above 60% of the vote

1/3 of voters in Alberta didn’t vote conservative

29.04.2025 08:13 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

i know this looks bad, but hear me out lol

29.04.2025 08:12 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
a man in a plaid shirt and tie is sitting at a desk in front of a computer screen . ALT: a man in a plaid shirt and tie is sitting at a desk in front of a computer screen .
22.04.2025 17:30 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

how does that idiot explain the unmarked graves of thousands of children??

why weren’t families notified if everything was consensual & A-OK?

04.04.2025 23:56 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

MAGA North has already infected the conservative party

it’s only a matter of time before it’s a full take over and they start openly siding with Americans on policy. for now it’s just dog whistling and flirting

see: Danielle Smith

10.03.2025 04:12 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

this why i switched to pnpm

01.03.2025 14:48 πŸ‘ 17 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

lol

01.03.2025 04:02 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image
04.02.2025 04:15 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
a woman is singing into a microphone and says `` may the odds be ever in your favor '' . ALT: a woman is singing into a microphone and says `` may the odds be ever in your favor '' .
03.02.2025 15:04 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

suiting up like iron man has is the only hope against this πŸ₯Ά

03.02.2025 15:02 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Calgary
-27Β°
Cloudy
H:-22Β° L:-28Β°

Calgary -27Β° Cloudy H:-22Β° L:-28Β°

we don’t have earthquakes
we don’t have hurricanes
we don’t have alligators

03.02.2025 14:49 πŸ‘ 110 πŸ” 3 πŸ’¬ 15 πŸ“Œ 2

I have been boycotting this jackass and any Shopify companies since its inception. I highly recommend you do the same. He allows neo-nazi’s to sell merchandise on their platform. He caters to them. Do better.

03.02.2025 01:00 πŸ‘ 19 πŸ” 11 πŸ’¬ 1 πŸ“Œ 0