2,420 karma · joined Apr 9, 2012 (14y ago) · 1,199 submissions
comment 13y ago · link · parent
And again, I am saying that time is virtually non-existent. It is a red herring, used to try to pretend that "those weird people who actually learn stuff" aren't getting anything done. People are not talking about haskell and clojure instead of working. That is the entire point.
comment 13y ago · link · parent
comment 13y ago · link · parent
You don't know very good web devs then. By far the easiest path as a developer is to develop for opera, then test the rest. You end up with far few problems that way. If you develop for firefox or chrome it is easy to write a bunch of stuff that works in that browser, but not in the other, and then you have way more work dealing with fixing it. Opera is strict enough that if it works there, it is almost certainly going to work everywhere else (not old IEs obviously).
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
But the people advocating haskell and clojure have done that. And they feel that their choice worked out so well that they should be nice enough to tell others how good it is. The people "just shipping with PHP" aren't spending their entire day coding, how is spending a half hour advocating for a programming language any different than spending that half hour watching TV (or as a more apt analogy, spending it arguing that PHP is totally good enough because I am shipping software in it so there's no need to ever try anything else)?
>and the less boilerplate you have to do to get your stack running, the more time you'll have for productivity.
This seems like an implication that using haskell or clojure somehow means having to deal with lots of boilerplate. That is not the case, and it is a rather odd thing to believe. This argument actually works against "just shipping in PHP". The less time you have to spend dealing with bugs that would have been prevented in another language, the more time you'll have for productivity.
>But, you have to draw the line between intellectual wanking and thoughtlessness
I believe the idea that there is anyone engaged in "intellectual wanking" instead of "shipping product" is fallacious. I've advocated haskell here before. Obviously I wasn't writing code while doing so, but would I have been writing code were I not advocating haskell? No, I would have been talking about something else, still not coding. Using downtime to advocate for your preferred language, platform, OS, library, framework, etc is a perfectly reasonable use of time, and if you are willing to read the contrary opinions of others, it can even be educational.
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
It was neither, and repetition is not an argument. Let me paraphrase the conversation in the desperate hope you will at least read this since you refuse to read the thread you are discussing:
Me: if you are seeing 2x slower, then that seems like unusual uses of python. Him: I think some real world uses of python are 90% C libraries and 10% python Me: I feel the cases you are referring to are the unusual ones I spoke of.
>You weren't "reiterating" anything - you never said anything about "your uses"
Yes, I did: http://news.ycombinator.com/item?id=5202119
>You must have some very unusual uses for that to be true
Wow, its like I am really saying exactly what I told you I was saying!
>Your Django argument falls flat if you look at it more closely. Sure, Django might introduce some slowness, but the vast majority of web performance is in the networking and database layers, not the application layer
That is completely, and entirely false. Scripting language web frameworks like django, rails, zend, etc are dozens to hundreds of times slower than similar frameworks in compiled languages.
>But my accusations of straw man arguments were correct.
No, they were not. And your continued insistence that your arrogant and pointless accusation was correct is absurd. If you don't wish to read something, don't reply to it.
comment 13y ago · link · parent
I've never seen any evidence to support this truthy sounding statement. In fact, my experience has been that it only holds true occasionally, and only for the very first initial profiling, seeing that some huge performance no-no was made. Once that is fixed, you have a pretty flat profile, with "the language is just slow" as your explanation, and no recourse.
>Your comment was a non sequitur from what dnu said.
No it wasn't. He responded to what I said. How could re-iterating what I said be a non-sequitur? Read the thread, I said python being only twice as slow as go "for my uses" would indicate some very unusual uses.
>In most cases in Python, the part that one would consider the application proper is entirely written in Python, which use Python libraries that wrap around C libraries to do the intensive stuff.
No, in the cases you want to put forth as representative because they support your belief that slow languages are good enough. Most applications don't have a convenient "intensive stuff" to do in C. Most applications are like django, just generally slow all over because they are written in a slow language.
>Quit with the straw man arguments - they add nothing to the discussion.
Neither do unwarranted accusations of straw man arguments.
comment 13y ago · link · parent
You must have some very unusual uses for that to be true. The computer language shootout isn't perfect, but it includes a variety of uses, and python is at best 5 times slower than go on benchmarks actually written in python instead of C, and 20-30 times slower for most of them.
http://benchmarksgame.alioth.debian.org/u64/benchmark.php?te...
Go is in the same performance field as java, haskell, scala, lisp, C#, etc. The 2-5x slower than C group. Python is in the same field as php, perl, ruby, etc. They are 30-50x slower than C. That's a huge difference.
comment 13y ago · link · parent
comment 13y ago · link · parent
Hoogle is roughly the equivalent. It doesn't come with ghc though, and the rather lengthy dependency list has caused problems getting it installed before. Is there a command line only version that doesn't need all the web stuff?
>Did you try -optl-static?
Yeah, no such luck. It turns out go can't do this either though, so that one shouldn't have been on the list in the first place.
>There are tools to format Haskell code by certain conventions on hackage.
The "being included with the compiler" aspect is pretty big here. People are much more likely to format their code if they already have the tool to do it. I'm not sure what you mean by tools available on hackage though. Stylish-haskell is about it, and all it does is align and sort imports/pragmas. Gofmt can basically rewrite go code however you want it to. Sort of like if hlint were built in to stylish haskell and did the replacements instead of suggesting them.
comment 13y ago · link · parent
No, it doesn't. The vast majority of people do not recognize the other meaning of the word. So in a discussion among ordinary people, like the one here, using the ordinary word's ordinary meaning is appropriate. The response from SJWs that everyone is wrong for using the word correctly is not reasonable.
comment 13y ago · link · parent
You lost me here. You convey absolutely no visual identity like that. People are reading the text, it is not window dressing. I'm sure marketing would be shocked to hear they don't need to worry about logos or colours or branding any more, because they can convey 80% of their identity just by using a font where the a has a 1% longer tail.
comment 13y ago · link · parent
I didn't see anyone react poorly. There is nothing bad about polite disagreement. I enjoy hearing other people's views, and having them try to convince me of the merits of their views.
>Pretending that a sweeping statement like that can cover every possible website is _absurd_
I obviously disagree. Can you give me an example of where deliberately choosing to make your website harder to read is a good choice? And that would be considered good web design?
comment 13y ago · link · parent
Really? Of the millions of books, most of them use a special font? The hundreds of thousands of little local papers all have their own special font? Do a tiny minority who use a "virtually indistinguishable from Times" really constitute most of them? Is a font that <0.000001% of people can distinguish from Times really creating a unique and distinct design?
>I'd actually be really hard-pressed to think of a newspaper or magazine that sets its body text in Arial or Verdana.
I'd be hard pressed to think of one that uses comic sans too, that reflects on comic sans, not the necessity of unique fonts.
comment 13y ago · link · parent
Certainly, as it should be.
>Do you choose a slightly gray text color which improves the overall appearance of the text but reduces the contrast
No, you do not. Good example.
>Do you include images?
Including images does not make the site inaccessible. Bad example.
>Can you express more of the visual identity by removing an image and including a web font instead?
We're talking about the primary textual content of the site. Not a header, or a menu item, or a title. Very few people are crazy enough to render the entire text of their site as an image.
comment 13y ago · link · parent
That doesn't make it part of the discussion.
>You really don't have all that great a selection.
Now go count how many books, newspapers, magazines, etc, etc have their primary text in something other than one of the few common "standard" fonts. You don't need a big selection. The desire to make your site look weird is not actually a necessity, it is a desire.
>The site isn't entirely unreadable. It just takes a little bit longer to display
It is until it loads all the way, which can take quite a long time, especially on a mobile network. And yes, it is actually fairly common for some elements to timeout and not load, images, css, javascript. If you use a non-standard font for the main text, then it becomes one of those things that can fail to load.
>But even I think just blanket damning custom fonts is really extreme
So do I. Which is why I never did that. I am only saying that using a custom font for the primary textual content of the site is a choice that has purely negative impact on the user.
comment 13y ago · link · parent
The difference between that and telling people what they can and can't include is absolutely massive. I am telling web designers (people whose job is to make web content accessible to users) that making content inaccessible is bad design. I am not saying "you can not be a bad designer". You are still allowed to do a bad job. And the rest of the world is allowed to point out that you are doing a bad job. Calling someone a nazi for pointing out that bad design is bad design is not constructive, or productive.
comment 13y ago · link · parent
Not at all. I am saying it is in no way necessary to load a non-standard font for the primary textual content in order to achieve the goal of a distinctive design. Loading a font to use for your branding is perfectly reasonable, users aren't there to read that anyways. Punishing the user by making the content not be there because you think distinctive design requires all your text to be unreadble_font_x just bad design.
comment 13y ago · link · parent
comment 13y ago · link · parent