Recent submissions

Comment · 1 year ago
This seems, at least at the surface, to be strictly worse than going to chatgpt
Comment · 1 year ago
Do you mean activities like driving a car?
Comment · 1 year ago
I was personally using tailscale funnel (similar?) because my isp didn’t give me a static ip moreso than for any security reason.
Comment · 1 year ago
Comment · 1 year ago
> This is just about the most bizarre take on unit testing I've seen in my 25-year career.

Lol ok

> you are entirely defeating the point of testing

We will disagree here

> only assert that the current implementation is equal to the current implementation

I didn’t state that I do this

Comment · 1 year ago
_in your opinion_

My opinion is, _my unit tests_ are to protect my code against unwanted changes. To that end, unit tests test a single unit. And everything is mocked. If I have to rewrite a method, usually I rewrite all of its unit tests. Which is fine. They’re easy to write or rewrite.

Fully mocked unit tests are then supplemented with fewer “full stack” tests higher up the pyramid.

Comment · 1 year ago
Yes
Comment · 1 year ago
There is no sense
Comment · 1 year ago
More than a little
Comment · 1 year ago
Well, not a surprise. They predicted it before measuring it.
Comment · 1 year ago
On iPhone, it is. Can set “limited access” for contacts just as you can for photos.
Comment · 1 year ago
> Also, it seems like every Ruby programmer I know only ever uses other dynamic languages like Python. It’s never like they’re experts in C++ or something and then decided to start programming in Ruby.

Can you expand on what you’re saying here or why you’re raising this is as an issue with ruby the language or rails the library?

Comment · 1 year ago
So it wasn’t really implemented correctly then.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton