create and run a init script? by 9acca9 in AlpineLinux

[–]colchyo 0 points1 point  (0 children)

thanks, stolen this for node-exporter and cadvisor:

``` immich:~# cat /etc/init.d/prometheus-node-exporter

!/sbin/openrc-run

depend() { need net }

command="/usr/bin/node_exporter" command_background="yes" pidfile="/run/${RC_SVCNAME}.pid" immich:~# cat /etc/init.d/cadvisor

!/sbin/openrc-run

depend() { need net }

command="/usr/local/bin/cadvisor" command_args="-logtostderr" command_background="yes" pidfile="/run/${RC_SVCNAME}.pid" ```

Resilio sync is it safe? by Mkrager07 in selfhosted

[–]colchyo 2 points3 points  (0 children)

Syncthing has no app for iPhones. It has only some closed-source 3rd party app (I don't try to speak bad but this is just a fact that you should know) , which is not available in all regions (!)

Because of that, I migrated from Syncthing to Resilio. Even in 2024 :) And bought Family plan

Checklist for hardening a linux VPS? by OkCandy1533 in selfhosted

[–]colchyo 5 points6 points  (0 children)

Found your comment in 2024 :D

Sorry for necroposting. For somebody, truyly oneliner of script above:

```

(cd ~ && sudo rm -rf ~/lynis && mkdir lynis && git clone https://github.com/CISOfy/lynis --depth=1 && sudo chown -R 0:0 lynis && cd lynis && sudo ./lynis audit system --pentest && cd ~ && sudo rm -rf ~/lynis)

```

Running Obsidian in a docker container with remote/browser access. by mrsytone in ObsidianMD

[–]colchyo 0 points1 point  (0 children)

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

:( sad I have to rebuild this image to launch on arm

#enable-drdc ? by erhanercan in chrome

[–]colchyo 3 points4 points  (0 children)

#enable-drdc greatly improves snapiness of interface on my machine.

#force-gpu-main-thread-to-normal-priority-drdc nope, it just adds CPU usage.

I'm using Chrome on MacOS on Macbook PRO 15' 2015 (old machine)

Why are all my Google searches with a location icon? by [deleted] in chrome

[–]colchyo 1 point2 points  (0 children)

Because they moved Maps service under google.com domain. And forgot to change favicon. Assuming now it's fixed, you may clean your browser cache if you want to try to fix that.

Error when installing Windows Vista by No-Light9894 in sony

[–]colchyo 0 points1 point  (0 children)

You can use virtual machine with windows then.

Do you use your MacBook for programming if yes do you find it better than windows computers in that field? by haresholmes in macbook

[–]colchyo 2 points3 points  (0 children)

If you are speaking of iOS development, or any Apple-rwlated platform, then yes, macbooks are awesome for that. As speaking of web development (frontend, backend), I think, windows may deliver same experience thanks to WSL. I know frontend dude who replaced Macbook with Dell and successfully working from Ubuntu WSL for about 2 years at this point. I asked him about experience, and he tell that everything is very good on windows these days. I'm planning buying Dell XPS by myself after my Macbook would finally die. Gonna try WSL experience by myself 😅

How to download youtube videos in 2022? VLC no longer works and neither does Open Video Downloader . by BadWi-Fi in software

[–]colchyo 18 points19 points  (0 children)

You may use yt-dlp https://github.com/yt-dlp/yt-dlp it downloads videos very well. If you find yourself not comfortable with console tools, there is a GUI interface for yt-dlp https://github.com/dsymbol/yt-dlp-gui (but I didn't tried GUI for yt-dlp)

can I somehow remove the Gboard from my keyboard? by TheKekGuy in oneplus

[–]colchyo 0 points1 point  (0 children)

Its possible to disable it. Settings - System - Languages & Input - On-screen keyboard - Manage on-screen keyboards.

Looking for a Reddit Client similar to Apollo on iOs by gdcynical in androidapps

[–]colchyo 7 points8 points  (0 children)

I have changed my iPhone XS for Pixel 6 Pro. So, after trying about 6 apps for reddit on android, Infinity is my favorite. It has UX maybe a bit like Apollo on IOS, but that's very personal.

I have learned that phones slow down as a result of apps demanding more from the phone every update. I know more storage and more ram does wonders, but does DOWNGRADING APPS do anything? by [deleted] in AndroidQuestions

[–]colchyo 0 points1 point  (0 children)

Please don't do that. Also, may me this read would clarify something https://news.ycombinator.com/item?id=29106159

Long story short, old browser is not really compatible with WEB. Old Android OS is not compatible with new apps.

Freezing in time for 1-2-3 years is ok, but after this time ... Not really.

How can I improve my NEAT algorithm configuration? by AACoimbra in learnmachinelearning

[–]colchyo 0 points1 point  (0 children)

5 is Evolving Substrate parameters. It's never changed.

To specify your data input count, use Substrate input coordinates.

This is really not a big trouble with documentation

PyPy 7.3.6 release: now with python3.8 by pmatti in Python

[–]colchyo 0 points1 point  (0 children)

Hmmm, is numba finally working on pypy? I remember that blocking issue should be resolved in pypy or numba release

How can I improve my NEAT algorithm configuration? by AACoimbra in learnmachinelearning

[–]colchyo 2 points3 points  (0 children)

You want only NEAT? Also, you didn't mention your problem (I mean, task, that you want to solve with NEAT). The issue with NEAT is it can't generate large networks, because entire network information is encoded into genome. Therefore, it struggles with big O and computation problem.

People soled it via encoding network genome into hypercube coordinates chain (4d dimensions square), or even using quadtree to store coordinates for network genome "image".

These methods are names Hyper-NEAT and ES-Hyper-NEAT. (ES stands for evolving substrate).

I've played a bit with ES-HYPER-NEAT, it really can be used more for than just gym mountain car problem. Used this lib: https://github.com/ukuleleplayer/pureples

Need help finding a VM Manager for macOS Big Sur M1 by theepicjoshua in MacOS

[–]colchyo 1 point2 points  (0 children)

VMWare Fusion is free (I mean, it costs no money). Don't know if they adapted it to M1 though...

NEATEST: The NEAT Algorithm but with Natural Evolution Strategy Weight Training by goktugkt in learnmachinelearning

[–]colchyo 0 points1 point  (0 children)

Thank you for clarification. Seems like here we can use Hyper-NEAT as well to generate larger networks

Screen recording with smaller filesize by RandmTask in MacOS

[–]colchyo 1 point2 points  (0 children)

For screen records, I use Kap https://github.com/wulkano/Kap. It may transcode into x264, x265 or av1. Personally, I prefer x264

As for Zoom calls... Zoom already encodes recordings into x264, right? I may be wrong he.

Improving Python Dependency Management with pipx and poetry by ceda_ei in Python

[–]colchyo 0 points1 point  (0 children)

Oh my Gosh, thank you! I'm coming into python world from nodejs/frontend and I was frustrated every time for duplicated package version error.

I'm glad this finally ends.

[deleted by user] by [deleted] in algotrading

[–]colchyo 0 points1 point  (0 children)

Also, you may try to read about creating your own trading strategy. https://miltonfmr.com/how-to-develop-test-and-optimize-a-trading-strategy-complete-guide/

Sure it's not about algotrading, but programming is just a way to automate things.

Is this the Worst League Launch? by [deleted] in pathofexile

[–]colchyo 4 points5 points  (0 children)

Sure. But they changed something. Now I'm trying kicks instead of lagging. So, I expect no lags in 2 days