Better HN
topnewbestaskshowjobs
Log inSign up

papsosouid

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

Submissions

comment 13y ago · link · parent

Why do people still continue to push the myth that using event driven style with callbacks and a huge unmaintainable mess is the only alternative to native threads? Userland threading has been around for a very long time. The only difference between using an event driven style and using a userland thread lib is that with userland threading the complexity of managing the state of the various computations is done by the thread lib instead of by you.

The sooner people stop promoting the false dichotomy, the sooner people will realize every language should do concurrency as well as haskell, and the sooner that will actually happen.

comment 13y ago · link · parent

>Will this script ever run anywhere that I don't have the GNU toolchain? Effectively-0% likely.

That's not the case for most people though. I can't even remember the last time I saw even a tiny project assume the world is all "whatever gnu/linux distro I happen to use". Tons of people use linux distros that aren't ubuntu, tons of people use OSX, tons of people use a BSD.

comment 13y ago · link · parent

>Please explain how the original statement that you responded to above is incorrect.

I quoted it in my response, it is easy to see: "yet for the joke to be funny you have to understand". That is false. The vast majority of the audience do not understand that at all, and yet find it to be funny. The fact that one of the writers slipped in a deeper meaning does not mean the joke requires that understanding, and thus does not support the notion that the show is targeted to people who possess that understanding.

comment 13y ago · link · parent

Jokes on you, my code still looks exactly the same!

comment 13y ago · link · parent

>Anecdotally, every recommendation I've encountered for the show has come from self-described nerds

Anecdotally, every self-described nerd I've encountered has described themselves as a nerd because it it currently cool, and they own a phone which makes them "such a nerd".

comment 13y ago · link · parent

I can, which is why the IT Crowd was funny. TBBT doesn't contain caricatures of me, it contains caricatures of what someone who knows nothing about me thinks I am. Such a caricature does not resonate with me, so there is no appeal.

comment 13y ago · link · parent

>Isn't that true of TBBT?

No.

>Most viewers probably haven't even heard of loop quantum gravity, and yet for the joke to be funny you have to understand Sheldon's occupation as a "classical" string theorist, and that loop quantum gravity is a competing theory that is supposed to supplant string theory, and around that time was being touted as the hot new thing.

Most people who watch the show do not understand that. They still laugh at the "joke". You don't need that understanding, the joke to most people is simply "haha, the nerd won't date a girl because of some nerd thing she likes". There is a difference between making a joke based on something "nerdy" and merely making a reference to something "nerdy". TBBT does the latter.

comment 13y ago · link · parent

Those people don't know what an app is. The people going "where's the app" will also look at your site on your phone and think it is an app. They just need a way to bookmark your site and see a little icon for it with their apps.

comment 13y ago · link · parent

>Well would your argument stand if I said i have my browser filling 5% of my screen?

That depends how big your screen is.

>responsive design is useful, but designing for majority screen resolutions is just good business sense.

And limiting your site to 960+ is a pretty dumb idea for that reason. A quarter of my monitor is 800 pixels wide. That is an entirely usable size, and any decent website works fine in it. It is especially dumb to break a website for people using <960px browsers when the website in question is incredibly simple and could easily work in a 300px window.

comment 13y ago · link · parent

>But context menu is a useful concept (sometimes).

Of course. Which is why you would use it only where it is useful, not just hijacking a particular input event globally.

>Thus web apps effectively lose one whole mouse button, thus reducing available input bandwidth.

No, you can use right click all you want, and it need not interfere with the browser's use of right click. Also, very few people use a mouse on their phone, so this does seem like a bit of a stretch.

>Another example of lost input is lack of system-global shortcuts. A web app in my knowledge can't have them.

Right. There are a few other things like this that web apps can't do. And apps that people would want this sort of interface for should not be web apps. But as I said originally, virtually all the apps people use are not of that nature (and those that are almost always are apps that came with the phone), they are just websites turned into clunky, awkward apps for no reason.

>except to get to web-app, you need to go through the browser first

The browser is the app.

comment 13y ago · link · parent

>You're conflating use of hardware with a restriction on software.

No, you are assuming the only case of software restriction is limiting my OS choice. Apple works very hard to try to stop people from helping others to fix their crippled phones, so that they can install sofware on them that apple has not approved.

>I'm not sure what to make of "I do not require a license to use software"

Software is protected by copyright. Just like other creative works, like a book for example. Copyright gives the author exclusive rights to certain things, like distribution, copying, and creating derivative works. It does not give them exclusive rights to use the work. Copyright law prevents you from selling a book written by someone else (without their permission). It does not prevent you from reading it. The same is true of software. You can't sell itunes, but you are entirely within your rights to use it.

>You may have a different expectation, but I don't think you have majority support on that.

The law supports me on that.

comment 13y ago · link · parent

>Actually, you did not ask about'what can't be done', but 'example of anything other than a game that is actually "taking advantage of the underlying hardware and OS"'.

You left off the rest of the sentence though, the part that said "in some way that the browser can not".

>Instagram takes advantage of the underlying OS and hardware when it uses photo filters. Same as native games do. Could it be done in browser? Probably. Same as games.

The difference is that photo filters can be done, quite trivially, in the browser. Many games can not, because the performance of the javascript engines and the limited hardware accelerated drawing.

comment 13y ago · link · parent

I don't recall suggesting that Instagram made a mistake. I was responding to the idea that right now, apps other than games exist which take advantage of the OS in ways the browser can not.

comment 13y ago · link · parent

>I've seen some sites overriding context menus to provide their own copy/paste commands (for unknown reasons, probably to change the look). In doing so, they remove all the options browser puts in there.

Of course, and you've probably seen much worse than that. Incompetent web designers are plentiful, but the capabilities of a web site are not limited to "broken sites made by incompetent designers".

>If HN wanted to use context menus for some app-specific reason, all of those options would be wiped out (at least for affected elements) because the app would be in direct conflict with the browser.

If HN wanted to do something incredibly stupid, they could do something incredibly stupid. Right. I'm not sure what the issue is there. If they wanted to not do something incredibly stupid, that is also an option. Why judge only on the worst possible scenario and assume every website is designed to be as broken and shitty as possible?

>Touch events are often another casualty -- sometimes they are commands to the OS (swipe to change active desktop), sometimes to the browser (pinch to zoom), sometimes to the app (drag to drag around a map, or maybe pinch to zoom?).

This applies equally to apps vs web, and isn't even specific to phones.

>Additional layers always introduce problems and cause things at the end of the chain to have worse UX or adapt by using lowest common denominator

That statement is false, and not relevant. The browser is no more an "additional layer" than an app is. The same number of layers in both cases.

comment 13y ago · link · parent

>I am not sure what Mobile OS/browser gives acces to the camera control

All modern mobile browsers do.

>but Instagram does more than takes a picture.

Be more specific then, I assumed that's what you thought couldn't be done. Tell me what it is you think can't be done so I don't have to guess.

comment 13y ago · link · parent

>I license it, and when I bought the phone, I agreed to that license.

That's the claim they want you to accept, but it isn't true in many jurisdictions, and in those where it is (US) people should be fighting to fix that mistake, not using it to excuse immoral behaviour. I do not require a license to use software. I did not agree to any license when I purchased my phone. I did not sign any contract.

>Apple cannot stop me (legally) from running whatever software I like on my iPhone.

This contradicts your previous claim that you do not own the software, and that you must abide by some license. Their license says "you can't bypass the restrictions we put on you". You can't argue that you are both bound to it, and not bound to it.

>but it's not fair to dress it up under the precept of "rights".

Why not? We have rights in other areas, specifically to protect people against predatory companies doing shitty things because "haha you agreed to it!".

comment 13y ago · link · parent

Instagram? How is taking a picture something that can't be done with a browser?

comment 13y ago · link · parent

>but even then UI and UX usually suffer

Because of bad designers. Most native apps suffer for the same reason.

>For one thing, they often lose input methods available to the underlying system.

Such as?

>For example, how many web apps use context menus? How many _can_ use them without breaking browser's own UX?

I have no idea how many do, but they don't break anything unless the designer messes up.

comment 13y ago · link · parent

Your interpretation of what I wrote, and what I actually wrote share very few similarities.

