{"id":161861,"date":"2022-12-04T07:00:09","date_gmt":"2022-12-04T06:00:09","guid":{"rendered":"https:\/\/us.edu.pl\/wydzial\/wnst\/?p=161861"},"modified":"2022-12-04T08:20:50","modified_gmt":"2022-12-04T07:20:50","slug":"dzien-ciasteczek-dr-tomasz-xieski","status":"publish","type":"post","link":"https:\/\/us.edu.pl\/wydzial\/wnst\/en\/2022\/12\/04\/dzien-ciasteczek-dr-tomasz-xieski\/","title":{"rendered":"National Cookie Day | Tomasz Xi\u0119ski, PhD"},"content":{"rendered":"

[vc_row css=”.vc_custom_1669976999155{margin-bottom: 0px !important;border-bottom-width: 0px !important;padding-bottom: 0px !important;}”][vc_column width=”1\/4″]\r\n

\r\n
\r\n \r\n
<\/p>\n

4 December<\/span><\/small><\/strong><\/p>\n

NATIONAL COOKIE DAY
\n<\/span><\/small><\/strong><\/p>\n

\n<\/div>\r\n <\/div>\r\n <\/div>[vc_single_image image=”16858″ img_size=”large” style=”vc_box_rounded”][\/vc_column][vc_column width=”3\/4″]\r\n

\r\n
\r\n \r\n

\u201eSave the date”<\/a> is a series of articles that have been written to celebrate various unusual holidays. The authors of the presented materials are students, doctoral students and employees of the Faculty of Science and Technology of the University of Silesia.<\/p>\n<\/div>\r\n <\/div>\r\n <\/div>[vc_separator color=”custom” accent_color=”#9b132a”]\r\n

\r\n
\r\n \r\n

Come to the Dark Side \u2013 We have cookies! <3 We like cookies \u2013 their taste, smell, crunchiness, softness, that increase in endorphins accompanying the first bite. But today we want to talk about a different kind of baking.\u00a0Tomasz Xi\u0119ski, PhD talks about cookies that are not fattening, although when there are a lot of them, they weigh a lot.<\/p>\n<\/div>\r\n <\/div>\r\n <\/div>[\/vc_column][\/vc_row][vc_row css=”.vc_custom_1669977111578{margin-bottom: 0px !important;border-bottom-width: 0px !important;padding-bottom: 0px !important;}” el_class=”shadow”][vc_column width=”1\/4″ el_class=”foto”][vc_column_text el_class=”foto” css=”.vc_custom_1639124074089{padding-right: 20px !important;padding-left: 20px !important;}”]\"\"<\/p>\n

Fot. Tomasz Kawka, U\u015a archive<\/em>[\/vc_column_text]\r\n

\r\n
\r\n \r\n

TOMASZ XI\u0118SKI, PhD
\n<\/strong><\/small><\/span><\/p>\n


\n

Assistant Professor, <\/span><\/span>Faculty of Science and Technology<\/p>\n<\/div>\r\n <\/div>\r\n <\/div>[\/vc_column][vc_column width=”3\/4″]\r\n

\r\n
\r\n \r\n

December often puts us in a Christmas mood. We have Saint Nicholas\u2019 Day, Saint Barbara\u2019s Day, and finally preparations for Christmas. But not everyone knows that on 4 December in America, the celebration of Cookie Day was initiated. Who doesn’t like to treat themselves to their favorite type of cookies from time to time \u2013 whether soft or crunchy, salty or sweet, there are so many types that everyone will find something for themselves. Nevertheless, even if we are on a diet, there is a certain type of cookies that we can use in large quantities with impunity – those encountered when browsing the Internet.<\/p>\n

Consent to cookies!<\/span>
\n<\/strong><\/span>Who among us has not at least once come across a message informing that this website uses cookies? Even opening the website of the University of Silesia for the first time (https:\/\/us.edu.pl\/en\/<\/a>), we are greeted by a message saying: “By using this website, you consent to the use of cookies in accordance with the current browser settings\u201d. Of course, the multitude of these messages results primarily from the introduced amendment to the Telecommunications Law (Act of 16 July 2004), and more specifically Articles 173 and 174, in simplified terms, regulating the storage and access to information located in end devices of the users. Although the aforementioned act does not directly mention the concept of cookies, it is here that it is used. Currently, in order to be able to legally use cookies, the user must be clearly and directly informed about them, as well as consent to their use. However, putting aside the legal issues for the moment, have you ever wondered, Dear Reader, what exactly are these cookies?<\/p>\n

Cookies \u2013 a story not from a pastry shop<\/span>
\n<\/strong>Contrary to appearances, the answer to the question posed at the end of the previous paragraph is not so obvious. By typing “What are cookies?” into the search engine, we can find out that these are small text files saved by the website, IT data stored on the user’s end device after visiting a given website on the Internet, or small pieces of information sent by the website. So there seems to be some inconsistency here.<\/p>\n

What can it result from? For example, from the form of storing the mentioned cookies – it does not have to be a collection of text files. You can then imagine a browser that stores all cookies in a dedicated database. However, we usually do not need to worry about the actual implementation by the web browser of how cookies are stored and accessed. Much more important seems to be the answer to the question “Why was this whole mechanism invented?”<\/em>.<\/p>\n

We owe both the term “cookies” and the way they are used on the Internet mainly to the programmer Lou Montulli, who then (in 1994) worked at Netscape Communications Corporation<\/em>. Slightly older readers may even recognise the Mosaic Netscape<\/em> browser released in the 90s (which later changed its name to Netscape Navigator\/Communicator<\/em>). Incidentally, it was the work done by Netscape<\/em> that became the foundation for the creation of the Mozilla Firefox<\/em> browser, which is still popular today. Let’s consider, then, why were cookies used (and are still used today)?<\/p>\n

When browsing websites, we most often use the HTTP protocol (or rather its safer version, HTTPS, which includes encryption). This protocol takes into account a set of unified rules on how communication between the client (web browser) and the server that provides websites should look like. Websites usually have a number of references (commonly referred to as links) to other parts of a given website, or even other interesting resources on the Internet (hence the first letters in the name of the HTTP protocol refer to its so-called hypertext nature). Perhaps you used Wikipedia or another online encyclopedia, and thanks to the numerous links contained in the body of a given article, you could easily go to related additional information. However, HTTP (version 1.X) is said to be a stateless protocol. This means that when going from one website to another (or simply clicking on another link), the protocol itself does not provide us with, for example, tracking or control over the user’s session and their actions on various sections of the website.<\/p>\n

You go to any shop and you find… cookies!<\/span>
\n<\/strong>And it is this possibility of tracking a given user’s session that is the basis for the operation of e.g. any online store. It is this element that allows us (after logging in to the online store) to smoothly navigate through your account or store’s offer, add products to the virtual basket or schedule payment \u2013 all within one shopping process (session). And where are the cookies in all this? It is within cookies that information about a given user session is often stored \u2013 these can be, for example, products added to a shopping cart (in an online store), which we have not bought yet at a given moment, but after a second visit to our account, the same products may still be waiting for us in the basket.<\/p>\n

Similarly, thanks to cookies, we can have our login details remembered \u2013 after all, many websites offer the “remember password” option in the login form, thanks to which we do not have to enter it again after visiting a given website. Of course, there are many more uses of cookies \u2013 adjusting the content of the website to the user’s preferences, helping in collecting visit statistics or better profiling in terms of displayed advertisements. It can therefore be said that the web browser constantly saves some cookies or sends their content to a specific website so that our interaction with websites is free of unnecessary complications.<\/p>\n

More about cookies?<\/span>
\n<\/strong>I encourage more inquisitive Readers to get to know the
RFC6265 specification<\/a>, which defines the so-called HTTP State Management Mechanism, including Cookie and Set-Cookie headers, thanks to which all this (often invisible to us at first glance) communication between the browser and the web server takes place.<\/p>\n<\/div>\r\n <\/div>\r\n <\/div>[\/vc_column][\/vc_row]<\/p>","protected":false},"excerpt":{"rendered":"

[vc_row css=”.vc_custom_1669976999155{margin-bottom: 0px !important;border-bottom-width: 0px !important;padding-bottom: 0px !important;}”][vc_column width=”1\/4″][vc_single_image image=”16858″ img_size=”large” style=”vc_box_rounded”][\/vc_column][vc_column width=”3\/4″][vc_separator color=”custom” accent_color=”#9b132a”][\/vc_column][\/vc_row][vc_row css=”.vc_custom_1669977111578{margin-bottom: 0px !important;border-bottom-width: 0px !important;padding-bottom: 0px !important;}” el_class=”shadow”][vc_column width=”1\/4″ el_class=”foto”][vc_column_text el_class=”foto” css=”.vc_custom_1639124074089{padding-right: 20px !important;padding-left: 20px !important;}”] Fot. Tomasz Kawka, U\u015a archive[\/vc_column_text][\/vc_column][vc_column width=”3\/4″][\/vc_column][\/vc_row] […]<\/p>\n

Read More…<\/a><\/p>\n","protected":false},"author":3553,"featured_media":20073,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_expiration-date-status":"","_expiration-date":0,"_expiration-date-type":"","_expiration-date-categories":[],"_expiration-date-options":[]},"categories":[528,9],"tags":[804,803,680,466],"acf":[],"_links":{"self":[{"href":"https:\/\/us.edu.pl\/wydzial\/wnst\/en\/wp-json\/wp\/v2\/posts\/161861"}],"collection":[{"href":"https:\/\/us.edu.pl\/wydzial\/wnst\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/us.edu.pl\/wydzial\/wnst\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/us.edu.pl\/wydzial\/wnst\/en\/wp-json\/wp\/v2\/users\/3553"}],"replies":[{"embeddable":true,"href":"https:\/\/us.edu.pl\/wydzial\/wnst\/en\/wp-json\/wp\/v2\/comments?post=161861"}],"version-history":[{"count":8,"href":"https:\/\/us.edu.pl\/wydzial\/wnst\/en\/wp-json\/wp\/v2\/posts\/161861\/revisions"}],"predecessor-version":[{"id":162099,"href":"https:\/\/us.edu.pl\/wydzial\/wnst\/en\/wp-json\/wp\/v2\/posts\/161861\/revisions\/162099"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/us.edu.pl\/wydzial\/wnst\/en\/wp-json\/wp\/v2\/media\/20073"}],"wp:attachment":[{"href":"https:\/\/us.edu.pl\/wydzial\/wnst\/en\/wp-json\/wp\/v2\/media?parent=161861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/us.edu.pl\/wydzial\/wnst\/en\/wp-json\/wp\/v2\/categories?post=161861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/us.edu.pl\/wydzial\/wnst\/en\/wp-json\/wp\/v2\/tags?post=161861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}