Better HN
topnewbestaskshowjobs
Log inSign up

papsosouid

2,420 karma · joined Apr 9, 2012 (14y ago) · 1,199 submissions

Submissions

comment 14y ago · link · parent

Such as?

comment 14y ago · link · parent

Thousands of people did invent facebook. The invention is obvious and frankly trivial. Facebook didn't become what it is because of the amazing innovation of "see stupid shit your friends post". Everything about facebook's success has nothing to do with the idea, and everything to do with execution, marketing, timing, etc.

comment 14y ago · link · parent

I know what HTTPS is, I am asking why it matters in this specific context. We're not talking about javascript, we're talking about images. Nobody cares if the images are being sent securely, do they? From a random sampling, it sure doesn't look like very many https sites serve up https images. My current plan for our upcoming site launch is also to serve up images over http, not https. Is there an actual reason not to do this, or is it just "its on my list so do it"?

Any idea why so many sites allow http after logging in? I realize a facebook account isn't a high value target, but it seems crazy that a site that size works over http. I imagine they must have some reason to support http (not implying it has to be a good reason).

comment 14y ago · link · parent

HTTP keepalives just means you only need to negotiate two extra SSL connections instead of n (n being the number of images in the page). The overhead of that is certainly noticeable. If there's no actual benefit, then it shouldn't be in his list of "stuff you have to do (and nobody actually does)".

comment 14y ago · link · parent

I'm interested to know what everyone's take on the "use https always for everything" stance is. Does any site actually follow that rule? Even big names like facebook allow you to use http don't they? And what about the "don't put http elements in an https page"? Why not? What benefit is sending the images over https (thus making the page load slower) if they are on a seperate subdomain, so there's no cookies being sent with those requests?

comment 14y ago · link · parent

I'm in the same boat as ozataman, go feels like a huge step backwards to me because I use haskell. My interest in programming languages is roughly 0% academic in nature. I use haskell primarily for web development (also random stuff like parsing log files, automating deployments, etc). I use it for these things because the practical benefits of such a high level language are so good, using anything else is painful.

comment 14y ago · link · parent

>You might change your mind when you consider that Bell Labs (part of the "Soviet Bureau" you despise) created

Just because bell labs was owned by a telco, doesn't mean they were a telco. A research organization existing under the ownership of a telco company doesn't make telcos provide good service, or have fair prices, or have good customer service.

comment 14y ago · link · parent

I didn't say there was a minimum time to be considered programming. I said "spend 8 hours doing something random" isn't a hackathon. "OpenBSD developers spending a week hacking on OpenBSD" is a hackathon.

comment 14y ago · link · parent

It has nothing to do with attracting women, unless you are suggesting that women can't program, and so the only way to attract them is to have fake hackathons like this? Don't project your sexism on me, I simply commented on the dilution of hacker terminology by marketing weasels.

comment 14y ago · link · parent

From the fact that programmers don't go to "hackathons" that are 8 hours long, have no set purpose, and are run by marketing weasels who say things like "build awesome hacks".

comment 14y ago · link · parent

It is pretty amazing to see how much the term "hackathon" has been diluted in such a short time. How did we go from a very literal "a hacking marathon" where the developers of project X get together to hack non-stop for a week on their project to "non-programmers scraping together some off the shelf javascript/css frameworks into a trivial web app for a couple of hours, and then having some marketing person call it an awesome hack"?

comment 14y ago · link · parent

>Sorry, you kinda lost me here. I don't understand what point you're trying to make

This is what I have been saying for the whole thread. And you are only getting worse. I do not know how I can make myself any clearer, sorry.

comment 14y ago · link · parent

>That's what I dispute.

Because you are taking it out of the context of the implicit "for a typical web app" that had already been established in the previous post.

>I do agree with you that double opt in is

You are still arguing a false dichotomy of "double opt in" vs "not double opt in". Double opt is entirely irrelevant. The only time I mentioned it was pointing out that it is not in any way a legal requirement.

>My only point is that it's possible to have one

Nobody said it wasn't possible. People said it is a huge usability flaw.

comment 14y ago · link · parent

You clearly are confusing things, because you acting like I am arguing against email confirmations. Your response basically makes no sense as you are ignoring the method I use, and creating a false dichotomy of "double opt in or not".

Your view of the legal situation is laughable. You are welcome to do whatever you like, but don't try to claim it is a legal requirement unless you are going to back that up with facts.

>I also dispute the point that you get zero emails about leaking the information that someone is registered. I have worked on project where that information was absolutely privileged and it was of utmost importance that no info about who's registered could be leaked.

It doesn't seem like you are trying to discuss this in good faith. Read my post again, I was pretty clear that privacy matters in some cases, but that I do not think it is the common case.

comment 14y ago · link · parent

You are confusing two issues. The first is that you don't need double opt in. This is simply the reality, you don't. There is no such German law. The only law like that is that you need to prove people opted in if you send them commercial email.

