Sign in

Derek Kraan

@derekkraan.bsky.social
389 followers 179 following 263 posts

#ElixirLang Former Founder: codecodeship.com Library Author: Horde, Highlander, CurlReq

PostsRepliesMedia
Reposted by Derek Kraan
3underscores.bsky.social @3underscores.bsky.social · 22/02/2026
This is like the tenth research group using a totally new dataset to reach this same conclusion: building new market-rate housing helps low-income tenants. "These findings demonstrate that housing supply expansions benefit lower-income households through moving chains"
310636
Derek Kraan @derekkraan.bsky.social · 12/01/2026
This was such a great “talk” to see in person. Highly recommend.
010
Reposted by Derek Kraan
"fart" @jonhendren.com · 07/01/2026
i bought the domain ohhh.lol a while back just because and the other night i noticed it gets like 100-150 unique hits a day from people typing it in their posts and group chats where it tries to load the url preview. so i hope this annoys some people while they're trying to get their mack on
174714851
Reposted by Derek Kraan
Jason Rabinowitz @airlineflyer.net · 07/12/2025
It’s insane that within just a few weeks, two of Canada’s major cities opened polar opposite transit systems. REM - An extension to a high frequency, fast, fully automated metro system Finch West - A many years late, over budget, disastrously slow light rail line
214816
Derek Kraan @derekkraan.bsky.social · 05/12/2025
Merged and published v0.2.2!
020
Derek Kraan @derekkraan.bsky.social · 02/11/2025
#Marktplaats protip: userContent.css (in FF, not sure in other browsers) ul.hz-Listings > :not(.hz-Listing) { display: none; } This will stop all the scroll-jumping that happens as you try to browse results.
000
Reposted by Derek Kraan
derek guy @dieworkwear.bsky.social · 26/10/2025
who creates the lively art and music scenes if the rent is too high? who makes cultural life? who serves you food or washes your dishes? who creates the fancy little restaurants that draw you to urban living? affordable housing is at the heart of what makes city life worthwhile.
I tweet: "people who see 50% of their monthly paycheck go to rent don't care if a candidate eats with their hands. they want to hear what your candidate is going to do about housing."

