News for hackers. Stuff that matters.

fuzzyman

Re:Announcing Topaz: A New Ruby on Wednesday February 06, 2013 @03:05PM (#5178471)
It's Ruby in RPython, the implementation language of the PyPy VM toolchain. It has nothing to do with integrating with Python. It's an alternative Ruby VM using a proven JIT generator technology that happens to be built with a Python-like language. Hope that helps.
Re:The Great Python.org Redesign on Thursday November 29, 2012 @06:25AM (#4847156)
Hey, at least he thinks it's glitzy. That's a plus.
Re:PyCon US 2012 Conference Schedule on Tuesday January 10, 2012 @06:56AM (#3446614)
Uhm... utter tripe. How bizarre.
Re:Poll: Will you move your domains from GoDaddy today? on Thursday December 29, 2011 @06:07AM (#3403258)
In the process of moving 24 domains.
Re:Thoughts on porting NumPy to PyPy on Monday October 17, 2011 @09:44AM (#3120427)
I don't really know what you mean by supporting numpy on pypy "excludes" scipy (other than in the short term). If you mean you assumed that the pypy team would port all of scipy as well as numpy, that seems like an unrealistic expectation for an initial port!

An initial port seems like the only way forward from the point of view of the pypy team. I think it is unrealistic to expect the pypy team to take on the work of changing numpy so that it is more friendly to alternative implementations. I would certainly expect them to be involved in the discussion though.

The article also seems to miss that there is work ongoing to bring pypy support to Cython.

Re:Thoughts on porting NumPy to PyPy on Monday October 17, 2011 @09:40AM (#3120413)
I missed the specific suggestions on how the pypy guys could improve things - other than "do a lot of work on numpy itself as well so that it better supports multiple implementations" (paraphrase obviously). That really needs to be the side of the equation that the numpy team take hold of.
Re:Richard Stallman on Steve Jobs on Friday October 07, 2011 @11:26AM (#3084352)
Shuttleworth is trying... :-)
Re:Show HN: Pytroj - Infect .pyc files on Monday September 26, 2011 @05:23PM (#3040797)
It doesn't make it more of an issue. Installing any Python package already requires "arbitrary code execution" -- which is the big problem with Python packaging. (And hopefully will be fixed by distutils2 which uses a setup.cfg to install packages rather than relying on executing setup.py.)
Re:Show HN: Pytroj - Infect .pyc files on Monday September 26, 2011 @05:21PM (#3040790)
This Trojan requires the ability to execute arbitrary code and write to files - so it's not in itself any kind of exploit. It's just malicious Python code.
And whilst we're at it can people stop using "water" as a synonym for "pure water". Mud is water too, it's just not as pure!
Re:Wield Python's super() like a Jedi on Thursday May 26, 2011 @01:17PM (#2588555)
Well, you just change to the Python 2 super call form and it works fine. The substitution hardly requires a master programmer...
Re:Ruby concurrency explainined simply on Wednesday February 23, 2011 @10:10AM (#2254275)
Because there is no need for locking in the fundamental data-types like hashes.
Re:Unladen Swallow is dead on Friday December 10, 2010 @09:55AM (#1991779)
pypy has quicker start up than CPython and also has a JIT. They're working on interesting memory optimisations too.
Re:Python has a GIL, and lots of complainers on Saturday July 10, 2010 @01:59PM (#1504057)
IronPython is another GIL free Python implementation.
Re:Python's Original Sin on Friday April 23, 2010 @08:14PM (#1289908)
"Python is hurting from a bad design decision that doesn't let multiple interpreter implementations share components that they could have."

As many others have said, changing syntax is really one of the most trivial parts for alternative implementations to keep up with when moving to new versions. That "hurt" hasn't been fixed because it doesn't really hurt very much...

Re:Why aren’t you contributing (To Python)? on Friday April 23, 2010 @06:56AM (#1287753)
Bug report triaging is very good now - most reports get responded to within a day.
Re:What Pythonistas Think of Ruby on Wednesday February 03, 2010 @12:45PM (#1098293)
Nope - not arbitrary, it is because of the indentation scoping rules. Try coming up with a syntax for statement based lambdas that isn't ugly as heck.
Re:What Pythonistas Think of Ruby on Wednesday February 03, 2010 @12:10PM (#1098209)
Well, normally I would agree - but if its entirely abstracted away in a library (and the library is well written) then it might sort-of-kind-of-maybe be ok.

Python itself does varying degrees of bytecode optimisation depending on which version you're using.

Re:What Pythonistas Think of Ruby on Wednesday February 03, 2010 @11:01AM (#1097985)
You could almost certainly achieve that with the implementation of blocks provided by this package:

http://pypi.python.org/pypi/withhacks/

Re:What Pythonistas Think of Ruby on Wednesday February 03, 2010 @10:55AM (#1097969)
And not being Lisp is one of the big reasons for the success of both Python and Ruby. :-)

FLAMEBAIT -> FLAMEBAIT

Re:What Pythonistas Think of Ruby on Wednesday February 03, 2010 @10:53AM (#1097964)
As a Pythonista I have no idea what the Ruby snippet is doing. Readability depends entirely on context.

The Python 3 version is using a function annotation.

In Python 2 or 3 you could use a context manager (with statement) to similar effect.

Re:Python Community in Anguish, Pain, Despair Over Web Server on Monday September 14, 2009 @09:29AM (#821591)
Bullsh*t.
Re:You Will Probably Fail in a Boring and Project-specific Way on Thursday January 08, 2009 @08:21AM (#424849)
And in terms of scaling Ruby is likely to be the cause of your problems rather than the solution...
Re:Ruby's not ready on Saturday April 19, 2008 @12:41PM (#168044)
"method_missing" - do you know about '__getattr__' for Python? (can be a one liner if you want...)

"oh-so-thread-safe-code for an interpreter that serializes around a global interpreter lock" - so Ruby's threading is better??

Re:Microsoft is Dead on Wednesday April 11, 2007 @11:52AM (#11911)
"The browser is a fantastic platform. You never have to install web apps. You never have to patch web apps."

Fantastic for the developer maybe - not so for the user.

"Remember, dumb terminals were around long before PCs."

Right. How was that for the user ?

Re:Microsoft is Dead on Monday April 09, 2007 @02:57PM (#10916)
As an open-source developer (with Python) who uses Windows, Microsoft and their actions hardly ever seemed to feature in the things I was interested in or that were important to me.

That actually changed when I got a job developing an application with IronPython (an open-source implementation of Python for .NET - funded by Microsoft).

Now I actually use .NET, and I have to admit that it isn't bad. Generally a sane API, and C# is nicer than Java.

Still, when I develop my own projects I use cPython, and Microsoft is now 'slightly; relevant whereas for the last few years they have seemed completely irrelevant.

Re:Microsoft is Dead on Monday April 09, 2007 @02:54PM (#10912)
How many developers of startups do you know who actually use a browser based IDE ?

There are a couple and they only suck a bit, but they don't compare to the desktop ones.

I don't use a browser based text editor when I want to make a quick note. Actually a couple of my friends do with google docs - but not too many.

For the apps I use everyday, the browser sucks. It's not just latency, although this is a big contributor to why web apps feel sucky and clunky, but the browser just isn't a very good platform for rich applciations.

The google integration between their applications is very good, and getting better, but it isn't enough to make me forget that the interface sucks...

Re:Microsoft is Dead on Saturday April 07, 2007 @09:31AM (#10024)
I think the death of the desktop is much exaggerated.

AJAX is better than the last generation of web-apps, but the browser still basically sucks as a platform. Latency is a bitch. :-)