Kyle Johnson retweeted
It deserves a full write up, but Lua v1.0.0 (and now v1.0.2) has been released, with benchmarks!
This is a full @elixirlang implementation of Lua 5.3. Perfect for executing untrusted code from users, or for running Code Mode with Agents.
deflua.com
Kyle Johnson retweeted
This is what every communist country told its people -- that they were sacrificing their prosperity for some great national mission.
But in this case, the MAGA idiots don't even have a coherent fantasy to sell.
Kyle Johnson retweeted
MAGA sure seems to hate a lot of the things that actually helped make America the greatest country on the planet.
Kyle Johnson retweeted
This is grotesque and in a sane society it would be politically disqualifying.
This Post violated the X Rules. Learn more
Kyle Johnson retweeted
🩺@HealthKey_HK helps doctors increase revenue by matching patients to clinical trials. Using AI and EHR data, HealthKey automates prescreening, making enrollment fast and easy.
ycombinator.com/launches/MpS…
Congrats on the launch, @JoshSabol!
Kyle Johnson retweeted
I don’t really do endorsements. I’m not shy about sharing my views, but I hate politics and don’t trust most politicians.
I also understand that people want to hear from me because I am not just a celebrity, I am a former Republican Governor.
My time as Governor taught me to love policy and ignore politics. I’m proud of the work I did to help clean up our air, create jobs, balance the budget, make the biggest infrastructure investment in state history, and take power from the politicians and give it back to the people when it comes to our redistricting process and our primaries in California.
That’s policy. It requires working with the other side, not insulting them to win your next election, and I know it isn’t sexy to most people, but I love it when I can help make people’s lives better with policies, like I still do through my institute at USC, where we fight for clean air and stripping the power from the politicians who rig the system against the people.
Let me be honest with you: I don’t like either party right now. My Republicans have forgotten the beauty of the free market, driven up deficits, and rejected election results. Democrats aren’t any better at dealing with deficits, and I worry about their local policies hurting our cities with increased crime.
It is probably not a surprise that I hate politics more than ever, which, if you are a normal person who isn’t addicted to this crap, you probably understand.
I want to tune out.
But I can’t. Because rejecting the results of an election is as un-American as it gets. To someone like me who talks to people all over the world and still knows America is the shining city on a hill, calling America is a trash can for the world is so unpatriotic, it makes me furious.
And I will always be an American before I am a Republican.
That’s why, this week, I am voting for Kamala Harris and Tim Walz.
I’m sharing it with all of you because I think there are a lot of you who feel like I do. You don’t recognize our country. And you are right to be furious.
For decades, we’ve talked about the national debt. For decades, we’ve talked about comprehensive immigration reform that secures the border while fixing our broken immigration system. And Washington does nothing.
The problems just keep rolling, and we all keep getting angrier, because the only people that benefit from problems aren’t you, the people. The only people that benefit from this crap are the politicians who prefer having talking points to win elections to the public service that will make Americans’ lives better.
It is a just game to them. But it is life for my fellow Americans. We should be pissed!
But a candidate who won’t respect your vote unless it is for him, a candidate who will send his followers to storm the Capitol while he watches with a Diet Coke, a candidate who has shown no ability to work to pass any policy besides a tax cut that helped his donors and other rich people like me but helped no one else else, a candidate who thinks Americans who disagree with him are the bigger enemies than China, Russia, or North Korea - that won’t solve our problems.
It will just be four more years of bullshit with no results that makes us angrier and angrier, more divided, and more hateful.
We need to close the door on this chapter of American history, and I know that former President Trump won’t do that. He will divide, he will insult, he will find new ways to be more un-American than he already has been, and we, the people, will get nothing but more anger.
That’s enough reason for me to share my vote with all of you. I want to move forward as a country, and even though I have plenty of disagreements with their platform, I think the only way to do that is with Harris and Walz.
Vote this week. Turn the page and put this junk behind us.
And even if you disagree with me, vote, because that’s what we do as Americans. vote.org
Kyle Johnson retweeted
Ronald Reagan: “You can go to live in France, but you cannot become a Frenchman. You can go to live in Germany or Turkey or Japan, but you cannot become a German, a Turk, or a Japanese. But anyone, from any corner of the Earth, can come to live in America and become an American.''
Kyle Johnson retweeted
Disgraced QB involved in Mississippi's largest public embezzlement scheme to join convicted felon and adulterer in final pitch for fascist American future.
Packers legend Brett Favre to join Donald Trump at Green Bay event Wednesday jsonline.com/story/news/poli…
Kyle Johnson retweeted
You want 40 year olds on your team? @htmx_org is how you get 40 year olds with their 56k modem experience on your team.
I spent the weekend rewriting our entire product into @htmx_org. I'm planning to write a longer article about this experience in the future, but wow... this was the most fun and productive I've been writing code in 20 years.
I normally hate js libraries, but this was so joyful and I just have to say something about it.
I've been writing code for the web since before the `ActiveXObject('Microsoft.XMLHTTP')` swept in with Windows 2000 and changed the game. I've spent most of the past 25 years building software for the web, not because the web is a particular passion of mine, but purely from the pragmatic ease of deliverability.
In the olden days, distributing software painful beyond words. If you've never felt the pain of a disconnection 7-hours in while downloading FreeBSD over a 56k dial-up connection, or spent hours swapping through 28 1.44MB floppy discs to install the Borland C++ IDE, then it might be difficult to explain how liberating "web development" was at the start of my professional development career.
With web development, I could write code and immediately make those programs available to anyone in the world. Everything we built was _UGLY_, was crammed to the brim with SQL Injection vulnerabilities, and was usually pretty slow, but we'd finally reached a point where distribution was no longer the hardest challenge.
During the next 10 years, web development actually started to get pleasant. We got libraries like Prototype.js, Rico.js, and later jQuery, and the idea that those libraries would normalize-away all the bad parts of supporting multiple browsers and we could focus just on writing our business logic.
The word AJAX originally was a term that meant "Asynchronous Javascript and XML", because in the early days of building clean modern web-apps, the prevailing wisdom was that all of your AJAX calls would be sending HTTP requests to the server and getting back fully-formed chunks of XML.
Also at that time, developers were moving away from the random design of early HTML and there was a big push towards a version of HTML called XHTML (XML-compliant HTML). That was where we first started using a trailing slash on self-closing HTML tags like `<img />`, and with AJAX, if our HTML was valid XML, we could take the response directly from the server and start putting it into place with `.innerHTML`.
But writing XML has always sucked, and several years later JSON took over as the dominant standard of sending structured data to and from APIs. In general, this was a HUGE win over dealing with malformed XML and so everyone rightfully switched over.
What we didn't realize though was what we were losing. In the year 2003, when I wanted to update a div on a page without a full reload, I would make an AJAX request to one of our prebuilt server side components and get an XHTML representation of that component with whatever content had been updated in the database, and would immediately dump it right into the page. No parsing, no worrying about fields, just a single assignment to a DOM node's `.innerHTML`.
As we moved more into the JSON era, now we all decided that every endpoint should respond with JSON, so we built a version of the page that loaded with HTML, and then APIs that would send back JSON that we'd have to parse and update on the page.
Then we moved to libraries where the entire back-end responded with JSON, and we had the front-end library do all the DOM node rendering. I hated this, and fought against moving to these technologies on any product that I was in charge of.
We can write our entire product to work as a traditional boring web application. We write our own HTML/CSS and have a request to /dashboard load the full HTML page. This works great, but it's not very "sexy" and we have to send the entire page down the line with every request. @htmx_js changes the game for us.
Now, we can write our full normal boring web app, but add @htmx_js on top of that when we're done and all of the sudden unlock beautiful modern reactive websites without any extra mental burden. A click to the "dashboard" link when the page is already loaded has our server send back _JUST_ the middle part of our app that shows the dashboard. All the extra stuff (menus, navigation, logos, footers) can be ignored. Saves the server a ton of time per request, and makes every page load beyond the first one take up just a few small KB.
This is the missing link between sane web development and modern web development. This was the tool that needed to exist in 2005 when we were all figuring out how to build nice web applications. If we had this back then, I think the world would be a much different place right now.
But I'm glad that it exists now, and I don't see how we can ever go back to anything else. Many thanks to @htmx_js for the great library and @ThePrimeagen for talking about it and getting this great library on my radar.
Kyle Johnson retweeted
Tapper: Let’s show an example of Harris doing exactly what McConnell and Johnson are taking issue with.
Tapper: I'm sorry control room. That was actually Donald Trump calling Kamala Harris a fascist
Kyle Johnson retweeted
Good article by @MikeZornek_com about Elixir aesthetics and best practices. I agree with all points:
mikezornek.com/posts/2024/9/…
#MyElixirStatus
Kyle Johnson retweeted
A rabbi was asked by one of his students “Why did God create atheists?”
After a long pause, the rabbi finally responded with a soft but sincere voice. “God created atheists” he said, “to teach us the most important lesson of them all – the lesson of true compassion.
You see, when an atheist performs an act of charity, visits someone who is sick, helps someone in need, and cares for the world, he is not doing so because of some religious teaching.
He does not believe that God commanded him to perform this act. In fact, he does not believe in God at all, so his actions are based on his sense of morality. Look at the kindness he bestows on others simply because he feels it to be right. When someone reaches out to you for help.
You should never say ‘I’ll pray that God will help you.’ Instead, for that moment, you should become an atheist – imagine there is no God who could help, and say ‘I will help you’.”
— Martin Buber, “Tales of the Hasidim”
Kyle Johnson retweeted
Naval is mistaken that you should focus on policies rather than people. Policies are just words, especially in an election year. It's easy to invent attractive-sounding policies. Whereas it's practically impossible for people to change their characters.
You already know this.
Kyle Johnson retweeted
I was arrested & interrogated in Argentina during the 70's "Dirty War'' in which its president sought to rid the country of "the enemy within" with the help of his military. 30,000 Argentines disappeared. Americans should be terrified at such talk from a presidential candidate.
Kyle Johnson retweeted
Maybe I'm supposed to get mad at this, but instead I just get sad. Mullenweg clearly sees it as a failure to create much more value in the world than what you capture, and maybe that's the root of our differences. I see that as a proud achievement. ma.tt/2024/10/on-dhh/
Kyle Johnson retweeted
That time George Bush Sr’s dog got so fat, that, in 1992, the president had to send this memo to all White House staff.
Kyle Johnson retweeted
"That's the deal. That's open source. I give you a gift of code, you accept the terms of the license. There cannot be a second set of shadow obligations that might suddenly apply, if you strike it rich using the software. Then the license is meaningless." world.hey.com/dhh/automattic…
Kyle Johnson retweeted
I do not think we should elect someone to be President who believes they can terminate the Constitution
Kyle Johnson retweeted
Lisa Su's leadership of AMD has been phenomenal. 10 years ago, AMD was in dire straits, was losing money and faced intense competition from Intel (CPUs) and NVIDIA (GPUs). She turned the company around, introduced Ryzen and Epyc processors, introduced the Zen architecture, acquired Xilinx, and is now making a good showing with MI300/MI350 for AI workloads. I've come to deeply respect her as a leader. Congratulations @LisaSu on these last ten years!





























