News for hackers. Stuff that matters.

amadvance

Re:Redis is open source again on Saturday May 03, 2025 @02:27PM (#43881045)
Still, it's strange to me that the GPL is considered OpenSource while the SSPL is not. When the GPL was first released, its requirement that all linked modules be GPL-licensed wasn't so different from what the SSPL enforces today at the network level. I see the SSPL as analogous to the GPL, and the AGPL as analogous to the LGPL, essentially relaxing the requirements either on linking (in the case of the LGPL versus GPL) or on network interactions (in the case of the AGPL versus SSPL)
Re:The slow evaporation of the free/open source surplus on Wednesday August 28, 2024 @12:23PM (#41381216)
The linked article says something different:

'We first estimate the supply-side value by calculating the cost to recreate the most widely used OSS once. We then calculate the demand-side value based on a replacement value for each firm that uses the software and would need to build it internally if OSS did not exist. We estimate the supply-side value of widely-used OSS is $4.15 billion, but that the demand-side value is much larger at $8.8 trillion.'

True, but I suppose this is at least partially compensated by the cost of such a 0-day. For sure, a 0-day on Chrome is a lot more expensive than one on Firefox
Re:Google Cuts Jobs in Engineering and Other Divisions on Thursday January 11, 2024 @08:31AM (#38951944)
Well, unions tend to average the outcome. But IT positions, being on the top side of the employee distribution, can typically obtain more.

I can give you a real-world example. Our company (Italy) office was relocated, and unions entered negotiations to obtain three days of remote work for the entire personnel. However, I and others refused to sign the agreement because, with more negotiation power, our target was full remote work. However, in doing so, we were undermining the union positions, which made them unhappy. Fortunately, things ended well; all personnel got the three days, and a few other people were granted full remote work.

> Why someone work with full time writing articles should give the work for free

OpenSource developers did that ;)

Re:Beej's Quick Guide to GDB (2009) on Monday November 06, 2023 @01:03AM (#38159387)
If you need something text based, cgdb is nice: http://cgdb.github.io/
Re:YouTube's Anti-Adblock and uBlock Origin on Monday October 30, 2023 @08:52AM (#38068857)
You're mixing up two different things. It's true that YouTube now places ads to small channels that have not reached the monetization requirements.

But after the channel satisfy such requirements, like 1000 subscribers, the creator gets control of the monetization and they can choose.

For any major channel you watch, it's the creator decision that you see ads or not.

Re:YouTube's Anti-Adblock and uBlock Origin on Monday October 30, 2023 @08:47AM (#38068806)
From what is written, they plan to reduce the control of where ads are placed, but still allow enabling or disabling them.

Anyway, at present it's possible to disable them if you have reached the monetization requirements on the channel, like 1000 subscribers and some amount of hours viewed.

Re:YouTube's Anti-Adblock and uBlock Origin on Monday October 30, 2023 @03:25AM (#38066566)
I'm also a heavy user of ad blockers, but there is something to be said in defense of YouTube.

Creators have the final decision on the ads shown. I have a YouTube channel, and I always disable monetization on all my videos, so no ads are ever shown on my channel.

If you see an ad, it's because the creator decided to include one. YouTube is simply the platform that enables this choice.

Re:YouTube's Anti-Adblock and uBlock Origin on Monday October 30, 2023 @03:18AM (#38066538)
> I will tell my computer to blank the screen and mute the audio when an ad is playing.

Indeed, but you'll still have to wait for the ad to play. YouTube can definitively win this race if they decide so.

Re:Static Analysis Tools for C on Thursday October 26, 2023 @08:33AM (#38024683)
The Clang static analyzer is integrated into the build pipeline. Any warnings will cause the build to fail. Additionally, build with the flags -Wall and -Werror. When testing, run with runtime checkers such as Valgrind and sanitizers.

Periodically, run other static analyzers like Klocwork and Coverity. They can catch many more issues than Clang. It's not that Clang is bad, but it has inherent limitations because it only analyzes a single source file and stops analysis when you call a function from another module

Re:FreeTube – The Private YouTube Client on Monday October 16, 2023 @08:10AM (#37898700)
You made me remember the scene from A Clockwork Orange where the main character is forced to watch television screens.
Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’? on Tuesday September 19, 2023 @10:37AM (#37570603)
Is fixed-point the right term ?

As far as I know fixed point numbers have a fixed fractional part in bits, but this is different from using integers with a multiplicative factor, like 100, to represent correctly a fractional part as 1/100.

The Internet Archive has all the ROMs you may ever need.
Re:I want XAES-256-GCM/11 on Friday July 07, 2023 @11:38AM (#36633381)
That will make AES-XGCM an immediate replacement of AES-GCM that already supports an arbitrary long nonce.
When you die, that notebook will be thrown away. archive.org will still be there.
Re:I want XAES-256-GCM/11 on Friday July 07, 2023 @08:29AM (#36630690)
Cool. If I can propose a little improvement, it would be nice to allow an arbitrary long nonce. Like, feeding the first 96 bits of the nonce into GCM, and the rest in CBC-MAC.
Re:I want XAES-256-GCM/11 on Friday July 07, 2023 @01:43AM (#36627670)
Looking at the implementation, the longer nonce is hashed to 128 bits, with the last 32 used as a starting counter. So, if you don't use the whole 32 bits space of the counter, you are effectively using more than 96 bits nonce.

Sure, no more than 128 bits, but indeed better than 96.

Re:Generating Income from Open Source on Friday June 16, 2023 @04:20AM (#36353186)
> Why would anybody pick the commercial one?

The OpenSource license is typically GPLv3 that imposes that your whole application has to be GPLv3. This is enough for corporations to avoid it.

Re:The Odd Appeal Of Absurdly Long YouTube Videos on Tuesday May 30, 2023 @02:50AM (#36121865)
2 hours and half of sweating in MTB. No ads. No talking.

https://www.youtube.com/watch?v=CrSsn1x_mmY

Re:Show HN: A little web server in C on Wednesday May 17, 2023 @02:32AM (#35971928)
Take care that select() is not good for a webserver. From manpage:

       WARNING: select() can monitor only file descriptors numbers that
       are less than FD_SETSIZE (1024)—an unreasonably low limit for
       many modern applications—and this limitation will not change.
       All modern applications should instead use poll(2) or epoll(7),
       which do not suffer this limitation.
I say the same thing to software architects who no longer write code. After some time, you start to lose your skills.
Kirk cheated in the Kobayashi Maru ;)
Re:The Early Days of Linux on Saturday April 15, 2023 @05:12PM (#35584568)
Same here. Started with Slackware 3.0 in 1995, the first one distributed in CDROM. Still on Slackware.
Re:Terence Tao on GPT-4 on Wednesday April 12, 2023 @09:44AM (#35539526)
Terence Tao doing a data entry job ? The Peter Principle strikes again!

https://en.wikipedia.org/wiki/Peter_principle

A good compromise to me looks like twenty years from the first publication.
Re:MutexProtected: A C++ Pattern for Easier Concurrency on Thursday April 06, 2023 @04:24AM (#35465740)
It's obviously subjective, but it looks like as any other indented block. Named "lock" and "unlock" operations are more explicit to me.

Another potential disadvantage, is that you lose the possibility to control the unlock order, when you have multiple nested locks.

Re:MutexProtected: A C++ Pattern for Easier Concurrency on Thursday April 06, 2023 @02:37AM (#35464972)
In truth, I prefer using explicit lock and unlock operations like in C programming. The visibility of these operations aids in understanding the interdependencies within the code.
Re:Italian Data Protection Authority Clamps Down ChatGPT on Friday March 31, 2023 @08:54AM (#35386397)
It's not extraterritorial. If an international company wants to sell goods or services in a country, it must abide by the country's laws.
In Italy, the retirement age was raised to 67 in 2011. However, in some cases, it is still possible to retire earlier, but the amount you receive will be proportionally adjusted based on your remaining life expectancy.

This change in retirement age only partially applies to those who started working before 1995. Therefore, it is still in a transition phase, and it will take some time before it takes full effect.

Older »