Readit News logoReadit News
snek commented on Uno: Single-Codebase for Windows, WebAssembly, iOS, macOS, Android and Linux   platform.uno/... · Posted by u/octopoc
snek · 5 years ago
I brought up web accessibility concerns with them almost a year ago and as far as I can tell all they've done since then is add `tab-index` attributes. Probably best to avoid this until they improve it more.
snek commented on Deno will stop using TypeScript   startfunction.com/deno-wi... · Posted by u/diablo1
inimino · 5 years ago
There are so many uninformed and misinformed comments on this post. Please read the design doc[1] before commenting if you assume the Deno team is doing it wrong, or hasn't ever considered some obvious solution you came up with in 0.7 seconds.

[1]: https://docs.google.com/document/d/1_WvwHl7BXUPmoiSeD8G83JmS...

First paragragh of that document:

> Update June 10 2020: I saw that this design doc was being discussed more widely. Most people don't have the context to understand this narrow technical document - it is only applicable to a very particular, very technical situation in the internals of Deno. This is not at all a reflection on the usefulness of TypeScript in general. It's not a discussion about any publicly visible interface in Deno. Deno, of course, will support TypeScript forever. A website or server written in TypeScript is a very very different type of program than Deno - maybe much more so than novice programmers can appreciate - little of Deno is written in TypeScript. The target audience is the 5 to 10 people who work on this particular internal system. Please don't draw any broader conclusions.

snek · 5 years ago
Gotta appreciate the part implying that anyone who finds this document amusing is a "novice" programmer.
snek commented on Show HN: CLI tool to abstract make/npm/cargo/gradlew/etc.   github.com/devsnek/run... · Posted by u/snek
snek · 5 years ago
I've been using this locally for a few years, figured others might enjoy it too. Feel free to contribute additional tool configs.
snek commented on ECMAScript 4: The Missing Version   evertpot.com/ecmascript-4... · Posted by u/juhangsin
fiddlerwoaroof · 5 years ago
Does anyone know where one might find the reference implementation of ECMAScript 4? It’s linked here[1] and you can find a form to fill out and download it via archive.org[2], but because it was behind a form, archive.org doesn’t have the actual file.

[1]: https://brendaneich.com/2007/06/ecmascript-edition-4-referen...

[2]: http://web.archive.org/web/20090721022046/http://www.ecmascr...

snek commented on ECMAScript 4: The Missing Version   evertpot.com/ecmascript-4... · Posted by u/juhangsin
Etheryte · 5 years ago
This is perhaps a good example of how sometimes you can't force the hand of progress, it simply takes some time. So many ideas that were novel additions to Javascript at the time but are standard practice in one form or another today. The touted reason for its failure was lack of backwards compatibility, but I can't help but wonder how much of it was simply browser wars and different factions refusing to cooperate. In 2008, Internet Explorer still held majority of the web, Firefox was a big player and Chrome had just barely entered the scene.
snek · 5 years ago
One of the biggest issues was that stakeholders were uncomfortable with having to ship their browsers with multiple engines to handle different versions of JS (or having to build one engine which could efficiently switch between all the features of different versions).
snek commented on ECMAScript 4: The Missing Version   evertpot.com/ecmascript-4... · Posted by u/juhangsin
snek · 5 years ago
There is a lot of excellent information on ES4 (and other things) in Allen Wirfs-Brock's "JavaScript: The First 20 Years": https://zenodo.org/record/3707008
snek commented on Tell HN: Unexpected errors with Archive.is on Cloudflare 1.1.1.1 DNS    · Posted by u/obi1kenobi
obi1kenobi · 5 years ago
Downgrading to HTTP and removing the path (so just http://archive.md/ ), I get the following:

""" Error 1001 Ray ID: 599a073ddbc3ae0c • 2020-05-26 19:50:59 UTC DNS resolution error What happened? You've requested a page on a website (archive.md) that is on the Cloudflare network. Cloudflare is currently unable to resolve your requested domain (archive.md). There are two potential causes of this:

Most likely: if the owner just signed up for Cloudflare it can take a few minutes for the website's information to be distributed to our global network. Less likely: something is wrong with this site's configuration. Usually this happens when accounts have been signed up with a partner organization (e.g., a hosting provider) and the provider's DNS fails. Cloudflare Ray ID: 599a073ddbc3ae0c • Your IP: ... • Performance & security by Cloudflare """

This raises more questions:

  - Why doesn't Cloudflare just return NXDOMAIN if it thinks the domain doesn't exist, rather than resolving to a bogus server?

  - Why doesn't it just drop and time out the request, so my computer decides to fall back to an alternate DNS resolver?

  - Why doesn't it show that error text when a path is present, instead of just serving a HTTP 403 Forbidden error with no additional information.

snek · 5 years ago
archive.is returns A records 1.1.1.1 and 1.0.0.1 (cloudflare ips) back when you query them using cf dns. This means that your browser sends a request to 1.1.1.1 with the host header set to "archive.md". cloudflare's proxy tries to find the relevant config for archive.md, and not hosting it, tells you it doesn't host that page. it also helpfully informs you that if you just added your site to cloudflare, it might take a minute for it to show up.
snek commented on Facebook executives shut down efforts to make the site less divisive   wsj.com/articles/facebook... · Posted by u/longdefeat
obi1kenobi · 5 years ago
Wow, Cloudflare's 1.1.1.1 DNS server sets up a man-in-the-middle (broken cert gives it away) and serves a 403 Forbidden page when clicking on this link. Verified that 8.8.8.8 works fine.
snek · 5 years ago
False, archive.is serves 1.1.1.1 and 1.0.0.1 as A records back to people who try to resolve it using cf dns.

u/snek

KarmaCake day1676February 24, 2017View Original