[-] promitheas@programming.dev 14 points 4 weeks ago* (last edited 4 weeks ago)

Is there anything that can be done, to fix the direct issue while sticking it to the actual and only terrorists in this situation (USA)?

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

All my projects, which to be fair are mostly programming.

~/Documents/Projects doesn't make sense to me because theyre not strictly documents. In documents i have - well, documents like bill receipts, forms ive filled in, etc...

My projects are a first-order thing for me if that makes sense, so it makes sense to have them in the top-level of my home.

[-] promitheas@programming.dev 15 points 7 months ago

Yes. I avoid the big brands, and try to research as much as possible. For clothes in particular i dont go clothes shopping often, but for groceries, I use the NoThanks app to see if the product is owbed by a company contributing to world suffering. If its a obe time purchase of somethibg like a mouse/keyboard or other such item where you biy it once but its meant to last, I do my best to avoid the same things, but if there is no choice I have to go with the less ethical version sadly.

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

Give fairphone a look. Maybe youll like them and what they do

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

I agree, but only one of those 2 countries has proclaimed (in law if im not mistaken, but i may be wrong) that they would intervene militarily to prevent one of their own from being tried by the ICC, regardless of the actual crimes they've committed. And im talking about sending special forces to extract said alleged criminal against humanity, from another sovereign nation, abiding by its own laws.

Guess which of the 2 I'm talking about? Russia is by no means the good guy, but its not a binary issue, as most people on the internet seem to react when these 2 countries are mentioned in the same sentence. Russia being 'bad' doesn't automatically make the US 'good' and vice versa.

Sure, who's worse shifts back and forth over the years, but to my eyes, currently, the US is worse, and its been that way for a long time. Way before trump. Anyone who thinks this all started when trump took office, is a bit deluded.

But you're 100% right, send both of them to the ICC, in an ideal world.

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

Wow, I never knew about all this. Its quite shocking since in my limited knowledge of FUTO I was under the impression that they support Open Source and are generally good.

[-] promitheas@programming.dev 16 points 9 months ago

Its not just that, directly. They also seem to be working for fossil fuel companies, amongst other things that make me have a feeling that they're goal is not to report news accurately but to push an agenda, which I doubt the people in this community subscribe to.

[-] promitheas@programming.dev 13 points 10 months ago

Is... Is this the order for wiring rj45 connectors?

3

Hello once again everyone!

I've made considerable progress on my thesis thanks in part to you guys answering my previous post here. I'm already writing up the report, and have pretty much the entire system programmed through the Arduino.

However, I am still having difficulties figuring out how to initiate/force a disconnect of all BT devices connected to the HM-10 module (this is the one I got). You can refer to the post I made on the arduino forums (link in post) where I also searched for the solution but had no luck, but sadly its been almost 2 weeks and still no answer.

To cut a long story short, I have all the pins of the HM-10 wired except the BRK pin currently, even though I wired that up previously and tried sending LOW-HIGH-LOW and HIGH-LOW-HIGH pulses to try to disconnect. As far as I understand it, what I have is not exactly the HM-10 but an HM-10 mounted on a breakout board(?).

The data sheet on the website I got it from seems to be for the bare HM-10 so its a bit confusing for me. It talks about a specific pin (PIO0) which looks to be wired to a switch, but there is no switch or button on the actual module and that doesn't help me anyway as I want to initiate a disconnect from code.

So how can I make it disconnect from all devices when the user for example selects a certain option from the menu of my system?

As always, I will greatly appreciate any help, and of course if you need any more info let me know and I'll try to provide it.

8

Hello everyone! I want to write a short script to let me know if there has been more than 3 days since the last full system update whenever I open a terminal (run from .zshrc). Ive got something cobbled together, but sadly it only checks for the last full system update from pacman directly because of the way it looks at the pacman logs.

My question is, how can I make it so that if EITHER pacman directly or yay runs a full system update, it will update something like a persisitent environment variable with a UNIX timestamp?

I've also considered writing a hook to run after pacman fully updates the system since yay runs pacman under the hood anyway, but I can't figure out how to make the hook recognise if it was a successful full system update.

Here is what I have so far:

#!/bin/zsh

