HackerTrans
TopNewTrendsCommentsPastAskShowJobs

hotpocket777

no profile record

Submissions

The Red Programming Language

red-lang.org
213 points·by hotpocket777·anno scorso·128 comments

The Most Compact Calendar?

time.is
2 points·by hotpocket777·anno scorso·0 comments

comments

hotpocket777
·12 mesi fa·discuss
This seems, at least at the surface, to be strictly worse than going to chatgpt
hotpocket777
·12 mesi fa·discuss
Do you mean activities like driving a car?
hotpocket777
·anno scorso·discuss
I was personally using tailscale funnel (similar?) because my isp didn’t give me a static ip moreso than for any security reason.
hotpocket777
·anno scorso·discuss
[flagged]
hotpocket777
·anno scorso·discuss
Has negative connotations

https://fluentslang.com/jank-meaning/
hotpocket777
·anno scorso·discuss
> 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
hotpocket777
·anno scorso·discuss
_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.
hotpocket777
·anno scorso·discuss
Yes
hotpocket777
·anno scorso·discuss
There is no sense
hotpocket777
·anno scorso·discuss
More than a little
hotpocket777
·anno scorso·discuss
Well, not a surprise. They predicted it before measuring it.
hotpocket777
·anno scorso·discuss
On iPhone, it is. Can set “limited access” for contacts just as you can for photos.
hotpocket777
·anno scorso·discuss
> 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?
hotpocket777
·anno scorso·discuss
[flagged]
hotpocket777
·anno scorso·discuss
So it wasn’t really implemented correctly then.
hotpocket777
·anno scorso·discuss
What is a “CLI framework”?
hotpocket777
·anno scorso·discuss
That is not true at all. Concurrency is a way of writing programs and is an orthogonal concern to how the program gets executed.
hotpocket777
·anno scorso·discuss
It’s not a quote. It is an interpretation or reading of a quote.
hotpocket777
·anno scorso·discuss
Assuming doh = dns over http
hotpocket777
·anno scorso·discuss
But… he _is_ writing markdown.