HackerTrans
TopNewTrendsCommentsPastAskShowJobs

zeitlupe

no profile record

Submissions

Design patterns you should unlearn in Python

lihil.cc
107 points·by zeitlupe·12 месяцев назад·105 comments

comments

zeitlupe
·10 месяцев назад·discuss
From time to time I am peeking over from VS Code to PyCharm and recently I have been surprised how much it seems to fall behind. No (official) ruff integration, you have to use 'External Tools', which is not part of the backup&sync feature. Seriously?
zeitlupe
·11 месяцев назад·discuss
q3dm6
zeitlupe
·2 года назад·discuss
hunter2 still gives me a smile
zeitlupe
·2 года назад·discuss
It reminds me of long-gone times where the web was about sharing easy fun like this instead of viral marketing and influencers.
zeitlupe
·2 года назад·discuss
To me, the most difficult part about quitting youtube, twitter or reddit is that these websites are incredibly rewarding and an incredible waste of time at the same time. Reddit has great discussions on careers, hobbies, whatever you do not stumble upon elsewhere, but the rewarding content unfortunately always comes in packs with some mindless scrolling and mediocre memes – I've never managed to have one without the other. Quitting them means to forfeit a huge, valuable chunk of input and I am yet not sure what's better.
zeitlupe
·3 года назад·discuss
The problem with multiple monitors for me is that you have to turn your head very wide to look onto the adjacent screens' center, which is definitely not ergonomic and healthy.

That being said, it is still my current setup as this wide turn holds me off from looking at the second screen, where slack and other distracting stuff is placed.
zeitlupe
·3 года назад·discuss
https://en.wikipedia.org/wiki/Endowment_effect
zeitlupe
·3 года назад·discuss
I thought Jupyter Notebook has been superseded by Jupyter Lab. What reason is there to prefer Jupyter Notebook over Jupyter Lab?
zeitlupe
·3 года назад·discuss
Mind sharing what the diagnosis entailed for you to have such an impact? Medication, strategies, cognitive therapy? Relieve in the sense of "everything makes (more) sense now"?
zeitlupe
·3 года назад·discuss
Imho the problem with LaTeX CVs is that they all look bleak and the same because it is (on purpose) tedious to create anything except the standard format.
zeitlupe
·3 года назад·discuss
Spark is my favorite tool to deal with jsons. It can read as many jsons – in any format located in any even nested folder structure – as you want, offers parallelization, and is great to flatten structs. I've never run into memory issues (or never ran out of workarounds) so far.
zeitlupe
·3 года назад·discuss
> I have noticed some differences in engineers who have gone through bootcamps

How do they differ?
zeitlupe
·3 года назад·discuss
Some more thought in the same direction: https://dataengineeringcentral.substack.com/p/whats-all-the-...
zeitlupe
·3 года назад·discuss
I do not fully get the speed argument. If the dataset is small'ish, it does not significantly matter (given you only use the vectorized functions, of course). And if it's big data, I do not use pandas but Spark/a cloud data warehouse solution. For this reason I also do not get the use case for duckdb.

Beyond this, a dataframe api/syntax, compared to SQL syntax, is to me way easier to follow and to debug.