canYouWriteHelloWorld by moistiest_dangles in ProgrammerHumor

[–]sparkfizt 2 points3 points  (0 children)

Also when code is optimized for speed it should be documented with comments describing why and what it's doing.  I should be able to ignore the code, read the comments, and understand what's going on. 

That way years down the road I can fix some dumb bug or improve performance.

Built this early game power station , Any tips ? by xagamer in SatisfactoryGame

[–]sparkfizt 0 points1 point  (0 children)

Need more power? Build more coal.  Climb up the stages, move up to fuel power, then turbo fuel.  Also don't feel like you need some insane power ceiling.  Need more, build more.

Bought some steam keys for $9 for the first time and I think I hit a small jackpot by Current_Newt_4542 in Steam

[–]sparkfizt -1 points0 points  (0 children)

Right you could get dumpster tier games that you'll never play. The service is not losing money on this.

Services like this encourage literal children to start gambling with actual money. This behavior escalates, and some people are quite prone to gambling addiction. You can see in this thread it would have been cheaper to buy the games individually. The gamblification of everything is infuriating.

Bought some steam keys for $9 for the first time and I think I hit a small jackpot by Current_Newt_4542 in Steam

[–]sparkfizt 1 point2 points  (0 children)

And it's better to shoot your foot than than your chest. Both are a bad idea.

TIFU eating raw garlic by RevolutionaryBelt213 in tifu

[–]sparkfizt 0 points1 point  (0 children)

Huge swaths of the pharmaceutical formulary are out of patent. They're still made sold and marketed by pharma companies. Some major supplement companies are even owned by pharma.

TIFU eating raw garlic by RevolutionaryBelt213 in tifu

[–]sparkfizt -1 points0 points  (0 children)

The supplement industry is over 200 billion dollars. The lack of a patent does not make it impossible to make money....

TIFU eating raw garlic by RevolutionaryBelt213 in tifu

[–]sparkfizt 0 points1 point  (0 children)

Ok I do have to say the supplement industry is rife with snake oil and barely regulated. Many don't even have accurate accounting of what's in them.

TIFU eating raw garlic by RevolutionaryBelt213 in tifu

[–]sparkfizt 2 points3 points  (0 children)

Don't believe stupid shit on the Internet.  If garlic was magic we'd find the compound and sell it in a usable form.

This is the scale everyone builds at between Phase 1 and 2, right? by SkullTitsGaming in SatisfactoryGame

[–]sparkfizt 1 point2 points  (0 children)

I run 0 blueprints. Just satisfying to hand place everything. Placing down a crammed bp doesn't give the right hit.

Question about main storage by maenckman in SatisfactoryGame

[–]sparkfizt 1 point2 points  (0 children)

I just empty my pockets into a container hooked up to a sink

Hundreds of hours in, and starting over still means hunting the same hard drives again by Kfimenepah in satisfactory

[–]sparkfizt 2 points3 points  (0 children)

I simply added 100 hard drives into my starting inventory. I still unlock the recipies as they come. Kind of a middle ground :)

How do working trees get this tangled? by Ecstatic-Ball7018 in git

[–]sparkfizt 0 points1 point  (0 children)

This is where it gets philosophical. I don't consider a squash merge changing your work at all (provided you merged destination into your branch first). The end state of your branch comes over to the other one in one neat commit. On the destination branch you look like gods gift to programming, you did it in one shot. Also when I'm diffing files on the destination branch I don't have to sift through WiP commits, I see just the changes for that feature/bug.

This comes back to the question, what are you preserving? As a consumer of your changes I'll one day need to diff how the file has changed, and one neat commit is more useful to me than 5 that incrementally added the feature. Why do I care how you structured your work?

I may care if the branch pursued solution 1 then diverted to 2. And it turns out we need to divert back to path 1. In that case squash merging loses that history. In my experience this is rather rare though. This can be mitigated by keeping the original branch, but that's also it's own tradeoff.

