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

>The time I'm talking about

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

No, because strtol gives you the ability to see that the parse failed and where. You chose to give it NULL there, but you could choose to use the function correctly. You can't do it correctly in the javascript and PHP cases. In the PHP case, it is actually just a bug in the PHP codebase that octal digits are supported at all, and they don't use strtol correctly. Note that perl, python and ruby all support octal digits correctly, there really is no excuse for PHP and javascript not to.

comment 13y ago · link · parent

>I don't know a single web dev who tests on Opera anymore

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

Yeah, same here. I assumed this was going to be some article about why webkit is bad for the web somehow. Funny how statements like that can have such dramatically different interpretations.

comment 13y ago · link · parent

Because that would be a terrible analogy. Using linux as an example actually goes against your point. We do have "20 different unix variants". Just because you live in a linux bubble, doesn't mean there isn't a world outside of that bubble. Almost all software that runs on linux isn't using the linux api, they are using a gradually munged up collection of APIs from over the years, including posix, bsd and sysv APIs. That software works on on dozens of different systems. Software written to a common API that is implemented by dozens of different systems seems a lot more like an argument in favour of more rendering engines implementing a common API.

comment 13y ago · link · parent

Honestly, I wish I could believe that. But I really don't see how I am reading anything into it. The implication that people who talk about programming languages that he doesn't want to learn about are not "shipping product" is quite clear. I don't see any way to interpret that sentiment other than as anti-intellectualism.

comment 13y ago · link · parent

>Unless there are infinite productive hours in your day you have to choose your stack and go for it

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

I really dislike the anti-intellectualism in fallacious quips like that. People discussing haskell and clojure are not magically prevented from writing code as a result of their intellectual curiosity and desire to explore better tools and methods. The implication that people who are smart and use quality tools never accomplish anything or do any work is quite insidious, as newcomers start taking pride in ignorance because they are "shipping product" while falsely believing those other people aren't. It becomes used as a way to dismiss opportunities to learn because they've equated learning and being educated with not accomplishing anything.

comment 13y ago · link · parent

Perhaps in the future, rather than accuse people of non-sequiturs and logical fallacies, you might consider alternative explanations like "I misunderstood what was said". I asked several people to read the post you misunderstood, and it was completely clear to them. You are still insisting that your misunderstanding is my fault, and that does not at all indicate that you are interested in engaging in discussion.

comment 13y ago · link · parent

>It was a non sequitur, and a straw man

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

>80% of a program's performance is generally tied up in 20% of its code

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

The quality was always terrible, these are ancient bugs that are just being noticed now. Rails is designed with a 'convenience first, then use a couple regexes to "secure" it' mentality. Any software designed like that will be full of these sorts of holes.

comment 13y ago · link · parent

I think programs that are 90% C and 10% python do constitute "unusual use cases".

comment 13y ago · link · parent

>It's been around 2x faster than Python in most of my uses

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

It doesn't. But not using one form of visual identifier (colour) could motivate one to use another (case).

comment 13y ago · link · parent

I wonder how much of that is older programmers being used to not having highlighting, and how much is younger programmers having never tried programming without it. I think the default assumption is that it is all old people resisting change (hence the 80 columns amber terminals bit), but I'm a younger anti-highlighting example. I am not old, I learned to code with coloured syntax highlighting. I didn't realize how much of a hindrance it is until after I had been programming for years and tried turning it off.

comment 13y ago · link · parent

>Hoogle is available from the command line.

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

>However, we are still discussing the subject matter that things like Women's Studies and Sociology deal with, so using the terminology makes more sense than not using the terminology

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

>use a web font because this allows me to convey 80% of my visual identity with the text

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

>This is the reason people are reacting poorly to what you're saying

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

>That would be most of them

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

That doesn't seem very accurate. Plenty of "how do I shot database?" people are very anti-mongo too. Some of that may well be because they feel mongo gets more mindshare than their preferred nondb, but don't blame postgresql users for that.

comment 13y ago · link · parent

>Your argument can be extended to most of website design.

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

>Choice of typefaces is part of typography.

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

No, I said a designer who chooses to make their website less usable for the user by forcing a download of a non-standard font (something that hasn't existed for hundreds of years, incidentally) is prioritizing their self-obsessed wankery over what is best for the user.

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

>You seem to be arguing that one should never seek that end.

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

That is why I said hyperbolic. It is still a very distasteful response, especially considering what it was replying to. I just read my post again, and I still can't find the part where I told "people what their website can or can't include for design".

comment 13y ago · link · parent

I didn't suggest typography has nothing to do with design. Placement of text is not at issue here, font face choice is. There are many font faces already available. They were created by designers. Ones who specialize in creating fonts in fact. They are much better at it than web designers. Breaking a website so it is entirely unreadable because you feel a non-standard font is prettier is something a bad designer does. It does not help the user, which is the entire point of a web site.

comment 13y ago · link · parent

Ah, if the original bulletpoints for go are wrong then ghc may be more comparable than I figured. Can you statically link go binaries? As in, if I am using a go postgresql binding, can I build a binary with libpq (the postgresql C library) linked in statically, so it can be deployed on servers with no postgresql libraries installed?

comment 13y ago · link · parent

Your post is both nonsense and repulsive. I suggest you read what you are replying to rather than spewing hyperbolic nazi accusations at people.
1
202122
40