Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
olavk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
69 ms
·
661.
▲
by
olavk
11y ago
Of course scientists can do philosophy, that was my point in mentioning Bohr as an example. And before modern specialization there was no clear distinction between philosophy and science, and for example Kant also did natural science even t
662.
▲
by
olavk
11y ago
My point is that figuring out what constitutes science is philosophy, regardless of who does the figuring out. It's not like it is science if a scientist does the thinking but philosophy if someone from the philosophy department does t
663.
▲
by
olavk
11y ago
"without having to ask a philosopher"? What does that even mean? The distinction between scientist and philosophers is pretty recent. Clearly Aristotle was also a scientist even though we call him a philosopher, and clearly Bohr w
664.
▲
by
olavk
11y ago
Something which is not backwardly compatible with the current web? This will never happen.
665.
▲
by
olavk
11y ago
XHTML was just a slightly different syntax for HTML, it did not change anything about CSS.
666.
▲
by
olavk
11y ago
These seem to be problems with Facebooks architecture rather than general CSS problems. For example they claim you have to use "global variables" like in the selector ".button-depressed". But you could just use ".bu
667.
▲
by
olavk
11y ago
So your browser have to be maximized all the time, and the browser chrome dimensions have to be mandated by a spec.
668.
▲
by
olavk
11y ago
Well if MS thought they had a better model, they could have proposed it to the W3C and introduced it as -ms-box-model or something. Even if IE's model were superior, it was disastrous to have two contradicting models in different brows
669.
▲
by
olavk
11y ago
The frustration due to IE having one model and the spec and every other browser having a different model. Everyone who worked with CSS in the dark ages of IE6 felt that frustration.
670.
▲
by
olavk
11y ago
Can you elaborate? Why only two things?
671.
▲
by
olavk
11y ago
How do you decide what is "science" in the first place? How do you distinguish science from pseudoscience or religion?
672.
▲
by
olavk
11y ago
The KJB is a (famous) English translation of the Bible, it is not some kind of original scripture or source document. So if an alternative draft was found which differed theologically it would and should have exactly zero theological implic
673.
▲
by
olavk
11y ago
There is no irony. CSS replicate the table layout model in order allow you to separate markup from presentation but still be able to show tables. Otherwise, how should the default style sheet for table-elements look? CSS obviously needed to
674.
▲
by
olavk
11y ago
Seriously, you think programatically transforming a document into presentational html is simpler than using a css selector?
675.
▲
by
olavk
11y ago
Jut to put you rant in context, the CSS color names were not decided by CSS, they were adopted from presentational HTML. The initial stage of CSS was to provide an alternative to presentational HTML (font tags, bgcolor attribute etc.) by su
676.
▲
by
olavk
11y ago
The display:table css properties are exactly equivalent to the display model of html tables. They were specified in CSS2 which became a recommendation in 1998, which is 17 years ago (!). But due to the IE6 dominance and abandonment it took
677.
▲
by
olavk
11y ago
If you commit a murder, the victim is dead and can't raise charges. You can still be prosecuted.
678.
▲
by
olavk
11y ago
What? How did it improve their personal well being? They were ostracized from the sports community.
679.
▲
by
olavk
11y ago
The USSR didn't "ally" with Germany. They signed a non-aggression treaty, which basically meant they agreed to not attack each other while partitioning weaker states. Which is similar to what the western powers did together w
680.
▲
by
olavk
11y ago
They could have achieved the same (same code on client and server) if they had just written in JavaScript/JScript though. I bet JavaScript is also easier to translate to PHP and C# than VBScript. They also claim that Wasabi made it pos
681.
▲
by
olavk
11y ago
I'm not suggesting that you code doesn't work, if that is what your thinking! It's just a terminology thing. What you describe ("sometimes I extract bits of a page with one regex and process it more with further regexes
682.
▲
by
olavk
11y ago
Possibly there is some confusion about the word "parsing". If it is just the question of scanning for some substring or pattern on a webpage, sure you can do that with a regex. But this is not what is usually considered parsing.
683.
▲
by
olavk
11y ago
Maybe you are indeed doing the impossible, but I consider it more likely that you either (a) is using some parsing logic (like a stack, recursion or some such) intermingled with the pure regexes, or (b) is not extracting hierarchically stru
684.
▲
by
olavk
11y ago
It is not a question of "theoretical purity", it is a fact that it is simply not possible in the real world to parse a html document using only a regex. But this is often misunderstood as saying they regex shouldn't be used i
685.
▲
by
olavk
11y ago
Parsing speed does not necessarily correspond to the complexity of the spec. For example a lot of complexity in the XML spec is the DTD part. But if you parse a document without a DTD, this would presumably not have a performance cost.
686.
▲
by
olavk
11y ago
How are JS promises monads?
687.
▲
by
olavk
11y ago
I don't believe monads are worth the bother without some syntactic sugar. Without sugar, it is just a sequence of operations converted into a chain of nested lambdas with one lambda for each operation. Cool, but far to convoluted to wr
688.
▲
by
olavk
11y ago
Metaphors a tricky. Reminds me of the many attempts to explain objects and classes in terms of real-world object. (Cars, fruits, persons etc.) These explanations are often more confusing than enlightening, since object and classes are actua
689.
▲
by
olavk
11y ago
Actually, it is quite a grey area. Fanfic/spec scripts could be considered derivative works and therefore infringe on the copyright on the original work, but there are provisions for fair use and parody.
690.
▲
by
olavk
11y ago
I don't see what it will break? Sure you might get a lot of warnings if you upgrade (if I understand the proposal correct), but everything is going to work just as before.
More ›