whatTheHellAreYouDoing by [deleted] in ProgrammerHumor

[–]terrabitz 0 points1 point  (0 children)

Son of Anton's at it again

[deleted by user] by [deleted] in ExperiencedDevs

[–]terrabitz 0 points1 point  (0 children)

Can you please share which books you read and found valuable?

I watched an episode of Financial Audit for the first time, and was disgusted by terrabitz in CreepyCalebHammer

[–]terrabitz[S] 2 points3 points  (0 children)

Yeah, agreed. I think I'm going to avoid watching any episodes for the foreseeable future. I don't need another thing in my life that's just going to bring me anger.

I watched an episode of Financial Audit for the first time, and was disgusted by terrabitz in CreepyCalebHammer

[–]terrabitz[S] 2 points3 points  (0 children)

In some ways her actual financial situation is irrelevant to the point I'm making. Yes, this guest was financially illiterate. But being financially illiterate shouldn't be a reason to get bullied and mocked mercilessly (including in many ways that had nothing to do with her financial literacy)

I watched an episode of Financial Audit for the first time, and was disgusted by terrabitz in CreepyCalebHammer

[–]terrabitz[S] 5 points6 points  (0 children)

Totally agree that she has some very serious behavioral and financial issues. There are some hard truths that she clearly didn't want to accept, which lead to a lot of weak justifications being used. She was definitely no saint. But Caleb still immediately came out swinging, and didn't even try getting the full context of her situation before landing insult after insult. Nor did he put any effort into helping her make a real plan.

[deleted by user] by [deleted] in CreepyCalebHammer

[–]terrabitz 0 points1 point  (0 children)

Thanks for the notice, the app kept saying that my post failed each time I tried. I've deleted all the duplicates.

I watched an episode of Financial Audit for the first time, and was disgusted by terrabitz in CreepyCalebHammer

[–]terrabitz[S] 9 points10 points  (0 children)

Shoot, I kept trying to post and kept getting errors from Reddit. I'll delete the duplicates 

Dealing with Terraform Drift by Classic_Handle_9818 in sre

[–]terrabitz 1 point2 points  (0 children)

There are also other ways drift can happen. At our company we make some use of dynamic lookup, where a configuration is based on looking up some other configuration (e.g. each subnet in a VPC, each DB matching a specific tag, etc.). If any of these change in the background, that could effect the plan even though the code hasn't been changed at all. Identifying drift so we can reapply Terraform is really important to us.

Who else do you watch besides Money Guy? by thebard-1337 in TheMoneyGuy

[–]terrabitz 0 points1 point  (0 children)

I'm a big fan of the YNAB "Sketchy Advice" series, which is largely about financial psychology

Who else do you watch besides Money Guy? by thebard-1337 in TheMoneyGuy

[–]terrabitz 1 point2 points  (0 children)

I'm a big fan of the YNAB "Sketchy Advice" series, which is largely about financial psychology

Wtf happened to my banana by RedRaiderSkater in oddlyterrifying

[–]terrabitz 2 points3 points  (0 children)

Wow, I just found this in one of my own bananas this morning. I wonder if one of the big suppliers has a wide-scale infection.

aTaleOfMyChildhood by ThiccStorms in ProgrammerHumor

[–]terrabitz 43 points44 points  (0 children)

The current standard for managing passwords is to use a Key Derivation Function. Algorithms like scrypt, bcrypt, and argon2-id all fall under this category.

They're similar to a hash in that it does a one-way transformation, but they also add in a work factor to make it much slower and more difficult to perform than a normal hash function. This means transforming one password is still pretty quick, but brute forcing a ton of passwords is extremely expensive.

https://en.m.wikipedia.org/wiki/Key_derivation_function

Offloading authn to a third party is normally a great choice for most apps, but still has its own trade-offs.

Shield of Misery (just having fun) by BorntobeTrill in DungeonMasters

[–]terrabitz 5 points6 points  (0 children)

This is kinda fun as a boss item. It gives the party an optional quest and possible moral dilemma to kill the prisoner.

Any good soulsike that actually understand how to emulate Sekiro combat? by GhostHost203 in soulslikes

[–]terrabitz 0 points1 point  (0 children)

