Better HN
topnewbestaskshowjobs
Log inSign up

sixstringtheory

3,045 karma · joined Apr 22, 2015 (11y ago) · 1,407 submissions

Submissions

comment 3y ago · link · parent

Here's my current workflow:

1. write some code on a local branch

2. upstream has new revisions? rebase my branch on top

3. if not finished with my task yet, go to 1

4. if ready for review, open PR

5. if accepted, squash and merge

6. if changes are requested, write more code

7. upstream got more commits causing a conflict? don't rebase! it will screw up the PR history on GitHub and can cause issues for reviewers who might've checked out your branch locally and maybe done some experiments. merge upstream into your local branch. then you can push fast-forwardable commits.

8. push new commits to PR and go to 5

I used to think of rebasing as just rewriting commit history. But now I also think of it as altering the history of collaboration that is captured in a PR. So I switched from rebasing onto new upstream base branch commits and force pushing to PRs that already had reviews, to merging in new upstream base branch changes. I only do this after someone else has done anything on my PR; if I open it but nobody has reviewed yet, I'll do the rebase/forcepush to keep it current until someone does.

I prefer squashing to merge because I prefer the default branch to have one commit per unit of collaborative work. The way different people split up commits on a branch is arbitrary and varies widely; you'll never get more than 2 engineers to agree on a convention here. Keep all the messy stuff in the PR, and you can always revert one of those individual commits if you want finer-grained rollback. If you want a PR to have generated more than one commit, then it should be more than one PR.

comment 3y ago · link · parent

Internationalization is the coolest part of this to me. As a native english speaker, I've often tried (and ultimately failed) to understand what it must be like as a programmer of another native language to work in a codebase with english keywords, english names for everything, english comments...

comment 3y ago · link · parent

The Nanjing Massacre and Bataan Death March are pretty famous examples of rudeness. Couldn't it be argued that the USSR declaring war on them at the same time as the US dropped two atomic bombs on them are examples of arms curtailing rudeness?

Also TIL about the massacres of Korean civilians after the 1923 Great Kantō Earthquake: https://en.wikipedia.org/wiki/1923_Great_Kantō_earthquake#En...

comment 3y ago · link · parent

I’m about halfway through TDoE and it’s pretty reactionary and disorganized. They do provide many interesting pieces of information but so far have not woven them into a compelling narrative. In fact they often fleetingly admit that their examples could be counter to their hypothesis or that it’s simply impossible to know.

I do eventually also want to read Debt, but unsure I need to spend any time on Bullshit Jobs, as my assumption is that it’ll be myopically focused on the idea that some wizard behind the curtain has made the world economy the way it is, instead of it being an emergent phenomenon; an interconnected web of Chesterton fences that the author, in his usual condescending way, will be all too happy to burn, while providing no meaningful alternative.

I mean I’ve had some jobs that felt like BS but I don’t need to spend my precious free time being preached to about it. It comes off as pandering, just more high brow than the tract material you find for cults and religions that seem to zero in on their target population’s biggest qualms with society and offer the promise of a better way.

comment 3y ago · link · parent

I believe this was the point that all of the so-far higher-voted sibling comments have missed. Or am I the only one seeing the sarcasm emanating from parent?

comment 3y ago · link · parent

I expected to see a little bit about why it’s the most beautiful program ever written; the link to the primary source is a Meetup page, and the presentation was on “a Lisp interpreter written in Lisp---and a few of the many amazing ideas related to this metacircular interpreter”. That’s as much as I could glean.

Interesting? Sure. Due to the abstract nature of software, there are many dimensions on which a program’s beauty could be evaluated. It’s unclear to me that there can even be one “most beautiful” program above all others.

Personally, though, I’d go for something that solves some concrete human problem, with code a layman could understand that is simply well factored and formatted, and contains at least one ascii diagram in a comment block.

comment 3y ago · link · parent

I assumed it meant no cost at the point of consumption. Because it’s a government agency I assumed it’s funded by tax money.

I’m ok with my tax money being used for public-access educational programming, à la PBS.

comment 3y ago · link · parent

Absolutely. When I went freelance, I traded my one boss for multiple bosses: myself, plus every potential and landed client. And federal/state/local governments. And insurance providers. Thank goodness it was software so I didn’t need a landlord and bank loans, too.

I imagine by “self-employed” what they really meant was “early retired”.

comment 3y ago · link · parent

That’s assuming you don’t have a focused leader willing to filter for people who will self-direct towards a common goal.

comment 3y ago · link · parent

I don’t know if it’s my expectations evolving after using swyping for a while but it seems to have gotten worse over time.

There’s gotta be a word for this phenomenon.

comment 3y ago · link · parent

Probably just a swypo for “source”. o is close to p, u is close to i.

comment 3y ago · link · parent

So really he just carried unnecessary weight. He could’ve carried an extra pouch of tuna fish meant for humans and it’d have been the same.

