There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

tek ,
@tek@calckey.world avatar

Switzerland mandates all software developed for the government be open sourced

Switzerland mandates software source code disclosure for public sector: A legal milestone

https://joinup.ec.europa.eu/collection/open-source-observatory-osor/news/new-open-source-law-switzerland

@technology

Mubelotix ,
@Mubelotix@jlai.lu avatar

Public money, public code!

stormeuh ,

IMO this should be the case for everything developed using public money, looking at you, pharmaceutical companies…

Liz , (edited )

The issue becomes when things are developed with a mix of public and private money. I’m not saying we shouldn’t tackle the issue, only that it can’t be as simple as public money = public resource. If that were true, nearly all of us would be required to work for free, since we got the majority of our education through public funding.

Edit: It seems everyone ignored the generalization I was replying to. Yes, in terms of code it’s actually relatively easy to require that a publicity funded project be open source and leave it at that. The business can decide if they want to write everything from scratch to protect their IP or if they want to open up existing code as a part of fulfilling/winning the contact.

In terms of other partially government funded projects, like the pharmaceutical example given, it’s much more difficult to say how much of the process and result are thanks to public funding. That’s really the only point I was trying to make, that it can get very hard to draw the line. With code, it can be relatively easy.

MonkderDritte ,

There’s the difference between individual knowledge (company training) and code licenses though.

ipkpjersi ,

You can still pay people to write public code, though. Just because you can use it for free doesn’t mean it always has to be written for free. In some cases, sure, it can make more sense to have it for free if it’s a fully non-profit volunteer-run project, but that is not the only way to write open-source software. Talented developers are still talented, open-source or not.

nickhammes ,

I don’t think anyone intends public funds to be quite that sticky; public education is itself a public good, and having once attended a public school really has nothing to do with developing a product 20 years down the road.

Also, writing open source code can support a viable business. Not every example has been successful, and some have been sold to hypercapitalist owners who wanted to extract more profit, others have failed to keep up, but Canonical is doing alright with it, Red Hat did for a long time, among others. Plenty of bigger tech companies also employ people to write open source software, despite it not being the company’s main business, React, PyTorch, TensorFlow, and so many other projects. Those engineers definitely aren’t working for free.

logging_strict ,

govts print infinite money. All of us are working for free. Their fiat is credits for the company store.

If you think funding projects is bad then the response is to support lobbying project owners to put in malware until FOSS is publically funded.

All we have to do is verbally support it. And cheerlead when it occurs. We don’t actually have to actively do it. It’s a threat which is done in politics all the time.

calcopiritus ,

If governments could print infinite money they would just pay themselves an infinite salary.

Your fundamentals of economics is broken.

UltraGiGaGigantic ,

Maybe this lazy private money should get a real job if it wants to pay for things to profit off of.

Tja ,

But it will be written in Schwiizerdütch, so no one outside of Switzerland will understand it. I think it’s a dialect of Perl.

vk6flab ,
@vk6flab@lemmy.radio avatar

Your joke aside, which I thought was funny did remind me that as it happens, the Swiss do an amazing job in making things internationally accessible.

Take for example their spectrum management system that not only allows you to search for categories of users, handles kHz to MHz data entry, gives access to the legal provisions and then the legislation itself, does so in four languages.

www.ofcomnet.ch/#/fatTable

rottingleaf ,

They’ll do with Swiss dialect of Lisp with grüezi instead of define.

uis ,

This almost pleases RMS

CaptainBasculin ,

Hopefully more governments will follow this. At the very least, the taxpayer should have the right for whatever software’s source code that it funds development.

WhatAmLemmy ,

This is the way it should be. Governments around the world have spent decades enriching big tech with public money, when they could have pooled their resources and built FOSS software that benefited everyone.

Same goes for science and everything else funded by tax payers.

nerdschleife ,

Meanwhile my country’s apps don’t let you open them if you have Developer Options enabled on android :)

timewarp ,
@timewarp@lemmy.world avatar

And they’ll prob make it illegal for you to bypass and hide developer options because to them that means you’re hacking them.

balder1991 ,

Country: it’s illegal to have software development skills 🤡

WhatAmLemmy ,

Well, in the last few years there was that guy politicians labelled a criminal because he inspected a web page and disclosed multiple amateur vulnerabilities.

pineapplelover ,
Kushan ,
@Kushan@lemmy.world avatar

That’s fucking hilarious

FierySpectre ,

Same here, sure there’s hacks and workarounds that don’t require root… But still why the extra step…

I just want my window animation speed to be faster, why does that disqualify me from reading stuff sent to my government mailbox.

GregorTacTac ,
@GregorTacTac@lemm.ee avatar

Which country?

nerdschleife ,

India

bassomitron ,

This makes me curious in the US on whether or not government app source code would be provided via a FOIA request.

catloaf ,

Generally, works of the US government are public domain.

However, most apps are produced on contract with development companies, and I expect the contract specifies that the rights remain with the developer.

cybersandwich , (edited )

They explicitly do not, at least with every US federal contract I’ve ever seen. The govt owns the code that is written full stop.

bamboo ,

As someone who works with and knows several military contractors, I’ve never heard of the US taking ownership of any code written. In fact, most of what they’re paying for is for companies to extend software they’ve already written to better fit the governments use case, such that even if the government owned the new improvements, that code wouldn’t function without the base application that pre-dates a government contract.

cybersandwich , (edited )

It depends on the software and situation of course, but if you are paying a contractor to develop/write a solution for you aka “government built” then the contractor that writes the code owns 0 of that code. It’s as if it was written by Uncle Sam himself.

Now, if the government buys software (licenses), the companies will retain ownership of their code. So if Uncle Sam bought Service Now licenses, the US doesn’t “own” service now. If service now extended capability to support the govt, the US still doesn’t own the license or that code in most cases.

Sometimes the government will even pay for a company to extend its software and that company can then sell that feature elsewhere. The government doesn’t get any benefit beyond the capability they paid for–ie they don’t own that code. That can work to the governments benefit though, because it can be used as a price negotiation point. “we know you can sell this feature to 50 different agencies if you develop it for us, so we only want to pay 25% of what you priced it at”.

But like it said, if it’s a development contract and the contractors build an app for the government, all of the contracts I’ve ever seen, have Uncle Sam owning it all. The govt could open source it if they wanted and the contractor would have no say.

That’s what we call GOTS products [en.m.wikipedia.org/wiki/Government_off-the-shelf#…](https://en.m.wikipedia.org/wiki/Government_off-the-shelf#:~:text=Government%20off%2Dthe%2Dshelf%20(,for%20which%20it%20is%20created).

Vs COTS:

en.m.wikipedia.org/wiki/Commercial_off-the-shelf

With COTS, that’s where you’d see the ownership (depending on the contract/license agreement of course) remain with the vendor.

timewarp ,
@timewarp@lemmy.world avatar

You’d think so, but the answer is no. They’ve employed companies like Microsoft, Oracle, etc. to write up the security handbooks that says proprietary software is more secure. Heck, even electronic voting systems in the US is closed-source.

Geometrinen_Gepardi ,

Heck, even electronic voting systems in the US is closed-source.

How can elections even be trusted to be fair in that case?

timewarp ,
@timewarp@lemmy.world avatar

Simply, you can’t. I’m personally all for an open source alternative for electronic voting. I can bank online, but not vote online. I’d trust an open source online voting platform more than I’d trust poll workers to not skew some votes. I’d also like to be able to track my vote and ensure it was cast for the person I voted for.

iknowitwheniseeit ,

Banking is completely different from voting from a security point of view. None of the parties in a bank transaction are anonymous, and there are numerous ways to retry or roll back a transaction. Computerized voting is more like crypto currency. 😝

uis ,

Computerized voting is more like crypto currency. 😝

Like it, but worse

Fedizen ,

you can’t have secret ballot and have a secure, auditible online vote. One of the problems of social media is it has created enemy lists for authoritarian states.

milicent_bystandr ,

You kind of can. Depends how fully auditable you want, but you can have cryptographically anonymized entries, that (I believe?) could even allow the original voter to track their vote, without enabling anyone else to track the vote back to the voter.

It’s a different project, but GNU Taler have some interesting work on anonymized but not forgeable money transactions.

CapeWearingAeroplane ,

The issue with online voting, no matter what you do, is that someone can force you under threat of violence to vote for a specific candidate, and watch to make sure you do it. Complete privacy in the voting booth is paramount to ensuring that everyone can vote freely.

uis ,

Biggest vulnreability for online voting stands behind voter

NotMyOldRedditName ,

I think we’re well past the open/closed discussion when hackers have repeatedly shown how easy it is to compromise the voting machines.

We know they’re trash, it’s not theory.

uis ,

By claiming that everyone who do not trust is communist trumpist

satanmat ,

Short version: no

Long version: I’m pretty sure; no. I believe that; tools used like apps would not be subject to FOIA.

I deal with public records requests at work… email, documents etc. sure thing, but I’m pretty sure that the AG would laugh at you requesting the source code for apps we use.

—- I could only wish that we were mandated to use only open source software

Chee_Koala ,

Together monkey strong!!

TrickDacy ,

That’s fucking amazing

jabathekek ,
@jabathekek@sopuli.xyz avatar

I hope more governments do this, especially after how unsurprisingly shit (read: insecure) microsoft has become.

0x0 ,

Has become? When was it ever not?

TrickDacy ,

Yeah it’s always been shit but I do think they may have been referencing how the number of exploits and malware has only gotten worse over the years

jabathekek ,
@jabathekek@sopuli.xyz avatar

Specifically I was referencing the recent Russian cyberattack on US government servers that were/are run by microsoft. The flaw was known about for years but no one did anything about it because profit.

HEXN3T ,
@HEXN3T@lemmy.blahaj.zone avatar

Can’t wait for our US government to catch up never.

themurphy ,

They actively fight progress in some areas.

charonn0 ,
@charonn0@startrek.website avatar
jqubed ,
@jqubed@lemmy.world avatar

I’m curious if this also applies to military or intelligence software. I’m guessing at the very least software embedded in weapons systems is not included. If I understood the article correctly there were some exemptions for security reasons.

RobotToaster ,

Tangential, but there’s a long list of government github accounts here: government.github.com/community/

clot27 ,
@clot27@lemm.ee avatar

common switzerland W

grid11 ,

That’s disappointing, they should mandate obligatory WhatsApp use country wide.

angstylittlecatboy ,

please tell me this is a joke

darkmogool ,

you forgot the /s

1984 ,
@1984@lemmy.today avatar

I guess it’s not convenient to have Microsoft and Apple scan your company images and employee emails. Even take screenshots automatically if they can get away with it.

Appearently other countries are fine with this, which surprises me much more.

I guess the corpo version of windows have these sort of things turned off? But ms can turn them on whenever they want.

jol ,

This is specifically about software developer for the government. Microsoft office is then not included.

Fedizen ,

after the recent microsoft hacks this is probably a good call

vk6flab ,
@vk6flab@lemmy.radio avatar

Nothing “recent” about Microsoft hacks, it’s been happening for decades, the only difference is that the victim was you, now for a change, we have been made aware that Microsoft itself was hacked, but only because it impacted people outside Microsoft.

Microsoft was forced to reveal that it was hacked back in November 2023, and still hasn’t managed to prove that their systems are not still compromised today in July 2024. Just so we’re clear, their internal network was breached.

We also don’t know if it started in November, or if that’s just a convenient date because nobody externally has yet discovered evidence to show any different.

If the Lemmy repository was hacked and malicious code was added, people here would lose their shit. That’s what hit Microsoft and the fact that it’s only talked about in ICT professional circles is a good indication of just how bad this really is.

So, yeah, open source, open data, open governance, all of it.

Blackmist ,

I think that’s a good call.

If the people are paying for it through taxes, it shouldn’t be contracted out to some company who lock further development behind their continued involvement.

loics2 ,

Nice, so everyone will see the shitty code used by the administration

vk6flab ,
@vk6flab@lemmy.radio avatar

As opposed to what?

MonkderDritte ,

Good. Now try ODF, to have a choice aside from MS Office.

Randelung ,

Been contracting for the Swiss government for years, namely ASTRA. They have 0 concept of how that should happen. It’s their IP, but they don’t want to take it, host it, maintain it, or do anything else with it once the project is done.

Do they just expect others to foot the bill? Sure, free GitHub exists, but everything else? Open sourcing without maintenance is abandonware and usually useless.

vk6flab ,
@vk6flab@lemmy.radio avatar

In contrast, abandoned open source software can be picked up and updated by whomever gets paid to, where abandoned closed source software needs to be reimplemented from scratch at great expense to the tax payer.

Not only that, open source software can be adopted by the community (who already paid for the development through their taxes) for their own purposes. Consider for example the productivity impact on business that starts using tools that it cannot afford to develop itself.

Office things like document management, workflow management, accounting, but also tools used in the science community, transport and logistics, anything that government does is represented in some other way in society.

This is a big deal and I hope that it will reverberate across the globe and become the new normal.

Whilst we’re at it, consider the impact of open data, where government datasets are available to the community.

ulterno , (edited )
@ulterno@lemmy.kde.social avatar

Whilst we’re at it, consider the impact of open data, where government datasets are available to the community.

That sounds like it would be pretty useful to get better quality statistical research papers (well, I guess quality would depend more upon the researcher), doable by people without corporate backing.

Isn’t it already available in a lot of cases?

vk6flab ,
@vk6flab@lemmy.radio avatar

Here’s some of what’s happening in my country, Australia:

Not sure where Tasmania and the ACT are at, but those links are the federal and most state government data portals.

Behind that is much variety of data, from land use to baby names and everything in-between.

The Australian Bureau of Statistics has its own site:

vk6flab ,
@vk6flab@lemmy.radio avatar

Here’s Tasmania:

And here’s the ACT:

Dave ,
@Dave@lemmy.nz avatar

NZ as well: data.govt.nz

Though this it takes work for the different government departments to maintain. The team at data.govt.nz work with the different government departments to try to identify suitable data sources and get them into an update cycle, but there’s definitely not all data that can be released on there.

vk6flab ,
@vk6flab@lemmy.radio avatar

Yeah, same kind of process in Oz.

AFAIK, it was triggered by doing an annual event called GovHack where people were encouraged to create “hacks” with government data. It included software developers like me, data mentors from many different government departments, people with an interest and several departments with questions.

Dave ,
@Dave@lemmy.nz avatar

I think NZ’s is a similar story. GovHack is run in NZ as well, though I haven’t personally been involved in an event.

vk6flab ,
@vk6flab@lemmy.radio avatar

A decade ago I participated in three and won several awards but was disappointed with the government response to all our collective efforts and stopped participating.

Specifically “not invented here” was prevalent as a response to projects that represented hundreds of man-hours of effort.

It was demoralising to say the least.

I’m not sure what the missing ingredient was, but two of our projects were directly related to government effort in relation to public transport and public housing. Neither went anywhere despite face to face presentations to senior stakeholders in the relevant departments.

The third was a search engine with a completely different approach to that in use by the popular engines.

Dave ,
@Dave@lemmy.nz avatar

That sucks. What was the novel search engine approach?

vk6flab ,
@vk6flab@lemmy.radio avatar

Using the idea of six degrees of separation to get to any person on the planet, I came up with the idea to use a word cloud that would represent the top N words in all documents.

When you click on a word, (say “alpha”) the resulting word cloud would represent the top N words for all the documents with “alpha” in it.

As you click, bravo -> charlie, etc. the list of documents gets smaller and smaller, until just your required document remains.

This has several advantages, you don’t need to distinguish between words and numbers or need to “understand” the meaning of a word or interpret the user intent.

More importantly, the user doesn’t need to know the relevant words or vocabulary, since they’re all represented in the UI.

Enhancements include allowing for negative words, as-in, exclude documents with this word.

Dave ,
@Dave@lemmy.nz avatar

Ah that sounds really interesting! Does it scale OK? I guess you could index at a word level and filter quite quickly for quick searches, but it seems you’re going to have to store the full text of every website?

vk6flab ,
@vk6flab@lemmy.radio avatar

You store just the word count for each word on each URL.

The search is pretty trivial in database terms since you don’t need to do any wildcard or like matching.

Dave ,
@Dave@lemmy.nz avatar

Ah of course!

I guess one of the things the Google originally solved was that the internet if full of crap and not all sites should have equal weighing. With AI spam sites these days, you’d probably also need a method of weighting results?

vk6flab ,
@vk6flab@lemmy.radio avatar

We never got that far to test that kind of issue and while I’ve been reimplementing it locally to search through employment advertising, I’m not at a point where I’d be able to test such a thing.

The original implementation used a data store written by another team member and it made the original project much too complicated.

Today I’d likely use duckdb to implement it. My local version uses text files for a proof of concept implementation.

Dave ,
@Dave@lemmy.nz avatar

It sounds like a really cool project regardless!

kingorgg ,

UK too: data.gov.uk

Randelung ,

I’ll gladly upload my stuff into some repo they allow me to. I’ve inquired about it in the past - I wrote a piece of sw that fills a requirement hole left by a widely used SCADA tool - but they outright forbid it. That was about a year ago.

My point is less about open source and more about how they have no clue how to handle their IP even now. It’s a nice gesture at best (at least currently. Maybe there’s more on the way).

vk6flab ,
@vk6flab@lemmy.radio avatar

Who is “they” in your statement?

If it’s the company who is contracted by the government, it seems obvious (to me) that the requirements to make it open source provides the push to make it public.

If it’s the government, then I don’t understand your point.

uis ,

the Swiss government, namely ASTRA.

uis ,

Whilst we’re at it, consider the impact of open data, where government datasets are available to the community

imagines Moscow You still would need more trees and fix old rain drain system.

logging_strict ,

Step 1: all software has to be open source

Step 2: governments, required by law, to fund FOSS projects in their tech stacks. Helped by organizations which trace project funding and lobbying to promote FOSS security by providing funding; a huge incentive to not insert malware

Step 3: coders are afforded dignity (UBI); given funds geared towards affording a maintenance team. Regardless of country of origin. Vital infrastructure is vital infrastructure. Talent is talent.

I support this move to Step 1

Where is the list of pauper gov’ts which force talent to get a job rather than be a talent and then maintain their projects with dignity!

Those jobs are mostly nonsense. Geared towards wasting our time building:

  • yet another stupid web site
  • yet another stupid smartphone app
  • yet another stupid cloud base server instance
xilona ,

Yup and then they move the spyware/malware/etc into a layer below where nobody knows what is inside…

How is your baseband modem in your smartphone doing, by the way?

ozymandias117 ,

Separated over the PCIe bus with an IOMMU between it and system memory, as well as hardware switches to disable it if I’m not reachable

I haven’t found a way to remove it entirely. It’s the only option I’ve found so far, but if you know of a better designed option, I’m certainly interested

jaybone ,

Used to be Lufthansa gave you toblerone

afraid_of_zombies ,

I wonder how this will impact us infrastructure types. I am sure there must have been an exception to the rule at least once in my career but I can’t recall any, code I have made for all governments has been open source and if you lost it somehow I would just email it.

My only concern would be the systems that my code runs on top of won’t be willing to share. It is one thing to demand it from me, another to demand it from Siemens. Then you add in very low level code for individual devices such as VFDs

I guess the nightmare would be that PLC/DCS/VFD makers would basically be blacklisted and I would have to work around that fact.

AProfessional ,

My only concern would be the systems that my code runs on top of won’t be willing to share. It is one thing to demand it from me, another to demand it from Siemens. Then you add in very low level code for individual devices such as VFDs

It is about code they pay to create…

afraid_of_zombies ,

Hmm seems to be pretty easy to get around the rule.

VonCesaw ,

Open Source code for Science/Mathematics/Medicinal related fields 👍

Open Source code for Security/Social Media/Psychological related fields 👎

mariusafa ,

Security shouldn’t be based on ofuscation but on a good cryptographic algorithm concept.

VonCesaw ,

Remember when Apple was demanded to give their cryptographic key to the government to unlock “”“terrorists’ phones”“”

uis ,

Cryptography is in state of quantum uncertainty here

Beaver ,
@Beaver@lemmy.ca avatar

All governments should take notice

vga ,

That’s a very surprisingly amazing thing of them!

hubobes ,

I work for a company which creates software for the government. Super exited for more OSS projects.

dan ,
@dan@upvote.au avatar

the government.

The Swiss government? What’s it like?

gaael ,

It’s nice, although a bit cheesy ;)

hubobes ,

Yep, the swiss government. Complicated is probably the best word to describe it. We are a very decentralized country (which makes sense for a country that was founded as a coalition to fight the royals that oppressed its people, none of those partners want someone to rule them) so every canton (state) does a lot of things differently than the other ones. But it is nice to see that after years of neglect they try to actually push digitalization by establishing common standards and systems.

xilona ,

Can somebody explain me Proton in detail? 😉

uis ,

It is something that is not Electron

shasta ,

100% accurate!

hubobes ,

I would love to but the explanation is private.

Gemini24601 ,
@Gemini24601@lemmy.world avatar

Open source will always be the best option, especially with a government supporting it! Imagine what government funding could do to accelerate improvements to Linux

uis ,

Russia does some of it, probably most countries in EU and China do it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines