Better HN
topnewbestaskshowjobs
Log inSign up

code_duck

8,901 karma · joined Sep 5, 2009 (17y ago) · 4,581 submissions

Cipher Flamingo?

Instruction Set Egret

Opcode Pelican

Function Sparrow

Heron of Homoiconicity

Script Pigeon

Topcolor gallery:

  #729883
  #cc1010
  #70907d
  #668b33
  #399044
  #256f56
  #42bec6
  #Be8489
  #92c4a0
  #117f7f
Submissions

comment 15y ago · link · parent

True, it depends on the state. Either way, people with much lower incomes (or paper trails) than people like me have better care, and people with higher incomes have much better care. As far as receiving health care in the US, being self employed at about 25-60k a year seems to be a particularly bad position.

comment 15y ago · link · parent

I've been self employed for my entire adult life, and have not seen a doctor since I was under 18, which was a long time ago. I can't afford insurance, which is very expensive when you're not part of some large pool, and by the same token, can't afford retail, a la carte health care, which is extremely expensive if you don't have insurance (to the tune of 5-30 times as much as insurers pay for a service).

I'd take waiting months or years over a choice between no health care or extensive debt/bankruptcy.

If I was in the country illegally, or had no assets or desire for future credit, I could go to an emergency room and receive plenty of services without a need to pay a cent. As a law abiding, legal citizen with moderate assets, my options are very limited in the US. In all directions regarding healthcare, there is an absurd subsystem seemingly designed to require that one works for a large corporation which provides health benefits.

comment 15y ago · link · parent

So, 'the people who live in the US' own America?

Considering the ridiculous prices for health care in the US, we could easily knock 50 trillion off that by just sending all those seniors to Canada for health care. Or perhaps reforming our health care system to not charge 3x as much for worse services than are available in more civilized countries? I think someone tried that, but the people who plan to pocket most of that $99 trillion weren't happy at all about the prospect.

comment 15y ago · link · parent

Sure, or you can catch a KeyError and do something else entirely. I'm aware of all this, just pointing out some differences to the person to whom I replied.

Python's dict.get is a bit like the getOrElse found in Scala. It's quite handy and can be seen as advanced conceptually.

I actually added some code like that to a recent post about PHP here: http://news.ycombinator.com/item?id=2771304

comment 15y ago · link · parent

Indeed, tastefully weaving ads into a design is on of the prime challenges of web designers in the real world.

comment 15y ago · link · parent

This is in the vein of just about every 'xx person redesigns yy site'. The elaborate comments from others have done a better job than I could of laying out the details. I don't know why people insist on publishing articles such as these. Oddly, as in in this case, often they end up with a pleasant, but rather common looking, design which is blissfully unaware of all the different constraints and special issues that guided creation of the original.

The conclusion of this article is a rather bland design, in my opinion, which looks like 50 other sites out there and has no space for ads. Hardly worth the wall of text created to herald it.

comment 15y ago · link · parent

Not just bugs, and not just technical issues: don't deal with reports from the community about problems with any part of your service like this.

comment 15y ago · link · parent

Nothing wrong with deciding that. The proper way to give them access, however is to give them an SSH key, not a name/password set.

comment 15y ago · link · parent

I expected something more lush, along the lines of 37 Signals' offices, or perhaps Twitter or Google's bases. The photos give me the impression of a spartan and somewhat uninviting place, somewhat like unfinished versions of various areas in Half Life.

comment 15y ago · link · parent

Do you mean Facebook? They only use PHP for templating and legacy purposes, as far as I understand. Much of their newer code is written in a variety of languages, including C++, Python and Erlang.

comment 15y ago · link · parent

You really wouldn't like Python or even stricter languages such as Scala or java, then. In Python, an attempt to access a nonexistent dictionary key will throw an exception which halts execution if not caught. (similar to calling a nonexistent method or function in PHP, but since PHP doesn't have a well-thought out exception system/std. lib as Python does, you can't catch anything in that situation in PHP).

comment 15y ago · link · parent

Copyright and drug laws are the two largest offenders in this respect. Check out the recent moves the the US Congress to make linking to the 'wrong' site a felony (the '10 Strikes' legislation).

Once they've criminalized being a common person, then the government can exercise discretion and selection to eliminate people they does not like, for any reason.

comment 15y ago · link · parent

Seems like these days, ownership of an idea is based on who has more money to pay lawyers.

comment 15y ago · link · parent

The first example is exactly how I search for things, because I can never get the right syntax for find.

comment 15y ago · link · parent

Cocaine users tend to already buy as much as they can afford, or can use without dying. Hard to increase sales from that level.

comment 15y ago · link · parent

You mean, PHP decides that $aString has to be coerced to an int, not 'can' be, because it's being used in a function that requires an in to make sense? It doesn't matter if it's a string composed of numbers, either - if needed, any string will be coerced regardless of contents, to 0.

What do ECMAScript interpreters do in such a situation?

In the example you gave, this is dependent upon operator precedence. Presumably any method calls are resolved prior to type coercion. This is how PHP and most languages work anyhow, correct? If you do `$this->do_something() + 20`, the method's return value is used. It doesn't try to turn $this into an integer and then call a method upon it. Same for `bcadd($anObj->meth(),34)`. So... I think that isn't a problem.

comment 15y ago · link · parent

The best step forward for PHP, in my opinion, would be to deprecate all of those fake-namespaced functions, and start treating instances of built-in types as objects. This would also be the chance to fix all the 'needle/haystack, haystack/needle?' type inconsistencies.

The older functions could still exist for backwards compatibility, but people who want to write clean OO code could use the new style. $anArray->map(function(){}), $aString->pos('cow'), etc.

This would be a big step for PHP, and bringing the language closer to parity with Ruby and Python. Not sure how it works with eager type coercion, but JavaScript does it somehow.

comment 15y ago · link · parent

Okay, they don't care - sounds like even more of a reason to take he above course of action, no? I don't get the impression it was supposed to be intimidating for Google.

comment 15y ago · link · parent

Of course, why be vulnerable? Back up your stuff, and be self reliant and as independent as possible. Sound principles regardless of whomever else is doing anything.

comment 15y ago · link · parent

Gates wrote the interpreter along with Paul Allen and Monte Davidoff... while he distinguished himself as a programmer, he's not quite that level of amazing. I get the impression that in a situation similar to (but not as lopsided as) Wozniak and Jobs' arrangement, Allen did a bit more of the technical heavy lifting and Gates planned and arranged the business side.

comment 15y ago · link · parent

By the way, I am not trying to say anything negative about either group. Simply pointing out that from simply living in N. American society and reading forums such as reddit, I have observed prejudice against linux users, Apple fans, GBLT folks, non-white middle class people, and so on which all has a similar flavor.

3082.

Etsy AB2: framework for A/B testing, feature ramp up, and more(github.com ↗)

2 points · by code_duck · 15y ago · discuss

comment 15y ago · link · parent

I agree, either this is untrue or is the product of someone very dumb. The four minutes I spent reading that were an utter waste of time.

comment 15y ago · link · parent

I get the impression that the mainstream already thinks that Apple users are basically equivalent to whatever they think homosexuals are, so this probably wouldn't have an effect.

comment 15y ago · link · parent

If it makes you feel better, the first thing I thought upon seeing the headline was 'well, the Xbox market certainly isn't shrinking'.

comment 15y ago · link · parent

Thanks for the try, but that didn't explain it. That was one random person's speculation.

comment 15y ago · link · parent

I too perceived it as strange. I expected something cute, but it seemed somewhat manipulative instead.

comment 15y ago · link · parent

I wonder as well... are they trying to hint at something?

comment 15y ago · link · parent

Much discussion of Google+ has focused on the differences of the way friends and sharing works compared to facebook, and whether the difference is attractive enough to bring prospective users over from facebook. Google+ has other differences which stand out to me, such as design and the fact that it's not facebook (the fact that there is an XKCD comic highlighting this as well suggests it matters to others also).

comment 15y ago · link · parent

Not sure why my response wasn't enough to provide insight that your brief examination of their API has not. Nor do I understand why you'd like to focus on examining that one statement I made along with what was intended to be a brief aside. My aim was to raise the question of how well the API program has worked out for Etsy and developers overall. Whether the design of their API is technologically sound or whether PHP is a good choice or played a role in their API's successes or failures is only part of that.
1
102103104
153