News for hackers. Stuff that matters.

pdknsk

Re:Numpy: Plan for dropping Python 2.7 support on Wednesday November 15, 2017 @10:26PM (#15710063)
http://docs.python-requests.org/

(I mistakenly manually changed the link to HTTPS.)

Re:Numpy: Plan for dropping Python 2.7 support on Wednesday November 15, 2017 @07:44PM (#15709388)
I was surprised to recently notice a yellow banner on the website of the very popular Requests library, which urges users to switch to Python 3. That's when I first thought switching may become inevitable. I guess this is being orchestrated behind the scenes now.

https://docs.python-requests.org

Still, I have no plans to switch. The only useful feature in Python 3 to me is more liberal use of unpacking. Unfortunately it comes at the cost of removed tuple parameter unpacking, which I use often, but most users apparently never do. I don't know what's difficult about Unicode in Python 2 either, once you understand the difference between Unicode and UTF-8.

It's unfortunate it ever had to come to this. Makes you wonder what Python would be like today without Py3K. (It's an open question.)

Re:Super Mario Wallpaper Maker on Thursday June 23, 2016 @02:34PM (#11963339)
I had previously submitted the Japanese version, which Nintendo has now translated.

The English version already has both secret items unlocked by default, but not Toad, which can still be unlocked as mentioned in the comment.

https://news.ycombinator.com/item?id=11016646

Re:The Descriptor Protocol and Python Black Magic on Tuesday May 10, 2016 @06:58PM (#11671353)
I meant related in the strictness of the is operator.
Re:The Descriptor Protocol and Python Black Magic on Tuesday May 10, 2016 @05:55PM (#11670989)
A related, albeit simpler, Python quirk.

  >>> a = 100
  >>> b = 100
  >>> a is b
  True
  >>> a = 1000
  >>> b = 1000
  >>> a is b
  False
Re:PyPy 5.1 released on Thursday April 21, 2016 @11:25AM (#11542831)
I last tried my own code which uses multiprocessing a few weeks ago. If anything, it gets slower with each release.
Re:PyPy 5.1 released on Thursday April 21, 2016 @10:59AM (#11542635)
I wish PyPy supported multiprocessing. It does theoretically, but imposes a significant penalty, so it's not in a practically usable state.

https://bitbucket.org/pypy/pypy/issues/1538/

Re:LLVM 3.8 Release Notes on Tuesday March 08, 2016 @06:04PM (#11249496)
Unfortunately the official DEB packages have not been updated in about two months – nightly packages they are not.

http://llvm.org/apt/

Re:Spotify moves its back end to Google Cloud on Tuesday February 23, 2016 @04:34PM (#11162524)
I notice App Engine isn't mentioned in their stack. I'm a bit worried that Google abandons it once Snapchat moves off it. It has already been in maintenance mode for some years now (save for Managed VMs). The writing was on the wall when Guido left the team. Apparently Google still uses it internally (as the recent switch to Monorail made evident), so perhaps it's safe for a few more years.
Re:FFmpeg 3.0 released on Monday February 15, 2016 @12:50PM (#11104756)
If ffplay supported hardware decoding, it'd be the perfect player. You could not make a more minimal player. It does not, and it doesn't seem to be high on the priority list, rather in last position perhaps.

https://trac.ffmpeg.org/ticket/3359

Re:Super Mario Wallpaper Maker on Monday February 01, 2016 @06:52PM (#11016646)
I just found two secret parameters.

To get two extra items, namely ghost and star, append &opt=6358D569C9 to the link. Or use $('body').addClass('secret') in console.

To replace Mario with Toad (only in SMB), append &opt=7F93F702E6.

By using the latter opt, and adding secret manually, you can have both.

Re:Super Mario Wallpaper Maker on Monday February 01, 2016 @04:05PM (#11015430)
To make the image, click the robot. To select other resolutions go to the main page and click the monitor or smartphone.
Re:Introducing Pixel C on Tuesday September 29, 2015 @07:47PM (#10300703)
What a poor product page. And the official blog post is very light on information too. Only the press conference had some details.

https://youtu.be/Jc-LEG0T_4c?t=4382

I was hoping for OLED, which wasn't mentioned. What I did notice is that the screen is incredibly reflective.

Personally I dislike CloudFlare for the simple reason that they encourage site owners to use their lossless image optimisation service, which isn't lossless. Thus many images appear different than intended when hosted behind CloudFlare. I wrote about this earlier: https://news.ycombinator.com/item?id=10192587

Quote from their website.

The Lossless mode removes all the unnecessary bloat from an image file, such as the image header and meta data, without removing any image data. This means images will appear exactly the same as they would have before.

The last sentence is false, at least for images with color profiles on all non-mobile browsers. There are other possible minor cases.

Re:Show HN: Hacker News Simulator on Sunday September 20, 2015 @08:52PM (#10249830)
> Show HN : One click image optimization service for your terminal

This is perfect. Well done.

Re:How GOG.com Saves and Restores Classic Videogames on Thursday September 17, 2015 @02:02PM (#10235024)
I will be downvoted for this, but I have become wary of GOG after I learned that they're incorporated in Cyprus for the sole purpose of tax avoidance. Someone will mention Amazon (Luxembourg), Google (Ireland) and other companies now, but those are corporate behemoths from which you don't expect otherwise.

Older »