http://docs.python-requests.org/
(I mistakenly manually changed the link to HTTPS.)
HN user
http://docs.python-requests.org/
(I mistakenly manually changed the link to HTTPS.)
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.)
similar: https://github.com/packjpg/packJPG
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.
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
FalseI last tried my own code which uses multiprocessing a few weeks ago. If anything, it gets slower with each release.
I wish PyPy supported multiprocessing. It does theoretically, but imposes a significant penalty, so it's not in a practically usable state.
Unfortunately the official DEB packages have not been updated in about two months – nightly packages they are not.
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.
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.
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.
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.
The shop doesn't work on a monitor (or browser window) with height > width. It appears when I resize the browser window. Otherwise the game works quite well on a rotated screen. Independent from screen rotation, some textures are badly compressed. Such as the pattern on the vase.
PEP 0448 in addition to already implemented PEP 3132 make it very tempting to switch. If PEP 0448 had unpacking in comprehensions I'd switch. (Doesn't seem be a follow-up PEP just for that functionality yet.)
https://www.python.org/dev/peps/pep-0448/ https://www.python.org/dev/peps/pep-3132/
I'd be really nice to use this.
>>> [*range(i) for i in range(5)]
Instead of this monstrosity right now. >>> [x for y in (range(i) for i in range(5)) for x in y]
Python 2.7 has some minor features that 3 dropped unfortunately, which still makes me hesitate.Such as filter keeping the type. In 3 it returns an iterator.
>>> filter(lambda x: x in 'ABC', 'ABCDEFA')
'ABCA'
Or this mostly cosmetic feature. >>> filter(lambda x: x[0] > x[1], ((1, 2), (4, 3)))
>>> filter(lambda (x, y): x > y, ((1, 2), (4, 3))) # equivalent, error in 3
Also dropped. (It's slower than using the dedicated base64 module though.) >>>'Python'.encode('base64')
'UHl0aG9u\n'
Also, I like print.I strongly advise against hosting images, particularly photos, behind CloudFlare. I don't use it myself but I'm frequently noticing CloudFlare aggressively stripping color-profiles from images. Most noticeable if the photo has an AdobeRGB profile, as many do. It makes skin tones in particular look very dull. I don't know if CloudFlare honors no-transform – I suspect they do, but most sites don't send it.
I first noticed the new logo in Google Mail, where I use the light grey theme, so the logo is grey as well, and small. My first impression was: bad, very bad. Too bold, and unbalanced. It's better on Google Search, but still somewhat unbalanced. I'll get used to it, I'm sure.
I'm curious how Brand New will rate it.
I am dissapointed in it still requiring 32-bit libraries, like Steam.
$ gdebi unity-editor-5.1.0f3+2015082501_amd64.deb
...
Requires the installation of the following packages: lib32gcc1 lib32stdc++6 libc6-i386This is shown in detail in the Swiss documentary More Than Honey.
Very much recommended, even if you skip or only skim the mathematical details in chapter 5, as I did.
What I don't understand, is why the patent application was not objected in the secrecy order phase. Or was it secretly partly in the US, because the actual US patent apparently only covers the recommendation to pick your own P and Q, and not the actual mechanism itself. It is not clear to me what the last few sub-chapters are meant to show.
This is the announcement of the diagnosis. He only survived a year.
And another quote I've been meaning to find, which sums it up quite well I think.
http://iwataasks.nintendo.com/interviews/#/wii/mario25th/4/3
Iwata: That was fun for me, too. At the time, when someone came to me and said, "I'm having trouble because there isn't enough memory," I was—to be honest—really happy. (laughs) Seeing if you could achieve programming for the same functions with a smaller amount of memory was one way for a programmer to show off.
Miyamoto: We were like, "If we just leave it to Iwata-san, he'll take care of it." (laughs)
Iwata: I enjoyed that as I worked.
Very sad news. A true hacker. Started programming on a programmable calculator, with which he made games for his classmates. After he got himself a Commodore PET, he went to Nintendo claiming he can make games for them, and so he did.
Edit: I found a PET quote from Iwata Asks.
http://iwataasks.nintendo.com/interviews/#/3ds/creators/4/0
Iwata: Disassembling! Wow, that really brings back memories. I remember getting my first computer, which was a PET, and disassembling it to try and analyze it. We didn't have printers at the time, so I wrote everything on the screen by hand. I really can't believe I did that. (laughs) That's how I found out what was going on inside.
Iwata: It just so happens that a computer and the Famicom system had a similar CPU. That's why when I started working with Nintendo, I knew about the 6502 better than anybody else in the company.
Both formats are supported by the absolute majority of web browsers [...].
Unfortunately this isn't true. IE still does not support deflate as specified in the RFC, with a zlib header. It only supports raw deflate.
https://www.ietf.org/rfc/rfc2616.txt
deflate
The "zlib" format defined in RFC 1950 [31] in combination with
the "deflate" compression mechanism described in RFC 1951 [29].
This has lead to most browsers also accepting raw deflate, to be reverse compatible.The Japanese site has polite Mario in the source.