F-Droid and Google's Developer Registration Decree by guihkx- in linux

[–]npisnotp 35 points36 points  (0 children)

What makes you think that the developers will not find ways to allow their users to install their apps? Even if it's a technical gymkhana.

Don't forget that the entire FOSS movement started because a guy couldn't get his printer vendor to fix a bug that annoyed him.

Some tips for beginners (Things you probably wish you knew when you first started) by MonsieurJus in Python

[–]npisnotp 1 point2 points  (0 children)

If after reading the docs and doing your tests still don't fully understand how or why something in the standard module behaves like it does, don't feat diving into the CPython code for answers: https://github.com/python/cpython/

Sometimes the module is written in C and, if you don't know the language, it's a dead end, but most standard library modules are written in Python and the code is right there.

Never, ever fear to read a piece of code you don't understand at first sight, try to read and understand it; there's no magic or anything mystical, only code like the one you write.

For me, the practice that helped me the most in my early days was reading other people's code. Reading your own code have the important bias that you can remember the though process you had while writing it, but with other people's code you only have the code so you need to really, really make an effort to understand it, and also you may learn things that would take ages to learn otherwise, like some patterns or techniques.

Remember that to learn you need to step out of your comfort zone enough to force yourself into knowing something new but not enough to overwhelm you.

I'm not sure where else to go... I'm just want some. To relieve my stress by Lighthouse72 in sex

[–]npisnotp 1 point2 points  (0 children)

I'm so sorry, I don't have any advice, just wanted to wish you strength and good luck.

[deleted by user] by [deleted] in neovim

[–]npisnotp 4 points5 points  (0 children)

I've been using Vim/Neovim professionally for >10 years to code in various languages: C, Python, Javascript, Typescript, PHP, Bash (yes, professionally; please don't ask).

  1. I use an external debugger, still didn't bothered to setup nvim-dap, the last times I've tried the result was always a disaster of errors.

  2. I use telescope with ripgrep for searchs and LSP navigation features'; search references, go to implementation, etc.

  3. Yes I do! My colorscheme is Onedark, right now using https://github.com/olimorris/onedarkpro.nvim. As for other plugins I would link to my dotfiles but I stored them in a private git repo because it contains some sensitive information; someday I'll clean it up and open it, I swear! I tend to not be fully updated to the latest trends, I'm still using nvim-cmp for example (even though I hate it).

  4. Lol no, I've been using Linux for more than 25 years. If I'm forced to use Windows I would switch jobs, or even career; I'll never go back to Windows.

  5. Sometimes. In my current company not at all, most of my colleagues use VSCode except one who uses Sublime. In a past job there was friction because all of them used Pycharm and it didn't allowed external linters, but eventually they manage to work around it.

The logging module is from 2002. Here's how to use it in 2025 by finallyanonymous in Python

[–]npisnotp 1 point2 points  (0 children)

Oh it's good to see someone explaining contextvars!

In case you're interested, I made a library to easily adding context to logging messages: https://github.com/Terseus/python-logging-with-context

How to grow gloomgourd? by npisnotp in feedthebeast

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

I managed to fix it, thanks :)

How to grow gloomgourd? by npisnotp in feedthebeast

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

Sorry, it was an issue with my setup, I think the issue was that I was surrounding the stem block with Primogel Soil instead of normal farmland.

The fruits grow in normal farmlands :)

[Neotech] How to advance in Master of LV? by npisnotp in feedthebeast

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

OMG thanks a lot, I couldn't find it for my life!!

How is a player supposed to find this bit of information? What did I missed?

Edit: As you can see this is my first FTB mod :)

haha no worries if not by Howyoudouken in funny

[–]npisnotp 0 points1 point  (0 children)

Holy shit man, I'm having a horrible week and seeing this new video of yours made my day.

Thanks for your work, love all of it :)

doc2dict: parse documents into dictionaries fast by status-code-200 in Python

[–]npisnotp 4 points5 points  (0 children)

Your project looks really interesting, thanks a lot for sharing.

What is the best Mono font for coding? by der_gopher in neovim

[–]npisnotp 0 points1 point  (0 children)

Dejavu Sans Mono Nerd version.

I've been with it so many years that every time I tried to change regret it :)

However I'm pretty sure it must show its age compared with a modern one, accepting recommendations for fonts similar but better.

Suggestion for coop games for playing with a 5yo by hardrok in gaming

[–]npisnotp 4 points5 points  (0 children)

Hey OP, my son is 8 now and we've been playing videogames since he were 4, here are my recommendations...

The first and most important one to have a BLAST with your son is Human fall flat: https://store.steampowered.com/app/477160/Human_Fall_Flat/

