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.
Interesting reading, I share some of the points in the post, however, one more dependency manager?
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.
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?
> I dont have the patience or the know-how to tune the touchpad to be decent in Linux.
I thought it would be an issue too, however Gnome and latest ubuntu fixed issues with trackpad and screen resolution
Agree, moved to tap-click in a first day. As time goes you get use to it but it is still far from Mac touchpad (even more I have not seen anything better in any laptops)
Yeah, it was nice for a first few weeks and when I went travelling I got into issues. Some WiFi's did not work and a guy with a MBP next to me was just smiling :D
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.
It takes a few hours for me to switch to any OS. Most of my tools are not OS dependent like (vim, PyCharm, Chrome/Firefox, Sublime), others are default ones (I do not really care which shell script is there or which tool to use to read my emails or store passwords, there are a lot of alternatives)
I guess if you do video editing or staff like that XPS or any other machine is not an option over MBP
Good summary, I share most of the points provided in the post.
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;
I have been using vim as my primary IDE for small projects for more than a year till previous month. Everything was fine, even optimizing slow plugins was OK for me. The best plugin I used was a YCM, the best autocomplete I've seen in console world, and there were so many problems with it.
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