last_upgrade_date=$(grep -m 1 'full system upgrade' /var/log/pacman.log | cut -d ' ' -f 1 | tr -d '[]')
last_upgrade_sec=$(date --date="$last_upgrade_date" +%s) # Convert to UNIX timestamp

last_upgrade_sec=$(date -d "$last_upgrade_date" +%s)
now_sec=$(date +%s)

days_since=$(( (now_sec - last_upgrade_sec) / 86400 ))

if (( days_since > 3 )); then
	echo "Days since last update: $days_since day(s)" >> /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 "Kernel mismatch detected. Reboot recommended." >> /dev/tty
fi

Thanks in advance!

10

Hey guys. I just got a Genesis Thor 300 TKL keyboard which doesnt work from my brother. I've got a Glorious GMMK v1 TKL keyboard. Is it possible to desolder the MX Blue switches from the broken Genesis keyboard and use them in the Glorious keyboard which at least to my knowledge is hotswappable?

Thanks in advance!

7

Hello everyone! First off, I need to mention that my background is in Computer Science (this project is actually for my thesis) and not in Electrical or Computer Engineering. As such, everything I've learned has been largely on my own, within the past few months.

That being said, I would feel more confident if an experienced set of eyes could take a look at my schematic and let me know if anything pops out as wrong/bad practice. Furthermore, with regards to the decoupling capacitor on the DS3231M RTC module (C1 on the schematic) I have a question: Would there be any problem if I use an electrolytic capacitor instead of a ceramic one? I read some stuff about the topic and people recommend using ceramic capacitors most of the time (I think) but others say that there shouldn't be a problem to use an electrolytic capacitor. I'm asking because I've already placed an order for parts, and one of them is this assorted set of electrolytic capacitors.

Please if you notice any mistakes or things that are not done the best way let me know, and try to explain why as simply as you can. As I said, I don't have a background in EE, even though it highly interests me and I want to learn.

Here is the schematic:

Many thanks in advance!

5
submitted 1 year ago* (last edited 1 year ago) by promitheas@programming.dev to c/archlinux@lemmy.ml

Hello once again lovely people.

I am trying to setup bluetooth on my laptop, and Im using blueman as a frontend. I can see the earbuds, can attempt to connect to them, but I get a dunst notification as follows:

(A) Bluetooth Pairing request for:
Fairbuds (20:24:04:08:65:C6)
Confirm value for authentication:
xyzpqr

In the rofi-dunst documentation it mentions symlinking rofi to dmenu which will achieve the same result as calling rofi with the -dmenu flag. I have done that.

As such in my dunstrc file, I have the default line (which should work after symlinking rofi to dmenu):

dmenu = /usr/bin/dmenu -p dunst

However, when I try to connect to the earbuds and click the dunst notification I get the following rofi window:

(Sorry, for some reason while that window was open I could not take a screenshot)

Any ideas how I can connect and authenticate to bluetooth devices?

Thanks in advance!

EDIT: So I just tried again on my laptop (after a restart of course after so many days) and it works. It gave me a dunst prompt with 2 options - confirm or deny. Selecting confirm connected them automatically. Not sure why it needed a restart though as I was refreshing my bspwm after every change I made last time I tried. Anyway, should be all good now.

1
submitted 2 years ago* (last edited 2 years ago) by promitheas@programming.dev to c/fairphone@lemmy.ml

I've been waiting patiently for the FP5 with /e/os to get back in stock (the one with more RAM and storage) and I just got the notification email a couple hours ago that it finally is! However when I tried to check out my cart and enter my address, for some reason my country (Cyprus) was not on the list of available countries. I looked into it a bit further and on the fairphone site they have this:

Lithium-Ion batteries are bound to shipping restrictions as they are regarded as dangerous goods, so we are unable to transport them via air freight. This limits us from certain island destinations. We also avoid air freight entirely for our European deliveries to reduce our carbon impact.

https://support.fairphone.com/hc/en-us/articles/17121765976849-Shipping-Costs

Ok, it might be the case and their hands are tied and they cant do anything about it. But looking on Cyprus' postal service site they have a section dedicated to prohibited items which is as follows:

