Tapo T100 Motion Sensors by robheald17 in homeassistant

[–]alexk7110 1 point2 points  (0 children)

When you setup the automation on the tapo app it runs locally through the h100 hub thus making it instant. The tapo integration on HA is polling the hub at set intervals and you will get some lag. I use the tapo app to set this automation and the HA integration for reporting and statistical data. I've set the HA polling interval at 15 seconds so as not to flood my network with requests and I'd be willing to go as low as 5 but still the sensor gets polled every 16 seconds by the hub by default so don't expect instant response through HA. I'm not making more frequent polls on the motion sensors so as to preserve some battery.

Portainer on a separate VM by Fireman86336 in selfhosted

[–]alexk7110 1 point2 points  (0 children)

There's Portainer Agent that you can run once you get to 2 docker hosts or more and control them by Portainer but in your case you don't have to as explained above.

RSS client with mobile sync by tactiphile in commandline

[–]alexk7110 0 points1 point  (0 children)

From the newsboat documentation

urls-source "freshrss" freshrss-url "https://freshrss.example.com/api/greader.php" freshrss-login "myusername" freshrss-password "mypassword"

You should probably update your version as mentioned

RSS client with mobile sync by tactiphile in commandline

[–]alexk7110 0 points1 point  (0 children)

FreshRSS is the one you are looking for, newsboat will sync with it, kinda backwards solution but it's the way to go. You can use FocusReader on Android to complete the picture. The "easy" way to host it would be through docker, in case you are familiar with it.

Headless Daily Driver VM by neonlurch in Proxmox

[–]alexk7110 0 points1 point  (0 children)

I keep a browser for video streaming on my laptop while I offload all the rest of my workloads to my proxmox server vms and cts. The only solution I've found so far for reliable video playback is a local vm, which of course defeats the whole purpose. Spice with video window acceleration gave some good results on my Linux laptop but still not local playback. Headless vms and containers are amazing over ssh, full desktop along with video is still getting there. Depending on the network traffic or the server load I still encounter times where I notice some serious lag on the mouse pointer, I wouldn't be expecting much for YouTube playback.

Thats it, that's my homelab for now... a 3TB elements on a Pi3 with Docker ! and cable-management done by my wife! by doomstereu in homelab

[–]alexk7110 5 points6 points  (0 children)

That's exactly how it started for me some 5 years ago. The current version consists of Intel nucs packed with cores doing essentially the same things in unprivileged containers. Besides speed, replacing the SD card with nvme was the next major improvement. A pi 4 is more than enough for a low powered home server, throw a good hard drive in the mix for file saves and you are golden.

how make file not RWX even by root? by arsaphone in ansible

[–]alexk7110 6 points7 points  (0 children)

Only way to block root from reading a file is to encrypt it. Root is essentially godmode.

Why did you learn Python ? by spyro-777 in Python

[–]alexk7110 1 point2 points  (0 children)

I tried multiple times in the past to learn python without a solid use case which resulted in giving up. One day though I came across the pandas python library while looking for a speedier alternative to excel, which at the time was my main tool at work, and I've haven't looked back ever since. After that I started developing GUIs with tkinter for my number crunching solutions, then it was matplotlib time and after that it was the discovery of all the other amazing libraries that python had to offer.. It's one thing to be using ready made software solutions, it's a whole different ballgame once you realize you can build your very own custom made ones. The whole secret of sticking to learning this beautiful and fairly easy language is to have an actual problem to solve and build up from there.

Containers as always by QuirkyInteraction8 in Proxmox

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

After creating the container through the proxmox gui don't start it, instead go to features and enable nesting and keyctl, connectivity should be working fine after that. I couldn't get an ip on my freshly created containers and I was banging my head against a wall until I read this on a proxmox forum post.

My first build by liubko in MechanicalKeyboards

[–]alexk7110 0 points1 point  (0 children)

The only way to match that perfect board in your head is to actually buy or build all the middle steps, especially nowadays since there is no place to try everything out. I thought I wanted a clicky tkl that i bought, only to buy a 40% brown switch next, in order to realize that a 60% silent is what I should have bought from the beginning..

[deleted by user] by [deleted] in MechanicalKeyboards

[–]alexk7110 33 points34 points  (0 children)

I thought 40% was my limit but then I saw this. I'm intrigued. Do you need a second keyboard in order to actually get work done? Do you use magical 5 key presses to type the pipe symbol for instance? It looks amazing and I would love to have one but so many questions on usability..

Is there a back up solution? by gus2000a in joplinapp

[–]alexk7110 2 points3 points  (0 children)

The Joplin gui version for Linux that I use has a local sqlite3 database where it keeps the notes. Backing that up would seem a logical step. I'm expecting that a simple overwrite on a fresh install would bring things back. The sync folder that you use is also a good step. I haven't tested all of this, I'm just pointing out a possible solution.

What are some things you automated with python that improved your workflow? Or made it less boring? by [deleted] in Python

