Recent submissions

Comment · 1 year ago
Comment · 1 year ago
Comment · 1 year ago
Not to pick on Rails, sorting files into "models / views / controllers" seems to be our first instinct. My pantry is organized that way: baking stuff goes here, oils go there, etc.

A directory hierarchy feels more pleasant when it maps to features, instead. Less clutter.

Most programmers do not care about OO design, but "connascence" has some persuasive arguments.

https://randycoulman.com/blog/2013/08/27/connascence/

https://practicingruby.com/articles/connascence

https://connascence.io/

> Knowing the various kinds of connascence gives us a metric for determining the characteristics and severity of the coupling in our systems. The idea is simple: The more remote the connection between two clusters of code, the weaker the connascence between them should be.

> Good design principles encourages us to move from tight coupling to looser coupling where possible. But connascence allows us to be much more specific about what kinds of problems we’re dealing with, which makes it easier to reason about the types of refactorings that can be used to weaken the connascence between components.

Comment · 1 year ago
Not Linux specific, but the thermal paste is pretty poor. Mine disintegrated in two years of heavy use. (13", Intel 12th gen)

Popping off the heat sink to apply a fresh dab is no big deal, but I didn't find out until the top-center keys (y, 6) began failing.

Replacing the keyboard is $50 and about a hundred tiny screws.

Comment · 1 year ago
If it had any "parts," there would be seven trillion dollars' worth.

But it's actually all just taxes.

Comment · 1 year ago
Comment · 1 year ago
Terminal, sadly.
Comment · 1 year ago
Turnkey web hosting. Drag and drop your build folder, get a URL. Or point it to your git repo.
Comment · 2 years ago
> in my experience drug addicts are not very good at hiding it when they lose control

Not sure if it's relevant, but psychedelics (mushrooms) broke a college friend after minimal recreational use. Like, maybe twice, with zero past history of any other controlled substance.

His delusions were similar to what you described. In hindsight, I wasn't qualified to handle his deeply troubled mind.

You did the right thing contacting family and seeking professional help.

If he harms himself, it's not your fault.

Comment · 2 years ago
The opening paragraph is occluded by a cookie consent banner. That's perfect.
Comment · 2 years ago
The "shuttle" concept dates to the late 1960's. Great marketing, but the program was intended to finish once a destination was built.

https://en.wikipedia.org/wiki/Space_Station_Freedom

> As the Apollo program began to wind down in the late 1960s, there were numerous proposals for what should follow it. Of the many proposals, large and small, three major themes emerged. Foremost among them was a crewed mission to Mars, using systems not unlike the ones used for Apollo. A permanent space station was also a major goal, both to help construct the large spacecraft needed for a Mars mission as well as to learn about long-term operations in space. Finally, a space logistics vehicle was intended to cheaply launch crews and cargo to that station.

https://en.wikipedia.org/wiki/Space_Shuttle_program https://en.wikipedia.org/wiki/STS-134

> The Shuttle was originally conceived of and presented to the public in 1972 as a 'Space Truck' which would, among other things, be used to build a United States space station in low Earth orbit during the 1980s and then be replaced by a new vehicle by the early 1990s.

Comment · 2 years ago
Comment · 2 years ago
I'd like to remind everyone clamoring for law enforcement that the person who arrests you will be driving to jail at 70 miles per hour, in a 35 mph zone, while using a laptop.
Comment · 2 years ago
"Hey Google, give me showtimes for Aquaman" opens the assistant on my phone, and transcribes my request correctly.

There's a Nest mini (2nd gen) two meters away, but the device that answers is the Google Home 2016 in a different room.

First attempt: "Okay, ten minutes. And that's starting... Now."

Second attempt: "Sorry, I don't understand."

Third attempt: bingo.

Further trials seem to work, until they're interrupted by the 10 minute timer.

My partner comes downstairs to ask why I'm yelling STOP.

I remember my exact words when I bought this thing:

I have seen the future, and it sucks.

Comment · 2 years ago
The fan at full load (i5-1240P) is noticeable, but not obtrusive or unpleasant. My noise floor is a Be Quiet! desktop case.

In a normal workday, I don't hear it.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton