1
0
submitted 22 hours ago* (last edited 22 hours ago) by bahmanm@lemmy.ml to c/programming@lemmy.ml

If there was one reason I liked coding in Java, it'd be AssertJ and its brilliant extensibility.

The image is an example of it from bjForth

The ability to create custom assertions makes the test code concise and read naturally.

2
1
submitted 2 weeks ago by JRepin@lemmy.ml to c/programming@lemmy.ml

The Open Source Initiative (OSI) released the RC1 (“Release Candidate 1” meaning: This thing is basically done and will be released as such unless something catastrophic happens) of the “Open Source AI Definition“.

Some people might wonder why that matters. Some people come up with a bit of writing on AI, what else is new? That’s basically LinkedIn’s whole existence currently. But the OSI has a very special role in the Open Source software ecosystem. Because Open Source isn’t just based on the fact whether you can see code but also about the License that code is covered under: You might get code that you can see but that you are not allowed to touch (think of the recent WinAmp release debate). The OSI basically took on the role of defining which of the different licenses that were being used all over the place actually are “Open Source” and which come with restrictions that undermine the idea.

This is very important: Picking a license is a political act with strong consequences. It can allow or forbid different modes of interaction with an object or might put certain requirements to the use.

3
1
4
1
5
1
submitted 3 weeks ago* (last edited 3 weeks ago) by dadarobot@lemmy.sdf.org to c/programming@lemmy.ml

I'm working on a python program, and i need to sync the results to an ipad as a todo list (with checkboxes)

I had been using google keep, and manually copying /pasting the data over from my cli based app.

I will be out of the country for 2 weeks, so im updating my software to no longer being cli, and ideally syncing the final list to google keep or something similar, since someone else will be running the software. You know how normies get when they see a terminal window...

I tried this googlekeepapi thing i found online, but the authentication was very complicated and i couldn't get it to work. There is no specific reason we need to use google keep, was just the first thing that came to mind when we set this system up, and it works well and is cloud based.

Do yall know of any service where i can programmatically generate checkbox lists, and sync them over the web?

I should note i do not have a server available to self host. I could potentially spin something up locally with a raspberry pi, but would prefer not to have another potential point of failure.

6
1
submitted 3 weeks ago by yogthos@lemmy.ml to c/programming@lemmy.ml
7
1
submitted 3 weeks ago by yogthos@lemmy.ml to c/programming@lemmy.ml
8
1
submitted 4 weeks ago by yogthos@lemmy.ml to c/programming@lemmy.ml
9
1

Hi! I'm having a bit of a struggle with VSCodium. I'm not sure what I did, but I can't access the liveserver in my browser, and the extensions won't load to download them. I keep getting "Error fetching extensions. Failed to fetch" So that's been frustrating. Are there any fixes? What's a good VSCodium alternative I could try?

10
1
submitted 1 month ago by JRepin@lemmy.ml to c/programming@lemmy.ml

OGRE has grown to become one of the most popular open-source graphics rendering engines. It’s been 2 years since 2.3.0 and almost a year since the last 2.3.x release. It’s about time for 3.0.0!

  • Ogre to OgreNext name migration
  • Dealing with ABI mismatches: AbiCookie
  • ABI Semver
  • Move to C++11 and general cleanup
11
1
submitted 1 month ago by JRepin@lemmy.ml to c/programming@lemmy.ml

The GNU Compiler Collection (GCC) support for the C23 programming language standard is now considered "essentially feature-complete" with GCC 15. As such they are preparing to enable the C23 language version (using the GNU23 dialect) by default for the C language version of GCC when not otherwise specified.

Preparations are now underway to set the default C language version of GCC to GNU23 as the GNU dialect of C23. Or in other words, implying -std=gnu23 when no other C standard is specified.

12
1
The C23 edition of Modern C (gustedt.wordpress.com)
submitted 1 month ago by JRepin@lemmy.ml to c/programming@lemmy.ml

This new edition has been the occasion to overhaul the presentation in many places, but its main purpose is the update to the new C standard, C23. The goal was to publish this new edition of Modern C at the same time as the new C standard goes through the procedure of ISO publication. The closest approximation of the contents of the new standard in a publicly available document can be found here. New releases of major compilers already implement most of the new features that it brings.