The second is the usability question. Sites where you can't login until you have received and clicked the activation link are throwing away signups. The usability of "wait a half hour before you can do anything" is really, really poor. You can certainly argue that having fewer signups is a worthwhile trade-off to gain some privacy, and in some cases I might even agree. But I don't think that is true in most cases. As others have pointed out, you get thousands of emails about signup/login/reset related issues when you try not to leak this info. You get zero emails about leaking it.

comment 14y ago · link · parent

Rather than force people to do an extra step, why not just use a secure method of generating reset IDs?

comment 14y ago · link · parent

You don't need double opt in unless you are sending them emails. Assuming we're talking about a typical web app, this isn't the case. The method you propose actually has a pretty massive usability flaw. When someone signs up on my site, they are immediately logged in and free to use it. Content they upload/create isn't made visible to other until they confirm their account registration via emailed link. The email verification is to prevent spammers. Signups occur almost always directly because "I want to do X", and if you put a barrier between the sign up and the "do X" like waiting a half hour for an email confirmation, then a significant number of people will simply give up and never complete the signup.

comment 14y ago · link · parent

>It lacked the fluidity and responsiveness you have with native apps.

Having only messed around with phonegap a little recently, I wasn't sure if this was a real issue or something I was doing wrong. Is the lack of responsiveness you describe a noticeable delay any time you try to interact with the app in any way? I made a trivial app that just has two pages, and switches between them when you click a button, and it was obviously, noticeably slow to react. Is that "normal" phonegap performance? I guess I am just hoping I did something wrong, because I don't see how anyone could possibly use phonegap if it really is that slow all the time.

comment 14y ago · link · parent

>In the .NET world, for all the database adapters I've used (MSSQL, SQLCE, Oracle, MDB), individual statements are implicitly wrapped in transactions when no explicit transaction has been specified - not sessions/connections.

That is how the postgresql API works as well. Most high level language modules built on top of it also work that way. Unfortunately python's DB API is not one of them, but you can just set a config option to "act like everyone expects".

comment 14y ago · link · parent

http://www.kickstarter.com/projects/1820893788/katalyka/post...

I don't think anyone is sure if this was a scam, or if he or she is genuinely crazy. But, people funded a board game, and now the sun says no.

comment 14y ago · link · parent

I can't think of any logical way to put your post in context. Why would we all be using C?

comment 14y ago · link · parent

You said "lambda was added to PHP in June 2000". That is clearly not the case, and now you are trying to play semantic games to pretend you are still right. The function create_function() is not lambdas. It isn't even anonymous functions, they are still named, you just don't know the name. You can easily get a duplicate function error from using create_function(), which means it is most certainly not anonymous.

Note that php.net/create_function even points you to their page on actual anonymous functions, which they erroneously claim are the same as closures.

comment 14y ago · link · parent

But if it isn't objectively better than similar languages in any way, then why does it deserve consideration? "You can work around and/or avoid most of the horrible problems in PHP" isn't a compelling argument in favour of PHP when every other language just doesn't have those horrible problems to begin with.

comment 14y ago · link · parent

It is the user's session data. If it is stored on their end, they can choose how long they wish to store it for, and delete it any time they like.

comment 14y ago · link · parent

"Cry me a river" is no more compelling than "I am right because I say so". I am making money? I didn't realize my free site that I pay hosting expenses for out of my pocket was making me money. When can I expect my check?

You haven't offered any reason why anyone would want to move from client side sessions to server side sessions. If you want to affect change, you need to provide reason for change, not just condescending nonsense.

comment 14y ago · link · parent

>Servers storing stuff on the clients is just plain wrong, and it is wrong from every single angle you can view it

Not that it is surprising given the source, but this "my opinion is objectively correct" nonsense isn't constructive. Client side sessions give you stateless servers, which allows real seamless fail-over. Having to run a HA session-storage service to get that is a big additional cost. "PHK said it is right" doesn't provide sufficient benefits to overcome that downside.

comment 14y ago · link · parent

No that's not how green threads work, which was the whole point. You can have an API that presents you with "threads", but not have any actual threads underlying it. It is just a state machine running async, event driven code under the hood. The overhead of such a system is no higher than it is using the naive and error prone event loop approach.

Here's a paper on using userland threads to get the API advantages of threading, with the scaling advantages of event driven programming: http://static.usenix.org/events/hotos03/tech/vonbehren.html

comment 14y ago · link · parent

Show me the benchmarks. I have no reason to believe that the buggy, ad-hoc versions being written over and over again in every node app are faster than writing one good version and using it.

And it is not a call for a sync model. It is a call for a sane API.

comment 14y ago · link · parent

You are certainly not the only one, and as you point out this is nothing new. Web development is incredibly fad-driven, and the vast majority of web developers can't even tell you why they are jumping from fad to fad.

If you are writing a mail client, or chat app or something, then a single page javascript app makes sense. But I don't think those apps are the majority now, and I don't think they will become the majority any time soon.

comment 14y ago · link · parent

This completely misses the point. You don't get rid of non-blocking single OS thread. You get rid of the horrible API to use it. Node says "here's a low level API, now write an ad-hoc version of green threads on top of it". But other languages have been saying "we already wrote and tested a solid green threads implementation on the low level async API for you, you can just use that" for years now.
1
333435
40