If debugging is the process of removing software bugs, then programming must be the process of putting them in. - Edsger Dijkstra

1
349
submitted 18 hours ago by [email protected] to c/programmer_humor
2
508
Old timers know (sh.itjust.works)
submitted 18 hours ago by [email protected] to c/programmer_humor
3
277
submitted 18 hours ago by [email protected] to c/programmer_humor
4
54
submitted 13 hours ago by [email protected] to c/programming

How do people find out or know whether your repo which is having MIT or apache or AGPL license is being used by a corpo and profiting from it and not making the code open source or paying license fees?

5
48
submitted 6 hours ago* (last edited 6 hours ago) by [email protected] to c/programmer_humor
6
19
submitted 3 hours ago by [email protected] to c/linux

This is very much a "Windows thing" to do but I would like to preload a Distrobox on system start.

The benefit is that distrobox enter BOXNAME or launching a binary or app from distrobox-export is way faster.

On Fedora Kinoite (Atomic KDE) with Podman, I use this:

cat ~/.config/autostart/preload-BOXNAME.desktop <<EOF
[Desktop Entry]
Type=Application
Name=Preload the Distrobox container BOXNAME
Exec=/usr/bin/podman start BOXNAME 
EOF

This is a KDE specific workaround, as only "Applications" reliably autostart.

In the app menu enter "Autostart" and go to the settings page, the box should appear there.

Log out and back in, go to the same settings page to verify.

7
232
submitted 4 hours ago by [email protected] to c/programmer_humor
8
7
submitted 3 hours ago by [email protected] to c/opensource

I am not following these claims carefully, but I have seen tons of copies of Lawnchair in the Playstore.

Another recent event that comes to my mind is the Simple apps, which AFAIK they always were open source? But that didn't matter until it got sold and then Fossify was the non shit version of it (the positive side of open source).

9
336
Top tier reporting (lemmy.ananace.dev)
submitted 1 day ago by [email protected] to c/programmer_humor
10
537
Corpos being corpos (sh.itjust.works)
submitted 18 hours ago by [email protected] to c/programmer_humor
11
6
submitted 6 hours ago* (last edited 6 hours ago) by [email protected] to c/programming

I have a server (S-1) with HAProxy and a number of residential proxies (PR-s) as login-passwords-port. There're multiple users who will connect to the internet via S-1.

I want to have HAProxy to forward incomming traffic of the users via a random proxy amoung PR-s with 2 conditions:

  1. only when there's certain, pre-defined keyword in the URL, traffic must be routed via a proxy.
  2. In all other cases, it must go to a requested resource directly as is, without a proxy

How would I implement this?

12
10
submitted 3 hours ago by fil to c/rust

I've needed to detect a frequency of an audio signal a couple of times in my life, but I cannot for the love of me remember what does the FFT output actually mean. So I took this knowledge out of my latest project and packed it up in this crate.

Also this is my first potentially useful published crate, so if I missed anything, please let me know!

13
11
submitted 4 hours ago by [email protected] to c/rust
14
10
submitted 2 hours ago* (last edited 2 hours ago) by [email protected] to c/linux

Found this project a while ago, couldnt find it again.

A unique looking Wayland desktop, independent from others.

15
3
submitted 44 minutes ago by [email protected] to c/linux
16
2
submitted 43 minutes ago by [email protected] to c/linux
17
5
submitted 1 hour ago by armchair_progamer to c/programming_languages

Pre-Scheme is an interesting Scheme dialect which is being ported to modern systems. The language, why its being ported, and the porting effort are described in the linked post.

As described in the Pre-Scheme paper, the language offers a unique combination of features:

  • Scheme syntax, with full support for macros, and a compatibility library to run Pre-Scheme code in a Scheme interpreter. The compiler is also implemented in Scheme, enabling both interactive development and compile-time evaluation.
  • A static type system based on Hindley/Milner type reconstruction, as used in the ML family of languages (eg. Standard ML, OCaml, Haskell). Pre-Scheme supports parametric polymorphism, and has nascent support for algebraic data types and pattern matching, which are recently gaining popularity in mainstream languages.
  • An optimizing compiler targeting C, allowing for efficient native code generation and portable low-level machine access. C remains the common interface language for operating system facilities, and compatibility at this level is essential for modern systems languages.

