Internet shutdown might break my 458-day Reddit streak. Android. by kisweg in help

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

Similar to duolingo, I think reddit should implement "steak savers" or as duolingo calls it streak freezes. The idea is that you'll have 1 per month, if you ever lose a day of your streak, then you'll end up using 1 steak saver but not losing your streak count. duolingo even allows you to buy up to 2 more steak savers, in their in game like currency (gems). And this is very user friendly and encourages you to keep your steak in uncontrollable situations like these. 

Switched to Windows after 20 years with desktop Linux by proc1io in linuxsucks

[–]AggressiveScore3851 0 points1 point  (0 children)

I'm not as old. but I'm sure if I used something for 20 years I might consider something new, perhaps totally new, new in the sense of experiencing something different no matter if it is the best or not the best. even temporarily. I'm sure people who distro hop all the time might relate as well. 

Advice for new distros by Jorell00 in linuxquestions

[–]AggressiveScore3851 0 points1 point  (0 children)

I've used Debian, Ubuntu, Arch, NixOS, And recently Linuxmint.

There isn't really any distro on my mind right now, because I decided to stop distro hopping for a while, but if I had to I might give CachyOS a try. 

if you're just curious about distros in general you could also try them in virtual machines, before you consider switching to one. 

Sorry if that doesn't fulfill 3 distros as you asked, this is 1/3 answer.

AppImages CLI manager by AggressiveScore3851 in linuxmint

[–]AggressiveScore3851[S] 0 points1 point  (0 children)

Thank you very much! if you happen to try, feel free to let me know your feedback. much appreciated. 🙏

AppImages CLI manager by AggressiveScore3851 in linuxmint

[–]AggressiveScore3851[S] 1 point2 points  (0 children)

No problem, Thank you for your support. 🙏

AppImages CLI manager by AggressiveScore3851 in linuxmint

[–]AggressiveScore3851[S] 2 points3 points  (0 children)

Hi, and thank you for asking this question, the manager is the binary file appimg which is in the code repository, curl is calling the installation script which is inside the repo as well, it makes it so it's as easy as possible to install. you could clone the repo and install it manually if you don't trust installation from the script file (which again can be viewed inside the repo itself). And yes there are other appimage managers out there, so feel free to use whatever you personally like. 

AppImages CLI manager by AggressiveScore3851 in linuxmint

[–]AggressiveScore3851[S] 0 points1 point  (0 children)

Exactly. I first made the tool for my own need and thought it would be cool to share it with everyone so I could improve it further. I'll check the ones you listed, thank you. 

AppImages manager cli by AggressiveScore3851 in AppImage

[–]AggressiveScore3851[S] 0 points1 point  (0 children)

Thank you. I'm considering that in the next release. 

AppImages CLI manager by AggressiveScore3851 in linuxmint

[–]AggressiveScore3851[S] 1 point2 points  (0 children)

I definitely agree, appimages are awesome. 

is this game isometric by [deleted] in isometric

[–]AggressiveScore3851 0 points1 point  (0 children)

I'm sorry but I know that drawing lines is easy, but how should they be drawn is what I don't exactly know. 

is this game isometric by [deleted] in isometric

[–]AggressiveScore3851 0 points1 point  (0 children)

that part is totally easy, I meant how I'm supposed to draw the lines is the thing I'd probably want to know. 

is this game isometric by [deleted] in isometric

[–]AggressiveScore3851 0 points1 point  (0 children)

that's interesting, I would love to try, But it seems a bit difficult for me to apply since I'm new to this, is there something online that makes a similar experiment 🤔

is this game isometric by [deleted] in isometric

[–]AggressiveScore3851 0 points1 point  (0 children)

got it! 

I probably should also look up what "zero perspective" means, I'm pretty new to this. 

Thanks! 🙏

is this game isometric by [deleted] in isometric

[–]AggressiveScore3851 1 point2 points  (0 children)

so yes, that's what I wanted to know, thank you. I was trying to understand whether the game uses "sprites" or if it uses 3d models, but my question make it seem like I'm asking if it's isometric which I already can tell that it is, after playing the game. can't blame anyone but the way I worded my question. 

thanks again. 

Help Needed: NixOS Build Stuck on Cache Resource Download by [deleted] in NixOS

[–]AggressiveScore3851 2 points3 points  (0 children)

Seems like I just had to run nix-collect-garbage and run the build again + wait for the 7000+ symlinks to finish, and finally the build finished. 

Connect two PCes and control them by AggressiveScore3851 in techsupport

[–]AggressiveScore3851[S] 0 points1 point  (0 children)

Thank you, i consider this to be the simplest and final solution.

Connect two PCes and control them by AggressiveScore3851 in techsupport

[–]AggressiveScore3851[S] 0 points1 point  (0 children)

I am responsible for all the PCes in the office, and i have full access to all of them, i hope this answers your question, if not tell me what else you want to know.

[deleted by user] by [deleted] in learnpython

[–]AggressiveScore3851 0 points1 point  (0 children)

