News for hackers. Stuff that matters.

gaurang_tandon

Re:Make it easy for me to review your code on Monday April 15, 2024 @05:30AM (#40038377)
Thanks for sharing your thoughts and continuing the discussion on reviews. I agree that the reviewer should be precise and constructive with their comments.
Re:How to rewrite classes using closures in JavaScript on Sunday October 29, 2023 @02:05AM (#38056162)
Thanks everyone for the super insightful discussion! I have learnt a lot from the comments, and I have also updated my blog post accordingly. You can find the updated version at the same link.
Re:How to rewrite classes using closures in JavaScript on Saturday October 21, 2023 @09:49AM (#37966770)
Glad you liked it :)
Unrelated but you can also block ads with the FF mobile browser using ublock origin. I understand playing videos with screen locked is a big plus for brave though.

Ask HN: Why do we not see non-tracking 'fallback' ads?

uBlock Origin blocks all the tracking ads, and this leaves empty space on many websites. Why don't the advertiser networks (Google/Meta/others) prepare 'fallback' ad content, and put that content into this space instead?For example, my Twitter feed or Instagram stories loaded with uBlock origin have zero ads. I understand non-tracking ads are comparatively ineffective, but can't Meta insert...

( Read More... | 2 comments | on HN )
Coincidentally Discord was almost named Bonfire until they changed it (https://gist.github.com/advaith1/540543d6a2b7fd66abdb0eb02c0...). The two are quite distinct though: most obvious being able to host your own instance and the code being open source. No other connection that I can see, though.
Re:uBlock Origin Lite: Description on Wednesday September 21, 2022 @11:01PM (#32934359)
You are right about requiring more case studies. In the same context, MV3 extensions are being moved away from persistent background pages to ephemeral service workers. There's a thread and several very popular crbugs for how the web-based service workers don't work well for extensions (https://github.com/w3c/webextensions/issues/72). Given all this, the Chrome team continues with the change citing increased performance when using service workers. However, even when extension developers continue to come out with claims of decreasing performance, the Chrome team - as in the malware case - has not provided any case studies on how it is so sure about the increased performance (or efficiency, memory use, etc.) of SWs.
Re:Git Tutorial – All You Need to Get Started on Monday September 12, 2022 @02:01PM (#32814286)
Seems very comprehensive. I'm curious to hear how it differs from the Git book's or github's tutorial on git. My understanding is that the article starts off kinda similar to them but then quickly changes into a big FAQ about "how to do X in git", which is very useful as a reference but not a tutorial.