379 karma · joined June 12, 2016
defaults write -g NSWindowShouldDragOnGesture -bool true
I use this with "three finger drag", and resizing at the window border hasn't been much of an issue for me.I think normally this isn't much of an issue because other automated/manual integration testing in the staging environments will catch any major problems, to your point.
Another example would be for browser testing via chromedriver. I've usually seen this implemented along side unit tests (i.e., prior to the build phase) but since it generally serves as an integration level test for many applications, this has lead to issues due to the testing and production environments being out of sync.
I think multi-layer Docker images are a compelling solution to this, but it's not usually how I've seen it implemented.
Instead, I've typically seen that test and prod environments are manually maintained. Sometimes these are two separate Dockerfiles or some shared CI environment managed by different teams.
However, I think it's less common to run automated testing within the same Docker image you build and deploy to these environments.
This is challenging because you probably don't want to include any build/test related packages in your production image (or layer) but you still want some level of confidence that your CI and Prod environments are the same.
I have often see builds pass automated testing but fail after deployment because our production Dockerfile/layer was missing packages or shared libraries that were present in the CI environment.
I think we could pick one way to handle emphasis, lists, and code blocks that covers a specific and predictable 80%.
Anything that becomes hard to describe without including additional notation to the grammar is probably best suited to be left as HTML, as was the intention behind markdown to begin with.
It's amazing how Emacs utilizes buffers to offer a very powerful and consistent user interface.
I think some other compelling examples are compilation-mode and magit.
For example, Lakatos isn't satisfied with "anything goes" because it fails to consider the political and social consequences of being unable to recognize science from pseudoscience. For Lakatos, demarcation is necessary to maintain a "standard of objective honesty", and avoid falling into an "intellectual decay".
Overall, Lakatos is much less provocative than Feyerabend, but is equally invested in picking apart the historical nuances of scientific progress brought into question by Popper and Kuhn.
If you want to use another computer you own, rather than a server in the cloud, Tailscale[2] will let you easily connect when away from home.
- [1] https://blink.sh/
- [2] https://tailscale.com/
The moka pot is very hard to dial in and almost always burns the coffee. It requires care, focus, and attention. They're much more inconsistent than pour over and even the lever espresso machines I've used are less work.
I think moka pots are fun and worth experimenting with but I find it hard to believe people really love the results. But if you are always adding milk and sugar, then I can definitely see the appeal.
https://based.cooking/ might be another good source of recipes if you're not already using it.
"Double the number and increment the unit."
This is a simple formula to calculate how long something takes to go from idea to production.
So, 3 hours becomes 6 days; 2 weeks is 4 months, etc.
Enjoy!
It's not incompetence though, as the article points out, we've moved beyond an intimate understanding of the filesystem being a prerequisite for using computers.
Using interactive browser based environments like jupyter notebooks have made needing to deal with files even less of an issue.
The fact that people have learned to live with it or just ignore it is pretty irrelevant in my opinion.
Significant whitespace means I can't copy+paste without introducing bugs or breaking the code. It means code formatting becomes more complex to automate. It's seriously the dumbest language feature to defend and should be pretty acceptable to admit was a mistake.
I agree that having whitespace sensitive scoping isn't a compelling enough reason in itself to avoid python, but it is hard for me to understand how python programmers insist on defending it as a great design choice that "improves readability". To me that indicates an inexperienced developer who is unfamiliar with the alternatives.
I feel similarly for people who reject (or say they hate) static types and compilers.
Github will render org-mode documents now, so there's that.
Don't be afraid to give emacs a test drive, it's very possible to avoid getting sucked into the ecosystem and configuration if you aren't interested.
Either you'll decide it's what you've been looking for, or you prefer your current approach. Win-Win.
Vim is a text editor that grew into an ecosystem of people bolting on additional functionality. While extensibility is possible, it's nowhere near as transparent and consistent as the emacs environment. In fact no system I know of comes even close.
Emacs paved the way for the features we take for granted in graphical applications like undo, copy+paste, search, find+replace, spell check, project navigation, code completion, auto-formatting, and of course, plugins.
These days, indeed much of the appeal is gone if all you're doing is comparing features at a surface level.
Yes, it looks like all editors "do the same thing" but really emacs is quite different in spirit.
See "info scriptreplay"
By default, you can select any block of text and the undo command will cycle through the changes only from that region of your buffer.
I decided it was time to get with the times and try out GNOME on wayland. While I would have preferred to stick with xfce, Debian stable does not make it convenient to upgrade to their latest version, 4.16.
I'm using a T480 Thinkpad and I'm sure my GNOME version is similarly out of date, but wayland has been performing well enough so far.
However, at this point I'm looking to migrate to Fedora when I get the time. I'm tired of fighting against the bizarre nerd carnival that is the Linux Desktop.
These are my installation notes: https://github.com/anschwa/debian-thinkpad-install
That was essentially what I saw. I was serving very minimal dynamic content that had some random sleeps. I even reached out to the NGINX mailing list and got a similar response about how they wouldn't expect much measurable difference. However, I still think it would be possible to construct a better test.
When simulating load distribution across servers, two-choices does an outstanding job at keeping things evenly distributed. However, I was unable to observe a meaningful difference between load balancing algorithms when measuring request latency from servers under load.
I think there is still a lot to be gained from exploring two-choices, but coming up with an appropriate strategy for "real-world" performance benchmarking is quite challenging.