News for hackers. Stuff that matters.

snek

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.
Re:Deno will stop using TypeScript on Sunday June 21, 2020 @03:48PM (#23594803)
Gotta appreciate the part implying that anyone who finds this document amusing is a "novice" programmer.
I've been using this locally for a few years, figured others might enjoy it too. Feel free to contribute additional tool configs.
Re:ECMAScript 4: The Missing Version on Friday May 29, 2020 @08:11PM (#23357163)
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).
Re:ECMAScript 4: The Missing Version on Friday May 29, 2020 @08:07PM (#23357138)
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
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.
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.
Re:Up to 4GB of Memory in WebAssembly on Thursday May 14, 2020 @03:56PM (#23184554)
As is mentioned in the article, u64 was used to future proof for wasm's upcoming memory64 type: https://github.com/WebAssembly/memory64/blob/master/proposal...
Re:Deno 1.0 on Wednesday May 13, 2020 @07:10PM (#23172944)
there are no "async" or "sync" imports in js. there are static and dynamic imports. An implementation is free to spend as much time as it likes between parsing a file to get the static imports and actually running the file doing whatever it likes, including fetching urls, reading the file system, etc. dynamic imports return a promise but the implementation is free to resolve that promise immediately (e.g. `return Promise.resolve(loadSync(module))`)
Re:Jetson AGX Xavier on Sunday May 03, 2020 @06:19PM (#23062351)
The lineup continues to balloon in price. A lot of students would the TK and TX models for robotics and whatnot, since they were only 200-300 bucks.
Re:Show HN: DNS over Wikipedia on Monday April 06, 2020 @02:48AM (#22791406)
The extension has nothing to do with DNS, a more accurate name would be "autocorrect over wikipedia".

The rust server set up with dnsmasq is a legit DNS server though.

Re:Google cancels April Fools’ jokes this year on Sunday March 29, 2020 @01:40PM (#22720884)
archive.org doesn't block you based on which dns resolver you use: https://web.archive.org/web/20190914012706/https://www.teleg...
Re:Firefox's low-latency WebAssembly compiler on Thursday March 26, 2020 @05:38PM (#22698258)
JS functions go back and forth because they're trying to provide optimized representation of functions based on guesses they make about the code. WASM plays an entirely different game. WASM bytecode is generally already extremely optimized (compiled with compiler -O flags, etc), the optimizations that a browsers apply are more about the machine the WASM running on (dealing with register allocation, simd instructions, etc). There is no guessing or opportunistic optimization like there is in JS.
Re:Show HN: iOS Login Page on Sunday March 22, 2020 @03:02PM (#22657564)
helpful mnemonic for remembering the difference between "log in" and "login": "I'm going to log in on the login page"
Re:EOF is not a character on Friday March 13, 2020 @11:22PM (#22572937)
> and did you know that IEEE-754 floating point can represent a "negative zero" that you can use for an error code in functions that return float or double?

I am begging, please never ever do this. NaN literally exists for this reason. NaN even allows you to encode additional error context and details into the value.

Re:Google Open Source Code Search on Wednesday March 11, 2020 @10:41PM (#22553113)
Working with chromium/v8, I can honestly say google's code search infra is one of the most valuable resources available. I really hope they open source the backend at some point.
Re:Apple wont let bad guys use iPhones in movies, director says on Thursday February 27, 2020 @01:27PM (#22436139)
add this to the list of things I wish I could unlearn
Re:Mozilla’s DNS over HTTPs on Tuesday February 25, 2020 @01:08PM (#22415523)
It is moving forward, albeit slowly. With or without DoH/DoT, non encrypted SNI is a problem, and DoH/DoT have privacy improvements in their own right.
Re:Mozilla’s DNS over HTTPs on Tuesday February 25, 2020 @01:07PM (#22415506)
There is already support for enterprise situations like you describe: https://support.mozilla.org/en-US/kb/canary-domain-use-appli...
Re:Mozilla’s DNS over HTTPs on Tuesday February 25, 2020 @01:03PM (#22415464)
If you're about to comment on how dumb this is because SNI isn't encrypted please halt and search "ESNI"
Yeah I think you're missing the part where you only added that file after being called out on twitter lol. The only reason I say "habits die hard" is because you consistently refuse to acknowledge that this ever happened.
functions are the part you compile, everything else is just runtime data
wasmer used a large amount of wasmtime code without proper attribution. I'm not sure this is a problem anymore but habits die hard and the owner of the company has not been shown to be the best person (won't go into that here since it's not as tech related)
You already have to rely on a third party to get a domain (and to get an IP address)
Re:Schizophrenia Manifests as a GitHub Repo on Monday February 17, 2020 @02:11PM (#22349810)
tcrowe is known to me for his past behaviour of harrasing lgbtq members of the node.js core development team and stalking them on social media. very unfortunate if he has schizophrenia but bigotry is not a symptom of it.

Older »