HNHacker News
TopNewBestAskShowJobs

johnnypangs

305 karma · joined May 5, 2021

submissionscomments
johnnypangs··on Take Advantage of Git Rebase
How does that feature work in Gitlab? I also use it along with a rebase policy at work and sometimes have that issue.
johnnypangs··on Every Fucking Bootstrap Website Ever (2019)
Don’t bugs that are never going to be fixed make for better satire?
johnnypangs··on Google is shutting down Stadia
Imagine selling so badly that you're able to refund everybody. RIP! It wasn’t a bad service, just badly marketed and they didn’t invest in games.
johnnypangs··on You may not need a bundler for your NPM library
I think a lot of them use bundlers but they use them for transpiling, going from ts to js and creating esm and common js files not for bundling in dependencies. I’ve also seen bundlers be used to include css in js as to not require users to manually import it.

It’s not so bad, working with just tsc can be a little more cumbersome as you have to running it multiple times to get esm and common js and it’s slower than some alternatives. I see it more akin to using a makefile than an anti pattern.

johnnypangs··on The Node ecosystem still has tooling problems
I saw the author was using vite, they have a mode to help you build a library that would mitigate their woes. Check it out!

https://vitejs.dev/guide/build.html#library-mode

johnnypangs··on Slack Is Down
I'm seeing this as well, and of course the status page says all good

https://status.slack.com/

johnnypangs··on In Memoriam: Forgetting Your Password
Blocked by a pay wall, here’s a web archive link:

https://web.archive.org/web/20220525180921/https://www.wired...

johnnypangs··on EU Digital Markets Act, aimed at Google, Apple, Amazon, approved
Does this cover it allowing the ability to develop browsers on iOS?
johnnypangs··on Give up GitHub: The time has come
What are peoples opinions on gitlab? It wasn’t mentioned in this article, I’m wondering if it was a willful omission.
johnnypangs··on Vercel Edge Middleware: Dynamic at the speed of static
I like Vercel but if you have more than 10 devs on your team you have to be upgraded to enterprise which when my company asked for a quote we received an increase for 15 devs from what pro would have been. It was from $300 to $3000 a month!

We just wanted to use vercel for hosting and previews but after the quote we ended up going with aws amplify.

johnnypangs··on FizzBuzz in TypeScript
Try this one https://www.typescriptlang.org/play?ts=4.7.4#code/C4TwDgpgBA...
johnnypangs··on FizzBuzz in TypeScript
And here is a new link with the error fixed: https://www.typescriptlang.org/play?ts=4.7.4#code/C4TwDgpgBA...
johnnypangs··on FizzBuzz in TypeScript
Also, I didn't mention it but the FizzBuzz happens on hover of FizzBuzz. I realize that's not great behavior though
johnnypangs··on FizzBuzz in TypeScript
Here is what it was supposed to be: https://www.typescriptlang.org/play?ts=4.7.4#code/C4TwDgpgBA...
johnnypangs··on iOS 16
> Weather. Tap forecast modules for details… Get hourly forecasts for the next 10 days

Been waiting for this basic feature of the weather app.

johnnypangs··on Show HN: Warp, a Rust-based terminal
Anyone know how this lines up to other terminals performance wise. I’ve been pretty happy with alacritty, but would be willing to try a terminal with more features.

https://github.com/alacritty/alacritty

johnnypangs··on How much Rust in Firefox?
Does anyone know if this project is still on going? I saw no plan for 2021 and no updates after version 73 or so.
johnnypangs··on Apple Imagines Mac-Inside-a-Keyboard Device Evocative of 80s Home Computers
Looks a lot like the raspberry pi 400 https://www.raspberrypi.com/products/raspberry-pi-400/.
johnnypangs··on How to set up a blog with Hugo and Cloudflare, and why you should
Ghost is nice. https://ghost.org/
johnnypangs··on Ask HN: Easiest way to build a CRUD app?
Not sure if this qualifies but hasura[1] sounds like it would work well. It’s not REST and you could consider it to be a dependency but you wouldn’t have to write any code and you could deploy it using a docker container.

[1] https://hasura.io/

johnnypangs··on Ask HN: What is your “I don't care if this succeeds” project?
https://github.com/homebrew/brew#donations
johnnypangs··on Migrating from Netlify to Cloudflare Workers Sites for 2x Performance (2020)
Hey do you have any more information on cloudflare supporting targeted harassment? I had t heard of it.
johnnypangs··on Stadia Now Google Stream
I had a similar experience. I only got it because getting a ps5 was impossible and I really enjoyed playing games on it but abandoned it when the release schedule started to dry up. I ended up buying a gaming PC instead. Shame, having to download games again has me missing Stadia.
johnnypangs··on Google critiqued the practice of displaying ads above search results
AdGuard is pretty nice, you can also use other browsers like Firefox focus’ add blocker by installing them then turning it on in the extensions section of the safari settings.
johnnypangs··on Playwright: Automate Chromium, WebKit and Firefox
What do people thing of playwright vs cypress? I've been considering using playwright instead as it supports more browsers and I feel like it's easier to do production monitoring (by putting it in a aws lambda or using checkly)

- Cypress: https://www.cypress.io

- Playwright aws lambda: https://github.com/PauloGoncalvesBH/running-playwright-on-aw...

- Checkly: https://www.checklyhq.com

johnnypangs··on ‘I was just scared’: Apple AirTags lead to stalking complaints
Is the beeping not enough? I understand you don’t get a phone notification but it would be obvious as long as you’re near the tag.
johnnypangs··on WebAssembly: The New Kubernetes?
Does anyone have any examples of a sort of self hosted way to do functions as a service with web assembly? I know you can do web assembly FaaS with Cloudflare Workers (https://github.com/cloudflare/workers-rs among others) but am unaware of a way to self host.
johnnypangs··on Show HN: Stop Putting AWS Credentials in GitHub Secrets
Does anyone know the differences between saml and open id connect? https://docs.github.com/en/enterprise-cloud@latest/actions/d...
johnnypangs··on Ask HN: Monorepo vs. Multi-Repo
I'm the original poster. So Microfrontends are basically splitting up a frontend into individually deployable parts much like microservices. We've decided to do this because of the number and size of our teams working on our frontend.

For a little more on microfrontend this is a good description on the idea: https://micro-frontends.org/

As for the debate, we have a monorepo/microfrontend now and it is quite a bit of work to maintain it and certain parts of it are starting to show the lack of resources put into it. We can't deploy easily individually, our tests are very slow, and crucially our organization thinks there is significant risk in a deployment so they have set a very complicated and long QA process for us to get deployments to production.

Realistically I think it is an organizational issue and I've been leaning towards multirepo due to the restricted resources and it would be easier to put some of this work on the teams making the individual parts themselves.

johnnypangs··on We check our node_modules folder into source control
Most node modules (and I’m pretty sure is best practice) do not minify published node module code. The user should decide if they want to/how to minify. I often go in an read node module code and although it might have been transpiled for compatibility, it is not minified.
← PreviousPage 3 of 4Next →