HN user

metaloha

160 karma
Posts20
Comments214
View on HN
frontendmasters.com 1y ago

CSS and JavaScript Spotlight Effect

metaloha
1pts0
news.ycombinator.com 2y ago

Ask HN: Utility classes vs. semantic classes

metaloha
2pts0
news.ycombinator.com 2y ago

Ask HN: A payment processor that pre-charges metered use

metaloha
1pts4
www.fraseronfiction.com 3y ago

Fraser's First Success Was a Failure

metaloha
1pts0
fuckreligion.net 3y ago

Time Travel PoC?

metaloha
1pts1
news.ycombinator.com 3y ago

Elon Has to Destroy Twitter

metaloha
4pts3
fuckreligion.net 3y ago

Twitter Is a Usability Mess

metaloha
3pts0
arstechnica.com 3y ago

FTL at 10 years old – The making of an enduring spaceship simulator

metaloha
7pts0
github.com 3y ago

Show HN: An opinionated Angular boilerplate GitHub template

metaloha
1pts0
github.com 3y ago

Show HN: A lightweight TypeScript boilerplate for TDD

metaloha
1pts0
dohliam.github.io 4y ago

Drop-In Minimal CSS Viewer

metaloha
1pts0
physicsworld.com 4y ago

Sonifying science: from an amino acid scale to a spider silk symphony

metaloha
1pts0
github.com 4y ago

Show HN: A naive SHA265 collision finder in Rust

metaloha
2pts2
github.com 5y ago

Show HN: An Angular 11.x template for Word task pane add-ins

metaloha
1pts0
medium.com 6y ago

The Loss Of Micro-Privacy: How small design changes rewrote rules of messaging

metaloha
2pts0
github.com 7y ago

A lightweight vanilla ES6 cookies and local storage JavaScript library

metaloha
1pts0
tomi.github.io 7y ago

Fromfrom – a LINQ inspired library to transform sequences of data

metaloha
6pts0
davidwalsh.name 7y ago

I Don't Hate Arrow Functions

metaloha
1pts0
labs.clio.com 7y ago

How I Reduced My Imposter Syndrome as an Intern

metaloha
1pts0
www.facebook.com 9y ago

A Social Network Rant

metaloha
1pts0

You're over-thinking it, dark-noodz. Truth is subjective, opinionated, and bears no relation to facts. It is an abstract concept that serves a lot of different emotional purposes - from manipulation by corporate windbags all the way back to how you perceive yourself.

We often conflate "truth" with "comfort" or "validation" because we're human.

When companies want their employees to be "truth seekers", they generally expect employees to act responsibly, honestly, and either willing to go with the flow (truth for the company) or challenge the norms (truth for the individual) - good luck figuring out which one they actually want at any given moment in time.

What is truth? It's what I tell myself to feel better about what I see around me. It changes all the time, reflects and contradicts itself under different circumstances, and rarely matches up with other people's perception of truth.

Truth is what companies and individuals use to justify their actions - not facts, but truths.

It's funny, but you can replace every "truth" above with "lie" and it will remain a truth and a lie.

The only paragraph you wrote that was truthful was the second-to-last one.

I recommend learning JavaScript, not a framework to begin with, and especially not something that smurfs with the DOM paradigm as much as React does. Learning React will make you a React developer, not a Front End developer.

Once you have a firm grasp of the DOM and browser quirks and have figured out how to write an efficient {insert simple/intermediate component here}, move on to custom HTML components using LitHTML or Svelte or some such. Once you grok what's going on there, you're ready for any framework you want :)

This is fine. In our situation we also kept a couple of summary tables in the regular database so we could track things that we commonly queried (like total visits per country, authenticated visits, etc.

Before I left we also started tracking every hit but with less information on a weekly rotating basis - so we could always query the last 7 days of logs, but only needed to store about 20% of the information in the full log. It added to the cost a little bit, but queries within the 7 day limit were effectively free, which Support and Analytics loved :)

Literally the only reason I pay for YT Premium is to get rid of ads. I don't use any other features of it - I just don't want ads. The modern web is so bad that premium services only need to be ad-free and I will pay. Make all the features free, and just let me pay to never see any ads ever again. I cannot state clearly enough that I literally use _no_ YTP features, I just enjoy the ad-free experience. Did I mention that advertising on the modern web is absolutely broken and is ruining the enjoyment of web browsing? Is "browsing" even still a thing for people? Fucking ads :(

It varies, same as so many things :) You can concentrate on finding work within a narrow range where you feel expert in, or spread the net wider and take on work that lets you learn new things as well. You might have a lot of domain experience (eg. financial, construction, real estate, etc.) that you can leverage into finding work, or intentionally find things outside your comfort zone.

We make our own prisons, so to speak, and freelancing can be as restrictive or as freeing as you make it (market conditions may dictate some of this, though).

I usually freelance within a single tech stack and closely related tech, but cast a wide net as far as the type of business goes (music, financial, AI, real estate, legal - all are industries I have some experience with now, and many more).

