The Glorious Pipe Operator (Elixir for PHP Devs)
Let's talk about how how the functional pipe operator helps to simplify and improve code readability and composability, and how it contrasts with the fluent interface design pattern commonly used i...
Jesse Leite Ā· jesseleite.com [1]
Iām so glad that python supports method chaining out of the box, very similar to the pipe operator that Jesse mentions here. It makes everything much more readable to follow the flow rather than needing to parse nested funcion calls out(inside()).
Note
This post is a thought [2]. Itās a short note that I make
about someone elseās content online #thoughts
References:
[1]: https://jesseleite.com/2025/the-glorious-pipe-operator
[2]: /thoughts/
Today I Learned
Short TIL posts
1852 posts
latest post 2026-05-13
Publishing rhythm
-
I greatly appreciated the wide variety of experienced maintainers of large oss projects. From webdev to desktop application. The most common sentiment here was donāt contribute to open source just to contribute to open source. Bring something meaningful to the project. Find a project you like, look at the discussions/issues for work or start some discussions. If there are no meaningful features that you can add to projects that you use and love, make your own thing. Adam from tailwind really hit on this one several times. He has made tailwind extensible so that you donāt have to contribute to tailwind to get new capabilities, you can probably just extend tailwind with your thing. Its likely that it makes a lot more sense or your use case, and if it turns out that it makes sense for everyone have the discussion about bringing it in. The upside to small oss projects is that you can move at whatever pace you want and break them all you want when the user base is just you. As you move your stuff into tailwind you have to be very careful not to break the massive tailwind user base and you have to bend to the release schedule of tailwind.
The other adjacent topic that kept coming ...
rustfs [1] by rustfs [2] is a game-changer in its space. Excited to see how it evolves.
š RustFS is an open-source, S3-compatible high-performance object storage system supporting migration and coexistence with other S3-compatible platforms such as MinIO and Ceph.
References:
[1]: https://github.com/rustfs/rustfs
[2]: https://github.com/rustfs
You already have a git server: (Maurycy's blog)
maurycyz.com [1]
Itās so easy to forget low level tech sometimes. Things that are dead simple and just work without a hitch. git is one of those rock solid things thats very easy to remember all that it does, this is a classic use case.
This just works
cd /parent/directory/for/repo
git clone ssh://username@server/path/to/repo
In order to recieve you must update the remote to allow recieve.
git config receive.denyCurrentBranch updateInstead
Now you can pull update push.
Itās funny how this was the way I first learned to do Continuous Deployment to a RHEL7 machine, also how Heroku worked, but its so easy to forget this solution is there. I come across it every few years and immediately have a few use cases in mind.
Note
This post is a thought [2]. Itās a short note that I make
about someone elseās content online #thoughts
References:
[1]: https://maurycyz.com/misc/easy_git/
[2]: /thoughts/
Please don't give Reflect Orbital money: (Maurycy's blog)
maurycyz.com [1]
Well done write up about reflecting solar energy back to earth from low orbit space. I did not know this was a thing, apparently it is/isnāt. Solar is a great technology, its largest limitations are that its not consistent. This tech does not fix this problem, what does is efficient long term storage. Iāve seen some crazy ideas going back to my days in school, maybe elementry school. Theres a lot of innovative ways to store potential energy by moving heavy objects uphill whether fluid or solid. The issue is that energy storage at grid scale is HUGE and not efficient enough. Even assuming this idea had any legs at all, it still doesnāt solve the problem of inconsistent power because it still cant go through clouds!
Note
This post is a thought [2]. Itās a short note that I make
about someone elseās content online #thoughts
References:
[1]: https://maurycyz.com/misc/sunlight_as_a_service/
[2]: /thoughts/
Melo (@letitmelo.bsky.social)
I legitimately didn't know they were competing with Steam and it's crazy to me that they burnt so much money on what sounds like something with very little (or wildly misguided) market research.
[ā¦
Bluesky Social Ā· bsky.app [1]
Wild to see the LinkedIn post linked here to see how out of touch this feels. I find it astonishing that they have something so ingrained into gaming culture as twitch, yet build something like Prime Gaming. Maybe I have no idea what Prime gaming is, but it feels like the opposite of ownership. What I get from steam is a sense of ownership. I own the desktop/laptop/handheld, no one cough nintendo cough cough cant remotely disable my device for using it inappropriately. I have a sense of trust with steam that as long as Gabe is alive I own what I paid for and will be able to open up and play anything at any time on any device I want. It might be a $100 dell workstation raised out of the coorporate refurb bin, it might be a high end machine, It could be my 2010 gateway or my 2045 custom build and they are all likely to play a good amount of my library at some level. I still understand that I really own nothing and the moment s...
External Link
X (formerly Twitter) Ā· x.com [1]
ROASTED
Unfortunately that game uses some of the worst spyware in the industry, it will never work outside of > Windows with secure boot enabled and TPM hardware.
Consider Dota 2 or other mobas by competent developers
Note
This post is a thought [2]. Itās a short note that I make
about someone elseās content online #thoughts
References:
[1]: https://x.com/bazzite_gg/status/1983204433627623590
[2]: /thoughts/
Meredith Whittaker (@meredithmeredith.bsky.social)
š£THREAD: Itās surprising to me that so many people were surprised to learn that Signal runs partly on AWS (something we can do because we use encryption to make sure no one but youānot AWS, ā¦
Bluesky Social Ā· bsky.app [1]
Great justification for using the cloud. The infrastructure requirement for signal to be such a great app would be massive for a small team with low budget. The cloud is fantastic at unknown scaling, bursts beyond reasonable capacity to run yourself, getting compute everywhere in the world, and offloading huge infrastructure management costs.
DHH is 100% right that we have gone too far, too many things come out cloud first for services that can be ran locally cough such as your bed cough cough. One week ago when the world came to a hault, I did not bat an eye at these small teams with complex requirements going down with AWS.
Their own products seem quite damning to me. It signals that they cannot themselves become resilient to themselves. It shows how hard this problem is, how much cost in complexity and resources it requires. Iām sure there are fail overs that happened successfully that we will never hear ...
Just starred croc [1] by schollz [2]. Itās an exciting project with a lot to offer.
Easily and securely send things from one computer to another š š¦
References:
[1]: https://github.com/schollz/croc
[2]: https://github.com/schollz
I often want to run an s3 sync in an isolated environment, I donāt want to set
any environment variables, I donāt want anything secret in my history, and I
donāt want to change my dotenv into something that exports variables, I just
want s3 sync to work. dotenv run is the tool that Iāve been using for this,
and this uv one liner lets it run fully isolated from the project.
one liner # [1]
uv tool run --from 'python-dotenv[cli]' dotenv run -- uv tool run --from awscli aws s3 sync s3://bucket data
multi-line # [2]
same thing formatted for readability
uv tool run \
--from 'python-dotenv[cli]' \
dotenv run -- \
uv tool run \
--from awscli \
aws s3 sync s3://dropper data
There are probably 10 ways to skin this cat, but this is what I did, if you
have a better way let me know, Iāll link you below.
References:
[1]: #one-liner
[2]: #multi-line
-
Atuin desktop sounds dope AF, tried to install it off the AUR [1] and it was broken for me. Seems early and the dev team is all in on mac. They have an official .deb and .rpm. Iāll have to try again later, maybe the binary will work.
The idea of building out runbooks from my Atuin data sounds dope AF. It sounds like a mix of markdown and executable cells like a jupyter notebook, but not. Really pitching hard to those of us in the system administration, dev ops, SRE space. Having something that you walk through when a system goes down and you are feeling panicked in DR mode sounds relieving.
Note
This post is a thought [2]. Itās a short note that I make
about someone elseās content online #thoughts
References:
[1]: /aur/
[2]: /thoughts/
-
Cloud is cooked bois. Seriously too much dumb shit relies on the cloud. Too much critical shit relies on single AZās. If normies are literally loosing sleep over an AWS outage (queue the Uncle Roger Voice), Youāve Fucked up. Itās wild to even think about a bed relying on the cloud let alone fully stop working when UE-1 goes down. I want to live in a world of opt in FEATURES, things that bring value to a product because it makes it better. Somehow a bed smells suspiciously like a cash grab for a subscription because its cloud connected. And yet for some reason it takes 16GeeeBeeās per month. I donāt own one of these, and I donāt want to. I donāt want a subscription for everything, I want my shit to just work. The future we are headed towards a world that is ever more reliant on a few key clouds. Which is fine. Itās fantastic that small companies can start and scale without owning an infrastructure team. Itās great that they have the ability to give us many nines of reliability. Some things just donāt need the cloud.
Note
This post is a thought [1]. Itās a short note that I make
about someone elseās content online #thoughts
References:
[1]: /thoughts/
#artificialintelligence #hiring | Gary Vaynerchuk | 120 comments
I care about humanity first, THEN skills .. and in this AI-scaled world, human sh*t will win š
#artificialintelligence #hiring | 120 comments on LinkedIn
LinkedIn Ā· linkedin.com [1]
More Human stuff thatās what we will be doing. Less looking at docs, more architecting (which suspiciously looks like writing docs), more decision making, more explaining. This is a good positive take on AI right now.
Note
This post is a thought [2]. Itās a short note that I make
about someone elseās content online #thoughts
References:
[1]: https://www.linkedin.com/posts/garyvaynerchuk_artificialintelligence-hiring-activity-7387261666289373184-BOIo
[2]: /thoughts/
FastAPI is a modern and efficient web framework for Python, built on top of the
Starlette web framework, and pydantic for data validation and serialization.
From the FastAPI documentation [1] # [2]
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints.
The key features are:
- Fast: Very high performance, on par with NodeJS and Go (thanks to Starlette and Pydantic). One of the fastest Python frameworks available.
- Fast to code: Increase the speed to develop features by about 200% to 300%. *
- Fewer bugs: Reduce about 40% of human (developer) induced errors. *
- Intuitive: Great editor support. Completion everywhere. Less time debugging.
- Easy: Designed to be easy to use and learn. Less time reading docs.
- Short: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.
- Robust: Get production-ready code. With automatic interactive documentation.
- Standards-based: Based on (and fully compatible with) the open standards for APIs: OpenAPI (previously known as Swagger) and JSON Schema.
Mentioned in 2025 Stack Overflow Survey [3] # [4]
The +5 point increase for Fas...
FastAPI [1].">Starlette has a head request that works right along side your get requests.
This morning I fiddled around with custom routes for GET and HEAD, but had
to manually set some things about the file, and was still missing e-tag in
the end. Turns out as a developer you can just [2] add a head route to
your get routes and starlette will strip the content for you, while
preserving all of those good headers that fastapi FileResponse created
automatically for you.
from fastapi import APIRouter
from fastapi.response import FileResponse
from fastapi import Request
from pathlib import Path
router = APIRouter()
@router.get("/file/{filename}")
@router.head("/file/{filename}")
async def get_file(filename: str, request: Request,):
headers = {
"Cache-Control": "no-cache, no-store, must-revalidate",
}
from pathlib import Path
filename = Path(f"data/{filename}")
if not filename.exists():
raise HTTPException(status_code=404, detail="File not found")
return FileResponse(filename, headers=headers)
Here is an example of the response with curl.
⯠curl -I -L "http://localhost:8100/api/file/e5523925-1565-454c-bab3-c70c4deabc83.webp?width=250"
HTTP/1.1 200 OK
date: Wed, 22 Oct 202...
Today I learned that while .stignore and .gitignore look very similar they
are not. My obsidian directory had been locked up for a few weeks and I had no
idea why until I logged into the web ui and saw errors. The errors were some
confusing regex validator not matching. I donāt know what the exact error was,
but I went in and only ignored the files I cared about instead of the entire
gitignore. Primarily I was getting conflicts in my .git directory.
pytauri [1] has done a fantastic job with pytauri [2]. Highly recommend taking a look.
Tauri binding for Python through Pyo3
References:
[1]: https://github.com/pytauri
[2]: https://github.com/pytauri/pytauri
The work on fullcontrol [1] by FullControlXYZ [2].
Python version of FullControl for toolpath design (and more) - the readme below is best source of information
References:
[1]: https://github.com/FullControlXYZ/fullcontrol
[2]: https://github.com/FullControlXYZ
Iām impressed by nicegui [1] from zauberzeug [2].
Create web-based user interfaces with Python. The nice way.
References:
[1]: https://github.com/zauberzeug/nicegui
[2]: https://github.com/zauberzeug
-
This is super cool, thanks to Brodie for reading me this content as I do household chores. lowtech magazine [1] is a website ran completely on solar power with only enough battery backup to cover most days. Adding enough to cover all days would increase its carbon footprint and negate the carbon offset of the solar panels it runs on.
Itās fascinating to see a web server running completely off grid in a close power system. These interesting websites are fascinating keep em coming Brodie.
Note
This post is a thought [2]. Itās a short note that I make
about someone elseās content online #thoughts
References:
[1]: https://solar.lowtechmagazine.com/
[2]: /thoughts/