News for hackers. Stuff that matters.

voyvf

> I just see people doing it as if it was a mean to something and that's what eludes me (apart from, growing muscles to attract some girls, I get that).

If it helps put things into perspective - it's a rare person who wakes up and wishes that they were weaker than they were the day before. However, that's precisely what happens to you if you don't engage in resistance training; this is especially true the older one gets.

Re:Why Awk for AI? (1997) on Friday May 17, 2013 @02:16PM (#5725881)
> I don't think anyone would seriously advocate using awk for complex projects these days,

Never underestimate the power of intellectual inertia, and the lengths people will go to in order to continue using their favorite tool - no matter how poorly suited to a task it might be. ):

Re:Putting healthcare in hackers' hands on Wednesday February 27, 2013 @09:35AM (#5292509)
Well... this certainly beats parsing HL7, especially v2.x (http://en.wikipedia.org/wiki/Health_Level_7#HL7_version_2.x for those not familiar with it.)

Good work. :D

Re:It Could Be Old Age, or It Could Be Low B12 on Wednesday November 30, 2011 @12:10PM (#3295756)
Good thing I'm a meataterian! :D
Re:The Deadly Microsoft Embrace on Tuesday October 18, 2011 @10:20AM (#3125262)
> Why do you assume using Linux means you are training to be a programmer? > Personally, I have installed Ubuntu Linux on friends' "old" laptops that have gotten "too slow" for Windows upgrades. Instead of being thrown out, these machines are still being used for common tasks such as internet browsing and e-mailing.

I'll vouch for this. My wife uses Xubuntu, and she's an accountant. There was a period of learning for her, but then again, part of that was due to the fact that one can automate just about anything via cron. (:

Re:Python Requests: HTTP for Humans on Monday October 10, 2011 @02:20PM (#3095070)
I love this API, and it looks like the dev version is getting even better. r.iter_content is exactly what I needed! :D
Re:PyPy 1.6 Released - Full Python 2.7.1 Implementation on Thursday August 18, 2011 @03:03PM (#2900558)
> It's "real" support, using your criteria. However, it's slower in PyPy than in CPython and than what the same thing based on ctypes would be on PyPy. > If there's a pure-Python version of the C extension, it might be faster on PyPy than the C extension support that cpyext (PyPy C-API compatibility module) provides.

That's fine, the mere ability to run them will be nice. (:

> Cython-based code is currently incompatible (it goes well beyond the public C-API), but a GSoC project to generate ctypes-based pure-Python code from Cython is (was?) going on.

I remember that GSoC! Any idea as to what happened to it, if it was scrapped, or whatever?

Re:PyPy 1.6 Released - Full Python 2.7.1 Implementation on Thursday August 18, 2011 @02:12PM (#2900344)
> has beta level support for loading CPython C extensions.

Is this via ctypes, or "real" support in much the same as how CPython would behave?

I ask because this is one of the features that I've been waiting (impatiently) for - I've run some Flask projects using PyPy and gunicorn, and love how fast it goes, but really want to be able to use the rest of my codebase, which unfortunately does rely on some C (and Cython) extensions. (:

Re:Django Offline Docs on Thursday August 11, 2011 @09:09AM (#2872616)
Nice! I do remember having to install a crapload of packages in order to generate PDF docs, though if one uses a lot of software with Sphinx docs, it's more than worth it, IMHO.
Re:Tom Pinckney: Why I gave up on Java and switched to Python on Wednesday August 03, 2011 @09:16AM (#2840993)
Or, for that matter, D2.
Re:Humble Bundle #3 is Live on Tuesday July 26, 2011 @02:15PM (#2808688)
I'd like to thank the Wolfire crew for making these marvelous games available at a reasonable price - and especially for the Linux support. :D
I lucked out; when a Google recruiter contacted me, I had just gotten a job (had been doing contract work for a year prior.)

I'm pretty happy not being Google material - I have no degree, and I'll be the first to admit that there are many Comp. Sci. graduates who can code circles around me. I think that's awesome - I've reaped the benefits of the work of many others before, and from the looks of it will continue to reap them (I'm looking at you, PyPy team. Keep up the wonderful work! Let me be lazy, and not have to write an extension in C or C++. :D)

The most advanced work I've done thus far would be writing out a somewhat decent decision-tree system in C++ (I know, mind-bogglingly advanced! (: )

There's plenty of room in the mediocre to almost-above-average scale.

Re:Introduction to C++ with Game Development on Friday July 01, 2011 @01:24PM (#2719228)
Thank you for pointing that out. It appears that the author of the article subscribes to the atrocious concept of C/C++, rather than realizing that they're two separate languages.
Re:Why Twitter Should be Very Worried about Google+ on Friday July 01, 2011 @01:21PM (#2719220)
While I realize it mentioned it in the article, and that it's forthcoming, I'll withhold my opinion of the "threat" to Twitter and Facebook until I see what kind of API they're going to roll out for Google+.

One of the reasons I like the older services is that I can access them via SMS - in fact, Twitter is just about perfect for that use case.

Re:Is tmux the GNU Screen killer? on Sunday June 19, 2011 @10:08PM (#2672576)
> For one, Screen is everywhere. I can go from system to system and it'll be there.

And that would be why I still use screen, for the most part. Tmux is nice, but it isn't prevalent (yet.)

> If you compile recent clang, it supports range based for loops.

Thanks for the tip, will update my copy and try it out this weekend! :D

Re:One Way to Deal with Internet Thieves on Monday April 11, 2011 @01:00PM (#2433242)
First of all, I both agree and disagree with you. :D

The OP's idea was sound - and not without precedence - but the execution was flawed. I say not without precedence, because people have been spitting in the eye of internet theft since the first person figured out how to configure their web server to behave differently based on the Referer header.

Many, many "hot-linkers" (including some fairly well known U.S. politicians...) have gotten an image that was unflattering, simply because they or their staff couldn't be bothered to download and host it themselves. (:

However, I do agree with you in that one cannot be certain about information lifted from WHOIS and Google. That brand of revenge is quite thoughtless, and could have severe repercussions on someone (and, as you pointed out, their family) who's completely innocent.

As such, while it may sound childish, replacing assets for scrapers to such an extent that they get something embarrassing is, IMHO, perfectly fine, so long as it's kept childish (e.g., they receive pages that state "I spent all that time on my scraper and all I got was this lousy GeoCities page", complete with ugly animated gifs), and not malicious, like posting someone's personal information.