News for hackers. Stuff that matters.

shikoba

> Of the top reasons people are happy at work, salary is way down on the list.

My gosh :face_palm:

Re:Log4j: The pain just keeps going on Thursday July 21, 2022 @06:32AM (#32177685)
You still don't know how to spot them :). The borrow checker is a great invention, but for them it's the holy grail that will save us from bugs. Like in the past people thought that GC was the solution to every problems. Youngsters must learn, we have to be patient.
Re:Log4j: The pain just keeps going on Wednesday July 20, 2022 @03:14PM (#32170765)
I was sure reading your first post that you will propose rust. Rust users never cease to amaze me.
Re:Log4j: The pain just keeps going on Wednesday July 20, 2022 @03:12PM (#32170736)
What? Are you crazy? Talking about security to developers! How dare you?
Re:Things I wish everyone knew about Git (Part II) on Wednesday July 20, 2022 @01:21PM (#32169054)
Thank you, I think I get your idea.
Re:Things I wish everyone knew about Git (Part II) on Wednesday July 20, 2022 @09:31AM (#32165539)
> write commit messages describing _why_.

Could you provide a concrete example? I don't understand your point.

Re:Things I wish everyone knew about Git (Part II) on Wednesday July 20, 2022 @08:12AM (#32164610)
It's a detail. But for some people it looks like it changes everything.
Ad soon as you bow to proprietary softwares you implicitly accept those kind of behaviors.
Re:Things I wish everyone knew about Git (Part II) on Wednesday July 20, 2022 @05:59AM (#32163521)
The idea of "merging into" has no meaning with git. You're merging two things into one. But saying that there are a master thing and a slave thing has no meanings.
Re:Things I wish everyone knew about Git (Part II) on Wednesday July 20, 2022 @05:18AM (#32163258)
You can't recover where your references were but all the objects (anything with a SHA1) are still there.
I have recently checked and it's absolutely legal to film someone in public. You're just not allowed to diffuse it.
Re:Statements vs. Expressions on Thursday July 14, 2022 @07:05AM (#32094373)
The answer to a question to be precise.
Re:Statements vs. Expressions on Thursday July 14, 2022 @07:05AM (#32094368)
In JavaScript no. But in some languages it can be.
Re:Bad UI is causing people to get scammed on Wednesday July 13, 2022 @08:50AM (#32081876)
Could you cite an example?
There is a rampant war against math. I don't know when it started, but it did. But what people ignore is that math is mandatory in hard science. So people thought that math was the obstacle put in their path just to block them. They asked to get rid of the obstacle, but they failed to understand that it was not there to block their path, it was mandatory.

Reality always win.

Re:As TikTok grows, so does suspicion on Monday July 11, 2022 @07:51AM (#32054886)
Economically speaking China is the enemy of occident, probably bigger than Russia.
Re:As TikTok grows, so does suspicion on Sunday July 10, 2022 @06:07PM (#32049579)
Why not do the same with other companies? Do you totally assume that it's just economic war?
Re:As TikTok grows, so does suspicion on Sunday July 10, 2022 @06:00PM (#32049530)
It is because China is the enemy. When it's Facebook or Google strangely it's never an issue. Moral is always a facade for international economic war. And some people fall for it.
> Until you close the app where you selected the text and now your clipboard is empty.

Ho, I used it for years, and you made me discover that strange property. Interesting.

> Or until you click somewhere, original app loses selection and your clipboard is now empty.

Yes, it's a very volatile clipboard, but if you expect your clipboard to have a lifespan greater than 5 seconds, you're probably doing something wrong.

It's a clipboard. I use mostly that one. It works everywhere.
Clipboard is already "synchronized" select a text somewhere, middle click somewhere else et voila.
Re:Bad UI is causing people to get scammed on Saturday July 09, 2022 @11:33AM (#32035987)
What is a LGBT-oriented business? LGBT is about sexuality, hence...
Re:Bad UI is causing people to get scammed on Saturday July 09, 2022 @05:03AM (#32033241)
Someone failed a whiteboard interview?
Re:Where to wait for an elevator (2010) on Wednesday July 06, 2022 @05:21PM (#32006970)
If you know about inertia, the grabiy center is where inertia is minimized. But it's just a way to rephrase it.
Re:Functional programming jargon in plain English on Wednesday July 06, 2022 @08:37AM (#31999919)
It's called math.
Re:What comes after Git on Wednesday July 06, 2022 @03:18AM (#31997811)
I don't understand your point. Mine was just that git could decide to store only snapshots, it would change nothing except for low level commands that deal directly with objects storage.
Re:What comes after Git on Wednesday July 06, 2022 @03:16AM (#31997792)
The issue is that the path you used to go from A to B is yours, one could use a totally different path. But what really matters is that your product is now in state B. That's what you ship, not the path.
Re:What comes after Git on Tuesday July 05, 2022 @09:55AM (#31988224)
> They may reach the same end state, but that doesn't make them the same operation.

So you're clinging to your mental model. Thanks for proving my point.

Re:What comes after Git on Tuesday July 05, 2022 @09:55AM (#31988219)
> but it actually also has diffs in pack files

Storage optimization, absolutely unrelated to the diff between two snapshots.

Re:What comes after Git on Tuesday July 05, 2022 @07:38AM (#31986986)
So if someone creates a new file and integrate the content of the old file to reach the same folder state than yours, you think s/he does something different?

Older »