Better HN
topnewbestaskshowjobs
Log inSign up

stack_framer

796 karma · joined Nov 5, 2020 (6y ago) · 179 submissions

Husband, father, and software developer living near the beautiful Rocky Mountains of Utah.
Submissions

comment 1y ago · link · parent

Very cool. I may just cancel my Fubo subscription and switch to this (Fubo has the glitchiest, buggiest, slowest video player I've ever seen)!

comment 1y ago · link · parent

Nope. A previous flip has no bearing on the next flip.

comment 1y ago · link · parent

> Most sports bettors arent trying to make money.

This is totally disingenuous. Why else are gambling providers forced to include addiction recovery phone numbers with their ads?

> A ticket to the game is $100+, is that money wasted too?

No, and this is equally as insincere as your first statement. Gambling takes money without offering a fair return in goods or services.

comment 1y ago · link · parent

> 97% of users lose money on sports betting.

This is the worst thing about sports betting.

A close second is being shown the odds for every little thing during the live broadcasts.

Apple TV is the worst offender. Their coverage of Major League Baseball was already bad, but they found a way to make it even worse by constantly showing the odds of this, that, or the other.

comment 1y ago · link · parent

My manager recently told our team that "AI usage" would be added to our engineering competencies, and we would all be expected to "use AI more."

When I said my top preference for AI usage, by far, would be to eliminate human code reviews, the response was basically, "Oh, not like that."

comment 1y ago · link · parent

Brave is excellent on Android. I watch YouTube all the time with literally zero ads ever.

comment 1y ago · link · parent

Dear GitHub: No YAML, please.

There, that's better.

comment 1y ago · link · parent

> conditionals are `if (...) { ... } else { ... }`

As long as you're not invoking a hook in those if/else blocks!

comment 1y ago · link · parent

This is exactly how I feel. I gave hooks a real, exclusive try for two years after they were introduced (2018-2020). I didn't like them—at all—so I went back to only using React as a UI library. I'm lucky enough now to work at a place where nobody else likes hooks either.

comment 1y ago · link · parent

I did my own informal research study—I quit social media cold turkey. My findings: I feel much better. I don't need any other data.

comment 1y ago · link · parent

Here's a subtle problem: An animation that looks "delightful" on the screens you have, might look pretty bad on a screen you don't have. For example, the author's animation for scaling a button looks fine on my M1 MacBook Pro, but jittery and sluggish on the crappy IBM ThinkVision monitor attached to my MacBook. See for yourself:

MacBook: https://drive.google.com/file/d/1UjJnxobPlBh_nv18Ych0XHwHEMw...

Crappy Monitor: https://drive.google.com/file/d/1jtwJKIFvteLOWD1Pzj1mTZjQwVX...

comment 1y ago · link · parent

You're not stupid!

It's a body of water south of Florida, Georgia, Alabama, Mississippi, Louisiana, and Texas.

It used to be called the Gulf of Mexico.

comment 1y ago · link · parent

> Sorry, but what does one have to do with the other?

Let me spell it out for you:

Daring Fireball has a really ugly website. On that really ugly website, they are criticizing Apple's ugly icons. This is ironic.

> Are you one of those people who think you can’t criticize a movie unless you’re a director yourself?

No.

comment 1y ago · link · parent

How ironic that Daring Fireball, with its eternally drab background color and microscopic font size, is endeavoring to criticize Apple's icons.

No doubt Apple's icons have worsened, but Daring Fireball is throwing rocks from its exceedingly brittle glass house.

comment 1y ago · link · parent

I'd be willing to bet that 95% of my "followers" on Twitter are bots. So I get near-zero engagement, or engagement that is worth zero.

comment 2y ago · link · parent

I found myself wanting to shuffle with the spacebar (so I wouldn't have to move my pinky fingers from A and L in order to shuffle with a shift key).

comment 2y ago · link · parent

> You absolutely need a space to talk candidly with your manager.

It's not so easy when you feel like you can't trust the people to whom you report. I'm in this situation after attempting to be candid about what I felt were missteps on the part of my manager and a director of engineering. After a scolding from one of them, and a veiled threat about my employment ending, I now feel like I just shouldn't rock the boat. I mostly dread my 1:1s with them, and I don't feel like those meetings are time well spent.

I could maybe understand if I had offered unsolicited feedback, but they asked for my opinion and I gave it honestly.

comment 2y ago · link · parent

> Am I too cynical?

Not at all. I feel exactly the same way. I'm also introverted, and to me "relationship building" in a corporate context often feels really contrived.

I want to bring as much value as possible to my employer, and I don't feel like I generate value by having 1:1s for the sake of having 1:1s. I jump through the hoop though, because I want a promotion and I'm concerned that I won't get one if I don't fit the norm.

comment 2y ago · link · parent

Thanks to Brave[0], I can't remember the last time I had to reject cookies.

[0] https://brave.com/privacy-updates/21-blocking-cookie-notices...

comment 3y ago · link · parent

My plugin supports this, but only if I happen to know the shortcut. When I start typing...

  border-radi
...for example, the plugin doesn't suggest...

  rounded
...because I didn't type anything close to matching that.

It seems like the only way to benefit from Tailwind without having to switch between your file and the docs is to invest time memorizing the many, many, many shortcut classes that don't start with the same word or letters as the actual CSS property name you already know.

comment 3y ago · link · parent

I hope what you describe will eventually be true for me, but so far the purported benefit of not jumping around isn't being realized. After 5 weeks of using Tailwind every day, I still have to switch between my file and the Tailwind docs fairly often to look up whatever shortcut classes I need.

So far I just miss CSS modules. Having my .tsx and .scss files both visible in split screen wasn't so bad.

comment 4y ago · link · parent

I've never contracted, but I'm in the exact same boat with regards to being someone else's full-time employee. Lately I've been struggling to stay even one year—I've been with 4 companies over the past 4 years! I'm a "flight risk". :)

And it's not that I don't want to work. I put 3-4 hours per weeknight into side projects, and another 8-12 hours on weekends. I have yet to make money on the side, but I keep hoping that something will succeed and I can run my own ship.

comment 4y ago · link · parent

I recently spent four weeks interviewing before landing a job, which is not an unusual amount of time compared to years prior (at least for me). The company I joined went from first interview to a good offer in two weeks—they were definitely eager. I put my application out approximately 50 times. Changing my LinkedIn status to "Open to work" helped.

The biggest difference this time around: Several companies invoked a hiring freeze while I was in the middle of their interview process. I've never had that happen before, so it felt like a storm brewing. Some were nice enough to tell me right away, while others went completely dark for weeks before getting back to me.

Good luck with the job search! I know it can be utterly miserable, but stay positive and keep those live-coding skills sharp as a razor.

comment 4y ago · link · parent

I think we overlook wordiness too often! In fact, each "good" example in TFA can be shortened without losing context:

Good:

"I checked the foobar.py script and told Sarah that there was a bug related to updating the users table in SQL — the script does not seem to update the last name column."

Better:

"I found a bug in foobar.py and told Sarah it's not updating the last name column in the users table."

Good:

"Hi team, the email sending worker keeps crashing with the following exception. I've tried re-running, clearing the cache, re-installing dependencies. Can I get a hand?"

Better:

"The email sending worker keeps crashing with the exception below. I reran it, cleared the cache, and reinstalled dependencies. Can I get a hand?"

Good:

"The resource defines two routes, but the GET handler can only handle one of those — the one without any path params. I can technically make a request GET /api/foobar/123/456 and have the app crash with a 500 because there is a route but the handler doesn't take any params.

Roughly speaking, there are two "types" of resource endpoints — list and singular.

List type resource endpoints handle - getting a list of resources: GET /things - creating a new resource: POST /things

Singular type resource endpoints handle - getting a single resource: GET /things/123 - updating a single resource: PATCH /things/123 - deleting a single resource: DELETE /things/123

To handle all cases properly, you need two resources:

... "

Better:

"The resource defines two routes but the GET handler can't take path params, so a request to GET /api/foobar/123/456 crashes the app with a 500.

There are two "types" of resource endpoints:

List: - get a list of resources: GET /things - create a resource: POST /things

Singular: - get one resource: GET /things/123 - update one resource: PATCH /things/123 - delete one resource: DELETE /things/123

So you need two resources:

... "

comment 4y ago · link · parent

I've been happily paying for my own WebStorm license for 7 years—using it at home and at work. In the middle of that, I tried VS Code for a whole year at a new job, to really see how it compared (my new team was using it).

It wasn't better in any way. In fact, most days I just missed WebStorm, but I soldiered on to see if I could find anything that was truly an improvement. At the end of my self-imposed, one-year trial, I concluded that VS Code had just one "advantage": it was free. Its barrier to entry was zero, from a pricing perspective. But since I had really given VS Code a fair shake, I gladly went back to WebStorm at work.

Fast forward to this year, when I ran head on into a serious WebStorm performance problem: type checking a very large TypeScript code base. The WebStorm logs show that the TypeScript language server is crashing, and I filed a bug with JetBrains many months ago, but zero progress. VS Code, on the other hand, has no problem type checking this huge code base—it happens near instantly. For months I have now had WebStorm open for editing, and VS Code open for type checking, which is ridiculous, and I'd be embarrassed if my team knew I was doing this.

It pains me greatly to say it, but perhaps the time has come to cancel my WebStorm license and just switch to VS Code.

I mean, why not, if JetBrains is just set on copying VS Code anyway? I'll take better performance with a worse UI, and it seems like that's precisely what VS Code can give me at this point. How sad.

comment 4y ago · link · parent

My kids watch everything with closed captioning on (ages 10 and 7)! I think now I know why, and it's my fault: I used to always tell them to turn the dang volume down. I guess then they couldn't hear the dialogue, so they figured out how to turn on closed captioning.

comment 4y ago · link · parent

I used Dgraph as the primary data store in a production app for over a year. I really enjoyed thinking of our model in terms of a graph, and finding creative ways to query what we needed.

The biggest pain point for me was the query language schizophrenia: Incomplete support for GraphQL, or their custom Dgraph Query Language (DQL). As Manish said, they missed the GraphQL train. They really should have gone all in on GraphQL, and only GraphQL.

comment 4y ago · link · parent

Take a look at https://www.humanprogress.org

comment 4y ago · link · parent

I interviewed at age 42 with an early-stage startup composed of a handful of twentysomethings. They asked me on three separate calls if I was concerned about how young they all were—which in retrospect seems like a veiled form of ageism. They ultimately told me that their company was not yet ready for someone with my "level of experience". I wonder if I should have sued them.
123456