[-] promitheas@programming.dev 4 points 6 hours ago

Walking on my desk as im working, in front of me, and of course swishing the tail right up in my face

[-] promitheas@programming.dev 2 points 1 day ago

What does this have to do with the community?

[-] promitheas@programming.dev 1 points 1 day ago

Came here to recommend this as well. You beat me to it :p

17
submitted 1 month ago* (last edited 1 month ago) by promitheas@programming.dev to c/degoogle@lemmy.ml

Hello everybody! One of the last google software I use is my gmail, mainly since I've had it for so long and migrating seems daunting. It's time however.

I do eventually want to self-host my own email, possibly with something like this: https://docker-mailserver.github.io/docker-mailserver/latest/

But to do that I'd need to set up and maintain stability on a home lab for a short time first, something I can't do yet because of my living arrangements, which means self-hosted email may be a few years away.

In the mean time, I looked at https://www.startmail.com/ and https://tuta.com/secure-email (since tuta is very highly recommended on lemmy). Sadly, while tuta sounds great, it has the deal breaker (for me) that I can only use their clients.

That's why I'm leaning more towards startmail, though of course I'll take advantage of the 7 day free trial before committing to it.

Meanwhile, is there anything else that you can recommend which is:

  • an EU company
  • privacy and customer first
  • crucially can be used with Thunderbird
  • that will save me 59.88 Euro a year
  • That allows for the creation of folders in the Inbox (I use this constantly for organisation)

A very big bonus would be if I could somehow import my gmail emails to it, in a sensible manner, like I see startmail offering to do. CalDAV support would also be really nice.

Also, I'm thinking for about a year I keep both gmail and whatever I switch to, while having gmail forward everything to the new one, so that I make sure everything has been migrated over there.

Thanks in advance!

Edit: While looking at reviews for various services, I came across a video offering a startmail discount link, so I can now get it at 29.94 Euro for the first year. This makes it a lot more attractive even if I don't stick with it for more than a year, but I would still love to hear your suggestions or thoughts :)

Edit: since i found that discount link from the video, i decided to try startmail. Im still on the 7 day trial (just meaning i havent been billed yet), but so far i really like it. Ive already started changing my apps/services/websites emails to aliases i set up (the unlimited aliases of startmail are a godsend in this regard), and the importing tool they have really easily copied my gmail emails/folders over to the startmail account. From there, it was a simple matter of moving the folders from the resultant gmail folder to my actual SM inbox where i wanted them, adding the account to thunderbird, and re-setting up the rules for the SM account in Thunderbird. Id still love to hear all your suggestions in case I do decide SM isnt what i need, but so far it seems like its a winner

47
With regards to Politico (en.wikipedia.org)

Ive noticed several posts here linking to politico articles, which I find strange for this community given their history and affiliations.

To everyone reading, just give the wiki page on them a read, follow the references cited in it, and make up your own mind on whether you want to trust it as a source for EU news.

To everyone who posts their articles in here, I hope its just because you weren't aware of all this, rather than anything else.

4

Hello again guys.

I'd like to be able to mute discord notification sounds in addition to toggling off the dunst popup (the latter of which I already have working) but I cant seem to be able to find a way to do so, and control it through the sxhkd keybind.

Here is my keybind to disable notifications:

# Toggle notifications on/off
super + shift + comma
	sh -c 'if dunstctl is-paused | grep -q "true"; then dunstctl set-paused false; notify-send -t 2500 "Notifications enabled"; else notify-send -t 2500 "Notifications disabled"; sleep 2.5; dunstctl set-paused true; fi'

However even after I toggle notifications off, I still hear the discord pings which frankly is annoying when I'm trying to concentrate on something, or watching a movie or whatever.

Anyone have any idea how to do this without breaking too much of my setup haha?

Thanks in advance as always, and of course if you need more info do ask.

25
I have no words (corteximplant.com)
14
submitted 2 months ago* (last edited 2 months ago) by promitheas@programming.dev to c/thenetherlands@feddit.nl

Hello everyone!

I won't drag the post out too much since most of the info is already in the title, but I would love to hear some suggestions for some children's books to help me develop comfort with, and vocabulary in Dutch.

