HN user

throwaway9101

37 karma
Posts0
Comments16
View on HN
No posts found.

I know, when the shit really hits the fan, visual studio is the tool I would use to try and clean up those messy directories.

</sarcasm>. The complaint is about Visual Studio's decision in particular, not the weakness of (some) (old) Win32 APIs.

gets in the way of having a deeply-nested project hierarchy"

Do people actually want deeply-nested project hierarchies?

For example, from a real-world, full operating system, the deepest path I can find[0] is in a build directory and 184 characters:

"./ports/lang/python26/work/Python-2.6.1/portbld.static/build/temp.XXXXXX XXXXX-vHEAD-amd64-2.6/XXXXXX-home/XXXXX.git/src/ports/lang/python26/work/Python-2.6.1/Modules/_multiprocessing"

(Names changed to protect the "innocent.")

[0]:

    $ mkfifo ../names
    $ find . > ../names &
    $ python
    >>> with open("../names") as f:
    ...   l = 0
    ...   nm = None
    ...   for n in f.readlines():
    ...     if len(n) > l: l, nm = len(n), n
    ...   print l, nm

Likewise. I've since been pretty disappointed in Firefox's networking backend. Something in DNS resolution or page-fetching occasionally goes out to lunch and then ... no more loading webpages. I'm on 24.0. I should probably make some effort to actually track this down, but I don't even know where to begin.

Edit: doh! Maybe just network.dns.disableIPv6=true solved it...

bm9jYXJyaWVyQGpnYy5vcmc= Is the base64 if you want something copy-pastable.

Alternatively, nocarrier [AT] the domain of the post.

Personal plug, because the article mentions snakebite; hadoofus[1] is a C library that natively speaks to HDFS (v1), with a Python wrapper. No Java involved.

Pros (vs Snakebite):

* C, not Python. More portable to non-Python languages; probably faster

* Speaks v1 of the protocol (AFAIK, nothing else does this except via JNI to hadoop's Java client)

* Kerberos authentication supported (but not datanode tokens or the digest auth they employ)

Cons:

* Sort of abandonware. I don't personally use HDFS anymore, so it has stagnated.

* As an extension of the above, doesn't support the v2 (Protobuf-based) protocol

* C, not Python. All the usual potential issues with C that Python shields you from.

[1] https://github.com/cemeyer/hadoofus