John Galt 2025 replies: "Move if the cost of living is too high."
609227253488
Derek Kraan @derekkraan.bsky.social · 26/10/2025
Bring back the railway bubble!
000
Derek Kraan @derekkraan.bsky.social · 07/10/2025
PSA! It's so easy to forget to handle websocket reconnects in LV, but if you're deploying regularly, your users are likely seeing A LOT of bugs coming from this. Go to one of your pages, click around a bit, then run `liveSocket.socket.triggerChanError()`, and see what happens. #ElixirLang
3197
Derek Kraan @derekkraan.bsky.social · 19/09/2025
I'm pulling the plug on Code Code Ship next week Friday. As part of this, I'm releasing highlander_pg as open source. It's a variant of my original highlander package, which uses postgres advisory locks. It's solid! It is ergonomic! It is production-tested! hex.pm/packages/hig... #elixirlang
hex.pm
highlander_pg
There can only be one! (run a globally unique singleton process)
583
Reposted by Derek Kraan
Saša Jurić @sasajuric.bsky.social · 15/09/2025
Wrapped up my conference season for this year with #goatmire Elixir. Had too much fun telling a story one last time, and had even more fun watching some of the most unusual and memorable talks I've ever seen. Photo credits: @petterbos.bsky.social
4265
Derek Kraan @derekkraan.bsky.social · 15/09/2025
Testing out Elixir 1.19-rc.0. App compilation times are unchanged. But dependency compilation is pinning all 24 cores on my machine and is down to 55s from 143s. Big upgrade! #elixirlang
191
Reposted by Derek Kraan
Anders Puck Nielsen @anderspucknielsen.dk · 10/09/2025
I just published this video, and the next night, Russia launches drones at Poland. It really underscores the point. The European NATO countries need Ukraine just as much as Ukraine needs security guarantees from them.
youtube.com
European security depends on Ukraine
YouTube video by Anders Puck Nielsen
1434984
Derek Kraan @derekkraan.bsky.social · 10/09/2025
youtu.be/RxapAZRYJ6I?... I have to post this video by @anderspucknielsen.dk. If you want to know how (and why) Ukraine really fits into our security in Europe then watch this video.
youtu.be
European security depends on Ukraine
YouTube video by Anders Puck Nielsen
001
Reposted by Derek Kraan
Shawn Micallef @shawnmicallef.bsky.social · 09/09/2025
Toronto has tried this with Bloor, University and Yonge by installing bike lanes, making the street safer, slower for all and Ford is going to court again to rip them out. So speed cameras it as good as we might get (ignoring the "tax grab" nonsense toddler rhetoric).
77410
Reposted by Derek Kraan
Oh The Urbanity! @ohtheurbanity.bsky.social · 19/08/2025
A friend’s 3-year old on a pedestrian street: “There’s no cars here so we don’t have to hold hands. I can run!”
648846
Reposted by Derek Kraan
Steffen Deusch @steffend.me · 07/07/2025
In #Phoenix #LiveView v1.1.0-rc.0 we shipped `:key` support for comprehensions in HEEx. The idea was to finally be able to have change tracking in comprehensions. We did this by leveraging LiveComponents. Sounds easy enough, right? There were some problems though. A thread. #MyElixirStatus
45315
Derek Kraan @derekkraan.bsky.social · 07/07/2025
PSA: Tailwind (aka Phoenix) users should add the following CSS to their project: .\@container > * + * { border: 5px solid red !important; } With a comment saying "if you see this, you messed up, containers should only ever have one child element!" #elixirlang
4224
Derek Kraan @derekkraan.bsky.social · 24/06/2025
Are we doing transit hot takes? America (🇺🇸) has lots of transit actually, it just needs to use it. America has a land use problem, not a transit problem. (Exception: NYC)
010
Reposted by Derek Kraan
JRUrbaneNetwork @jrurbanenetwork.bsky.social · 08/06/2025
One of the most consequential transit Youtube videos has just dropped:
youtube.com
How Hong Kong built the world's most valuable subway
YouTube video by The Flying Moose
26510
Reposted by Derek Kraan
David Bernheisel @david.bernheisel.com · 31/05/2025
It's that time of year again: Stack Overflow survey! Do your part and represent your community! #ElixirLang stackoverflow.az1.qualtrics.com/jfe/form/SV_...
stackoverflow.az1.qualtrics.com
2025 Developer Survey | Stack Overflow
Stack Overflow's annual Developer Survey is for the worldwide developer and technology community to answer questions about what they use and how they feel about the latest in technology.
11310
Derek Kraan @derekkraan.bsky.social · 03/06/2025
TIL ExUnit has an assert/2, where you can provide a message to show if the assertion fails! This makes communicating intent of tests so much easier. h/t @richardtaylor.dev who used this in our codebase, never seen it before! hexdocs.pm/ex_unit/1.12...
hexdocs.pm
ExUnit.Assertions — ExUnit v1.12.3
151
Reposted by Derek Kraan
Steffen Deusch @steffend.me · 30/05/2025
As we're getting ready for the first release candidate of #Phoenix #LiveView 1.1, I want to write about some of the new features and improvements we've been working on. A thread! #ElixirLang #MyElixirStatus
38632
Reposted by Derek Kraan
Anthony Oliveira @meakoopa.bsky.social · 15/05/2025
omg every neuron of my brain just started sparking with joy at this subreddit www.reddit.com/r/ThingsCutI...
reddit.com
Things Cut in Half
For your cut in half needs.
3195
Reposted by Derek Kraan
Anders Puck Nielsen @anderspucknielsen.dk · 23/04/2025
These are negotiations about a ceasefire. It is insane to give these kinds of concessions before the negotiations about a final peace settlement even begin. One has to wonder what Russia will expect to get at that point.
2728952
Derek Kraan @derekkraan.bsky.social · 16/04/2025
⭐ Just released CurlReq 0.100.1. ⭐ Release includes a Plug to log requests in 🥌 curl format. It also now initializes requests with Req.new/0, solving issue related to defaults being missing. h/t @peterullrich.com for raising the issue Once again many thanks to @kevinschweikert.de!
042
Reposted by Derek Kraan
Henry Grabar @henrygrabar.bsky.social · 14/04/2025
this is wild: vehicle capacity of freeway lanes dropped 10 percent as SUVs took over the road -- not just bc they are bigger. they also take more time and space to slow down and obscure other drivers' sightlines. www.bloomberg.com/news/article...
bloomberg.com
How SUVs Are Making Traffic Worse
As larger, taller sport utility vehicles took over US roads, they also aggravated highway congestion, according to a new study. It’s yet another ill effect of “car bloat.”
24874312
Reposted by Derek Kraan
Chimney Sweepers Local 420 @bobbby.online · 14/03/2025
this is a fantastic library
011
Derek Kraan @derekkraan.bsky.social · 10/02/2025
🥌 🥌 🥌 CurlReq 0.100.0 released!~ This release contains a mountain of fixes and improvements, courtesy of @kevinschweikert.de Please do give it a go! CurlReq supercharges api integration / debugging by translating back and forth between curl commands and req structs #elixirlang
141
Derek Kraan @derekkraan.bsky.social · 05/02/2025
Published highlander_pg 1.0.7 with an updated dependency on postgrex (now also allows 0.20.0). hex.codecodeship.com/package/high... #elixirlang
hex.codecodeship.com
highlander_pg · Code Code Ship
Code Code Ship provides all the necessary tools to sell your code on a subscription basis
040
Derek Kraan @derekkraan.bsky.social · 31/01/2025
On my way to FOSDEM!
040
Derek Kraan @derekkraan.bsky.social · 26/01/2025
🥳 My PR got merged, so this will soon be the default in phx.new projects! github.com/phoenixframe...
phx.new
phx.new |> generate a phoenix project
140
Reposted by Derek Kraan
David Bernheisel @david.bernheisel.com · 10/01/2025
AWESOME! Coming in ex_doc soon is a new button to go to the latest version's documentation if you happen to be on an earlier version. I often find myself googling something, getting a hexdocs.pm link but for some inexplicable reason it puts me into an old version of it github.com/elixir-lang/...
screenshot of hexdocs for req that contains a link to go to the latest version of the documentation.
4606
Derek Kraan @derekkraan.bsky.social · 14/01/2025
Phoenix LiveView PRO TIP: [data-phx-root-id] { display: contents } ☝️ Add this to your app.css file. WHAT DOES IT DO? LiveView adds wrapper divs everywhere. This can be tricky if you want a LiveView to be a flex child. display: contents makes the div invisible for layout purposes. #elixirlang
3221
Derek Kraan @derekkraan.bsky.social · 23/12/2024
🥌 🥌 🥌 curl_req 0.99.0 released! 🥌 🥌 🥌 - Supports curl flags --proxy and --proxy-user - Adds `netrc` and `netrc_file` auth steps - [BREAKING] Raises on unrecognized `curl` flag. Please let us know if the last one breaks your programs. Open an issue in the project; PRs also welcome!
370
Derek Kraan @derekkraan.bsky.social · 19/12/2024
Phoenix pro tip for degenerates 👹 #elixirlang
0122
Derek Kraan @derekkraan.bsky.social · 19/12/2024
Phoenix pro tip! 👨‍🏫 To comment out / disable a tailwind class or an HTML attribute, prefix it with an `x`. This effectively disables the class / attribute, and is also easily reversed. #elixirlang
#Before:
<div class="flex">
#After:
<div class="xflex">

