HNHacker News
TopNewBestAskShowJobs

jweir

2,752 karma · joined August 24, 2012

submissionscomments
jweir··on Tell HN: Help restore the tax deduction for software dev in the US (Section 174)
The guru states to the path to happiness is never argue with fools.
jweir··on Tell HN: Help restore the tax deduction for software dev in the US (Section 174)
You know not what you speak of. I am small developer without funding.

For every developer I hire I pay tax on 90% of their wages in year 1.

So, if I hire a 200k a year developer, I have an increased tax liability of 180k. That works out to paying about $75k ~ $85k. So my 200k developer becomes an 285k developer.

Now, eventually I could regain that cost, or I could do like I know of a few companies and commit tax fraud by not correctly reporting my expenses.

BTW even as a partner I am hit by this - to correctly file my taxes I have to report my retirement savings as development revenue and pay tax on what is supposed to be tax free.

Pretty cool.

jweir··on Tell HN: Help restore the tax deduction for software dev in the US (Section 174)
The Small Software Business Alliance has been actively working on this issue since day one.

https://ssballiance.org/about/engage/

And Michelle Hansen was an early organizer https://x.com/mjwhansen

If you work at all in energy, the Clean Energy Business Network is also proactive in fighting for change. A couple of years ago they put me touch with Ron Wyden's staff. The Democrats are almost universally opposed to what was added to Section 174.

https://www.cebn.org/media_resources/house-republicans-advan...

Fight this thing - it is terrible. Not just for software but any innovative business in the USA.

jweir··on The time bomb in the tax code that's fueling mass tech layoffs
We are small and so have been on a hiring freeze since 2022. I’d like to hire but the upfront cost is high.

For those around when this went into effect many business owners were surprised. Our accountants told us they seriously thought congress would fix this before it went into effect.

jweir··on GenAI Is Our Polyester
Polyester is still used extensively but it isn’t the replacement industry wanted. Folks overdid it and found a good balance.

We will overshoot with GenAI and over use it. Eventually rolling back and finding a better balance.

Lewis Mumford had an essay about this - how we don’t need turn the speakers up to 10 just because we can.

jweir··on Ruby 3.5 Feature: Namespace on read
Sorbet helps. We’ve even created a typed HTML template engine and it helps catch a lot but also allows using the Sorbet LSP to rename things and of course correct autocomplete.
jweir··on Observations from people-watching
And how often the artists arrived before the scientists.
jweir··on Elm Test Distributions
There is the Lamdera compiler

https://github.com/lamdera/compiler

We don’t use it though. Elm 0.19.1 just works. New packages and plenty of support. It’s difficult to comprehend in a world of endless updates that maybe something doesn’t need updates.

jweir··on Notation as a Tool of Thought (1979)
After years of looking at APL as some sort of magic I spent sometime earlier this year to learn it. It is amazing how much code you can fit into a tweet using APL. Fun but hard for me to write.
jweir··on Why do we need modules at all? (2011)
I tried it out. Fascinating language and a completely different paradigm. The language itself is familiar, but the structure of the program is different - no files – all functions are in a database and their history. I found the language a bit difficult to navigate, but that is probably because of my experience of work with files, and having tools based on files.
jweir··on The Frontend Treadmill
We use Elm for any complicated front end. Elm has not been updated in over five years.
jweir··on 3dfx, So powerful, it's kind of ridiculous (2023)
> While at SGI, Tarolli, Sellers, and Smith had all had some exposure to SGI’s Reality Engine, and with video games (especially the PlayStation) moving toward 3D graphics, all three saw the potential for consumer 3D acceleration.

Were they exposed to early versions of the Playstation? It wasn't publicly released until after 3dFX was formed.

While working at Virgin games in 92 we did see some demos of 3D gaming, but I can't recall who the manufacturer was.

jweir··on USAID funding freeze disrupts global tuberculosis control efforts
Leadership. You are not a leader if you ask why should we when they can.
jweir··on The intricacies of implementing memoization in Ruby
We no longer use memoization except for older code.

New code has anything that needs to be memoized defined in the initialize method. This solves a lot of problems and Sorbet typing is what encouraged us to go this route.

Now there could be a branching problem - one branch will not need to call the expensive thing another would not. In reality I have found this never to be the case in our code base. May be different for your designs.

jweir··on School smartphone ban results in better sleep and improved mood: study
Daughter got her phone at 12, 7th grade. It was a Nokia but the thing broke so we broke and gave her an old iPhone.

Before bed means before she starts getting ready for bed.

The last question I don’t know.

jweir··on School smartphone ban results in better sleep and improved mood: study
Our eldest child has a phone. But it has to be kept downstairs at night - no tech in the bedroom before bed.

Hasn’t been a fight or a problem at all.

