Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mythz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
781.
▲
by
mythz
6y ago
> Yes, it is theoretically possible for a TypeScript type to be "wrong" and the underlying variable to have a different type. Unlike most languages, TypeScript is just a high-level static analysis compiler service that compiles
782.
▲
by
mythz
6y ago
> So if I have a type `User|undefined`, testing `if (user === undefined || user === null)` is pointless, as `null` is not part of that type. It's very relevant, your TypeScript definition is meaningless at runtime when it's exe
783.
▲
by
mythz
6y ago
> `null` is only rarely used in JS, `undefined` is by far the more common one, and of course the types reflect which one is a possible value, so it's not like you can miss it by accident. That's not true, `undefined` is not eve
784.
▲
by
mythz
6y ago
> Dart still has all types nullable by default TypeScript is even worse in that regard since it has to deal with JS that wasn't written in TypeScript & there's no way to verify the runtime object complies with the interface
785.
▲
by
mythz
6y ago
> Flutter itself seems nice, but Dart as a language is a pretty big downgrade from TypeScript. It definitely isn't, Dart is an advanced clean, strongly typed classical language without JS's warts that's just as clean &
786.
▲
by
mythz
6y ago
Right, each time a new project is created it contributes to global warming. The entire dependency matrix is what impacts normal development workflow, e.g. everytime I tried to update an old Webpack SPA project there would be always somethin
787.
▲
by
mythz
6y ago
> Why would create react app add more run-time dependencies? Isn't that just Babel and stuff used for building? You can see all the dependencies it installs by running: $ npx create-react-app my-app > Also, with TypeScri
788.
▲
by
mythz
6y ago
Was a typo I meant `proponents`, fixed. The core library deps isn't relevant, it's how many deps the smallest starting Create React App has that matters [1]. As mentioned by OP react-native is far worse. [1] https://new
789.
▲
by
mythz
6y ago
This is thanks to many of the React dev team being strong proponents of outsourcing to micro deps for everything & remained strong supporters even after the left-pad incident. Imagine how much more enjoyable npm would've been if pr
790.
▲
by
mythz
6y ago
Was a bit skeptical, but this is surprisingly fast & lite & supports multi-tab + tree view + syntax highlighting in a 1mb download. I've not seen any of the reported issues with the font which looks clean & crisp (on Win 10
791.
▲
by
mythz
6y ago
It's no contest, JetBrains Rider provides the best C# development experience on any platform, with smarts well beyond what VS is capable of. While a commercial product, I've got 9 JetBrains products installed under the same toolbo
792.
▲
by
mythz
7y ago
Unlikely, freemium users would make up the overwhelming majority which has been getting more value & less reasons to need a paid subscription with each release since their acquisition of which I've yet to see any signs of neglectin
793.
▲
by
mythz
7y ago
Great news for everyone bar startups competing with them as it looks like Microsoft is turning their multi-billion acquisition of GitHub into a loss leader to get as many devs using their platform as possible, no doubt to flex seamless inte
794.
▲
by
mythz
7y ago
You pay more taxes on dividends, you still pay taxes on Capital gains, just less.
795.
▲
by
mythz
7y ago
Who gets to fly around on a taxpayer funded private airplane and spends over 249 days on a golf course costing >130M, 1/2 of which is spent at his Mar-a-Lago resort, but that's totally fine because his salary is less than a Non
796.
▲
by
mythz
7y ago
Nostalgic blast from the past, Asterix and Obelix was some of my favorite comic books as a kid. Surprised that you can find full length Asterix films on YouTube, with the first one released over 50 years ago and the latest just released las
797.
▲
by
mythz
7y ago
For years my retired parents own a couple of laptops and an iMac in an office room which they used to use frequently when they wanted to access the internet, but now the iPad is their primary computing device at home which they use on the c
798.
▲
by
mythz
7y ago
Given one of the best pieces of advice about managing COVID-19 is to "Act Like You Already Have it" [1], a less accurate test with more false positives isn't necessarily a bad thing. [1] https://www.huffingtonpost.
799.
▲
by
mythz
7y ago
CSS Zen Garden was a treasure back in the day, one of the most inspirational CSS sites showing the power and flexibility that can be achieved with CSS over semantic HTML. I still remember the original design from Dave Shea fondly: http:&#x
800.
▲
by
mythz
7y ago
They should & deserve to have full control over everything they've created. You can blame AWS/GCP for letting GitHub & npm be acquired, how many years were they on the open market? Most of the $$$ in OSS is being funneled
801.
▲
by
mythz
7y ago
Just like GitHub this is a cloud play to make Azure more appealing by meeting developers where they're at, increase dev mindshare/reach, hosting their packages, CI Scripts/Actions then making it seamless to deploy to Azure. S
802.
▲
by
mythz
7y ago
They should get props for TypeScript & VSCode.
803.
▲
by
mythz
7y ago
> Bitcoin let’s you store $1T USD of dollars in your head, transport it anywhere in the world, and there’s not a single thing anyone else can do about it. That's going to be pretty hard to do when all bitcoins have a combined "
804.
▲
by
mythz
7y ago
It's well-known Apple has been moving towards a "net cash neutral" position for years, which is done with dividends or buy backs. Both return capital to share holders but dividends yields a negative impact to their Market Val
805.
▲
by
mythz
7y ago
Do not invest if you need the money in the short-term or what you can't afford to lose. I'd be very hesitant to invest with debt financing. In all likely hood it will recover, but no-one knows when how far long out that will be an
806.
▲
by
mythz
7y ago
Did you read the section for Go? > Con: The Fuchsia Platform Source Tree has had negative implementation experience using Go. Decision > Go is not approved, with the following exceptions: netstack ... In the fullness of time, we shoul
807.
▲
by
mythz
7y ago
Not sure what these results is meant to be measuring since most UI Apps are written in Dart which is unlikely captured by the 10k LOC across 123 files reported. Unfortunately since they've removed their mirror on GitHub we can't e
808.
▲
by
mythz
7y ago
Very interesting to see a technology focused analysis of what Google thinks about the strengths and weaknesses of the different languages are. Usually analysis's embed personal biases or are either marketing sponsored posts to spur ado
809.
▲
by
mythz
7y ago
I respect the level of free time taken to run and publish this experiment! Interesting results, I thought they'd be more skewed.
810.
▲
by
mythz
7y ago
This bandwidth alliance? https://www.cloudflare.com/bandwidth-alliance/ Cloudfare is a featured integration that only mentions that transfer fees are free not that CDN hosting is free: https://www.backblaze.
More ›