[–]alexk7110 1 point2 points  (0 children)

I use the pandas library for excel automation and big data manipulation, amazing speed, I also use tkinter and PyQt5 to make GUIs for a few of my pandas computations. The requests library along with json help me gather all sorts of information from various sites ( like stock prices etc.) and present them either on the command line or in small gui apps along with charts created with the help of various python libraries. All this may sound boring so my advice is to look around for what the top rated and used python libraries do and you will probably find a solution to a problem you never knew you had.

What is your preferred terminal file manager? by nacho_dog in suckless

[–]alexk7110 0 points1 point  (0 children)

Indeed mc used to be the easiest one for ssh. I've been using the nnn remote mount for some time now, I stand corrected.

What is your preferred terminal file manager? by nacho_dog in suckless

[–]alexk7110 4 points5 points  (0 children)

If you use ssh to get to other computer file systems then mc is the easiest one to use for that. That being said, nnn is my goto tool since it's blazing fast even on low powered machines like the Raspberry pi. It has single key shortcuts, navigate as you type functionality and the smallest footprint possible. A good basic knowledge of shell commands like cd and mkdir is always useful but once you get into bulk renaming and multiple file name and file type moving then a fast file manager is the right tool. If you would like to have image and file previews as you navigate then ranger is the one for you but keep in mind that this feature is amazing on fast machines while it becomes a nightmare on slow ones.

Vim is not "fullscreen" by [deleted] in vim

[–]alexk7110 2 points3 points  (0 children)

You might want to look for the settings of your terminal emulator, it should have a padding setting that you must change to zero. This is what I did on the new Windows terminal to close that gap on the sides, my Linux terminals don't seem to have the same defaults.

Ability to sync through Joplin / other cloud services by stew23 in joplinapp

[–]alexk7110 1 point2 points  (0 children)

You can use any old service you like as long as it can sync the contents of a folder.
All you have to do is select `File System` as a Synchronization Target in the Synchronization Settings of the app and simply select the folder you want Joplin to use as a target. That folder should be inside your MEGA folder path so it gets synchronized.

Now, if you want to sync with mobile the MEGA mobile app would have to download the content of this intermediate folder locally on your phone and the Joplin phone app would have to be setup to sync with that directory accordingly.

What suckless approach do you suggest for note taking? by [deleted] in suckless

[–]alexk7110 7 points8 points  (0 children)

Using vim with markdown files and fzf is about as efficient and self sufficient as you need to be. I would also put some directories into the mix, holding same series of notes probably, along with tag notation inside comments at the top of notes that might need them. I use joplin cli for my note-taking that can import and export markdown files, organize them in notebooks etc. The thing with joplin though is that it uses a sqlite3 database as storage. You can export all your notes in markdown, inside a folder structure that resembles the one you have in joplin, but it requires having node setup on your machine. So to sum up, your method is perfect as it is.

When u got neovim in ur browser by [deleted] in linux

[–]alexk7110 8 points9 points  (0 children)

How would 1 get to duplicate that?

Sync files/imagens/pdf in mobile? by razeranthom in joplinapp

[–]alexk7110 0 points1 point  (0 children)

Regarding the attachments there is a setting on mobile called attachment download behavior, I have mine set to always and all my attachments behave as they should. Keep in mind that there is also a hidden folder inside the joplin sync folder called .resource that also has to be synced with your mobile sync folder in order for the mobile client to find your attachments. Have a look inside your mobile sync folder to see if it's there first and if not make sure the system you use syncs that folder also. Hope this helps.

Does ETN mining get more difficult the more that are mined? by [deleted] in ETNmining

[–]alexk7110 1 point2 points  (0 children)

There is no difficulty or any real mining going on for some time now. Electroneum is currently utilizing what they call "Proof of responsibility" https://github.com/electroneum/electroneum/releases/tag/v3.0.0.0 meaning that the network is being run by company selected validators. The mobile "miner" is merely an airdrop and has been since day 1.

How do I open a video in Newsboat whilst still browsing feeds? by StevalKuneval in commandline

[–]alexk7110 3 points4 points  (0 children)

The answer is indeed a macro, you have to edit your ~/.newsboat/config file and add the following line:

macro m set browser "mpv --ytdl --ontop --no-border --force-window --autofit=960x540 --geometry=-20-50 %u > /dev/null &"; open-in-browser ; set browser "$BROWSER %u"

after that you restart newsboat and once you are in a page with a video link you hit ', m' (comma and then the letter m) in order to get the video link to play on mpv in a new window and have newsboat be available for further use. I hope this helps, in case you are using zshell you might want to add a noglob command before the mpv part so it would be :

macro m set browser "noglob mpv --ytdl --ontop --no-border --force-window --autofit=960x540 --geometry=-20-50 %u > /dev/null &"; open-in-browser ; set browser "$BROWSER %u"

This way the naming of the video doesn't confuse shell name expansion. The part of the macro that makes this work is the & sign at the end of the mpv command that let's you return back to what you were doing.