News for hackers. Stuff that matters.

christopherbalz

Re:Avoid TypeScript `as` Assertions on Friday August 19, 2022 @06:10PM (#32526588)
The article raises awareness of a pitfall that is easy to fall into, and that will only appear at runtime.
Not your keys, not your coins.
Re:Microsoft Wants to Change TypeScript on Thursday March 31, 2022 @01:43PM (#30870101)
Is it really that much for the browser vendors to support TypeScript? Then, the only reason to compile would be to optimize for production by removing the excess code of the data-typing.

Browser support for TypeScript would invite developers to use those browsers, which aligns with browser-vendor interests.

Re:A complete guide to TypeScript’s 'never' type on Thursday March 10, 2022 @10:38AM (#30628084)
Sweet! 'never' seems to have historical roots in IE's ancient 'unknown' js type.
+ And worth re-reading as well. Totally generic to field but definitely applicable here.
Re:Nixery: Ad-hoc container registry, powered by Nix on Friday December 03, 2021 @11:47AM (#29432049)
Why call it "NixOS" when it seems to be a package manager?
Re:Etsy’s Journey to TypeScript on Tuesday November 16, 2021 @11:40AM (#29242653)
Great in-depth write-up!
My two cents: Formal Methods (e.g., "Z" and Promela) and also, teamwork stuff (from old days, Team Software Process, and any more modern material like that).
Re:Tsafe: The missing built-ins (assert) for TypeScript on Friday October 01, 2021 @11:46AM (#28719938)
A page of practical examples that are easy to understand and clearly offer advantages would help for those with limited time.
It would be really nice to not always have to do a worker thread or iframe to get multi-threading. Web apps with more involved and/or extensive ui's would benefit a lot from this in terms of the ui responsiveness.
Kind of surprising that the article doesn't mention the profits and sway that Big Tech has to afford the approaches he describes. Borrow money very cheaply, buy back stock, profit from higher stock price. As well, Big Tech has market power (not necessarily monopoly) to allow for a lot of flexibility in deadlines.
Re:TypeScript’s never type, what’s the point? (2019) on Wednesday September 22, 2021 @10:42AM (#28616850)
+1 Also, the author of the article was able to do the job in an article that one can read in just a few minutes - a rare feat.
Lots of good data in this article.
Re:Coinbase from YC to DPO on Wednesday April 14, 2021 @09:11PM (#26815103)
Re:The Last of the Hedgehogs: René Girard on Tuesday August 18, 2020 @03:09PM (#24202940)
Girard's theory also applies very well to mass culture movements for social and political change. Shameless plug: My book rests in large part upon his theories: https://www.nottotouchthesun.net/doorsinpoetryandhistory/
So, macOS keychain simply doesn't have the ability to store in secure enclave?
Re:Reddit rolls out community currencies on Ethereum on Thursday May 14, 2020 @01:53PM (#23182937)
BAT rewards have been live on seemingly all reddit comments for a year or so now.
Re:SETI@home shuts down after 21 years on Wednesday March 04, 2020 @01:27PM (#22486324)
"Distributed computing project, Rosetta@Home, is using the BOINC infrastructure to model covid-19 proteins that may be drug targets. " - https://www.reddit.com/r/COVID19/comments/f5as77/distributed...

I have run BOINC on my own computers for about 20 years. I really like it because it always properly steps out of the way whenever the computer is being used for something else (including config to do that when simply other processes need more resource), and because it's cross-platform.

Not surprising; the Fed is intent on ever-inflating the housing asset bubble.
Re:Cryptocurrency in the 2020s on Friday January 03, 2020 @06:40PM (#21951524)
Re:Ask HN: What should I read while offline for a year? on Monday December 30, 2019 @12:22PM (#21914986)
I am enjoying "Quantum Computing for Everyone". It's by an MIT math professor, and is certainly for "everyone" . . . who wants to learn quantum techniques for linear algebra (e.g., everyone who wants to do some serious work).
Re:The Society of the Spectacle on Monday December 16, 2019 @05:30PM (#21808126)
Well-said.
On macOS, brow.sh doesn't make it clear as to what hyperlink I am focused on when browsing.

Also, it doesn't handle terminal shutdown; it leaves Firefox running but won't reconnect if you open up a new terminal and try to run it again.

Overall, unusable at this time, imo.

Re:Beige Book by the Federal Reserve on Friday November 08, 2019 @01:25PM (#21485159)
Re:VisibleV8: In-Browser Monitoring of JavaScript in the Wild on Wednesday November 06, 2019 @12:51PM (#21464990)
Sounds lightweight in implementation but very powerful. Seems like it could be used by the likes of `npm` to filter out packages that do operations such as `prototype` modification. Then those would be flagged in `npm audit`.
Is this something that could/should be done by the package repositories such as npmjs.com?
I think that the README could be improved by adding a brief description of how it works, in maybe 20 to 50 words. Then, consider adding another paragraph if more detail would be helpful to the reader/prospective user.

Separately, a command-line tool to do basic hash verification would also be useful - has anyone seen one?

Older »