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

That's the problem for nVidia as a supplier for Apple: iOS hardware is Apple branded, and most people do not know what is inside. nVidia wants to build their own brand, but Apple has no interest in that.

comment 15y ago · link · parent

Some of this is good advice that I wish people would follow. I receive a fair amount of email asking questions that are answered on our website.

Other points are subjective, or opinions. Most people I write to expect that I will have a conversational tone, not a terse IM style or a 'list of points'.

comment 15y ago · link · parent

No, it's really value that is being referred to here. People say 'ideas are worth nothing, execution is everything'.

comment 15y ago · link · parent

Maybe it will be possible to make apps that work like that on mobile devices equipped for NFC payments, and the cards won't be needed?

comment 15y ago · link · parent

The emulator apps have companion apps which download copyrighted ROMs for you. They push the download system in the emulator app description, as well as within the emulator itself. I wonder if that was the problem? Looking forward to the details.

I'm pretty annoyed with this, as I've purchased two of yongzh's apps, and don't have them installed on my phone currently - I was expecting to be able to reinstall them anytime.

So now Android has lost the two main things I liked, emulators and Grooveshark. If they're going to bring us all the bad things about Apple's system and none of the good, I might as well just get an iPhone next time. Or, if yongzh was infringing GPL as a few comments say, never mind! Hopefully someone normal will release these apps soon. There's plenty of emulator code out there to go by.

comment 15y ago · link · parent

I'm on the fence about it.

I liked being able to see the view scores when comments that were considered insightful or extra-correct about a technical practice were upvoted highly. I also think that there is a self-reinforcing aspect to high scores, though. Sometimes I downvote comments which I thought were 'overrated' (hearkening back to Slashdot!), which isn't an issue now.

I think there's less voting overall going on now. I cast fewer, myself.

I can't decide which way I prefer, but regardless I like that this site continues to evolve.

comment 15y ago · link · parent

Yeah, it's part of Scala's type system, too - (Option, and Some or None. Better language designers go to great lengths to make simple things like null values well covered). Python will throw a fatal error and exits on reference to a nonexistent Dictionary key, but PHP blithely fills in the value with something falsy and continues.

I'd rather be using Python too, but for some apps we have to work with a lot of PHP legacy code, so I do what I can.

comment 15y ago · link · parent

Yes, they're far less expensive to operate than refrigerated air, since it's pretty much just a fan with a bunch of water.

comment 15y ago · link · parent

Yes, I lived there and we had swamp coolers, aka evaporative coolers. They're adequate, but not as deluxe feeling as refrigerated air.

It's basically a 3 foot wide wheel that spins in a metal box, blowing air. Water is misted through the air that comes through the box, cooling it and making it more humid. This works quite well in a dry place like Abq, but you can imagine what it would be like somewhere like Houston that is already very humid.

comment 15y ago · link · parent

It's true. The problem is it's often the only PHP code they know. Many people do assume it's an example of good code, since it's so popular and essentially works.

WordPress is really an excellent companion to PHP itself - created by beginners who had no idea about how to design a language or framework. They have each since become somewhat respectable, but are shackled by the attempts they made to preserve backwards compatibility in the early days.

comment 15y ago · link · parent

It's inefficient to do that, as from what I understand PHP actually sets the error level to none, processes that line, sets it back, and continues. Also it would suppress any other warnings from that line, which could be unrelated to the supplied argument value.

Instead, I use a 'get or else' function, as in some functional languages. For arrays, it goes

    function get_or_else($array,$key,$default=null)
       { return isset($array[$key]) ? $array[$key] : $default; }
This avoids any warnings, and also allows you to specify a default.

comment 15y ago · link · parent

Not in this case, but I don't think they consider spam and malware to be welcome. What I mean to say is that even profitable services can be abused, though if we want to choose a more specific word than 'abuse', the point may be moot.

comment 15y ago · link · parent

I don't really believe in that 'security theater' concept either, though the media has been nearly unanimous in labeling the TSA's abuses as such.

comment 15y ago · link · parent

Yeah, but it will work great for arbitrary censorship! Like how searching 5 year olds at the airport doesn't fight terrorism. It's apparent that these methods don't fit the alleged purposes, so my assumption is that the real goals are unspoken.

comment 15y ago · link · parent

Doubtlessly. I hate being in the thrall of a company in such a way too. It's dangerous to be dependent upon someone else's their API. But is the chance of great success lower than for with other businesses? Probably better to start a Twitter client than a to-do list site or something.

comment 15y ago · link · parent

Pretty sure that's not what TweetDeck is thinking this week.

comment 15y ago · link · parent

Well, maybe not just that type of abuse, overusage without benefit to Google. Of course there could still be abuse of some sort, like somehow using a service to spread spam or malware.

comment 15y ago · link · parent

It's impressive how they managed to do that, given that PHP is a single open source platform with one major implementation, in contrast to JS.

comment 15y ago · link · parent

I've just started using Facebook after ignoring it all this time.

I've noticed exactly that problem. I commented on some stupid photo my friend posted, and then my mom told me later "Aren't you and Phil supposed to be working?". Good natured of course but it made me realize that actually, Facebook is a really awful place to interact with my friends.

comment 15y ago · link · parent

Raising awareness of what needs to be fixed is the first step.

comment 15y ago · link · parent

I can't even imagine how many developers out there started with WordPress and think the ramshackle way it's put together is normal.

comment 15y ago · link · parent

You should check out JavaScript - the type coercion is similar but even worse.

comment 15y ago · link · parent

Right, because there are thousands of people going to ask on mailing lists WTF that means. Given the small fraction of developers worldwide who speak Yiddish or Hebrew or whatever, 'double colon' might be a better phrase to use.

comment 15y ago · link · parent

The basis of corporate law is that a corporation is considered to be an individual in certain respect - hence the root of the word. A corporation is given certain rights and responsibilities that a natural person would have.

comment 15y ago · link · parent

Of course, but incarceration is supposed to be the punishment itself, not extra abuse from the guards. The article does note "the inmates were kept playing until they could barely see things and missing the daily quota would result in physical punishment and abuse."

comment 15y ago · link · parent

> Think how jQuery managed to make writing JS fun, as opposed to when you had to work with the plain DOM.

Speaking of that, http://code.google.com/p/phpquery/ is an interesting project. I haven't used it, but it seems like it could make some XML parsing less strenuous.

comment 15y ago · link · parent

The 4th amendment regards "The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizure". That appears to cover seizure of property fairly well, though I suppose the key word is 'unreasonable'. It's also unclear how this is applied to civil matters vs. criminal. Though forfeiture is usually hand-in-hand with criminal charges, they claim it's a civil matter.

The 5th amendment says citizens shall not be "deprived of life, liberty, or property, without due process of law." In the US, police can currently take your car, money, or other possessions without even placing you under arrest. This seems to me to violate the spirit of this amendment as well as the 4th.

comment 15y ago · link · parent

The underlying issue there is 'civil forfeiture' in general. My view is that this practice is unconstitutional for any sort of property, and it's causing a lot of problems with the motivation of individuals in law enforcement. Automobiles, cash, and real estate have been being seized with no due process, no warrant and even no arrest for years. Domain names are just a new twist in that story.

comment 15y ago · link · parent

I can't stand PHP's DomDocument OR SimpleXML. I think it's mainly PHP's libraries at fault, though - I've made short work of tasks that were quite annoying in PHP using Beautiful Soup in Python.
1
110111112
153