HNHacker News
TopNewBestAskShowJobs

matsz

442 karma · joined January 3, 2020

https://mat.dev

contact@mat.dev

submissionscomments
matsz··on Tell HN: "Ad blockers are not allowed on YouTube”
This. It's why in-stream ads were so straightforward to implement for Twitch too. Can't fast forward a live stream.
matsz··on Tell HN: "Ad blockers are not allowed on YouTube”
> Is there really a way for Google to end this cat/mouse game in their favor?

Yet another "update" to the web extension manifest.

matsz··on Tell HN: "Ad blockers are not allowed on YouTube”
Until YouTube starts injecting ads into the video stream (like Twitch), it's not going to be effective at all. There's no way to do a client-side anti-adblock and not have it bypassed.

And TBH: since YouTube is not doing that, I think they might've decided the cost of that solution outweighs the projected revenue so they've chosen a cheaper solution.

In Twitch's case, more of the audience might be techy, so ad injection ended up being the more optimal option.

matsz··on Show HN: An app store just for installable web apps
Thanks, works well - just one small bit of feedback there: wish there were some hints on aspect ratios for the screenshots (or they should be displayed at the image's aspect ratio). Currently the sides get cut off: https://store.app/drop-lol

Also, would be nice to have a "more by this developer" section. (Or any other "similar to" recommendation section.)

matsz··on Show HN: An app store just for installable web apps
Just React and fastify. I have my own authentication library that makes things easier but it's not production ready yet.
matsz··on Show HN: An app store just for installable web apps
> PWAs on iOS can finally show notifications

This has been such a great addition, once it was officially added I've quickly built a small web app that can now distribute notifications to all my devices effortlessly, with a single codebase and with no need to pay the dreaded $99/yr subscription. Haven't released that publicly but I might at some point once I clean up the mess that inevitably resulted from me writing it in around 2 hours.

matsz··on Vivaldi on iOS
Can't speak for the OP, but "Takes a bite out of the Apple" implied to me an alternative engine at the first glance.
matsz··on Show HN: An app store just for installable web apps
Really good idea, what I'd suggest would be a separate Open Source category/tag. And a dark theme (based on prefers-color-scheme).

Also, submitted a developer application; have released a few PWAs myself - hope to post them there too!

matsz··on Flexbox Froggy
WYSIWYG editors like Microsoft Frontpage :)

Actually though, not really an analog, but surprisingly something not many people are aware enough of - https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical...

Helps a lot when working with applications that need to support both LTR and RTL languages.

matsz··on Flexbox Froggy
I've started my journey with CSS when Bootstrap was pretty much the only relevant CSS framework; and can confirm. There was no VS Code (Notepad++, anyone?), but Chrome Dev Tools were very useful when trying to understand what's actually going on and that + trying to "Inspect Element" random websites actually taught me CSS.

Fun fact: border-radius wasn't supported well until one year (2010) before Bootstrap (2011) was first released. You had to do rounded corners with some annoying background-image hacks.

matsz··on Croc: Easily and securely send things from one computer to another
Thanks for mentioning this but would be more useful to provide some context here.

This works via WebRTC, and since the wtrc package for node.js is not well maintained, the CLI for drop.lol has been abandoned. Therefore croc solves a huge problem that I can't solve in drop.lol right now.

For anyone who needs a web application, this should work though.

(Although: I've stumbled upon a really good implementation of WebRTC in pure Rust, so I might end up trying to get it working with that or even trying to port that to node.js somehow)

matsz··on 64 Core Threadripper 3990X CPU Review
Looking at Linux performance is a great idea since those CPUs probably will be utilized in Linux machines as well (lots of render farms run on Linux).
matsz··on I miss Inbox, so I hacked Gmail with a little CSS magic (2019)
Web apps are simply easier to use, go to a given URL, log in and you're there.
matsz··on WordPad Is Gettings Ads in Windows 10
Paid users shouldn't be exposed to advertisements like these.
matsz··on LastPass stores passwords so securely, not even its users can access them
Bitwarden can be hosted locally.
matsz··on Show HN: Drop.lol – user-friendly peer to peer file sharing in a web app
It isn't intentional, exists only as a side effect.

Thank you for your feedback and I will fix it soon.

matsz··on Show HN: Drop.lol – user-friendly peer to peer file sharing in a web app
The README on GitHub contains more information about the project: https://github.com/mat-sz/filedrop-web

If you have any other questions let me know and I'll add them to the FAQ.

matsz··on Deploy your side-projects at scale for basically nothing – Google Cloud Run
You're right. I've went with the $100k assumption from the other comment.
matsz··on Deploy your side-projects at scale for basically nothing – Google Cloud Run
Cloud hosting is great for businesses, that's why I believe that every web developer should experiment with those services. It's not great for personal use for the reasons you've stated - the risk of your service going down due to it being viral is much easier to bear than the risk of having to pay outrageous amounts of money for those services in that event.

If your hobby project goes down for a while nobody will remember that and having to pay $100k will make you remember that for an eternity.

matsz··on Show HN: HTML5 remake of Inkball (the bouncing ball game from Windows Vista)
I've written the game in TypeScript, using matter.js as the physics engine and my own 2D renderer that renders to HTML5 <canvas>. I'm still working on the map generation, but it works well enough for the project to be shown to the public.

Source code is available here: https://github.com/mat-sz/inkball

matsz··on Neumorphism in User Interfaces
Full-on skeuomorphism and full-on flat design are extremes of the UI design spectrum, the real beauty lies between the two.

For more business-oriented applications I would personally still go for flat design, since it will always look more neutral and professional than the potential "let's have fun" skeuomorphic version.

matsz··on Show HN: Neural networks tutorial series with code
Thank you for this project, I've been looking into learning how neural networks work and this looks exactly like something that could help me understand that.
matsz··on Show HN: Pong in 512 bytes (boot sector)
I've copied the webpack template from my other project, sorry for the overflow:hidden and thank you for letting me know about the issue.
matsz··on Show HN: Pong in 512 bytes (boot sector)
https://github.com/mat-sz/pongloader-v86

I use an existing x86 JS emulator. It runs the same exact binary.

matsz··on Show HN: Pong in 512 bytes (boot sector)
Thank you! I didn't have any other ideas on implementing the AI, it's currently pretty predictable.
matsz··on Show HN: Pong in 512 bytes (boot sector)
Huge thanks for the tips, I will look into that and try to implement them. To be honest, I stopped optimizing after I got enough space.
← PreviousPage 3 of 3