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

Its so trivial to set up a shell company that we can assume the trolls are running one per patent. If a shell goes bankrupt they only lose that one patent, which has been shown to be worthless anyway

comment 12y ago · link · parent

AsciiDoc is similar to markdown and offers a much more extensive syntax, but it's no where near as common in the wild.

http://www.methods.co.nz/asciidoc/

comment 12y ago · link · parent

The markdown parser should be able to do it in an ideal world. Htmlpurifier is very slow.

edit:

To whoever downvoted me, I'm sorry, was I wrong? The markdown parser has to look at every input byte, obviously it's better to do the HTML sanitation at this level because the HTML parser must also look at every input byte, so, combine them into one pass...

Running HTMLPurifier on the output of the markdown parser is inefficient - it's sanitizing known good elements not just the potentially bad ones, so you're giving it more work to do.

comment 12y ago · link · parent

Thus negating any speed improvements in the markdown parser....

comment 12y ago · link · parent

it's going to be computationally difficult but not impossible to break an individual password, but breaking all of them is unlikely in our (solar system's) lifetime.

However, if you were targeting a specific user and they didn't use a particularly strong password, it's possible that you could brute force it.

comment 12y ago · link · parent

Parsedown is certainly very fast, but I wouldn't call it "extensible". CeBe's markdown parser is nearly as fast, but focusses on being very easy to extend, so it's trivial to add custom syntax elements, see https://github.com/cebe/markdown

(CeBe's library is inspired by parsedown)

comment 12y ago · link · parent

thanks for the link, that was a great read.

comment 12y ago · link · parent

I think most projects have natural leaders, but if Qiang was hit by a bus tomorrow it would be a tragedy but Yii would not die with him. The other core developers, especially Alex and Carsten, are more than capable of picking up the reins, and the project has enough momentum, and has received huge investments of time and energy - it isn't going to go away at this point.

comment 12y ago · link · parent

I'm also a bit frustrated with the Yii situation, although I do understand why they're doing it. Yii 2.0 is a total rewrite, and it is technically very impressive. However they have had the disadvantage of not being able to ship until it reaches feature parity with 1.1 which has been a huge undertaking.

The lead developer, Qiang, is literally the second most active developer on github[0], so it's not like they're not trying - the guy is currently on a 370+ day streak - it has taken a huge amount of effort for them to get to this stage.

I would personally build on the beta at this point because I have a lot of faith in the core team and they've had a lot of time to iron out any major problems, at this stage any changes are likely to be quite minor or fixes, so the real release will probably ship before your new project does.

Kohana seems dead and CakePHP has historically been rather slow and ungainly.

The lack of library support for Lua is a bit annoying, but it's getting better and can possibly be mitigated by using Lua's FFI to talk to C. If the eco-system was a bit more mature OpenResty[1] would be pretty compelling.

0. https://gist.github.com/paulmillr/2657075 1. http://openresty.org/

comment 12y ago · link · parent

thanks for the link, that's certainly better than thetrainline.com which has been frustrating for years. Btw you should stay in York, a bit nicer than Leeds.

comment 12y ago · link · parent

please do, they are certainly caused by his schizophrenia. In much the same way a Tourettes sufferer cannot control their compulsion to say inappropriate things.

comment 12y ago · link · parent

it's jerky on my (haswell) desktop too. It seems that one of the things they've done to make it feel faster is to mess with the scroll wheel - it scrolls slightly more than the default which makes using the site feel sort of "fake".

comment 12y ago · link · parent

demos look quite nice but wow they take a long time to load, took about 5 minutes to download 50mb for a short scene, makes me wonder if download times are going to be a limiting factor in webgl games.

comment 12y ago · link · parent

i've been using apiary this week and it's been absolutely fantastic so far. Markdown goes in, API docs + mock live API comes out, even syncs with github.

comment 12y ago · link · parent

from the first paragraph on that page: "PC/Mac/Linux."

comment 12y ago · link · parent

If I sell you a harmless marshmallow heated to 10000°C and when you bite into it your face is engulfed in flames, who is being negligent?

comment 12y ago · link · parent

because sharing them makes them stop working. No one said anything about this being his main competitive advantage.

comment 12y ago · link · parent

I agree, but the general point is that specific marketing tricks that work well should be hoarded, not shared, because sharing them destroys their value.

comment 12y ago · link · parent

If this trick is still really working for you, please, do yourself a favour and shut up about it. Drawing attention to it is not going to end well for you, either twitter shuts you down or people just copy your idea and it loses effectiveness. The correct time to write about these things is when they stop working.

comment 12y ago · link · parent

A very inspiring guy, RIP

comment 12y ago · link · parent

isn't there a good PEG available for python? Compare the source code in the post to the equivalent PEG.js grammar - http://pegjs.majda.cz/online

comment 12y ago · link · parent

wow, that's a distracting background. Also the video doesn't explain how the key exchange works, and isn't that the important/hard bit?

comment 12y ago · link · parent

This is definitely true, look at the rise of John Deere's GreenStar - GPS controlled tractors and implements which dramatically improve yields. Farmers are like hackers in many ways.

comment 12y ago · link · parent

Right, it didn't happen. And if it had it would have been:

1. Totally different, as bitcoins are not portable general purpose computers.

2. Two orders of magnitude more expensive than $100 per student.

So I'm wondering why on earth this person would draw such a comparison?

comment 12y ago · link · parent

> "This is like giving every MIT student a laptop thirty years ago"

Pardon?

comment 12y ago · link · parent

more business 101 - after showing initially good results and establishing confidence, drop your prices to unsustainable levels (i.e. $0) to drive growth and inflate your valuation, then make a swift exit. This strategy netted me ~$200k + $90m+ valuation.

comment 12y ago · link · parent

that was great, but funny that literally every adsense ad on those articles was for herbalife products.

comment 12y ago · link · parent

agree, this sounds like a bug, console.log() returns undefined so that's what the next promise in the chain should receive.

comment 12y ago · link · parent

Why is it a good idea to lump such technologies together, when many of them are fundamentally different? Do we call road vehicles that aren't cars NoCars?

comment 12y ago · link · parent

NoSQL has always been a stupid term, especially as there are "NoSQL" datastores that support SQL, e.g. OrientDB.
1
373839
53