Hacker Newsnew | past | comments | ask | show | jobs | submit | Sardtok's commentslogin

Ignoring them is more passive aggressive than the answer he gave.


It's important to have the accept cookies button pop up on top of something you are almost guaranteed to click at just the right moment.


He did it on plastic CD cases, not oil. The oil in the beginning of the article was just for explaining the refraction that happens with the ridges in the structure.


Ah, whoops, thanks!


Look at the source, Luke!

It's just rand() in test.c


Therefore it is srand(1).


& as an escape character only applies to text nodes. Of course, if you want to display the URL on a page, you have to escape it, but not in the href.


I just found out you may - even in current HTML use entity references in attribute values, it’s just you don’t have to anymore, when the ampersand is not ambiguous.

The spec states it as: “Attribute values are a mixture of text and character references, except with the additional restriction that the text cannot contain an ambiguous ampersand.”

Whereas in the the days before HTML5 this has been mandatory.

> HTML 4.01 Specification – Appendix B.2.2 “Ampersands in URI attribute values”

https://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2

> Unfortunately, the use of the “&” character to separate form fields interacts with its use in SGML attribute values to delimit character entity references.


That's the same as main body text isn't it? And you have to be able to use them so you can escape " just like you have to escape < in main text.

HTML5 standardized how to interpret formerly invalid documents because it was more important to be consistent than to be correct.


You're supposed to escape & anywhere in HTML, not just in text nodes. If you don't (and many don't) it'll probably work, but browser first tries to interpret it as a start of an entity anyway. Even if it is inside a href etc.


That is incorrect. Entities apply to attributes.

In HTML escaping & is kind of optional and the browser just tries to figure out what you mean, but if you are doing things properly you should use &amp; in href attributes.


Sorry, Dave. I can't do that.


Read it again, it says right there in square metres.


Isn’t it strange to mesure this in surface rather than volume?


The authorities are saying they don't want to see any trash at all, regardless of volume. Imagine 100 sheets of paper vs 100 AA batteries. The batteries have much more volume, but the sheets of paper cover a much larger area so there's much more visible trash.


Not much difference between a 12" and a 18" lag bolt for the purpose of "how much trash is visible and impacts terrain".

Surface feels a bit fairer in that sense. Or at least, easier to measure.


Yummy pink pig liver. So livery.


The biggest difference, is Uber has vehicles around the world. So there's more data from countries with different rules from the US. Signage is definitely different between the US and Europe.


That nuke they are apparently working has been just around the corner for over 30 years according to Israeli propaganda.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: