News for hackers. Stuff that matters.

thomaslangston

Re:Reasons Not to Refactor on Thursday February 06, 2025 @03:54PM (#42966403)
I'd say #2 and #3 need to be modified.

#2 Are there related changes on the horizon for the code being refactored?

I think more qualifications than that probably miss times you should refactor.

#3 Has the code been changing recently OR have changes been delayed because modifying the unrefactored code is considered too difficult.

I've seen too many times where unrefactored code is considered too dangerous/difficult to modify even with total test coverage. Refactoring is a necessary step towards self documenting code in those cases.

Re:The Zizians and the Rationalist Death Cult on Saturday February 01, 2025 @03:55PM (#42902186)
Less Wrong
Re:Spaghetti Squash Squiggled Its Way onto American Tables on Wednesday August 02, 2023 @08:53AM (#36970217)
Recommendation for eating spaghetti squash in the spaghetti style, use half actual spaghetti pasta. You get the taste of pasta you're craving in each bite but with half the benefits of substituting of a full plate of spaghetti squash.
Re:Goodreads Has No Incentive to Be Good on Friday June 30, 2023 @09:57AM (#36534989)
Not OP, but

Different Translations

Corrections or Updates

Additions

Different Illustrations

Re: on Monday June 26, 2023 @04:27PM (#36485364)
Yes
Re:Framework Laptop 13 Review on Wednesday May 17, 2023 @09:32AM (#35975003)
Would a blank ISO keyboard work?

My Google skills are failing me and I can't seem to get a clear answer if the Scandinavian layout fits on ISO keys.

Batteries are not cheap, but they are cost effective based on local conditions.

Time of use billing. The battery is generating ROI if it can arbitrage energy over the day.

Net metering + solar. If net metering is not available, or sufficiently discounted, and your energy usage is not high enough during the day to use all your solar power, then batteries generate ROI.

Grid stability. A battery effectively is insurance against outages of a few hours. With sufficient solar and rationing, that may extend to week long outages (think natural disasters).

Re:NPR cancels 4 podcasts amid major layoffs on Friday March 24, 2023 @05:02PM (#35295457)
Short Wave is a short week day science NPR podcast I enjoy.
Re:Building a city optimized for bikes is a choice on Friday March 10, 2023 @08:13AM (#35093929)
Cold doesn't have to be an obstacle. Here's a video on Finland's bike infrastructure.

https://youtu.be/Uhx-26GfCBU

> This gives publishers the ability to retroactively wipe libraries' catalogs on the basis that they own them.

This doesn't have to be true. We could have licenses that are perpetual.

I've often thought an authenticated proof of donation to a global charity could be a solution to these types of problems, scaled in price to the senders locale.

Not refundable, but at least a donation to UNICEF allows the receiver to impose a submission cost without the implication they are doing so out of greed.

Re:Solar panels on cars make no sense on Sunday January 29, 2023 @12:14PM (#34570205)
This doesn't compute.

Higher interest rates makes a highly efficient and modestly sized two seater more attractive not less.

Re:Solar panels on cars make no sense on Sunday January 29, 2023 @11:21AM (#34569520)
One way to approach the engineering question of how to make solar cars for the mass market is to push the car body design to be extremely efficient. Aptera's three wheel, two seat, design seems more likely to deliver the type of daily range extension that will make solar cars a contender in the market.

https://aptera.us/vehicle/

There are some YouTube channels that specialize in landscaping. I could see digitally and entrepreneurially minded landscaping professionals being a good part of their audience. Might be worth sponsoring a video or two.
Re:Ask HN: What is your opinion of “unlimited” PTO? on Wednesday January 11, 2023 @11:57AM (#34340808)
I'd much prefer an explicit required amount of yearly PTO, plus the freedom for a manager to freely grant bonus PTO.
That's using a 5 percent withdrawal rate.

A 4 or even 3 percent withdrawal rate is more likely to be sustainable. Those are also rates I see suggested more commonly on retirement planning sites.

Re:Just use Postgres for everything on Saturday December 10, 2022 @01:18PM (#33935087)
Good tests are a lot easier to write with good interfaces.
They make A&H boxes that are designed to have sections torn off to let air through but not spill the baking soda.
Test order should be random, so that the ability to run them in parallel and distribute them across multiple hosts is not lost by missing enforcement of test isolation.
Re:Elon Musk owns Twitter: The story so far on Friday October 28, 2022 @03:49PM (#33376798)
My experience has been tradeoffs.

Real identity has those most vulnerable get more threats, the majority get less.

Certainly not if you define everywhere as including all of the US and Canada.
> I'd rather the government focus on fostering choice and options, rather than picking what they deem is "best" for everyone.

This is not a reasonable interpretation of reality.

One, the government effectively limits choice today via single family zoning and car centric city planning. Claiming NIMBYS are for more choice is disingenuous.

Two, there are some valid definitions of better, if not best. Dense, walkable, bike friendly, public transit oriented city planning leads to more active lifestyles, fewer transit deaths, less air pollution, lower carbon footprints, and better city financials.

Spreading out as worse isn't an assumption. It is a multi faceted and we'll documented reality.

Yes, the price of high carbon goods and services would go up with a carbon tax.

The lower class is more susceptible to the effects of worsening air pollution and climate change. They see the greatest benefits in those categories as each are improved by a carbon tax.

The downsides for the lower class can be further ameliorated by making the tax redistributive, e.g. increased welfare benefits, lowering other taxes, UBI, etc.

PeerTube is the only one that I've heard about any lately.
Re:Newsom just signed California pay transparency bill on Wednesday September 28, 2022 @01:14PM (#33010471)
1. The listed pay range can be any size. So they could put any number they want for the top end for overqualified applicants.

2. They can create a new position at any time with a higher range and offer you that position.

Re:'Securing Open Source Software Act' introduced to US Senate on Friday September 23, 2022 @05:47PM (#32957503)
Nah. You'd just need to use the old versions that had gone through a security audit and had some enterprise level Long Term Support contracts available.

IBM will offer quotes for whatever is required within 2 quarters or less.

What does R1 mean in this context?
Re:I still love PHP and JavaScript on Tuesday August 02, 2022 @08:12PM (#32326030)
This reads better when reflection is used in both meanings.
Re:TITO: Electric Argentine car on Tuesday June 21, 2022 @04:43PM (#31828891)
What are the US market examples at a similar price point or lower with same or better specs?
Re:Ask HN: Are companies preparing to end Remote? on Wednesday June 01, 2022 @02:06PM (#31585731)
Remote work =/= work anywhere.

Companies can easily set policies to only allow work in jurisdictions they have tax and legal infrastructure to handle.

This isn't the same as requiring all your employees to come in the office.

Older »