Cyprus Post does not undertake the handling and transportation of items contained in the UPU List of Prohibited Items valid at the time, such as: radioactive materials, infectious substances, sensitive biological substances, explosives, flammable substances, corrosive material, narcotics, compressed gas and any other article whose transportation is prohibited by the International Air Transport Association (IATA) and the International Civil Aviation Organisation (ICAO). Cyprus Post has the right to check the item using any method or means, including the opening of the package in order to prevent the transportation of prohibited goods.

Items containing lithium batteries cannot be accepted for dispatch using the traditional postal services. They can be sent using the Courier service QuickPost which is provided in cooperation with DHL Cyprus Ltd.

You should also note that every destination country has its own rules regarding the importation of goods. If in doubt, please ask the Service Agent at the Post Office.

https://www.cypruspost.post/en/faq-prohibited-items

That in addition to me having ordered mobile phones from abroad into here before, makes me think there is something else going on that is preventing fairphone from shipping to Cyprus.

I must admit I'm quite annoyed, because we are a member of the European Union and it feels a bit exclusionary to not get the same benefits other countries get.

That being said, does anyone know the true reason for this restriction? Is it actually a mistake on FPs side, or some weird legislation in Cyprus?

This post is half rant, half genuinely wanting to find out what the issue is, thanks for reading this far :)

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

The other comments do a good job explaining why you would go with X or Y distro based on your requirements. What I want to do is give you a general recommendation/piece of advice based on a feeling I get from reading your post that, that you are not excluding the possibility of tinkering with your system at some point in the future to get it less bloated and more streamlined to your use case (please absolutely correct me if I'm wrong about my interpretation).

As such, I think if your current computer has the ability to reasonably run Mint you should go with that. The reason is that it simply works most of the time without much hassle. As someone new to Linux, that's a big part of the transition. A lot of stuff is new, so there's no need to force extra complexity on top. You have the ability to dabble in said complexity even with Mint, but its not required, and while I am dying to recommend Arch to you having read that your PC is a bit on the less powerful side (the meme is real guys), I don't think its a productive use of your time nor a healthy level of stress to deal with at this point of your "Linux progression". That's why I recommend Mint; make the transition, have the ability to slowly and eventually play with your system to an increasing degree as you get more comfortable with everything, but don't handicap yourself from the get-go. Eventually, if you do decide to go with a distro which gives you more control in exchange for higher experience/knowledge/tinkering then you should have a solid foundation of skills to build on.

tl;dr: I recommend Mint so you get used to Linux, looking up solutions online, using the tools (commands) available to you to diagnose problems you may encounter, and if you decide its good enough for your use case - stick with it. If you want more control, think of it as a learning experience which will allow you to at some point delve into the more hands-on, complex distributions.

1

I've been checking the page linked above every day hoping the bigger spec version of the FP5 (more ram+storage) with /e/os preinstalled will be back in stock, but for the past month or month and a half its remained out of stock.

I would like to make the switch as soon as possible, but I'm not sure when it will be back in stock. Just so I have a complete and well-informed picture of my options, would it be possible to have a tl;dr of the comparison between the preinstalled version and the stock version where I put /e/os on it myself? I'm talking about stuff like warranty voiding, issues with the install process, etc...

Thanks in advance!

p.s. Anyone have any idea when it will be back in stock? :p

5

inb4 why youtube link when piped exists I have been struggling to find a piped instance that works recently. The instances I've tried are either Bad Gateways, dont exist at all anymore, or their search box just doesnt work (I type something in and hit enter/click the search button and just nothing happens)

1

Hey everyone, glad I found a Fairphone community on here!

My current device's screen is broken (not unusable, but does cause problems and I was planning on switching anyway) and I want to get the FP5 with /e/os preinstalled (dont want to bother with doing it myself, I know thats an option). Im just wondering how long I can expect to wait for it to be back in stock. Its been listed as unavailable on their store for a while now.

If anyone knows from past experience generally how often they restock them that would be amazing to let me know!

Thanks in advance!

25
submitted 2 years ago* (last edited 2 years ago) by promitheas@programming.dev to c/degoogle@lemmy.ml

Hello guys! A few days ago my current phone fell flat on its screen and it cracked. It's still usable, but its already quite old, and I've been wanting to switch to Fairphone because I like what they are doing as a company, and I like that I can get a device with a degoogled OS directly from them.

However, currently only the 128GB/6GB storage/ram version of the /e/os Fairphone 5 is in stock.

I mainly use my device for media (youtube -> free alternative, stremio, ebooks, etc), calls/texts, and texting through internet messenger apps.

Finally, my question: do you guys think I should wait for the 256GB/8GB version to be back in stock, or just get the currently available one. I don't play mobile games so I dont need anything fancy in that regard.

It is worth it to note that my current device has 128GB storage but 8GB ram, which is more what I am wondering about whether it will be enough. I don't want it to be unusably laggy a few years down the line, I plan on having my next device for at least 8 years, more if possible.

Anyway, thanks for all the help in advance!

Edit: will wait for the 256GB/8GB version to be back in stock. Thanks for all the advice!

9
submitted 2 years ago* (last edited 2 years ago) by promitheas@programming.dev to c/archlinux@lemmy.ml

Hey guys, up to a few days ago it was working fine, i.e. it wouldn't go to sleep ever. But probably some update or something else changed and now after 13 minutes my pc goes to sleep.

I read the power management/suspend page in the arch wiki, and now have the following:

# /etc/systemd/sleep.conf
[Sleep]
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no

as well as:

# /etc/systemd/logind.conf
[Login]
HandleSuspendKey=suspend
IdleAction=ignore
IdleActionSec=0

(that last one I dont remember where I got it from)

I tried masking systemd targets, but after waiting without touching anything it still went to sleep after 12-13 minutes.

$ systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Notice in the command below I have xfce4-power-manager (though it looks different than on my laptop) but I dont see it in control of sleep itself, but rather upower and NetworkManager control sleep.

$ systemd-inhibit
WHO                 UID  USER PID  COMM            WHAT                                                                       WHY                                       MODE
NetworkManager      0    root 734  NetworkManager  sleep                                                                      NetworkManager needs to turn off networks delay
UPower              0    root 1149 upowerd         sleep                                                                      Pause device polling                      delay
xfce4-power-manager 1000 user 1053 xfce4-power-man handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch xfce4-power-manager handles these events  block

3 inhibitors listed.

I looked at the manual for upower as well as its wiki page but couldn't see anything about enabling/disabling/handling suspends in any way and after further reading it seems it doesn't directly handle suspends/hibernates, just informs stuff like systemd about power levels and such.

As for NetworkManager, does it really have the ability to force a suspend?

It gets really annoying when trying to watch a movie, or when I'm afk in a game but still want to keep an eye on it.

Can anyone please help me? Thanks in advance!

System info: Kernel: 6.12.10-arch1-1 DE/WM: bspwm

Edit: Checked both BIOS settings (Couldn't find anything related to power saving) and the settings for the monitors themselves (no power saving features there either). How would I check to see if it is indeed just the monitors going to sleep, and by extension how would I fix it?

My MoBo: ASUS ROG STRIX B550-F Gaming

8
submitted 2 years ago* (last edited 2 years ago) by promitheas@programming.dev to c/diysimulators@discuss.tchncs.de

Should I just buy the cheapest PS3 Eye camera from ebay and see whether I get the flat lens or round lens, and proceed accordingly?

Its a real hassle to determine if its a flat or round lens from the photos people upload on ebay, as they're not very good quality.

Edit: I found a really cheap one on ebay which was at auction and got the highest bid (it was a little over 4 euro with another 4 shipping, so honestly not bad at all). When it arrives I'll try out the steps in the video and report back here I guess. Hopefully it can help people when buying these cameras to not struggle looking for the rounded lenses and worry that if they dont get that one they cant do their project.

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

Whats alt-tech?

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

After the situation with his former employee (i forget her name) coming out and exposing how toxic of a work environment that company is, i completely stopped watching (not that i was a regular viewer before) and do not give their vids the slightest bit of my time

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

I think it refers to producing a single baby, rather than just a baby every month

view more: ‹ prev next ›

promitheas

0 post score
0 comment score
joined 3 years ago