Readit News logoReadit News
phaedryx commented on Micro Adventure – Space Attack (online emulator)   auri-microadventure.azure... · Posted by u/AlexeyBrin
AlexeyBrin · 2 months ago
> Also it teaches BASIC which is certainly a choice in 2025

The text and programs are from a book published in the 80's. It was a series of 10 books I think.

phaedryx · 2 months ago
The first programs I ever wrote were from one of these books.
phaedryx commented on Bill Atkinson's psychedelic user interface   patternproject.substack.c... · Posted by u/cainxinth
wvlia5 · 2 months ago
This is off-topic, we are discussing drugs here.
phaedryx · 2 months ago
Hypercard was inspired by an LSD trip.
phaedryx commented on Interviewing a software engineer who prepared with AI   kapwing.com/blog/what-its... · Posted by u/justswim
jaredklewis · 5 months ago
> - And yeah, you guys, it's time to buy a suit.

Others have already commented on this, but do you work in tech? IME getting interviewed by directors and even VPs in t-shirts is the norm. I’ve worn jeans to work my whole career. If anything, I think people in tech have a strong prejudice against people in suits (ie “obviously this person isn’t a real software engineer, they’re wearing a suit.”)

Anyway, probably not good career advice to wear a suit unless dress codes at tech companies are suddenly subject to drastic changes.

phaedryx · 5 months ago
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.

phaedryx commented on Show HN: Bubbles, a vanilla JavaScript web game   ehmorris.com/bubbles/... · Posted by u/ehmorris
a1r · 6 months ago
This. The 'black circle' in the tutorial is no good, maybe a dotted circle instead to make it clear you're supposed to be tapping empty space and not a black bubble.
phaedryx · 6 months ago
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.
phaedryx commented on Why Ruby on Rails still matters   contraption.co/rails-vers... · Posted by u/philip1209
Axsuul · 6 months ago
Any thoughts on Inertia.js, which seems like a good solution for React + Rails? Feels like you can have your cake and eat it too.

https://github.com/inertiajs/inertia-rails

phaedryx · 6 months ago
This looks interesting. I think I'll try it out over the weekend. Thanks for sharing.
phaedryx commented on Carbon is not a programming language (sort of)   herecomesthemoon.net/2025... · Posted by u/todsacerdoti
chandlerc1024 · 7 months ago
(Carbon lead here)

We tried other names, but we found collisions with essentially all of them. =/ We ended up picking a "least bad", and actually talked to a couple of folks familiar with the old usage to see if it was a worse collision than we realized. They weren't delighted but generally shrugged. So here we are. =/

It's definitely not perfect, but I think it's much more searchable than "C" or some other choices. Ultimately, I think its at least not bad enough to matter compared to the actual project.

phaedryx · 7 months ago
Why not create a word/name? e.g. Clojure
phaedryx commented on Ask HN: Would you still choose Ruby on Rails for a startup in 2025?    · Posted by u/dondraper36
hedgehog0 · 7 months ago
> If you're doing AI stuff, any Python framework will be best.

I understand that AI stuff now is mainly Python. But is it possible to connect Rails with some Python program/service, is this one of the purpose of microservices?

phaedryx · 7 months ago
I work for a company that uses Rails. We don't have any Python code, but we use a lot of AI.
phaedryx commented on Ask HN: Would you still choose Ruby on Rails for a startup in 2025?    · Posted by u/dondraper36
phaedryx · 7 months ago
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.

phaedryx commented on Moving on from React, a year later   kellysutton.com/2025/01/1... · Posted by u/yakshaving_jgt
nchmy · 7 months ago
Care to elaborate on #2?
phaedryx · 7 months ago
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.

phaedryx commented on Moving on from React, a year later   kellysutton.com/2025/01/1... · Posted by u/yakshaving_jgt
phaedryx · 7 months ago
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.

u/phaedryx

KarmaCake day1705December 14, 2010
About
I'm here
View Original