promitheas

joined 2 years ago
[–] promitheas 1 points 16 hours ago
[–] promitheas 3 points 16 hours ago

What have you done? What have you permitted?

[–] promitheas 1 points 16 hours ago

What does this have to do with Europe?

[–] promitheas 3 points 16 hours ago

Id support this absolutely

[–] promitheas 7 points 16 hours ago

Honestly that sounds horrible. Women scientiss?!? Whatever will they come up with next

[–] promitheas 1 points 1 day ago

Im not calling for war by any means, just saying theyre not allies. China/Russia arent allies, but that doesnt mean i want war with them. But I also dont want us to align ourselves with fascists, they have nothing good to offer, and it feels disgusting being associated with them in aby way, and hoping to regain our friendship with them.

[–] promitheas 3 points 3 days ago (2 children)

The cancelling of the email account is not the reason. Its a very small part of the reason. The reason is that the US has for decades been fascist (as I have been saying in other threads, it didn't turn fascist overnight with the election of one man), imperialist, and generally a bully. As the UK was before it (and still is, apparent from their aid to the genociders), and as all empires have been and will be. It's always been fascist just been very good at biding it's time before "going public" with it, while working from the shadows to further its own agenda.

[–] promitheas 119 points 4 days ago (16 children)

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

 

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.

 

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.

[–] promitheas 2 points 1 week ago* (last edited 1 week ago) (2 children)

This seems like an easy implementation, and I can skip the variable and just directly check the timestamp from the script i guess. My question is, if I install something, say yay -S a_single_package does that also update the timestamp of the core.db file?

 

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!

[–] promitheas 1 points 4 weeks ago

Thanks for the clarification! As I said, this is my thesis project for my BSc in Computer Science, but I'm definitely considering a more electronics focused masters, especially given the fact I'm already searching for a job in the field of embedded systems/low level stuff. Might be a good piece of paper to have in the future :)

[–] promitheas 1 points 4 weeks ago (1 children)

Thanks, I just submitted a new order for a kit of assorted ceramic capacitors. The comments in this post have been really helpful with regards to the capacitor question, I feel I understand it more now. You people are lovely :)

[–] promitheas 1 points 1 month ago

Ive got one (not the one you mentioned) which is quite good. I don't think its quite at the level of the one you said, but it should be decent.

 

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!

 

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!

 

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.

 

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 :)

 

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

 

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)

 

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 3 months ago* (last edited 3 months ago) by promitheas to c/[email protected]
 

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!

 

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

view more: next ›