13
1
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml
14
1
submitted 1 month ago by JRepin@lemmy.ml to c/programming@lemmy.ml

This is a simple experimental Lisp compiler, written in uLisp, that will compile a Lisp function into RISC-V machine code. You can run the compiler on the RISC-V core of a Raspberry Pi Pico 2 (or another RP2350-based board)

15
1
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml
16
1
Qt 6.8 Released (www.qt.io)
submitted 1 month ago by JRepin@lemmy.ml to c/programming@lemmy.ml

We are thrilled to announce the release of Qt 6.8, packed with support for new desktop, mobile, and embedded platforms, hundreds of improvements, and exciting new features to boost your development experience and meet the needs of demanding applications.

For this release we have focused on improving and stabilizing existing functionality. With over 500 bug fixes and performance improvements since Qt 6.7, your existing code will run better without changing a single line. On macOS, Qt Quick applications now integrate with the native menu bar, and for a native Windows 11 look they can use the new Fluent style. Resizing Quick windows is snappier on macOS with Qt 6.8, and on Windows the application start-up time has been improved by changing the default font database to DirectWrite.

Several modules that were under technology preview have been completed: Qt Graphs, Qt HttpServer, and Qt GRPC are promoted to be fully supported from this release on. Thanks to the feedback from our users we were able to finish those modules with substantial improvements since their initial introduction as technology previews.

17
1
submitted 1 month ago by JRepin@lemmy.ml to c/programming@lemmy.ml

Recently I wondered what I get in term of C++ features for upgrading my system from version 13 to 14 of GCC...

Now, of course - a lot of bug fixes. Its surely a good idea to upgrade. But that doesn't answer my question. So a quick look at C++ compiler support showed that there is some interesting features, and mostly first C++26 support becoming available is one of them. Other features are more important to me though.

18
1
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml
19
1
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml
20
1
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml
21
1
submitted 1 month ago by JRepin@lemmy.ml to c/programming@lemmy.ml

Vulkan 1.3.296 is out as the first spec update in nearly one month. Given the time that has passed there are more bug fixes than usual but there is also a prominent new extension: VK_EXT_device_generated_commands. It has been worked on by Valve's Linux graphics driver developers along with engineers from Intel, AMD, NVIDIA, Collabora, and others. This new extension allows for the GPU device to generate a number of commands for command buffers.

22
1
submitted 2 months ago by ryujin470@fedia.io to c/programming@lemmy.ml

Is there a way to scale the Lightness in OKLab/OKLCH color space, so it becomes identical to lightness in CIELAB? I want use OKLab to create tonal palettes, that requires a change in lightness scale since OKLab's lightness scale perfoms poorly in this regard.

23
1

cross-posted from: https://lemmy.pierre-couy.fr/post/678825

Hi ! I've been working on this article for the past few days. It would mean a lot to me if you could provide some feedback.

It is about implementing a physico-chemical simulation as my first attempt to write a shader. The code is surprisingly simple and short (less than 100 lines). The "Prerequisite" and "Update rules" sections, however, may need some adjustments to make them clearer.

Thanks for reading

24
1
submitted 2 months ago by JRepin@lemmy.ml to c/programming@lemmy.ml

Two-dimensional vector graphics has been quite prevalent in recent Qt release notes, and it is something we have plans to continue exploring in the releases to come. This blog takes a look at some of the options you have, as a Qt developer.

In Qt 6.6 we added support for a new renderer in Qt Quick Shapes, making it possible to render smooth, anti-aliased curves without enabling multisampling. The renderer was generalized to also support text rendering in Qt 6.7, and, in the same release, Qt SVG was expanded to support a bunch of new features.

And there is no end in sight yet: In Qt 6.8 we are bringing even more vector graphics goodies to the Qt APIs. In this blog, I will share some details on the different ways vector graphics can be used in Qt, as well as the benefits and drawbacks of each.

25
1
submitted 2 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
view more: next ›

General Programming Discussion

7785 readers
1 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS