HN user

pdknsk

4,113 karma
Posts110
Comments237
View on HN
boxplusart.com 8y ago

Show HN: Video Game Art

pdknsk
5pts0
pwmon.org 9y ago

Cloudflare discolors the Web

pdknsk
4pts2
worldchess.com 9y ago

The Mighty Pen of Howard Staunton

pdknsk
1pts0
www.nintendo.co.uk 10y ago

Super Mario Wallpaper Maker

pdknsk
2pts2
pwmon.org 10y ago

Quest to disable LAN LEDs on an Intel NUC

pdknsk
4pts0
www.nintendo.co.uk 10y ago

Nintendo provides updates on mobile, NX and the Legend of Zelda

pdknsk
2pts1
mariomaker-wp.nintendo.co.jp 10y ago

Super Mario Wallpaper Maker

pdknsk
125pts20
store.google.com 10y ago

Pixel C

pdknsk
68pts75
groups.google.com 10y ago

Chrome ends support for 32-bit Linux, Ubuntu 12.04 LTS, Debian 7

pdknsk
4pts0
en-de.sennheiser.com 10y ago

Sennheiser announces “Best Headphones in the World” priced at €50,000

pdknsk
5pts2
cloud.google.com 10y ago

Google Cloud Shell

pdknsk
8pts0
www.samsung.com 10y ago

Photos and Video of Samsung Semiconductor's new North American HQ

pdknsk
2pts0
groups.google.com 10y ago

App Engine separates SSL support for custom domains from Google Apps

pdknsk
2pts0
www.eizoglobal.com 10y ago

EIZO Releases 27-Inch World's First Fully-Flat Bezel-Less Monitor

pdknsk
1pts0
affiliate-program.amazon.com 10y ago

Amazon Associates introduces new real-time Reporting Center

pdknsk
1pts0
amiga30.com 11y ago

Today, 30 years ago, Commodore introduced the Amiga

pdknsk
217pts80
www.lexaloffle.com 11y ago

PICO-8: FANTASY GAME CONSOLE

pdknsk
2pts0
twitter.com 11y ago

First 10K Display shown at Display Week 2015

pdknsk
1pts0
googlecloudplatform.blogspot.com 11y ago

AppScale and App Engine Work Together to Provide Infrastructure Flexibility

pdknsk
9pts0
www.google.com 11y ago

Google Doodle Pony Express Game

pdknsk
2pts0
github.com 11y ago

YAPF – A formatter for Python files

pdknsk
24pts8
googlecloudplatform.blogspot.com 11y ago

Using Google Cloud Platform for Security Scanning

pdknsk
6pts0
supersystems.itch.io 11y ago

Drift Stage α Demo

pdknsk
1pts0
lgdnewsroom.com 11y ago

M+ by LG introduces WRG, BWR, GBW pixels in addition to RGB

pdknsk
4pts0
googlecloudplatform.blogspot.com 11y ago

Introducing Container Engine, Cloud Networking and much more

pdknsk
12pts0
otonanokagaku.net 11y ago

Gakken 4-bit Micro Computer (GMC-4)

pdknsk
2pts0
www.nintendo.co.jp 11y ago

Nintendo details its first QOL health product

pdknsk
1pts0
www.samsung.com 11y ago

Samsung releases SSD Magician for Linux

pdknsk
4pts1
lgdnewsroom.com 11y ago

TFT-LCD Production Process Explained

pdknsk
11pts2
chromium-cpp.appspot.com 11y ago

C++11 use in Chromium

pdknsk
86pts32

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.)

PyPy 5.1 released 10 years ago

I last tried my own code which uses multiprocessing a few weeks ago. If anything, it gets slower with each release.

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.

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.

Introducing Pixel C 11 years ago

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.

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.

Python 3.5.0 11 years ago

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.

http://underconsideration.com/brandnew/

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.

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.