News for hackers. Stuff that matters.

ozay

Re:Make Timelapse easily using FFmpeg on Sunday May 19, 2024 @03:35PM (#40409236)
I recently found LosslessCut (https://github.com/mifi/lossless-cut) that is basically a GUI for ffmpeg, you can make simple edits without re-encoding the stream.
Re:Git as a debugging tool on Saturday March 30, 2024 @05:23PM (#39878807)
git blame shows only who made the last change. Maybe that person only changed the name of a variable, applied a codestyle change, moved a function declaration to another file or many other things that the change was almost irrelevant to the code behavior.

There are a few options that help you out with this:

-M Detect moved or copied lines within a file

-C In addition to -M, detect lines moved or copied from other files that were modified in the same commit.

--ignore-rev <rev> Ignore changes made by the revision when assigning blame, as if the change never happened

--ignore-revs-file <file> Ignore revisions listed in file

https://git-scm.com/docs/git-blame

Re:“perpetual motion” device is clever [video] on Friday September 15, 2023 @03:08AM (#37519556)
That's him imitating another YouTuber who does this stupid face all the time.
They don't wear helmets because they aren't zooming around like Lance Armstrong. The risk of accidents with head injuries a helmet would help against is limited. Same thing why you don't wear a helmet when you go by car although an occupants risk of head injuries in a typical accident is comparable.
Re:Gödel, Escher, Bach: an in-depth explainer on Tuesday September 13, 2022 @06:02PM (#32830751)
Amphetamines aren't psychedelics. Like nicotine or caffeine they increase performance.
Re:Gödel, Escher, Bach: an in-depth explainer on Tuesday September 13, 2022 @05:53PM (#32830636)
He doesn't say it was written while high. He is wondering if H knew the effects of psychedelics and maybe tried to replicate the feeling in the reader.
Re:Byte Magazine: The C Programming Language (1983) on Friday September 09, 2022 @06:06PM (#32785467)
I was always fascinated by the BMW ads of the time: https://www.motortrend.com/news/bmw-1980s-ads-jeff-zwart-pho...
Did you mean uBlock?
> How does that happen?!

The guy who knows where it is stored, or who knows what is stored on "that hard drive", leaves the company.

Also look at Liebig's barrel (https://en.wikipedia.org/wiki/Liebig%27s_law_of_the_minimum#.... It was originally applied to plant growth, but it is a helpful metaphor for vitamin substitution.