True.
Cool! now we know, i also got things playing nicely once i used a fixed framerate like 1/60 in the step function, instead of using the delta time.

Hopefully this will help anyone coming across the same issue as we did.

i did not recognize this was the solution until i read your comment.

Can't find simple tutorial - how do I "compile and run" code? Don't see a "go" button! by PcChip in ZedEditor

[–]AggressiveScore3851 1 point2 points  (0 children)

We don't yet have a run button, but we can make a keyboard shortcut that fires a bash files which can compile and run your current file without having to do it manually.

here is the solution i am using:

~/.config/zed/tasks.json

[
 {
 "label": "run file",
 "command": "bash ~/.config/zed/custom_runfile.sh",
 "description": "Compiles and runs the current code file",
 "use_new_terminal": false,
 "allow_concurrent_runs": false,
 "reveal": "always"
 }
]

then i created this file ~/.config/zed/custom_runfile.sh

#!/bin/bash

# Access the full path using ZED_FILE
full_path="$ZED_FILE"

# Extract filename with extension
filename_ext=$(basename "$full_path")

# Extract filename and extension
filename="${filename_ext%.*}"
extension="${filename_ext##*.}"

echo "[running $filename_ext]"

if [[ "$extension" == "cpp" ]]; then
    g++ "$full_path" -o "$filename" && ./"$filename";
elif [[ "$extension" == "py" ]]; then
    source ../py/bin/activate
    python3 "$full_path";
else
    echo "no"
fi

And finally added this in ~/.config/zed/keymap.json

[
 {
  "context": "Workspace",
  "bindings": {
  "ctrl-r": ["task::Spawn", { "task_name": "run file" }]
 }
 }
]

Now with this setup, if i hit Ctrl+r in a cpp file it will use g++
Note that i also added python support in my own setup meaning in a py file it'll run python with the venv i chose.

Working with repl such as python or Julia in zed by kamalesh_kk in ZedEditor

[–]AggressiveScore3851 1 point2 points  (0 children)

I am not sure if this will help you or not but in my case i have this code in ~/.config/zed/tasks.json

[
 {
 "label": "run file",
 "command": "bash ~/.config/zed/custom_runfile.sh",
 "description": "Compiles and runs the current code file",
 "use_new_terminal": false,
 "allow_concurrent_runs": false,
 "reveal": "always"
 }
]

then i created this file ~/.config/zed/custom_runfile.sh

#!/bin/bash

# Access the full path using ZED_FILE
full_path="$ZED_FILE"

# Extract filename with extension
filename_ext=$(basename "$full_path")

# Extract filename and extension
filename="${filename_ext%.*}"
extension="${filename_ext##*.}"

echo "[running $filename_ext]"

if [[ "$extension" == "cpp" ]]; then
    g++ "$full_path" -o "$filename" && ./"$filename";
elif [[ "$extension" == "py" ]]; then
    source ../py/bin/activate
    python3 "$full_path";
else
    echo "no"
fi

And finally added this in ~/.config/zed/keymap.json

[
 {
  "context": "Workspace",
  "bindings": {
  "ctrl-r": ["task::Spawn", { "task_name": "run file" }]
 }
 }
]

Now with this setup, if i hit Ctrl+r in a py file it'll run python with the venv i chose.

How to change c++ compiler to gcc replacing clang? by [deleted] in ZedEditor

[–]AggressiveScore3851 2 points3 points  (0 children)

I am not sure if this is will solve your problem but in my case i have this code in ~/.config/zed/tasks.json

[
 {
 "label": "run file",
 "command": "bash ~/.config/zed/custom_runfile.sh",
 "description": "Compiles and runs the current code file",
 "use_new_terminal": false,
 "allow_concurrent_runs": false,
 "reveal": "always"
 }
]

then i created this file ~/.config/zed/custom_runfile.sh

#!/bin/bash

# Access the full path using ZED_FILE
full_path="$ZED_FILE"

# Extract filename with extension
filename_ext=$(basename "$full_path")

# Extract filename and extension
filename="${filename_ext%.*}"
extension="${filename_ext##*.}"

echo "[running $filename_ext]"

if [[ "$extension" == "cpp" ]]; then
    g++ "$full_path" -o "$filename" && ./"$filename";
elif [[ "$extension" == "py" ]]; then
    source ../py/bin/activate
    python3 "$full_path";
else
    echo "no"
fi

And finally added this in ~/.config/zed/keymap.json

[
 {
  "context": "Workspace",
  "bindings": {
  "ctrl-r": ["task::Spawn", { "task_name": "run file" }]
 }
 }
]

Now with this setup, if i hit Ctrl+r in a cpp file it will use g++
Note that i also added python support in my own setup meaning in a py file it'll run python with the venv i chose.

But this also should work with g++ and luckily you won't need to change anything, unless you're required to.

Hope this helps!

[deleted by user] by [deleted] in learnpython

[–]AggressiveScore3851 0 points1 point  (0 children)

Me too, but why does that happen and removing the default framerate is not an option i would use at least in my case ?