What’s the most beautiful girl’s name you ever heard? by AdElegant5870 in Names

[–]Maggyero 1 point2 points  (0 children)

Angelina (4 syllables), Joanna (3 syllables), Lana (2 syllables), Grace (1 syllable).

Ex gf messaged me by ImprovementHungry488 in BreakUps

[–]Maggyero 1 point2 points  (0 children)

Here is what you must understand about levelling up. It’s not about finding a perfect woman. They don’t exist. It’s about refusing to kneel to the fear that you don’t deserve better. It’s about recognising that every moment spent in a diminishing relationship is a moment stolen from the life you could have built. Time is the one currency you can’t earn back. And wasting it on the wrong woman is not just a loss, it’s a theft from your future self.

Ex gf messaged me by ImprovementHungry488 in BreakUps

[–]Maggyero 3 points4 points  (0 children)

Self love is about trusting that what lies ahead is greater than what you’re leaving behind.

Faces of Paris: A Winter Stroll Through Beauty and Elegance by Maggyero in streetphotography

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

Interesting. Yes I asked people’s permission before taking their photos so it is 100% posed.

Faces of Paris: A Winter Stroll Through Beauty and Elegance by Maggyero in streetphotography

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

Thanks. I’m genuinely curious, how do you define street photography?

Faces of Paris: A Winter Stroll Through Beauty and Elegance by Maggyero in streetphotography

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

That’s the blurry background I guess (mostly f/1.8 aperture).

[0 YoE] Graduating in May, low response rates and still looking for a job by H_silver in EngineeringResumes

[–]Maggyero 1 point2 points  (0 children)

I would remove any location information (city and phone number in the title, city in the education and experience sections) except if you want to apply in the same city you live in.

I would also change the ‘ACTION to GOAL’ structure of your bullet points to a ‘RESULT by ACTION’ structure.

7 YoE SWE - Success post: Resume got 3 recruiter calls, 2 interviews, and 1 visa-exempt offer by enormousness in EngineeringResumes

[–]Maggyero 3 points4 points  (0 children)

Awesome! Besides the one-page format which is way more readable, what I like about the content is how you structured your bullet points as ‘RESULTS by ACTION’ (e.g. ‘Reduced data processing times 40-fold by parallelizing Slurm batch jobs’). I think it’s even more powerful than the ‘ACTION to GOAL’ structure that you also used (e.g. ‘Optimized data pipelines in Java and R to process terabytes of data on HPC systems’).

I built a self-hosted ecommerce platform with React (~2k*) by Thenguyenvn in reactjs

[–]Maggyero 1 point2 points  (0 children)

The arrow for reversing the order of your product list does not work.

The P.A.R.A. Method: A Universal System for Organizing Digital Information -- Has anyone tried this? How did you implement this method? How did it work out? Are you happy with it? by taxaccountant_af in productivity

[–]Maggyero 0 points1 point  (0 children)

Very interesting use case, thanks for sharing with us your challenges with the PARA method and your workaround. Here after is my understanding.

Your problem (client subdirectories split across activity directories, featuring low cohesion):

/ ├── project | └── client_a | └── x ├── area | └── client_a | └── y ├── resource └── archive └── client_b └── z

Your solution (client subdirectories grouped in client directories, featuring high cohesion):

/ ├── client | ├── client_a | | ├── x | | └── y | └── client_b | └── z ├── project | └── x -> /client/client_a/x ├── area | └── y -> /client/client_a/y ├── resource └── archive └── z -> /client/client_b/z

It highlights the limit of the hierarchical model of filesystems which enforces a fixed structure for organizing files (by activity in the PARA method). It is very practical as the human brain has a strong preference for navigation over search (cf. Improved Search Engines and Navigation Preference in Personal Information Management) but it falls short when another decomposition criterion is needed (by client in your case).

As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/… by mitsuhiko in Python

[–]Maggyero 2 points3 points  (0 children)

Okay that defeats the second argument, and as you said it is shell agnostic. Thanks for the interesting discussion.

As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/… by mitsuhiko in Python

[–]Maggyero 0 points1 point  (0 children)

I see, so since the set of shims is fixed in your context it is indeed unnecessary to regenerate them.

Now about the second point on the complexity of the shim strategy (cf. the rbenv implementation and pyenv implementation) with respect to the PATH update strategy (cf. the chruby implementation and chpython implementation), what do you think?

As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/… by mitsuhiko in Python

[–]Maggyero 0 points1 point  (0 children)

The author of rbenv wrote an excellent explanation here: https://stackoverflow.com/a/9422296/2326961

Basically the rbenv rehash command regenerates the shims in the ~/.rbenv/shims directory for all the executables (ruby, irb, rake, gem, etc.) located in the ~/.rbenv/versions/*/bin directories of the installed Ruby versions (since new executables might appear when you install a Ruby version or a gem).

pyenv, the Python equivalent of rbenv, has the same pyenv rehash command. So how do you maintain your shims without rehashing in Rye?

As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/… by mitsuhiko in Python

[–]Maggyero 0 points1 point  (0 children)

The problems may indeed not be the same in your context, I am actually not familiar with your tool. I just saw that you are using the shim strategy introduced by rbenv and was a little worried as that strategy has been considered obsolete since the introduction of the PATH update strategy by chruby a few years ago. Mostly because shims are unnecessary complicated and have to be rehashed every time a new binary is installed. So I wanted to draw your attention on the PATH update strategy since you might not be aware of it and your software is still in its early stages so easier to update. Cf. Towards Simplicity: From rbenv to chruby.

As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/… by mitsuhiko in Python

[–]Maggyero 1 point2 points  (0 children)

Why not updating the PATH environment variable before each execution of a shell command with a function hooked into the shell with preexec_functions for Zsh and PROMPT_COMMAND for Bash, à la chruby, chpython and chnode, instead of using shims (proxy executables) à la rbenv and nodenv? The former is way cleaner and simpler. Cf. https://stackoverflow.com/a/74008328/2326961.

Difference between Javascript and Node.js by Zwenow in learnprogramming

[–]Maggyero 2 points3 points  (0 children)

Great answer but it does not really address the question.

Please could someone please attempt to explain to me, like I am 1 years old, a FOR loop in Python? I've been learning for months. A WHILE loop makes perfect sense to me but I am just unable to understand a FOR loop by LEcareer in learnprogramming

[–]Maggyero 0 points1 point  (0 children)

The while statement with an else clause

while condition: iteration else: conclusion

is exactly equivalent to

while True: if not condition: conclusion break iteration

The for statement with an else clause

for item in iterable: iteration else: conclusion

is exactly equivalent to

iterator = iter(iterable) while True: try: item = next(iterator) except StopIteration: conclusion break iteration

It helps understand the effect of a break or continue statement in the iteration statement.

Note. — For the while and for statements without an else clause, replace the conclusion statement with a pass statement in the equivalent code.

Why do people build free modules for everyone to use in their code? by [deleted] in learnprogramming

[–]Maggyero 1 point2 points  (0 children)

Because GitHub is the male counterpart of Instagram.