Jason Stiebs Profile Banner
Jason Stiebs Profile
Jason Stiebs

@peregrine

1,999
Followers
1,480
Following
1,315
Media
60,179
Statuses

Hello Senior Framework Specialist @flydotio peregrine @merveilles .town

MKE
Joined March 2007
Don't wanna be here? Send us removal request.
@peregrine
Jason Stiebs
4 years
"What we do in Discord would not be possible without Elixir. It wouldnโ€™t be possible in Node or Python. We would not be able to build this with five engineers if it was a C++ codebase."
@elixirlang
The Elixir programming language
4 years
Learn more about how the Discord team is using Elixir and the Erlang VM to deliver more than 26 million WebSocket events per second to more than 12 million concurrent users:
0
157
483
6
113
351
@peregrine
Jason Stiebs
2 years
@rebeccajtiffany I read that Japan treats its housing as a flow instead of an asset and its been stuck in my brain since.
3
9
197
@peregrine
Jason Stiebs
9 months
I am pretty "deep" into the Elixir World these days so I thought it was a good time to step back and enumerate all the incredible stuff Elixir and Phoenix can do for us. (also this is my favorite cover art so far!)
5
45
175
@peregrine
Jason Stiebs
2 years
@mattyglesias All politicians should consider their replacement as the torch holder of their legacy. Something I think boomers and silent gen are clearly bad at.
1
0
144
@peregrine
Jason Stiebs
2 years
@LolOverruled MrBeast knows the median
2
0
136
@peregrine
Jason Stiebs
1 year
I wonder how the people and business in Shorewood survive without a major highway + spur connecting them to 43 and 94? Do they just drive the 6minutes to 43 via normal roads? Like animals?
Tweet media one
11
12
142
@peregrine
Jason Stiebs
2 years
Still blows my mind that 95% of the worlds Browser usage is originally based on a KDE Project that basically nobody knows about.
6
16
120
@peregrine
Jason Stiebs
10 months
Thanks to the BEAM/Elixir we can do actual magic, like say creating a new Fly Machine, executing code on it, getting results and it just working like its happening locally. Learn how with no extra libraries or tools, just using what the BEAM gives us.
3
29
108
@peregrine
Jason Stiebs
5 months
Elixir is good at IO that you can break every rule of N+1 and web server development and indexes and efficient queries and your app will be fine till you hit 150k requests a second, and even then its Postgres that falls over first.
7
3
100
@peregrine
Jason Stiebs
4 years
Everyone complaining that Bernie is too far left needs to explain where all of the EU lies relative to Bernie. Because what I see is a bog standard liberal from the early 50s. If you see a marxist your overtone window is broke.
@dhh
DHH
4 years
It fascinates me that free tuition for a higher education is such a controversial idea in the US. Nobody is arguing that K12 should be for pay. Pretty much all of Europe already has a defacto implementation of it. The lack of ambition in the US on the big topics is depressing.
60
95
1K
6
16
95
@peregrine
Jason Stiebs
1 year
Tensor were(still are) kind of a foreign thing to me when I first started working with Elixir NX. So I wrote a tiny gentle getting started. What I learned is you don't have to be doing complex matrix math to benefit from using them!
1
27
91
@peregrine
Jason Stiebs
4 years
@hankgreen Who would have guessed 4months ago UBI would be proposed seriously by republican congressmen.
1
1
89
@peregrine
Jason Stiebs
1 year
@hankgreen SciShow: Chemo is not something I had on my bingo card but I'm here for it.
0
0
87
@peregrine
Jason Stiebs
1 year
Every time I work with someone new to Elixir I need to reiterate that the Elixir Docs are actually good, and often better than a tutorial or StackOverflow. How many of these things did you already know about Elixir docs and Hex?
3
26
88
@peregrine
Jason Stiebs
7 years
If you've been working with Elixir and Phoenix for a bit and are ready to upgrade your skills and get more into OTP. This is THE book I'd suggest you pick up. It's also written by one of the finest people I know @lance_halvorsen
@pragprog
PragmaticProgrammers
7 years
Functional Web Development with Elixir, OTP, and Phoenix in print and shipping. #pragprog
Tweet media one
1
20
44
4
36
84
@peregrine
Jason Stiebs
4 years
What @josevalim has done with this PR is a hugely valuable resource. You get the chance to see how one of the worlds best programmers approaches an extremely common, yet complex, problem. Even better you get to see all the little mistakes he made.
1
23
84
@peregrine
Jason Stiebs
2 years
Did you know SQLite3 comes with Full Text Search built in? I wrote a quick tutorial on using it with Ecto, as well as some explanations of why it is so different than others. I plan on continuing by hooking it up to Phoenix LiveView and LiteFS!
0
18
83
@peregrine
Jason Stiebs
2 years
With sqlite+litestream+phoenix you can do horizontally scaled, continuously backed up to s3, write-lite, globally distributed services AND full featured front end applications. With just the lightstream, erlang and elixir binaries to bootstrap everything.
2
12
82
@peregrine
Jason Stiebs
1 year
One of the really incredible bits about the BEAM is having multiple processes communicating on cpus, machines, or data-centers globally. It can be daunting to get started and @chris_mccord released a new library to make DNS Clustering easier!
1
30
82
@peregrine
Jason Stiebs
6 months
Not Every Dependency is worth it. Follow along as I review a Hex package and find out I can probably replace it with a function call, a more specific dependency and Req instead! (Link below)
Tweet media one
6
13
81
@peregrine
Jason Stiebs
4 years
@GamerPres2020 Everyone know's Watkins is playing for 2040
1
1
76
@peregrine
Jason Stiebs
7 months
My next foray into Elixir and Rust, this time using llama.cpp!
3
14
77
@peregrine
Jason Stiebs
1 year
I got a chance to play around with Rustler for creating Nifs in Elixir and the experience was an absolute joy. Rust is a fantastic language and ecosystem, easily as good as what we have for dev UX in Elixir. I think they are are a good mix.
3
11
75
@peregrine
Jason Stiebs
2 years
@hankgreen Hank I think you need to redefine what "more broadly famous" means. Because I'd wager more people follow/keep up with your work than most famous actors.
1
0
75
@peregrine
Jason Stiebs
8 months
The fact that the BEAM will transparently send the closure over the wire is wild. It will even stream a File!
@chris_mccord
Chris McCord
8 months
Elixir is fantastically well suited for this. Wrap any existing code in a `(MyRunner, fn -> ... end)` and that's it! We will find or boot a new temporary copy of the app, send functions to the temp node *and any variables those functions close over*.
1
4
40
4
9
72
@peregrine
Jason Stiebs
1 year
Truly the Rustler team did a frankly amazing job making the Beam Nif interface between Rust and Elixir vanish. And that is super cool.
2
12
72
@peregrine
Jason Stiebs
2 years
The year is 2022 and Phoenix LiveView is very popular. As a result @chris_mccord is now one of the best JavaScript developers I know of. Please send him all of your JavaScript queries!
2
3
69
@peregrine
Jason Stiebs
1 year
I really love single file elixir scripts. Especially for isolating tricky bugs. I've been calling them Garyfiles after @TheGazler who's been using them forever. So I did a write up! I think might be surprised at *how much* you can do with just `elixir`.
0
17
66
@peregrine
Jason Stiebs
1 year
OpenAI uses Server Sent Events for streaming results from their API. I put together a small guide on using @wojtekmach 's fantastic HTTP client library Req, to work with this!
6
8
67
@peregrine
Jason Stiebs
11 months
File uploads are hard. Phoenix LiveView makes them easy, and now even for complex use cases thanks to the new UploadWriter.
3
17
67
@peregrine
Jason Stiebs
2 years
@powerbottomdad1 I think he is just more honest than most people lol. I know tons of โ€œnormal peopleโ€ who live off essentially the same shit meal every day and most people do 3ish productive hours between meetings, breaks and lunch.
2
1
59
@peregrine
Jason Stiebs
1 year
One of the great things about using LiveView is that you can be really productive with our knowing anything about how a Process works in Elixir. Lets talk about the implications of every LiveView being a Process!
1
15
62
@peregrine
Jason Stiebs
3 years
LiveBook has gotten *much* better recently and I was playing around with adding Canvas support to it.
Tweet media one
2
8
63
@peregrine
Jason Stiebs
2 years
@0interestrates "the world needs more hard conversations" -> only asks softball questions like he's on npr or something
0
0
55
@peregrine
Jason Stiebs
2 years
@kylascan if you keep this up bloomberg terminals are going to start tracking a vibes index.
5
1
60
@peregrine
Jason Stiebs
2 years
In one of my first documentation efforts with I wrote up a quick guide on using SQLite3, Phoenix/Ecto and even a bonus tip of one way you can transfer data to SQLite from other databases. Hat tip to @mcrumm_ as well!
2
12
59
@peregrine
Jason Stiebs
2 years
Finally got one of my Phoenix Files posts published. @flydotio Copying to the Clipboard from LiveView aka how to do simple JS stuff when you maybe don't need a hook. Kudos to @josevalim for the inspiration from his now deleted tweet.
4
10
57
@peregrine
Jason Stiebs
3 years
You would not believe how many doctors, residents, nurses, nursing students, technicians, and janitors they can fit in one labor and delivery room in the span of an hour. In other news, Flora Stiebs was born last night!
Tweet media one
13
1
51
@peregrine
Jason Stiebs
2 years
@waitbutwhy I am just wondering, you know January 6th happened last year right? And it was historically extremely bad.
2
1
50
@peregrine
Jason Stiebs
1 year
Thanks to Lake Michigan, Milwaukee will *not* be joining the midwest heatwave, instead we will be living in paradise.
Tweet media one
4
3
52
@peregrine
Jason Stiebs
8 months
Part two of my "Let's search all of Hex " where I use a fancy Fly GPU, Bumblebee and a fancy vector search index to build Semantic Search!
0
13
53
@peregrine
Jason Stiebs
2 years
@matt_meeta @Noahpinion Western far leftists and far rightists finally have something they agree on.
2
4
43
@peregrine
Jason Stiebs
9 months
@hankgreen Hank, you live in Montana.
0
0
51
@peregrine
Jason Stiebs
2 years
My company, @RokkinCat , is looking to hire another Elixir Developer Contractor/Consultant. If you are interested in working with me (and frankly my way more interesting coworkers) reach out! My DMs are always open. All skill levels are accepted.
5
26
51
@peregrine
Jason Stiebs
1 year
I will be speaking at @ElixirConf 2023. Expanding on the fact that LiveViews are processes and why that is actually really important.
0
8
50
@peregrine
Jason Stiebs
2 years
Very nice to meet @yburyug in person
Tweet media one
2
1
42
@peregrine
Jason Stiebs
2 years
I just want to say that Mix.install is so powerful. I cannot think of another language that lets you make a file, add โ€˜Mix.install([:nx, :plug_cowboy, :req])โ€™ and run โ€œelixir file.exsโ€ and you automatically can do machine learning, web development and interact with APIs. Wild!
4
4
48
@peregrine
Jason Stiebs
1 year
@jdcmedlock My grandma and I argue about this because she is a classic republican and the argument that works every time (she kinda forgets) Her argument is "the parents should be responsible for their children!" me: "why make the children suffer for the misfortune of their parents?"
2
0
47
@peregrine
Jason Stiebs
1 year
I'm starting to get the feeling that @livebookdev has the potential to be bigger than any other elixir project. I've used Jupyter and I love Observable but LiveBook is moving faster and in more creative directions than either.
5
5
48
@peregrine
Jason Stiebs
1 year
Can you imagine asking the people of Cudahy to drive 8 entire minutes on this road?
Tweet media one
Tweet media two
3
0
44
@peregrine
Jason Stiebs
5 months
What if S3 could be a fast, Globally Synced, KV Store? That is as simple a single "put' and you are done? That's essentially what @TigrisData is! Tigris launched on Fly last week and I've been just day dreaming with all that you can do!
2
8
45
@peregrine
Jason Stiebs
2 years
Look I donโ€™t make the rules
0
3
42
@peregrine
Jason Stiebs
7 months
Ok this may be one of my most unhinged ideas but Ecto.S3Repo could exist.
Tweet media one
5
5
42
@peregrine
Jason Stiebs
1 year
`for` in Elixir is different, and it can frankly do way more than you'd think. This continues my series of posts on "this is a thing I explain to newew Elixir devs often."
1
7
41
@peregrine
Jason Stiebs
3 years
"The sad, boring fact is that no fundamental advances in math or computer science are needed to solve these problems."
3
14
37
@peregrine
Jason Stiebs
8 years
@elonmusk @danahull Assuming he puts Country before generating shareholder value for Exxon.
3
0
38
@peregrine
Jason Stiebs
5 months
Really difficult to overstate how incredible Req is and is becoming. Wojtek is doing things with testing that no other lib does, in any language not just Elixir!
@wojtekmach
Wojtek Mach
5 months
Req v0.4.10 is out! Here are some major changes since v0.4.0:
1
10
79
1
3
38
@peregrine
Jason Stiebs
5 months
@AlanMCole And every milestone from 0-2 are step changes like a gene turned on and they are talking now.
0
0
35
@peregrine
Jason Stiebs
10 months
I have become quite partial to the @zeddotdev editor lately for Elixir. It's fast, the team is responsive to bugs and the vim emulation has been improving faster than I thought possible. It also integrates with the nextls language server which is very nice!
12
5
36
@peregrine
Jason Stiebs
1 year
Elixir has this really cool library called "NimblePublisher" that uses your filesystem as a sort of CMS. But it can be tricky for people to see how to "Finish Drawing the owl" and ship it. So I wrote it up!
1
8
36
@peregrine
Jason Stiebs
6 months
Me when a new @dashbit Nimble* library drops.
Tweet media one
3
3
34
@peregrine
Jason Stiebs
2 years
@IsaacRowlett Please. It hurts.
0
0
35
@peregrine
Jason Stiebs
2 years
@lastcontrarian @mucha_carlos collectively or manipulated into? Lots of powerful companies/industries/lobbies stood to lose big time if we all went the way of France. Not hard to manipulate the usual suspects on the far right and left away from them.
3
1
31
@peregrine
Jason Stiebs
9 years
One year of @tenderlove as my background. At this point I am keeping it out of spite for people telling me its weird
Tweet media one
0
3
32
@peregrine
Jason Stiebs
2 years
Please reach out if you are hiring for frontend and or Ionic/react or elixir. Our people are incredibly capable and talented and I can vouch for them. I will be joining @flydotio in the new year as a "Senior Framework Specialist" for Elixir/Phoenix.
3
9
33
@peregrine
Jason Stiebs
9 months
Oh hey my most recent post is on the HN front page. But skip HN and check it out here โฌ‡๏ธ
0
2
33
@peregrine
Jason Stiebs
1 year
@bikelaneuprise @ClintonBikeLn Now this is the kinda PRO SOCIAL behavior I like to see!
0
0
34
@peregrine
Jason Stiebs
2 years
@Carnage4Life Probably started as an excel document
1
0
29
@peregrine
Jason Stiebs
2 years
@DJSnM Its REALLY hard to garner any information from google killing a product when it's this consistent
@textfiles
Jason Scott
5 years
To celebrate the official launce of Google Stadia ( @GoogleStadia ) tomorrow, I have created a single-purpose website: . It is a countdown timer set for the average lifespan of any Google service/product, which is 4 years.
Tweet media one
61
1K
3K
0
0
33
@peregrine
Jason Stiebs
2 years
@MikeBradleyMKE Millennials found a way they can influence politics in a positive way and its refreshing.
0
0
31
@peregrine
Jason Stiebs
2 years
@MattZeitlin Bunch of fresh Yale grads would work, just grab whomever likes beer the most.
0
0
29
@peregrine
Jason Stiebs
1 year
Anecdotal evidence here but I can confirm that people *want* to be working with Elixir. If you are using Elixir and are having trouble hiring.... I don't know what to tell you.
5
2
32
@peregrine
Jason Stiebs
1 year
. @chris_mccord told me this library is too boring to write a post about and I couldn't disagree more! BEAM is incredible and thanks to 's primitives its really quite simple to deploy something globally.
2
9
31
@peregrine
Jason Stiebs
8 months
Remote work is incredible and I wouldn't really wanna go back to 9-5/5days a week in an office. But goofing around with coworkers and going out to lunch is undefeated.
3
0
30
@peregrine
Jason Stiebs
1 year
would anyone be interested if I did a livestream of hacking on the AT protocol in elixir?
6
1
29
@peregrine
Jason Stiebs
1 year
Following up from my last post, here is a guide on actually using your SQLite Full Text Search database with Phoenix LiveView. I had trouble writing this post cause its literally just "Query the database, Render the results". LiveView โ™ฅ๏ธ SQLite
0
9
31
@peregrine
Jason Stiebs
1 year
I return to work on Monday not the same person that left on Friday. For I have a toddler and my weekend was a month long.
3
1
30
@peregrine
Jason Stiebs
1 year
Turns out the easy part of indexing every HexDoc was getting the data, read more here! If you wanna just search all of hex for a function here ya go!
1
7
28
@peregrine
Jason Stiebs
1 year
@jessfraz code reviews โ€œmeetingsโ€ where someone would put your code on a projector and the worst people would nitpick it.
1
0
29
@peregrine
Jason Stiebs
1 year
You do not need a vector database to make a ChatGPT plugin. I even made a "single file" example in elixir And here is a guide I wrote walking through it
0
8
29
@peregrine
Jason Stiebs
1 year
I recently got beta access to make a ChatGPT Plugin and turns out it's pretty simple to get started! Here is a minimal viable plugin.
1
7
29
@peregrine
Jason Stiebs
1 year
Most problems I see from new users of LiveView comes from not understanding that a LiveView is actually process, and each user gets one. So let's talk about it!
0
6
28
@peregrine
Jason Stiebs
2 years
@CleverMonsterCT @cammerman Later Left: that genocide you did was bad. Here is the evidence. By law you should be in jail. Right: who even cares about genocide when gas is 5$/gallon? Center: gas is expensiveโ€ฆ
0
1
22
@peregrine
Jason Stiebs
6 months
@generativist nature abhors measuring space beneath a curve
0
1
27
@peregrine
Jason Stiebs
2 years
@MattZeitlin The best part is that it makes them very mad. We just donโ€™t care that much
1
0
24
@peregrine
Jason Stiebs
2 years
@mikerugnetta One missing cost here and the most insidious one is how health insurance companies push the work they should be doing on to you and the employer and shamelessly. I have a small business and I hate every single step of this.
2
2
25
@peregrine
Jason Stiebs
1 year
The author *gets* Elixir I was worried they might have missed the point with the opening, and I'm glad I stuck with it.
0
4
26
@peregrine
Jason Stiebs
2 years
@mitsuhiko an ultimately once your application solidifies you end up with only a couple hot paths anyways, with manual work to add even trivial features, and the cost of the system with infinite complexity.
2
0
25
@peregrine
Jason Stiebs
1 year
Also if you use with Phoenix and something sucks let us know! We have a very active forum . If you are a mutual don't be afraid to slide into my DM's and vent. My job is making work well for Elixir/Phoenix!
@flydotio
Fly.io
1 year
Use SQLiteโ€™s built-in full-text search with Phoenix and Ecto! New Phoenix Files from @peregrine
0
8
68
5
2
25
@peregrine
Jason Stiebs
5 months
The real benefit of functional programming is that I can jump into any code base, read some functions and their arguments and figure out what is going on. If I need to "jump to definition" I can search `def function_name` or use an LSP if offered. Its all out there.
5
0
24
@peregrine
Jason Stiebs
1 year
I'm going to take a big swing and see if I can do my entire elixirconf presentation in LiveBook.
0
3
26
@peregrine
Jason Stiebs
4 years
@mattyglesias if I win you analyze @jdcmedlock usage of โ€œThats Rightโ€ as a impromptu whitepaper
Tweet media one
3
0
23
@peregrine
Jason Stiebs
8 years
I will be speaking at ElixirConfUS this year!
3
6
25
@peregrine
Jason Stiebs
2 years
@kylascan when my infant calls out for โ€œdadaโ€ she is really crying out for more data, real tragedy
1
0
25
@peregrine
Jason Stiebs
2 years
Its KHTML or Gecko all the way down.
1
0
23