Recent submissions

Comment · 6 years ago
Open in private window, set to offline in the console's network tab, do your thing, close the window. At least I'm not aware of a way the app could send or persist the data when you do that.
Comment · 6 years ago
I often have the opposite problem: I'm on Firefox and try to google "FooError: Bar happened" and instead of directing to google, Firefox prompts me to select an application to open "fooerror links".
Comment · 6 years ago
If you add your own phone number to contacts, you can also just start one-to-one with yourself from there
Comment · 6 years ago
Are you sure you weren't just tuning in to season 8, episode 3
Comment · 6 years ago
There are lots of libraries that don't really support dead code removal via stuff like tree saking anyway. React, moment.js, Bluebird, etc
Comment · 6 years ago
Comment · 6 years ago
I had to use Adobe Connect recently and they also had the option to install Adobe Connect as a desktop app that seemed awful lot like it was just Chrome/Electron with Flash preinstalled... Also no Linux support, which was fun to notice just before the meeting.
Comment · 6 years ago
I didn't read parent comment as "Microsoft and Valve are bad and I don't want to give them a dime, ever". I read it as "I want to direct 100% of my donation to the project I'm looking to support, Krita". Which sounds reasonable.
Comment · 6 years ago
* tries a "Wi-Fi toggle" button, looses internet and is unable to google for help
Comment · 6 years ago
Comment · 6 years ago
How much of those IE users are also users of GitHub?

Shipping more modern EcmaScript versions than what's supported by IE has lots of advantages for users whose browsers can support it, so I'd hate it if the IE support came with the expense of everyone else's experience. There are ways to serve different JS bundles for different browsers, of course, but that comes with a maintenance cost for them.

Weird though that some buttons wouldn't work at all, because at least most of the basic functionality seems to work fine with JS disabled even. Maybe they should just disable JavaScript altogether for IE and it'd work better. That should be easy to implement too.

Comment · 6 years ago
I assume most of the minutes-long compile times they are running into are because of type checking. Moving types to comments wouldn't help that.

I don't konow why they aren't separating type checking and dev builds from each other, but there is just absolutely no way simple TS to modern JS (no compiling to old ES5) conversion would take that long for a 10k LOC project, it must be the type checking. I'm using TS through Babel and it has been a breeze for much larger projects than that. Babel just strips away the TS types and we do type checks via editor integration and a separate CI step. Can't recommend this setup enough.

Comment · 6 years ago
Elm doesn't need to perform runtime checks (apart from application boundaries like JSON parsing, where runtime checks are performed) because their type system is supposed to be sound, so you can't compile something that would have incorrect types at runtime. Or if you can, that's considered a bug in the compiler. That kind of sound type system has never been a goal for TypeScript.

Note that I'm not saying that Elm would be better than TS or any other language or anything like that, just commenting about the runtime checks. Obviously languages have their strengths and weaknesses (Elm has plenty of both) and TS has had good reasons to go with their design goals.

Comment · 6 years ago
Most of the project is and will still be written in Rust, a statically typed language, so saying that the "project" will drop static types is an overstatement. Based on the design document where the devs talk about this, the TS code in question is about 10k lines of glue code between Rust & userland JS/TS.
Comment · 6 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton