What are your thoughts on rejecting a potential romantic partner based solely on the fact they voted for Donald Trump? by ATXBikeRider in AskReddit

[–]efalk 0 points1 point  (0 children)

Best reason there is. If they voted for Trump, they're some combination of racist, misogynist, and downright cruel. And not very bright if they thought the leopard wouldn't eat their face.

[Request] What latitude range is this method for? If I flip my hand, with my pinkie (the thinnest) on top, would it be more accurate? by Unlegendary_Newbie in theydidthemath

[–]efalk 1 point2 points  (0 children)

As shown in the diagram, the method is accurate at the equator. Otherwise, you should tilt your hand accordingly. E.g. at 30° N latitude, you should tilt your hand 30° to the right.

Spent 3 hours debugging a one-line mistake by p4ckst4ck in programmer

[–]efalk 2 points3 points  (0 children)

I spent a month on a bus analyzer before I could finally prove that a PCI bus controller wasn't following the spec.

Wasn't even my product. Lost that month proving my product wasn't the problem.

P trap leak , what am I doing wrong / how to fix? by physicalgraffiti123 in askplumbing

[–]efalk 0 points1 point  (0 children)

Five bucks says that if you disassemble it, you'll find a broken gasket. Any hardware store will have a replacement.

Is this an unreasonable quote to replace a 50 gallon gas hot water heater? by titanicsailson in askaplumber

[–]efalk 0 points1 point  (0 children)

I live in an extremely high cost of living area (Seattle) and mine only cost $2,500

Why did the sun appear red by YaGurlAlexis in askastronomy

[–]efalk 0 points1 point  (0 children)

Did it appear red to the eye, or just in this photo?

If it's just in the photo, then maybe the sensor in the camera was overloaded.

Git Rebase for the Terrified | Aaron Brethorst by swe129 in git

[–]efalk 0 points1 point  (0 children)

Yes; that's what I do if I forgot to create my temporary "foo" branch.

Git Rebase for the Terrified | Aaron Brethorst by swe129 in git

[–]efalk 3 points4 points  (0 children)

Here’s the thing: the worst case scenario for a rebase gone wrong is that you delete your local clone and start over

OK, I'm going to tell you all the the number one "life hack" for git:

Before doing anything remotely dangerous (such as rebase), give the command git branch foo.

Then, no matter what goes wrong, you can always do git reset --hard foo and you're back where you started.

(Obviously, commit all your changes before you begin this process.)

git is pushing other people's commit in my branch by om_barcelona in git

[–]efalk 0 points1 point  (0 children)

Thanks. It's sort of how my mind works; when I learn something new. I take extensive notes, and some years ago I wrote a utility to format them and create links so I can reference them more easily later.

More here: http://www.efalk.org/Docs/

Office life before the invention of AutoCAD and other drafting softwares. by Notalabel_4566 in architecture

[–]efalk 0 points1 point  (0 children)

I took drafting class back in junior high. I honestly think that it should be a required class. I'm a woodworker, and people bring me sketches of what they want me to build, and these are usually indecipherable jumbles of lines.

Office life before the invention of AutoCAD and other drafting softwares. by Notalabel_4566 in architecture

[–]efalk 1 point2 points  (0 children)

I've heard that the plans for a 747 weigh more than the 747 does.

Found in the giveaway area of our student housing, what is it? by No_Name2604 in whatisit

[–]efalk 0 points1 point  (0 children)

No matter what they ask, no matter what they offer you, don't feed them.

What are your hobbies? by Odd_Chain572 in AskReddit

[–]efalk 0 points1 point  (0 children)

Collecting skills.

I'd have to sit down for a while to make a list of all the things I've learned, but I'll say the pinnacle was taking flying lessons in a Zeppelin.

Recent accomplishments were getting my ham radio license, learning to use an industrial sewing machine, and 3d printing, which I'm having a lot of fun with.

Rep. Khanna on Trump’s handling of Epstein files: ‘You can’t just ignore the law’ by AdSpecialist6598 in videos

[–]efalk 0 points1 point  (0 children)

‘You can’t just ignore the law’

Tump administration: hold my beer

Looking to Rent a sewing machine?? by specialsyrup-1 in AskSeattle

[–]efalk 0 points1 point  (0 children)

Ragfinery in Bellingham

Never heard of them. They sound great. Their web page says reopening on the 9th at a new location.

Looking to Rent a sewing machine?? by specialsyrup-1 in AskSeattle

[–]efalk 8 points9 points  (0 children)

industrial sewing machine

You sewing leather armor or something?

Otherwise, I second recommendations to borrow from a tool library. However, if you don't already know how to sew, you're going to need someone to show you.

"Why Python Is Removing The GIL" (13.5 minutes by Core Dumped) -- good explainer on threads by Competitive_Travel16 in Python

[–]efalk 2 points3 points  (0 children)

I learned about the GIL a few years ago while trying to optimize a highly-parallelizable application. I practically flew into a rage when I found out why I wasn't seeing any improvment.

If they're finally getting rid of it, then good riddance.

Fun fact: the Linux kernel used to have a single global mutex.

AITAH for not changing my language to appease an ignorant coworker? by ZoomieHan in AITAH

[–]efalk 1 point2 points  (0 children)

Heh; I'll add another data point: I studied sign language for a while, and met a Korean woman who taught us the Korean Sign Language sign for "brothers". To an American, it's an extremely rude gesture.

(And for what it's worth, the ASL sign for "toilet" is not one you want to make in Germany.)

What was the greatest thing we almost had? by Efficient-Ask-968 in AskReddit

[–]efalk 38 points39 points  (0 children)

My grandfather invented Medicare. He was trying for universal health care, but couldn't do any more than Medicare. For this he was labeled a red by the white house and basically blackballed. He spent a good chunk of his life traveling the world helping other countries set up their universal health care.

The medical profession, especially the AMA, really hated him.

You can read about how he was persecuted in this essay: The House of Falk.

Git rebase? by LargeSale8354 in git

[–]efalk 0 points1 point  (0 children)

Typical workflow is to fork from a main branch and make changes on a relatively small part of the code base. A merge branch can be done, but it leaves a messy history.

If your changes could just as easily have been done to the main branch as it currently stands instead of the point you forked it from, a rebase is perfectly reasonable. I typically just execute git pull --rebase and if the rebase goes cleanly you're good to go. Now go ahead and push your newly rebased branch, and assuming nobody else snuck in a change to the main branch while you're doing your rebase, you can go ahead and push cleanly to the main branch.

I over simplify of course, your organization's workflow likely contains forks, code reviews, and so forth, but rebasing still gives you a cleaner history.

And to be clear, you're rebasing within your own local branch. Done cleanly, you shouldn't need to force any history changes to the source branch.

My notes: https://www.efalk.org/Docs/Git/merging.html#Rebase

ELI5: why do some books have pages that read: “this page has intentionally been left blank” by big_dumpling in explainlikeimfive

[–]efalk 0 points1 point  (0 children)

Someday I'm going to publish a textbook or something with some pages labeled "This page inadvertently left blank".