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

take a look at http://json-ld.org/ which allows relatively unobtrusive mapping of e.g. RDF to JSON. I think it would work well with an editor like this.

comment 12y ago · link · parent

no I mean, if you decide to use component to structure your own application, you must explicitly list the files and dependencies for each internal component in that application in its component.json. This doesn't sound like much, but it's overhead I don't want, especially because you often don't know that you've forgotten to do it until your build process is finished and your tests have run. I liked the idea at first, but the reality is that browserify accomplishes roughly the same thing without any of this manual work - it walks your `require()` tree instead, and it works with NPM which simply has more packages and more momentum. Also, source maps.

comment 12y ago · link · parent

I was really excited about component when it came out, but having used it in production projects, the shine has certainly worn off. The endless updating of component.json, and the resulting duplication of effort, the fact that using component alone is not enough (many things are only available with bower) and the lack of support for sourcemaps means I've switched to browserify for new projects and I'm much happier.

comment 12y ago · link · parent

tried it on mobile chrome on android, controls are extremely laggy which makes it pretty much unusable, nice idea though.

comment 12y ago · link · parent

https://news.ycombinator.com/user?id=TempleOSV2

comment 12y ago · link · parent

There is a way to improve the security of weakly hashed passwords without having to ask the user to change their password - http://blog.jgc.org/2012/06/one-way-to-fix-your-rubbish-pass...

comment 12y ago · link · parent

I think this should be the top comment here. I taught myself to program as kid, not because I was interested in Computer Science (I'd never heard of it, and if I had, it wouldn't have been appealing to my 7 year old brain). I learnt to program because I wanted to make things, specifically games. That's what kept me typing in those lines and lines of BASIC, that's what inspired me to keep learning new languages and technologies - so that I could make better stuff! And this continues to this day. If I'd been pressured into learning Computer Science instead, I would certainly not be a programmer today. Back then, and even now, I just wanted to make stuff and experiment - Computer Science has only been something I've become interested in in the last few years, and has been completely inconsequential to my career development.

So I disagree with this article. Programming is a creative, fun thing which is much more accessible to children (and adults!) than the comparably dry, stuffy subject of Computer Science. And it's not even true to say that people with formal computer science backgrounds make better programmers, so what is the benefit here?

comment 12y ago · link · parent

yes! I recently switched from Q to bluebird and it's been great, and really is exceptionally fast. Also the source code is a work of art - extremely highly optimised.

comment 12y ago · link · parent

He's probably referring to this old article - http://aegis.sourceforge.net/auug97.pdf which suggests that recursive make is bad because it can cause a lot of unnecessary processing even if you only changed one or two files. I think this just comes down to how you're using make - for me recursive make works just fine because I tend to run the specific target I need while I'm working (as it's usually in my cwd anyway) and only run the root `make all` on deployment.

comment 12y ago · link · parent

he was probably posing as an employee of the account holder, not paypal

comment 12y ago · link · parent

no, it's because he accused the owner of an anti bullying charity of being a paedophile - maybe not a great source but - http://www.dailydot.com/news/hunter-moore-revenge-porn-defam...

comment 12y ago · link · parent

one issue I've found with this approach is that clients are now incentivized to use those hours each month regardless of whether they really need them. Inevitably this results in a whole host of disparate small tweaks and changes, which are a pain to deal with.

comment 12y ago · link · parent

with class or out of fear because of the insane bullying that went on in https://github.com/joyent/libuv/pull/1015 ?

comment 12y ago · link · parent

The Featured Article

comment 12y ago · link · parent

What role did tptacek have in "RSA gate"? I think you've misunderstood what he was saying

comment 12y ago · link · parent

By this reasoning you should presumably agree that the onus is on Telegram to prove the security of their system, not on the rest of the cryptography community to prove that it is insecure. Telegram have completely failed to do this. Even if Telegram had a formal proof of their system (and implementation), would you be in a position to read and understand that proof? I suspect not. Like me, you'd have to trust a group of respected cryptographers to do that job for you, so I don't really know what you're trying to say here. Just because one or two respected cryptographers appear to have become NSA tools, does not mean everyone has.

