HNHacker News
TopNewBestAskShowJobs

fullstackchris

742 karma · joined February 28, 2018

Owner of Full Stack Craft fullstackcraft.com

fullstackchris.at.hn

meet.hn/city/at-Feldkirch

Interests: Freelancing, Investment, Mobile Development, Open Source, Programming, Remote Work, Running, Startups, Technology, Travel, UI/UX Design, Web Development, Writing, Philosophy, Outdoor Activities, Hacking, Fintech, Cycling, DevOps

---

wonderfuldev_cn693xi6wq7203nxugqijvyc

submissionscomments
fullstackchris··on Ask HN: Has Google search become quantitatively worse?
This is particularly hilarious and ironic when considering they are really punishing for cumulative layout shift in their Lighthouse tool - to prevent exactly what you are describing from happening! Seems like Google hasn't used lighthouse on their own site!
fullstackchris··on The Next ‘Lab Leak’
Uh... are you forgetting about a thing called H1N1? Granted, it wasn't as dangerous as COVID, but that originated in the good ol' US of A. I wouldn't be so quick to jump to harsh ideas just for the sake of it - this could have happened in any country really - all you need is human interaction with animals and enough time.
fullstackchris··on The World's Deadliest Thing
Terrifying, really
fullstackchris··on Advent of Code 2021
I'll be doing the opposite, trying to do it in Go for the first time - it's a language I've been wanting to learn. Probably a bad decision to do the challenges with the overhead of learning Go at the same time, but it'll still be fun :)

It's at least good to hear that Go is a competetive option!

fullstackchris··on A terrible schema from a clueless programmer
I guess I've come away with a totally different takeaway than most. This post is rather strong on the blame game, which could be fixed by one thing...

RTFD! (Read The F**in Docs!) - I only skimmed the post, but its definitely something that would have been avoided had some SQL documentation or introduction been read.

I'd argue one of the huge things that differentiates "senior" developers from all the "other" levels - we're not smarter or more more clever than anyone else - we read up on the tools we use, see how they work, read how others have used them before... I understand this was from 2002, but MySQL came out in 1995 - there was certainly at least a handful of books on the topic.

Perhaps when just starting off as an intern, you may be able to argue that you are 'operating in a vacuum' but any number of introductory SQL books or documentation could quickly reveal solutions to the problem encountered in the post. (Some of which are suggested in these comments).

Of course we all make mistakes in software - I definitely could see myself creating such a schema and forgetting to add any sort of indexing - but when running into performance issues later, the only way you'll be able to know what to do next to fix it is by having read literature about details of the tools you are using.

Operating in a vacuum? Then break out of it and inform yourself. Many people have spent many hours creating good documentation and tutorial on many many software tools - use them.

fullstackchris··on Ask HN: Is it worth it to invest in learning TypeScript?
Shameless self promotion, I did exactly that, blog post explains it:

https://chrisfrew.in/blog/converting-a-large-project-from-ja...

This method does have some caveats, but can get your a sort of starting point using TypeScript for any sized JavaScript project.

