HNHacker News
TopNewBestAskShowJobs

apk17

89 karma · joined March 14, 2012

http://github.com/apk/
submissionscomments
apk17··on Some bad Git situations and how I got myself out of them
I'm prepared to give you a lot of examples (which other people might value differently). From the unfortunate consequences of the 'branches are files (and therefore tags are easily mutable by default and surprisingly hard to pin down)' to usual "I just committed, why does 'svn log' not show that?", to git bisect, to git clean and the stubbornness with which svn refuses to even consider implementing that.
apk17··on Some bad Git situations and how I got myself out of them
And? You will have some kind of 'blessed' repo anyway. In git you disable non-fast-forward pushes there (aka prevent commits from ever being removed) there, and implemented your 'point'.

See also 'svn obliterate'.

apk17··on Some bad Git situations and how I got myself out of them
SVN is a glorified backup - which is basically what you're saying.

The SVN UI is just horrid in other dimensions, mainly the "you can't do that at all" one.

apk17··on Running a Tor Exit Node for Fun and E-mails
I don't know the timeout for that, but after some time no tor node would work without the dirs being present, or being manually pointed to new ones.

The question is whether someone would want to subvert or rather just shut down the tor network.

apk17··on Running a Tor Exit Node for Fun and E-mails
That would be a reason not to run tor relays at all. I do run two non-exits, but I leave the exits to other folks.
apk17··on Running a Tor Exit Node for Fun and E-mails
The way china is blocking tor is completely independent on the number of nodes. They even go and detect the traffic to bridges.

The problem is more like that tor relies on a few directory authorities and the only protection they have is geographic distribution and the public outcry should a set of nation state go actually seize them.

apk17··on Running a Tor Exit Node for Fun and E-mails
Ideally you don't host with the big guys (since there are so many relays already - diversity) which makes it a bit harder to find something. Ten times so for exits.

Also, occasional upgrades.

apk17··on Running a Tor Exit Node for Fun and E-mails
They have a shitty reputation because they funnel a higher-than-normal number of users through a single IP.

And apparently cloudflare is much more aggressive on this front than anybody else in this business, including google - when I get a captcha it's always cloudflare (or hacker news). On those sites I can practically rely on getting one.

To turn it around, every time I see a cloudflare captcha they obviously have failed.

apk17··on Everyone is quitting
An amount that a similar national company would have to do.

International companies have a way of shifting earnings into jurisdictions where they don't need to pay much taxes, since there is still a race to the bottom between countries. 'Better they pay us 2% of revenues that that other country 10%.'

(This has noting to do with the way the supply chain is done.)

apk17··on Passive TCP/IP Geo-Location
..and those of actual cable routing (esp. on land), and the speed of light in fiber vs. vacuum, that alone adding 66ms for a great circle.
apk17··on Show HN: My own C compiler (just for fun)
You could just start to replace C++ things by plain C until it is self-hosting.
apk17··on Show HN: My own C compiler (just for fun)
Horribly. C++ has so many features, and interactions between them, that you really don't want to be dragged into that as a toy project. I'd wager that the C++ language spec is longer than the source of a functional C compiler (both without the standard libraries).
apk17··on VPAID ads destroy performance and are still served by major ad networks
The algorithm guesses that your wife is doing the ordering, and is targeting her.
apk17··on The FBI Director Puts Tape Over His Webcam
And OPM didn't happen, and will never happen again, anywhere.
apk17··on How We Release So Frequently
They say they put out new package; I take that to imply they don't rewrite files once deployed.

But what you're describing has interesing failure modes indeed - from just successfully patching the running process to the SIVSEGV to having the target process ending up in an infinite loop (BTST).

apk17··on Why the Sun 2 has a message “Love your country, but never trust its government”
I wrote one myself. Fun things: 'int getuid() { return 0; }' in the userland code was sufficient for authentication. And the mountd returned the root handle of the file system. When you presented that handle to nfsd it would happily serve you even when you are no longer in the exports table.
apk17··on Screenshots from developers and Unix people taken in 2002
Back then the (usual) hardware didn't support anything; the Xserver just wrote into some 100KByte of video memory, one bit per pixel. The X server had to deal with overlapping, and could.
apk17··on Screenshots from developers and Unix people taken in 2002
rtlwm was written and working around '87. It even has its own entry in the X11 icon font.
apk17··on Look Before You Leap – The Coming Leap Second and AWS
Q: What value of TAI will be noon of July 4th, 2030 in New York?

A: Honestly, nobody knows.

You can estimate the number of leap seconds, but not know (much) in advance. Having (future) date representation chance occasionally does not lead to sanity either.

apk17··on The sad state of sysadmin in the age of containers
> No, it's just the opposite. All the dependencies and project structure are right there in declarative XML. It's what make should have been.

When make was written most machines would have just exploded at the sight of a typical build.xml, and downloading tens or hundreds of packages from anywhere was simply out of the question.

Also, 'dependency' means something completeley different in make as opposed to maven - I don't think modern build systems do even care much for make-style deps.

apk17··on U.S. Legalization of Marijuana Has Hit Mexican Cartels’ Cross-Border Trade
Yes, but how does making prostitution illegal help against trafficking? It just makes the scene go (further) underground, and the actual victims can't even go to the police now because they get arrested themselves (albeit probably just instead of being deported immediately).

Also, I'd like to see a reference on the 'most' and 'frequently'.

apk17··on So Your Company Has Been Found Using Alex’s Photographs Without Permission
Well, youtube slaps a lot of ads on me. And esp. the american public is trained to get music for 'free', on the radio.
apk17··on Li-Fi Gets Ready to Compete with Wi-Fi
Line-of-sight isn't strictly needed. IR remote controls can get along without; a white ceiling might reflect enough light for this as well.
apk17··on Why the Z-80's data pins are scrambled
7 bit, indeed. But there were variants of the 64k DRAMs that only required 7 bit refresh, specifically for this use case.
apk17··on Mosh: A replacement for SSH
Mobile IP etc. solve the problem of changing IP addresses, but they don't address the flakiness of mobile connections (esp. when actually mobile). TCP takes some time to come back; having a faster mechanisms is much appreciated when your link loses a few packets twice every minute.
apk17··on Tor in Google Summer of Code 2014
As far as I know arrests or searches only happened for people who ran exit node on their home connection. Running exits on hosting services puts you into a different category for the police, namely good guy to ask for traces instead of bad guy to bust.

Anyway, I'm only running two non-exits. :-)

apk17··on Tor in Google Summer of Code 2014
That wouldn't be good for your anonymity. You get a lot of fingerprinting issues with other browsers which the tor browser tries to avoid.
apk17··on About the Reuters article
Fix the known bugs: Gerrymandering, campaign financing.
apk17··on About the Reuters article
No, he didn't. He said it would cause embarrasing damage to the US Government, not to the US per se. Besides this is no news, Snowden himself said so earlier.
apk17··on Creating a Radial Menu in CSS
May I remind you that, once upon a time, all menus were click-and-hold?

(Okok, I'm not actually sure about either mac or xerox.)

← PreviousPage 3 of 4Next →