News for hackers. Stuff that matters.

jahav

There is the "standard" [ISO-29500], there are patch notes [MS-OI29500] for the standard and there are Excel only extensions [MS-XLSX].

As someone who develops a library for xlsx, you have to check all three, as well as spend some time experimenting with various changes to xlsx. Patch notes are generally regulary updated with valuable information (when MS is asked a question it often is incorporated there). Standard is full of inaccuracies and is mostly primer. Some essential info misses from all and it's described as "implementation spexific", e.g. text to number conversation in formulas.

Excel has gotten better over the years, so it is mostly in line with standard.

Re:EU Cyber Resilience Act: What does it mean for open source? on Saturday December 30, 2023 @04:18PM (#38819266)
https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=CONS...

Important bits (10c and around):

* Libraries/non-end products are fine, unless monetized.

* Employee contributions seem to be fine.

* Foundations seem to be fine.

* Non-core developers are fine

Seems like significantly better version.

Re:Open source liability is coming on Friday December 29, 2023 @08:24PM (#38812073)
That is already part of CRA:

> It is of particular importance for manufacturers to ensure that their products do not contain vulnerable components developed by third parties.

> Manufacturers shall, upon identifying a vulnerability in a component, including in an open source component, which is integrated in the product with digital elements, report the vulnerability to the person or entity maintaining the component.

EDIT: Also, I concur the poster below. It's developers who oppose against management to allocate time for bugs and technical debt instead of new features.

Re:Open source liability is coming on Friday December 29, 2023 @07:55PM (#38811915)
It's called tidelift.com
Re:Debian Statement on the Cyber Resilience Act on Wednesday December 27, 2023 @10:10PM (#38789565)
First, I like how you included “popular” adjective. That alone disqualifies 99% of projects. These are the projects “hacked” by non-paid devs.

Second, some proof would be nice. I live in .net/nugget ecosystem and other than libraries backed by MS, most popular projects are not (at least ones I know of).

Re:Debian Statement on the Cyber Resilience Act on Wednesday December 27, 2023 @09:39PM (#38789378)
That is one of them, here is the second version with different amendedments by European Council: https://data.consilium.europa.eu/doc/document/ST-11726-2023-...

They are now hashing out a final consolidated version in a trialogue.

Re:Debian Statement on the Cyber Resilience Act on Wednesday December 27, 2023 @08:49PM (#38789057)
TBF there is a lot of things “free of charge” connected to commercial activity, e.g. Android, .NET Core, MongoDb, ElasticSearch, even RedHat with Linux …

I understand need to somehow include them, but the line should be at the for-profit companies and exclude non profits and individual developers.

How to formulate it without easy loopholes is no easy task.

Re:Debian Statement on the Cyber Resilience Act on Wednesday December 27, 2023 @08:33PM (#38788957)
You are asking how requiring open source with no money to satisfy plethora of regulations along with legal liability (I.e. making it a commercial grade) makes it less likely for open source be made?

Ask log4j or OpenSSL.

Go read this: https://blogs.eclipse.org/post/mike-milinkovich/european-cyb...

Re:Debian Statement on the Cyber Resilience Act on Wednesday December 27, 2023 @08:19PM (#38788883)
There is some hope for individual developers in EP amended version https://www.europarl.europa.eu/meetdocs/2014_2019/plmrep/COM... article 10c: > Developers contributing individually to free and open-source projects should not be subject to obligations pursuant to this Regulation.

Actually it’s an improved version. Hopefully it will make it through consolidation with EC version.

Re:Debian Statement on the Cyber Resilience Act on Wednesday December 27, 2023 @08:12PM (#38788831)
> it’s called professional accountability

Professional does for money, by definition. That doesn’t apply for most open source. RedHat employee contributing to Linux kernel is an exception, not a rule.

Re:Debian Statement on the Cyber Resilience Act on Wednesday December 27, 2023 @07:49PM (#38788697)
To put it bluntly, it means a significant risk when creating any open source project. It’s a common knowledge that there is no money in open source, but suddenly I am liable. Half of open source licenses is disclaimer of liability. Also a lot of other yet to be defined requirements (harmonised regulations it is called I believe).

Linux, World Wide Web… not worth the risk.

So I am making something in my free time, as a hobby, no monetary gain and suddenly I can easily get sued to oblivion. I need to at least buy insurance. My library is used left and right in commercial activity.

The impact assessment for CRA is a total lie. It assumes 100% decrease in cyber damages and laughably low compliance cost and very small amount of impacted entities (only companies, not individuals and each company makes one product).

TBF, version amended by EP explicitly excludes individual developers, hopefully it makes it through trialogue.

Edit: basically imagine authors of log4j. Remember that security flaw that impacted half the internet? That is what’s called liability. Did they use ‘ apply effective and regular tests and reviews of the security of the product with digital elements;’? Better make it industrial grade product, with no money, in their free time.

Re:After Eating, Software Will Bite the World on Sunday November 26, 2023 @07:36AM (#38421148)
1. Reproduction is already heavily subsidized in many countries, be it direct grants, tax breats and so on. This is nothing new.

2. Most people actually want children. Getting someone to actually procreate with that will share burden.

3. Investing in children should hel to fund future pension payments. There is pretty good case for self-interest.

4. China won't care, neither will Russia or other parts of world.

5. Countries that will do that will have a better outcome than countries full of retirees. Unless AI takes over, natural selection will take care of rest

Re:After Eating, Software Will Bite the World on Sunday November 26, 2023 @06:51AM (#38420927)
That assumes that new humans can be only by women.

There is no reason, why artificial womb, possibly with multiple selection box for genes, is not a very realistic possibility, along with state funded child rearing services. (see Norway)

Re:Firefox Development Is Moving from Mercurial to Git on Tuesday November 07, 2023 @03:31AM (#38174520)
Maybe, but normal developer interracts with sane parts.

Honestly, the biggest problem with git is sane environment for merge conflicts and that is out of scope of git CLI. In most cases, imposing rule for small PRs/feature branches will solve it.

git add, git commit, git log, git blame, git push, git rebase -i --onto. That is 95+% of what developers use (maybe an option here or there, like -m or --amend). Merges are done on CI after it passes.

There are a lot of arcane parts and switches. git-send-email is likely used a lot on kernel development, but very rarely in the rest of the world.

> I've got 10 years in it and it still bites me in the ass.

Can you give some examples? I had some problems in the beginnings, but it was because i tried to be "smart".

After I embraced KISS, everything works nicely. As long as I keep "public" branches protected, any splash zone is very small and at worst, just redo it(synergy with small PRs).

Re:Firefox Development Is Moving from Mercurial to Git on Monday November 06, 2023 @04:56AM (#38160586)
MS stores windows codebase in a single repo (https://devblogs.microsoft.com/bharry/the-largest-git-repo-o...). 300GB.

I don't really see a benefit of having all code of an org in a single repo. Single product, sure. But whole company? Why. Not to mention, these are serious outliers.

From security standpoint, it doesn't seem great, from practical side, it's not great (bandwidth cost ect).

Re:YouTube's Ad Blocker Crackdown Spurs Record Uninstalls on Friday November 03, 2023 @10:43AM (#38129574)
Rather surprising that they don't offer sign up with Facebook/Google.

I know, i know, but that's pretty big speed bump in the onboarding process.

Re:Google apparently backs off on WEI on Thursday November 02, 2023 @05:26PM (#38120396)
Probably, but I will take this victory. Google has power to make this happen.
Because they are collecting a shitload of data about me to make them work.

It's like a little camera accompanying you everywhere and you don't get to say no and it's used for anything they can get away with.

Re:macOS Sonoma Broke Grep on Thursday November 02, 2023 @05:44AM (#38111084)
Maybe when uutils ship their gnu compatible version(deviations from GNU are considered bugs), macos will update.

MIT, Rust, active development... Maybe in few years.

Re:Last Chance to Fix eIDAS (Mozilla) on Thursday November 02, 2023 @05:35AM (#38111015)
I suspect such versions won't comply with Cyber Resilience Act (=company would be on hook for a fine). Browsers are in category 2 iirc.

Edit: rest of world might be fine(big maybe, these things have tendency to proliferate),eu citizens... screws are tightening.

Re:When XML in Word Became Illegal on Thursday October 12, 2023 @01:04PM (#37859895)
You can try to patent anything, but patent might not be accepted.

The thing is that patent office is funded by patent fees, so there is an incentive to accept the patent plus they are often hard to read.

Re:When XML in Word Became Illegal on Thursday October 12, 2023 @12:47PM (#37859641)
It's also country specific.

I work on Excel library and the text to number/date feature was one of less fun things to implement at least semi-correctly.

I remember my comment on the PR back then:

https://github.com/ClosedXML/ClosedXML/pull/1899

Re:EU tells Apple to open everything up to its rivals on Tuesday September 26, 2023 @11:45PM (#37669781)
Huawei and HarmonyOS? I know, rather unpopular ouside of China.
Re:Intel’s Ponte Vecchio: Chiplets Gone Crazy on Monday September 25, 2023 @05:07PM (#37650637)
Sure, but position of Intel back then was very different than today.

Being dethroned and free cash flow negative is rather bad I am told.

> For example you can get Chrome-style updates where Windows will keep the app fresh in the background even if it's not running

Considering the ability to update itself is a requirement of Cyber Resilience Act in EU, I foresee a big uptick in usage (and app stores usage of course).

Re:Total Commander on Friday September 01, 2023 @05:09AM (#37348432)
Check out the full changes file, it has dates of changes:

https://www.ghisler.com/history1100.txt

Even after 30 years there are still things to fix pretty much every day. Maintenance is really endless task

Re:Total Commander on Friday September 01, 2023 @04:45AM (#37348285)
Two panels + fast keyboard navigation across directories is big for me. I like the overview, speed and simplicity. File Explorer is just ... nope.

I am sure there are other programs, like Double Commander or maybe Salamander Commander if it still exists, but this is what I settled on.

My most used features are:

Archives:

* Comparison of files in Zip file/directories, just go to the zip file and do synchronize directory to see differences

* Edit file and save it to zip after modification - no need to copy to temp location, it does it for you

* Pack/unpack are common

Lister

* Easy switch from hexa to text, fast, lightweight.

* Checksums - create and verify

Re:EU’s War on Behavioral Advertising on Saturday August 26, 2023 @04:52AM (#37270913)
Spoken like a person who never even touched it even on a small project.

No cookies... so no language preferences. That is a profile cookie.

Right to erasure. What about invoices and orders? When can it be anonymous and when is it old enough to anonymize.

Do I get away with replacing personal data random data? Do I replace references to real people with 'anonymous person'? Will my sql constraints still work?

When I restore data from backup and someone has been anonymized in the meantime, what mechanism will be used to anonymize the user after restore?

Right to data portability. How much of the database and in what format?

Re:JPEG XL: How It Started, How It’s Going on Thursday July 20, 2023 @12:36PM (#36803059)
> MozJPEG is a patch for libjpeg-turbo. Please send pull requests to libjpeg-turbo if the changes aren't specific to newly-added MozJPEG-only compression code.

https://github.com/mozilla/mozjpeg#mozilla-jpeg-encoder-proj...

Re:Using XPath in 2023 on Monday July 17, 2023 @05:01AM (#36755718)
The worst thing is not the existence of namespaces, but that are are relatively often implemented incorrectly.

As an example of things that sometimes break:

* namespace redefinition: you have xmlns:ns1 on a parent node and xmlns:ns1 with different value on a child node.

* same namespace on sibling nodes (happens often with streaming): multiple child nodes have a xmls:ns1 with some value. That is only valid for that node.

* some processors expect namespaces only on a specific node (I think it was MS Navision ~ decade ago that failed when declaration wasn't on a specific node, but on a child node)

Older »