News for hackers. Stuff that matters.

kleevr

Re:New Programming Jargon on Friday July 20, 2012 @08:49PM (#4273540)
Ran into one of these about a month ago. I was working with some sketch PHP that was resulting in a seg fault, when I attached xdebug and stepped through the code, it ran fine.
Re:GoDaddy SSL Cert Scam on Monday July 11, 2011 @06:36PM (#2752775)
Every so often I have to do some minor maintenance work on a GoDaddy account, I can't stand their interface.

I may have said it elsewhere, but I'm a big fan of DirectNIC even though they are double GoDaddy's price. There interfaces are really clean, and any time I've transferred or sold a domain it has been an absolute breeze. And back in the day, when all the major registrars were shutting down their web-based WHOIS tools (NetSol et al), DirectNIC always kept their WHOIS tool open which always bought them a lot of good will in my book. (I wasn't aware of command line tools like 'whois' and 'nslookup' yet...)

Re:Goodbye Basecamp, This Is The End on Friday June 24, 2011 @11:21PM (#2694832)
I just set up redmine about 2 months ago, and I'm loving it. Recently got my SVN linked up and now I can cross reference commits with issues in the tracker.
Re:Boot a linux kernel right inside your browser. on Tuesday May 17, 2011 @08:42PM (#2558606)
Getting the same thing on Google Chrome 12 on Ubuntu 9.04.
I kind of like hiding the points for active threads, maybe after 24 hours it could show the points. This would be helpful when
Re:IBM's infamous "Black Team" on Friday April 22, 2011 @12:36AM (#2473290)
I used readability on this link. It actually dropped the 'Epilogue' on this one which left me scratching my head for a couple seconds before I backed out. But readability is incredibly handy on almost every ugly/noisy content page, it's one of the few tools I use every day.

I didn't know Safari had a "Reader" button (I usually stick to FF/Chrome), out of curiosity do you know who implemented the idea first?

I'm sure you could pick up quite a few bitcoins with it.
Re:1 bitcoin worth more than dollar on Thursday February 10, 2011 @01:08AM (#2201010)
This was an excellent explanation, and it's a really brilliant idea. And the fact that it already has an impressive perceived value (parity with USD), I would totally accept it as a form of payment. It will be interesting to see what this does over time.
Re:Steve Pavlina: 30 days since I quit Facebook on Friday February 04, 2011 @10:04PM (#2182321)
Honestly I don't mind keeping FB as a Rolodex of people I may only tangentially know, but I don't necessarily want to know what they had for breakfast. Hiding totally solved this problem for me too.
Re:Some fun mathematical puzzles on Saturday November 20, 2010 @10:19AM (#1924602)
1+5+4 = 10 (even digit sum)

For small values of X < 10

11X = X+X, 2X always even

For slightly larger values of X, where 11X < 200

11x10 = 110, (starts out even)

11x11 = 121, (both of the first two digits increment by one, flipping even or odd ... in unison)

11x18 = 198, (only two signs will flip until we increment the 100s place, when that happens we will reverse three signs instead of two)

11x19 = 209, (now, three instead of two flip, and our sum comes up odd for the first time, 2+0+9=11)

Re:Two weeks with Vim on Monday November 15, 2010 @10:07PM (#1908846)
I'm running Ubuntu on my development machine, and I really enjoy VIM keybindings. I had a lot of trouble getting the key bindings to work in Eclipse, but jVi worked like a charm in NetBeans for me. (Needed a rich IDE for some Magento dev. Sometimes to make a 2-line change properly in the core involves making 3 dirs, 2 XML files, 1 php file. le sigh)
Re:Diaspora Developer Release on Thursday September 16, 2010 @07:38AM (#1697499)
Given the misspellings/mispronounciations/miscommunications already inherit in the name, I think they should re-brand as something like: Disápora ... (or some other spelling of a similar phonetic ilk)

* I say this because every time I've tried to describe it verbally, I always end up saying something like 'disapora' and making a hand-wavey gesture in a direction "away" from 'facebook'

Re:Are your pants lying to you? An investigation on Wednesday September 08, 2010 @04:40PM (#1673415)
Perhaps, they should find a way to (re)measure the final product, and re-label as necessary.
Re:Are your pants lying to you? An investigation on Wednesday September 08, 2010 @04:36PM (#1673398)
My mother, who has worked as a seamstress, says that when they cut the fabric for the patterns, the pattern cut can vary as much as 2 inches depending on whether the fabric was on the top or bottom of the stack being cut. (Though I'm sure the error margin might be lower these days than they were before.)
Re:Conde Nast refuses to run Prop 19 ads on reddit on Friday August 27, 2010 @06:09PM (#1640456)
True, but there's also the massive anarchistic user base. /r/all is/was yelling censorship top to bottom. Starting to look a lot like the Digg Revolt[1] circa '07 regarding the 09 F9 .. censorship.

[1] http://en.wikipedia.org/wiki/AACS_encryption_key_controversy...

Re:Ask HN: Best Philosophical Books? on Saturday July 10, 2010 @03:31PM (#1504208)
> (out of about 750 pages)

Come on, it's 777 pages for a reason! :)

When I realized the page count (purposefully) included the index I was quite tickled. So many gems, little and large...

Uh, I wouldn't know about Leopard; but Ubuntu can apparently go to "11". (http://i.imgur.com/8E7Wx.jpg)
Re:Ask HN: What were your naivetés in your twenties? on Wednesday June 30, 2010 @05:00AM (#1474285)
I couldn't find the original quote, but if I can paraphrase it:

Spend two pence less than you make and you'll be content, maybe even happy. Spend two pence more than you make and you'll be miserable.

Re:Tell HN: my hack to beat insomnia on Friday June 11, 2010 @08:39PM (#1425268)
I'll second this. The method I use is to count to five, then return to 1. You can sort of gage where you're at, as you'll catch yourself hitting 6, 10, 12 before returning to one. This is a good sign, just don't get too excited about the fact that you're about to fall asleep...

(Also, recently I had only been awake 8h that "day", but needed to get to sleep "early" in order to get a full 8h of sleep before a client meeting the next morning. So, I made Mac&Cheese with an entire stick of butter (~1500cal + 90g fat). This seemed to slow my heart down and put me out like a light. Though this method has obvious health implications, I'd be lying if I said it didn't work like a charm... that one time.)

Re:This link says it's from YouTube but it's not on Monday April 12, 2010 @03:57PM (#1260181)
My first computer job as a teen was working at a small SEO shop (3 people) writing little cgi/perl scripts for this and that.

Yahoo's http server at that time used to take redirect URLs in this format: "http://yahoo/url/*http://exiturl/. They were using these URLs on all search results, I'm guessing to track click-throughs to improve rankings. So I set up a script on our site to load an image using this format with the img src in the exit-url, and for the yahoo-url and we would round robin 'client' links though. Essentially spoofing legitimate search&clicks on yahoo from unique IPs from our site visitors. Over the next two weeks all our sites started bubbling up in the results. This worked for about a month before Yahoo changed something (I'd guess they started validating the http-referrer or the exit-url), and it all stopped working.

But, for that brief window of time when it was working, I was the king of the high fives.

(FWIW, I don't do SEO work of any kind anymore, and I certainly don't advocate 'blackhat seo'.)

Re:Ask HN: got any food hacks? on Saturday April 03, 2010 @04:08PM (#1239057)
Healthy, cheap, or tasty: pick two. Right? :)
Re:Perfect example of real-life hacking on Thursday February 25, 2010 @11:42PM (#1152378)
I guess the proof is in the pudding... (thanks)
Re:Perfect example of real-life hacking on Thursday February 25, 2010 @11:39PM (#1152368)
Are you sure this is real?

I ask because this anecdote seems to be verbatim from the movie "Punch Drunk Love". Although the movie I mention was released in 2002: http://www.imdb.com/title/tt0272338/

Re:_why the lucky stiff on The Setup on Saturday January 23, 2010 @04:45PM (#1072457)
I worked around it by adding the following to my host file: "74.207.245.100 _why.usesthis.com"
OT: I did find it very interesting to learn that the second most popular book (up to the beginning of the twentieth century) was Euclid's The Elements after the printers were done pressing bibles.
Re:Srinivasa Ramanujan on Thursday October 29, 2009 @04:26PM (#910818)
Netwon also spent a great deal of time attempting to decipher codes in the bible...
Re:Starting a business isn't as crazy and risky as they say on Wednesday October 21, 2009 @02:08PM (#895251)
Growing up my family saw some rough times. We were living in a small city when the local economy collapsed, and my Dad was out of a job. So, he took the last bit of money he had, bought a trailer, put a hitch on the car, and started a small landscaping company.

Less than six months later, we moved from the smallest house my family had ever lived in, and into the largest house we ever lived in; in a down economy no less.

I don't know that my father ought to be considered a "serial entrepreneur" as he was never trying to get rich -- only to provide for us, but he did similar things on several occasions whenever push came to shove. More importantly no matter the job climate, he always either found or created enough work for himself to support the rest of us.

The lesson I take from this is: when your job sucks or even outright ceases to exist, if the job market is bone dry and the economy is in decline, it might really be the best time to create your own business. (And,.. you'll never know unless you try.)

Re:How to run a small consultancy / freelancing business on Monday September 28, 2009 @09:48PM (#849632)
Wow, the responses went way off map on that thread ;)

All my computer work, including job-type jobs I've held, have all come through networking. But that's really just a truism I guess, in that all work will/must come from networking. Which I take as your point...

What's interesting to me is the way one's personal network, seems to grow; like the facts of networking are stranger than fiction in an organic "Connections (BBC)" sorta way.

(Been watching old connections episodes on my G1 off youtube, while the inet is out at my house. Great show.)

Older »