HNHacker News
TopNewBestAskShowJobs

cersa8

210 karma · joined February 17, 2022

submissionscomments
cersa8··on U.S. Air Force says it conducted successful hypersonic weapon test
How much of this is hype and boasting about military advances. According to this article hypersonic missiles are far from practical https://www.scientificamerican.com/article/the-physics-and-h...
cersa8··on Streaming Server Side Render in React 18
"How does remix dictate how you mutate your data?" I didn't word it correctly as Remix doesn't dictate the model. It does seem to have a strong opinion on how to handle form submissions. Trying to closely follow the browsers native form api does make a lot of sense in most situations, but I like a more JavaScript heavy approach to form handling. Especially since I have a lot of complex form interactions.
cersa8··on Streaming Server Side Render in React 18
Routing is indeed another pain point especially with internationalisation and having multiple dynamic/translated paths to the same page. My issue with data fetching is about the depreciation of getInitialProps() without a good alternative in place: https://github.com/vercel/next.js/discussions/10874 I need a single place to load site translations, user data and what not, preferably without refetching this data on each page transition.

I also briefly looked at Remix and love the routing, but do not necessarily want Remix to dictate how I mutate my data.

cersa8··on Streaming Server Side Render in React 18
A "complete solution" is perfectly fine to hit the ground running, but will not stay complete once you go beyond an MVP. I started with WordPress with a bunch of plugins and after extending WP beyond its intended purpose decided I rather pick a set of high quality mainstream libraries (next.js, knex.js, passport.js, sharp, bcrypt, MobX, etc) to build upon than shoehorn a complete solution to my needs. I think Next.js has taken a lot of pain out of Webpack/bundling even though I have some gripes with the (SSR) data fetching API.
cersa8··on Streaming Server Side Render in React 18
Sounds pretty dramatic on the surface, but it does indeed give great comfort to have a stable frontend library that's improving in all the right places. React + TypeScript powers the UI of my business and I've never felt more happy about my frontend code. Being on a dead-end framework library and still having to add features because you dread moving to greener pastures is pretty demotivating.
cersa8··on The saddest “just ship it” story (2020)
I use podcast/audiobooks exclusively to fall asleep. But indeed, the narrator/presenter needs to have a soothing voice and no intro and outro jingles.
cersa8··on Tether starting to lose its peg too, after Terra did
You're downvoted because people want to see it burn. But yes, the peg is already very close to stable now. Enjoy your pizza's.
cersa8··on Tesseract.js wraps an Emscripten port of the Tesseract OCR Engine
It's part of the Cloud Vision API which supports (g)RPC and REST. Used it in a trading bot to detect if a tweet image (from Elon Musk) contained any mention of the text Doge or Dogecoin, or even a real dog.
cersa8··on GraphQL Is a Trap?
Even though this is true, there can still be a lot of value in certain scenarios.

For instance, this is why I use GraphQL strictly in my admin backends. Exposing the database almost verbatim through Postgraphile as an Express.js middleware. All data is now trivially accesible. Everything that requires custom resolvers or other complex customisations are handled over a Rest endpoint. I now have all the benefits of GraphQL without the complexities you face when moving into more edge case scenarios. In pretty much the same way I use Prisma ORM but raw queries for anything non trivial.

cersa8··on GraphQL Is a Trap?
Aggregate queries are indeed a weak point of GraphQL.
cersa8··on Most Salvadorans have already ditched their national Bitcoin wallets
"Bitcoin has died 447 times" [0]

It's not an easy thing to kill.

[0] https://99bitcoins.com/bitcoin-obituaries/

cersa8··on Postmark has been acquired by ActiveCampaign
Great service and deliverability but pricey if you are in the 125k emails / month bracket. I found Amazon SES to be just as good (or good enough) for just 12% of what postmark asks.
cersa8··on LineageOS 19
Happy LineageOS 19 / Android 12L [0] user on a dated Samsung S7 phone. Don't forget to donate of you are a custom ROM user, it takes a ton of effort to support these older phones.

[0] https://forum.xda-developers.com/t/lineageos-19-1-android-12...

cersa8··on WebAuthn Browser Support
My telecom provider Vodafone doesn't support it, neither do any of my banks. My favourite crypto exchange; only a single key. The list goes on. There is still a lot of ground to cover.
cersa8··on WebAuthn Browser Support
Props to Hetzner for having this properly integrated with the option for multiple (at least three in my case) hardware keys.

For whatever reason, quite often you can only register a single device (looking at you AWS Root account). The only way around this is by setting up your backup keys with the same OTP private key and use the Yubico Authenticator app to generate the TOTP.

cersa8··on EU to unveil landmark law to force Big Tech to police illegal content
"Regulators will also include an emergency mechanism to force platforms to disclose what steps they are taking to tackle misinformation or propaganda in light of Covid-19 and the war in Ukraine."

Banning misinformation like what is happening in Russia, where only the peace keeping, nazi fighting narrative is allowed to be told. I hope we realize banning misinformation is not how you create trust. Being open about uncertainties, discussing why something is misinformation and providing as much data as possible is the only way to create trust.

cersa8··on The absurd complexity of server-side rendering
Isn't that the part where you as a developer step in? Most of these things are solved problems with mature libraries to integrate. I much rather mix and match then fight some all-in-one super framework that doesn't do quite what you need.
cersa8··on The absurd complexity of server-side rendering
"Limiting the backend stack to what browsers support is not great" Node.js shares the same language but that's about it. In the Node.js backend you have access to modules like lovell/sharp with optimized c code (libvips) for image processing. There really isn't much you can't do. With pm2 it is easy to spin up say 8 instances of Next.js utilizing all available cores. In my experience there is barely a distinction between client and server side rendered components. getServerSideProps() or getInitialProps(), even though not perfect allow you to either call your backend code directly or call an API with the session cookie as a parameter.
cersa8··on The absurd complexity of server-side rendering
Do I live in a parallel universe where building SSR/SPA sites with Next.js is somehow incredibly complex? I know below the abstractions there is complexity, but building SSR rendered SPA's today with something like Next.js has never been more simple. I think web development has taken a huge leap forward where we now have stable tooling, a strongly typed language with TypeScript and top notch boilerplate free state management with MobX. To top it off you can write performant backend API's in Node.js with again TypeScript sharing contracts (Interfaces) between backend and frontend. I for one am really happy with the current state of affairs.
cersa8··on Hetzner Cloud – Data loss incident
The day I ordered my first Hetzner storage box (May 16) was the day I had my first Urgent Maintenance notice. Today the second one. "Urgent maintenance on Storage Box hosts XXX to XXX"

Never had any trouble with their vps offerings, but I'm not liking it.

cersa8··on Van life (cancer edition) finale
Difficult to say as it depends on the region and distances you are going to travel. We often do this for a couple of weeks with the longest trip being 2 months, while traveling from Northern to Southern Europe where we spend the winter at a rental villa. Biggest cost is the occasional hotel or apartment to freshen up. Otherwise just fuel + food.
cersa8··on Van life (cancer edition) finale
Until you experience this simple way of traveling, it may look like an uncomfortable thing to do. My girlfriend has Chronic Fatigue Syndrome and loves traveling this way, where she would often be bedridden at home for days, when traveling she can at least be in a natural park, listening to birds, waking up by a tawny owl, see deer and foxes pass by the car without noticing you. Life becomes simple and you're so much closer to nature. Even with sub zero temperatures and no heating at night, with the right gear this is still very doable. Of course you have to go to places with low population density and be mindful of your surroundings.
cersa8··on The Joy of Small Projects
For me it works best to start a project in such a way that it is easy to get back to. Fully expecting and embracing getting bored and leaving it gathering dust for a while.

For this to work I have docs folder with a todo.txt, architecture.txt, questions.txt and features.txt. I push it early to a private gitlab repo and use a language like TypeScript that makes it easy to come back to and make changes without fear of braking things. It won't be the first time that I get excited (again) by something and can continue on an existing project.

cersa8··on What If Europe Loses Russian Natural Gas?
"The IEA indicates average indoor temperatures in the EU are now about 22° C" Wow, current room temperature here is around 16 degrees Celsius, perfectly fine as long as you don't wear a t-shirt. Still comfortable too. I guess it all depends on what you're used to. As an added benefit, a lower room temperature induces a higher metabolic rate [0] , which could help fight our obesity problem (okay, that might be stretching it a bit)

[0] https://www.nature.com/articles/1601308

cersa8··on Russia War Crimes
As someone from Western Europe I've always considered myself lucky to be living in a kind of golden age of technology, prosperity and peace. The last months I realise this time may well come to an end.
cersa8··on Why Remotion is a native macOS app, not Electron
Not my experience. I was happy to leave Xcode behind for vscode after years of iOS development.
cersa8··on Why the WHO took two years to say Covid is airborne
That absolutely tarnished his reputation I agree.
cersa8··on Why the WHO took two years to say Covid is airborne
A dutch data scientist repeatedly showed, with data that Covid was airborn and ventilation should be a top priority [0] (dutch). Unfortunately has was ridiculed. I wonder how much better we could have done taking these early warnings more serious. Part of me thinks we wanted an easy option (masks) instead of expensive changes to existing ventilation systems.

[0] https://pointer.kro-ncrv.nl/hoe-maurice-de-hond-in-het-coron...

cersa8··on Becoming Remotive.com
Ah,this explains a recent email I got where the company claimed a third party was trying to register mycompany.net (different tld) and gave me a short time window to register it myself for an additional fee.
cersa8··on YT-Spammer-Purge: Scan for and delete spam comments on YouTube
Exactly this, sometimes up to 30 comments and likes, all by the same spam bot. If you call out the spammer below his comment the bot reports you and your comment will be removed.
← PreviousPage 2 of 3Next →