News for hackers. Stuff that matters.

bsagert

Re:OS X Command Line Utilities on Tuesday September 01, 2015 @12:05PM (#10153362)
> former admin--windows, alas.

Honest question, why the need to apologize for being a former Windows admin?

Re:Why telephone keypads are arranged the way they are on Sunday August 30, 2015 @02:09AM (#10142418)
I worked as a telephone repairman in the dial era. Impatient diallers would often "push" the dial back rather than let it unwind naturally. Switch gear in the central office was sensitive to mis-timed pulses so wrong numbers often resulted. Also, as mentioned elsewhere, the early keypads sent pulses rather than DTMF, which made for an annoying clicking sound in one's ear.
Re:How to land an airplane if you are not a pilot on Saturday February 02, 2013 @05:07AM (#5155666)
There seems to be a few pilots on this thread but no one has yet mentioned trim tabs (http://en.wikipedia.org/wiki/Trim_tabs). The landing speed of a small plane is slower than cruising speed and the trim tab has to be adjusted or keeping the nose up will take take more strength than realized. That alone would cause further panic to an inexperienced person.
Re:Python for Beginners on Thursday December 27, 2012 @01:47AM (#4972625)
The space character argument is also superfluous as it is the default.

strlist = 'one two three four five'.split()

Re:Zsh is your friend. on Tuesday January 31, 2012 @08:50PM (#3536248)
Thanks mgrouchy for another site that breaks pgdn. The header that never moves hides some lines on the next page. Reading becomes an annoying series of page downs then scroll up a bit to read the hidden sentences. Does this annoy anyone else?
Re:Why God Hates German Words on Monday August 01, 2011 @02:34AM (#2831031)
>policeman-speak is still well-known for being unnecessarily verbose

Policeman-speak is closer to lawyer-speak because police spend a lot of time writing reports that are subject to cross examination in court. Police and lawyers must communicate clearly (in legal-speak) despite any difference in class.

My Toshiba Satellite Pro has a Celeron 497 MHz processor which Intel produced in 1999. It has been used almost daily since then, upgraded to XP but with the same 10 gig HD.

I still follow 1500 stocks with Lotus 1-2-3 for DOS (please, no codger jokes). I use a Python script to download daily Yahoo stock data and Lotus reads the resulting CSV data. Any changes to my stocks are written to a python database by Lotus also. As a wag said, if it works, don't fix it.

Re:I think Twitter’s OAuth-only Access is a Waste of Time on Friday September 03, 2010 @09:42PM (#1661722)
>"I just want to write a little Twitter API script in 5 minutes"

In that case you would use Out-of-band/PIN Code Authentication. See http://dev.twitter.com/pages/auth_overview.

For Pythonistas, my little Twitter API script uses tweepy.py. Thanks to http://jmillerinc.com/2010/05/31/twitter-from-the-command-li... for the steps involved. As an exercise, you could scrape the required PIN with beautifulSoup or similar code to eliminate one step.