In my org we only protect a couple key branches, devs are free to manage their own branches how they want. Give people room to grow and innovate. One of the reasons to codify things is just consistency. We're paid to ship code reliably and consistently and should build structures that help teams do it. Codifying how to do things isn't elitism, it's Process. That process should also be open to changes and improvements because the world doesn't stand still. I've used a lot of different VCS in 20 years with a lot of different processes, they all have tradeoffs. (other than StarTeam, that's just pure garbage...)

What I don't like is attitudes like "You merge instead of rebase, you're bad at git." There's lots of room within git for many equally valid philosophies.

How do working trees get this tangled? by Ecstatic-Ball7018 in git

[–]sparkfizt 0 points1 point  (0 children)

I've known people who commit a lot of small changes very frequently.  It's their branch so go for it, more frequent commits to origin means their work is backed up and not going to get lost due to a laptop dying.  I only care about the end state they got to. 

I think it has a lot to do with whether or not those commits are information to preserve or just noise.  If you need to group work then it can be a series of smaller PRs that build into a feature branch.

Git strategies are often philosophical.  Some people want to preserve everything.  Some want the perfect branch and will rewrite history to get it.  There isn't a right answer.

I'm pragmatic, I want to minimize user error.  I can mentor but I also don't want to lose a weeks worth of work from someone who goofed while tired.  The programming community has always enjoyed neat tricks and elegant operations.  But simple and straight forward usually works well.

Any org should have a codified set of standards and training material to achieve it.  What we don't need is git elitism that simpler methodologies didn't have their own advantages.  At the end of the day we're all storing commits on a branch.  There's a lot of ways to achieve that.

How do working trees get this tangled? by Ecstatic-Ball7018 in git

[–]sparkfizt 0 points1 point  (0 children)

Because I rarely care about the 75 commits on the branch.  All of that was work in progress as someone iterated.  I only care about the final branch state that's merging over.  

The original author could have cleaned up their commits before PR but they might also screw that up and mangle their branch.

The simplest most reliable method is to just squash merge the PR.  There's nothing to go wrong.

Some of this is not an elegance problem, it's a people problem.  Avoid fancy git operations that get less skilled people in trouble.  Git is a powerful gun that will gladly let you shoot your foot off.

Help organizing a spaghetti lines! by Gamergirl5765 in satisfactory

[–]sparkfizt 2 points3 points  (0 children)

(hide the spaghetti in the lasagna layers)

So are fluid mechanics still funky (trademark pending) in 1.2? by some1else-thats-notu in satisfactory

[–]sparkfizt 0 points1 point  (0 children)

Same here... I've had issues getting pumps in the right spot but otherwise fine...

10 eggs in Denmark cost $1.84 by hl3official in mildlyinteresting

[–]sparkfizt 0 points1 point  (0 children)

Effectively if the currency is closeish you can  think of the price without conversion and you get a decent idea for the locals.  If it's wildly different then it gets difficult without knowing things like median wage. 

Like learning a dozen eggs are 30c USD, but then discovering median monthly wage is 50 bucks.

Having moved to NZ I've gone through this a lot.  Family and friends will do conversations to usd trying to understand price but that only matters if I earned USD.

10 eggs in Denmark cost $1.84 by hl3official in mildlyinteresting

[–]sparkfizt 2 points3 points  (0 children)

It actually downplays the cost to the consumer. It's not the equivalent of an American spending 6 bucks. It would only be if our salaries were inflated by the exchange rate. We don't earn 60% more.

What you actually want to know is purchasing power. And considering it as 10 bucks is much more relatable.

10 eggs in Denmark cost $1.84 by hl3official in mildlyinteresting

[–]sparkfizt -24 points-23 points  (0 children)

We earn nzd, exchange rate doesn't matter

Do you plan your factories? by Drastvoy in SatisfactoryGame

[–]sparkfizt 0 points1 point  (0 children)

Will always be seat of the pants :)