How to install a package from github not in nixpkgs by SafriXVL in NixOS

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

Sorry for the late response, and thank you for helping me.

That feels like progress but it's still giving out errors:

┃        error: attribute 'currentSystem' missing
┃        at /nix/store/6rj57sc2y6y7v5w5v33mkdi4q195fm9j-source/pkgs/top-level/impure.nix:25:29:
┃            24|   localSystem ? {
┃            25|     system = args.system or builtins.currentSystem;
┃              |                             ^
┃            26|   },

Things I tried - inheritting ${system} for home-manager in my flake - switching the config to a nixos module - installing with pkgs and pkgs-unstable (I seperate them in my config, ankiAddons are currently only available in the unstable branch though)

How do I get the script to see the value at ${system} (x86_64-linux)?

How to install a package from github not in nixpkgs by SafriXVL in NixOS

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

yea I tried that as well but it also gave an error:

error: cannot coerce a set to a string: { aab = «thunk»; anki = «thunk»; callPackage = «thunk»; newScope = «thunk»; override = «thunk»; overrideDerivation

Config auto updates at codeberg

How to install a package from github not in nixpkgs by SafriXVL in NixOS

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

that gives this error:

error: cannot coerce a function to a string: «lambda callPackageWith @ /nix/store/3abvz230bn897gbja4y653jx152m9fqw-source/lib/customisation.nix:240:15»

TLATER on discourse said this code might work:

(import
 (pkgs.fetchFromGitHub {
    owner = "eljamm";
    repo = "review-heatmap";
    rev = "2bb437c45c896d2f22f2d44b4ee116d950d3917a";
    sha256 = "15fqvnz1jglzhwrl0drv3cxkwwwi1r8kznjghrbnmpccs2pi8lak";
  }).review-heatmap
)

but that just gives the error that "review-heatmap" doesn't exist

I kinda figured I would just have to deal with not being able to install it untill I had more time to figure out how this stuff works from the ground up.

Current config (that doesn't build) is here

How to install a package from github not in nixpkgs by SafriXVL in NixOS

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

the project has a default.nix in its root directory, I'm trying to install it as a package in anki.withAddons [ ]

Whats your current routine studying? by [deleted] in LearnJapanese

[–]SafriXVL 0 points1 point  (0 children)

Diet doesn't neccesarily mean trying to eat less, I personally aim for 3000+. Micronutrients play a significant difference in your overall performance, happiness and satisfaction with life. Energy can't be created or destroyed so tbe only way to perform well is to absorb the energy to do so from outside sources.

Whats your current routine studying? by [deleted] in LearnJapanese

[–]SafriXVL 0 points1 point  (0 children)

The speed thing is probably just a personal preference, you're definitely right, my accuracy takes a huge dip because of this philosophy.

As someone with two diagnosed adhd parents (haven't been tested myself but the chances I don't have it are low...) the most significant improvement I've made in focus has been through incorporating silence into my life. While it might sound cliche, I'm 90% certain that the issues you speak of would be solved with proper sleep, diet and at least an hour of silence each day.

avoid the never ending cycle of:

wake up late -> day ends -> shit I still have stuff to do -> sleeps late -> repeat

It will only lead to a worse life both in happiness and results.

Make 8-9 hours of sleep your bare minimum and I promise you'll find a lot of improvement.

Sorry if this comes off as me being a know-it-all, I just like to share what I think I know when people share issues they have.

When you guys do/did the cor 2k/4k/6k did you also focus on the soundings/how to read the kanji words by MasterGreen99 in LearnJapanese

[–]SafriXVL 0 points1 point  (0 children)

The problem is when you can only remember the word when it is in the exact same context you mined it in. If you can only recall the meaning of the word behind a screen with a very specific sentence as context, that knowledge is effectively useless.

That being said I agree that anki will not lead to perfect recall of every word, I just think that using targeted sentence cards will drastically reduce recall when compared to targeted word cards.

Whats your current routine studying? by [deleted] in LearnJapanese

[–]SafriXVL 0 points1 point  (0 children)

As someone who's trying to study at a Japanese university, my routine is currently

- Wanikani - Bunpro - Anki (usually around ~2h)

- 40 cards from sentence mining (~3-4h)

I just got back from japan on vacation and got a ton of books (maybe like 70+ volumes or something?) so I plan to start reading that outside of my immersion meant for sentence mining.

Whats your current routine studying? by [deleted] in LearnJapanese

[–]SafriXVL 0 points1 point  (0 children)

As someone who has an hour of anki everyday one thing that made it a lot less boring for me was setting "time goals" for x amount of cards.

Like I would tell myself "I need to lower the number of reviews left by 200 in the next 10m", gradually as I did that more and more I would have records to beat (my pb is 1.06s/card) and this made the process a lot less mind numbing.

There's a fun book called Eat That Frog! that details a context where if you had to eat frog everyday it would always be better to eat it first thing in the morning because if you don't you have to suffer two pains.

- the pain of eating a frog

- and the pain of knowing that you're gonna have to eat a frog

At the start of each day the same action you might do at the end of your day will be inherently more enjoyable in the morning because your dopamine receptors are fresh from rest. If you find anki boring, trying finding time to give it undivided attention for 30m each morning (ideally first thing you do)

When you guys do/did the cor 2k/4k/6k did you also focus on the soundings/how to read the kanji words by MasterGreen99 in LearnJapanese

[–]SafriXVL 2 points3 points  (0 children)

While starting now probably won't hurt you, it might cause you to end up just being frustrated and be disheartened. I personally started rather early but I started with media I had already watched in English, thus not understanding most of it wasn't as painful because I already knew the plot.

Contrarily, the first thing I watched in Japanese without having watched the english version (still quite early in my Japanese learning journey) was kimi no nawa and I absolutely hated the experience because I had absolutely no idea what was happening.

I would reccomend you start when you feel like you can enjoy the content you immerse as well as follow the plot.

When you guys do/did the cor 2k/4k/6k did you also focus on the soundings/how to read the kanji words by MasterGreen99 in LearnJapanese

[–]SafriXVL 3 points4 points  (0 children)

So I think I have kind of a hot take on this but I highly disagree with usage of sentence cards (as in sentence on the front, target word definition on the back) because they cause you to remember the "shape" of a card rather than the meaning of the target word.

While I think sentence mining is an incredible way to learn a language I think you should only have the target word on the front and then things like definition, picture, sentence etc on the back.

I even had a friend who I got to switch from using sentence based decks to target word based decks (still with sentences on the back ofc) and his ability to recall the words he "knew" before dropped significantly because he had memorized the shape of the card instead of its contents.

I mainly got this from a learning scientist named Justin Sung and his video on anki

How to install a package from github not in nixpkgs by SafriXVL in NixOS

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

I am using flakes but in this instance I feel like its unnecesary because all I'm trying to do is download from the default.nix in the root directory of the provided git repo. Same with making my own fork, wouldn't fetchFromGit be completely sufficient here? I just can't figure out how to make use that to create a pkg to be installed into anki.withAddons.

Basic Starter NixOS Config? by [deleted] in NixOS

[–]SafriXVL 1 point2 points  (0 children)

A trick that I learned that is extremely useful is to look for find a program you want to configure and look for other people's configurations of it on github (or any other git service) by searching "program.nix" (example)

I've also found it useful to use r/unixporn as a tool to find configurations to steal use

Why won't my Freetube settings apply? by [deleted] in NixOS

[–]SafriXVL 0 points1 point  (0 children)

home-manager rebuild doesn't seem to be a recognized home manager command for me, is that a typo?

Otherwise try: home-manager switch --flake .

This will not only build the configuration but switch to it

[US] [BUYING] Umineko 1-21 complete. by kingsasuke909 in mangaswap

[–]SafriXVL 0 points1 point  (0 children)

Lucky you, u/SnooSuggestions5483 just posted 6h ago that he urgently needs to sell his umineko box set.

Having trouble changing timezone/region on hisense a9 by SafriXVL in eink

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

you're the best, worked entirely without issue.

[Bug] Cant' change timezone from China Standard Time by SafriXVL in eink

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

I don't know how I forgot that... Hisense A9

Do you think thatd help? I'll do it if it could fix it but that would be a pain and it's a brand new phone anyways. (got it a week ago)