jweir··on How can I grow as an engineer without good seniors to learn from?
I am primarily self trained and it took a long time to get "good". I wish I could have worked under a master, but that opportunity never arose and I was starting when web development was all new – so there were no masters.

Read and study and learn from your mistakes and the mistakes of others – you will believe things and realize later that your beliefs were wrong.

If there was one book I had to recommend that I have read it would be Sandi Metz's 99 Bottles series.

Oh, and learn multiple programming languages.

jweir··on Hetzner cuts traffic on US VPSs, raises prices
OTOH there is Azure where a very sophisticated Twillio phishing service was hosted. When reported to abuse Microsoft replied they were a valid customer. A week later it finally came down.
jweir··on Which power plant does my electricity come from?
> There’s pretty much no way for them[renewables] to lose money if they’re connected to the grid, especially because many get outside incentives for every megawatt-hour they generate. They even submit negative bids in some cases, meaning they’re willing to pay money to stay connected to the grid.

The negative price reflects their incentive, not their willingness to pay.

If I am guaranteed $18 a MW/h for my solar farm, then I will bid -$18 (or maybe slightly less to account for costs). The state, or federal government will ensure I am paid at least $18.

Without these incentives we would not see negative prices, zero perhaps, but not negative.

For instance the IRA offers upto $33.00/MWh incentives.[1]

This is a problem if you have a power plant that must run - such as a nuke. You may end up paying that negative price, unless the market offers you some sort of make whole payment. But where does that come from?

[1]https://www.energy.gov/eere/water/inflation-reduction-act-ta...

jweir··on MailCatcher runs a super simple SMTP server
Oh nothing much: Mailpit is installed via a script and then we added a systemd unit vs 'gem install mailcatcher && mailcatcher'
jweir··on MailCatcher runs a super simple SMTP server
We used to use MailCatcher, and it worked quite nicely, but then switched to Arm machines and it broke. So we are using Mailpit https://mailpit.axllent.org (which also nice, but more complicated to setup).

Looks like MailCatcher fixed the Arm issue – maybe we will switch back.

jweir··on X Algorithm Feeds Users Political Content Whether They Want It or Not
That is the "For You". I have a comment on this story about how you can remove it, and there are plugins out there that remove it.

Once it is gone Twitter becomes usable again – you only see who you follow and ads. Otherwise it is a really awful experience.

jweir··on X Algorithm Feeds Users Political Content Whether They Want It or Not
You can disable "For You" and only have your timeline and lists.

But you need a plugin (or run some javascript). I am trying to get a Safari Extension through the App Store... but that is taking some time.

    (function() {
        var defaultMatch = "For you";
        
        function fixYou() {
            let firstSelected = document.querySelectorAll('[href="/home"][aria-selected="true"]')[0];
            let text = firstSelected.textContent;
            
            if(text == defaultMatch){
                document.querySelectorAll('[href="/home"][aria-selected="false"]')[0].click();
            }
        }

        const observer = new MutationObserver((mutations) => { fixYou() });
        observer.observe(document.body, { childList: true, subtree: true });
        window.addEventListener('load', () => { fixYou(); });
    })();

This is the code to do it, if you want to roll your own.
jweir··on How I animate 3Blue1Brown [video]
Could having students create their own videos using A Manim explaining aspects of maths be a good way to teach maths?

Or would it be more cumbersome and the tools be a distraction or impediment to understanding?

jweir··on Fluoride in our drinking water may not be as useful as it used to be
San Jose’s added it. Albuquerque added it. Fresno removed it after having it. Tucson and Wichita does not - but Tucson’s level is about 50% of the recommended level.

By comparison Portland’s is 3%. Probably why dentists see high level of tooth decay here.

jweir··on Fluoride in our drinking water may not be as useful as it used to be
Not for tooth development - ie permanent teeth in children.
jweir··on Fluoride in our drinking water may not be as useful as it used to be
Check again.
jweir··on Fluoride in our drinking water may not be as useful as it used to be
Fluoride in the water impacts the development of teeth. Portland, where I live, is the last major city to not have fluoride in the water.

So kids have to take tablets if they want the impact. But this is far less effective.

Ask a dentist here. Locals have more tooth decay.

jweir··on Software development topics I've changed my mind on after 6 years in industry
Everyone uses the same formatter & options (which really should have no options, but that ins't the reality for most languages). The formatter rules - move on.
jweir··on Going Buildless
Except for CSS via Sass I have not used a build process in all these years.

And recently I rewrote our CSS to use modern syntax and nesting and variables and etc. - no more Sass!

It worked great but then customers started to complain and send messed up screenshots.

Turns out a lot of Android phones are using an older browser and a couple of customers were locked into old versions of Chrome by corporate policy.

Fortunately this was all nesting rules. So renaming the css file to scss and running it though Sass fixed the issues.

← PreviousPage 2 of 15Next →