16 karma · joined February 1, 2017
Every time I saw simple bash scripts or/and Makefile used - it did not seem to be the idiomatic way of doing things in python but after using it for a while - turned out to be one of the best development experiences.
> because you have to bundle the dependencies and zip it btw, I've used serverless to deploy lambdas in python and it worked super cool. Highly recommended.
Mostly I've used plain `python -m venv venv` and it always worked well. A downside - you need to add a few bash scripts to automate typical workflow for your teammates.
Pipenv sounds great but there are some pitfalls as well. I've been going through this post recently and got a bit upset about Pipenv: https://chriswarrick.com/blog/2018/07/17/pipenv-promises-a-l...
Another point is that it does not work well with PyCharm and does not allow to put all dependencies into the project folder as I used to do with venv. (just like to keep everything in one folder to clean up it easily)
Are there any better practices to make life easier?
Ha-ha, you are right, it was a reference to a scandal they had when removed audio jack from phones. Just a joke :)
Just google for XPS WiFi issue and you will get plenty of results. This model should be a good fit: Intel 8265 Generic, 2230, 2x2 AC+BT (8265NGWMG), look for Intel wifi cards they are much much better than default ones.
I guess if you do video editing or staff like that XPS or any other machine is not an option over MBP
Also, I think a few more things worth to mention.
Pros:
- XPS has a decent hardware (I got 16GB, i8Gen, 500GB SSD and forgot about having a few docker containers running on the background which was an issue with my MacBook Pro 15 (8GB, 2.5Gh)
- It is really 1k$ cheaper than the same config MacBook model. Apple's Retina and Touchbar are really cool, however, they still do not have 16GB 13' mac which is a deal breaker.
- Touchscreen. Take your touch bar and put it into your missing 3.5 jack plug, Tim's Team, why would I need a touch bar when I have a touchscreen; (no offense to Apple, I still own a few apples because they are nice)
- the webcam is well described, but it is not that bad, it saves a few inches in size which makes its screen look like it takes all space and there are no borders at all;
- while ubuntu became usable with Gnome desktop I almost did not notice all missing Apple's out of the box features;
- it is very light (~1kg), my backpack can be heavier;
Cons:
- WiFi is super shitty in XPS series. If you have not had any issues yet - then you have not bought one yet. It is better to replace with 30$ adapter to not have issues with differently configured routers;
- It has Windows on it and some features are not supported on Linux. For instance, I see no sense in having fingerprint scanner if it does not work under Linux;
- Be aware that screen scaling might not work on some linux machines. For ubuntu 16.04 I got windows so small so I cannot read the text. Luckily 18.04 fixed it, but still;
Overall, it is the best laptop for Linux I've used so far (Lenovo and Asus are good ones as well), having good hardware and being more or less cheap. I hope Apple will simplify ML and add a bit more RAM to Autumn's laptops, otherwise, there are no reasons to go back.
Especially using "comics" style as it was mentioned before. Not only colours on data structures help to understand the algorithm, but also those nice tips, lamps and stars here and there. You might call it childish, however as a student or a child I would rather read a book like that than a typical linux manual like book.
Here is what I would be looking for on top of this idea (which is awesome): - A full list of algorithms from "Introduction to Algorithms" by T. Cormen; - A colored mark on algorithms types depending on a problem, let's say search - green (the greener - the more efficient it is), graphs - blue and so on. The reason I would like to see it is that it is much easier to look for an algorithm if I know the color, so I just match the color going through pages;
Finally I gave up and moved to NeoVim and have no issues with my vim anymore. Maybe later I will give another try to spacevim or emacs. Maybe. So far, keeping my fingers safe :D