takeda's recent activity
-
Comment on Is there a programming language that brings you joy? in ~comp
-
Comment on Is there a programming language that brings you joy? in ~comp
takeda Try poetry is much better experience. Together with Nix you can lock down all the other non Python dependencies making a fully reproducible dev environment. For my own use I created this:...Try poetry is much better experience. Together with Nix you can lock down all the other non Python dependencies making a fully reproducible dev environment.
For my own use I created this: https://github.com/takeda/nix-cde it is opinionated, but it takes care of the boiler plate Nix code that is typically needed.
-
Comment on Is there a programming language that brings you joy? in ~comp
takeda You should try PyCharm it works far better with annotated code, including better refactoring. As for runtime checking, I don't think it is actually needed. I initially had a similar opinion about...You should try PyCharm it works far better with annotated code, including better refactoring.
As for runtime checking, I don't think it is actually needed. I initially had a similar opinion about it being necessary, but if you think about it. If you perform check with
mypy --strict
and you don't get any type errors why would you get them at runtime? That would mean mypy doesn't check the types correctly. Also Python is already performing type checking at runtime, this is the major reason what makes it slower, adding additional checks for the annotations will allow it down further for no real gain.A better benefit is something that originally Guido said they won't do, but they did it anyway. Is ability to complete the code to speed it up.
The mypy comes with mypyc which allows to compile Python code and speed it up. This tool compiles mypy and makes it 5 times faster. You can compile your own code with it as well.
-
Comment on Is there a programming language that brings you joy? in ~comp
takeda You can have all of that. For project management I highly recommend poetry. It takes care of pip and virtualenv so you never have to worry about them. As for typing. Since Python 3.6 type...You can have all of that. For project management I highly recommend poetry. It takes care of pip and virtualenv so you never have to worry about them.
As for typing. Since Python 3.6 type annotations were introduced. You can use mypy for your checking, but with proper IDE like PyCharm you can also get highlights of errors that typing caught (would still use mypy as it is more through), but more importantly you get correct autocompletion and refactoring will work correctly. This is why I add type annotations in every code I personally produce.
-
Comment on Is there a programming language that brings you joy? in ~comp
takeda There's a lot of reasons to not touch go. Imagine if the language developer thinks you are too dumb to grasp any advanced programming concepts. That's pretty much the experience. The only nice...There's a lot of reasons to not touch go. Imagine if the language developer thinks you are too dumb to grasp any advanced programming concepts. That's pretty much the experience. The only nice thing about the language is the approach for parallelization with using channels go routines, but that is pretty much it.
-
Comment on Is there a programming language that brings you joy? in ~comp
takeda As someone who is programming in multiple languages (C, C++, Python, Rust, TCL, Java, PHP, Lisp, Nix), Go is far from bringing joy. I think it is that attitude of its developers that I'm just too...As someone who is programming in multiple languages (C, C++, Python, Rust, TCL, Java, PHP, Lisp, Nix), Go is far from bringing joy. I think it is that attitude of its developers that I'm just too dumb to grasp any advanced programming concepts and I'm just left with simple operations and copying the code.
As for Python. I currently enjoy it the most. After typing annotations were added, I started using them everywhere. With a proper IDE like PyCharm, they allow me to catch many bugs, the auto complete works correctly and refactoring code is no longer scary (it just works). I highly recommend it. Also add poetry for project dependencies handling and the experience is awesome.
-
Comment on Iran helped plot attack on Israel over several weeks in ~news
takeda There's also concern that info that trump leaked to Russia was also used to plan this: https://www.newsweek.com/donald-trump-israel-intel-russia-hamas-attack-1833094There's also concern that info that trump leaked to Russia was also used to plan this: https://www.newsweek.com/donald-trump-israel-intel-russia-hamas-attack-1833094
-
Comment on How long a first date should be in ~life
takeda Actually according to her Instagram she is NLP + live coach certified. Probably via the $19.99 course on Udemy.Actually according to her Instagram she is NLP + live coach certified.
Probably via the $19.99 course on Udemy.
-
Comment on How long a first date should be in ~life
takeda As valid as any name I could use for myself when starting my own business.As valid as any name I could use for myself when starting my own business.
-
Comment on Proud Boy convicted of helping spearhead US Capitol attack ties Jan. 6 sentence record with eighteen years in ~news
takeda His proud boy friend, after saying that he is a changed man, right after judge left raised his fist and said "trump won". I wouldn't trust anyone from that organization who went to storm the...His proud boy friend, after saying that he is a changed man, right after judge left raised his fist and said "trump won".
I wouldn't trust anyone from that organization who went to storm the capital to suddenly realize the wrong of their ways.
-
Comment on Los Angeles is exploring banning cashless businesses, following the example of New York City, Philadelphia, Massachusetts, Colorado, New Jersey, Rhode Island and Washington, DC in ~finance
takeda Yes, this absolutely should be restricted. If cash is the legal tender it needs to be accepted.Yes, this absolutely should be restricted. If cash is the legal tender it needs to be accepted.
-
Comment on “Going shopping” is dead: How stores sucked the fun out of an American pastime in ~finance
takeda I noticed the opposite. Many items (especially things like cleaning supplies) can cost multiple times more on Amazon than in local store. I think Amazon relies that their customers rarely shop and...I noticed the opposite. Many items (especially things like cleaning supplies) can cost multiple times more on Amazon than in local store. I think Amazon relies that their customers rarely shop and have no idea of the real prices.
-
Comment on uBlock Origin Lite now available on Firefox in ~tech
takeda Yeah. I don't understand those people that are whining about switching from chrome to firefox. I can't think of a site that's broken. I did have few issues where site wasn't working on Firefox,...Yeah. I don't understand those people that are whining about switching from chrome to firefox. I can't think of a site that's broken.
I did have few issues where site wasn't working on Firefox, but then after I fired up Chrome I realized that it is also broken there.
-
Comment on What is your most annoying (minor) movie trope? in ~movies
takeda My mother does this all the time. Maybe too much TV.My mother does this all the time. Maybe too much TV.
-
Comment on Grand jury in the US state of Georgia returns indictments in Donald Trump 2020 election case in ~news
takeda (edited )Link ParentWell... Hitler did serve his sentence in 1924... Then run again and everyone lived happily ever after. Also, can you believe no one was taking him seriously until he won?Well... Hitler did serve his sentence in 1924... Then run again and everyone lived happily ever after.
Also, can you believe no one was taking him seriously until he won?
-
Comment on The Reddit protest is finally over. Reddit won. in ~tech
takeda That one officially moved to lemmy https://lemdro.id/c/android There's page listing communities from reddit: https://sub.rehab/ Investingly a lot moved to discord, which IMO isn't 1:1 reddit...That one officially moved to lemmy
There's page listing communities from reddit: https://sub.rehab/
Investingly a lot moved to discord, which IMO isn't 1:1 reddit replacement
-
Comment on What US recession? It's a summer of splurging, profits and girl power in ~finance
takeda The problem with those predictions is that people were saying this since Biden took office, this is 3rd year now. I'm not saying we are safe from one, but if those people are constantly saying...The problem with those predictions is that people were saying this since Biden took office, this is 3rd year now.
I'm not saying we are safe from one, but if those people are constantly saying there is a recession for many years, then they are hardly any indicator of anything.
-
Comment on Former US President Donald Trump has been indicted on four counts on Tuesday, by a grand jury in the District of Columbia, over alleged efforts to overturn the 2020 election in ~news
takeda (edited )Link ParentThis is not in just US you can see similar popularity of populist alt right in other countries. Strangely they seem for some reason friendly with Kremlin. Russia might be doing badly militarily in...This is not in just US you can see similar popularity of populist alt right in other countries. Strangely they seem for some reason friendly with Kremlin.
Russia might be doing badly militarily in Ukraine, but they are still very good at using disinformation to make people in other countries do what they want.
-
Comment on Francis Ford Coppola predicts ‘we’re on the verge of a golden age’ of cinema after Barbie and Oppenheimer success in ~movies
takeda As a person who didn't see Barbie because I'm assuming that's basically like Lego movie but with different merchandise, am I wrong? What's so unique about it?As a person who didn't see Barbie because I'm assuming that's basically like Lego movie but with different merchandise, am I wrong? What's so unique about it?
-
Comment on What games do you most wish had a remake, or a sequel or both? in ~games
takeda Ah, that game it starts in asylum, from which you have to escape by fighting, but the terrible controls make that experience terrible for beginner. Once you master it, it is quite nice. If they...Ah, that game it starts in asylum, from which you have to escape by fighting, but the terrible controls make that experience terrible for beginner. Once you master it, it is quite nice.
If they ever make remake of it, I hope they will fix those controls.
Yes and I blame PyPA for all this fucking mess. Every time they're is some consensus they have to introduce a new way. They had setuptools (not great, but it worked and was bearable with declarative setup.cfg), they then had to force PipEnv, because it was a pet project of one of PyPA members. It turned out to be a complete failure.
Then they started depreciating setuptools without having a good alternative. It pushed many people (including me) to alternatives like poetry. As poetry was gaining traction, they decided to mess things up again by introducing their own tool called hatch. When asked what hatch adds to the table their argument was that poetry author did not agree with their new proposals (I guess it threatened their purpose).
So yes, I directly blame them for Python's fucked up packaging, and am huge proponent of poetry.