Viewing profile — wwwigham
wwwigham
HN member- Joined
- Wed, Apr 15, 2015, 8:21 PM UTC
- HN karma
- 674
- Public activity
- 140 items
- HN profile
- View on Hacker News ↗
About wwwigham
Recent public activity
-
comment
Comment #40548371
You can define a metatable on your objects of interest (or the root table meta table if you don't mind breaking the language's conventions and thus libraries) with __index and __ne…
-
comment
Comment #40155538
You can use file:// or git:// versioned dependencies in normal npm `package.json`s today. People just don't , outside some edge cases (local packages, nightly versions) because the…
-
comment
Comment #40155135
> What's the business model, I wonder? Serverless functions, right? That's what deno deploy is billed as. Presumably the registry is a platform-adjacent investment to try and bring…
-
comment
Comment #40152520
TypeScript _itself_ has a branded primitive string type it uses internally.[1] Dedicated syntax for creating unique subsets of a type that denote a particular refinement is a longs…
- story
-
comment
Comment #39669378
Stock Pixel may not ship with it on by default for end users, but anyone can enable developer options and enable Memory Tagging Extensions - either until toggled off, or for a sing…
-
comment
Comment #38365551
> ESM was developed in the open and anyone could participate, including the TypeScript team. This point stings for me, personally, since _I_ was the TypeScript language dev _in_ th…
-
comment
Comment #36540130
I, too, thought http/2+ would encourage unbundled js, but unfortunately in a world where people are used to whole-program minification and dynamic app slicing, I don't think we'll …
-
comment
Comment #36539216
I think this is funny, since esm being "native" on browsers doesn't really matter until you can convince devs they don't actually need to use a bundler. So long as you're using a b…
-
comment
Comment #33774724
At first, I was really excited, because I really wanted this pipeline to work well. I've wanted an automatic FPGA workload offloader for awhile. Then I read that their "JIT" FPGA b…
-
comment
Comment #33773993
Contrary to what seems to be popular opinion here on HN, I think it's fine they'd entertain keeping their code as JS with JSDoc, rather than TS. It's still typesafe, which is what'…
-
comment
Comment #33773817
Eh, wanting to dogfood the JS tooling you're writing is a fairly valid reason, imo. Would dogfooding on TS cover many JS usecases? Sure. But inevitably some things are different. I…
-
comment
Comment #33773702
V8 stopped dropping free perf wins on the JS community every year a while ago, and people are clearly starting to notice and feel like they need to take matters into their own hand…
-
comment
Comment #33278762
Nope, it's not just you! Happens reliably a little bit after page load for me, using Chrome on Android, too!
-
comment
Comment #33049807
When you can write a busy beaver machine in the type system, LOC ceases to be a good indicator or how long something should take to typecheck, imo. If you're frustrated with your b…
-
comment
Comment #33049660
Pattern matching is actually being discussed in tc39 for JS as a whole (where TS reps are some of the champions, ofc): https://github.com/tc39/proposal-pattern-matching The specifi…
-
comment
Comment #32999213
I run a media server with 100% passive cooling. Case is a small form factor case: https://hdplex.com/hdplex-h1-v3-fanless-computer-case.html You actually paste heat pipes from the …
-
comment
Comment #32932362
`noErrorTruncation: true` in a tsconfig.[1] It also affects hover and quickinfo truncation. Technically it will still truncate, just at a way higher limit, like a million character…
-
comment
Comment #32591024
This tbh. If the compiler the Microsoft team maintains is open source (which most of the ones people have heard of are), having involvement in that open source community would prob…
-
comment
Comment #32573064
> To this day I haven't found a way of doing this in TS You use an ambient declaration to declare the missing classish part of the type. declare function myLibrary(arg: Type): myLi…
-
comment
Comment #32470276
Errr, why do you need any non-js-runtime tool for this? TS's normal `tsc` command line is a single js file - you can pull it straight from GitHub[1] or unpkg[2] and run it directly…
-
comment
Comment #30810583
Oh man, a friend of mine did exactly the same thing back in college, but using a tessel instead of a rpi: https://github.com/JRJurman/automated-ticket-printer In action: https://ww…
-
comment
Comment #30779797
https://github.com/nodejs/node/issues/35711 Node's working on it.
-
comment
Comment #30077292
The `conformance` suite is the "set of tests people added when a feature was first released", usually without the decade of following regression tests in the `compiler` suite. In T…
-
comment
Comment #30076164
Deno has _very_ custom module resolution rules. The first thing you notice is the required `.ts` extensions and browser-esque URLs. Oh, and also the import maps proposal (which is …