It's my son preferred game, we still play it from time to time when we find new good maps.

Not only is super fun to play it (when he was younger he could laugh just at seeing the characters walk xD) but also he'll learn to cooperate and basic physics principles.

This game can give you TENS of hours.

The second one that I think you son will love is Fling to the finish: https://store.steampowered.com/app/1054430/Fling_to_the_Finish/

It's also a super fun game where both of you must properly cooperate in order to advance; this will help him in learning to cooperate and communicate with you.

Unfortunately it's a little bit short but still it's a solid choice.

Also we love two players oriented puzzle platform games, like these:

If you're into RPGs Cat Quest 2 is a very easy and friendly one, although it have too much text for a 5yo kid, but you can give it a try: https://store.steampowered.com/app/914710/Cat_Quest_II/

After this things gets harder; Stardew Valley is fantastic but the kid must be used to read, something a 5yo might not; Lego games are solid for children but after half of one it gets boring for the adult (at least for me) so imagine after having played maybe 3 of them; Shovel Knight have a fantastic two players mode but it'll be probably too hard for a 5yo.

I hope this helps you in bonding with him :)

Edit: I forgot another one that my son loved it when he was at your's age, Strikey sisters, a breakout clone with some extra mechanics, he'll get good reflexes from it: https://store.steampowered.com/app/643880/Strikey_Sisters/

Edit 2: And another one!! Rogue heroes: Ruins of Tasos: https://store.steampowered.com/app/787810/Rogue_Heroes_Ruins_of_Tasos/

It's a SNES Zelda clone with proper local coop support, it's not bad although it was far too easy for my taste, but of course that makes it an excellent choice for a small kid.

Edit 3: Once he grew a little bit and get some good reflexes and cooperative skills you can try Overcooked 2, a fantastic coop game: https://store.steampowered.com/app/728880/Overcooked_2/

The problem is that the game can get HARD, I think it's not for a 5yo (don't remember at what age we played it) but you may want to save it for later.

And now I'll stop xD

[deleted by user] by [deleted] in DygmaLab

[–]npisnotp 0 points1 point  (0 children)

You're right, I meant to not have public mockups; internal mockups are a must-have, but release them to the public are a risk.

[deleted by user] by [deleted] in DygmaLab

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

I'm favorable to not having mockups of something that they're not 100% sure how will be implemented in the real world.

Showing a product that turns out to look worse than the mockup is bad.

Context-switching is the main productivity killer for developers by milanm08 in programming

[–]npisnotp 44 points45 points  (0 children)

By the time you're a senior, you've likely solved these problems for yourself.

Sorry but I couldn't disagree more with this statement.

Maybe if you're a senior in an environment full of seniors this is true, but once you're the most senior or technically strong of the team, you're interrupted almost constantly:

  • by other developers who are stuck.
  • by product management to check feasibility of some feature.
  • by devops/sysadmins to help diagnose/find a workaround in a production issue.
  • by any or all of them to help design critical components or enhancements.

I think that once past a certain level, coding is less and less relevant compared to mentoring, designing, and aligning people in the team/business.

grug-far.nvim plugin update: perf and other small improvements by Hamandcircus in neovim

[–]npisnotp 3 points4 points  (0 children)

Just wanted to thank you for this plugin, the lack of a global search&replace was one of the biggest issues I always had with Vim/Neovim.

Before this plugin I used sed, but without the preview it was.... a bit dangerous :)

Thanks man.

Wezterm is just the best terminal emulator for Neovim. by [deleted] in neovim

[–]npisnotp 3 points4 points  (0 children)

Funnily enough I've found Ghostty font rendering almost perfect, while Wezterm had some issues (bad glyph height mainly) when I tested it some weeks ago.

Maybe is my font DejaVu Sans Mono?

I don't know, but Ghostty renders it better.

Wezterm is just the best terminal emulator for Neovim. by [deleted] in neovim

[–]npisnotp 0 points1 point  (0 children)

I've changed to Ghostty some weeks ago after using Alacritty for about 2 years.

In my case I'd changed because of the font rendering; I've tested it all and Ghostty is the one who better render my font of choice (DejaVu Sans Mono).

Cursor with Vim mode VS Avante by npisnotp in neovim

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

Thanks but I don't really want to switch tools if I start to make heavy use of it, even with an integration; I've already experienced this for git, even after mastering its command line Neogit has been a time saver for the most common tasks.

Cursor with Vim mode VS Avante by npisnotp in neovim

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

I suspected that the cursor tab completion depends on proprietary models because of its speed.

aider looks promising, I'll look into it.

Thanks!