Due to the restrictions of static typing and the C runtime model, Pre-Scheme does not (currently) support many of Scheme's high-level features, such as garbage collection, universal tail-call optimization, heap-allocated runtime closures, first-class continuations, runtime type checks, heterogenous lists, and the full numeric tower. Even with these limitations, Pre-Scheme enables a programming style that is familiar to Scheme programmers and more expressive than writing directly in C.

Ironically, Pre-Scheme's original purpose was to implement the interpreter for another Scheme dialect, Scheme 48 (Wikipedia). But the lower-level Pre-Scheme is now getting its own attention, in part due to the popularity of Rust and Zig. Pre-Scheme has the portability and speed of C (or at least close to it), but like Rust and Haskell it also has a static type system with ADTs and parametric polymorphism; and being a LISP dialect, like most other dialects it has powerful meta-programming and a REPL.

18
6
submitted 2 hours ago by [email protected] to c/linux
19
13
submitted 4 hours ago by [email protected] to c/linux

I know this is basically a spam tool.

I think to know that you can query some info from a mailserver to test if an address exists.

I would like to find hidden addresses of some companies, for example I want to test if [email protected] exists.

Anyone know how to do that?

20
12
submitted 10 hours ago by [email protected] to c/linux
  1. I am very unlikely to switch away from KDE Plasma 6
  2. I would anyways like to try Sway or the like
  3. I dont use virtual desktops and find just navigating through a bottom taskbar makes more sense for me
  4. I have many apps fullscreen, and would never tile more than once vertically, as I am on a Laptop
  5. I want: NightLight, tray icons, a good app menu, many KDE Apps (Dolphin, Kate, Ark, Gwenview, Spectacle Edit feature at least)

Are Wayland WMs ready for this use case? What would you recommend to fill these exact requirements?

21
493
submitted 17 hours ago by [email protected] to c/programmer_humor

Found this on quora. And I thought this was quite funny.

22
199
submitted 23 hours ago by anzo to c/programmer_humor
23
72
submitted 9 hours ago by [email protected] to c/linux
24
114
submitted 1 day ago by Psyhackological to c/godot

The mine is Dome Keeper. I linked what's coming soon to this fun game!

25
429
submitted 2 days ago by [email protected] to c/programmer_humor
view more: next â€ē

programming.dev

8,477 readers
386 users here now

Welcome Programmers!

programming.dev is a collection of programming communities and other topics relevant to software engineers, hackers, roboticists, hardware and software enthusiasts, and more.

The site is primarily english with some communities in other languages. We are connected to many other sites using the activitypub protocol that you can view posts from in the "all" tab while the "local" tab shows posts on our site.


🔗 Site with links to all relevant programming.dev sites

🟩 Not a fan of the default UI? We have alternate frontends we host that you can view the same content from

ℹī¸ We have a wiki site that communities can host documents on


⚖ī¸ All users are expected to follow our Code of Conduct and the other various documents on our legal site

❤ī¸ The site is run by a team of volunteers. If youre interested in donating to help fund things such as server costs you can do so here

đŸ’Ŧ We have a microblog site aimed towards programmers available at https://bytes.programming.dev

🛠ī¸ We have a forgejo instance for hosting git repositories relating to our site and the fediverse. If you have a project that relates and follows our Code of Conduct feel free to host it there and if you have ideas for things to improve our sites feel free to create issues in the relevant repositories. To go along with the instance we also have a site for sharing small code snippets that might be too small for their own repository.

🌲 We have a discord server and a matrix space for chatting with other members of the community. These are bridged to each other (so you can interact with people using matrix from discord and vice versa.

founded 1 year ago
ADMINS