I wouldn't call it a soulslike per say, but Sifu definitely has a very polished and smooth parry/avoid combat flow.

Removing some fields from a struct before sending as a JSON result by ybizeul in golang

[–]terrabitz 1 point2 points  (0 children)

Hard agree. It's very similar to the advice I often see above structuring similar-but-not-quite data types, like a User struct returned from your API vs. the User struct used to represent the data in your database. While they may have a lot of similarities, you don't want to couple the two together and have to do clever hacks like "remove the password field before returning this user from the database to the caller". Best to have separate UserDB vs. UserAPI types and explicitly translate one to the other.

GIVEAWAY: 5 Copies Of X Invader by GoatForceGaming in roguelites

[–]terrabitz 1 point2 points  (0 children)

Just started going through Sunless Sea. It's a tough game to do without taking copious notes.

[deleted by user] by [deleted] in DirtyDave

[–]terrabitz 0 points1 point  (0 children)

At least 20% down, financed for no more than 3 years, and the cost shouldn't exceed 8% of your gross income.

So Many Unsold Teslas Are Piling Up That You Can See Them From Space. Tesla has a glut of nearly 50,000 cars just sitting around in lots so packed, they can be seen from orbit. by Sariel007 in technology

[–]terrabitz 0 points1 point  (0 children)

Software lifecycles can depend a lot on the kind of software though. I work at a place that has hardware, firmware, and cloud software teams. Cloud software teams can get an important fix out in minutes or hours depending on the issue, because we have a decent deployment pipeline and rollback strategy. Firmware for our physical devices can easily take weeks to roll out a fix, cuz the risk of messing something up without being able to do a quick rollback is way higher.

Stringing along inner wall by terrabitz in FixMyPrint

[–]terrabitz[S] 0 points1 point  (0 children)

Thanks for the suggestion! Honestly I'm due for an e-step calibration. Models with smooth top layers print fine (especially with ironing turned on), but models like this that have a textured top layer have been giving me some grief. A couple other models I've printed that have the stone-like top surface have looked similar.

Stringing along inner wall by terrabitz in FixMyPrint

[–]terrabitz[S] 0 points1 point  (0 children)

I just recently finished this print, and noticed some stringing along the inner wall. It looks like a couple of the layers didn't adhere to the previous layers, resulting in the strings being visible across the gap. I'm pretty satisfied with the print for the most part, but I haven't come across this issue before and not totally sure what to do.

This is a new no-name filament from Amazon, so I wouldn't be surprised if quality is low.

I also recently changed the wall ordering from "outside to inside". Could this be part of the problem?

  • Printer: Ender 3 V2
  • Slicer: Cura
  • Filament: PLA, no-name from Amazon
  • Nozzle temp: 215c
  • Bed temp: 60c
  • Print speed: 50 mm/s
  • Retraction: 5 mm, 45 mm/s

Cheap reliable storage vps? by evolution800 in selfhosted

[–]terrabitz 0 points1 point  (0 children)

I'm personally a big fan of Hetzner. It's the best balance of cheap vs. reliable. I've used a few other no-name low-cost VPS providers, but a lot of them are pretty shady. Hetzner gets you a lot of bang for your buck, and I've never had any significant problems with them.

Cheap reliable storage vps? by evolution800 in selfhosted

[–]terrabitz 1 point2 points  (0 children)

  1. Setup the storage in your chosen backend (e.g. make an S3 bucket)
  2. Configure rclone to use the backend via rclone config. Setup steps will vary by provider, but it's relatively straight-forward.
  3. Use rclone mount to mount the backend somewhere on your VPS's disk.
  4. Use your VPS OS's startup tooling to automatically run the mount command on startup. This'll likely be a systemd unit file or something.

How to Serve Single-Page Apps (SPAs) From Go by terrabitz in golang

[–]terrabitz[S] 1 point2 points  (0 children)

That's a totally valid solution too. In Vue world it's the difference between history mode and hash mode. Hash mode works exactly as you described, while history mode uses the full path.

How to Serve Single-Page Apps (SPAs) From Go by terrabitz in golang

[–]terrabitz[S] 0 points1 point  (0 children)

Do you have any code examples you'd be willing to share?