Better HN
topnewbestaskshowjobs
Log inSign up

phpnode

7,416 karma · joined Oct 23, 2009 (17y ago) · 1,582 submissions

Founder of https://codemix.com/ - authoritative product context which makes sure coding agents build the right thing and humans stay in control.

Email: charles@codemix.com

Submissions

comment 14y ago · link · parent

Here's what it looks like the other way round, a PHP framework ported to JavaScript (then swiftly abandoned)

https://github.com/phpnode/YiiJS/tree/master/js/yii

comment 14y ago · link · parent

Nitpick: Closures are a 5.3 feature.

The fact is, this is a fancy, but horrible way to construct your objects if you care about performance at all. It also breaks things like typehints, instanceof, inheritance etc.

comment 15y ago · link · parent

I've been doing this for a while with http://trackmycv.com/ basically you can embed a transparent pixel in an MS word (or any other kind of MS office document) and get notifications whenever it's opened.

comment 15y ago · link · parent

http://yaf.laruence.com/manual/yaf.bench.html

it looks like it's about 10% slower than pure PHP, orders of magnitude faster than most frameworks

comment 15y ago · link · parent

I seriously doubt the easiest way to get the hat on is by digging a massive hole, burying the statue, using the ground around it as a ramp, maneuvering the head into position and then somehow either raising the statue in position or digging out the ground around the hole so that it no longer looks like a hole. I think it's more likely the statues were laid flat, their hats attached and then raised with ropes and blocks of wood and a lot of man power.

Who knows why they were buried, perhaps their religions and customs changed over time and they buried certain heads as a mark of denigration or respect.

comment 15y ago · link · parent

no, I'm just saying that it's misleading to say that eating fat doesn't make you fat

comment 15y ago · link · parent

sure it does, fat is high in calories, an excess of calories are stored by your body as fat. Of course, it's possible to get fat by eating calorie dense but low fat food. But it's a lot easier to get fat eating fatty food because of the high calorie / high reward nature of it.

comment 15y ago · link · parent

huge glaring XSS vulnerability on a credit card company's homepage is not serious? This kind of stuff is a phisher's dream

comment 15y ago · link · parent

disagree, this makes vnc a real alternative to kvm

comment 15y ago · link · parent

no, as far as I can tell MarketBrief is a different thing entirely: they're generating their content from statistics, not by comprehending and rewriting existing texts.

I think the essence is this - you can probably summarize these contracts and highlight important clauses with a crowd sourced solution as you suggest, but these summaries are just an interpretation of the contract, they can't replace the real thing.

comment 15y ago · link · parent

i think this is an AI-complete problem. Lawyers write contracts in legalese not because they love obfuscation (although some clearly do), but because it is basically a DSL that tries to represent a set of terms in the least ambiguous way possible. To translate these documents into simpler language would require the translator (human or machine) to have a proper understanding of the content being translated, hence AI-complete. Also, the newly simplified contract would be a separate entity from the original contract, and therefore could be interpreted differently by a court. Anyone attempting to do this is opening themselves up to all sorts of horrible litigation

comment 15y ago · link · parent

the ipad 1 has a hole in the frame that fits a camera (http://www.ipadforums.net/ipad-hacking/3730-ipad-has-room-ca...) they could probably have shipped it at launch, but maybe they knew they'd have to hold something back for ipad2.

comment 15y ago · link · parent

The "detector vans" are FUD, what they actually do is just assume that everyone has a TV and send them a letter. The TV licencing company (and it is a company, not a government organisation) is quite misleading in the way it practices, their inspectors cannot for example enter your property unless you let them in. And they can't force you to answer any questions. So there's no way for them to prove you're watching TV without a licence. All that said, personally I think the TV licence is awesome value for money, BBC TV and Radio programmes are generally of very high quality, and of course there are no adverts and there are very strict guidelines on impartiality etc

comment 15y ago · link · parent

SEEKING WORK (REMOTE or York, UK)

Lots of experience building webapps quickly in PHP and node.js but I also do SEO/SEM consultancy and audits, contact info is in my profile.

comment 15y ago · link · parent

really? that's strange, it looks fine in FF4 here. The site was about 12hrs including copy writing, so there may be a few mistakes.

comment 15y ago · link · parent

if you're implying that it'll be a mess, you're wrong :)

comment 15y ago · link · parent

No, I've been mulling this over for a few months, yesterday we just decided to build a site and launch. I did see your post though, how are you getting on?

comment 15y ago · link · parent

This is a problem with being freelancers/contractors generally, especially when dealing with non technical people. We're hoping we can weed those kind of customers out early at the contact stage.

comment 15y ago · link · parent

Also, thanks to whoever sent this in:

    From: thetwins@winklevoss.com
    Social Web App, like FB, but better.

comment 15y ago · link · parent

thanks for the feedback, I'll get on that straight away

1431.

We'll build *any* webapp in 7 days(appdone.com ↗)

3 points · by phpnode · 15y ago · 17 comments

comment 15y ago · link · parent

I run http://hackernewsers.com, please could you add that?

comment 15y ago · link · parent

Not true, IE6 was very well received when it launched, it was a capable browser. The problem is that was 10 years ago and it never went away

comment 15y ago · link · parent

Although there was obviously malicious intent here I think it's amazing that typing one line into a terminal can result in (potentially) 5 years in prison.

comment 15y ago · link · parent

Nope, shillings were pre decimalisation, http://en.wikipedia.org/wiki/Shilling

comment 15y ago · link · parent

this is nice, how about letting the user drag the pin around in case the result isn't quite accurate enough (in my case it got my city, but what if i wanted to link to my house?)

comment 15y ago · link · parent

you can't embed external resources (e.g. tracking pixels) in PDFs, adobe stopped that a few years ago.

comment 15y ago · link · parent

It's already been done, kind of, http://www.youtube.com/watch?v=bCWA7uevo_Q

1439.

PHP one liners to impress your friends(gist.github.com ↗)

4 points · by phpnode · 15y ago · discuss

1
474849
53