Readit News logoReadit News
CiTyBear commented on Hyperflask – Full stack Flask and Htmx framework   hyperflask.dev/... · Posted by u/emixam
CiTyBear · 5 months ago
Curious choice of backend python. Indeed Flask is a famous python framework but it seems it has been completely overshadowed by FastAPI. I would suggest "HyperFastAPI"
CiTyBear commented on RubyMine is now free for non-commercial use   blog.jetbrains.com/ruby/2... · Posted by u/bartekpacia
CiTyBear · 6 months ago
> It’s important to note that, if you’re using a non-commercial license, you cannot opt out of the collection of anonymous usage statistics.

Important indeed. This is not "free as in freedom"

CiTyBear commented on Show HN: We built the fastest spreadsheet   rowzero.io... · Posted by u/gamegoblin
CiTyBear · 2 years ago
Looks really nice. Too bad you take businesses into hostage regarding the SSO. This is even one one the main argument in your Enterprise plan. I know this is common behavior but I find it sad to have such an important security feature proposed only on latest plan.

Hope this trend will end soon.

CiTyBear commented on LazyVim   lazyvim.org/... · Posted by u/tambourine_man
_mis1 · 3 years ago
> Everytime I test vscode, it does not do what I want and when I look into it, I can't configure it correctly. Vim has always my back.

Can you expand on this? What specifically does not work for you on vscode?

CiTyBear · 3 years ago
I don't believe in 10x programmer and know this term only from HN. I live in France and after 10years programming, I never heard a collegue said "I am a 10x programmer". However, I always make sure any git project can be worked on with any IDE. I use vim, some use PyCharm and most of them use VScode and it works fine.

However, I can tell you my main pain point in using VS code vs vim: project switching. Many times I have to go quickly to another project and close it. When I code in vim this this :

ctrl+Z (go back to term) workon project_2 vim ctrl+P (select the file I need to see or quickly edit or show to a colleage to explain) :q! (let's say I didn't edit anything) fg (Go back to my main task)

Did not know how to be that fast to open/close project with a _real_ IDE.

To oppose this, there is one feature I envy of vs code: code in docker through ssh seamlessly. Unfortunately this is not even available in vscodium.

CiTyBear commented on LazyVim   lazyvim.org/... · Posted by u/tambourine_man
CiTyBear · 3 years ago
Many people complain about the time you need to have a proper vim. In computer security, I learnt to make my own tools, to develop my own script that match what I want to do/scan.

For vim, this is exactly the same. I started with Python so my vim became the best Python IDE (for me) and that's all. What I said to junior dev is "Here my vim conf, you are allowed to copy/paste only what you understand". Then I did some Typescript and added a configuration that works for me. Thus, some pain point came from my old config in python, I found new good plugins and added them. And so on with rust and ruby. Everything is commited so now, on a new machine, it takes me the time to copy/paste my config and write :PlugInstall.

Everytime I test vscode, it does not do what I want and when I look into it, I can't configure it correctly. Vim has always my back.

CiTyBear commented on Discovering Azure's unannounced breaking change with Cosmos DB   metrist.io/blog/how-we-fo... · Posted by u/jmartens
CiTyBear · 3 years ago
Breaking changes are very common with Python Azure SDK. First version where not pep8 compliant so when they decided to respect it, everything broke. Azure servicebus in python went from version 0.50.3 to 7.0.0 with almost everything renamed, class moved and so on.
CiTyBear commented on Using Mypy in Production   notes.crmarsh.com/using-m... · Posted by u/charliermarsh
ljvmiranda · 4 years ago
Same. How do you use pylint for unit testing? I only use it in my IDE.
CiTyBear · 4 years ago
Sorry, I meant linting. Editted
CiTyBear commented on Using Mypy in Production   notes.crmarsh.com/using-m... · Posted by u/charliermarsh
CiTyBear · 4 years ago
Really like Mypy. I have coded many python micro service with different framework but my minimum core set is:

  - Black (formatting)
  - Isort (import order)
  - MyPy (typing)
  - Pylint (linting)
Edit: s/unit test/linting

CiTyBear commented on Paperback: An encrypted paper-based backup scheme   github.com/cyphar/paperba... · Posted by u/g0xA52A2A
CiTyBear · 4 years ago
One use case it is you can share different number of key shard to individuals. Thus, they have more "power" based on how much you trust them.

If this is your will, you can give 3 shards to your sister (that you trust absolutely) and requires 4 shards to decrypt it. Your "semi-trusted" friends needs to be 4 to decrypt it, but your sister only needs to know one of your friend to access.

Written in rust for extra HN creds /s

u/CiTyBear

KarmaCake day348March 26, 2018View Original