Best of luck. I've been in this grind for about 35 years now, very similar history.

Two suggestions that might help:

  * switch careers
  * freelance full-time
If you have any other talents or fields of interest, try finding work there (mechanic, electrician, trades, administration, technical writing, etc.).

As a freelancer, you can keep doing what you enjoy, but the scenery changes much more frequently, which might alleviate the ennui.

"Compostable" is correct :D

React is what happens when you misunderstand the purpose (and principle) of web components, then double-down and encourage framework-related libraries to sprout up around it.

React is what gets used by companies who didn't do enough due diligence into deciding on the best tools for the job.

I've worked with React and find it endlessly annoying and arbitrarily designed for the most part (in a modern development context - probably it didn't seem so randomly assembled back when it was still relatively new).

The problem isn't limited to people learning frameworks instead of languages; I work with developers who don't know the network stack at all - no concept (beyond the bare basics) of how their code gets from a server to a browser and the steps between and the related technology. When I ask things like "does the server support HTTP/2 or /3" or "can you setup a local certificate so we can use https for localhost" I almost invariable get blank stares (or long pauses on Teams/Slack) and a question in reply: "Where do I look for that?"

Agreed. My company puts out terrible code that only mostly works. I was literally laughed at when I suggested we start documenting things and adding tests. This is a dev team of around 30 people who still have to site through a morning "stand up" every day, who are never given enough time to do quality work, and where only 3 devs are trusted to merge code and make deployments. Until recently, they were also the only devs who were able to generate API keys for certain, necessary third-party APIs, so if your key stopped working and they weren't in, you were completely blocked until one of them showed up.

There are devs here who have been "junior" for 4+ years, and senior devs with less than 2 years of experience - all learning and teaching the same bad habits and bad code to each other. A few months ago I did a Lunch N' Learn showing some JS features and when I showed how to use `.map` in place of a for...each loop for certain situations, it blew more than one mind - which in turn blows my mind. These are "senior" front-end devs who never new that things like `map`, `find`, and `filter` existed. They haven't actually _used_ any of these features since then either, and I have been labelled "picky" when I point out how to change their 10 line block into a 3 line block during code reviews. I doubled-down on that label when I noted that converting observables to promises (these are Angular applications) was a bit of an anti-pattern, and all our inter-application communication is completely unsecured and 100% open for abuse.

This company is not interested in improving things and is actively in a code-based death spiral towards unmaintainable complexity caused by terrible management and ignorant (but friendly and likeable) product owners. When I put together a proposal or plan to improve something (like switching to a message service instead of relying on inter-iframe messages), the first question I get asked (by 3 different people, no less) is how I had time to put that together (it took about 30 minutes); didn't I have better work to be doing?

But I can't find another job, so here I sit, witnessing the slow tech-death of their little universe, doing what I can to not go down with it too far. I am atrophying and can't stop it.

Stripe Press 2 years ago

Why does this require WebGL and hardware acceleration in order to see anything but a large, blank space?

I'm not sure I ever understood this decision. Stories posted on FB (for example) generated clicks - this is good, and if the numbers in this story can be believed, accounted for 90% of the traffic to the news site. When the news sites decided to disallow the free advertising they were getting from the readers of their sites, how did they not expect their clicks to plummet? Do they just want more money for the traffic than their intrusive and arrogant advertising was providing? Are they trying to setup a dual-income stream - pay us to allow our readers to post links to our site while we also make money from everyone who clicks links to our site?

I guess I'm curious about the thought process. What did the news sites expect to happen, honestly?

Mostly I just refer to it as `id`. The only time I'll explicitly use `guid` or `uuid` as a field/property name is if it's semantically important - which is almost never.

One company I work with is using ChatGPT to have email conversations with clients and booking appointments via API (including checking availability and rescheduling). It's pretty hard-coded at this point, but works well as long as GPT doesn't hallucinate and suggest a 3am viewing :)

Looks like a good start!

But upgrade the presentation a bit. Your `title` tag is AdonisJS, which is definitely wrong, there are quite a few spelling issues, and you need more technical detail in places (eg. the comparison to Next.js at the bottom).

Tabs - it's an accessibility feature. Even with large font sizes I have trouble reading code that's indented with 2 spaces, and 8 is just unreadably wide.

This isn't word processing - everyone's IDE or environment is going to be different, from colour scheme to syntax highlighting to font size to font to line spacing to monitor DPI. Get over it and use tabs - you will not control how code looks on my screen(s).

This looks pretty good, and I like that it's fairly lightweight compares to some other options.

My suggestions are mostly along the same lines (and having not seen the source code) - use a plug-in architecture for some things. MySQL is fine, but a lot of companies use PostgreSQL. Google OAuth is fine, but many companies like Auth0. You main project provides a stable API for each option, but the end-developer can swap out PGSQL for MySQL if they choose without needing to change any code (well, maybe their SQL).

Your FAQ mentions some templates (HTML I assume?) but that's not shown in your Features list anywhere - devs will want to know what pages have already been stubbed out for them.

Good luck with this!