Watabou

Joined 14 years ago

Karma
654
Submissions
232
Member since
May 31
Github: https://github.com/ajh17 Twitter: @ackyshake
View on Hacker News

Recent submissions

Comment · 6 years ago
An example of this that I noticed just recently:

Here's the doc for a deprecated `launch` method of `Process`: https://developer.apple.com/documentation/foundation/process....

It's deprecated, and there's no note on what the replacement should be. Xcode, however, has a hint to use the `run` method. This isn't documented anywhere. If I don't use Xcode, I wouldn't know about this replacement.

And here's the replacement document for `run`: https://developer.apple.com/documentation/foundation/process....

"No overview available".

This is beyond embarrassing.

Comment · 6 years ago
Comment · 6 years ago
Conversely, the introduction of News+ and the overwhelming amount of News+ exclusive articles made me delete the app entirely.

At least with Apple Music, I could turn the features off. With News+, I can't.

I replaced it with Reuters and a RSS reader for other news websites. I get way more relevant 'breaking news' notifications from Reuters now than I did with News, so it's been a win on that front.

Comment · 7 years ago
WSJ tested some of these scenarios: https://www.youtube.com/watch?v=G7xI2dUPN3A

Seems very hard to trigger inadvertently, so it makes sense to me that they use an algorithm that factors in the heart rate and the fall trajectory and velocity.

Comment · 7 years ago
I use two banks. Schwab for checking, as others have said, they’re excellent.

Discover for savings for that 2% interest.

I’ve tried other online only banks, ally for instance. But discover is the only one I’ve found with no fees to order more checks, no fees for maintenance in general, and a pretty great customer support to boot. My only complaint is the slow transaction log. For instance when I pay my credit card, it takes almodt 3 days to show up.

It’s why I moved my checkings to Schwab instead. Almost the same benefits with no fees, no hassle.

Comment · 7 years ago
Agreed, I don't get the ligature craze recently. They look ugly, and sometimes, they don't accurately reflect an operation most of the time, for instance when you use operator overloading.

PragmataPro does come without ligatures though, and that's what I've been using as my main font for over a year now.

Comment · 8 years ago
That is definitely not true.

In fact, performance has gotten slightly better for me on my 2013 MacBook Pro, especially after the Metal/APFS upgrade after High Sierra. And I’ve been upgrading since Mavericks now, not doing a clean install.

Comment · 8 years ago
Does the iMac possibly have a HDD rather than an SSD (which your custom PC probably has)?

The SSD makes a huge difference in response time. It’s the only reason I’m still using my 5 year old MacBook Pro which has a PCIe SSD and I have no plans to upgrade other than to maybe get TB3 support.

I actually do real development on it, running multiple applications, running Xcode builds, the lot. It does everything I throw at it like a champ.

I’m not sure where you’re getting the 2-3 but that’s definitely not what you should be getting from a modern PC/Mac, especially if they have an SSD.

Comment · 8 years ago
I know a lot of people have mentioned that they have transitioned to using the iPad and even making it their main computer but having owned and daily use an iPad Pro (the 10.5 inch), I don't see it anything other than a media consumption device (which I love using it for).

I occasionally used it to carry with me at work, when I got it new last year, to try and make it my "laptop" replacement. I used everything, SSH to log into my Mac back home, I was on irc, browsing the web, writing emails on it, even used Pixelmator and iMovie to edit images and movies for real work things, which my colleagues were impressed by.

It was difficult, however, and I felt like I was constantly fighting with the iPad.

For example, Spotlight just isn't as fast on the iPad like it is on the mac. Try it out. Type command + Space, then type "me" and hit Enter. If you thought you'd get Messages, you will only be right half the time. Enough to make it frustrating. On the Mac, I can fluidly bring up Spotlight, hit a few characters and launch that app. On the iPad, sometimes, it'll miss typing the first character as spotlight animates, and even if it caught the first typed character, it takes painfully long to update results. So by the time you type "me" and hit return, the results haven't updated to show Messages.app yet, and Messages won't be launched.

There's no Xcode on it yet, so I can't code on it properly. There's no terminal, Files.app feels like a poor man's Finder, there's no indication of focus and when you have two apps side by side, there's no way (that I know of) to switch between them using the keyboard. So you have to tap.

So I gave up. I'm sure my experience, needs and workflows are different and maybe the iPad-as-a-laptop is not for me, but I am a bit skeptical now whenever someone tells me they use their iPad as their only computer. At least, not this version. iOS on the iPad at its current form just isn't convenient to use as the only computer.

Comment · 8 years ago

    > The problem is that pbpaste and pbcopy do not work under tmux
They do in recent macOS/tmux versions. You don't need reattach-to-user-namespace anymore.

These are my keybindings for copy/paste to clipboard:

    bind-key -T copy-mode-vi 'v' send -X begin-selection
    bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel pbcopy
    bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel pbcopy
    bind-key -T copy-mode-vi MouseDragEnd3Pane send -X copy-pipe-and-cancel pbcopy
`prefix + ]` then pastes using the clipboard contents
Comment · 8 years ago
Comment · 8 years ago
I've been using MiniHack as my HN app, and while it has its issues (most frustratingly, the popup that notifies me that I've just upvoted/downvoted a comment), it's the most feature rich HN client I've seen yet, so it's a bit hard for me to switch to this just yet.

That said, I tried it out and here's my feedback for HNbuddy:

- This looks really nice, and loads comments super fast for me!

- An iPad version of HNBuddy would be nice. I'd be willing to pay for that, maybe as an IAP?

- Support for commenting, new posts, currently it's more of a "reader", which may be the intention, not sure.

- No ability to downvote? I can downvote in MiniHack and the regular website but not in HNBuddy

- A lighter Darker theme

Comment · 9 years ago
Shift+Tab always worked in the Terminal for me since Vim 7.3. What Terminal are you using?
Comment · 9 years ago
Note that ProtonMail paid $6000 ransom to hackers: https://arstechnica.com/security/2015/11/crypto-e-mail-servi...

I applaud their privacy stance, but paying ranson money to hackers is a deal-breaker for me.

Comment · 9 years ago
For Obj-C fans though, named arguments are one of its best features. Yes, more verbose, easy to decipher, and led to great API design.

For the first versions of Swift, they actually had two versions. For functions (i.e not functions inside classes), you didn't have to have named arguments for the first parameter, but you did for methods (functions inside classes).

They explicitly added it for Swift 3 to make it more consistent with method.

I think I like the consistency more, but I do agree "_" is ugly. I don't have an idea of what else they could do though. I don't want Swift to make the parameter names optional, since no one would use it (like in Python, I rarely see named arguments being used)

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton