pdknsk
pdknsk on Hacker News
Posted by
pdknsk on Saturday December 30, 2017 @04:17PM
from the show-hn dept.
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.)
Posted by
pdknsk on Monday March 27, 2017 @06:40AM
from the pwmon.org dept.
Posted by
pdknsk on Tuesday November 29, 2016 @02:57PM
from the worldchess.com dept.
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
Posted by
pdknsk on Thursday June 23, 2016 @02:33PM
from the nintendo.co.uk dept.
I meant related in the strictness of the is operator.
A related, albeit simpler, Python quirk.
>>> a = 100
>>> b = 100
>>> a is b
True
>>> a = 1000
>>> b = 1000
>>> a is b
False
Posted by
pdknsk on Thursday May 05, 2016 @03:54PM
from the pwmon.org dept.
Posted by
pdknsk on Wednesday April 27, 2016 @08:11AM
from the nintendo.co.uk dept.
I last tried my own code which uses multiprocessing a few weeks ago. If anything, it gets slower with each release.
Unfortunately the official DEB packages have not been updated in about two months –
nightly packages they are not.
http://llvm.org/apt/
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.
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
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.
To make the image, click the robot. To select other resolutions go to the main page and click the monitor or smartphone.
Posted by
pdknsk on Monday February 01, 2016 @04:03PM
from the mariomaker-wp.nintendo.co.jp dept.
Posted by
pdknsk on Tuesday December 08, 2015 @01:46PM
from the store.google.com dept.
Posted by
pdknsk on Monday November 30, 2015 @07:10PM
from the groups.google.com dept.
Posted by
pdknsk on Tuesday November 03, 2015 @12:29PM
from the en-de.sennheiser.com dept.
Posted by
pdknsk on Wednesday September 30, 2015 @03:01AM
from the cloud.google.com dept.
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.
Posted by
pdknsk on Friday September 25, 2015 @07:56PM
from the samsung.com dept.
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=10192587Quote 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.
> Show HN : One click image optimization service for your terminal
This is perfect. Well done.
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.