Shawn McCool

20.5K posts

Shawn McCool banner
Shawn McCool

Shawn McCool

@ShawnMcCool

A pragmatist pretending at idealism; reassessing common knowledge and prescribed wisdom. The fact that it works is not the same as a good outcome.

Utrecht, Netherlands Katılım Mart 2008
360 Takip Edilen11.1K Takipçiler
Sabitlenmiş Tweet
Shawn McCool
Shawn McCool@ShawnMcCool·
Event Sourcery, the video course that I built as an introduction to domain modeling, cqrs, and event sourcing, is now publicly available on YouTube. youtube.com/channel/UCa_BK… I wrote and recorded the series over the course of a year and I hope that people will find it helpful.
English
4
19
73
0
Shawn McCool
Shawn McCool@ShawnMcCool·
Especially in an era of agentic coding.. it no longer makes any sense to me to continue using languages like PHP which offer zero novel value. I don't stand to gain anything from saying this, but now is the time to start with Elixir. Have faith and rip off that band-aid.
English
14
4
70
8.7K
Shawn McCool retweetledi
José Valim
José Valim@josevalim·
We just shipped Distributed Python on top of the Erlang distribution, with full Elixir and Livebook integration: dashbit.co/blog/distribut… And much more: intellisense, zero-copy Apache Arrow, and more. Read the article for all the details. A huge thank you to NLnet Foundation for sponsoring our work. They are always looking for new ideas and you have until April 1st to join the next batch: nlnet.nl
José Valim tweet mediaJosé Valim tweet mediaJosé Valim tweet mediaJosé Valim tweet media
English
15
66
343
19.8K
Shawn McCool retweetledi
David K 🎹
David K 🎹@DavidKPiano·
Chat-like interfaces replacing traditional UI are gradually exposing that *events* are the fundamental source of truth for state management
English
23
13
286
22K
Shawn McCool retweetledi
Dr. Elvim Ransom 👽
Dr. Elvim Ransom 👽@jesseleite85·
More #Elixir for #PHP devs fun! 🍷 — One of my favorite things about Elixir, don't sleep on multi-clause functions 😎 (link in replies) 👇
Dr. Elvim Ransom 👽 tweet media
English
2
1
5
1K
Shawn McCool
Shawn McCool@ShawnMcCool·
@rr_cook @unnamed1tw Its mid-90's intentions aside, even with modern advancements it handles concurrency poorly; to the point of almost completely ignoring it. It makes concurrency another layer's problem. It performs one action and dies. PHP is particularly poorly suited for server software.
English
0
0
0
15
Richard Cook
Richard Cook@rr_cook·
@ShawnMcCool @unnamed1tw I spent 30 minutes reading a PHP book once but I thought it was made to build server software? What are the issues?
English
2
0
1
17
Shawn McCool
Shawn McCool@ShawnMcCool·
@petyastehlik I would make myself available to you during your experimentation. Message me if you like.
English
0
0
1
17
Shawn McCool retweetledi
José Valim
José Valim@josevalim·
Saying "isolated processes for fault tolerance are not relevant because they were pushed to orchestration layer" is like saying "we don't need threads, because we will just run one pod per core anyway". The difference in reacting and responding to "my connection pool crashed" by restarting the pool locally vs restarting the whole pod is going to be massive, similar to the differences in latency when coordinating across threads vs across pods. Yes, other programming languages have threads, and they raise a signal when they fail, but that's missing the point. What matters it not the signal but the guarantees. If you have global mutable state and a thread crashes, can you guarantee it did not corrupt the global state? If you can't, the safest option is to restart the whole node anyway, because it is best to have a dead node than running a corrupted one. PS: somewhat related 6-years-old post: dashbit.co/blog/kubernete…
Paul Snively@JustDeezGuy

This is why I’m unimpressed by Erlang/Elixir: every major language runtime has VERY high-quality M:N work-stealing “thread” schedulers with good APIs (structured concurrency), and the “isolated processes” and “RPC” got pushed up to an orchestration layer (DC/OS, Nomad, k8s…)

English
9
50
348
29.4K
Shawn McCool
Shawn McCool@ShawnMcCool·
@mteinum Let me know if I can help at all. I think you may be pleasantly surprised with the ergonomics of Elixir + Phoenix.
English
1
0
0
23
red plait
red plait@real_redp·
@ShawnMcCool in next months misanthropic will learn their models on elixir - what you gonna do?
English
1
0
0
35
Shawn McCool
Shawn McCool@ShawnMcCool·
@amitgupta Ultimately, we can agree to disagree that ecosystem "size" is a relevant metric.
English
0
0
1
25
Shawn McCool
Shawn McCool@ShawnMcCool·
@amitgupta There's significant precedence for high-performance from the BEAM including but not limited to RabbitMQ.
English
1
0
0
19
Shawn McCool
Shawn McCool@ShawnMcCool·
@petyastehlik ...designing software components, systems, and more. I believe that it has a reasonable chance of transforming your views on software and systems design. At the very least, I challenge you to put a couple of months into it and THEN evaluate. I believe you'll be happy you did.
English
1
0
1
32
Shawn McCool
Shawn McCool@ShawnMcCool·
@petyastehlik I would encourage you to change your mental model about the usefulness. I have been experimenting for some time with agents and I think it's going to work out differently than you may expect. Further, I believe that learning Elixir will feed back into how you think about...
English
1
0
0
25
Shawn McCool
Shawn McCool@ShawnMcCool·
@igorhansachat These tools also have weaknesses that are already overcome with the BEAM (the runtime that Elixir uses). It's not about WHAT php can do. Engineers have shown great capability in using inadequate tooling to solve anything. It's about how it could be done better.
English
0
1
3
90
Igor@hansa.chat
[email protected]@igorhansachat·
@ShawnMcCool do you want to say that you want to use redis because it doesn't stay in memory? It does if you use e.g. FrankenPHP or Roadrunner instead of php-fpm that was previously common. This means you don't need extra layer like redis.
English
1
0
0
94
Shawn McCool
Shawn McCool@ShawnMcCool·
@igorhansachat Further, Elixir supports tooling like Ash Framework that genuinely results in faster dev with a dramatic improvement in abstraction which PHP could not support. The ecosystem is smaller in Elixir, but the avg developer is much more experience and the tooling reflects that.
English
1
0
1
46