HN user

malklera

4 karma
Posts0
Comments38
View on HN
No posts found.

This sounds like you want a magic solution.

You want to find your "tax" related things. Each time you create something, you put it in the "tax" directory. The same with photos: you organize them once in the input stage or periodically, and then you can search for them easily later on.

For text, if the content of the file is what is relevant, grep/ripgrep are your friends.

File type/name, find/fd are your friends.

Date of creation? A combination of ls and find.

For image, video and sound it is more difficult (impossible?) to search by content.

File names and directories are simple, and it works as well as you make it work; it does not matter the type or content of the file.

REST in Peace 3 months ago

Learn something new every day.

Something that comes to mind as a "problem" is that popular DBs are not designed to manage this (at least I do not think so), so you can have a DB and violate the principle of only appending, and the DB will let you.

And how difficult is it to migrate to this model or away? Although this is the same "problem" with any model, I suppose.

Notice that in all cases time spent sleeping or otherwise waiting shouldn’t be counted, though you probably shouldn’t do that in your code in the first place.

I thought the time your CPU waits around doing nothing is something you want to measure.

If your algorithm has better "mathematical" scaling with big N but is worse in real world scenarios, it "failed".

Or maybe the application of this is another?

I wonder if this is age dependent. Do young (15-25) people take notes by hand?

If I do anything to do with math, I need paper; anything else is in markdown.

Recommendation: There are folders that you can add pages to; that way you do not worry about space.

But how do you know which minimum version you need?

Install the latest version of Go and once you are finished with the library, downgrade the version of Go by one until you get a compilation error?

You see the complaints; people rarely praise a product; they just use it.

An IDE is a tool. What do you want to use the tool for? Put that as a priority and say no to everything else.

If the IDE is for you, look at the other editors and pick and choose each thing they do and decide how (or if) you want to do it. Are you happy with the result? That is a win. If somebody comes along with ideas/complaints, tell them no.

Really interesting read.

Weird libressl.org not being a secure website according to brave mobile, but on helium desktop it is secure.

Everything mentioned applies to human programmers too, but we still get bugs and downtime in production.

Are LLMs more important so companies will pay to have these guardrails when they currently do not have them for their humans?

From the outside I see (do not write manually managed memory).

C/C++, you SHOULD do X to prevent certain bugs.

Rust, you MUST do X to prevent certain bugs.

Humans are lazy, error-prone, unskilled, etc. When I decide to get to a more low-level language, I will choose the language that forces me to good behavior.

The problem I see with all the rewrites is, long term, will the people that created the project stick around 5 or 10 years from now?

Will companies be more willing to donate time/money if they can actually monetize a product built on top of an MIT license?

I think right now the answer is "not enough"

I mostly do not like infinity scroll because your position on the page is often metadata (from the point of view of the user).

It has its place.

e.g., the blog allows you to manually indicate a point on the index, but otherwise you "are" always at the top.

I am new enough to programming that I actually have no concrete idea what a context is; I just use it when a library asks for it.

lemoncucumber

it can be tempting to keep adding layer upon layer of wrapping resulting in an unwieldy error string that’s practically a hand-rolled stacktrace

I thought this was the whole reason to wrap errors, to know where they passed up the chain.

Funny how it seems no matter the subject, if Go is involved, errors get discussed.

You have to look from two sides this Moral: What is right or wrong? If they wanted to change the license, they could have made another project with another name, and nobody would care, but they wanted the reputation of the project.

Legal: How much are you willing to spend on litigation? The only real "protection" by copyright is in court.

This is over my head, but it is interesting to read how low-level things are still considered "broken".

Are there few people that actually know this or consensus or backward compatibility that keep it "broken"?

I was convinced it was a scam till I read the about, a nice thing for the locals.

In Argentina, you can have delays too, as in "there are no trains today".

The problem is, why bother with the "valley of regret" if somebody else can foot the bill? There is more supply of developers than demand, so companies can always ask for juniors with 5 years of experience.