fullstackchris··on ES modules are terrible
And yet, the reality IS that 90% of the web is using legacy stuff - heck, even something like 50% of the web still has jQuery on it. (haven't checked the figure in a while, but I guess it is still close to that figure).

I think the true anger is that something so essential and basic to JS development has this giant breaking change if you want to switch over to ESM - there's no reverse compatibility or fallback - it just breaks.

fullstackchris··on Pfizer's oral Covid-19 antiviral cuts hospitalization, death by 85%
Did anyone hear NPR's reporting on this? They said the early study was originally halted BECAUSE of it's positive effects at preventing hospitalization and death... very weird, I hope it is a typo or I'm understanding it wrong...
fullstackchris··on Ask HN: Do you have experience porting a .NET API to Go?
Curious here, as I may be involved in such an endeavor soon... any takeaways, best practices, would not recommend, etc.?

First major hurdle I'm anticipating while going through the go tutorial is that go doesn't have classes... that'll be fun.

fullstackchris··on ‘Trojan Source’ Bug Threatens the Security of All Code
I fail to see how this can actaully be used as an exploit. As some commenters have said, yes, it may be a risk to some open source tools where there is poor due diligence for merge request review process - but that is almost never the case.

Otherwise, if you own your own code, this obviously isn't an issue. (Unless, of couse, for some reason you want to program exploits into software at your organization :) )

Heck, even GitHub already shows a warning for files that have bi-directional unicode...

A bit of an overemotional title if you ask me.

fullstackchris··on Classes often aren't the simplest tool for the job
But many other languages are like this. AFAIK, C# is the same - there are no first class functions allowed, only classes.
fullstackchris··on How I built a modern website in 2021
Please build a login with just HTML.
fullstackchris··on How I built a modern website in 2021
Yes, my feeling exactly - especially when some of the "manager" level comments assume all tech should be infinitely fast when being shipped / released. Releasing to web is usually possible to optimize (in terms of how long it takes) with many strategies, but don't even get me started about mobile... the store approvals take anyway 24-48 hours!

I can't really tell the difference in this thread through jealous snide side comments and those which just lack understanding of large production applications.

Of course the guy is going to push tools he has courses about, I wouldn't expect different from anybody else.

fullstackchris··on How I built a modern website in 2021
I agree. While TypeScript is good for any JavaScript project, Node based APIs have always felt like the tooling has lagged behind other frameworks and languages. I've since really started to enjoy .NET for backend tasks - but of course there are many other good options.
fullstackchris··on How I built a modern website in 2021
As a bit of a pushback to this - doing the opposite and not considering optimizations and edge cases is perhaps a major source of so many YC startups (and any startups out there that need tech in general) fail when they reach any sort of critical mass - simple is always good, if it actually works at scale.

Facebook's now infamous implosion a few days ago harkens to this - their system is clearly NOT simple, but it works extremely well 99.9% of the time.

fullstackchris··on How I built a modern website in 2021
This is a one liner in NGINX...
fullstackchris··on How I built a modern website in 2021
and the login for your users?
fullstackchris··on Udemy S-1 IPO
If you're ever looking to support TypeScript eventually, the Monaco editor (https://github.com/Microsoft/monaco-editor) is your place to go. This is the same codebase that powers VS Code, yet is browser compatible and can come with all the Intellisense you need!

EDIT: Actually it probably supports a variety languages

fullstackchris··on The Reactive Monolith – How to Move from CRUD to Event Sourcing
I could see this being really powerful _for certain parts of a product or system_ but not the whole thing. Seems to be the overall understanding I get reading some of these horror stories.
fullstackchris··on The Reactive Monolith – How to Move from CRUD to Event Sourcing
not if nobody uses it ¯\_(ツ)_/¯
fullstackchris··on A Dyson sphere around a black hole
Exactly my thinking every time I read about them. It's one idea thought up by one scientist. It's so human of us to think some advanced race would build a giant capture device around a star... did anyone stop to ask that if a civilization could do that, they would likely already have technology that could (to our eyes) generate power out of thin air? Nope, caveman brain build big wall around star to get ALL power!
fullstackchris··on Renewed questions about the virus, and hard-to-face answers
this isn't entire true - actually i don't think there was a single country in europe that made going outside alone an actual fine with law behind it. it was made to appear that way, but i've heard many anecdotal stories that when stopped by the police, the police ended up admiting they couldn't really do anything
fullstackchris··on As the Pandemic Recedes, Millions of Workers Are Saying 'I Quit'
Hearing stuff like this a lot recently, I always think about the often repeated vision that Keynes had, saying that we (his grandchildren) would be working 15 hour work weeks. I think our economy is so rich and efficient now, that scenario could actually exist, but everyone is still duped by the workaday culture infinitely persisting the 40 hour work week idea.

Before I'm barraged with "what about people in the service industry!?" I do confess, I'm not sure what the argument would be - indeed, some people are perhaps only working part time at those positions, perhaps maybe around that 15 hour figure. But for those who work full time in the service industry, I guess I'm not sure what there leverage could be - raising the minimum wage perhaps? But that argument is age old and I've heard pros and cons both for and against. Also, in a country like the US where are social programs are far behind most of places like the EU for example, it's especially hard to argue or expect anything to actually become a reality for some of those service jobs. I guess only time will tell.

fullstackchris··on Real-world CSS vs. CSS-in-JS performance comparison
Can confirm from multiple sites, Gatsby with CSS modules runs like lightning
fullstackchris··on Real-world CSS vs. CSS-in-JS performance comparison
Big surprise that using CSS the original way it was supposed to be used... is the most performant. CSS-in-JS has always been a sort of "hack" for me. Sure it's a great DX, but it's really just an abuse of JavaScript to have CSS capabilities "just because we can".
fullstackchris··on Show HN: I discovered a trading algorithm that returns ~24.85% annually
all forks on GitHub are public, i took the liberty and did some snooping, the only fork which had some new commits was this one: https://github.com/jesshowe/SectorTradingAlgorithm
fullstackchris··on So you want to build a generator (programming)
I knew enough to expect it was about programming, but in the other way: a code or program generator. This seems about art generation! Very interesting still.
fullstackchris··on Delaying a Covid vaccine’s second dose boosts immune response
what planet are you on? there have already been multiple studies that show the efficiacy of existing vaccines are not as effective against some of the variants. don't doubt that there will be bootsters for this
fullstackchris··on Delaying a Covid vaccine’s second dose boosts immune response
yes but natural immunity =/= vaccine immunity (and please don't say bUt vAcCinE aNTIBoDiEs aRe bEtTeR tHaN ThoSe pRodUCed bY nATuRaL aNtIbODiEs)
fullstackchris··on Delaying a Covid vaccine’s second dose boosts immune response
Not sure why you are being downvoted. You are correct, and this is LITERALLY the case with existing virus boosters like Tetanus (actually the combined Tetanus / Polio / Diptheria / Pertusis). Many booster vaccines are recommended at regular intervals (some 5 years, some 10 years, some somewhere within that range). You wouldn't see people downvoting advice to get your Tetanus booster every 10 years! Yet they'll downvote such a suggestion about COVID boosters? I just don't understand. Its biology folks.

Actually this _really_ pisses me off that you were downvoted. Everyone is treating this vaccine plan (and I mean speaking from the US point of view vaccine plan) like it is the end of the pandemic permanantly. I can assure everybody that it is NOT. Indeed, there has been talk of these universal flu & cold vaccines for decades, but they have yet to be produced - just look how long the COVID vaccines took to be released worldwide when the first one was produced in January of 2020 (not a typo). Meanwhile, multiple countries in Africa, as well as all of India are still being ravaged by this virus - where is thier vaccine help? There is such a western centric twist on HackerNews that it really makes me question just how intelligent our "best programmers in the world" really are. From my initial view point, it seems everyone here understands the entire situtation no better than any other anectdotal theory from the average lurker on 4chan or reddit.

← PreviousPage 18 of 20Next →