927 karma · joined December 26, 2010
my public key: https://keybase.io/liyanage; my proof: https://keybase.io/liyanage/sigs/VVA1UdmCKuSmCtF0IKLdO0Jp3V7eOikcokc538yV41g
The practical problem is that some organizations simply discourage or don't allow the use of GPLv3 or AGPL software. I don't want to learn one tool for personal projects and another for potential work projects, in case the opportunity comes up.
The easiest way to deal with that is to just switch to a tool that has a license that is more widely accepted.
A while ago I was picking a new SSG and I would have preferred something written in Python so I can hack on it more easily. I ended up moving on because of the license.
I am now very happily using Hugo.
My day job was Solaris/Linux work so I was used to it and I wanted PHP on my Mac, so I built the installer for myself and also put it on my website, where more and more people downloaded it from over the years.
I haven't used PHP in more than ten years and only recently started dabbling with web development again for fun. I am very happy with TypeScript + React on the client side and Python or Swift on the server side.
That's spot on, John Oliver did a whole episode about this: https://www.youtube.com/watch?v=qMGn9T37eR8&feature=emb_titl...
Separately I also use anaconda if I need all the scientific packages + Jupyter etc.
That model is fantastic. Very pleasant brake, and it is much more powerful than the one Scoot uses. The Segway one gets me up some of the hills in SF, whereas the Scoot one is woefully underpowered, a joke for a hilly city like SF.
Somewhere between cool MIT dorm room side project and serious company there is a point where it's time to ditch it and reimplement it in in something that performs better.
Another drawback of it being Python is that when it is causing the fans to spin, I can't inspect what's going on with Activity Monitor's sampler. It's all opaque nameless Python stack frames.
It is constantly burning a ton of CPU/battery. It's always at or near the top of Activity Monitor's list in the Energy tab. It seems like their app constantly reacts to any file system activity, even if that activity is outside the Dropbox directory. My file system is busy all day long from building in Xcode and other things.
What I need is for Dropbox to improve that by making an efficient, battery-saving, native macOS client. What I don't need is what is announced in this post.
The two other things that I hate are the fact that they don't support symlinks and that they use a kernel extension. All of these things together made me start the search for a replacement.
Does anybody know how the CPU/power impact of Microsoft's and Google's offerings are on the Mac?
More in-depth videos of the course are on YouTube: https://www.youtube.com/playlist?list=PLA89DCFA6ADACE599
PID is in there, along with lots of other techniques.
Dropbox is constantly the second highest average energy user over the last 8 hours on my laptop, impacting battery life. It shows up high on the CPU usage list all the time.
I wanted to know more about the background and history of these programmable logic technologies and this tutorial was fantastic, so I posted it here.
Hackaday also has some great articles and tutorials on this topic: http://hackaday.com/2008/12/11/how-to-programmable-logic-dev..., http://hackaday.com/2014/04/06/cpld-tutorial-learn-programma...
I see now that the Python docs explain this very clearly...
I don't understand how this one to flatten lists works:
a = [[1, 2], [3, 4], [5, 6]]
[x for l in a for x in l]
Can somebody explain what the order of operations is here and what the variables refer to in the various stages of evaluation?