HNHacker News
TopNewBestAskShowJobs

Watabou

654 karma · joined May 31, 2012

Github: https://github.com/ajh17 Twitter: @ackyshake
submissionscomments
Watabou··on Apple Responds to Dash Controversy
According to Gruber[1], it's not Dash itself, but it's the apps that the developer had created on his other accounts.

[1]: http://daringfireball.net/2016/10/apple_dash_controversy

Watabou··on Learning to code as a 30-year-old kid with Apple’s Swift Playgrounds
I wasn't really directing all of what I said to you, but just commenting about Playgrounds versus other resources in general.

And yes, it uses real Swift syntax which is its main goal, according to the "Platforms State of the Union"[1] talk at WWDC this year.

[1]: https://developer.apple.com/videos/play/wwdc2016/102/

Watabou··on Learning to code as a 30-year-old kid with Apple’s Swift Playgrounds
Maybe I'm wrong, but I don't think starting out with parenthesis based programming language is the best starting point for new programmers. You'll probably just scare them. I'm saying this with my huge love for Scheme. Of course, if you're already programming and want to learn/try something different, Haskell or Racket, or any other functional language is a great option.

What makes Swift Playground so compelling is that it seems to be specifically tailored towards new programmers, with the way it teaches -- it provides basic information about Swift, and does not overload information at the reader at once. And even existing programmers can make use of it because it's just a Swift playground (part of Xcode) underneath.

I think Swift Playground is genuinely fun as you can manipulate an object on an iPad. It's pretty much like playing a game in that sense. That's something you just can't get out of reading a book. It makes it that much more approachable.

If you show kids or even new programmers Swift Playgrounds along with something like Learn You a Haskell or Realm of Racket, or even tell them about Scratch, which do you think they would gravitate towards more?

Watabou··on Nix as OS X Package Manager
Just curious, why would a package manager using a folder under the home directory be weird?
Watabou··on Nix as OS X Package Manager
Unless /nix modifies files/folders, then no, you don't need to modify your install instructions.

SIP only prevents users from modifying system level files. It does not prevent you from adding to, or deleting your own files within the `/` directory.

Watabou··on Nix as OS X Package Manager
Nope, System Integrity Protection only affects you if you delete/modify system level files. It does not prevent you from creating a `/nix` directory with regular root privileges, nor does it prevent you deleting it with root privileges.

It's only when you try to delete something like /Library, that it then complains.

This is one reason why I strongly believe SIP is blown out of proportion. I've used El Capitan since the betas and created root directories, deleted them, added to existing root directories without having to disable SIP.

Again, it's only when you try to modify the built in directories inside / does it then complain, and frankly, I am more than happy with that, even with sudo privileges.

Watabou··on Vim 8.0 is coming
Note that you need Vim compiled with +clipboard for this to work (or +xterm_clipboard if you are using X11)
Watabou··on Vim 8.0 is coming
Just a minor nitpick, vnoremap creates a mapping for select and visual modes. You should use xnoremap as that's restricted to visual mode only.

Select mode is used by snippet engines mostly, and you don't want this mapping to affect select mode.

Watabou··on Programming Fonts
I used to use Inconsolata-g pretty much all the time, even had that in my css for the browser so it would always use Inconsolata-g for github/bitbucket code blocks.

I've switched to Fira Mono since then and couldn't be happier. It feels like my type of font, very well designed, every letter is distinguishable and very readable.

Plus, who doesn't love the "@" and "&" in Fira Mono?! :)

Watabou··on The Apple iOS 9 Review
Apple apparently restricted this due to performance limitations.

I have an iPhone 5, and found a way to get around this restriction by building a content blocker myself. It's pretty easy, just a list of JSON rules. You can use this project as an example: https://github.com/krishkumar/BlockParty

I am running my own content blocker on my iPhone 5, and it works nicely.

Note however, that webpages do seem to load slower than when a content blocker is not installed (this is why Apple limited it to 64-bit devices)

Watabou··on The Apple iOS 9 Review
Apparently it's a performance issue.

From apple[1]: Note: Apps containing content blocking extensions for Safari on iOS are available only on 64-bit devices, due to performance limitations of 32-bit devices.

    [1]: https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewInSafari/Articles/Safari_9.html#//apple_ref/doc/uid/TP40014305-CH9-SW9
Watabou··on The Apple iOS 9 Review
There's a dedicated "Privacy" setting in the Settings app. You could disable everything from there, including some Location Services, even the ones used for system services like Cell Network Search and setting the time zone.

Additionally, you can turn off Siri completely under Siri settings. You can also turn off Siri and Bing/Spotlight suggestions under Spotlight settings. iCloud could also be turned off.

That said, by turning the above features off, why are you using a smartphone in the first place?

