HNHacker News
TopNewBestAskShowJobs

xutopia

4,709 karma · joined August 6, 2007

Programmer and manager, father, amateur cook and volleyball player.
submissionscomments
xutopia··on Mom gets 6-month suspended sentence for letting 5-year-old walk to the pond
If that's the boundary then I must have been a really neglectful and abusive parent.
xutopia··on Trade (and Tariffs)
Your framing is ridiculous. Canada sends raw materials to the USA and purchases it back once transformed. If anyone has been bleeding it is Canada.
xutopia··on The Tariff Cost: analysis of the costs to Americans from new tariffs on Canada
How do figure Canada will suffer more?
xutopia··on New Mac mini, featuring M6 and M5 Pro
I feel much the same. I feel like the next time I upgrade I could splurge a bit more and get a really bigger CPU and storage to be even more productive with.

However the main reason I would upgrade is to run LLMs locally and RAM prices are making this a no-go. One day if RAM comes down to earth I'll upgrade. If not I'll stick to this old machine for a long time.

xutopia··on Xiaomi: New CPU matches Apple cores single threaded, much faster multithreaded
The benchmark done in a lab is different than one done on a production phone. In a lab you can cool the room or even drop the CPU inside cold oil. Run the benchmark there and it means you have a good freezer.

I'd love to see what it looks like inside a production phone. I really hope for this to be true because we need more competition on the CPU front.

xutopia··on Grok 4.6
My experience as well.

I asked Grok if the family birthday image posted by Maye Musk could have been generated by AI and Grok refused to say that it was a possibility.

Multiple news outlets independently verified that the label "Made with AI" was on the original image before being edited.

In Grok's latest incarnation it admits the label "Made with AI" existed in the original but refuses to say that this means that it was made with AI.

