avatarJIN

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

7237

Abstract

ing the media world in a fairly unique and trusting way for months now. Most public figures in his position have people advising them on media strategy, what to say, and what not to say — how to frame things so you are not misquoted. Which interviews to take on and which to refuse. Moreover, probably not to allow two solid days behind the scenes to someone who you think may have an agenda.</p><p id="2ef6">As far as I can tell, he doesn’t have this and has embraced and is fully living out his own dictum — “speak the truth and let the pieces fall where they may”.</p><p id="21b3">So far speaking the truth has worked out well for him — he was lucky that Channel 4 News put up the Cathy Newman interview unedited — a decision I’m sure that they quickly regretted. <b>This New York Times piece feels different </b>— that it will solidify impressions of him on either side.</p><p id="6328"><b>“Bad faith changes everything”</b></p><p id="cf22">As Eric Weinstein, Bret’s brother, and another member of the unofficial ‘intellectual dark web’ said — “bad faith changes everything”. It’s possible to have any kind of discussion with people you disagree with so long as they are approaching it in good faith — as soon as they are not, they’re just looking to boost their position, look good in front of others or advance their career within their tribe — as Peterson alleged Cathy Newman was — then true exchange of ideas is impossible.</p><p id="c6f9">I would argue that this journalist is indeed acting in bad faith. Some of the misrepresentations cannot be put down to simple misunderstanding.</p><p id="7c74">The piece of the interview that has been seized upon is this:</p><blockquote id="f129"><p>“Recently, a young man named Alek Minassian drove through Toronto trying to kill people with his van. Ten were killed, and he has been charged with first-degree murder for their deaths, and with attempted murder for 16 people who were injured. Mr. Minassian declared himself to be part of a misogynist group whose members call themselves incels. The term is short for “involuntary celibates,” though the group has evolved into a male supremacist movement made up of people — some celibate, some not — who believe that women should be treated as sexual objects with few rights. Some believe in forced “sexual redistribution,” in which a governing body would intervene in women’s lives to force them into sexual relationships.</p></blockquote><blockquote id="8111"><p>Violent attacks are what happens when men do not have partners, Mr. Peterson says, and society needs to work to make sure those men are married.</p></blockquote><blockquote id="005a"><p>“He was angry at God because women were rejecting him,” Mr. Peterson says of the Toronto killer. “The cure for that is enforced monogamy. That’s actually why monogamy emerges.”</p></blockquote><blockquote id="f00b"><p>Mr. Peterson does not pause when he says this. Enforced monogamy is, to him, simply a rational solution. Otherwise women will all only go for the most high-status men, he explains, and that couldn’t make either gender happy in the end.”</p></blockquote><p id="4fb7">The framing of it makes it sound like he’s advocating for some kind of “government/state enforced” monogamy — which is malicious. He — as anyone who has been listening to his lectures will tell you — is making a more subtle point.</p><p id="924a">That monogamy is an evolved trait to stabilise societies — it’s “enforced” only as a social rule. Many societies in the past have had polygamy or other situations where a small number of men had access to many women (as do many animal societies), and that proved to be unstable and a bad long term solution to social harmony.</p><p id="7529">So in this argument, the reason that monogamy evolves (and is socially enforced) is to avoid the kind of situation where you end up with too many bitter young men wanting to tear things down. Which — whether you agree with his reading or not — seems to be happening.</p><p id="c544">And he also argues — that one of the consequences of the sexual revolution of the 60s is that it has loosened sexual behaviour. When that happens, and there are less social and physiological downsides (pregnancy is not inevitable) — and more sex is being had — the spoils go disproportionately to the most attractive men.</p><p id="7716">He is arguing that there are deeper reasons for the morality that we evolved over our history, and that there are consequences to the kinds of lifestyle experiments that we saw start to accelerate in the 1960s. This is what the essence of Peterson’s message is about.</p><p id="fb0d">You can disagree with Peterson, but many people are recognising that this fits their experience of the world — hence his popularity. That the increasingly boundary-less world we’ve created is not working and we need a reintegration of these traditional values.</p><p id="ad84"><b>Ideological fixation</b></p><p id="89ce">Personally I agree with Peterson that much of our culture and media is in the grip of an ideology that styles itself as open, inclusive and tolerant, but actually has a shadow side of intolerance towards those that don’t share their values.</p> <figure id="3404"> <div> <div> <img class="ratio" src="http://placehold.it/16x9"> <iframe class="" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FaMcjxSThD54%3Fstart%3D1511%26feature%3Doembed%26start%3D1511&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DaMcjxSThD54&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FaMcjxSThD54%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" allowfullscreen="" frameborder="0" height="480" width="854"> </div> </div> </figure></iframe></div></div></figure><p id="731c">One of the sacred cows in this is the belief that the only reason that men and women don’t have equal representation in many industries and top jobs is because of discrimination, not differing choices. This was famously the subject of the clash with Cathy Newman.</p><p id="fc16">If these activists (and the liberal left generally) has to accept that there are measurable differences in temperament, values and life choices made by men and women, and that some of them are likely tied to biology and evolutionary history — then the entire edifice of this ‘gender ideology’ movement starts to shake. We would realise that it would be irrational to expect 50/50 representation in many jobs, for example.</p><p id="8022">And realise that this is not just a social movement — this ideological framing — it’s a big industry. There are charities, organisations and groups that are funded on the basis of this that have huge impact on the media conversation, and business practice.</p><p id="e742">So left-wingers who are usually concerned about the impact of money on ideology and political decisions from corporate interests, might wish to look at the fact that these are major financial interests as well. It is not possible for this entire industry to look at the data accurately.</p><p id="b543">I would also frame it in this way that might resonate

Options

with left-wing thinkers. Why are you using capitalist metrics like pay to decide on whether women have achieved equality? Isn’t that just another version of the ‘patriarchy’ controlling your minds? How has “the man” persuaded you that equal pay is the right metric to look for equal respect and value?</p><p id="b245">What makes women actually fulfilled and gives genuine meaning in life? Is it the same as for men? I doubt it, and I personally know many women who made that realisation too late in life to easily have a balanced life that included children.</p><p id="5cc1">But anything that argues against leftist ideology is attacked and smeared. For example the infamous ‘Google memo’ was a case in point, being described as an ‘anti-diversity screed’ throughout the media despite the author, James Damore, specifically making suggestions that would increase the representation of women in tech. This article from the Atlantic — from a writer who doesn’t agree with Damore’s conclusions — gives good context to its misrepresentation: “To me, the Google memo is an outlier — I cannot remember the last time so many outlets and observers mischaracterized so many aspects of a text everyone possessed.”</p><p id="3999">Liberalism as an ideology, with those inside and outside the tribe. Those outside the tribe, like Peterson — deserve scorn, derision, and even misrepresentation.</p><p id="11cc">Another hard to explain mischaracterisation, if the journalist had any familiarity with Peterson’s work is this:</p><blockquote id="33b8"><p>“Mr. Peterson illustrates his arguments with copious references to ancient myths — bringing up stories of witches, biblical allegories and ancient traditions. I ask why these old stories should guide us today.</p></blockquote><blockquote id="f195"><p>“It makes sense that a witch lives in a swamp. Yeah,” he says. “Why?”</p></blockquote><blockquote id="69ec"><p>It’s a hard one.</p></blockquote><blockquote id="0ac8"><p>“Right. That’s right. You don’t know. It’s because those things hang together at a very deep level. Right. Yeah. And it makes sense that an old king lives in a desiccated tower.”</p></blockquote><blockquote id="fc08"><p>But witches don’t exist, and they don’t live in swamps, I say.</p></blockquote><blockquote id="e8f8"><p>“Yeah, they do. They do exist. They just don’t exist the way you think they exist. They certainly exist. You may say well dragons don’t exist. It’s, like, yes they do — the category predator and the category dragon are the same category. It absolutely exists. It’s a superordinate category. It exists absolutely more than anything else. In fact, it really exists. What exists is not obvious. You say, ‘Well, there’s no such thing as witches.’ Yeah, I know what you mean, but that isn’t what you think when you go see a movie about them. You can’t help but fall into these categories. There’s no escape from them.”</p></blockquote><p id="3287">He is deliberately framed here as an old crank, an eccentric who believes in dragons and witches. Yet throughout his lectures he has made clear he is talking psychologically, archetypally and mythologically.</p><p id="67f0">In this view they exist in our mythology in a very real way as representations of psychological realities, for example that the dragon is the mythological representation of the ‘unknown’. Throughout our history if you ventured out into the unknown you could die — but there was no other way to discover new information or new rewards.</p><p id="cc2a">So the dragon is a composite predator of all the animals that used to prey on humans — a cat/snake/bird — and of course in mythology dragons have gold (or virginal women in captivity). The deep psychological story is that by confronting the unknown, you can achieve riches. He’s made that abundantly clear in every lecture.</p><p id="2105">What is becoming ever clearer (and again is something Peterson points out) — the death spiral of the print media is speeding up polarisation — in even the most reputable organisations such as the New York Times start to produce clickbait such as the Jordan Peterson article.</p><p id="4e32">Perhaps the New York Times have decided to take a leaf out of the book of the 4chan culture, and provocateurs like Milo Yiannopolous who made whole careers out of provoking the left into overreaction. In this case — the NYT have placed this article behind a paywall (I’m told) — so to read it, outraged Peterson fans will have to subscribe to the paper.</p><p id="255f">Then to unsubscribe — I know because I just checked — you cannot unsubscribe online, you have to call them. This seems at least unethical.</p><p id="5aaf">The most dangerous part of this whole enterprise is that Peterson has now become pretty much the singular focus of the ramping up of the culture wars — the lightning rod, if you will. Articles like this add hugely to the polarisation he warns about.</p><p id="46ed">On one side you have literally tens of thousands of people (mainly, but not all men) who have had their lives changed, and many claiming actually saved, by listening to Jordan Peterson’s words. On the other side you have a mix of hard core ideological opponents to him, and a vast middle ground who don’t know him well — but are almost certainly thinking that there is no smoke without fire.</p><p id="6c75">He has argued frequently that we are in an increasingly polarised world and that individual actions can have serious consequences, if we don’t act with integrity, or we sacrifice our morality and conscience in any way.</p><p id="c074">This journalist spent two days with Peterson in his house, she seemingly has some familiarity with his work, and yet chooses to characterise him in this way.</p><p id="9c1a">The treatment of Jordan Peterson is speeding up the irrelevance of the mainstream media at an increasing rate. Too many people are aware of his work and who he is and what he believes for the hit pieces to stick.</p><p id="3463">In the language of the internet subculture — the treatment of Jordan Peterson by the mainstream media is showing up their ideology, and Red Pilling an entire generation.</p> <figure id="41f6"> <div> <div> <img class="ratio" src="http://placehold.it/16x9"> <iframe class="" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FYDxl1stMTCU%3Fstart%3D193%26feature%3Doembed%26start%3D193&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYDxl1stMTCU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FYDxl1stMTCU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" allowfullscreen="" frameborder="0" height="480" width="854"> </div> </div> </figure></iframe></div></div></figure><p id="8453">For more documentaries and interviews, check out the <a href="https://www.youtube.com/channel/UCFQ6Gptuq-sLflbJ4YY3Umw?view_as=subscriber">Rebel Wisdom Youtube channel</a>.</p><p id="0b51">My personal website: <a href="http://davidfuller.tv/">http://davidfuller.tv/</a></p><p id="a4b2">And please consider <a href="https://www.patreon.com/rebelwisdom">supporting us on Patreon</a>.</p></article></body>

Photo by Ed Hardie on Unsplash

The Difference Between Cookie, Session, and Tokens

Cookie —Maintain the active state between the server and the client Session — Record the server and client session states Token — A string generated by the server

Please support me if you feel that I contribute value to you!

My dad was detected with recurrent extrahepatic cholangiocarcinoma last week. I will reduce the frequency of sharing here.

You can read my article to have a better understanding.

Cookie V.s Session

Cookie

  1. Create a cookie
  2. Update a cookie — Update the key value
  3. Delete cookies — set the expiry date to the cookie

1. name=value;

2. expires=date;

3. path=path;

4. domain=domain;

5. secure

6. maxAge

7. HTTP only

  • The cookie records your login information, browsing activities, online activities, purchase activities, devices, etc.
  • Essential cookies — Stored on your local storage, focus on user experience
  1. Session cookies — Keep you logged in to your account when browsing a webpage
  2. User-input cookies — Keep track of items that the user inputs to your website
  3. Authentication cookies — Identify users through their login credentials
  4. User-centric security cookies — Detect authentication errors and abuses, such as incorrect login details
  5. Load-balancing cookies — Connect between the client and server
  • Non-Essential Cookies — Only stored on the local storage when the user allows
  1. Analytics and customization cookies — Track user’s browsing activities
  2. Advertising cookies — Customize a user’s ad experience based on their browsing history
  3. Social networking tracking cookies — Share activity between a website and social media (third-party platform)
  • Feature-led consent or user-led consent — The setting the user wants the website to work
  1. Multimedia content player session cookies (flash cookies) — Store data (image quality, playback speed, buffering parameters, etc) to play back video or audio content
  2. User-interface customization cookies — Store user-experience preferences
  • The server will check if there are any cookies left from the last time. If there is, it reads the data in the cookie to determine the user and deliver the corresponding webpage content, either allowing you to log in without a username and password or displaying the content on the webpage you prefer.
  • If there is not, the server generates cookies when processing the client’s request. The cookie information will be added to the response header. The client receives a response and creates a cookie and stores it locally The next time the client makes a request, the cookie will be sent to the server together.
  • What data is stored in the cookies is very important because it can increase web performance.

The application scenario

  1. Customize the content according to the user’s preferences
  2. Realize permanent login (login directly)
  3. Simplify the login process
  4. Implement automatic login
  5. Record the visit count
  6. Implement pop-up functions

Session

  • The server records the client information in the way called session.
  • When the client accesses the website again, the server only finds the status of the client by looking up the session information.
  • The session = a user profile created on the server
  • To get a higher access speed, the server generally stores the session information in memory. Each user will have a separate session. If the session content is too complex, it may cause a buffer overflow when a large number of clients access the server. However, if there are too many sessions stored in the server's local storage, it may affect the server's performance. Therefore, the session information should be as concise as possible.
  • The session is automatically created when the client sends a request to the server for the first time. After the session is generated, the server will update the last access time of the session as long as the user continues to access it. When the number of users accesses the server, there will be many sessions because each user will have a separate session. To avoid buffer overflow, the server deletes sessions that have not been active for a long time (session timeout).

Common Method of Session

Image Credit: Oracle

The differences between sessions and cookies

  • The session is stored on the server. The cookie is stored on the client.
  • The session uses a session ID to look up information. The cookie will be sent to the server along with the request. The session id is included in the cookie because the session requires the support of the client to use the cookie as an identifier. In other words, the session can identify if it is the same user based on the cookie.
  • Cookies are not very safe because someone can analyze the cookie and perform cookie spoofing.
  • When the number of visits increases, it affects the performance of the server because each user has a separate session, and session information will be stored on the server for a certain period of time.
  • A single cookie data size cannot exceed 4K. Many browsers limit to store at most 20 cookies on the client side. But, many browsers have no restrictions on the server side.

Token

It is the way to verify the user’s identity

  • user’s unique identity (uid)
  • Timestamp of the current time (time)
  • signature (a string of a certain length of hexadecimal characters by the first few digits of the token)
  • Invariable parameter (avoid multiple database searches)

Process:

  1. The server generates a token value by using a hashing algorithm and then returns the token value to the client when the user logs in successfully for the first time.
  2. After the client gets the token value, it stores it locally
  3. When the client requests again, it attaches the token value with the request and sends it to the server
  4. After the server receives the client’s request, it will extract the token value and compare it with the token value stored locally on the server
  5. Token value from client = Token value from the server — The user is logged in successfully
  6. Token value =/ token value from the server — The original login information has expired, and the user is required to log in again
  7. No such token value — the login is not successful

The Difference between Token and Session

  1. The security of the token is better than the session because each request has a signature and it can avoid malicious attacks, while the session only relies on the communication link to ensure security
  2. Mobile apps generally use RESTful API to deal with the server. So, mobile apps don’t use a cookie to run the session like the browser. So it is enough to use the token to identify itself. Token can provides authentication and authorization. Authentication is for users and authorization is for mobile apps. So that, mobile apps can access user information. Also, the token is unique because it cannot be transferred to other apps and other users. If the user information may need to be shared with a third-party app, the API interface is allowed to authorize the use of tokens. Cookies include the session ID and login information and are stored on the client's local storage. The session will look up the session ID to establish a communication link. When the user makes a request, the cookie is sent to the server for processing, either login in automatically or displaying the preferred content.
  3. The token can resist cross-site request forgery (CSRF), but the combination of cookie and session mechanisms cannot do so. When users visit a bank webpage, they are vulnerable to CSRF and can be exploited to visit other websites.

The Difference between Token and Cookie

  1. Token and cookies are issued by the server when you log in for the first time. Both are used for verification and provide a persistence mechanism for stateless HTTP.
  2. Tokens can exist anywhere, but the cookie is stored only on the client’s local storage
  3. The token is used to log in automatically by informing the server who it is.
  4. Cookies cannot be shared across multiple applications. If single sign-on (SSO) is implemented, it is difficult to use cookies to log in once to access all mutually trusted application systems.
  5. There are no cookies in the request of the mobile terminal. Session ID depends on the cookie, so the session ID cannot be accepted by the cookie. The token does not store the session on the server's local storage, so it is highly scalable. The token is used in most mobile apps.

References

https://ponyfoo.com/articles/json-web-tokens-vs-session-cookies

If you’ve found any of my articles helpful or useful then please consider throwing a coffee my way to help support my work or give me patronage😊, by using

Patreon

Ko-fi.com

buymeacoffee

Last but not least, if you are not a Medium Member yet and plan to become one, I kindly ask you to do so using the following link. I will receive a portion of your membership fee at no additional cost to you.

Authentication
Web Development
Front End Development
Software Development
Login
Recommended from ReadMedium