• 0 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: June 19th, 2023

help-circle


  • So it’s the Y2K bug, but stupider.

    As a sidenote: Did you know that the Date object in JavaScript has a getFullYear method? It just gives you the year of the date. For instance: new Date(1995, 0, 1).getFullYear() gives 1995.

    Why is it called getFullYear, you ask? Well, there’s also getYear, which only gives the last two digits of the year. For instance: new Date(1995, 0, 1).getYear() gives 95. Not as useful as you might think, but ok.

    Now what happens in the year 2000? Guess. No, really. Do guess. And then guess again, because you’re wrong. new Date(2024, 0, 1).getYear() gives …drumroll… 124, not 24. After the year 1999 the counter just keeps incrementing.

    So what’s before 1900, then? new Date(1776, 6, 4) was, of course, the year −124.

    I think it’s worth noting that JavaScript isn’t an ancient language. It was developed in December 1995. The year 2000 wasn’t too far off.











  • Article 82, paragraph 1 of the GDPR:

    Any person who has suffered material or non-material damage as a result of an infringement of this Regulation shall have the right to receive compensation from the controller or processor for the damage suffered.

    Paragraph 2:

    Any controller involved in processing shall be liable for the damage caused by processing which infringes this Regulation

    Article 24, paragraph 1:

    **[T]he controller shall **implement appropriate technical and organisational measures to ensure and to be able to demonstrate that processing is performed in accordance with this Regulation.

    Article 5, paragraph 1f:

    Personal data shall be: […] processed in a manner that ensures appropriate security of the personal data, including protection against unauthorised or unlawful processing and against accidental loss,

    Article 83, paragraphs 2 and 5:

    Each supervisory authority shall ensure that the imposition of administrative fines pursuant to this Article in respect of infringements of this Regulation referred to in paragraphs 4, 5 and 6 shall in each individual case be effective, proportionate and dissuasive.

    Infringements of the following provisions shall, in accordance with paragraph 2, be subject to administrative fines up to 20 000 000 EUR, or in the case of an undertaking, up to 4 % of the total worldwide annual turnover of the preceding financial year, whichever is higher:

    (a) the basic principles for processing, including conditions for consent, pursuant to Articles 5, 6, 7 and 9;

    Article 4, paragraph 7:

    ‘controller’ means the natural or legal person, public authority, agency or other body which, alone or jointly with others, determines the purposes and means of the processing of personal data

    (All quotes are excepts, emphasis mine

    https://gdpr-info.eu/