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

>If the signature gets tampered with on the server

Sorry, I meant the key. As all the linux distros using PGP signing demonstrate, people don't bother to verify the key, they just accept it blindly and assume everything is cool. Since only 1 out of a million people ask for this, and of those only 1 out of a million would actually go through the correct procedure rather than just grabbing the key from the same place they are grabbing the binaries and not verifying it in any way, it isn't worth the effort. The 0.001% of the 0.001% already have the tools available to verify, it is just a bit of a pain to do. It isn't worth it for the openbsd devs to waste time making it easier for those people who wouldn't verify the key anyways to feel secure when they would be exactly as secure as they are now. That's what I mean by security theatre.

comment 14y ago · link · parent

>Generate a GPG/PGP signature of the install ISO and that's it, you're done.

And you are getting that signature from the same place you are getting the binaries you are worried about being tampered with? They don't bother with security theatre because they aren't interested in being performing artists.

comment 14y ago · link · parent

Don't you still have to fsck those FFS2 partitions though? That becomes a real problem with very large filesystems. I have been out of the loop for like 7 years now, but I didn't think openbsd offered background fsck or journalling?

comment 14y ago · link · parent

You risk confusing and annoying other people who read your code if you do follow convention also. I hate camelCase just as much in languages where it is customary as I do any other time. It is just a question of how many people you expect to annoy, which is precisely choosing it by popularity.

comment 14y ago · link · parent

>By that logic, driving on the right side of the road in the US vs driving on the left in the UK is "pop culture".

Not at all. I don't drive on the right side because "everyone else does" and "that's the style". I do it because its the law, and because I would be risking my life and the lives of others to do otherwise. Having a function with an underscore in its name isn't breaking any laws, and isn't risking any lives or anything even remotely analogous. It is entirely based on subjective whims.

comment 14y ago · link · parent

I think it is more that programming has a pop culture, not that it is a pop culture. Parser combinator avoidance is a good example. The pop culture does avoid it, but not everyone is part of that. Parsec and attoparsec are very heavily used in haskell land. Just as there's people who reject or ignore pop culture in society. Society isn't pop culture, it just has a pop culture (or several pop cultures).

comment 14y ago · link · parent

>Go back and read the posts you've replied to

comment 14y ago · link · parent

It isn't "not strictly static", it literally has absolutely nothing at all to do with static content in any way. The heist snaplet adds a default "if nothing else matches, look for a template" route if you use the initialization function that says "sets up routes for all the templates". If you don't want that, then use the initialization function that doesn't do so (heistInit' which is right below heistInit in the docs, and linked to by the doc string of heistInit).

That seems like a really odd thing to try to characterize as "weirdly implemented".

comment 14y ago · link · parent

Go back and read the posts you've replied to, I gave an example that was exactly this case: navigation.

comment 14y ago · link · parent

>Given that that is pretty much the opposite of what most practicing graphic designers think is the case

Sorry, I assumed HN of all places wasn't stuck in 1996. What do graphic designers have to do with anything? We're talking about web design. What web design experts think is relevant. What is good for laying out a newspaper or magazine is not necessarily what is best for delivering web content.

comment 14y ago · link · parent

>You aren't putting "useful information" in the classes, you are putting presentation related information in there, if you are displaying the content non-visually it is irrelevant and can be safely ignored.

"This is navigation" is not just presentation, it is real, meaningful information.

>Writing semantic HTML is nice for bots and browsers, but there is nothing stopping you from doing this whilst using bootstrap or whatever

The contortions it would take to make bootstrap work with proper markup would consume far more time than simply writing correct CSS to begin with.

comment 14y ago · link · parent

>Regardless of whether you use bootstrap or not you are always going to be specifying CSS classes which describe the presentation of elements, not sure how else it can be done?

http://coding.smashingmagazine.com/2012/06/19/classes-where-...

>Screen reader software will generally ignore anything that it doesn't understand or deem irrelevant.

Yes, that's the problem. Putting useful information in places where software has no way to understand it.

>Whenever I have tried screen readers they will say "ok, there's 3 divs with content here. Let's read them out one at a time or just read the headings and wait for the user to select one".

And if you had the appropriate tag instead of a meaningless div, it would know what to do. That's the point. Google for semantic html.

comment 14y ago · link · parent

>Actually, I'd really prefer that right there to be on the front page

Yeah, that would certainly be helpful.

comment 14y ago · link · parent

That is precisely how it is different. We're not talking about content that is just consumed with our eyes. It is consumed by computer programs also. And we need to convey information in a way that those programs can understand. Hiding semantic meaning in classes is bad, as is pushing presentation information into markup. A screen reader has no way to understand that a div with a class of "errormsg" is anything at all. It is just a generic meaningless item. A screen reader can understand that a paragraph tag with a role of "alert" has a specific defined meaning, this is text content indicating an error or warning message. Just as a div with a class of "navbar-fixed-top" is completely meaningless, and a nav tag conveys the specific meaning of "this is a container holding navigation items".

comment 14y ago · link · parent

>You can also "override previously defined styles" but I don't really understand why you would think you couldn't.

I don't think you couldn't. I just mean that if "you can override styles" makes it a framework, then every stylesheet ever written is a framework. Perhaps I am missing something, but it appears to just use LESS the same way everyone else does (or the same way everyone uses SASS anyhow), just as a simple pre-processor, not to create what I was thinking of as a framework.

comment 14y ago · link · parent

>Most startups projects I've seen are technically trivial.

Most startup projects are made by people who are only capable of solving technically trivial problems, and who are only willing to consider languages that make solving difficult problems borderline impossible.

Imagine someone said "welding is a good way to fasten metal to metal". You are responding with "all the carpenters I've seen use screws".

comment 14y ago · link · parent

>but sometimes weirdly implemented around the corners (WAT? The templating library also serves static files?).

No it doesn't. There's a similar high level API, but that's it. Serving static files is part of snap-core, and done with serveDirectory/serveFile. Templates are part of the higher level snap module, and can be served in a similar style using heistServe.

>I would love to use any of them, but they are still not fit to build ecosystems like Django, Rails or Spring.

I'm not sure what you mean by that. Not fit to build ecosystems as in, have 3rd parties contribute "components" or something of that nature that people can optionally use? Because snap has that, they are called snaplets, and despite snap being quite new, there's already a budding little ecosystem there.

>I am surprised by how much the Haskell community always says "type system" first, but seems to put all other practical considerations on the backseat. Also, it is common to just dismiss concerns without addressing them.

That is simply not true. The haskell community is very heavily focused on addressing practical concerns, cabal is under constant work and discussion, and the developers are seeking funding so they can focus on it full time. A new extensible record module was released just this week to address the issues people have with haskell records. It seems incredibly odd to keep seeing people claim that the community ignores feedback when so much of the community's goings-on are focused entirely on addressing that feedback.

comment 14y ago · link · parent

I'm using haskell for web development, although we're not the typical faddish startup.ly. I agree that the library thing is a non-issue. I've had absolutely no cases of wanting a library to do X, and it not being there. Quite the contrary the only library issue I've had so far is "there's 3 libraries for X, which one is the best?".

comment 14y ago · link · parent

>In your previous posts you keep mentioning "designers", plural

Yeah, one at a time. I've been doing it for 16 years, I have worked with dozens of designers over that time. I don't have some sort of stable of dozens of designers to choose from or anything.

>Or would you maybe look for a solid, easily customized solution that is built around design and coding best practices and that is tested by an active community?

Bootstrap is not built around best practices at all, it actively forces you into anti-patterns that best practice is to avoid.

>Do you code your own OS kernel and device drivers as well?

If I were being paid to develop an OS, I certainly would.

>How do you implement a clean grid system that works across browsers and resolutions?

I don't. Grids are entirely unnecessary, and are bad web design. All my sites work fine across browsers, across devices, across resolutions and DPIs, with javascript disabled/unsupported, in screen readers, etc. Note that I've never seen a boostrap site that accomplishes that. Most break on trivial, obvious stuff.

>Are you hand coding your CSS?

Our SCSS, yes.

>or hiring a consulting designer who will probably reuse the code he's already written

Bingo! Where are all these people coming from that haven't already solved this problem a decade ago?

>you can instead use bootstrap

This is all that anyone needed to say. Everyone insisted on trying to fight about this, instead of simply giving me an honest answer: "its just a default design you can use in case you didn't already have one". Given that the answer is so simple, it is amazing how many people just wanted to fight about bootstrap for no reason.

comment 14y ago · link · parent

>Looking at Wikipedia[0], a framework is a set of generic functions/tools that can be changed by the user to fit their needs.

Yeah, that's the definition I was going on too. It doesn't seem like it describes bootstrap to me any more than it describes every stylesheet ever made. The nature of CSS is that you can override previously defined styles. When I see "CSS framework" my expectation was something like an actual framework, where a compiler processes some custom language to generate the specific CSS you need based off the components provided by the framework. Clearly my interpretation of "framework" is atypical.

comment 14y ago · link · parent

>I think what I am hearing is that css styles should be applied to tags rather than classes, but am not sure.

As much as possible, yes. Here's a good example of what I mean, although he makes the mistake of taking it to the other extreme ("you should never use a class for anything ever!"):

http://coding.smashingmagazine.com/2012/06/19/classes-where-...

>Do it right, put it on github, give it five years, and people will be laughing at bootstrap sites, while you are racking up consulting fees.

That seems like a rather unfounded assumption. There's already several other CSS "frameworks" that are better than boostrap. What is popular and what is good are seldom strongly correlated.

comment 14y ago · link · parent

I said nothing about any community. And yes it does just say "because it is for nerds". Go to the website, the front page has a "Need reasons to love Bootstrap? Look no further.", which is exactly what I was looking for. Except the answers are total non-answers that don't explain it at all, it literally says "cause nerds".

comment 14y ago · link · parent

See my response above. We are talking about web design, not graphic design.

comment 14y ago · link · parent

The fact that I recognize your name solely because you seem to constantly deliberately misrepresent what people say so you can respond with nonsense is rather depressing. That is graphic design, not web design. See how I pointed out that tightly coupling content and presentation is the problem with using grids for web design? Notice how that book never even touches on the subject? Web design is not just graphic design, it is a different medium, with different needs.

comment 14y ago · link · parent

I didn't say grids were bad in general, I said they are bad in web design. The problem of tightly coupling content and presentation, and the hiding semantic meaning that goes with it, doesn't exist in a desktop GUI environment, or in a print ad or flyer, etc. Grids are perfectly fine in those uses.

comment 14y ago · link · parent

Show me a respected design authority who advocates grids then. "STUPID STUPID STUPID" is not an argument. The fact is, grids tie content to presentation, and are entirely unnecessary. The fact that you think grids is the reason some websites look right and others look wrong is astoundingly ignorant.

comment 14y ago · link · parent

Unless there's something better than HiPE that I'm not aware of (which may very well be the case, I am far from an erlang expert).

comment 14y ago · link · parent

"Looks like twitter" is just shorter than "looks like every bootstrap website on the internet". My CSS knowledge and skill is very low, I'd rate myself a 2 or a 3 out of 10. I tend to leave the design work to the designers whenever I can. I certainly agree that a default stylesheet is quick and easy, I just didn't realize that's all boostrap is. Now I know the answer to the question everyone keeps asking me ("why aren't you using bootstrap") is "because I already have a default stylesheet". Previously my answer was "I don't know what I am supposed to do with it or why".

comment 14y ago · link · parent

>I've read your responses below and you're weirdly contemptuous of these frameworks.

No, just that using the word "framework" in reference to something that is in no way even remotely like a framework caused much confusion. I was expecting it to be a framework, and was trying to figure out what I was missing. If the answer is (and others have already said this is the case) "its just a design to copy" that's fine. Although I do find it pretty absurd that so many people seem to want to suggest that "a default stylesheet" is some revolution in web design, and is a "framework". Hasn't everyone already used their own default stylesheet since the 90s?

comment 14y ago · link · parent

>From an aesthetic design perspective, grids are a common tool used widely outside of web based design.

Yes, we're not in 1996 anymore. We're beyond the "lets pretend the web is print" phase finally. That means separation of content and presentation matters.

>CSS has always been a hack that disallows completely or properly separating content and presentation

What? People (deliberately?) not understanding how to use CSS correctly certainly caused problems like that. And I'm certainly open to blaming much of that on the design of CSS. But it by no means disallowed it separating content and presentation, that is the entire point of it. Stop littering your markup with classes and you can get the benefits of that separation.

1
282930
40