HNHacker News
TopNewBestAskShowJobs

graywh

1,188 karma · joined February 22, 2008

contact: gmail, github, freenode, twitter
submissionscomments
graywh··on Solar Is Cheapest Electricity in History, U.S. DOE Aims to Cut Costs 60% by 2030
no, https://www.tva.com/energy/our-power-system/hydroelectric/ra...
graywh··on The world is facing a coffee deficit
"i.e." is for giving clarification, not examples

e.g. is for giving examples

there are plenty of resources on the Internet to further explain this

graywh··on Removed gem breaks Rails ActiveStorage
we get a form of this with our two-stage image building process -- the first stage installs all dependencies and we only update it when dependencies change
graywh··on Kinto: Mac-style shortcut keys for Linux and Windows
I might need this when we finally go back to the office and I have to switch from the MBP w/ Magic Keyboard at home to my Ubuntu Dell workstation

now if I could only override some of the application shortcuts that can't be changed (like ctrl-w closing a tab or window)

graywh··on A Vim Guide for Advanced Users
in other words, I = ^i and gI = 0i
graywh··on “I will slaughter you”
white hat hackers -- we got manners and shit
graywh··on Teardown of the Apple's A1243 Keyboard
I found one (A1242) in the office surplus last year and have been using it since.
graywh··on YouTube to remove content that alleges widespread election fraud
I think in most cases, your in-person vote in that situation is provisional -- meaning it will only count if your mail-in vote doesn't arrive
graywh··on Apple to let Facebook online events temporarily avoid 30% cut
Apple wanted a cut of physical packs of Pokemon cards when the code inside that pack was redeemed inside the online game on iOS. Pokemon had to disable code redemption for iOS.
graywh··on The majority of 18- to 29-year-olds in the US are now living with their parents
just looked up a random 2-bed, 1400 sq-ft home in my city of 600k -- sold for $31k in 1975 (comparable to $150k now), easily worth $350k today

this isn't a neighborhood known for gentrification, either

graywh··on The majority of 18- to 29-year-olds in the US are now living with their parents
The old 2 bedroom houses are disappearing in many neighborhoods. "Tall skinny" is a swear word in my town.
graywh··on The First Randomized Controlled Trial on Vitamin D and Covid-19
the body makes vitamin D3 when UVB rays hit cholesterol in the skin

sunscreen either blocks, scatters, or absorbs those rays

seems to reason that sunscreen slows down sun burn and vitamin D3 production

graywh··on The Miracle Sudoku [video]
extensive "exploration and backtracking" (what the community calls bifurcation) is generally avoided when setting puzzles

there are more advanced patterns and techniques that can be used with sudoku, but this puzzle doesn't feature all of them

graywh··on The Cost of Free Doughnuts: 70 Years of Regret
They are still doing both.
graywh··on Bill Joy's greatest gift to man – the vi editor (2003)
nitpick: you seem to be talking about command-line mode; command mode is normal mode
graywh··on New 13-inch MacBook Pro
and this is why I still use two 20-inch 4:3-ratio monitors in portrait mode (combined screen is 2400x1600) -- I can look at each monitor with minimal neck movement and the viewing angle for each half is independent. when i've tried a single, curved ultra-wide I still felt like the outer third on each side was a tilted away too much
graywh··on How to play board games online with your friends
The River (by Days of Wonder) is a worker/resource game that can work since there's limited private information that originates as public.
graywh··on Renaming files with mv without typing the name two times
Zsh can expand expansions before you execute a command
graywh··on Why It’s So Hard to Change People’s Commuting Behavior
> at some point you'll have to get a new job that wrecks this plan. Do you force your family to move every 2-3 years, everytime you get a new job, so you can continue to live cycling-distance to it?

you could give preference to jobs that don't require moving

graywh··on Her Amazon Purchases Are Real, the Reviews Are Fake
There are some invite-only third parties selling on target.com.

https://www.usatoday.com/story/money/2019/02/26/target-like-...

https://www.target.com/p/steel-hammock-stand-10-sunnydaze-de...

graywh··on Amazon’s quest for more, cheaper products has resulted in a flea market of fakes
I've been buying used copies of the paperbacks my kids need for school from discoverbooks.com

they often have notes, highlighting, and dogears -- perfect for our use-case

graywh··on 16-inch MacBook Pro
ctrl-c is a poor substitute for several reasons

1. it cancels any modifiers on the insert command

2. it won't trigger any abbreviations

3. it doesn't work with visual-block insert

4. it bypasses InsertLeave autocommands

graywh··on Traffic lights worldwide set to change after a Swedish engineer saw red
He may be joking? The US and Canada have green on the bottom.
graywh··on Dropbox no longer follows symlinks to items outside of your Dropbox account
What version of Vim? Because I've never experienced this problem in over a decade of use.

Try it yourself:

    echo "test1" > test1
    ln test1 test2
    vim -c 's/1/2/' -c x test2
    cat test1
Edit: Oh, you can configure Vim to break hardlinks

https://vim.fandom.com/wiki/Editing_a_hard_link_to_a_file

graywh··on Developers Who Use Spaces Make More Money Than Those Who Use Tabs (2017)
heretic
graywh··on Don't donate canned goods to food banks (2017)
my employer gives them out 2 weeks after Thanksgiving
graywh··on Cockroaches becoming resistant to most chemical insecticides
American cockroaches take 6 months to a year to reach reproductive maturity
graywh··on Without a GUI: How to Live Entirely in a Terminal
I use ctrl-_ which is generated by "ctrl 7" or "ctrl /" on the terminal emulators I use (xterm and iTerm.app)
graywh··on Versioning Your Home Directory
my .gitignore is set to ignore everything with a wildcard and un-ignore a few hidden directories where i'm likely to place new files (e.g., .vim, .zsh)
graywh··on A map of the US where city names are replaced by most Wikipedia’ed resident
It's based on what wikipedia pages exist. Several neighborhoods in my city are on this map, but nearby incorporated cites are not.
← PreviousPage 3 of 23Next →