doostee

joined 1 year ago
[–] doostee@programming.dev 1 points 5 months ago* (last edited 5 months ago)

Poetry2nix is your best bet imo, and read through this doc carefully . The option with pypkgs-build-requirements was how i managed to build a mid-sized django project successfully. For IDE i have a devshell set up that pulls in a configured nvim with a python LSP, formatter, debugger,... Works fine for small scripts but i would just use Pycharm in your devshell if you're on a graphical machine and then also use nix to pull in python with packages. If you use venv i think you will need to also use

[–] doostee@programming.dev 1 points 5 months ago

Oh my god this is amazing, will definitely give it a try!

[–] doostee@programming.dev 3 points 10 months ago (1 children)

This seems like it directly uses nftables rules, but ive seen a couple of aspiring Nix router repos that already offer nix module configuration like https://github.com/chayleaf/nixos-router that dont require you to be a networking expert, however it seems to be a long way off from a featureful router system. If you are after a declaratively configured router i would just go with VyOS.

24
submitted 1 year ago* (last edited 1 year ago) by doostee@programming.dev to c/programming@programming.dev
 

From a technical and legal standpoint, ignoring ethics and dignity, is there anything preventing us from scripting a scraper that recreates reddit posts in a lemmy instance? Like maybe top 50 posts of the top 20 subreddits, without comments. I think it would help convince people to join, since the major argument for sticking with reddit is that it has more content. Thoughts?

 

From a technical and legal standpoint, ignoring ethics and dignity, is there anything preventing us from scripting a scraper that recreates reddit posts in a lemmy instance? Like maybe top 100 posts of the top 50 subreddits, without comments. I think it would help convince people to join, since the major argument for sticking with reddit is that it has more content. Thoughts?

[–] doostee@programming.dev 7 points 1 year ago (2 children)

With great power comes a steep learning curve.