HNHacker News
TopNewBestAskShowJobs

troymc

3,330 karma · joined November 21, 2009

Troy McConaghy

https://troymcconaghy.com

submissionscomments
troymc··on I Blog with Raw HTML
RSS is human-readable XML, so you could just manually update your RSS file every time you write a new post, in a text editor.
troymc··on U.S. facing most intense flu season in at least 15 years
There are seven coronaviruses known to adversely affect humans but not all of them cause the common cold [1]. Indeed, one of them (SARS-CoV-2) causes COVID-19, which is not the common cold.

[1] https://www.canada.ca/en/public-health/services/laboratory-b...

troymc··on Hunyuan3D 2.0 – High-Resolution 3D Assets Generation
Check out RealityCapture [1]. I think it's what's used to create the Quixel Megascans [2]. (They're both under the Epic corporate umbrella now.)

[1] https://www.capturingreality.com/realitycapture

[2] https://quixel.com/megascans/

troymc··on Ask HN: Are any tech workers still happy?
It sounds like you need to quit and get a different job.

Maybe you should do a different kind of work. Lots of people derive happiness, even joy, from their work (including software developers; Steve Gibson [1] is a good example of that).

If you need help finding that, I recommend the book What Color Is Your Parachute?

[1] https://www.grc.com/intro.htm

troymc··on Matt Mullenweg deactivates WordPress accounts of contributors planning a fork
WordPress is a lot more than it's core code. There's a whole ecosystem of plugins, for example, and the usual place to share them (wordpress.org/plugins) is, essentially, controlled by one guy. It's not so easy to fork that.
troymc··on Oracle Will Not Voluntarily Withdraw JavaScript Trademark
Not to be confused with EczemaScript or AcneScript.
troymc··on How do I pay the publisher of a web page?
The web already has lots of options for people who don't want to be paid. That's not the problem!

The problem is that there's no web-standard way for people who do want to be paid to indicate how.

troymc··on Most American farmers have second jobs to stay afloat
That's often how it goes. The market starts out with lots of small businesses, but over time it ends up up with a few giant companies. Economists call it industry consolidation. There are some interesting nuances at the beginning and the end of the "consolidation curve" [1].

[1] https://hbr.org/2002/12/the-consolidation-curve

troymc··on Charset="WTF-8"
I wonder how many of those packages end up in Vada, Italy. Or Cody, Wyoming. Or Buda, Texas...
troymc··on Why Zig?
In some ways, Zig is simpler than C, it's true, but it also adds some nice things.

For example, Zig introduces a robust error handling mechanism (try, catch, return err) that eliminates the need for exceptions or manual error checking via return codes (if (ret < 0)).

Also, Zig includes its own build system (zig build) and package management. This removes the need for external tools like make, cmake, or third-party dependency managers. Everything is integrated and works cross-platform out of the box.

You wondered why getting rid of macros was a good idea...

Zig allows compile-time function execution (CTFE) as a core language feature. This replaces the need for macros in many cases. While C macros are powerful, they are also error-prone and hard to debug. Zig's comptime feature allows you to write functions that run during compilation, offering the same benefits but with stronger type safety and clearer error messages.

troymc··on Why Zig?
Maybe ask ChatGPT?
troymc··on A New Kind of Mitochondria
My take: In mitochondria, there is a trade-off between making ATP and making the building blocks of proteins. Different mitochondria can specialize in doing one or the other.
troymc··on Intel brings back workers' free coffee, seeking to stem morale decline
I thought this was a headline from The Onion.
troymc··on Escape the Surveillance Web with Gemini
No, Gemini is not built on top of the web (HTTP). It's an alternative to the web.
troymc··on Alexander the Great's tunic identified in royal tomb at Vergina?
AFAIK, the current location of Alexander's tomb is not known.
troymc··on Alexander the Great's tunic identified in royal tomb at Vergina?
My summary: they claim (with evidence) that they found the sacred purple sarapis (tunic) of Alexander the Great, and possibly some of his other things.
troymc··on Democratising publishing
1) Many people or orgs who are aligned with Ghost and want it to succeed long-term will be okay with paying a bit more for hosting on Ghost(Pro); they might see the extra cost as paying for the continued existence and development of their publishing software.

2) Not all foundations-behind-open-source-projects use revenues from hosting as their sole source of funding. Notable examples include the Blender Foundation and the Linux Foundation.

