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 16y ago · link · parent

No doubt, the way PHP deals with functions is one of the worst parts about the language. create_function and the rest have been made a bit better, though, with the introduction of anonymous functions in PHP 5.3.

comment 16y ago · link · parent

One problem with both of those: PHP

Also, I seriously tried to use Doctrine for a PHP project and though it seems great at first, I ended up going back to raw SQL. I have used Django and it's ORM, and I had no desire to do raw SQL.

Symfony seems way over-engineered to me, and the horror of the PHP syntax really turns me off (though I'm quite familiar with PHP). If I'm going to use PHP, I'd rather just do what it is best at and get straight to the point.

comment 16y ago · link · parent

The ultimate would be if Adobe's CEO used an iPad to post a message on Facebook which was leaked out because his privacy settings were changed when he wasn't looking, and then Steve Jobs replied.

comment 16y ago · link · parent

No doubt, it's unsavory. There is censorship to a certain extent, though - clearly illegal content does get deleted, and people get banned all the time.

I'd have to say, though, it's a unique community and when things are going well, and you understand the millions of in-jokes, it can be hilarious. People on Reddit joke about how Digg is the front page of Reddit two days ago, but the joke memes on Reddit increasingly are what was funny on 4chan last week.

comment 16y ago · link · parent

There's no question that the fact that he created a site that ranks in the top 1000 on Alexa, before he was even 20, would positively factor into any investor's perception of moot and his business prospects. We wouldn't be hearing about him if not for 4chan, of course.

comment 16y ago · link · parent

Page views and ad impressions, sure. But what about licensing all of the data to others? Sure that must be an attractive source of revenue, and if it's 'private' it's harder to do.

comment 16y ago · link · parent

There might be issues with sound subsystems across distributions (or um.. within distributions), but games on Linux perform quite well and are indistinguishable from other platforms (I spent a good bit of time playing UT 2003 on Linux, and it works perfectly).

comment 16y ago · link · parent

Companies that I strongly dislike do that all the time. They sometimes end up great in terms of earning potential, but rarely are they the ones that I respect or admire.

comment 16y ago · link · parent

I believe he did recognize that distinction, actually, when he said that traders are not investors, and vice versa.

comment 16y ago · link · parent

Yes, that's the new IE8 version. This article is double out of date, both the original (2007) post and the update.

comment 16y ago · link · parent

That's true. I might add that it's also possible to strike a deal where the whole thing is stricken from your record after x years, but we're taking this a bit too far at that point!

comment 16y ago · link · parent

No, "convicted criminal" is a term that only applies if you are caught, prosecuted, law enforcement carries out the investigation properly, you're not lucky with the pick of the judge, they have better lawyers than you do, and you don't accept a plea bargain.

comment 16y ago · link · parent

I've had a couple of problems here and there with configurations.

The worst one was my fault : I edited my crontab on ym home machine, and sent it by sftp to the server and put it in /etc. Everything was fine, until a week later I did a routine aptitude upgrade.... and then I woke up to find out my cronjobs hadn't been running for the past 9 hours.

This could be like a riddle! But well, what happened is I had non-root ownership on the crontab. When cron restarted, it saw this, logged an error and refused to budge another inch.

I've had a few other configuration related errors, to. We run a pretty tight company (in terms of, no time to do anything extra) and so I'm wary of inadvertently changing some vital configuration that I haven't thought of in a year or two.

comment 16y ago · link · parent

I'm always out of the loop... I thought I was hip to be generating CSS with some glanky PHP compiler that I wrote.

comment 16y ago · link · parent

Yes, grooveshark is quite fine.

comment 16y ago · link · parent

Wait, less ';'?

The semicolons are only optional in JavaScript if you are okay with being incompetent. Or, well, slowing down your programs a bit and risking errors through ambiguity.

The JSON style syntax is nice, PHP really needs that. I'd be pleased to never see or type => ever again.

I have no idea what to think about the rest. Inline SQL? Isn't some heinous mixture of PHP, SQL, JavaScript and XML all in the same file something that normal people would seek to avoid?

comment 16y ago · link · parent

How is it that Apple can feel reasonable in criticizing flash for being closed and proprietary?

Did I miss the iPhone OS standards committee meetings or something?

comment 16y ago · link · parent

I don't know what it's like on 'standard' Ubuntu (i.e., Gnome) but I found the built in Chrome title bar to be really buggy in KDE. It would snap around and 'stick' to my cursor when resizing or moving, so I had to go with the system title bar.

comment 16y ago · link · parent

Oh dear, I still have a server on 8.04 and a desktop with 9.04. I'm falling behind the times, it seems, but I'm too paranoid about doing something to kmail to upgrade. the server, well, I'm too paranoid about doing something to anything to upgrade that.

comment 16y ago · link · parent

I don't think it was the fault of "cheap energy". Oil and motor companies designed our cities to be the way there are, killed dense downtown living areas and public transportation, on purpose. So, the demise of community sociality is squarely their fault, a victim of capitalism and the political influence of money.

comment 16y ago · link · parent

I think that the 'beget' style does just that. Instead of requiring a special constructor, it provides a clear way to duplicate an object - just what prototypical inheritance is meant to be.

comment 16y ago · link · parent

I do wonder why so many people want to have class-based, traditional inheritance in JavaScript. Why not just embrace the prototype based style? I use Crockford's object.beget rather than normal JS constructors, and that works quite fine.

On the other hand, the mechanism of classical inheritance is well understood, and I do miss conveniences like __init__ and subclassing.

comment 16y ago · link · parent

Why, is there some reason I can't just post vague messages which don't link me to any particular, identifiable human? How would they know?

comment 16y ago · link · parent

I'm proud to say that I mistrusted and hated facebook from the very beginning, and don't have to delete my account because I do not have one I've used for anything other than to sign in and look at pages that require one to be signed in.

That's right: I'm so hip, I knew Facebook was a horrible, horrible company which I hate before it was cool to think Facebook was evil.

comment 16y ago · link · parent

I have no doubt that they keep your info. If nothing else, it may be helpful if law enforcement or a court came looking for info. Soft delete is generally a best practice anyway, as far as I know, and also, it is convenient for referential integrity.

comment 16y ago · link · parent

If you delete your account, they'll have one less user. Why would they want that?

Anyway, I'm sure any deletion is a soft delete. They still keep your data so they can paw over it and sell it to people.

comment 16y ago · link · parent

I tried signing up for Facebook with the name 'Jimmy the Greek' and it was denied. However, they then accepted 'Jimmy teh Greeko'.

comment 16y ago · link · parent

Your facebook account is not linked to your real identity, either, unless you want it to be.

comment 16y ago · link · parent

I agree, vim is overwhelming at first. It simply does not work like a new user expects... i.e., you can just start typing and using arrow keys.

Nano is much more straightforward.

What these people should really be using, though, is Kate on Linux, or Notepad++ in Windows. I gather that Textmate is the equivalent for Macs, but I've never used that personally.

Syntax highlighting and a multiple document interface goes a long way.

comment 16y ago · link · parent

Page requires login for no apparent reason. I HATE however accessing essentially anything at all on Facebook requires one to sign in first.
1
149150151152153