News for hackers. Stuff that matters.

beaumartinez

Re:What one may find in robots.txt on Monday May 18, 2015 @07:16AM (#9563752)
"But satisfaction brought him back."
Re:John Resig annotates original jQuery source code on Tuesday April 07, 2015 @04:26PM (#9336930)
In modern Vim (with netrw), you can type `gx` when the cursor is over a URL to open it in your browser.
Re:Consistency and discipline over motivation on Tuesday April 07, 2015 @12:28PM (#9335158)
Great read.

One of my favourite quotes is "motivation follows action". Often times I've found myself loath to do something, but once I start "revving up" (at work, it might be starting with something simple like a small refactor; at home, it could be committing to simply washing one plate of the stack I have remaining) I find I gain the motivation to keep going.

Re:The Tyranny of the Forced Smile on Sunday February 15, 2015 @05:54PM (#9054516)
Thank you! I'll keep an eye out for those.
Re:The Tyranny of the Forced Smile on Sunday February 15, 2015 @02:26PM (#9053690)
I tried to take the test—but the fifth time I pressed "next" it gave me a 404.

The key to faking a real smile is in wrinkling the eyes.

Re:Photos Preview on Thursday February 05, 2015 @03:41PM (#9005891)
> They need to make money somehow.

Yes, because their profit margins are that low (!).

Considering Apple charges you £500 for a phone and £1000 for a laptop, I'd expect a bit more in terms of default cloud storage. 5 gig (and the 16 gig the cheapest iPhone 5S model offers) are incredibly stingy.

Re:Testosterone is the drug of the future on Wednesday February 04, 2015 @06:15AM (#8996251)
Alcohol, plastics (which leech from containers into the liquid they contain), pesticides (on fruits, vegetables)—there are a host of environmental factors that reduce our testosterone levels.

And as for anxiety, I think our modern urban lifestyle far increases our anxiety levels compared to our ancestors.

The human body was not meant for the world we live in!

Re:Lifespan depends on month of birth (2000) on Monday January 26, 2015 @05:27AM (#8946346)
I'd think the opposite. Since she is used to having to work hard from a young age, she will be more successful in life.

Others who coasted through—whom were used to everything being relatively easier—will not have the experience she has already accrued when faced with a harder challenge.

Funny, it reminded me more of the episode "Be Right Back".
Re:The 2014 Panic Report on Monday January 05, 2015 @06:59PM (#8842095)
If only the Nokia of old were still around.
Re:Python: Faster Way on Tuesday December 30, 2014 @07:03AM (#8814238)
Agreed, although it's interesting to see the disassemblies.

Python is a language about readability and conciseness first, performance second.

I would have liked to have seen `map` used in the list comp examples, as well as seeing the tests run on Python 3.

Re:Mozilla and KDDI Launch First Firefox OS Smartphone in Japan on Thursday December 25, 2014 @02:54PM (#8797013)
Adding my own two cents here—

- You can no longer put your phone into silent from the volume slider

- You can no longer put your phone into vibrate or silent from the power menu

- They removed the shortcut to "app info" from the most recents menu, and from the notifications menu (I used this to force-stop apps)

- Apps randomly restart themselves; I assume this is a memory leak issue (this is on a Nexus 5, I'd never experienced this before)

- Reduced battery life (night-time battery life is abysmal—my first night with Lollipop I missed my alarm because my phone died)

I was so frustrated by Lollipop I reset my phone to Kit Kat. They removed a bunch of shortcuts, and I really don't understand why.

Re:Two Simple Steps Helped Me Learn Vim on Wednesday December 10, 2014 @08:08AM (#8728934)
To to keep your fingers on the home row, in order to have better access to all the other keys in your keyboard.

Having your fingers on the arrow keys mean your hand has to travel that much further to type the other keys—making you slower.

Re:Two Simple Steps Helped Me Learn Vim on Wednesday December 10, 2014 @08:06AM (#8728928)
Good tips. Getting in the habit of explicitly searching (/) instead of scrolling is another one.

On the subject of using fFtT (and other motions), there's a plugin I quite like that works well with my mental model of that motion—I often don't want to go to the first instance of that character, but the second or third in that line. EasyMotion[1] lets you do that.

[1] https://github.com/Lokaltog/vim-easymotion

Re:Run to Stay Young on Friday December 05, 2014 @06:20PM (#8707516)
I've always heard a lot of this is due to improper running technique, since shoe technology shifted to a heavily-padded heel. This in turn made people more likely to land on the heel, which sends the shock right up the leg, into the knee.

Barefoot running, and less padded shoes, promote landing on the balls of your feet (as otherwise it's incredibly painful!). Landing on the balls of your feet allows your foot to reduce the force that gets shot up the leg.

Re:The Limits of Friendship on Wednesday October 08, 2014 @06:55AM (#8426244)
Relationships are an investment. It requires some effort but the return on that effort is incredibly high. As I get older I realize how valuable my friendships all are.
Re:A Call for a Low-Carb Diet on Tuesday September 02, 2014 @05:06AM (#8256477)
It's because you weren't eating any fats. On a low-carb diet, your body uses fat as its energy source. If you don't eat any fat, your body will not willingly consume your body fat.

Excess protein you eat is effectively broken down into carbohydrates as well—so everything was working against you.

> With little research

Try it again—/r/keto have an excellent FAQ.

Re:I created my own MMO and lost 100 pounds on Tuesday July 29, 2014 @06:45PM (#8105425)
Thanks! This plays nicely with my confirmation bias; I've been on a ketogenic diet since March and I've felt much better because of it.
Re:I created my own MMO and lost 100 pounds on Tuesday July 29, 2014 @04:48PM (#8104926)
Interesting. What studies did you stick with?
Re:Which is better, Adblock or Adblock Plus? on Tuesday July 29, 2014 @11:27AM (#8102718)
I've posted this on previous ad blocking threads, and I'll post it again because I think it's very relevant—

> "Adblock without the plus" isn't the original Adblock (from which Adblock Plus was forked), it's an extension created for Google Chrome once Google Chrome enabled support for extensions. Very disingenuous name. It piggy-backed on the work already done for Adblock Plus (for Firefox).

> Adblock Plus for Google Chrome came much later.

Nowadays, I use and recommend HTTP switchboard[0]. It's fully open[1], and offers very powerful customization on what exactly to block on a site.

[0] https://chrome.google.com/webstore/detail/http-switchboard/m...

[1] https://github.com/gorhill/httpswitchboard

It's a remake of the original Abe's Oddysee.
FTL is a bit of an outlier in the sense that they were fully funded. If you're an independent studio without that kind of money, you're still at a publisher (or other financer)'s mercy.
Re:Why I can’t stop using Vim on Sunday June 29, 2014 @10:11AM (#7961213)
:x

(It's the same as :wq, but one character shorter.)

Re:Massive 'ocean' discovered towards Earth's core on Friday June 13, 2014 @07:09AM (#7888156)
Which episode was that? I'm struggling to remember it.
Re:The Future of Kinect on Monday June 09, 2014 @08:03AM (#7867998)
Perhaps, but are "regular folks" that inclined to buy an Xbox One just to play a few Kinect games? Sales figures suggest not.
Re:Git 2.0 on Wednesday May 28, 2014 @08:47PM (#7813960)
There is, in the linked article.
Re:Control-R, my favorite Unix shell command on Sunday May 18, 2014 @03:16PM (#7763995)
I'd do this, but the lack of indication of the editing mode you're in destroys how useful this'd be to me (I'd have to paranoidly hit Esc all the time).
Re:Ack is a grep-like tool, optimised for programmers on Wednesday May 07, 2014 @10:34AM (#7710339)
ag has had this for a while now (I'm on version 0.21.0).
Re:App.net State of the Union on Tuesday May 06, 2014 @03:07PM (#7706461)
The problem with App.net was that it offered nothing new. It was an alternative to existing free, established products—Twitter (and, to an extent, Google+ and Facebook).
Re:2048, success and me on Tuesday May 06, 2014 @12:16PM (#7705370)
This is very well said, and a very good point.

Not all derivative works are strictly bad, in the same sense that copyright infringement (eg, downloading an album on The Pirate Bay to try it out) can be a gateway to purchasing content (albums, concert tickets) a consumer wouldn't have otherwise.

Older »