linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

30p87, in Why are gnome devs like this?

*Microsoft devs

Now, seriously. Microsoft’s devs literally only do something if their boss tells them to, and the boss only cares about money. The support teams only know chkdsk and reboot.

levir77987,

Yeah, paid by microsoft to sabotage the linux desktop

magic_lobster_party,

On the topic of Microsoft support, I hate how useless support boards are. They’re always responding with the same template answers describing the exact steps the asker clearly stated they’ve already done with no results. Microsoft is far from alone in this, but I just wanted to rant a bit.

bruce965, in Any C# devs want to share their setup?
@bruce965@lemmy.ml avatar

I work professionally from Windows, and as a hobby from Linux. My tool of choice for coding in .NET is Visual Studio Code (not FOSS, but there is a FOSS version which is just a bit more limited). It’s not as complete as Visual Studio, but it’s much faster, it has all the basic tools including a debugger, and it’s much more customizable.

Also if you have never done it before, you might love dotnet watch which works with any IDE and lets you make realtime changes to your code while the application is already running.

As for UI, my personal choice is deploying a static website on localhost through Kestrel (it’s less than 100 lines of code for a fully configured one), and then let the user’s browser take care of showing the UI. You could use Blazor if you really want to use C# all the way, but my personal recommendation is to stick to web technologies such as TypeScript and React (using either Parcel or Vite to build your project). Making your UI web-friendly also makes your app cloud-ready, in case tomorrow you will decide that’s something you need.

Finally, you can now deploy .NET apps as a single self-contained executable on all major platforms. But as already recommended by other users, I would keep adopting a web-first approach and go for Docker, and eventually Kubernetes. It’s a lot of work to understand it properly though, so perhaps you can start studying this topic another day in the future.

Feel free to ask me anything if you have questions.

jerrythegenius,
@jerrythegenius@lemmy.world avatar
GravitySpoiled, (edited ) in Can I install Ubuntu 18 software on Ubuntu 22.04? (Technically Linux Mint 21.3)

Sounds like distrobox/ toolbx would be the easiest here. There’s an ubuntu 18.04 image here github.com/toolbx-images/images it’s like a vm without all the overhead

beforan,
@beforan@lemm.ee avatar

Since they already mentioned WSL, you can also describe distrobox like WSL for Linux.

but yeah, agree this would be the simplest.

atzanteol, in When do I actually need a firewall?

If anything, a firewall only seems to provide extra precautions against mistakes made by the user, rather than actively preventing bad actors from getting in.

You say that like that isn’t providing value. How many services are listening on a port on your system right now? Run ‘ss -ltpu’ and prepare to be surprised.

Security isn’t about “this will make you secure” it’s about layers of protection and probability. It’s a “good practice” because people make mistakes and having a second line of defense helps reduce the odds of a hack.

treadful,
@treadful@lemmy.zip avatar

Security isn’t about “this will make you secure” it’s about layers of protection and probability. It’s a “good practice” because people make mistakes and having a second line of defense helps reduce the odds of a hack.

AKA Defense In Depth and should be considered for any type of security.

c0mbatbag3l,
@c0mbatbag3l@lemmy.world avatar

In the military when learning ORM we called this the “swiss cheese” theory.

The more layers of sliced swiss cheese, the fewer holes that go all the way through.

octopus_ink, (edited ) in My move to wayland: it's finally ready

I think this thread shows it’s very hardware/driver dependent?

I’m posting from Wayland running on Plasma 5, on 100% recent gen intel hardware, and as far as I’ve been able to tell I have zero deficiencies that matter in functionality. (aside from whatever little bugs surely exist that I’m not noticing - and big things no one really has yet like HDR)

I don’t have much sympathy for the haters who think we shouldn’t be moving to Wayland ever, but every recent thread seems to confirm that Nvidia and possibly other HW configs are still likely to be problematic.

devfuuu,

A big aspect is fractional scaling needs. I have tried the current kde 5 wayland version everytime a new minor release is done and it’s very bad with inconsistencies in many places and weird font rendering and stuff like that. I’m very eager waiting for kde 6 where many of the bugs are supposedly fixed.

octopus_ink,

