Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dr4g0n
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
dr4g0n
1y ago
No need for `xargs` in this case, `find` has been able to take care of this for quite some time now, using `+` instead of `;`: find . -type f -exec perl -p -i -e 's#foo#bar#g' {} +
2.
▲
by
dr4g0n
5y ago
It doesn't correspond to how _you_ say dates; I would write 11/03 for the date, and say "the eleventh of March", so it's internally consistent. Not trying to argue one way or the other, just adding some extra contex
3.
▲
by
dr4g0n
8y ago
I have a similar problem due to the whole "gmail.com" vs. "googlemail.com" thing that came about in Europe in the earlier days of Gmail. When I got my gmail account, Google gave me a "googlemail.com" address, d
4.
▲
by
dr4g0n
9y ago
Only for some banks, e.g. Barclays. HSBC's version[1] does not require a card to use. [1]: https://www.hsbc.co.uk/1/2/contact-and-support/security-cent...
5.
▲
by
dr4g0n
11y ago
Do be aware though that this only works if HISTCONTROL is set to 'ignorespace' or 'ignoreboth' (for bash anyway). For zsh, you need to have HIST_IGNORE_SPACE set.
6.
▲
by
dr4g0n
11y ago
Looks good, I had previously used Dropbox for personal repositories, but now I might try using them for shared ones. It seems from a quick read of the design document [1] that the important thing here is the updating of refs using a compare
7.
▲
by
dr4g0n
11y ago
It's not exactly hard to do by hand: git add ... git commit --fixup $SHA git stash git rebase -i --autosquash $SHA~ git stash pop
8.
▲
by
dr4g0n
11y ago
I was really thrown by the ligatures in some of the command snippets (diff and lostfiles). Why do things manually have to be marked as dependencies? Is that because they were manually installed at one point, or does Arch's package manage
9.
▲
by
dr4g0n
11y ago
This has reminded me of my old MP3 player, I think it was made by Archos, that had two shuffle modes: "shuffle" & "random". The "random" mode would happily play songs from the playlist multiple times, even
10.
▲
by
dr4g0n
11y ago
Not for long, unfortunately[1]: On April 30, 2014, we announced the deprecation of the XMPP Chat API as part of the release of Platform API v2.0. The service and API this document covers will no longer be available after April
11.
▲
by
dr4g0n
11y ago
You can just pull from someone's local copy, a git checkout is just like a remote (bare) repository that happens to have a tree.
12.
▲
by
dr4g0n
11y ago
A version control system with the feature set git has is necessarily complicated, this is not a bad thing. Forcing the complexity on the user is a bad thing, but git does not do this except when it is necessary to. Using git at a basic leve
13.
▲
by
dr4g0n
12y ago
> If you spot a USB flash drive cemented into a wall or kerb, you may have stumbled across a Dead Drop, part of a global art project borrowing tricks from the world of espionage Or, you might have stumbled across 240VAC wired to a USB co
14.
▲
by
dr4g0n
12y ago
So this seems like an automatic version of flattr[1], except you get the perk of no adverts in return. What I wonder though is: what happens if I visit a site that I don't want to support? Can I say no? Otherwise this just invites clic
15.
▲
by
dr4g0n
12y ago
> The so-called “ow zone” is a zone that is hard to reach with your thumb, like corners of the screen. The image that goes along with this point demonstrates the areas that are hard to reach for right-handed users, ignoring that ~10% of
16.
▲
by
dr4g0n
12y ago
The site reports that it charges wirelessly, but the video lists the battery as optional - does this mean that on the non-battery version if I move my Mouse Box off the mat it'll shut down? Both the USB ports shown are host ports, so i
17.
▲
by
dr4g0n
12y ago
I have 127MB of Location History, trying to use this takes out my browser. It's a shame really, I bet that much data would make for some good visuals.
18.
▲
Making things open, making things better
(gds.blog.gov.uk)
4 points
by
dr4g0n
12y ago
|
0 comments
19.
▲
by
dr4g0n
12y ago
They missed a trick calling it 'funcgo' instead of 'gofunc'; just think of the tag line: gofunc yourself
20.
▲
by
dr4g0n
12y ago
You can create a new branch containing the pull request fairly easily.[1] It's just: git fetch origin pull/ID/head:BRANCHNAME git checkout BRANCHNAME Edit: I see that MaikuMori[2] posted the same information just be
21.
▲
by
dr4g0n
12y ago
I've had some good experience with iodine in the past, it's been useful at airports and on trains to bypass captive portals. It's extremely variable in performance, and can sometimes require a bit of tuning on the client side
22.
▲
by
dr4g0n
13y ago
Sent! Sorry for the delay. I'm all out of invites now.
23.
▲
by
dr4g0n
13y ago
Thank you yarinb! Invite received. I now have two invites, who wants them? Edit: Sent one to lbr, I now have one left.
24.
▲
by
dr4g0n
13y ago
I may have to steal that alias, good tip. Ctrl-a/Ctrl-e are equivalent to Home/End (unless you're inside a screen session, which was a terrible choice of binding on their part).
25.
▲
by
dr4g0n
13y ago
!! is not at all pointless, "sudo !!" is much easier that Up, Ctrl-a, "sudo ".
26.
▲
by
dr4g0n
13y ago
I will look into it, seems promising. Thanks!
27.
▲
by
dr4g0n
13y ago
As a smoker currently trying to quit, this is particularly relevant to me at the moment. The problem with nicotine patches is that they only deal with the actual "physical" addiction, not the "psychological" addiction to