Programming

This magazine is not receiving updates (last activity 3 day(s) ago). Subscribe to start receiving updates.

rutrum , in i built a compression lib in cpp
@rutrum@lm.paradisus.day avatar

This guy develops on windows

Potatos_are_not_friends , in Oracle Java police start knocking on Fortune 200's doors for first time

Lol brb gonna share this with the CFO and watch them go into a panic. Going to bet they'll freak out and by the end of 2024, no more Java for us.

This is the golden ticket I've been waiting for.

kameecoding ,

You will just switch to one of the openjdk implementations

firelizzard ,
@firelizzard@programming.dev avatar

Obviously OpenJDK is superior to dealing with Oracle's bull. But even more superior (IMO) is simply not using Java. My life has been noticeably more pleasant since I started refusing to touch Java.

4am , in Oracle Java police start knocking on Fortune 200's doors for first time

One Rich Asshole Called Larry Ellison

Corbin ,

Oracle Ruined America's Cup (Larry Ellison)

Kissaki , in Study finds 268% higher failure rates for Agile software projects

In highlighting the need to understand the requirements before development begins, the research charts a path between Agile purists and Waterfall advocates. ®

Random trademark symbol. What's the registered trademark here? The dot? "advocates"?

samc ,
@samc@feddit.uk avatar

Its just the symbol The Register uses at the end of an article. Like how some papers use a filled in square.

rutrum , in Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive | Codec Wiki
@rutrum@lm.paradisus.day avatar

Thanks for sharing this codec wiki. Looks like an incredible project.

rutrum , in Mind-bending new programming language for GPUs just dropped... - Code Report
@rutrum@lm.paradisus.day avatar

Futhark is another language with the same goals, executed differently.

recursive_recursion , in Question about GPL-3 and deleting files from a Github project
@recursive_recursion@programming.dev avatar

yes deleting files wouldn't violate GPL-3.0 to the best of my knowledge as those files would still be under the GPL license,

  • it's just that you wouldn't be using them

if anyone wanted to use a file licensed under any of GPL licenses the user would be required to license any modified or redistibuted files under the same license ("or later") as to not violate the copyleft terms

NekkoDroid ,
@NekkoDroid@programming.dev avatar

Just a minor clarification/correction: the "or later" part also depends on the license per se. There is a GPL-3.0-only and a GPL-3.0-or-later. Usually you'll find something like "or at your option any later version." if that is the case, but by default you should expect the GPL-3.0-only to apply.

SplashJackson , in What Programming Languages Do You Wish Were More Popular?

AutoHotkey

blackbirdbiryani ,

Autohotkey is the most arcane fucking language I've used, idk why someone hasn't rewritten it in something clearer.

mvirts , in Don't require people to change 'source code' to configure your programs

Yes. This is why conda and nix are complicated.

Vilian , in "BatBadBut" Vulnerability Discovered in Rust Standard Library on Windows - Cyber Kendra

it's a windows vulnerability not rust, haskell also send a patch to fix it

Deebster ,
@Deebster@programming.dev avatar

I'd say it's more like it demonstrates how quirky the requirements are that Haskell also failed to get it right. The error and the fix are both in Rust code.

arendjr ,

It’s a bit arguing about semantics really. But Rust and Haskell are merely the first ones with patches out. The issue affects other languages as well, including Java, Node.js, Python and seemingly every language with Windows support. I think it’s fair to call it a Windows problem, since it affects everyone there.

But languages like Rust and Haskell are promising their users that they are protected from this kind of behavior, which is why they want to patch it quickly. Some of the others merely updated the documentation, effectively saying yeah it’s a risk. Java went as far as saying they won’t fix the issue.

Kolanaki , in Don't require people to change 'source code' to configure your programs
@Kolanaki@yiffit.net avatar

As a gamer, I couldn't agree more. Put all the video and audio settings in the options menu; especially if they are things easily changed by editing an .ini file in the install directory. I'm also big on having modding tools like the Creation Kit for modifying the game without having to edit code or use command line conversion tools. It's just a massive time-saver.

FalseMyrmidon ,

This wouldn't apply to that criticism. An ini is a configuration file, not really source code.

TrickDacy ,

...which is why they're agreeing with op and simply adding an example to illustrate why

Sneptaur , in Microsoft opens a "high priority" bug ticket in ffmpeg, attempting to leech the free labour of the maintainers
@Sneptaur@pawb.social avatar

11 months ago

Sibbo OP ,
@Sibbo@sopuli.xyz avatar

The tweet is from today. The ffmpeg team felt like it needed to be said.

Sneptaur ,
@Sneptaur@pawb.social avatar

Thanks for additional context. I don't open Twitter links anymore because 3/4 of the time the link doesn't work after Musk made changes

breadsmasher , in Is TypeScript a fad or is my manager delusional?
@breadsmasher@lemmy.world avatar

Based solely on gut feel, I think Typescript will become less popular as Wasm grows

tias ,

When will Wasm grow, according to your gut? I feel like I've been waiting for a decade now.

friend_of_satan ,

WASM made huge strides last year. You can run entire operating systems inside a WASM hypervisor now, and lots of packaging and transpiling projects came of age last year.

Example: https://copy.sh/v86/?profile=windows98

TheOctonaut , in File over App Philosophy

"Philosophy" seems a bit grand for something that could be better described as a "tip".

abhibeckert ,

No it really is a philosophy.

There's a vast difference in approach between software that uses documents and software that uses a database. A document based approach tends to result in work that lasts a long time. A database approach tends to have more features.

It's tempting to chase those features, but in my opinion it's a mistake.

fubo , in White House: Future Software Should Be Memory Safe

Rust does memory-safety in the most manual way possible, by requiring the programmer prove to the compiler that the code is memory-safe. This allows memory-safety with no runtime overhead, but makes the language comparatively difficult to learn and use.

Garbage-collected compiled languages — including Java, Go, Kotlin, Haskell, or Common Lisp — can provide memory-safety while putting the extra work on the runtime rather than on the programmer. This can impose a small performance penalty but typically makes for a language that's much easier on the programmer.

And, of course, in many cases the raw performance of a native-code compiled language is not necessary, and a bytecode interpreter like Python is just fine.

SorteKanin ,
@SorteKanin@feddit.dk avatar

Rust does memory-safety in the most manual way possible

The most manual way is what C does, which is requiring the programmer to check memory safety by themselves.😛

Also will say that outside of some corner cases, Rust is really not that harder than Java or Python. Even in the relatively rare cases that you run into lifetimes, you can usually clone your data (not ideal for performance usually but hey its what the GC language would often do anyway). And reliability is far better in Rust as well so you save a lot of time debugging. Compiles = it works most of the time.

kogasa ,
@kogasa@programming.dev avatar

C# dev with reasonable experience with java, python, and rust:

Rust is harder

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • programming@programming.dev
  • test
  • worldmews
  • mews
  • All magazines