In terms of my level with the language, I have been doing some Duolingo for over 3 years, but I really started learning and understanding rules and such a couple months ago when I started online lessons.

Thanks in advance!

Edit: A couple people suggested Annie M.G. Schmidt so I looked at the first book in the Jip en Janneke books, but it seems that its too advanced for my level. I'll need to work my way up to that slowly. In the meantime, any suggestions for books aimed more towards 2-3 year olds? I feel like that would be more my current vocabulary level, and I can work my way up from there. Thanks

9

Hello everyone, I've had an issue with discord on Arch Linux for a long time, but only now had the time to document the error (had to photograph it with phone and transcribe it).

Its a weird one, buckle up.

At random times, discord crashes which causes my polybar to crash, as well as my sxhkd, which obviously means my computer is practically useless until I hard shutdown using the power button on my case. Whats weird is that sometimes it will go weeks without crashing, and other times it will crash frequently in a short time span (e.g. it crashed a couple times yesterday, and once today).

Here is the error as I photographed it:

And here it is after I manually copied it into a text editor (keep in mind I might have missed a character here or there because of this).

A JavaScript Error occurred in the main process

Uncaught exception:
Error: EROFS: read-only file system, write
	at writeSync (node:fs:923:3)
	at SyncWriteStream._write (node:internal/fs/sync._write_stream:275)
	at writeOrBuffer (node:internal/streams/writable:572:12)
	at _write (node:internal/streams/writable:501:10)
	at Writeable.write (node:internal/streams/writable:510:10)
	at console.value (node:internal/console/constructor:298:16)
	at console.warn (node:internal/console/constructor:405:26)
	at transport.writeFn (/opt/discord/resources/app.asar/node_modules/electron-log/src/node/transports/console.js:45:7)
	at transport (/opt/discord/resources/app.asar/node_modules/electron-log/src/node/transports/console.js:51:15)
	at Logger.processMessage (/opt/discord/resources/app.asar/node_modules/electron-log/src/core/Logger.js:175:11)

Anyone have any idea how I can troubleshoot this?

I also tried checking the following directory but it doesn't exist on my PC:

/opt/discord/resources/app.asar/node_modules/electron-log/src/core/

I only have the file /opt/discord/resources/app.asar So obviously something is going on there that shouldn't be happening.

I've got no idea how to troubleshoot node apps, so would appreciate any help from those of you who have those skills.

Thanks in advance! Please let me know if you need more info or need me to run commands and show you the output, and Ill do so.

10

Hey everyone! I think its been about a year since I got my FP5 from murena, with the blue case. I noticed early on that from normal use it got stained and a bit dirty. Keep in mind I live in a really hot country (summers reach around 45°C) so sweating is unavoidable, especially if Im helping a relative with their garden/general house maintenance, or similar activities that equal unclean hands + sweat.

Ive tried wiping it with a wet wipe, but the stains remain.

Any ideas for what I can use to clean it without damaging the material? Im thinking of trying rubbing alcohol but Id like some advice before I try anything new, to avoid damaging it since its a non-standard recycled material.

Id also like to keep this colour of case since I really like the blue :)

6
submitted 3 months ago* (last edited 3 months ago) by promitheas@programming.dev to c/archlinux@lemmy.ml

Hello everyone!

I would like certain windows to remain in full screen even if another tiled/floating window is opened on the same workspace. I would also like the tiled/floating windows to remain above the full screen window so that they don't disappear if I click on the full screen window.

The primary use case for this is games such as Eve Online, where I use a number of external tools which may or may not spawn new windows over the game window (e.g. the Rift Intel tool, which spawns a new small floating window whenever someone writes in one of the intel channels you set Rift to monitor). I dont want it to exit full screen mode. If a tiled or floating window is opened on the same window then Eve also goes into tiled mode.

Reading up a little about this I came across the concept of layers in bspwm, but I'm not entirely sure if they fit for this use case. Here's an example of what I don't want to happen:

(The Hostile Reported popup window is from Rift and spawns wherever focus is)