>See here for the difference between the terms responsive/liquid/adaptive (http://liquidapsive.com/).

That website has no authority over the term responsive. That is precisely the nonsense I am saying is wrong. Responsive is not defined as "having several fixed layouts and choosing between them". Responsive is defined as "responding to the environment and conditions to customize the behaviour". This encompasses correct web design.

>And the use of media queries, or 'stupid grid nonsense'

Media queries have absolutely nothing to do with grids. We use media queries all the time, every single site we have uses them in fact. We have no grids anywhere.

comment 13y ago · link · parent

>and I trust them to honor them.

Except that with renting property you have specific rights clearly defined, and there are people with guns and handcuffs and jails to uphold them. You have no rights at all with your phone, and nobody to keep your "landlord" honest. Nevermind the obvious fact that you are not renting your phone, you purchased the device, it is your sole property.

comment 13y ago · link · parent

Could you give me an example of anything other than a game that is actually "taking advantage of the underlying hardware and OS" in some way that the browser can not? Looking at all the apps people use, games are literally the only things I've seen that aren't just poorly re-implemented websites.

comment 13y ago · link · parent

>why are you putting a browser into 25% of the screen?

Because that's how he wants it? I do the same thing, my web browser exists to retrieve information from web sites. Having it take up my entire screen would be a hindrance. People who foolishly assume that because I have a high resolution display, that my browser must also be that resolution are, quite frankly, incompetent. This is web design 101 stuff, nobody should be working in a professional capacity that thinks a fixed resolution website is acceptable.

comment 13y ago · link · parent

>You know what's really responsive? Proportional width, aka the default.

Yes.

>HN is great and usable

No. HN is not the default, it uses both pixel and point dimensions, and makes unreasonable assumptions about them. If HN used ems or exs then it would be usable.

comment 13y ago · link · parent

It isn't, some people just do it that way. Competent web designers have been doing fluid designs that work at any resolution for over a decade already. Those also qualify as responsive, not just the stupid grid nonsense people are obsessed with.

comment 13y ago · link · parent

>In order to be successful, RIM/Blackberry needs to do more than just put out a phone that is equal to the competition

Not really. As far as most people are concerned, all phones are equal. So, do none of them exist? All phones being basically equal works to blackberry's advantage. People choose whatever phone they like aesthetically, as they are all essentially the same (same screens, same CPUs, same memory, same apps, etc, etc).

>Saying: "Look, BB10 can do everything your phone can do" is going to be met with a "So what?"

Ok, but that isn't what was said. You said "its basically the same as my iphone4". That of course entirely depends on the context you want to view "basically the same" in. To a lot of people, all smartphones are "basically the same", so as I said, in that context your statement is correct. If you are making a detailed comparison of features, then both new blackberry models are obviously significantly better than your iphone4.

>So like I said, outside of a keyboard, which isn't even available yet, I don't see anything in the new phone that does this.

A user interface that doesn't actively punish me for trying to use it?

comment 13y ago · link · parent

>People here talk about "(not) rendering HTML on the server"

I think I make that mistake fairly often. We don't actually mean rendering when we say that, sorry for the confusion. We actually mean the generation of html from whatever data we're displaying. So a server side template engine sends already generated html to the client, a client side template engine just gets the data from the server, and then generates the html using javascript.

comment 13y ago · link · parent

>We're not rendering html client-side for fun.

Everyone I know who is doing it is doing it because "that's the future". No logical or technical reason at all, just following the current fad.

>It makes the UI more responsive, while keeping the overall architecture more simple

It does neither of those things. Most javascript apps are much slower than the equivalent app using server side rendering of html. Look at how incredibly slow and clunky twitter is for example. The architecture of a typical fad javascript app is a nightmare compared to virtually anything else, super crazy "enterprise" java monstrosities are the only things I've seen that are more complex.

>We can (and we do) have separate teams working on client/server. It wasn't that easy before.

It could have been, we have that. Our client team does html, css and javascript. The server team does haskell and postgresql. The only thing you need to do this is a template engine that separates code from markup.

comment 13y ago · link · parent

I'm afraid I don't understand the point you are making.

comment 13y ago · link · parent

Sure, in the same way that all smartphones are "basically the same".

comment 13y ago · link · parent

>I highly doubt that they can fix all these in one big fat major release.

Why? They threw everything away and started from scratch, so the only way to not fix them is if they deliberately recreate the same problems. They didn't btw, bb10 development is way easier than ios and android (never touched windows phone so I can't comment there).

1
222324
40