HNHacker News
TopNewBestAskShowJobs

phaedrix

103 karma · joined October 30, 2010

Software writer.
submissionscomments
phaedrix··on Ask HN: Any piece of hardware that was more of game changer than you expected?
Which kneeling chair did you end up buying?
phaedrix··on Ask HN: Should I publish my research code?
Or "People"...
phaedrix··on Why Does Windows Really Use Backslash as Path Separator?
Can't seem to find it now, but I recall reading somewhere that Paul Allen said it was the worst decision he made in the early days.
phaedrix··on Show HN: Emacs Anywhere
This is the Karabiner alternative for >10.12: https://github.com/tekezo/Karabiner-Elements
phaedrix··on VS Code Roadmap 2018
Unfortunatley Alacritty has the same issues:

From Alacritty's FAQ: Q: "macOS + tmux + vim is slow! I thought this was supposed to be fast! This appears to be an issue outside of terminal emulators; either macOS has an IPC performance issue, or either tmux or vim (or both) have a bug. This same issue can be seen in iTerm2 and Terminal.app. I've found that if tmux is running on another machine which is connected to Alacritty via SSH, this issue disappears. Actual throughput and rendering performance are still better in Alacritty."

phaedrix··on VS Code Roadmap 2018
or even better - https://github.com/syl20bnr/spacemacs
phaedrix··on Tmux and Vim – better together
Recommend you checkout http://spacemacs.org/ It's an emacs with sane defaults and built around Evil (emacs vim plugin)
phaedrix··on Lenovo ThinkPad T460 – A Good Linux Laptop for Development
A few notes for context on why (for my needs) linux is better than mac:

Off the top of my head there are a few primary reasons I prefer linux:

* WM Aesthetics - Arch+i3 (or any minimal, preferably tiling WM) provides a gorgeous minimalist aesthetic -- checkout /r/unixporn for examples. MacOS is just too visually noisy for me.

* I was going to buy a new macbook pro, but then they went and got rid of the escape and function keys. Escape I could probably live without (I tap caps-lock for escape), but function keys I want (at least until the apple touchbar proves itself to be comparatively useful).

* I'm tired of Apple's hyperbole and smugness, especially considering they haven't done anything really interesting since Jobs passed away.

* Customizability: really no comparison here. This is my big one.

* Pacman/AUR - honestly homebrew is pretty good though.

Negatives:

* Occasional weirdness/breakage.

* Can take a lot of research to figure out how to get things to work at times (note: usually not common things anymore though, like wifi etc); sometimes they just don't work without an unreasonable amount of work, or at all (e.g. hibernate). Many things are esoteric in general and have marginal documentation (arch wiki is great though). Granted this is part of the fun (I mean, I am a programmer :).

* Spent tens of hours setting things up to function the way I want (keep in mind I don't use gnome/kde so that would likely fix a lot of issues like external monitor support for HiDPI, and I tend to do heavy/esoteric customization of the user experience). Most of this is because I haven't used linux as my personal machine for ~5 years (i.e. setting it up again would be a few hours or less likely). If you use Gnome/Unity/KDE this probably wouldn't be the case.

* HiDPI (x1 carbon): I think this is actually decent in kde/gnome/unity (?), but it's pretty terrible in most GUI apps in my minimal setup. After some fiddling chromium is fine and I generally simply don't use GUI apps otherwise, and when I do it's still usable if not great. Retina screen and OS support was the primary thing that kept me on a mac. (edit: terminal and chrome look great so I'm happy)

* Miss a few apps: Quiver, Artful, Dash

* I still keep my mac around just in case, but haven't needed it yet.

* Touchpad: nothing touches a macbook (although I'm not jazzed about the huge new one), on the other hand the X1 Carbon's is actually quite good.

oh, and I use Manjaro-i3 [1] -- I've been there, done that with setting up Arch from scratch...highly recommended.

1: https://forum.manjaro.org/t/manjaro-i3-16-06-16-06-1/3329

phaedrix··on Lenovo ThinkPad T460 – A Good Linux Laptop for Development
Thanks! I didn't know about that. Maybe that's the difference as my linux is solely suspend to ram (never could get hibernate to work)
phaedrix··on Lenovo ThinkPad T460 – A Good Linux Laptop for Development
I should have been more specific, and the word 'forever' was overly hyperbolic - though when you're doing it 20 times in an hour it gets to feel that way.

Relative is the key:

Linux wakes up in milliseconds every time; by the time I open the lid all the way it's ready to go. rMBP (2012) can be from almost as fast as linux to ~10 seconds. I'd guess the average is ~3 seconds; though sometimes even when it wakes up fast I'll still get a beachball for a bit.

I mostly use my laptop around the house and often open and close it many times in a short period -- for instance say I'm reading something technical on the kindle in the armchair; I'll flip it open quite often to test or look something up quickly, so even having to wait a few seconds gets obnoxious.

I could just leave it open, but I don't always have a safe place to put it while open.

note: no external monitor, so that's not the issue.

phaedrix··on Lenovo ThinkPad T460 – A Good Linux Laptop for Development
I recently switched back to Linux (ThinkPad/Arch/Kernel4.8) after 5 years using a Macbook Pro (after using linux for 5 years previously).

Linux hardware support has become much better without a doubt.

However just in the last couple days I've had the following sporadic issues:

* External usb keyboard/mouse simply wouldn't work (and doesn't show up in lsusb). Restart fixed.

* If left overnight, occasionally won't wake up from sleep; requires restart.

* Upon start trackpad/trackpoint occasionally doesn't work; do not show up in xinput; probably fixable, but haven't dug into it.

On the other hand, mac had its own issues:

* Macbook takes relatively forever to come back from sleep; thinkpad is practically immediate.

* Macbook wireless constantly has issues connecting, to the point of having to turn off wireless and back on multiple times (this occurs often).

* Opening many tabs in chrome on mac causes serious slowdowns. Have yet to see any slowdown on thinkpad even with 20-30 tabs. This also goes generally for mac beachball issues.

In general, Arch/i3 combo is far better than MacOS for my needs (95% of time in terminal/browser).

phaedrix··on Apple Sucks Now, Here’s a ThinkPad Buyer’s Guide
XPS 15 9550 has Skylake: https://en.wikipedia.org/wiki/Dell_XPS#XPS_15_.28Touch.29.5B...
phaedrix··on API providing threat analysis of any given IP address
Although at a guess, most of these services probably do the simplest thing possible and go by an open port.
phaedrix··on Yahoo sold to US telecoms giant Verizon
Direct URL to opt-out: https://wbillpay.verizonwireless.com/vzw/secure/setPrivacy.a...
phaedrix··on D'Oh My Zsh – How I unexpectedly built a monster of an open source project
Have you cleared out your ~/.zsh_history recently? I periodically need to reset mine to increase init time.
phaedrix··on Yahoo BOSS service to be shut down
Announcement: https://developer.yahoo.com/boss/search/

The only other option seems to be Bing Search API. Anyone know of a decent other alternative?

phaedrix··on Time Warner Cable says up to 320,000 customers' data may have been stolen
"or security breaches at companies that stored TWC customer information"
phaedrix··on Ask HN: What's your new year resolution?
Watch less TV, go to bed earlier/get up earlier and read more nonfiction.
phaedrix··on Ask HN: Have you remapped the Caps Lock key? [Poll]
Have caps lock mapped to quick escape and control (i.e. tap for escape and hold down for control). Somewhat related, left-control is mapped to Hyper. This post was an inspiration: http://stevelosh.com/blog/2012/10/a-modern-space-cadet/#happ...

Combined with ShiftIt, I can approximate a primitive keyboard-controlled tiling window manager on the Mac: https://github.com/fikovnik/ShiftIt

phaedrix··on Ask HN: How many HNers use encryption?
Care to add the ability to vote for VPN?
phaedrix··on Oyster, Netflix for books, is launching the beta version of its iPhone app
So...Would have to read books on an LCD screen instead of a nice-on-the-eyes Kindle screen? No thanks.
phaedrix··on I Can't Find a Single Productive Use For My Tablet
Reading PDFs.

I Now do almost all reading of technical books on a tablet simply because they're far lighter than most technical books.

phaedrix··on Vim After 11 Years
I use space for toggling folding:

  " space toggles the fold state under the cursor.
  nnoremap <silent><space> :exe 'normal! za'.(foldlevel('.')?'':'l')<cr>
  " <leader>space expands with zO
  map <leader><space> zO
phaedrix··on Slate: a Mac OS X window manager for power users
Just moved to a MBP Retina for the hardware after using Linux for years, and the main thing I miss is Awesome WM. After looking at Divvy, SizeUp and several others, finally settled on ShiftIt (primarily because of key shortcuts for resizing horizontally by custom percentages), but may have to give Slate a try...ShiftIt helps, but still no comparison to a decent Tiling WM like Awesome.

https://github.com/fikovnik/ShiftIt

phaedrix··on Fuck it, I'll Do This Alone
People find it hard to commit to things, so if you take that out of the equation and they can just show up if they feel like it at that time, that makes it easier.
phaedrix··on Why the Fuck?
Something like this already exists, albeit in an early stage: http://www.legitscript.com/products/IBUPROFEN (see the product search input on the left-hand side)
phaedrix··on "Your criticisms are completely wrong": Stallman on software patents
Guessing they meant the conference only uses Silverlight for streaming.
phaedrix··on The Hacker Way
The definition of 'hacking' by hackers: http://catb.org/jargon/html/me...

"In fact, hack has only one meaning, an extremely subtle and profound one which defies articulation."

so regardless, defining the 'hacker way', especially in the context of a massive corporation, is a bit ridiculous.

phaedrix··on Pasting in command line Vim doesn't have to suck
perhaps, I'm forgetting something, but these solutions seem overly complicated.

I just have this in my .vimrc, and pasting (with formatting), is as simple as copying text, going to vim and hitting 'p' in command mode.

  for middle-click (system) clipboard:
    :set clipboard=unnamed
  for ctrl-c (X11) clipboard:
    :set clipboard=unnamedplus

  couple caveats:
  * +xterm_clipboard
  * 'unnamedplus' is only for >= 7.3.74 
see here for more info http://vim.wikia.com/wiki/Accessing_the_system_clipboard

note: I used unnamedplus for a bit, but found it to be much less desirable than using the unnamed middle-click buffer...YMMV

← PreviousPage 2 of 2