Not sure if this is the right community, but I didn't see a general one. What search engine do you use? Besides Google increasingly spying on its users, the quality of its search results seems to have gotten significantly worse over the last decade. What search engine(s) do you use?
In this letter, Dijkstra talks about readability and maintainability in a time where those topics were rarely talked about (1968). This letter was one of the main causes why modern programmers don't have to trouble themselves with goto statements. Older languages like Java and C# still have a (discouraged) goto statement,...
PDF magic… It has grainy text. But the selectable text and displayed text have a 1-character offset.
I assume they display the original scan so it definitely does not contain errors, while still providing the image-parsed text for searchability, indexability, and select-+copyability?
You know the state and progress of a program from the line you are on. A goto breaks that.
You can index the progress of a program through static line indexes and a dynamic loop index and function call stack. A goto breaks that. Including a "statements/lines since beginning of execution" is infeasible for understanding.
I think it's convoluted way to describe it. Very technically-practical. I agree it's probably because of historical context.
The argument I read out of it is that using goto breaks you being able to read and follow the code logic/run-logic. Which I agree with.
Functions are similar jumps, but with the inclusion of a call stack, you can traverse and follow them.
I think we could add a goto stack / include goto jumps in the call stack though? It's not named though, so the stack is an index you only understand when you look at the code lines and match goto targets.
I disagree with unit tests replacing readability. Being able to read and follow code is central to maintainability, to readability and debug-ability. Those are still central to development and maintenance even if you make use of unit tests.
So I've come to the point where I've wanted some to see some features on the software I regularly use and I feel confident enough that I can pull it off. However, once I start getting into it, it all becomes so overwhelming that it's hard to get anything done....
Thanks to the current SEO nightmare, I can no longer use search engines the same reliability as before. Stackoverflow is too toxic and often all I need is to properly look up some more obscure stuff about some API, which "could just be googled". AI, of course, is very unreliable....
Is your question whether you should worry? Whether you should link the source when you're illegally ignoring license terms? Or when you're following license terms?
I guess we do scaled trunk development, if you want to call it that. We do allow direct commits, for trivial or safe stuff where reviews would be more noise and hindrance than value. (Code formatting etc.)
We only have one current release version though. (And at times a current test version that deviates from it.)
If there's a need to create a patch release for a tagged version when the trunk proceeded forward with something that shall not be included, I create only a temporary branch from the earlier tagged commit to tag (=create) that patch release.
What are the release branches supposed to be in your graphs? It says developers don't commit. Then who does?
I feel like there are many devs out there who expose a lot of personal details and opinions all over the web. Maybe it's just me, but when starting out with the internet I tried my best to separate my personal details (name, age, sex, country, ethnicity, family ties, relationship status,...) from usernames in public....
The poster licensing to the platform is not the same as licensing to the public.
This instance programming.dev ToS declares:
2.2. By submitting, posting, or displaying user content on our services, you grant us a worldwide, non-exclusive, royalty-free license to use, reproduce, modify, adapt, publish, translate, distribute, and display such user content.
Distribution and displaying with attribution follows CC BY and SA. NC currently probably does - but may or may not (currently accepts donations).
The ToS only defines the license to distribute and display. It does not define how users and consumers of that distribution may or may not use the content.
So from this instance alone, there could be an argument of "the comment defines how it may be used".
But I'm not sure that holds given that federated distribution goes to other instances with different terms. For those that don't define how content may be consumed, it may be a reasonable argument. For those that define it in a conflicting manner, the ToS may override the content CC claim. Given the federated, distributed nature, given that you can reasonably expect such a conflict, there's a question of whether it holds in the first place if you can expect conflict invalidating it.
Either way, it's a convoluted mess, and incredibly noisy. Lemmy content has a language attribute. If there's a need for a license, it should be a metadata attribute in the same manner.
An employer is unlikely to waste time on deep candidate analysis. If they see you as a public code contributor, it's an upside in activity, experience, and conversation starter, and discussion points for any interviews. If they look at your code, it won't be deep. I doubt they would go through the effort of correlating from a public coder profile (e.g. on GitHub) to a Lemmy profile and then look at their posts.
Once they're at the point where that would be a reasonable investment, they already know you personally and don't care about online content anymore.
Maybe some big companies use online analysis tools though.
Anyway, I know what I'm worth as a developer/an employed. I don't think I post that kind of divisive or sensitive stuff that does or possibly should be related to my employment and work. If they see it as such, then I'm fine with it not being a match.
I actually think the public nature could and should be upsides. Related to work or not.
This might be an odd question to ask, but I want to be sure to understand it correctly. When I clone a project in Github that is licensed under GPL-3.0 license, am I allowed to delete bunch of files that I no longer need?...
Yes, the GPL allows you to make modifications. The GPL still applies.
The cloned repository still holds the history and deleted files. The files that are still there retain the GPL. If you make additions to the GPL sources, the GPL applies to those too. (Copyleft license.)
You can check the summary of GPL on ChooseALicense to understand your rights and conditions a bit better.
I have been learning C++/Elixir recently and I’ve made a distributed port scanner & and a streaming platform with Elixir (what an amazing language to work with) and some fun in C++ (also super cool to use)....
Let's say we don't care about the backendfrontend interconnection we see in most JS frameworks. We just want to program the backend. What would be the language of your choice?
They mention the Computer History Museum. The version control history would also be interesting, from a historic and software development industry history. Whatever they may or may not have used back then. Of course publishing that is likely much less viable and possible due to different concerns.
I’m not sure I understand what issue Linus et al. are trying to solve. If the full hash is used whenever a commit reference is saved somewhere, then why does it matter how core.abbrev is configured?
What are you referring to?
The article is about abbreviated forms, not full hashes. The Linus quote is specifically about abbreviation.
[Linus] He recommends kernel developers use 12 characters
For a large code base you can expect to further grow continuously for a long time, it makes sense to already use more than a minimum abbreviation so that you references remain unique, even if a decades time.
Configuring a wider and explicit abbreviation width that will remain constant is preferable because the displayed references are what you will copy and reference. It doesn't make sense to work with shorter abbreviations locally, but wider abbreviations when communicating with others. It'd be a hassle to translate and risky to miss doing.
I don't entirely subscribe to the first paragraph – I've never worked at a place so dear to me that spurred me to spend time thinking about its architecture (beyond the usual rants). Other than that, spot on
This description is so foreign to me. I guess you're talking about big [software] companies?
Nobody in my company, a software development company, measures by lines of code. We bring value through the software we develop and the collaborations we do.
By looking at commit velocity, issue counts, pull requests, and forks alongside stars, we can better understand a project's adoption and overall value.
I found this talk really helpful in understanding the broader context of open source's recent difficulties (see xz vulnerability, Redis license change, etc.)...
I had no idea experts exchange existed before stack overflow.
For me, it started showing up in web search results years after stack overflow became popular. And I was confused and annoyed why a copycat with pay walled features (even the answers IIRC) was given priority by search engines.
This is something I have thought a lot recently since I recently saw a project that absolute didn't care in the slightest about this and used many vendor specific features of MS SQL all over the place which had many advantages in terms of performance optimizations....
MariaDB is a fork of MySQL that keeps compatibility with its APIs. That's why the move was effortless for you. It's a simple drop-in replacement. Not because "many migrated at the same time". (Maybe you were referring to that, but it wasn't written like that.)
To clarify, I mean writing scripts that generate or modify classes for you instead of manually writing them every time, for example if you want to replace reflection with a ton of verbose repetitive code for performance reasons I guess?...
While it doesn't provide an SQL interface, I've been using Nushell as my shell, which has native data operations.
I tried querying the same, and I'm still not fluent (this was my third or fourth bigger/practical data querying), but it works well and fast too when you know the syntax:
http get https://api.github.com/orgs/golang/repos | each {|x| get license} | get key | group-by --to-table | update items {|x| $x.items | length }
I've used Nushell for reading en-mass json files, generating command json files for stuff saved in excel files (you can natively open those too), and most recently to query log files for specific information and usage analysis.
Haha, I tried querying in Nushell before reading this and I was sure there was a better way. And indeed there is (especially since I was missing uniq). I'm still learning the available operators, but I enjoy the shell a lot, as well as its promised capabilities.
Your description of JIT-learning sounded more like learn-only-on-the-job than JIT.
When you say "should have learned more upfront" I don't see how that would necessarily have to be outside or within the job. Where you learn it is open and arbitrary. For me, it's a question of what's reasonably necessary or efficient, does it make sense to explore more or prototype at work? Outside of that, I would have to have a personal interest in it to explore it in my private time just in time.
Usually, I learn upfront unspecific to concrete work. And that experience and knowledge come in handy at work.
When I'm on the job I work on and learn what is necessary to the degree it makes sense. I prefer to fully understand, but sometimes that's not possible or reasonably, acceptably efficient. Then you can weigh risk vs cost and prospect. There's no way around weighing that each time and individually. Development, in/as general, is too varied to have one arbitrary supposed weighing to follow.
I want to create an AppImage of my Python software and distribute it this way. The script will be compiled with Nuitka to include Python and Standard Library functionality. In the AppImage I want to bundle it with other Libre software, but in binary format downloaded from Arch package repos, as my script depends on them. My...
That depends on the licenses. Saying they're libre is a classification, not specific.
Note also that source code may be licensed differently from binaries, assets/resources, etc.
Check the license of what you're obtaining and bundling specifically. To get an overview of licenses and their permissions and requirements, see https://choosealicense.com/
This article is much the same if we replace “Discord” with “GitHub”, for instance, or “Twitter” or “YouTube”.
There is a fundamental difference between what they listed as one though: GitHub and YouTube are open to read and access and download and clone. Discord and Twitter are not.
I have much more of an issue with Discord than I have with GitHub or YouTube. Both GitHub and YouTube have free access, and host the largest part of the relevant userbase (synergy effect of having an account).
It's certainly worth discussing in project teams, but personally, I'd never leave GitHub in the current ecosystem for a niche product or platform - if I want contributors and collaborators or visibility. The vast majority of users already know GitHub and most accounts are on GitHub. That can't be said for niche platforms or self-hosted alternatives, which introduce barriers.
Before GitHub Sourceforge was somewhat similar. It was a proprietary but open platform. In a project I participated in (Mumble) it was reasonable enough (no more complicated than between any other platforms) to make the switch to GitHub. I see todays GitHub the same way. As long as it remains so primary prevalent and open to free access it's good enough, and when it goes downhill it's easy enough to switch away to a better alternative.
I'm still fond of alternative FOSS platforms, that they exist and evolve, and maybe easier account creation, synchronization, or federation will make them real alternatives. But for now, they are niche. Which of course doesn't mean niche is unviable or an alternative. But even as an invested and interested FOSS developer, user, and collaborator they're barriers to me. Which makes it obvious to me it's even moreso for less invested people.
January 2023, Futurism brought widespread attention to the issue and discovered that the articles were full of plagiarism and mistakes. […] After the revelation, CNET management paused the experiment, but the reputational damage had already been done.
So the "AI experiment" is not active anymore. But the damage is already done.
It was also new to me that Wikipedia puts time-based reliability qualifiers on sources. It makes sense of course. And this example shows how a source can be good and reliable in the past, but not anymore - and differentiating that is important and necessary.
“It is with a heavy heart that I'm writing today to inform you that the Board of Directors of the Open Collective Foundation (OCF) has made the difficult decision to dissolve OCF, effective December 31, 2024”....
We are beginning a staged dissolution process that will allow our over 600 collectives the time to close or transition their work. Dissolving OCF will take many months, and involves settling all liabilities while spending down all funds in a legally compliant manner.
And it's not sustainable?
Open collective always looked successful, popular, sustainable, professional.
Really unfortunate for those 600. March 15 is very short term.
March 15 is the last day to accept donations. You will have until September 30 to work with us to develop and implement a plan to spend down the money in your fund.
What search engine do you use?
Not sure if this is the right community, but I didn't see a general one. What search engine do you use? Besides Google increasingly spying on its users, the quality of its search results seems to have gotten significantly worse over the last decade. What search engine(s) do you use?
[History] An editor letter by Edsger Dijkstra, titled: "go to statements considered harmful" (march 1968). ( dl.acm.org )
In this letter, Dijkstra talks about readability and maintainability in a time where those topics were rarely talked about (1968). This letter was one of the main causes why modern programmers don't have to trouble themselves with goto statements. Older languages like Java and C# still have a (discouraged) goto statement,...
The stolen valor of terminal emulators! (+ Can you recommend some good ones for GNOME?)
Have you noticed there are some shameless thefts, basically clones, in the world of terminal emulators? At least the ones for GNOME?...
Mind-bending new programming language for GPUs just dropped... - Code Report ( youtube.com )
https://github.com/HigherOrderCO/Bend...
How to conduct a software audit?
I need to help auditing a project from another team....
How do you contribute to OSS?
So I've come to the point where I've wanted some to see some features on the software I regularly use and I feel confident enough that I can pull it off. However, once I start getting into it, it all becomes so overwhelming that it's hard to get anything done....
Should I worry about referencing other people's code?
Thanks to the current SEO nightmare, I can no longer use search engines the same reliability as before. Stackoverflow is too toxic and often all I need is to properly look up some more obscure stuff about some API, which "could just be googled". AI, of course, is very unreliable....
Does anybody actually use trunk based development in their company? ( trunkbaseddevelopment.com )
I've heard it thrown around in professional circles and how everybody's doing it wrong, so.. who actually does use it?...
Public personal dev accounts: opinions?
I feel like there are many devs out there who expose a lot of personal details and opinions all over the web. Maybe it's just me, but when starting out with the internet I tried my best to separate my personal details (name, age, sex, country, ethnicity, family ties, relationship status,...) from usernames in public....
Question about GPL-3 and deleting files from a Github project
This might be an odd question to ask, but I want to be sure to understand it correctly. When I clone a project in Github that is licensed under GPL-3.0 license, am I allowed to delete bunch of files that I no longer need?...
Maximum-severity GitLab flaw allowing account hijacking under active exploitation ( arstechnica.com )
How do you find projects to work on when learning a new language?
I have been learning C++/Elixir recently and I’ve made a distributed port scanner & and a streaming platform with Elixir (what an amazing language to work with) and some fun in C++ (also super cool to use)....
If you were to create a Fediverse server, with frontend being plan simple HTML only, what programming language and stack would you choose?
Let's say we don't care about the backendfrontend interconnection we see in most JS frameworks. We just want to program the backend. What would be the language of your choice?
Open sourcing MS-DOS 4.0 ( cloudblogs.microsoft.com )
How short can Git abbreviate? ( blog.cuviper.com )
I love programming but I hate the programming industry ( www.deathbyabstraction.com )
I don't entirely subscribe to the first paragraph – I've never worked at a place so dear to me that spurred me to spend time thinking about its architecture (beyond the usual rants). Other than that, spot on
Article argues that git is intrinsically confusing--if you could redesign git from scratch, what would you change? ( dl.acm.org )
Is there a way to manage your presence over many forges?
I'm still learning. I have a github account, many gitlab accounts, a gitlab.com account and my own forgejo....
Growth Hacking Killed GitHub Stars ( dev.to )
Open-Source Exploitation - David Whitney - NDC London 2024 ( youtu.be )
I found this talk really helpful in understanding the broader context of open source's recent difficulties (see xz vulnerability, Redis license change, etc.)...
How Stack Overflow replaced Experts Exchange ( graphite.dev )
Genuine Question - have you migrated DBMS on a Production System which wouldn't have been possible with vendor lock-in on the backend?
This is something I have thought a lot recently since I recently saw a project that absolute didn't care in the slightest about this and used many vendor specific features of MS SQL all over the place which had many advantages in terms of performance optimizations....
10 Years of Git: An Interview with Git Creator Linus Torvalds [2015] ( www.linuxfoundation.org )
What's your preferred code generation tool in 2024?
To clarify, I mean writing scripts that generate or modify classes for you instead of manually writing them every time, for example if you want to replace reflection with a ton of verbose repetitive code for performance reasons I guess?...
DuckDB as the New jq ( www.pgrs.net )
Introducing .NET Smart Components - AI-powered UI controls - .NET Blog ( devblogs.microsoft.com )
UI Components: Smart Paste, Smart TextArea, Smart ComboBox...
Do you follow Just-in-Time Learning?
I have about 2 YoE, and I'm sure this changes with more experience....
Linux and Winforms
Hi Lemmings, I wondered if anyone had successfully created a C# project that uses winforms on linux....
Got any good open source Android games?
Most mobile games nowadays seem to be crap. Got any good mobile games that are open source and fun to play (for more than a few days)?
AppImage creation with inclusion of third party binary apps - how to deal with Free and Open Source?
I want to create an AppImage of my Python software and distribute it this way. The script will be compiled with Nuitka to include Python and Standard Library functionality. In the AppImage I want to bundle it with other Libre software, but in binary format downloaded from Arch package repos, as my script depends on them. My...
Opus 1.5 Released - achieves audible, non-stuttering talk at 90% packet loss ( opus-codec.org )
There's a lot, and specifically a lot of machine learning talk and features in the 1.5 release of Opus - the free and open audio codec....
Please don't use Discord for FOSS projects ( drewdevault.com )
AI-generated articles prompt Wikipedia to downgrade CNET’s reliability rating ( arstechnica.com )
Open Collective shutting down at the end of 2024 year?
“It is with a heavy heart that I'm writing today to inform you that the Board of Directors of the Open Collective Foundation (OCF) has made the difficult decision to dissolve OCF, effective December 31, 2024”....