After mac os sierra update facing scrolling issue with Java applications like Intellij

This is a known bug, likely caused by the JDK: It looks like JDK issue and is reproducible with a simple scrollable JList. Sierra generates much more events than El Captain. These events contain values ~0.1 instead of expected ~1. But Java converts these small number to 1 anyway. Edit: see also this OpenJDK bug: … Read more

iosnoop, iotop, opensnoop, execsnoop, opensnoop, dtruss and other dtrace based commands don’t work on osx El capitan, macOS Sierra

iosnoop relies on the dtrace subsystem. from: http://jimtechstuff.blogspot.com/2015/10/dtrace-broken-under-el-capitan.html Dtrace is broken under El Capitan One of the tools that I use quite a lot in debugging is ‘dtrace’ and the various utilities that use it. e.g. open snoop, iotop and a few that I wrote myself. With the GA of El Capitan, any utility that … Read more

ImageMagick 7 with RMagick 2.16 on MacOS Sierra Can’t find MagickWand.h

I have just encountered and solved this issue on a new Mac running Sierra. There seems to be no solution for ImageMagick 7 at this time. Uninstall existing imagemagick if needed Install version 6: brew install imagemagick@6 Since this is keg-only, you should then force-link it: brew link –force imagemagick@6 This installed imagemagick version 6.9.7-4 … Read more

Clipboard failure in tmux + vim after upgrading to MacOS Sierra

This seem to be a regression on macOS Sierra. A solution that worked for me has been mentioned by Josh McGinnis https://github.com/tmux/tmux/issues/543: brew install reattach-to-user-namespace Ensure the following is set in .tmux.conf: set -g default-shell $SHELL set -g default-command “reattach-to-user-namespace -l ${SHELL}” In .vimrc or ~/.config/nvim/init.vim (for Neovim): set clipboard=unnamed Now all is well and … Read more

GDB kind of doesn’t work on macOS Sierra

This is how I easily fixed the issue. [Update: based on feedback received and yet to be verified, it seems that this solution works with macOS Sierra 10.12 but not with macOS Sierra 10.12.2] See video instructions here Quit gdb Using your text editor e.g. Sublime Text, save a file called .gdbinit in your user … Read more

Can’t run “ssh -X” on MacOS Sierra

I didn’t need to reinstall XQuartz, but, based on Matt Widjaja’s answer, I came up with a refinement. sudo vi /etc/ssh/ssh_config (This is ssh client config, not sshd_config) Under the Host * entry add (or add where appropriate per-host) XAuthLocation /usr/X11/bin/xauth (The location of xauth changed in Sierra) ServerAliveInterval 60 (Pings the server every 60 … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)