Apple has been making great strides in user privacy lately, and I think they genuinely care about our privacy, what with them encrypting everything and not having the keys to decrypt it themselves (so they say).

I choose to trust my privacy with Apple. They've given me no reason to doubt them, yet.

Watabou··on Access Denied to Apple.com
It's back up for me.
Watabou··on OS X El Capitan GM Candidate available
I hate this change too, but I believe this was done to improve the frame rates. 10.11 finally has smooth Mission control animations on a retina display, even when a lot of apps are up and running, which is great.

I don't see any other reason why they would hide this from showing up by default.

Watabou··on OS X El Capitan GM Candidate available
There are lots of diagnostic reports that are run in beta versions.

On the latest beta of 10.11, I easily get 8-9 hours battery life with brightness set to the middle with Safari, iTerm, Mail and iTunes running.

Are you using Chrome/flash at all?

Watabou··on OS X El Capitan GM Candidate available
Yes.

Also, more often than not, OS X GM is the version that's released to the public.

Even if they do update GM versions, it's still a delta update between the final GM and the subsequent release (10.11.1 in this case)

Watabou··on Apple Unveils the iPad Pro
I think as we've seen on Surfaces and on many other tablets, styluses can be pretty useful for pro-sumers.

So why not allow Apple to eat their own words and create a well-designed easy to use, functional stylus? The only downside here is it's $50 too expensive.

On your second point, where do you see a task manager? You can only see apps when bringing up multitasking in iOS 9. There is no "task manager" where you have a list of running processes with CPU percentages and everything.

And since iOS 9 handles running apps by itself, users don't have to close out any apps so they really don't "ever have to think about it".

Watabou··on Apple Introduces the iPhone 6S and iPhone 6S Plus
How so? You get AppleCare+, which is $99, and if you compare that with AT&T, it's cheaper per month, unless I'm missing something. It's also unlocked so you can freely switch carriers.

I think there's a lot of people that will be enticed with this.

Watabou··on Apple Introduces the iPhone 6S and iPhone 6S Plus
You can tell they changed the name to 3D touch very late in the development. Most of them probably still call it Force Touch.

I liked the name Force Touch. A little creepy, sure, but it made sense, and basically told you what to do.

Watabou··on Apple Introduces the iPhone 6S and iPhone 6S Plus
I don't think so. If the ordinary user doesn't know about it, they won't care. They'll still continue to press as normal. When they do discover it, they'll try it again to see if they like it, if they don't they'll forget about that too and continue on with regular presses.
Watabou··on Black Screen: A modern terminal emulator based on Electron
Yep as steckerbrett mentioned, it's the new Dark style tabs introduced in iTerm nightlies, which you can put it in the bottom. It might be included now in the betas or the stable version, not sure.
Watabou··on Black Screen: A modern terminal emulator based on Electron
You could just make your own external difftool that displays the two images side by side, and add that in to ~/.gitconfig.

Then you could just call that external difftool when comparing images:

    git difftool --tool img-diff 
Just an example.
Watabou··on Black Screen: A modern terminal emulator based on Electron
You can view images on iTerm 2:

https://db.tt/nO3P7yO6

And yes, iTerm2 also displays animated gifs.

Watabou··on OS X Command Line Utilities
bash (and others) can show terminal colors just fine, terminal colors are not zsh specific.
Watabou··on Hack: A typeface designed for source code
You just have to double click the ttf files (or select them all and double click one of them) and it will install. Don't need to move them manually.
Watabou··on Vim's 400 line function to wait for keyboard input
The patches were rejected because they didn't provide a working solution for cross platform support. The plugin system in Neovim is only "better" for people who actually want async plugins. I am not one of them.
Watabou··on Vim's 400 line function to wait for keyboard input
Do you also blame Microsoft Word because it doesn't let you play movies?
Watabou··on Vim's 400 line function to wait for keyboard input
Are you sure the crashes aren't caused by a plugin you installed?

I have only experienced a handful of vim crashes but all of them were caused by plugins.

Watabou··on iTerm2 Shell Integration
Terminator comes close, but to be honest, iTerm2 still beats it with its user friendliness and features.

It's really interesting how OS X is the one that has a terminal emulator with the most features out there.

iTerm2 now comes with 24-bit colors, command completion popup, notifications, triggers, profiles, mouseless copy, split panes, search, and you can even have inline images/gifs all out of the box with zero or minimal configuration required. That's just awesome.

All of these features and iTerm2 still feels much faster than Terminator to me.

Watabou··on Get Current Track on Beats 1 Radio (Apple Music)
On the Mac, it seems pretty crazy you can't just do, with AppleScript:

    tell application "iTunes" to get (title, album, artist) of current track
either with Apple Music or Beats 1. The strange this is that the above script works just fine for locally downloaded songs from Apple Music.
← PreviousPage 2 of 8Next →