Live data from Hacker News

Slack on a SNES

bert.org

1–10 of 28 posts

Re: Slack on a SNES

#3
I got distracted by the > const pad = require('pad-left');

Just curious, not much has changed since the left-pad issue a while ago? Not saying it's wrong though.

Re: Slack on a SNES

#5

On a similar note: https://arstechnica.com/gaming/2015/01/pokemon-plays-twitch-...

that TAS isn't THAT impressive, given that the same techniques can be abused to produce this: http://tasvideos.org/5384S.html

Also, the detailed rejection response to TASbot plays Twitch, remarks that actually running the Twitch client code on the SNES is possible (with SNES having web connection peripherals) rather than just streaming the chat output video through a controller. The submission and the responses are located at http://tasvideos.org/4947S.html if you want to check them.

Re: Slack on a SNES

#8
post #6
post #3

I got distracted by the > const pad = require('pad-left'); Just curious, not much has changed since the left-pad issue a while ago? Not saying it's wrong though.

It has been standardized meanwhile, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

Hm, at first I thought that they went with "padStart" instead of "padLeft" to address RTL languages, but the documentation still says

> The padding is applied from the start (left) of the current string.

I wonder if they just didn't want the "pad-left" stigma.

Re: Slack on a SNES

#9
post #6

Earlier quoted context omitted.

It has been standardized meanwhile, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

Hm, at first I thought that they went with "padStart" instead of "padLeft" to address RTL languages, but the documentation still says > The padding is applied from the start (left) of the current string. I wonder if they just didn't want the "pad-left" stigma.

Many current programming languages and libraries go with start/end rather than left/right precisely because of RTL languages. Clarifying "start (left)" doesn't seem unreasonable to help readers of English documentation understand, though it should probably say "start (left in left-to-right languages)".
Post reply on HN