Derek Kraan
@derekkraan.bsky.social
π€ 324
π₯ 154
π 172
#Elixirlang
Founder: codecodeship.com Author: Horde, Highlander, CurlReq
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
loading . . .
highlander_pg
There can only be one! (run a globally unique singleton process)
https://hex.pm/packages/highlander_pg
6 days ago
5
8
3
reposted by
Derek Kraan
SaΕ‘a JuriΔ
11 days ago
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
4
26
7
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
10 days ago
1
9
1
reposted by
Derek Kraan
Anders Puck Nielsen
16 days ago
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.
loading . . .
European security depends on Ukraine
YouTube video by Anders Puck Nielsen
https://www.youtube.com/watch?v=RxapAZRYJ6I
14
356
92
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.
loading . . .
European security depends on Ukraine
YouTube video by Anders Puck Nielsen
https://youtu.be/RxapAZRYJ6I?si=uVebSnmBSlI45zgz
15 days ago
0
0
1
reposted by
Derek Kraan
Shawn Micallef
16 days ago
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).
add a skeleton here at some point
7
77
11
reposted by
Derek Kraan
Oh The Urbanity!
about 1 month ago
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!β
6
497
55
reposted by
Derek Kraan
Steffen Deusch
3 months ago
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
4
53
17
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
3 months ago
4
22
4
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)
add a skeleton here at some point
3 months ago
0
1
0
reposted by
Derek Kraan
JRUrbaneNetwork
4 months ago
One of the most consequential transit Youtube videos has just dropped:
loading . . .
How Hong Kong built the world's most valuable subway
YouTube video by The Flying Moose
https://www.youtube.com/watch?v=k_roPoXi8QI
2
66
15
reposted by
Derek Kraan
David Bernheisel
4 months ago
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_...
loading . . .
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.
https://stackoverflow.az1.qualtrics.com/jfe/form/SV_1MNG2CYTY2AzkAm?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=dev-survey-2025&utm_content=meta
1
15
10
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...
loading . . .
ExUnit.Assertions β ExUnit v1.12.3
https://hexdocs.pm/ex_unit/1.12.3/ExUnit.Assertions.html#assert/2
4 months ago
1
6
1
reposted by
Derek Kraan
Steffen Deusch
4 months ago
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
3
85
35
reposted by
Derek Kraan
Anthony Oliveira
4 months ago
omg every neuron of my brain just started sparking with joy at this subreddit
www.reddit.com/r/ThingsCutI...
loading . . .
Things Cut in Half
For your cut in half needs.
https://www.reddit.com/r/ThingsCutInHalfPorn/
3
19
5
reposted by
Derek Kraan
Anders Puck Nielsen
5 months ago
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.
add a skeleton here at some point
27
289
56
β 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
!
5 months ago
0
5
2
reposted by
Derek Kraan
Henry Grabar
5 months ago
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...
loading . . .
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.β
https://www.bloomberg.com/news/articles/2025-03-25/bigger-heavier-suvs-worsen-traffic-congestion-in-us
24
881
352
reposted by
Derek Kraan
Maurits Hondmann
6 months ago
Premier Schoof zegt: βWe gaan de lasten niet bij latere generaties neerleggen.β Klinkt verstandig, toch? Maar dit is een klassiek staaltje framing. Hoe de staatsschuld bewust negatief wordt geframed door Heinen en Schoof. π§΅
add a skeleton here at some point
12
95
61
reposted by
Derek Kraan
yburyug
7 months ago
this is a fantastic library
add a skeleton here at some point
0
1
1
π₯ π₯ π₯ 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
8 months ago
1
4
1
Published highlander_pg 1.0.7 with an updated dependency on postgrex (now also allows 0.20.0).
hex.codecodeship.com/package/high...
#elixirlang
loading . . .
highlander_pg Β· Code Code Ship
Code Code Ship provides all the necessary tools to sell your code on a subscription basis
https://hex.codecodeship.com/package/highlander_pg/1.0.7
8 months ago
0
4
0
On my way to FOSDEM!
8 months ago
0
4
0
π₯³ My PR got merged, so this will soon be the default in
phx.new
projects!
github.com/phoenixframe...
add a skeleton here at some point
8 months ago
1
4
0
reposted by
Derek Kraan
David Bernheisel
9 months ago
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/...
4
60
7
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
8 months ago
3
22
2
π₯ π₯ π₯ 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!
9 months ago
3
7
0
Phoenix pro tip for degenerates πΉ
#elixirlang
add a skeleton here at some point
9 months ago
0
12
2
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
9 months ago
2
12
2
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 ποΈ.
9 months ago
0
1
0
Great tip, I think I was tipped off by
@jonrowe.bsky.social
on slack
add a skeleton here at some point
10 months ago
0
1
0
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
10 months ago
1
2
0
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)
10 months ago
0
3
1
reposted by
Derek Kraan
Johanna Larsson πΈπͺπ¬π§π²π½π³οΈβπ
10 months ago
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
loading . . .
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.
https://elixirevents.net
0
11
1
reposted by
Derek Kraan
10 months ago
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 π€
loading . . .
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 (
https://www.meetup.com/amsterdam-elixir/events/304781708
0
5
1
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
loading . . .
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 ...
https://github.com/derekkraan/curl_req/pull/16
10 months ago
0
8
2
reposted by
Derek Kraan
Johanna Larsson πΈπͺπ¬π§π²π½π³οΈβπ
10 months ago
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! π
loading . . .
ElixirEvents
The Elixir event calendar
https://elixirevents.net
5
106
36
π₯³ 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
11 months ago
0
3
0
reposted by
Derek Kraan
Mark Ericksen
11 months ago
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
loading . . .
GitHub - brainlid/langchain: Elixir implementation of an AI focused LangChain style framework.
Elixir implementation of an AI focused LangChain style framework. - brainlid/langchain
https://github.com/brainlid/langchain
2
31
24
reposted by
Derek Kraan
Dave Lucia
11 months ago
We're live!
youtube.com/live/SOO4Rco...
add a skeleton here at some point
0
1
1
you reached the end!!
feeds!
log in