Better HN
topnewbestaskshowjobs
Log inSign up

wfunction

3,901 karma · joined Oct 15, 2012 (14y ago) · 1,547 submissions

Submissions

comment 9y ago · link · parent

Python 2 is still being "made" in the sense you consider T-shirts are still being made, though. it's still provided for download, and people are downloading it and using it, and even using it for new things. Heck, it's even getting bugfixes which is a plus. It's just not getting features added, and it happens to be software so reproducing it happens to be trivial compared to "hardware" like clothing.

So, do your comparisons correctly. No matter how much you insist, Python 2 just isn't dead (or obsolete, etc.). Lack of new features doesn't imply obsolete.

comment 9y ago · link · parent

Yeah, so for them it wasn't obsolete. For other communities it was. I don't see the problem. Obviously obsoleteness (word?) isn't a property of the product; it depends on the context (how much it's used, what else is available, how much the alternatives are used, etc... however you want to weight them).

comment 9y ago · link · parent

In your eyes is anything that isn't getting more and more features added every few months necessarily obsolete? Can't something just become mature and fulfill its goals at some point? Do you consider T-shirts to be obsolete too? If they kept adding more and more attachments ("features") to your clothes every few months to prevent them from becoming "obsolete" you'd be walking around in really heavy clothing...

comment 9y ago · link · parent

> Benefits?

I meant I don't see any benefits for me, not benefits for other people. I assumed that was clear; sorry if it wasn't.

> Unicode.

Yeah, but some people have still been living without the changes, and it's hardly enough of a reason on its own (for me anyway) when there's other things I hate about the language.

> Async.

It's a nice feature, yeah. I can live without it, as people have for many years. Maybe if I was used to having it around I wouldn't want to go back, but I'm not.

> Extended library.

Cool! I'm not sure what exactly falls under this that I'm supposed to be missing, but pip install has sure been taking care of everything in the blink of an eye in version 2.

> Required keywords.

Cool! I need it about as much as I need a donut.

> syntax inprovements (lots of m, many more than just the removal of the print statement).

nonlocal is literally the only positive one I can think of right now that I'd actually care about. But then again, it comes up maybe 50x less often than the parentheses I have to write for print, or the tuple unpacking that I have to do. So yeah, it's hardly a reason to migrate.

> Type hinting.

Nice to have. I'm living just fine without it. Maybe I'd have migrated if it actually optimized things or did something more useful.

comment 9y ago · link · parent

What makes something obsolete in your eyes then? Just because some people want A to replace B, that makes B obsolete?

For reference, Oxford dictionaries define (..."define"? are multiple dictionaries involved here?) "obsolete" as:

1. no longer produced or used; out of date.

Clearly Python 2.7 is in widespread use, and version 2.7.12 came out just a few months ago, so it's neither "no longer produced" nor "no longer used" nor "out of date"...

comment 9y ago · link · parent

> Python programmers and companies with python code should spend the time and effort to move to python 3 instead of spending that time and effort to backport stuff to python 2 because python 2 is deprecated and the future is python 3.

I hate Python 3's removal of the (lambda (key, value): blah) tuple unpacking syntax, and the forcing of parentheses for print statements. They might seem minor but they aren't for me. So I'm not at all eager to move to version 3 and don't really see any benefit. Not sure if those who aren't migrating feel the same way, but I wouldn't be surprised if some of them do.

(Edit to address comment below: There are more issues I have with Python 3. It allows more bugs to slip through, for instance. I actually particularly like a comment I just wrote, so I'll link to it here: https://news.ycombinator.com/item?id=13145299 Do note that this was added after the reply below.)

comment 9y ago · link · parent

> Please, do not put obsolete software on life support.

Downvoting because Python 2 is anything but obsolete. People still love using it.

comment 9y ago · link · parent

> So... Having a valid US passport isn't enough proof of citizenship? What do you suggest instead?

No. It doesn't seem like you made any effort to understand what I'm saying. What I was saying did not reduce to something this trivial.

comment 9y ago · link · parent

Your correct link also broke. I didn't see why, but now I realized the period at the end is what's messing it up. You have to put it manually.

comment 9y ago · link · parent

Hmm... I wouldn't say they have no authority to search you there -- only that it is abusive for them to do it without good reason, or to refuse to verify your identity first if they can do so. (Extreme example, but if they had good reason to think you might have explosives on you, I would sure as hell want them to search you even before you've had a chance to talk to the CBP officers.)

