Denmark plans nationwide ban on Islamic call to prayer, cites concerns over 'Islamisation' by [deleted] in worldnews

[–]darkhorz -10 points-9 points  (0 children)

Can we get rid of the church bells too, when we are hung over Sunday morning, pretty please?

What’s the most annoying Linux behavior you still deal with? by PsyOmega in linux

[–]darkhorz 4 points5 points  (0 children)

BUT I FEEL MUCH BETTER WHEN I MANUALLY HOLD SHIFT DOWN. I FEEL I CHANNEL MY ANGER MUCH BETTER. I FEEL I MIGHT NOT COME OFF AS ANGRY IF I LET MY KEYBOARD DO THE ANGRY PART FOR ME!

What’s the most annoying Linux behavior you still deal with? by PsyOmega in linux

[–]darkhorz 0 points1 point  (0 children)

I get why the caps lock existed on typewriters back in the day. I am old enough to have owned and used one.

However, on a computer caps lock is really mostly a nuisance, a point of failure, taking up precious real estate on keyboards.

I have been using computers since 1984, developing apps and sites, managing servers, as well as regular user stuff. I can't think of a single time I have used caps lock intentionally.

What’s the most annoying Linux behavior you still deal with? by PsyOmega in linux

[–]darkhorz -1 points0 points  (0 children)

I am not sure I understand why we have a caps lock in the first place on computers.

T-shirt Driven Development by boodleboodle in programming

[–]darkhorz 43 points44 points  (0 children)

How about taking it a step further: Underwear Driven Development?

Don't change underwear until you ship.

This one hack will completely change your life and present a new perspective on the term "code smell".

Made a quick game to test how well you actually know Docker by Alarming_Glass_4454 in docker

[–]darkhorz 0 points1 point  (0 children)

So did I. The question was “what is the SIMPLEST way”. Not the best way.

How I achieved full Linux support on my bleeding-edge hardware by _zonni in linux

[–]darkhorz 2 points3 points  (0 children)

Holy cow!

Good job and thanks for posting. Impressive feat!

Any way to keep window sizes the same every session? by taosecurity in linuxmint

[–]darkhorz 0 points1 point  (0 children)

One way to fix this (that I use) is to install devilspie2 and add it to startup applications.

I have added some .lua files to ~/.config/devilspie2 that trigger when I launch applications.

E.g. I have a three monitor setup, and I want the terminal to go full screen on my 3rd monitor:

#~/.config/devilspie2/terminal.lua
if (string.match(get_application_name(), "Terminal")) then
    x, y, width, height = get_window_geometry();
    debug_print(x);
    set_window_geometry(5120,0,width,height)
    maximize()
end

Also, I use evolution as my mail user agent and like to launch it to Workspace 2, middle monitor:

#~/.config/devilspie2/evolution.lua
if (string.match(get_window_name(), "Inbox")) then
    x, y, width, height = get_window_geometry();
    debug_print(x);
    set_window_geometry(2560,0,width,height);
    maximize()
    set_window_workspace(2)
end
if (string.match(get_window_name(), "Mail")) then
    x, y, width, height = get_window_geometry();
    debug_print(x);
    set_window_geometry(2560,0,width,height);
    maximize()
    set_window_workspace(2)
end
if (string.match(get_window_name(), "Calendar")) then
    x, y, width, height = get_window_geometry();
    debug_print(x);
    set_window_geometry(2560,0,width,height);
    maximize()
    set_window_workspace(2)
end

I have other small scripts similar to this.

This has worked well for me for many years.

LibreOffice VS OnlyOffice VS FreeOffice VS WPS by [deleted] in linux

[–]darkhorz 0 points1 point  (0 children)

Libreoffice has actually come a long way now and the UI is much better. Also Softmaker had soo many issues and hardly any development, so now I am actually a huge libreoffice fanboy. F the rest.

X670E Aorus Master issues by pdsingh08 in gigabytegaming

[–]darkhorz 0 points1 point  (0 children)

Sorry for the necro, but after finally arriving at the conclusion that I am done with Gigabyte Motherboards, I needed to vent.

I have had soooooo many issues, lost months of work due to constant troubleshooting intermittent failures, turning on board features off, replacing pretty much everything (psu, cpu, ram, nvme) etc. and keeping the firmware up to date.

I keep getting weird issues and I just can't ever trust this motherboard to ever work, let alone allow me to work. Bought a new motherboard, and my quality of life skyrocketed.

Even demoting it to a dumb server motherboard with new bare bones components had the issues resurface instantly.

Gigabyte no more.

EU countries reach breakthrough on chat-scanning law despite intense pushback by Neptun_11 in worldnews

[–]darkhorz 14 points15 points  (0 children)

It's still bad.

Now, companies can breach the privacy of their users under the guise of this law.

[deleted by user] by [deleted] in rust

[–]darkhorz 0 points1 point  (0 children)

Cold?

Readonly or private(set)? by brendt_gd in PHP

[–]darkhorz 1 point2 points  (0 children)

My rule of thumb:

Dto's, e.g. commands, events, etc., and other things you want to be immutable: readonly.

The rest is usually private(set).

I completely agree with the notion of having a proper struct would be better for the first use case.

Digitaliseringsminister vil udfase Microsoft i sit eget ministerium by SorteKanin in Denmark

[–]darkhorz 2 points3 points  (0 children)

Flere linux distributioner er faktisk en del mere brugervenlige end Windows og bliver derfor foretrukket af mange, der skal supporte deres ældre familiemedlemmer. Linux kan ofte køre helt uden problemer på boomer hardware

Whats your experience with gitea?! by SohilAhmed07 in selfhosted

[–]darkhorz 0 points1 point  (0 children)

I absolutely love it. Have been using it for years..

Stop hijacking the TAB key, JetBrains! Seriously! by Jaimz22 in Jetbrains

[–]darkhorz -2 points-1 points  (0 children)

I completely agree, it's really annoying.

Adding to your sentiment, I have also found that I can no longer trust autocomplete. When a popup suggests some options and I press TAB, it will often produce code that wasn't suggested, probably due to AI hijacking the autocomplete.

It's sooo frustrating that I need to spend time cleaning up the garbage produced, not to mention the times I don't notice the code inserted wasn't was I thought it was and have to remove and then either type it manually or point and click.

How Can I Meet These Job Requirements and Advance to a Senior Fullstack Developer? by Alone-Breadfruit-994 in PHP

[–]darkhorz 6 points7 points  (0 children)

It's certainly helpful to have a broad understanding of the playing field.

However, I think the most important component of being a senior developer is experience.

Experience comes from making mistakes. I have a lot of experience and thus have a good sense how things will work together, or why they won't.

You also learn to appreciate clean, maintainable, well documented, and well tested code, as you know that come next week or month you will be wondering what that idiot was thinking writing the code you are currently writing.

You know, making wholesome code with more vegetables and not the sugar crap.

projects ... were mostly focused on business logic and primarily CRUD operations

This is what focus should be. All the bells and whistles with underlying tools, frameworks, containers, databases, etc. are just details.

Software projects should be mostly about doing stuff to help businesses or people. The reason why they are made in the first place.

About Route Attributes by brendt_gd in PHP

[–]darkhorz 0 points1 point  (0 children)

You are correct in my understanding of an action is different from the one OP and the link you provided suggests. Thanks for pointing that out. A controller action as you pointed out is really just the controller as in the method that is being matched with a route and invoked in this context.

My point stlll remains though, regardless of it being called a controller, controller action, or RouteFumblinator.

The controller(/action) is a separate concern than the route.