Normally I have it be entirely fullscreen. I'd like to be able to interact with these and other popup windows in tiled/floating mode without pulling Eve out of fullscreen.

How can I begin to work on this? Of course if you would like more info please ask and I'll provide it.

Thanks in advance!

[SOLUTION (I think)] I had to add this rule for my Eve client:

bspc rule -a "steam_app_8500" state=fullscreen layer=below border=off focus=on

but also had to add this rule for the Rift Intel tool:

bspc rule -a "dev-nohus-rift-MainKt" state=floating layer=above

I guess this is the way to do it for any set of programs where you want one to keep its fullscreen status but have others above it

NOTE: This also applied the same behaviour to the eve launcher since the way steam proton works both the launcher and the clients have the same WM_CLASS. If anyone knows any way to distinguish them in bspwm please let me know. Here is what I get for each when running xprop:

$ xprop | grep -E 'CLASS|NAME'
_NET_WM_NAME(UTF8_STRING) = "EVE Launcher" WM_ICON_NAME(STRING) = "EVE Launcher" WM_NAME(STRING) = "EVE Launcher" WM_LOCALE_NAME(STRING) = "en_US.UTF-8" WM_CLASS(STRING) = "steam_app_8500", "steam_app_8500"
# Click on launcher

$ xprop | grep -E 'CLASS|NAME'
_NET_WM_NAME(UTF8_STRING) = "EVE" WM_ICON_NAME(STRING) = "EVE" WM_NAME(STRING) = "EVE" WM_LOCALE_NAME(STRING) = "en_US.UTF-8" WM_CLASS(STRING) = "steam_app_8500", "steam_app_8500"
# Click on client

Ive tried rewriting the rule as such:

bspc rule -a "steam_app_8500:steam_app_8500:EVE" state=fullscreen layer=below

and also adding a rule for the launcher specifically (before the client rule):

bspc rule -a "steam_app_8500:steam_app_8500:EVE Launcher" state=tiled layer=normal

But the launcher still opens in fullscreen. The client however seems to be fine - it opens in fullscreen on the 'below' layer so when a new window is opened on the same workspace it isn't forced into tiled mode.

4
submitted 3 months ago* (last edited 3 months ago) by promitheas@programming.dev to c/archlinux@lemmy.ml

Hello everyone :)

I have this in a script which I call from my .zshrc:

#!/bin/zsh

# ~/.bin/check_last_update.sh

GREEN='\033[92m'
YELLOW='\033[93m'
RED='\033[91m'
RESET='\033[0m'

# Check if there are available updates for packages
num_packages_to_update=$(checkupdates | wc -l)

if (( num_packages_to_update >= 0 && num_packages_to_update <= 20 )); then
	echo -e "${GREEN}Available updates: $num_packages_to_update${RESET}" >> /dev/tty
elif (( num_packages_to_update > 20 && num_packages_to_update <= 50 )); then
	echo -e "${YELLOW}Available updates: $num_packages_to_update${RESET}" >> /dev/tty
else
	echo -e "${RED}Available updates: $num_packages_to_update${RESET}" >> /dev/tty
fi

# Kernel version check
running_kernel=$(uname -r)
installed_kernel=$(pacman -Q linux | awk '{print $2}' | cut -d '-' -f1 | cut -d '.' -f1,2,3)

running_kernel_base=$(echo "$running_kernel" | cut -d '-' -f1)

if [[ "$running_kernel_base" != "$installed_kernel" ]];
then
	echo -e "${RED}Kernel mismatch detected. Reboot recommended.${RESET}" >> /dev/tty
fi

It works, but when I open a new terminal it may take up to 2 seconds for the prompt to show up. Is there a way of speeding this up?

Would it be a good idea to perform the checks in the background every hour or so, maybe with a systemd timer or something, and cache the results (or possibly to make it even more efficient, just store a file somewhere out of the way containing the number of updates and if there is a kernel mismatch - maybe on separate lines so when I open a terminal I can easily query the file and get exactly what I need) so that when I open a new terminal instead of checking with the live repositories it checks the cached data? Also, I guess this would mean that if a package has become available for update after the last time the check script runs, then the number it tells me will be less than the actual number of available updates, right?

