Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yes_or_gnome
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
yes_or_gnome
8y ago
Your comment is criminally low. Every other comment is 'Git vs. Mercurial' and speculation as to why git has "won". Their not useless, but they are uninteresting technically. So, as a git aficionado, I thank you for a de
2.
▲
by
yes_or_gnome
8y ago
Like most days, I had no intention of comment on HN today, but whenever I'm reminded of the Innocence Project[1] I'm reminded by one of the most mind-blowing moments in my life. This was in college, I had a PoliSci professor (Poli
3.
▲
by
yes_or_gnome
8y ago
I'm not a JS developer, so this as much of a question as it is a statement. `exec` is a system call and doesn't call bash or any other shell. At least, it shouldn't. If it does, then it would be wrong to assume that bash is e
4.
▲
by
yes_or_gnome
8y ago
Us Cubs fans had a truly awful decompression in 2016. Don't get me wrong, winning the world series was amazing. But, I wish they did it in less dramatic fashion. And, to stifle the high, there was an absolute (and ongoing) tragedy less
5.
▲
by
yes_or_gnome
8y ago
Also. There's the minor leagues. Officially, those are (high to low) AAA, AA, high-A, and low-A. Then there's extended spring training, summer leagues, and associated leagues in the Dominican Republic and Venezuela. Independent le
6.
▲
by
yes_or_gnome
9y ago
This is likely to be said, "`--color=auto` is the default setting, so it's not needed." However, it's good to include it here because some users may have changed their default configuration to disable colors. This way `g
7.
▲
by
yes_or_gnome
9y ago
> Sometimes this is not a problem. When x is small, sin(x) can be computed by simply returning x. This rule is valid until x^3/6 > precision ~= 1e-38, or x = 4e-16. So exact precision is obtainable by simply returning x if x <
8.
▲
by
yes_or_gnome
9y ago
Most be a slow day at HN. I've subscribed to this subreddit and the posts there are mostly people discovering lkml.org for the first time and seeing the "Hottest" emails of which some are over 5 years old. (`Re: [Regression w
9.
▲
by
yes_or_gnome
9y ago
It seems pretty simple when you look at the filing. Just quietly change the rules whenever you see fit. > Explanation of Responses: > 1. Transactions reported on this Form 4 were made pursuant to trading instructions adopted by the re
10.
▲
by
yes_or_gnome
9y ago
You're a looney.
11.
▲
by
yes_or_gnome
9y ago
I take your original comment as an indictment that git is somehow broken by design. Which sure, you're entitled to an opinion, but to bring up SVN in the same breath is absurd. That's why I replied. I can't really address p4
12.
▲
by
yes_or_gnome
9y ago
The tool that doesn't work with case insensitive filenames is OSX. Edit: To add, how is git supposed to handle two files with the same name -- as is the case -- with a case insensitive file system? You can't have two files with th
13.
▲
by
yes_or_gnome
9y ago
The SVN and P4 articles exists (just google for "svn mistakes" and "perforce p4 mistakes"), but either 1. nobody is sharing them to HN or 2. they do and nobody cares to vote them up. Unrelated topic (falling cats), same
14.
▲
by
yes_or_gnome
9y ago
I don't see how that's easier. There's `git checkout -b my-new-branch` which is even easier than the originally proposed solution. Followed by `git checkout master && git reset --hard @{u}` or, if you don't want
15.
▲
by
yes_or_gnome
9y ago
Just as an FYI, those will likely live in Github forever. Run `git ls-remote` where ever you have had this problem. You'll see that there are refs for every PR in the form `refs/pull/NNNN/head` and `refs/pull/N
16.
▲
by
yes_or_gnome
9y ago
Not really an issue with git, but with OSX. In doing some research of git, I wanted to look at the first git repos. Those are torvalds/git.git and torvalds/linux.git. If you clone linux.git on OSX and run `git status`, you'll
17.
▲
by
yes_or_gnome
9y ago
Based on my own research, it appears that the first git tag was created before the first git commit. The first tag (?) points to a tree. $ git cat-file -p v2.6.11-tree object c39ae07f393806ccf406ef966e9a15afc43cc36a type tree tag
18.
▲
by
yes_or_gnome
9y ago
Caller ID was around for quite a while before 2002. It looks like the first companies rolled it out in the late 80's. But, it's funny that you chose 2002 because that's the year when phreakers learned how to spoof the system.
19.
▲
by
yes_or_gnome
9y ago
Thanks for the correction, he truly was a brilliant mind. One of my regrets was not being active and outgoing enough to go meet him myself. I was lived in the Cincinnati area from 2007-2012. I first got started with Ruby in 2009, and quickl
20.
▲
by
yes_or_gnome
9y ago
Good point. For those that are curious: Clone (--no-checkout): $ git clone --no-checkout https://github.com/Katee/git-bomb.git Cloning into 'git-bomb'... remote: Counting objects: 18, done. re
21.
▲
by
yes_or_gnome
9y ago
You're going to have a hard time supporting multiple versions of Python that way. If I started a new package today I would target 3.4, 3.5, 3.6, 3.7-dev, and likely, 2.7. A lot of well maintained packages have different dependencies b
22.
▲
by
yes_or_gnome
9y ago
You can get close. Set __slots__ and then define each as a property with no setter and no deleter. However, an object can still be modified if it stores a mutable object (list, dict) and, while I'm not in front of a computer atm,I beli
23.
▲
by
yes_or_gnome
9y ago
Your Point3D class is _not_ functionally equivalent to a NamedTuple. The class is so minimal that I wouldn't bother calling it a class as much as I would call it a glorified dictionary. I do like the concept of Structs. I first used th
24.
▲
by
yes_or_gnome
9y ago
(I don't have the full history, but from my experience...) When I first started using Selenium, it used browser-specific drivers that communicated directly with bespoke extensions/plugins/add-ons/what-have-yous. Then cam
25.
▲
by
yes_or_gnome
9y ago
I work with a couple people who insistently write shell scripts in Python. I know it's anecdotal, but to me, it's like the metaphor 'When all you have is a hammer, everything looks like a nail.' The scripts use functions
26.
▲
by
yes_or_gnome
9y ago
Safari has navigator.webdriver, and others will soon follow. The idea was first introduced as a Fx bug, but hasn't gone any where. https://bugzilla.mozilla.org/show_bug.cgi?id=1169290 There's a webdriver protocol
27.
▲
by
yes_or_gnome
9y ago
Argparse's source is possibly the most difficult lib to grow from the stdlib. https://github.com/python/cpython/blob/master/Lib/argparse.p... For me, it is not debugable. I wanted to propose an
28.
▲
by
yes_or_gnome
9y ago
This is one reason why I find GitHub (especially, Enterprise) so frustrating. I want simple server-side githooks to verify that client-side hooks were used (or, at least a good forgery). I don't want to setup an additional CI environme
29.
▲
by
yes_or_gnome
9y ago
No. HEAD is the same as GET, but the server should not return a response body. The response code and headers should all be the same. This is to guarantee that a path is serviceable, response body size, and for verifying the client's ca
30.
▲
by
yes_or_gnome
9y ago
DASH (Debian Alchemist SHell). I believe it's the default shell for Debian and Ubuntu (I'm a Fedora/CentOS user myself). I remember hitting some edge cases where some bespoke shell scripts don't work correctly on Ubuntu
More ›