Opens profile photo
Follow
Chris McCord
@chris_mccord
Creator of the Phoenix Framework, Author of Metaprogramming Elixir, Programmer at , builder of things
Charlotte, NCchrismccord.comJoined February 2011

Chris McCord’s posts

Here's a little sneak peek of Phoenix LiveView uploads: interactive file selection file progress concurrent uploads drag and drop auto enforced validation constraints previews of local files before upload direct to cloud suport zero lines of user-land JS
24
781
I made some Phoenix LiveView progress this weekend. I think we have a good model for nested, dynamic live views, as well as error isolation and recovery. Here's a sneak peak! note: this is *not* localhost. Deployed to remote server, and interaction is buttery smooth:
21
758
I'm thrilled to announce I've joined ! They'll support my continued work on Phoenix while I help grow their geographic global deployments around Elixir and Phoenix. Imagine turn-key PubSub + LiveView + your greater app running on every continent. This is the future!
41
747
My Phoenix LiveView writeup is out! It details our latest progress and shows off a bunch of demo applications. We show autocomplete in 35 LOC, a complete snake game in 330 LOC, and how our optimizations match hand-written JSON in payload size.
16
688
LiveView uploads are going to be 🔥🔥🔥. After experiencing true pain of getting correct direct to S3 uploads working, this is going to be such a quality of life improvement. Interactive uploads, progress reports, multiple files – same API for direct to server vs direct to cloud.
21
626
It really feels like Phoenix LiveView has helped spawn a new era. Lots of excitement bubbling around server rendered apps. More and more we are also getting new leads specifically mentioning LiveView, and HN Who's Hiring often mentions it in the role. Exciting times ahead!
17
459
LiveView function components and slots are so good! Paired with Tailwind the productivity is incredible. Class soup complaints disappear because you encapsulate everything into a single place inside the component. Check out this fully accessible TailwindUI dropdown:
6
419
I'm blowing my own mind deploying elixir apps across the world on and seeing them cluster together. PubSub's just arrive in Sydney and Amsterdam. A couple minutes later I can have another instance in Hong Kong. And it all works somehow! This deserves a little screencast
6
348
My ElixirConf keynote is out showing the latest features in Phoenix 1.7 & LiveView, and a demo of the beautiful new generators Not seen is 30 min of AV issues after I took the stage. Thanks to the audience for sticking it out with me! tldw;👇
9
331
It's pretty wild watching the pendulum swing back to server side rendering: "Not only is it the default, the Next documentation also recommends users to stay in server mode as much as possible to improve end-user performance.” via
15
273
With Phoenix 1.5 going rc, my latest woodworking project is approaching rc as well. Custom cabinet base for a 1940 farmhouse sink. I used my old front-door and some various scraps for the entire thing. First attempt at insets
Image
20
238
Embed and broadcast Whisper speech-to-text transcriptions in your Phoenix app in 15 minutes youtube.com/watch?v=Yd220T There’s no third-party APIs to call out to, no background jobs to kick off, and no JavaScript to write. The only external dependency is ffmpeg.
9
251
Simulate poor network on osx: # app.local 100ms latency 30% pkt loss $ sudo -i $ dnctl pipe 1 config bw 10Mbit/s delay 100 plr 0.3 echo "dummynet out proto tcp from any to app.local pipe 1" | pfctl -f - $ pfctl -e # disable $ pfctl -f /etc/pf.conf && pfctl -d && dnctl -q flush
8
215
Replying to
The tailwind team generously designed and implemented our base level components and landing page for new applications, giving you a truly first class application to rapidly prototype with while learning the ins and outs of tailwind.
Image
Image
Image
6
214
Replying to
This is enabled by a new `phx.gen.release --docker` task that generates everything you need to deploy a released-based docker image on any platform that uses docker. You don't have to know anything about docker either. This will Just Work™ !
14
195
“I can’t remember the last time I even saw a Phoenix bug that I’ve ever experienced in the 4+ years I’ve been using Phoenix in production. That’s a hell of an achievement.” I love this anecdote from from my appearance on the latest
6
174
How have I used vim (key bindings) for this long and I just now learned of `. to jump to last change, and `` to jump to your location before your previous jump. I have been manually setting a/b as marks for this for years
14
169
The LiveView demos coming out have been amazing! My favorites so far are ’s PlantHopper game in 220 LOC, & ’s table pagination/filter/sorting in 50 LOC If you’ve built something, we want to see it! twitter.com/miladamilli/st
Quote
Table pagination, filtering, and sorting with Phoenix LiveView and no JS :-) ~50 lines of Elixir github.com/joerichsen/pho #myelixirstatus
Embedded video
GIF
9
168
Replying to
at the same time, I'm transitioning to an Advisor role at DockYard where I'll remain in close contact with the team. DockYard has been an instrumental part of the Phoenix story & their support thru the last six years has made Presence, LiveView, & all maintenance work possible❤️
2
152
First run of the chainsaw mill on a smaller test log. It works! My throttle cable hopped off a couple times so still some issues to debug, but it worked way better with a regular chain that I thought it would. Next up is the larger logs with a rip chain
17
136
I'm blown away by 's live coding "object detection in Elixir" from the Warsaw meetup. Elixir's ML story went from 0 to copy/paste and get magical black boxes in shockingly fast timeframe. Same for Livebook. Collab notebook w/ ML visualization🤯
4
143
We keep getting reports of Phoenix without caching being faster than other solutions with caching. Good perf lets you focus on what matters!
4
91
Find me on elixir slack if you need advice, a sanity check, or words of encouragement on your talk abstracts. I nearly backed out of my first talk submission because of imposter syndrome. Happy to help others cross that chasm!
Quote
🚨ElixirConf CFP is due TOMORROW🚨 Beginner or expert, the community can learn from you! 2022.elixirconf.com/speaker-cfp/#s
5
102
This demo video doesn't do TodoTrek justice either – everything in the app is realtime across browsers. Drag and drop, adding/delete/updating entries, activity feeds, etc!
Quote
Phoenix LiveView 0.19.0 is out along with `TodoTrek` – an open source showcase for the new features! Check the blog for details phoenixframework.org/blog/phoenix-l
Embedded video
GIF
1
104
Setting up my new macbook and migration assistant kept hanging at 0% in the “preparing” stage. I finally quit and guessed maybe node_modules was to blame. File system search showed hundreds of node_modules dirs. Current status:
Image
15
89