HNHacker News
TopNewBestAskShowJobs

jaredmcateer

656 karma · joined January 14, 2013

Just a small town girl, living in a lonely world.
submissionscomments
jaredmcateer··on Best of Vim Tips
In your vimrc add the following (version 7.3+):

    set number
    set relativenumber
This turns your line numbers into a hybrid mode that show the numbers relative to your cursor and the actual line number your cursor is currently on.
jaredmcateer··on Best of Vim Tips
Don't let this list intimidate you, Vim allows you to learn at your own pace, I was mashing h,j,k, and l for years before I learned the beauty of grouping movements (e.g., 12j instead of j 12 times). I try to learn one new thing a week so I can commit it to muscle memory.
jaredmcateer··on But why can't I send people their passwords?
I'm not even giving a hypothetical scenario. It's no longer fresh in the minds of most people but years ago Reddit used to store their passwords plain text for the convenience of being able to send them to the user, instead of implementing a password reset mechanism. One day their hosts backup tapes were stolen out of the back of a truck. Now they salt+hash their passwords.
jaredmcateer··on But why can't I send people their passwords?
Another thing to consider is if your email provider's offline backups get jacked in transit would you rather your emails contain your plain text passwords or links to a password reset with expired tokens?
jaredmcateer··on Works With Nest
The nest learns how long it takes to heat your house so if you wake up at roughly the same time every day it will start heating the house 30 minutes before you wake up.

e.g., you always wake up at 6am on mon-fri and it takes 30 mins to heat the house then it starts heating at 5:30am, but on saturday you sleep in until 9:30, and the sun has already raised your homes temp a few degrees and it only takes 25 then it starts it at 9:05am.

jaredmcateer··on Show HN: Fast.js – faster reimplementations of native JavaScript functions
That's not really fair, the author of this implementation is non-complainant with the spec by dropping edge cases in order to achieve these improvements.
jaredmcateer··on WebIDE lands in Firefox Nightly
I don't think Mozilla cares about the file size anymore. 10 years ago they cared about the file size of Firefox, the mandate was that it could not be greater than ~5mb, the stable download is now almost 6 times that size.
jaredmcateer··on Adobe's New Pen and Ruler
This guy managed to do great art in MS Paint[1] but it seems they are making great art despite their tool and probably not going to be a good tool for the mainstream professional.

[1] http://www.themarysue.com/ms-paint-art/

jaredmcateer··on Palaeolithic diet: Should we all eat like cavepeople?
Longest I've been able to resist is about 6 months, sometimes I just crave a good sandwich for which there is no substitute to two slices of bread or oven baked mac & cheese or pho with it's delicious rice noodles. It's such a slippery slope, I have one sandwich and next thing you know I'm in some run down motel itching for my next fix, haven't seen light for days other than the crack through which the delivery guy slides in a large pizza or baked lasagna. Kicking my grain addiction is harder than anything I have ever done.
jaredmcateer··on Neovim Newsletter – Issue #1 – A New Hope
I agree with Joel Spolsky on this subject [1]. From what I've seen when people write something monolithic from scratch they just end up making similar mistakes and introduce new problems that weren't there to begin with. Vim's codebase isn't terrible, it's been going strong for 23 years, but it's accrued a lot of technical debt that makes doing somethings difficult. It's also controlled by a single person, and don't get me wrong this isn't necessarily a bad thing, but it makes getting in the necessary changes to achieve the goals of neovim nearly impossible.

http://www.joelonsoftware.com/articles/fog0000000069.html

jaredmcateer··on Visual Studio 14 Preview
I found it usable for 90% of the use cases but that last 10% is incredibly frustrating. It's been a long time since I've used Office so I can't conjure up an example but I remember trying to do something with tables that was fairly straight forward in Office 2003 it was nearly impossible in 2007.
jaredmcateer··on Why Using .* in Regular Expressions Is Almost Never What You Actually Want
Ruby also does not match roman numerals with \d

http://rubular.com/r/bOCmLIfKdZ

jaredmcateer··on Death Row – Last words of every Texas inmate executed since 1982
Here's from the first hundred or so: http://i.imgur.com/QBo5WWY.png
jaredmcateer··on Death Row – Last words of every Texas inmate executed since 1982
I don't think profanity and vitriol is really going to win hearts and minds... well spoken ones such as Napoleon Beazly[1] however are more likely to.

https://news.ycombinator.com/item?id=7822629

jaredmcateer··on Ask HN: Are some signup CAPTCHAs becoming a bit ridiculous (yes you HN)?
Timing form completion also rejects legitimate users that have form filling extensions (e.g., LastPass, 1Password, Roboform, etc.) In my experience hidden form fields were only marginally effective, a lot of bots run headless browsers capable of detecting if a field has been hidden by JS/CSS
jaredmcateer··on Is It Better to Rent or Buy?
Indeed, my wife and I both are pretty much equals when it comes to our careers, we both find them fulfilling and enjoyable, but they are completely different focuses. If one of us were to get a job offer that required us to move, we would have to be certain the other could get a job of equal value there as well or the job offered would have to be about twice as good as the current. So it made the decision to buy much easier and it hardens us against jumping from job to job simply because the grass may look greener.
jaredmcateer··on Monthly revenue breakdown of PlentyOfFish's early days
It used to be the case that a lot of their validation was also client side. E.g., the title section of your profile had an arbitrary length size in the input box but not their database, which was an unrestricted VARCHAR (or equivalent), if you removed the maxlength attribute of the input you could put paragraphs of text in it and it would happily destroy the layout to display it all.
jaredmcateer··on Quora in the next YC batch
It's not hard you click the address or press ^L and it exposes the entire URL the only time it introduces more work is clicking in the start or middle of the URL instead of the end
jaredmcateer··on Ack is a grep-like tool, optimised for programmers
I'm assuming the title got rewritten? It is probably important to note:

"ack versions 2.00 to 2.11_02 are susceptible to a code execution exploit. Please upgrade to 2.12 or higher ASAP."

jaredmcateer··on Talk of an Internet Fast Lane Is Already Hurting Some Startups
Devil's Advocate: most dialup internet services are not metered as well.
jaredmcateer··on Refactored PHP engine makes Wordpress 20% faster
When HHVM & Hack can easily replace the 10 years of legacy php/html/js soup code and bastardized ZF1 implementations without downtime or extensive developer resources I'll believe it. Unfortunately most non-technical companies only care about performance when it's obviously costing them money (i.e., the servers are crashing.)
jaredmcateer··on We'd lose our security certificate if we allowed pasting
PCI compliance requires we change our login passwords every two months. This to me seems to just encourage users to create insecure passwords and sticky notes with them written down somewhere in/on their desk.
jaredmcateer··on Project VimR – Refined Vim experience for Mac
Agreed, the ability to ^z out of the the editor into the shell to quickly run a command is a killer feature for me. True colors or a slicker ui would be nice but they're not critical to my work.
jaredmcateer··on “var functionName” vs “function functionName”
The function declaration is still restricted to the scope it's within. The problem is that the function declaration does some additional hoisting magic nothing else gets. If you declare a variable in the middle of a function the variable name gets hoisted but the value does not. If you declare a function in the middle of another function the name gets hoisted but so does the value. This can lead to some additional quirkiness, which is why it's recommended to use the expression assigned ot a variable, to maintain consistency.
jaredmcateer··on Skype group video calling becomes free
You dont need to use G+ to use Hangouts. If you have a gmail account you're a one step install away from using video chat. Doesn't matter if you have multiple gmail accounts or not, you just need a link, which hangouts gives you in the invite modal.
jaredmcateer··on The latest chapter for the self-driving car: mastering city street driving
And if you ever look at a large parking lot after a thaw when it had been snowing earlier in the day you can see we're also horrible at predicting where the lines are and, for the most part, use other drivers as our guide.
jaredmcateer··on IFTTT launches on Android with deeper integration than on iOS
I've worked around this by setting a reoccurring meeting to go home with my address in Google Calendar, my phone tells me beforehand when I need to leave in order to get home on time. I don't know if it includes traffic in its estimates but I've never been late (give or take a couple minutes).
jaredmcateer··on Google Now for Chrome
Ouch sorry was just trying to be helpful
jaredmcateer··on Google Now for Chrome
Do you have google sync enabled?
jaredmcateer··on Google Now for Chrome
It's definitely on the unstable branches. Hecka annoying because it's almost impossible to close Chrome right now without killing the entire process tree.
← PreviousPage 3 of 10Next →