I haven't though this through, so I don't know what the implications are, but I think it makes sense to say there are multiple "borders" that we need to think about here -- an "outside" border, which other countries recognize as the border of your territory & jurisdiction, and an "inside" border, which is the one you cross by showing your passport. In between these two borders -- assuming (crucially) that you're crossing these borders out of your own volition -- I would say that the country has every authority to do more or less anything it feels like: you're in its territory, and they have no reason to believe you belong there (effectively, you're a trespasser). At that point, the best you can hope for is that you're entering a sane country that does something humane. If you're not, then either you're a citizen and should have been advocating to change the system before leaving, or you're not a citizen, in which case it's other people's country and they get to run their country however they like (sorry).

Again, I haven't thought through all the implications, so there might be some glaring problems... but this is what my brain right now thinks would be logical. None of these would apply if you're being forced to cross borders (war, persecution, refugee, etc.); I don't really know what to do in that case. But those are rare enough that you can't expect the country to treat every single traveler as a potentially persecuted refugee.

comment 9y ago · link · parent

>Are you saying US citizens have zero constitutional rights the second they step out of the US?

This gets kind of close to word-play territory (no pun intended).

IMHO you still have your rights, but when you're outside the country, you can't expect the government to automagically recognize you as a citizen among the foreigners who don't have the same rights as you, and hence may not be able to exercise them. So that means you first have to convince them that you have the rights you claim before you can expect your rights to be recognized.

This would work just fine in a world where authorities were keen to recognize your identity before inspecting your belongings, so I'm saying the fact that they refuse to do that is the real abuse/violation here. So that's what you really have to argue against. Otherwise, if you assume that is OK, the rest of the logic doesn't really seem faulty to me.

comment 9y ago · link · parent

If I understand correctly, these searches and seizures are occurring before the person is granted entry, which means they have not yet inside the country, nor even shown that they are allowed to be in the country in the first place. To me, it (unfortunately) makes sense that the laws of a country only apply once you've entered it, so I actually can't fault their logic there -- if I were a judge, I would (reluctantly) rule that this logic is fine.

What is DO have a problem with, though, is that they seem to have deliberately structured the procedures this way in the first place precisely for this goal. People should be granted/denied entry first, then searched afterward if entry is granted -- because it would seem that their permission to be present inside the country should be independent of what they are allowed to bring into the country. So if the ACLU is fighting against this, I sure hope they're making this argument rather than the first one.

Does this make sense, or do people disagree?

comment 9y ago · link · parent

Huh, not sure I understand all of it but good information nonetheless; thanks!

comment 9y ago · link · parent

Ahh, so I assume not something a typical employee could do. Thanks!

comment 9y ago · link · parent

Thanks! But what does "infused them with money" money mean? They wrote them a check for a few billion dollars? Would you mind explaining like I'm completely clueless (which I kind of am)? I literally don't know (or if I did, remember) anything about this so the missing details are not helping. Thanks!

comment 9y ago · link · parent

Thanks! But I still don't understand how they're still alive?

How can you lose billions of dollars and still be in business? Are they borrowing the money from someone? Where is the money they don't have coming from?

comment 9y ago · link · parent

How often do they give it the OK?

comment 9y ago · link · parent

> And when I left the company that bought me out to start another project, I made sure that I had a release to say that I'm indemnified against any future legal actions and I started the project the day after I got that release.

How do you force a company to do something like that? What's in it for them to agree, especially when you're leaving?

comment 9y ago · link · parent

For those of us out of the loop, if AMD has been "losing money for most of its existence" and "almost went bankrupt on a number of occasions", then how is it still alive? Did it make a ridiculous amount of money at some points?

comment 9y ago · link · parent

Yeah, sounds like you're also pointing to the same thing I was (water).

comment 9y ago · link · parent

This is really cool (thanks for sharing!) but have most/all mountains been volcanoes in recent geologic history? (I don't really know.)

comment 9y ago · link · parent

I always wondered why people live in seismically active areas so much. Then a hypothesis hit me: people need fresh water -> fresh water has usually comes from mountains -> mountains are created by seismic activity. Not sure if it's true though; does anyone know?

comment 9y ago · link · parent

I agree with your sentiment, but cold isn't a natural disaster; it's predictable and you can prepare for it systematically and people have been living through it just fine. And it doesn't destroy your entire life like an earthquake does.

comment 9y ago · link · parent

Thanks!

comment 9y ago · link · parent

Is there any app that can send my location to a custom server of my own rather than Google's?

comment 9y ago · link · parent

> but he showed me his copy of Maps complete with contact's locations

Whoa there! Were the contacts also Googlers??

comment 9y ago · link · parent

> while giving Google the right to track your location to sell better targeted ads. Really, the latter is what this is all about.

Note that for those who have Location History turned on, this isn't adding anything.

comment 9y ago · link · parent

The app isn't working for me. I keep pressing Continue on the welcome screens and after the 4th or 5th screen Continue stops doing anything. Same thing when I restart the app, etc... anyone have this problem?

comment 9y ago · link · parent

No, the 2 GB array should still take a quota of 2 GB. It just wouldn't take 2 GB's worth of time to initialize. The overcommit "feature" in Linux is a bug that crashes C programs in places that violate the language's guarantees (such as when a write occurs to a location in memory that was allocated correctly).
1
212223
52