Mathias Schreck

364 posts

Mathias Schreck

Mathias Schreck

@lo1tuma

München Katılım Eylül 2009
233 Takip Edilen115 Takipçiler
Mathias Schreck
Mathias Schreck@lo1tuma·
@MichaelArnaldi AFAIK tsc already detects this for project references. Not sure if they also do it for individual files. But I think even for project references this would be a quick win.
English
1
0
0
18
Michael Arnaldi
Michael Arnaldi@MichaelArnaldi·
@lo1tuma usually that detection is expensive in itself, would be curious to see the specific case in which it leads to this being much faster. In large monorepos I've used topological ordering of compilation (and parallel compile on unlinked branches) many times and it does indeed improve
English
2
0
0
95
Michael Arnaldi
Michael Arnaldi@MichaelArnaldi·
I see a recurring thing on X like "why nobody shipped an alternative TS type-checker that is fast and compliant", I'll try to answer. For context I've worked closely with the type-checker for a fork of TS and I've closely inspected all the efforts to date (even tried myself).
English
8
12
146
22.5K
Mathias Schreck
Mathias Schreck@lo1tuma·
@MichaelArnaldi In large projects there are often many files which don't depend on each other. Those files could be parsed and type checked in parallel. I've used github.com/timocov/parall… in the past, which reduced the compile time from 5 minutes to round about 1 minute.
English
1
0
0
82
Michael Arnaldi
Michael Arnaldi@MichaelArnaldi·
which leads us to the conclusion of this X's immense thread, there's two ways of rewriting TS, one is a fool's errand and the other is an herculean effort that can't be conquered. Good inspiration if you're ever up for inventing your own language.
English
6
2
28
1.3K
Mathias Schreck retweetledi
Dennis Wagner
Dennis Wagner@wagnerdennis·
@wolframkriesing Ab-so-fuckin-lutely! A developer who doesn‘t know that is just a programmer. You want to be called a developer? Then participate in developing a product. Or even better yet, a business.
English
0
1
7
0
Mathias Schreck retweetledi
not just pixels
not just pixels@getifyX·
I've released a new ESLint plugin: "proper-arrows". Includes several rules for improved readability of => arrow functions: no global arrows, required name inferences, forbidden concise-object-return, and required `this`. github.com/getify/eslint-…
English
3
18
55
0
Mathias Schreck retweetledi
Doc Norton
Doc Norton@DocOnDev·
If you've skipped unit tests because you plan to refactor the code soon, you might not understand refactoring (or unit tests).
English
3
121
288
0
Mathias Schreck retweetledi
Doc Norton
Doc Norton@DocOnDev·
Never ask permission to do your job correctly.
English
7
265
644
0
Mathias Schreck
Mathias Schreck@lo1tuma·
@GabrielG439 @tpflug @dhall_lang @domenkozar I think the problem mentioned in this article isn't unique to npm I could imagine that it would be also possible to do this in nixpkgs. Anyway it is still completely unrelated to the configuration language that is used by npm or any other package manager.
English
0
0
0
0
Mathias Schreck
Mathias Schreck@lo1tuma·
@GabrielG439 @dhall_lang @domenkozar Hooks are defined in `sh` not JavaScript. I still don't think the underlying config language plays any significant role here. It is `npm install` which executes side effects. You should use a different package manager and/or execute npm install in a sandbox.
English
1
0
0
0
gabby
gabby@GabriellaG439·
@lo1tuma @dhall_lang @domenkozar If you have an install hook that is specified in JavaScript, then your configuration language is not just JSON, it is JSON+JavaScript. The goal is to get rid of the JavaScript, not to get rid of the JSON
English
1
0
0
0
Mathias Schreck
Mathias Schreck@lo1tuma·
@dhall_lang @domenkozar Sorry, but that doesn't make any sense. The side effect in question doesn't seem to be related to underlying configuration language. It is executed as part of `npm install`. The same could be achieved when dhall would be the config language.
English
2
0
0
0
Mathias Schreck retweetledi
blssm.
blssm.@billieblssm·
not a cellphone in sight. just people living in the moment. absolutely beautiful, wish we could go back
blssm. tweet media
English
400
27.2K
93K
0
Mathias Schreck retweetledi
Doc Norton
Doc Norton@DocOnDev·
It's irresponsible to load teams to 100% capacity. Increased workload creates longer delays, lower quality, and higher costs.
English
5
85
197
0
Mathias Schreck retweetledi
NixOS
NixOS@nixos_org·
New blog: Matthew Bauer: Beginner’s guide to cross compilation in Nixpkgs ift.tt/2JVzwLd
English
0
7
10
0
Mathias Schreck retweetledi
Aaron Patterson
Aaron Patterson@tenderlove·
Static types don't prevent you from writing bad code
English
40
144
639
0
Mathias Schreck retweetledi
Marcel Freinbichler
Marcel Freinbichler@fr3ino·
Because of #GDPR, USA Today decided to run a separate version of their website for EU users, which has all the tracking scripts and ads removed. The site seemed very fast, so I did a performance audit. How fast the internet could be without all the junk! 🙄 5.2MB → 500KB
Marcel Freinbichler tweet mediaMarcel Freinbichler tweet mediaMarcel Freinbichler tweet media
English
356
17.5K
26.9K
0