Thanks in advance!

7
submitted 4 months ago by promitheas@programming.dev to c/ece@lemmy.world

Hello guys.

I'm trying to learn some more KiCAD and general electronics design from scratch by continuing my thesis project after I've submitted it and its all done, but by taking it to the next step and actually getting a PCB and soldering everything on. This is to get experience through the entire process from design to assembly.

Where I'm stuck is at creating the footprints for my components. I've watched a bunch of videos about the topic, but they all seem to be for boards with no header pins attached to them, or for pins that are vertical (perpendicular to the actual board). The two boards I have are breakout boards for a DS3231 RTC and an HM-10 BLE module, and they both have right-angle male header pins sticking out, which obviously made prototyping on a breadboard really easy, but I'm struggling with converting them to PCB.

Here are some photos to make it clearer:

HM-10:

DS3231:

I know one of my options is to desolder the right-angle header pins and add straight pins to them, but I'd like to avoid that so that I can easily use them in any future projects by simply disconnecting them from the eventual PCB and using them in a breadboard.

As such, I know that I would like there to be female headers on the final PCB, and ideally the female headers will also be at a right-angle so that the final PCB is a little more compact and there aren't just some boards sticking out from it.

So, after getting some measurements with my calipers, how can I translate them into the KiCAD footprint editor knowing the footprint should include the female right-angle header pins (which will of course extend the length of the modules beyond what I have currently measured), and also take their height into account so that they don't have any obstacles between them and the PCB as they are laying parallel to it?

I hope I made myself clear enough, but if not please feel free to ask me for any clarification.

Thanks in advance for any replies :)

[-] promitheas@programming.dev 47 points 4 months ago

I was so sad when i watched the last episode (it had been over for a while but i had only recently found the show and binged it). Its so good

41
83
submitted 5 months ago* (last edited 5 months ago) by promitheas@programming.dev to c/boycottus@lemmy.ca
[-] promitheas@programming.dev 36 points 8 months ago

Thank you for bringing this to my attention, I wouldn't be aware of it otherwise. For what its worth, I left my ideas as feedback there.

Also, I would just like to point out that before lemmy (and subscribing to various EU communities) I was not at all active in voicing my opinion about such things as I didn't have any idea that it was even possible/how to do it. Lemmy as a whole has helped me become more active in this regard :D

[-] promitheas@programming.dev 122 points 8 months ago

Its time we in Europe stop pretending that the US is capable of being anything other than an enemy. Its not just trump. If they do it once, theyll do it again. Whether its 1, 2, or several administrations down the line. We need to start distancing ourselves from them ASAP

[-] promitheas@programming.dev 46 points 11 months ago

When a page is so bloated with crap, certain elements load much after certain others, leading me to believe the page has loaded, and to click on something jus as somthing else loads and pushes it down/to the side.

[-] promitheas@programming.dev 41 points 11 months ago* (last edited 11 months ago)

Will test and edit. Ill leave my automatic upvote on, so first person to read this please downvote this comment

Edit: no no guys, stop upvoting 🤣

Edit 2: sorry OP, guess i cant test out my theory, which was that if you leave your upvote, but get downvoted once, it shows up as 0

[-] promitheas@programming.dev 34 points 1 year ago

This. Im not french, and while the surrender jokes can be slightly amusing at times, i feel a great sense of pride(?) everytime i see on the news that theyre protesting some new tyranny. Wish my lot were like that. Alas, we not only get trampled by the boot but kiss it as it passes by

[-] promitheas@programming.dev 47 points 1 year ago* (last edited 1 year ago)

Use chapstick

Read a book in public

Not go to gym

Play certain more "feminine" games

Those off the top of my head. I live in a nation of backwards idiots, so there for sure are more

[-] promitheas@programming.dev 129 points 1 year ago

Yea, why are Microsoft forums so bad? I have to use them sometimes as I work in IT and all our PCs run windows. Googling often leads me to their forums. The forums rarely lead me to a solution however

[-] promitheas@programming.dev 126 points 2 years ago

Gives these vibes

view more: next ›

promitheas

0 post score
0 comment score
joined 2 years ago