Better HN
topnewbestaskshowjobs
Log inSign up

randuser

9 karma · joined Apr 12, 2013 (13y ago) · 20 submissions

Submissions

comment 11y ago · link · parent

http://www.paulgraham.com/gh.html

comment 12y ago · link · parent

I have problems using myfreecams.com for live adult video chat because of the high rate of packets being dropped.

comment 12y ago · link · parent

> Another thing troubling me is whether to reply yes or no on questions like "didn't you agree?"

Native English speakers often get confused by this one too. You can respond either yes or no in those situations as long as you specify the one you wanted afterwards.

    e.g. "Don't you agree?"

    "Yes, I agree" and "No, I agree" would both be acceptable.

comment 12y ago · link · parent

They should have killed the Snowden interview anyway because of all the stuff going on with Russia and Ukraine right now. Snowden's voluntary exile to Russia looks even worse to the general public and will overshadow anything he actually says during the interview.

comment 12y ago · link · parent

Didn't Ford cancel the Crown Victoria line?

comment 13y ago · link · parent

The southeastern part of the United States has a larger African-American population.

http://www.censusscope.org/us/map_nhblack.html

comment 13y ago · link · parent

rm -rf ~

comment 13y ago · link · parent

Microsoft thinks it's worth $20 for an Ad-free Outlook.com.

http://windows.microsoft.com/en-us/outlook/ad-free-outlook

comment 13y ago · link · parent

Obfuscated code is surely harder to understand and work with than original code with descriptive variable names, comments, formatting, etc. Wouldn't this make it more difficult to find vulnerabilities?

comment 13y ago · link · parent

My favorite experience with it was trying to deal with a zip file of "C:\Documents and Settings\" from an old computer that happened to contain multiple files whose paths were 255 characters long or so. You couldn't unzip it in a subdirectory of "C:\" because one of the resulting paths would be too long and cause the built-in zip program to crash/fail entirely. Using 7zip was the eventual solution.

On a related topic, do you know how difficult it is to search for files whose path are above a certain length on a fresh/default Windows setup? I eventually resorted to installing Python on it just to write a script to do it.

comment 13y ago · link · parent

My favorite part is that the form assumes you need only a single line for the "Justification" field.

comment 13y ago · link · parent

> What threat to national security could or would the CIA curtail by bugging Ecuador's embassy in London?

Possible communications to/from Julian Assange?

comment 13y ago · link · parent

Perhaps the Russians planted the device and intentionally made it easy to find in order to incriminate the US.

comment 13y ago · link · parent

So restricting yourself to a common subset of Python 2/3 and adding compatibility helpers in your code is the preferred approach now a days?

I'm still not convinced about the whole Python 2 to 3 conversion being worth it (asides from the fact that not porting means your project is seen as not being actively maintained). It has led to added complexity in code so that it works on both versions, increased difficulty in packaging/distribution, having to test/debug on both versions, obsolescencing vast amounts of code that will never be ported, confusion among new users, untold man-hours being spent, ...

I don't mean to be sound so down on Python 3, but it has caused me nothing but additional work and frustration. The supposed benefits of Python 3 are still years away.

comment 13y ago · link · parent

> I can't think of any major project which decided not to port to python 3

Most major projects have not actually switched to Python 3, that just support it using 2to3.

comment 13y ago · link · parent

It's a normal variable, not one set by `setopt`. The following should make commands that take longer than 1 second be reported:

    export REPORTTIME=1

comment 13y ago · link · parent

If you learned about JSON without really knowing Javascript first, there might be confusement about what values are acceptable in object literals but not JSON.

comment 13y ago · link · parent

My uncle switched to a party line in the early 1980s because it was cheaper and since everyone had private lines by that point, he didn't have to share it with anyone.

comment 13y ago · link · parent

setuptools/distribute didn't implement `python setup.py uninstall`.

Unix fragmentation of where the bin and lib directories should reside, i.e. /bin, /usr/bin, /usr/local/bin, ~/bin, ...

Windows doesn't have symlinks and the different packaging tools have tried to implement the functionality in various different ways.

Python doesn't add the path of the "main" executed file to the module lookup path. (edit: actually, I think this is wrong. I meant to say "Python module import lookup is complicated.")

comment 13y ago · link · parent

Most widely-used libraries have not actually switched to Python 3, they just support it using 2to3.

Someone who only knows Python 3 would have a hard time hacking on the source code of most libraries.