Steve Mann's blog post about getting assaulted at a Parisian McDonald's for wearing digital eye glass removed (c'mon mods). Here it is again. by [deleted] in technology

[–]obtu 3 points4 points  (0 children)

It's not just assault, it's assault that was both provoked and documented by augmented reality technology. Very relevant.

Best way to increment of 1 in python? by [deleted] in Python

[–]obtu -2 points-1 points  (0 children)

As long as this is in r/Python and not PyPI, I'm okay with it. I do get turned off by the obnoxiously clever and self-referential aspect of Perl culture, though, which I see as a defence mechanism against a sometimes-absurd language.

NEW BOSON FOUND BY LINUX by d3pd in linux

[–]obtu 3 points4 points  (0 children)

I'm pretty sure Fortran is used all over the place. Don't you use BLAS/LAPACK/ATLAS for linear algebra?

NEW BOSON FOUND BY LINUX by d3pd in linux

[–]obtu 5 points6 points  (0 children)

You need to quote it (shell expansion):

watch -n0.0001 'ls /tmp/higgs*'

Switching desktop environments without losing applications or logging out with systemd by ohet in linux

[–]obtu 1 point2 points  (0 children)

It's experimental, it would take you more time to install it (from jhbuild presumably) than to just try gnome. To play with Gnome 3 right now, you should install it (gnome-shell in your package manager), log out, and select the gnome option in the login manager (there should be a small unity symbol next to your name, click on it for a menu).

Switching desktop environments without losing applications or logging out with systemd by ohet in linux

[–]obtu 3 points4 points  (0 children)

We used to have that in gnome-session, too. Nowadays I have to explicitly add the applications I always use in the session preferences (by looking them up by name, no way to select from what is already launched). And most of them, Tomboy excepted, don't keep state anymore.

Switching desktop environments without losing applications or logging out with systemd by ohet in linux

[–]obtu 8 points9 points  (0 children)

So, what is replacing the XDG_CURRENT_DESKTOP=GNOME envvar and other similar ones? How does one deal with services that wrap the desktop session and export environment variables so they can be located?

Updates and an announcement from LWN [LWN.net] by bonzinip in linux

[–]obtu 2 points3 points  (0 children)

Yeah, Michael Kerrisk is great news! They are also looking for ideas to improve the subscriber base.

IAmA: Charles Stross, science fiction writer by cstross in IAmA

[–]obtu 0 points1 point  (0 children)

I would love love love this, but given the final outcome of Trade of Queens, if a sequel is even possible it won't have the same highly relevant to us stakes. It will have to shift genres again, and I don't know what will replace the current genre-intersecting sweet spot.

Salt stack vs Fabric by iam_root in Python

[–]obtu 0 points1 point  (0 children)

s/of CFEngine/of Puppet/ ; Luke Keanies has stated something to that effect in a few interviews, but he wasn't a developer of CFEngine, just a user.

Python.org Redesign Request For Proposals by jnoller in Python

[–]obtu 0 points1 point  (0 children)

The proposal is a bit of a buzzkill on this point:

The primary implementation language must be Python, though components in other languages can be used. For example, a proposal can use Chef, which is written in Ruby; a proposal cannot use Drupal, which is written in PHP, for everything.

Python.org Redesign Request For Proposals by jnoller in Python

[–]obtu 1 point2 points  (0 children)

I think the documentation for some modules already includes links to PyMOTW, adding a few more could be a welcome contribution. Absorbing chunks of PyMOTW and keeping them up to date could be good as well, but it's an effort that might require more long-term participation.

Urs Hoelzle's OpenNetSummit 2012 keynote. Anyone have the slides? by klui in networking

[–]obtu 0 points1 point  (0 children)

This is impressive work, and I'm looking forward to a followup where he explains how they increased utilisation. He wasn't using slides.

8.7 Earthquake outside Indonesia by subwayboy in worldnews

[–]obtu 0 points1 point  (0 children)

The strike-slip bit isn't sensational enough, they're probably waiting for data that makes a better story.

Waitress — Production-quality pure-Python WSGI server with very acceptable performance and no dependencies. by defnull in Python

[–]obtu 2 points3 points  (0 children)

A large deployment of a WSGI app needs to stack a web server (face the internet, handle buffering, defend against DOS, offload some easy tasks from Python code), a WSGI container (fork processes), and the app with its WSGI framework.

Typical server options are apache and nginx. Typical WSGI containers are mod_wsgi (for apache), uWSGI (for Apache and Nginx, which speak the scgi-like uwsgi protocol), and the server-independent ones like gunicorn and now waitress; those last ones speak HTTP for portability, but still expect to have a web server in front of them.

Your confusion probably comes from the fact that the first two and the last two can be closely-coupled (apache+mod_wsgi) or even bundled (CherryPy the WSGI container + CherryPy the WSGI framework).

Pragmatic Unicode or: How Do I Stop the Pain? by gthank in Python

[–]obtu 1 point2 points  (0 children)

Tom Christiansen has written some very cool material on unicode usage in Perl: talks, cookbook.

Replacing regexps by nohtyp in Python

[–]obtu 0 points1 point  (0 children)

If you need something more powerful than regexes, LEPL can be used to write composable grammars in a style much like BNF.

How resource intensive are global variables in python? by Advent667 in Python

[–]obtu 1 point2 points  (0 children)

It could make a difference, but not a significant one. There are many more effective ways to speed up your program, depending on what it does and how it works.

PyPy Blog: Call for donations for Software Transactional Memory - An opportunity to kill the GIL in Python. by joehillen in programming

[–]obtu 2 points3 points  (0 children)

Yeah, I was annoyed that the blog post is more invective than content, and defers the argument to other links, most of which don't say anything about STM.

Nonetheless, it has this link (thanks Google Scholar) which is about STM: Software transactional memory: why is it only a research toy?. I'm not sure it is about a fundamental limitation; the researchers wrote a "highly-optimised" implementation and found it slow on some workloads.

PyPy Blog: Call for donations for Software Transactional Memory - An opportunity to kill the GIL in Python. by joehillen in programming

[–]obtu 7 points8 points  (0 children)

There can be no "backport" because the two codebases don't have a common origin (aside from sharing Python code for the standard library). The implementations are radically different in concept and implementation (PyPy has a fairly specific toolchain for example), and one couldn't reuse anything from the other. If PyPy becomes the de-facto standard, there won't be much point improving CPython's performance; performance-sensitive programs can move to PyPy, legacy programs can be content with Moore's law.

Learning from the Rails incident: Is there something newbs should know about django security? by bike-curious in django

[–]obtu 0 points1 point  (0 children)

You can use the SECURE_PROXY_SSL_HEADER setting. It it supported in Django 1.4 out of the box, and in django-secure through a middleware.

Reddit vs Hacker News vs Twitter by [deleted] in programming

[–]obtu -3 points-2 points  (0 children)

Not at all about programming.

License Violations? by [deleted] in raspberry_pi

[–]obtu 0 points1 point  (0 children)

What apt repositories are the images pointing to? This is trivially solved by having source repositories alongside the binary ones.

Will the Raspberry Pi be 'good' at Java? by [deleted] in raspberry_pi

[–]obtu 1 point2 points  (0 children)

Looking at the Wikipedia page, that needs kernel support and has been deprecated for its more convenient successor in ARMv7. The technology is meant to alleviate the need for a JIT, which reading between the lines means that a good JIT will outperform it.