799 karma · joined Jul 7, 2014 (12y ago) · 161 submissions
comment 3mo ago · link · parent
I strongly disagree with this point, and in general I've seen the reverse is true. Only the client truly knows how it will interpret especially esoteric kinds of html tags and relying on the server for sanitisation is relying on the system furthest from the authoritative renderer.
comment 1y ago · link · parent
appleid https://zemnmez.medium.com/how-to-hack-apple-id-f3cc9b483a41 steam https://hackerone.com/reports/409850
comment 1y ago · link · parent
comment 1y ago · link · parent
Analogue clocks like the face of big ben are not like digital displays, and whether they "show seconds" in the context of the meaning of this article is not, like digital displays, down to whether there is a dedicated hand.
Unlike digital displays, the largest denomination hand on an analogue clock display contains all of the information that the smaller hands do (depending on the movement in some cases).
The easiest way to realise this is to imagine a clock without the minute hand. Can you tell when it's half-past the hour? You can. The hour hand is half way between the two hours.
Again, it depends on the movement, but it is not out of the question that your minute hand is moving once every second, and not every minute. It is down to the number of beats per unit time for an analogue display as to what the minimum display resolution is (regardless of if the movement is analogue or digital itself).
comment 3y ago · link · parent
comment 3y ago · link · parent
These checks often don’t attempt to detect actual exploit paths, but for usage of APIs that simply may lead to vulnerability. These checks can only be disabled per file or per symbol and per check by a member of the security team via an allowlist change that has to be in the same commit.
This is not perfect but is by far the most stringent third party policy I’ve seen or worked with. The cost of bringing 3p code into the fold is high.
The flipside of this is that Google tech ends up with an insular and conservative outlook. I’d describe the Googl stack as ‘retro-futuristic’. It is still extremely mature and effective.
comment 3y ago · link · parent
I also Googled to check CSRF protection and all the sites I can find just discuss rolling it yourself; the example uses some CSPRNG that can potentially return not cryptographically secure numbers without erroring. https://www.section.io/engineering-education/csrf-protection...
That's one thing that really drove me away from PHP. It presents an extremely simple seeming universe, in which web apps are very easy to write – but has really naïve bones, requiring a lot of extra scaffolding to be safe.
comment 3y ago · link · parent
But tech at Google tends to be pragmatic in the specific way that protobuf is. It's not perfect, it doesn't fit neatly into a grand ideology, but it is (at least within Google itself) simple enough, easy enough to understand, portable and fit for purpose. In a similar way to bazel, it's full of components worthy of criticism, but those fixes get made when they become the ecosystem's most pressing issues, and not before.
comment 3y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
For example, to allow abc.com AND bcd.com, you could check Origin and if correct return Access-Control-Allow-Origin: *. In this case, setting Access-Control-Max-Age will mean this applies to any site* after a single successful request. If you return the site's name, this will break CORS* for that amount of time if an attacker makes a single request to it.
comment 4y ago · link · parent
After the sack of Constantinople, much of that wealth, including the secret of silk-making was taken back to Italy, and the ERE would never recover from this.
For reference, the amount looted from Constantinople during its sack is meant to be around 900,000 silver marks -- enough to raise the entire Venetian navy almost 6 times over. (https://en.wikipedia.org/wiki/Sack_of_Constantinople#sack_of...)
Of course, a huge amount of wealth remained in the west, even after Odoacer's conquest (see this mosaic of the palace of Theodoric: https://www.worldhistory.org/image/3090/palace-of-theodoric-... which is in undeniably Roman form). That said, the ERE would continue to be the center of wealth in Europe up until at least the sack.
I think it's important to note that Odoacer, in destroying the WRE was not considered by his contemporaries to have destroyed the Roman Empire. He immediately sent the imperial regalia to the Emperor in the east and declared himself a Viceroy of the eastern Roman emperor. In this way, I think the ERE thought it kind of convenient, as they now, at least on paper had full control of the whole Roman empire. The identity of 'Roman' in the West was not broken, so I've read until the ERE decided to 'reconquer' Rome and mainland Italy for being barbarian, which, as you can imagine would throw your personal identity for a bit of a loop.
Despite still being greatly dilapidated when Constantinople was finally invaded by the Ottomans 200 years after the sack, it was still famous for silk. Mehmed The Conqueror is attested to have said, upon wandering its ruins:
The spider is curtain-bearer in the palace of Chosroes,
The owl sounds the relief in the castle of Afrasiyab.