comment 3y ago · link · parent

Post hoc ergo propter hoc. They aren’t incompetent because they worked the same job for 15 years. And they probably weren’t even laid off because they were deemed incompetent.

You just got unlucky enough to interview them instead of someone who got laid off after 15 years and were amazing at their job and could pick up a new tech they’d never heard of and immediately be off to the races.

comment 3y ago · link · parent

It’s appeal to authority, a logical fallacy, the things people who can’t accept they’re either wrong or outnumbered fall back on.

comment 3y ago · link · parent

The only book i’ve read cover to cover in one day. I would buy a programmer-based version of it in a heartbeat!

comment 3y ago · link · parent

Why wouldn’t you just go on to apply all the same criteria to whatever response they would provide to you? Looks like they made the right decision not to engage with your demands.

comment 3y ago · link · parent

Those sound the same to me. Are you drawing a distinction between a repeatable/reproducible process vs result? Like if you run the same command to fetch a dependency, you wind up with different results if the dependency maintainer releases a new update and you aren’t pinning the dependency?

comment 3y ago · link · parent

I don’t think so, but the tone of the article seems to indicate it.

comment 3y ago · link · parent

Doesn't this not work here? Just flag/downvote and move on.

comment 3y ago · link · parent

You use evocative imagery to make an emotional, slippery-slope argument, but if by “putting a gun to Coke’s head and pulling the trigger” you mean reducing the profitability of a business that thrives by sewing seeds that will eventually blossom into negative outcomes for people, and fining them for any noncompliance with regulations, well then just let me know when you want to go for target practice!

comment 3y ago · link · parent

Already addressed this argument in another reply so I’ll just link it: https://news.ycombinator.com/item?id=36865508

comment 3y ago · link · parent

Poor people can least afford to deal with the related health issues.

It’s not like there are mustache-twirling villains coming up with ways to punch down even harder here. Diets high in sugar are more likely to lead to painful and even dangerous oral health issues, pancreatic/kidney/liver issues, diabetes, and obesity with all of its knock on effects.

It only has a negative effect for people who will never reduce the sugar in their diet, and those are the people who should be paying into socialized healthcare at a higher rate because they’ll need lots of benefits later. So really they’re saving to take care of themselves, making this a net positive long term.

I know it’s harder than “just stop eating sugar” but feelings or preferences don’t change the facts of biochemistry. Until you can disprove the findings, the policy should reflect the state of the science.

And by all means find more/better ways to incentivize or even subsidize healthier options for those on the low end of the socioeconomic ladder. That is absolutely one of the things taxes like this should fund.

comment 3y ago · link · parent

It’s not really cheaper though, as you spend more time and resources traveling for it.

comment 3y ago · link · parent

I think keyboard, monitor and chair are worthy of the highest price tags you can afford. These are the things we are in contact with continuously for a large majority of our waking hours. Get the best ones money can buy.

I had a Kinesis freestyle for years and upgraded to the 360. No regrets.

comment 3y ago · link · parent

> they correct your subluxations

> misalignment of your bones causes literally all problems with your health

Sounds like scientologist anatomy

comment 3y ago · link · parent

I wonder if “true multi factor” security requires exclusivity between each factor. So, you cannot “know” anything about the “thing you have”. It should be more like a yubikey that you plug into your computer and which is secure enough that you cannot get the information out of it to “know” it. That’s a little harder to do for the “thing you are” factor because we can’t design a system to use a feature we can’t understand. And maybe we shouldn’t really “have” the thing we know, as in, it shouldn’t be recorded in something we have. Of course that makes it easier to forget. But then again, I don’t have my 1Password master password recorded anywhere. If I forget it, I’m pretty fucked.

I’ve often considered moving that master password to the frontier of email access and just never recording a password and using password reset for every login session.

Regarding API keys vs passwords, a difference is that API keys are something that are used on your behalf by automated systems, whereas passwords IME are always something you manually input at the time you need it.

comment 3y ago · link · parent

What kind of retaliation do you want? I'm saying the company can suffer or go bust, and civil and criminal proceedings can be enacted that can pierce the veil.

I'm saying the privacy measures are to protect against extralegal vigilante retaliation.

comment 3y ago · link · parent

> the general public has a genuine right to know who you are

Why? If there are legitimate issues, you can always be dragged into court, or at least your business can be boycotted and suffer bad PR etc.

Being forced to put your home address just so every whacko with internet access can threaten your children, who had no choice in your business decisions, sounds like just a terrible idea.

Try making a false claim against yourself on r/RBI with dox and report back.

comment 3y ago · link · parent

How 'bout them apples?!

comment 3y ago · link · parent

I wonder how that kind of reclamation project could be valued in terms of avoidance of waste, avoidance of expenditure of new resources, and the skill development of the person doing the work (in terms of either/both faster pace of the same value created in future reclamations, and/or future marketability of the skills towards a saleable product).
1
678
47