Hacker News new | past | comments | ask | show | jobs | submit | danhab99's comments login

I wish git would stash changes when I checkout uncommitted code


You can make this happen with a git alias[1].

https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases


I thought git complains and doesn't allow you to checkout uncommitted code? Something along the lines of 'please commit or stash your changes before checking out'


It does, they wanted an automatic thing to happen. Imo, i would never want this by default. that complaint/warning has saved me a number of times, from breaking other things


You can do it as long as your changes are only to files that are otherwise identical on both ends of the checkout (meaning there's 0 possibility of conflict).


My dad one time told me that the reason he married my mom was because they were opposites. He's antisocial and she is a social butterfly, he thought it would be a good idea... 27 years later, ¯ \ ( ° _ o ) / ¯


Introversion/extroversion is very surface-level. If you look at the study, you see that "value-oriented" traits (views on politics/religion/children/education/family etc.) tend to have higher correlation when compared to personality traits:

> Across analyses, political and religious attitudes, educational attainment and some substance use traits showed the highest correlations, while psychological (that is, psychiatric/personality) and anthropometric traits generally yielded lower but positive correlations.

See an interesting chart here[1]. Anecdotally, I'm also pretty introverted and attracted to extroverted women. On the other hand, I'm also a Christian and have a hard time dating someone that doesn't at least share some set of overlapping moral and ethical values. I also don't smoke, and could probably never date a habitual smoker (no matter how attractive she was on other axes).

[1] https://www.researchgate.net/publication/373552866/figure/fi...


Values is definitely the thing that needs to overlap. My wife and I have talked about this quite a bit, and my anecdata would roughly support the study. I think one person being anal, and the other carefree, outgoing vs homebody, that’s the opposites attract part. But if you have one person that thinks you need to go to church, or that school is the most important thing for a kid and the other doesn’t, it’s trouble. My wife and I are from different cultures and are different types of people, but are values really overlap where it counts.


And hopefully you even mostly agree about where that is.


From the article: "For some traits, like extroversion, there was not much of a correlation at all."


What genes/culture did you inherit?


>(in turn belonging to the Unix family), stepbrother of macOS and first cousin of Linux

To the common people this means very little

To those who understands version control this means a lot more.


I've been struggling with what a touch based IDE for my galaxy tab4. Right now I'm thinking about showing a drawer with token suggestions written on color coded chips. Right now I'm struggling with packing an LSP into an Android app.


Is the horror of this situation the fact that biometric security is less secure than a memorized password, or the big-brother-esq coercion tactic they used?


Getting a warrant that is accessible for inspection by the public is not big-brother-esque.

I see obtaining a warrant to place two objects (a face and a biometric security device) in proximity as more compatible with civil liberties than taking mugshots or fingerprints upon a suspect’s booking.

The cost of a security should not exceed the value of the information you are protecting combined with the fallout of its disclosure. Face recognition is cheap, but my data are also worthless and every single utterance or act I’ve stored digitally would only generate boredom if disclosed. So it is fine to use faceid to protect my digital assets.

Then again, I don’t trade in child pornography.


Yes


I feel like if we as the open source community would require commit signing we would be in a safer position. Crypto signing doesn't block malware from being introduced, but it would make it harder to sneek under our noses.

Currently in open source, you really don't know where your code is coming from and who worked on it. Git's "commit author" fields don't require any proof of identity, that's what GPG is for.


I strive to follow the Apature Science naming scheme with everything I code.


While I played the Portal games way back when, I can’t recall anything about the naming scheme. What are some example names from this scheme?


GLADoS. Companion Cube.

Potato battery.


Works great on a phone


My dad is annoyingly like this. I'm so grateful that I learned vim shortly after he taught me how to code.


Oh no

anyways


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: