News for hackers. Stuff that matters.

phaedryx

Re:Rails World 2026 Opening Keynote on Friday September 25, 2026 @11:40AM (#49846110)
HTMX is still alive and well; version 4.0 was just released.

(disclaimer: I'm a CEO of HTMX)

Re:Trade (and Tariffs) on Thursday August 27, 2026 @05:52PM (#49471798)
I know what tariff means, I just think many people don't realize it means "taxing US citizens" and not "sticking it to some country we don't like"
Re:Trade (and Tariffs) on Thursday August 27, 2026 @01:15PM (#49468040)
You act as if it's the countries that are doing the trading; it's not. It is the businesses and other entities within the countries that are doing it. They are doing it because it benefits them. If a company is doing overseas manufacturing it is because they benefit and it isn't the United States that made that decision.
Re:Trade (and Tariffs) on Thursday August 27, 2026 @01:07PM (#49467941)
Trade happens because both sides agree and make an exchange. I don't understand how "other countries rob us blind."
Re:Trade (and Tariffs) on Thursday August 27, 2026 @01:03PM (#49467888)
I wish we would call them "taxes on imports" instead to reflect what is actually happening.
I think either gray hair or bald does a lot too.
Re:How to Start a Ruby Meetup on Thursday July 09, 2026 @03:26PM (#48851170)
If you're in the Salt Lake County/Utah County area, we're having Ruby meetups: https://www.meetup.com/utah-ruby-users-group/
Re:Why Musicians Are Manufacturing Sold-Out Shows on Thursday April 23, 2026 @05:17PM (#47882173)
I helped run a website selling tickets for a venue that had a Garth Brooks concert. I can confirm that they did the same thing in the 2010's.
This is my understanding:

1. Ruby Central hosts, maintains, and sponsors Rubygems and Bundler

2. Based on recent events, it was possible that credentials were stolen (https://www.bleepingcomputer.com/news/security/60-malicious-...)

3. They decided to lock everyone out until security issues could be resolved

It makes sense to me from a security standpoint, but their communication has been terrible which has led to a lot of speculation.

Re:Anthropic Judge Rejects $1.5B AI Copyright Settlement on Tuesday September 09, 2025 @06:35PM (#45190320)
It sounds like the judge works for Anthropic
Re:Micro Adventure – Space Attack (online emulator) on Tuesday July 15, 2025 @04:32PM (#44575523)
The first programs I ever wrote were from one of these books.
Re:Bill Atkinson's Psychedelic User Interface on Friday July 11, 2025 @01:54PM (#44535155)
Hypercard was inspired by an LSD trip.
Re:Interviewing a software engineer who prepared with AI on Tuesday April 08, 2025 @10:23AM (#43622154)
I've made it a point to always ask beforehand: "what is the dress code expectation? I've seen everything from t-shirts to suits in the tech industry and I'd like show up dressed appropriately."

I always get a positive response.

Re:Show HN: Bubbles, a vanilla JavaScript web game on Friday March 14, 2025 @11:25AM (#43363547)
Same. When the game started I was looking for a black circle to use against the "bubbles"; none showed up, and suddenly I had lost.
Re:Why Ruby on Rails still matters on Friday February 21, 2025 @03:33PM (#43132615)
This looks interesting. I think I'll try it out over the weekend. Thanks for sharing.
Re:Carbon is not a programming language (sort of) on Sunday February 09, 2025 @03:22AM (#42989317)
Why not create a word/name? e.g. Clojure
I work for a company that uses Rails. We don't have any Python code, but we use a lot of AI.
Yes. It does a lot for you and you can add features and explore ideas quickly. The batteries are included.

I do know Ruby well though.

Re:Moving on from React, a Year Later on Saturday January 25, 2025 @11:42PM (#42827756)
I remember when Backbone first came on the scene and “get your truth out of the DOM” was the rallying cry.

I'm going to cheat and get a list from AI:

1. Difficulty in maintaining and debugging: When state is scattered throughout the DOM, it becomes challenging to track and manage, leading to code that is hard to maintain and debug.

2. Performance issues: Frequently querying the DOM for state information can be more expensive and slower compared to accessing data stored in JavaScript objects or dedicated state management solutions.

3. Lack of a single source of truth: Storing state in the DOM makes it difficult to establish a centralized, authoritative source for application data, which can lead to inconsistencies and errors.

4. Synchronization problems: Keeping DOM elements in sync with a mutable list of data can quickly become complex, especially when dealing with dynamic lists or elements without unique identifiers.

5. State persistence issues: DOM-based state is vulnerable to loss during page refreshes or navigation, which can lead to poor user experiences, especially in single-page applications.

6. Scalability challenges: As applications grow, managing state in the DOM becomes increasingly cumbersome and can result in performance bottlenecks.

7. Difficulty in implementing advanced features: Techniques like time-travel debugging, state snapshots, and easy hydration become more challenging or impossible when state is primarily stored in the DOM.

8. Increased complexity in component communication: Relying on DOM for state can complicate the process of sharing data between components, potentially leading to prop drilling or other anti-patterns.

Re:Moving on from React, a Year Later on Wednesday January 22, 2025 @12:43AM (#42789432)
I think the idea of "sprinkling" JavaScript into your server-rendered HTML is a good one. However, I think that Stimulus is terrible.

1. There isn't a good way to test it. There is nothing in the docs about how to test it.

2. Keeping state in the DOM is dangerous

3. Messaging between Stimulus controllers is painful

4. They disconnect parameters from functions. The functions have to scan through the DOM to find what they need which I think is fundamentally weird

5. Reusability is rare

6. It doesn't try to play nice with the larger JavaScript ecosystem.

I personally prefer Vue.

Re:VS Code Pets on Sunday January 19, 2025 @03:06PM (#42761200)
Would that make them sick?
Looks really nice.

Some very minor feedback: the animations are a bit too busy for my tastes

Re:The Onion Buys Alex Jones's Infowars Out of Bankruptcy on Thursday November 14, 2024 @11:23AM (#42137763)
Will no one rid me of this turbulent priest?
Collaboration is much easier in the office, but I find home much easier to go heads down, headphones on and work on something; hybrid is the sweet spot for me.
Re:Legalizing Sports Gambling Was a Mistake on Thursday September 26, 2024 @01:55PM (#41661232)
The thing is when people around me are "ruining their lives" it does affect me.

Crime goes up, bankruptcy goes up, corruption in sports goes up, etc.

I agree that people should be given freedoms, but we live in societies and people aren't independent, disconnected, autonomous units.

Does anyone know exactly where this is supposed to be? I'm from "southwest Utah" so I'm curious.
Re:ChatGPT Fails to Understand Causation on Friday June 21, 2024 @01:50PM (#40751979)
Here's what Claude gave me:

A real-life example of three events A, B, and C where A and B are correlated, B and C are correlated, but A and C are uncorrelated could be:

A: Ice cream sales B: Temperature C: Energy consumption for air conditioning

Let's break this down:

A and B correlation:

Ice cream sales (A) and temperature (B) are positively correlated. As temperature rises, people tend to buy more ice cream.

B and C correlation:

Temperature (B) and energy consumption for air conditioning (C) are positively correlated. As temperature increases, people use more air conditioning, leading to higher energy consumption.

A and C uncorrelated:

Ice cream sales (A) and energy consumption for air conditioning (C) are not directly correlated. While both increase with temperature, there's no direct causal relationship between them.

Re:Stonehenge Damaged by Protesters on Thursday June 20, 2024 @01:39AM (#40735288)
Our definitions of vandalism are different. I would count graffiti as vandalism. I would also count racial slurs written on private property using sidewalk chalk as vandalism.

Older »