troymc··on ChatGPT Search
OpenAI has ads? I thought it was mostly a freemium business model.
troymc··on Opera will always help you block ads natively
Opera already does ad blocking before you add any extensions, so the manifest v3 thing is a bit of a red herring.
troymc··on Tell HN: DigitalRiver/MyCommerce stopped paying vendors since July
Maybe Lemon Squeezy? Stripe recently acquired them, so they're probably not going insolvent any time soon.
troymc··on Tell HN: DigitalRiver/MyCommerce stopped paying vendors since July
Using a merchant of record is a good idea in 2024, now that every little jurisdiction wants you to collect their sales tax for them, and to remit that sales tax to them. (That wasn't always true.)

Stripe recently acquired Lemon Squeezy, another merchant of record, so maybe look into that. (Stripe Tax will help you collect the right amount of sales tax, but that's only half the problem. You still have to remit it to all the relevant jurisdictions.)

Other options are Paddle and FastSpring.

troymc··on Ask HN: I cannot make a decent looking GUI from scratch. How do I learn?
It's not easy, that's for sure. These days, big organizations tend to develop an internal "Design System" along with some implementations. Many of those design system implementations are, in fact, open, so you might just use those.

Example 1: Google has "Material Design". Here are some key resources:

1. Material Design Components (MDC):

- For Android: MDC-Android

- For iOS: MDC-iOS

- For Web: MDC-Web

2. Material Design for Flutter: A set of widgets implementing Material Design for Flutter apps.

3. Material-UI (MUI): While not created by Google, it's a popular React library that implements Material Design.

4. Material Theme Editor: A tool for creating and customizing Material themes.

5. Material Icons: Official Material Design icons.

6. Material Design Guidelines: Comprehensive documentation on implementing Material Design.

You can find these resources and more on the official Material Design website (material.io) or Google's developer documentation.

Example 2: Microsoft has "Fluent 2". Google it.

Example 3: The UK Government has the "GOV.UK Design System". See https://design-system.service.gov.uk/

Example 4: Adobe's official design system is called "Adobe Spectrum." Google it.

troymc··on The Static Site Paradox
If you like WordPress and want to use it to create a static site, you can.

1. Run a local installation of WordPress on your PC. For one option, see localwp.com (no affiliation).

2. Use WordPress to design whatever website you want, using almost any WordPress plugins you want. Just don't make any calls for time-varying external resources!

3. Use one of the WordPress plugins for exporting a WordPress site as a static site, i.e. as a folder of files that you can upload to GitHub Pages, Netlify, Neocities, or wherever. For one option, see simplystatic.com (no affiliation).

troymc··on Ask HN: Free API for Weather Queries?
Maybe https://news.ycombinator.com/item?id=31965812
troymc··on Google Flights now uses Amtrak data to show trains to consider alongside flights
When there are many possible transportation options, I sometimes use...

https://www.rome2rio.com/

troymc··on Bobby's Table
https://xkcd.com/327/
troymc··on How can we trust Open Sources power but doubt Socialism's potential to unite us?
Churchill's famous quote wasn't about capitalism, it was about democracy, which isn't the same thing at all. Here's an article with his full quote and the history of the idea he was expressing:

https://quoteinvestigator.com/2023/12/08/democracy-worst/

troymc··on A high-performance, zero-overhead, extensible Python compiler using LLVM
That make sense. Thanks for clarifying.
troymc··on A high-performance, zero-overhead, extensible Python compiler using LLVM
The license is the "Business Source License 1.1" [1].

The Business Source License (BSL) 1.1 is a software license created by MariaDB Corporation. It's designed as a middle ground between fully open-source licenses and traditional proprietary software licenses. It's kind of neat because it's a parameteric license, in that you can change some parameters while leaving the text of the license unchanged.

For codon, the "Change Date" is 2028-03-01 and the "Change License" is "Apache License, Version 2.0", meaning that the license will change to Apache2 in March of 2028. Until then, I guess you need to make a deal with Exaloop to use codon in production.

[1] https://github.com/exaloop/codon?tab=License-1-ov-file#readm...

troymc··on Why don't more people use Linux?
A lot of people are using Linux without even knowing it.

Android uses a modified version of the Linux kernel; it depends on the Linux kernel project. According to Statcounter, Android has about 72% global market share on smartphones, with iOS at about 28% [1].

Many websites and web services run on Linux, at least in part. Wordpress, the most popular CMS, with around 63% market share [2], can run on other OSes, but it's usually run on Linux.

Linux is now more used on Azure than Windows Server [3].

Linux is also used in lots of other everyday things, e.g. automobiles, microwave ovens, routers, etc. You get the idea.

[1] https://gs.statcounter.com/os-market-share/mobile/worldwide

[2] https://w3techs.com/technologies/history_overview/content_ma...

[3] https://www.zdnet.com/article/microsoft-developer-reveals-li...

← PreviousPage 3 of 34Next →