I’ve got a 3.5k 13" display and have only noticed scaling issues with xwayland apps (which Plasma warns you of) - but I’m not disputing your point, there are clearly rough edges some folks see that others don’t.

Andy,
@Andy@programming.dev avatar

Plasma may not ever implement window shading for Wayland, but I’m hopeful. That’s probably my last blocker.

captain_aggravated, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@captain_aggravated@sh.itjust.works avatar

I uninstalled Python.

I was playing around with Pygame of all things, and it wasn’t behaving as the (apparently out of date) documentation was saying it should, so I figured I’d just uninstall and reinstall Python.

EVERYTHING borked. APT wouldn’t even work.

BrianTheeBiscuiteer,

Ha! Came to say this too!

I tried to uninstall Python because I was just trying to minimize junk on my computer and I usually code in Bash, Node or Java.

khannie, (edited )
@khannie@lemmy.world avatar

Oh that’s a good one. It feels like it should be doable and then… BAM

Ozy, in [QUESTION] I installed Apache OpenOffice

Try to launch OpenOffice via the command line and see if you get any errors, that might help you with what to search for.

paddirn, (edited ) in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

Years ago I was dual-booting with Ubuntu just to try out whatever this Linux thing was that all the nerds were talking about. Liked it and played around with it, but for whatever reason I wanted to go back to just Windows, I needed the space I had partitioned off or something, can’t remember why. So I just uninstalled or deleted the bootloader somehow (maybe I just deleted the Linux partition and expected the space to clear up like normal).

Go to restart the computer… oh shit. Ohshotohshitohshitohshit.

mlg, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@mlg@lemmy.world avatar

fstab bind mount for /home that I misspelled, so I couldn’t login as myself.

fstab external hdd mount that didn’t have ignore flag so PC would pop if I booted while unplugged

Accidentally booting windows after a year and it overwrite my EFI boot entry.

The best I’ve see however was an acquaintance who accidentally set perms to own user on /usr/bin

So everything went from root:root to user:user which removed all the SUID/SGID bits as well so a bunch of bins broke lol.

Believe it or not, it was actually fairly easy to fix with chmod and chown

The2b, (edited ) in Help w/ crash

You’re only showing us part pf the error. There should be more above the list pf modules loaded that will provide useful information

dmesg > dmesg-out will give the entire dmesg log as a text file, and you can cut out the irrelevant parts

mvirts,

Good to know! I need to set that up next time, the whole system was unresponsive when I took the photo.

The2b,

In that case it should be in your logs. I believe the default is /var/log/dmesg.log*, depending on how many rotations have occured since the error

mvirts,

Lol I checked the system journal but forgot to check if the dmesg los is being written 😹 thanks for the reminder, going to take a look later today

jackpot, in "Must Try" distros and DEs?
@jackpot@lemmy.ml avatar

TempleOS

nickwitha_k,

You know what? Yeah. I’ve wanted to try that product of schizophrenic mania for a while.

sem, in What's your favourite RSS reader for Linux?
@sem@lemmy.ml avatar

emacs + elfeed

Reasons:

  1. I’m using emacs for almost everything, so it it is a quite obvious choice
  2. Links to rss/atom are stored in a plain human readable org-mode file that you can edit manually or use VCS on top
  3. It works fine from both terminal and gui
  4. It is a fully OSS solution under The Unlicense
Jumuta, in Nifty terminal command: xdg-open

that’s cool

I’ve always just done


<span style="color:#323232;">dolphin .
</span>

but that’s nifty to know!

perishthethought,

Yes! That works too. Thanks!!

atzanteol,

xdg-open will check mime types and open files with preferred applications as well. So ‘xdg-open foo.ods’ will launch libre office for example.

corsicanguppy, in What does Ubuntu do when LTS is supported for 12 years, but PHP is not?

Take up non-feature security-only maintenance.

This isn’t hard. SCO and Sun did exactly this.

thejodie, in Which terminal emulator do you use?

Terminator.

I use the broadcast, zoom, grouping, and the guake/yakuake style dropdown. Also it has layout switching like xmonad, ie you can ctrl + space to cycle pane layouts.

Nisaea,
@Nisaea@lemmy.sdf.org avatar

Gotta love terminator. I also always greatly appreciated how uncluttered and to the point its ui was, while being modern and configurable.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #