sorted by: new top controversial old
[-] [email protected] 11 points 5 hours ago* (last edited 5 hours ago)
[-] [email protected] 3 points 2 days ago

Better spec != better laptop

It all depends what do you want to use it for, and what are your priorities.

I got it for almost 3x the price a few years ago because it's rugged, excellent for typing, and more than powerful enough for coding.

[-] [email protected] 3 points 3 days ago

hmmmmmm

  • phallic
  • penetrates people
  • gives out unsolicited bro science to improve your stabbing performance
[-] [email protected] 2 points 3 days ago

MilTek scrapped the internet to make OpenBlade

MATACORP saw the project and thought "What if we had AIs think instead of our customers?" and so web 4.0 was born

[-] [email protected] 1 points 3 days ago

GPL is hard or tough to monetize

What do you mean?

stuff will get even spicier when we have conservations whether code is asset itself (especially scripts).

That's true. What about LGPL?

[-] [email protected] 9 points 5 days ago

standards

Also, different solutions have different benefits and downsides, and are better in different scenarios.

[-] [email protected] 6 points 5 days ago

OpenBlade reunites with his long lost family

[-] [email protected] 1 points 1 week ago

That's because of users, not OS.. right?

It's a factor, but constantly upgrading to the newest version of software does come with risks. I've had Arch and derivatives fail to boot on multiple devices plenty of times after an update.

Some people say that they run arch for years without having any issues, but that's either extreme luck or bs.

I love to deal with problems but I don't want to waste my time.

You can usually just use a btrfs snapshot to rollback, boot, and try to update later. But there were situations when I had to use arch-chroot, and it can be problematic to install new packages in that situation.

All setups have tradeoffs, but I'd wholeheartedly suggest a stable distro like MX and nix + home-manager. It avoids all of the previously mentioned issues, and comes with other benefits. Do note that you might need to make or copy a hyprland.desktop file because home-manager can only alter files in your ~.

[-] [email protected] 7 points 1 week ago

e.g. don’t touch AGPL code unless you also use AGPL

Just to clear this up: copyleft licenses, GPL variants for example, require the license of your code to equally preserve the freedoms provided to your users, or in other words also be a copyleft license. There are some loopholes like GPL on a server, but be very careful when using copyleft code unless you want to use a copyleft license as well.

It gets somewhat murkier when you use someone’s code and base yours on that. IANAL, and that’s very much the legal territory. If at all possible, just reuse the original copyright and license and then derive your work (given the license allows that).

That all depends on the license AFAIK, but IANAL. Most FOSS licenses allow you to do whatever you want while preserving copyright claims, and that includes rewriting or changing the license. GPL forces copyleft, so even if you rewrote it from scratch, you could still be liable if you saw the original code.

For example I've heard that corpos bootleg copyleft code by having completely separate teams doing design and implementation. The implementation team can't ever see any part of the original code, and they have limited communication with the design team. I think that would also go around the copyright claims as well.

If at all possible, just reuse the original copyright and license and then derive your work (given the license allows that).

Or just slap a GPL and subsume everything within a vortex of FREEDOM, and thusly become a true FOSS dude

[-] [email protected] 1 points 1 week ago

there are very few “starter” Clojure jobs; they mostly expect you to have years of experience.

That's because the language is made for people who wrote java for the last 10 years. It's cool and all, but it's horrible for learning programming when you compare it to cl or scheme. Neither of them break language uniformity and simplicity in order to accommodate java interop, while also having decades worth of excellent teaching material.

It’s a Lisp language which is the oldest kind.

Fortran, COBOL, ALGOL are older

Instead of “object oriented”, I think if it as verb oriented. Each statement is a verb (function) possibly followed by all the nouns you want to apply it to. Easy peasy, right?

I think you're over complicating the explanation, it's just a different notation:

(1 + 2 + 3) == (+ 1 2 3)

(1 + (2 * 3)) == (+ 1 (* 2 3))

People complain that there’s “too many parentheses”. People like to complain about dumb stuff.

I think it's got more to do with everything seemingly being completely different. Most languages have C-style syntax, and python is like the only popular exception. It's like knowing only latin and having to learn cyrilic or alphabet.

15
submitted 1 week ago by [email protected] to c/[email protected]

cross-posted from: https://programming.dev/post/14020506

The product of a chat with @[email protected]

126
submitted 1 week ago by [email protected] to c/linuxmemes

The product of a chat with @[email protected]

20
submitted 4 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]

MX Linux, Xfce 4.18

Closing the laptop lid suspends the system, opening it resumes it, but the screen is black. I'm guessing it's related to powerup because suspending through the logout menu and systemctl suspend both work as expected. When it's black, switching to a different tty works, as well as C-M-Backspace to logout.

Same results with both lightdm and sddm, when replacing suspend with hibernate, and I've tried a few solutions like disabling lock on sleep.

Seems like this issue has been around for years, but had a whole bunch of different causes since every other thread has a different solution.

XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon > /tmp/xf.log 2>&1

ps -ef | grep -E 'screen|lock'

xfconf-query -c xfce4-power-manager -lv

dmesg, cleared it before trying to suspend

updates:

I'm not seeing a black screen, instead it turns on the display and then turns it off.

Additionally, I tried closing and opening the lid a few times, and it woke up correctly.

I tried it in i3wm with the xfce power manager to suspend after closing the lid. It woke up correctly 10 times in a row.

Solution: start an xrandr config and the monitor turns back on.

29
Non-general purpose posts (programming.dev)
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]

This community is:

A general purpose programming community for English speakers

Language specific posts like:

and ide specific posts like:

are not general purpose. Posts like that ruined /r/programming for me, and this community seems to be going down the same road. I'm here to read about programming concepts that can be applied to any/most languages, not patch notes for 10 different Js frameworks posted by karma farming bots. If I wanted to read posts like that, I'd have subbed to /c/javascript...

Do you agree with me that they should be removed from /c/programming, and limited only to their respective communities? Or have I missed the point of this community?

view more: next ›

Shareni

joined 11 months ago