#Before:
<input value="foo">
#After:
<input xvalue="foo">
2121
Derek Kraan @derekkraan.bsky.social · 17/12/2024
I bought a CD last week, cause Spotify doesn't bother with smaller Canadian labels (every song from the CD but one disappeared overnight). Fired up the CD just now and it doesn't even sound like the same CD. Spotify's compression, even on "very high" audio quality is just 🗑️.
010
Derek Kraan @derekkraan.bsky.social · 13/12/2024
Great tip, I think I was tipped off by @jonrowe.bsky.social on slack
010
Derek Kraan @derekkraan.bsky.social · 11/12/2024
Did we mess up and give the "nice syntax" to keyword lists instead of maps in Elixir? (Keyword lists came first, maps were a later addition to the lang). Now we mostly just kind of squint and pretend that keyword lists are maps (like in Config, where keyword lists are deep-merged). #elixirlang
120
Derek Kraan @derekkraan.bsky.social · 09/12/2024
Today's new feature on Code Code Ship: download stats! Currently only visible for package owners, and will be rolled out to the publicly facing pages at some future date. (These are the download stats for highlander_pg)
Chart showing download statistics for a software package. Title reads "Downloads in the past 30 days"
031
Reposted by Derek Kraan
johanna @jola.dev · 29/11/2024
Finishing the week up elixirevents.net updates, you can now suggest changes to existing events! If an event is cancelled, date or time changed, logo updated etc, click on the event and then on "something wrong?" to make a suggestion #elixirlang
elixirevents.net
ElixirEvents
ElixirEvents gathers all Elixir and Erlang related events, like conferences and meetups, in a single place. The goal is to make all events more discoverable and to help grow the community.
0101
Reposted by Derek Kraan
elixir.amsterdam @elixir.amsterdam · 28/11/2024
In case you missed it, there's an Elixir meetup next Tuesday @ Wg Cafe www.meetup.com/amsterdam-elixir/events/304781708 #elixirlang #myelixirstatus Bring your friends along 🤗
meetup.com
Meeting in person again = [ 😎 | [ 🍺 , 🥛, 🍹 ]], Tue, Dec 3, 2024, 7:00 PM | Meetup
Hi Folks, It's been a few months since our last meetup, so we're in dire need of a new meetup. Let's get together to learn (new) people, talk about Elixir, Erlang, Gleam (
051
Derek Kraan @derekkraan.bsky.social · 28/11/2024
Couldn't sleep, so I merged a PR and made a new release for curl_req. Now supporting --data-raw, --data-ascii, and stripping $ from messages (frequently seen copying curl reqs from browser). PR: github.com/derekkraan/c... (h/t @dkuku.bsky.social) Pkg: hex.pm/packages/cur... #elixirlang
github.com
dk-handle_data_raw by dkuku · Pull Request #16 · derekkraan/curl_req
Hey @derekkraan I often copy curl requests from the browser. In my case the data is always under the key data-raw which does the same as --data but does not support @ which is reading from file or ...
082
Reposted by Derek Kraan
johanna @jola.dev · 25/11/2024
I want to share something I built for the Elixir community: elixirevents.net ✨ I want to make it easier to find events like conferences and meetups, to help the community grow. Anyone can contribute, events are only visible with admin approval. For feature requests or feedback please let me know! 🙏
elixirevents.net
ElixirEvents
The Elixir event calendar
510734
Derek Kraan @derekkraan.bsky.social · 13/11/2024
🥳 HighlanderPG 1.0.6 is out! This adds support for the `:repo` option, allowing easier than ever setup. HighlanderPG helps you run a singleton process in your cluster, and is available for $100 a year at hex.codecodeship.com/package/high... #elixirlang
code: # lib/application.ex

children = [
  ...
  {HighlanderPG, [child: MyChild, repo: MyApp.Repo]},
  ...
]

Supervisor.init(children, strategy: :one_for_one)
020
Reposted by Derek Kraan
Mark Ericksen @brainlid.bsky.social · 05/11/2024
I'm open for work! I'd love to help #Elixir companies leverage #LLMs and #AI! I'm the creator and maintainer of the leading library github.com/brainlid/lan.... and host of the Thinking Elixir Podcast. I'm open to part-time and full-time positions. Please repost for reach! #MyElixirStatus
github.com
GitHub - brainlid/langchain: Elixir implementation of an AI focused LangChain style framework.
Elixir implementation of an AI focused LangChain style framework. - brainlid/langchain
23124