Also note that it's not a case of one random crypto guy saying that Telegram's approach is flawed, but a case of virtually the entire crypto community saying that the approach is flawed. Does this not ring alarm bells for you? How can you judge that the Telegram guys know their stuff and aren't leading you down the garden path or are themselves deluded?

With your backing, there is a real chance for Telegram to bring secure communications to the masses. This is indisputably a noble goal, but the areas that Telegram should be innovating in are in UI and features - not cryptography. There is no such thing as mostly correct, 'good enough' cryptography, either the system is secure, or it's insecure - there is basically no middle ground. If you fail, it's a bit more serious than your typical software bug - innocent people can literally die - the very people that need this the most are the most at risk. These are the reasons Telegram have been met with such a frosty reception here. Because they come across as arrogant in an area where arrogance is the absolute least desirable trait.

comment 12y ago · link · parent

right and it also explains why the Telegram guys went ahead with his suggestion, because they're presumably keen to keep their main financial backer happy.

I don't think there's any attempt to sell snakeoil here, this is a case of a road to hell being paved with good intentions. To people not well versed in cryptography the things Pavel is saying and the approach Telegram is taking all seem completely reasonable, and the people who do do crypto and are responding might as well be talking a different language. To them the flaws and red flags are so obvious that their responses are incredulous, which has led to the vitriolic back and forth we've seen - neither side can comprehend the other's position. This is Dunning-Kruger[0].

[0] http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect

comment 12y ago · link · parent

I think Pavel is providing the financial backing for Telegram, rather than being an employee -http://en.wikipedia.org/wiki/Pavel_Durov

comment 12y ago · link · parent

sorry quarterto, this is actually The Fourth Law of Hacker News - https://news.ycombinator.com/item?id=4722251

comment 12y ago · link · parent

I'm not a perl coder, but the library support does seem pretty fantastic - http://www.cpan.org/

comment 12y ago · link · parent

> Thanks to PG's rankban (I say things he dislikes, so my comments get a personal penalty in placement) this comment will probably be in the middle-bottom (if not absolute bottom) of the page no matter how much you upvote it.

do you have any evidence for this? because your whole post sounds a little paranoid - not just the last paragraph. In fact a lot of your recent posts seem to have taken this kind of tone. I don't mention this out of spite, but out of concern. I hope you're ok.

comment 12y ago · link · parent

if your customers are governments, I think your prices are missing one or more 0s

comment 12y ago · link · parent

not true, I used to play on a 486DX, you did need a whopping 16mb of ram for it to run acceptably though.

comment 13y ago · link · parent

really?

http://www.landforce.co.uk/layout-images/home-wood-chipper.j...

comment 13y ago · link · parent

Please don't put words in my mouth. I just object to the other poster's utterly naive or sociopathic attitude. Unless you're 15 the idea of maintaining a relationship with someone you (smugly) consider replaceable seems pretty repellent to me to be honest, I wonder if she knows?

comment 13y ago · link · parent

good partners are not modular components that can be easily replaced, you'll discover this when you find one.

comment 13y ago · link · parent

Sadly I couldn't get this down to less than one line, but here's how you can do this to implement a proper Nil interpreter

    Function.prototype.apply = Function.prototype.call = function () {};

Insert this subtly somewhere into other people's code to ruin their day/week

comment 13y ago · link · parent

it's very possible to write code that can return responses in HTML or as JSON, XML etc depending on what the client asks for. Doing this allows you to concentrate on the API first but you can still add the presentation later.

comment 13y ago · link · parent

how does this compare in accuracy to chromium's Compact Language Detector?

https://code.google.com/p/chromium-compact-language-detector...

https://github.com/mzsanford/cld

comment 13y ago · link · parent

no, they definitely shouldn't, for the same reason they don't store the real passwords in plain text. it would be a terrible security hole.
1
394041
53