Whatever Elon or his ghost accounts (his mom's account being one of them) is taken as gospel by Grok.

I can't stand that and I don't want to use a product from someone who does nazi salutes, flashed white power symbols on SNL and funds far right political parties around the world.

xutopia··on HTML over WebSockets: real-time SPAs with barely any JavaScript
Today's Rails has https://hotwired.dev and it's built-in. I've used it on quite complex UIs and for the life of me I don't believe React would be so popular in new projects if people knew how good this was.
xutopia··on HTML over WebSockets: real-time SPAs with barely any JavaScript
Funny he mentioned Chris McCord as the originator of this technique with Liveview. The reality however predates that with Sync in Rails that you guessed it... was also Chris McCord's doing. Rails at the time didn't have the capacity to handle it so it was just a tech demo then and a big reason why Chris McCord moved to Phoenix. He was once a prolific Rails developer. That guy is helping the web move forward.
xutopia··on Sonic Pi v5
Sonic allows you to plug straight to midi. Strudel is web based.
xutopia··on How Olinia Turns Mexico's EV Ambition into Reality
Mexico most cabs there just have windows rolled down or even no windows at all aside from the windshield.

In Mazatlan for example the most common taxi is called a pulmonia and only has a windshield and top cover but is gaz powered. This seems like a slightly longer version of the 4 seater pulomnia. I could totally see this being a great upgrade for a taxi driver there.

xutopia··on New HIV vaccine shows unprecedented success in preclinical study
The reason why this is a big deal is because they figured out a way to engineer the type of cells that are hard to create that can readily fight off the virus. In some people they create them already. Here they were able to get the body to create them.

I agree it is far off from something in humans but it's a giant leap. The way I see it is like sending Laika in space before we send humans. It's significant and promising of a future where humans might have a vaccine.

xutopia··on New HIV vaccine shows unprecedented success in preclinical study
PrEP is difficult on the body over time and though it can be used if you are high risk you are meant to avoid certain medications while using it and have to do follow ups with your doctor to check organ functions.
xutopia··on Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
Yes but why bother with React, Hydrating pages at all if you can do something simpler? What advantages does React provide here?

HTMX tools are simpler while providing straightforward thinking around html fragment caching, whole page caching. React just gives a runaround way of doing everything. I'll remind you React was built so that people could continue watching a streamed video while they navigated on a page. Most pages aren't streaming anything.

xutopia··on Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
Angular being basically the same HTMX is nonsense and you should know better.

Say you have a huge Google Ads budget burning up on those landing pages. Make one version with React and one with HTMX. Open Lighthouse and see performance difference. First page renders are much slower with React. Page load is slower and this makes a huge difference in mainland USA where people are still on 3G speeds on their budget phones.

"High traffic" might be the simplified view here and it took me a few page memos to explain it to my lead but the gist is that React is slower, takes longer to load and most of what it is used for is easily done with plain HTML and sprinkles of JS as needed. Unless you're streaming sound or video like you do on Facebook pages it's really not the right tool for the job in a majority of cases.

xutopia··on Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
I had landing pages using React on a 1.6M/m budget. The loading times on cell phones in mainland USA meant we had people cancelling the loading of pages. When we converted to straight up cached HTML we saw a huge increase in full page loads.

People weren't cancelling the page load and surfing back anymore. You cannot argue that React is extremely heavy and also adds a lot of time between first render. Test a normal HTMX page in Lighthouse and then convert it to React and you'll see how drastic things are.

People use React today out of habit rather than because it's the best tool for the job.

xutopia··on Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
Sounds like you never worked on complex HTMX systems. They're easier to maintain, allow for easy caching of HTML fragments in a page. For higher traffic pages React just fails spectacularly.
xutopia··on The Psychology of Software Teams
I'm unable to purchase it there even though it is way cheaper than getting it elsewhere because of blocking bugs with my Canadian physical address. Postal code which is valid is considered invalid... my city name which includes a dash is considered invalid. The postal code is blocking.
xutopia··on You only need the frontier model for one single edit
The article actually explains it better than I can but essentially you do not want the agent to get desperate which causes it to burn extra tokens. Planning phase doesn't test assumptions by going straight in the code and testing out parts of the ideas to execute so it has to consider way more in planning than it would if it could go quicker into the coding phase.
xutopia··on Jelly UI: Soft-body physics for native HTML form controls
I'm so glad it allows for preferences to reduce motion. I don't like these kinds of UIs at all... unless maybe I'm inside a video game and even then it bothers me after the initial novelty.
xutopia··on Short sellers notch $8.7B profit as SpaceX shares dip to IPO price
You essentially purchase a share into the stock from a random person and sell it immediately on the market at the current price with a promise to sell it future value in the future.

You don't actually take the money right away but a broker holds it for you.

Say Acme is worth 100$ today and you think it'll go down to 80$ in a week. You give the broker a small betting fee. So you give him 101$, he makes the purchase and holds the "position" for you.

During that week the price could do 2 things.

The Good Scenario: Price goes down to 80$. Broker buys the stock at 80$ and pockets a nice shiny 1$. You pocket 20$.

The Bad Scenario: Price goes up to 120$. Broker buys the stock at 120$ and pockets a nice shiny 1$. You owe broker 21$.

I say 1$ but it's actually more complicated than that. Some brokers allow you to do short positions only if you have other stock with them as collateral which they would sell to pay for whatever loss you might have. Shorting is a risky business because shares could go up to infinity and you could lose everything with these positions.

When people say they're "long on this stock" means they think it'll go up in price. "short on this stock" means they think it'll godown in price. It's lingo they love to use.

So the people you make it from are from people betting the opposite as you. Another person could make the opposite bet as you and end up losing their money that you pocket.

xutopia··on SpaceX bond worth 10% less than issue price – heading for junk bond status
You're mistaken.

Name 3 accomplishments he made and I'll show you world class work done elsewhere by other companies. The only thing he did which was notable was Starlink and I'll gladly grant you that. China is about to eat Starlink's lunch with their own tech.

Again I think people overestimate Musk's contributions to the world.

xutopia··on Germany maybe found a new source of renewable energy
Please refrain from putting these 2 in the same bucket. Fracking does lots of localized and non-local pollution. Nuclear is contained and way safer for humans.
xutopia··on SpaceX bond worth 10% less than issue price – heading for junk bond status
I can't comprehend for the life of me that people put their life savings in what Elon Musk is doing. Are people not seeing how he's lying about the future all the time?

He said he aimed to have 5000 Optimus robots out by end of 2025, 50000 by 2026 and 10 times that in 2027.

He promised in 2015 that full autonomous driving would arrive in 2 years and we aren't there yet 11 years later. He even said in 2016 that there would be coast-to-coast autonomous driving in 2017.

He promised manned missions to Mars by 2024-2025 in multiple interviews between 2011 and 2016.

He promised in 2016 that there would be solar roofs expansions by 2017 that didn't pan out, he promised AGI by 2025 in 2024.

Elon Musk has repeatedly lied about outcomes of his ventures, gotten crazy valuations based on those exaggerations and now people are starting to finally wake up that he isn't as good as his ego.

xutopia··on How I use HTMX with Go
For the life of me I can't comprehend how people today start new projects and default to using React. Rails Hotwire, Phoenix Liveview, HTMX are all vastly faster and easier to maintain. I keep hearing people say that if you want a really complex UI you need React but to those people I answer with 2 points.

1) Most of these people don't realize that if a component on the page is so complex you probably have usability issues.

2) React doesn't need to control the entirety of the page. You can contain your complex React components within a web page.

xutopia··on The art and engineering of Sega CD Silpheed
I remember when people would talk about a new game they hadn't yet tried and the first question was "How are the graphics?". They truly did amazing work back then to push the limits of systems so they could present things that the machine wasn't expressly built to accomplish.
xutopia··on SpaceX wants to launch 100k more Starlink satellites for 100x the bandwidth
I have a really good friend who used Starlink for his cottage in Canada and as soon as there was broadband he switched away. Starlink was unreliable and slow compared to what he has now.

In my country today the people who use it the most are in northern cities that don't even have roads going to them.

xutopia··on Dev productivity metrics suck. Ops reviews are key for AI-accelerated eng orgs
Their web site has a missing image.
xutopia··on AI content is everywhere on social media, especially LinkedIn
I'm convinced that the internet is mostly dead at this point. Sites like reddit or this one don't ask people for their identity. Nothing on here could be real and we'd be none the wiser.
xutopia··on Canada's only watchmaking school still ticking after 80 years
I live in Quebec and this is the first time I hear about it.
xutopia··on Real time map of France's rail network
I once zipped at 300km/hr (186mph) in the countryside while drinking wine. When I was at my destination I stepped out and walked a really short distance to get a meal in a square. Everyone in the destination city had everything they needed at walking distance.

People in North America don't realize how freeing it is not to have to own a car to do things but without adequate transportation they only see the inconvenience of not having one.

← PreviousPage 2 of 34Next →