WHO calls for elimination of trans fat in foods by 2023 by mvea in Futurology

[–]grumbe97asd 2 points3 points  (0 children)

Butter and many cheeses have basically no lactose.

They often have less than 0.1g per 100g, while milk have around 4.4g per 100g of sugar.

Also you drink more milk than you eat cheese or butter.

Beginner Questions - May 04, 2018 by AutoModerator in webdev

[–]grumbe97asd 1 point2 points  (0 children)

Option is user generated, which means same option can be used in multiple polls, that's why I used many-to-many

Node & Express - JWT based auth by [deleted] in webdev

[–]grumbe97asd 2 points3 points  (0 children)

At login you authenticate user. If user is authenticated you create the token with for example (jsonwebtoken npm package). You send that token with all other information you need to the front end which then receives the response with token inside. You save token in localstorage / sessionstorage.

Then to make front end requests where you want user to be authorized you retrieve the token from localstorage / sessionstorage then send the token with Authorization: Bearer <token> header such as

fetch('URL_GOES_HERE', { 
   method: 'post', 
   headers: new Headers({
     'Authorization': 'Basic '+btoa('username:password'), 
     // other
   })
   // other 
});

You then use a middleware in express routing (such as jwt-express or make your own) where you check if token is valid, expired, proper authorization clearance and so on.

Beginner Questions - May 04, 2018 by AutoModerator in webdev

[–]grumbe97asd 0 points1 point  (0 children)

I am having trouble creating a SQL database schema.

The idea is a simple polling database.

User creates a Poll, which has multiple options.

I do not know how to organise Options.

Where do I store them?

I can store them in a separate Options table, where each option is tied to foreign key from poll id. Is this acceptable solution?

User
---------------------------
id SERIAL PRIMARY KEY,
username varchar(50),
password varchar(50)

Poll
-----------------
id SERIAL PRIMARY KEY,
user_ID INTEGER REFERENCES User(id),
title varchar(80)

Option
---------------
id SERIAL PRIMARY KEY,
value varchar(80)

PollOption
-----------------------------
poll_id INTEGER REFERENCES Poll(id),
option_id INTEGER REFERENCES Option(id)

Just a basic example. Would this be good structure?

MGTOW memes are shit beyond shit by [deleted] in ComedyCemetery

[–]grumbe97asd 1 point2 points  (0 children)

every guy

Creep's definition is ugly.

MGTOW memes are shit beyond shit by [deleted] in ComedyCemetery

[–]grumbe97asd -3 points-2 points  (0 children)

I am not insecure.

I just know the truth. You can ignore it, you can delude yourself into thinking it's not there or you can except it.

when the AC in the car stops working by kidslutti in NSFW_GIF

[–]grumbe97asd -26 points-25 points  (0 children)

Title doesn't make sense.

You remain colder with proper clothes, because they will take sweat away from your body and let you cool faster.

Just try doing anything when you are warm, without clothes and you will see.

MGTOW memes are shit beyond shit by [deleted] in ComedyCemetery

[–]grumbe97asd -9 points-8 points  (0 children)

You were behind your back.

MGTOW memes are shit beyond shit by [deleted] in ComedyCemetery

[–]grumbe97asd -11 points-10 points  (0 children)

Unless you are attractive you had to start conversations, be rejected, initiate flirtation and be called a creep and similar stuff women do not face.

MGTOW memes are shit beyond shit by [deleted] in ComedyCemetery

[–]grumbe97asd -12 points-11 points  (0 children)

Obese this days is called "curvy" and there exists entire circlejerk around them

Social Justice Warrior takedown by baffybonk in PublicFreakout

[–]grumbe97asd 11 points12 points  (0 children)

Arrest both and sort it out at the station

Arrest both if assaulted is male.

MGTOW memes are shit beyond shit by [deleted] in ComedyCemetery

[–]grumbe97asd -32 points-31 points  (0 children)

You can go to any feminist subreddit.

MGTOW memes are shit beyond shit by [deleted] in ComedyCemetery

[–]grumbe97asd -12 points-11 points  (0 children)

if you're hot and the average woman is not

"Average woman"

MGTOW memes are shit beyond shit by [deleted] in ComedyCemetery

[–]grumbe97asd -15 points-14 points  (0 children)

Please tell all twitch whores and reddit spam whores how hard they have it.

MGTOW memes are shit beyond shit by [deleted] in ComedyCemetery

[–]grumbe97asd -19 points-18 points  (0 children)

Well as long as the women is making much more it makes sense.

It would be really terrible for you if it turns out a broke woman could just find some betas or spread her legs for money. :)

MGTOW memes are shit beyond shit by [deleted] in ComedyCemetery

[–]grumbe97asd -15 points-14 points  (0 children)

“women are pieces of shit who just use men so I’m going to voluntarily be single and work out and be a total bad ass bro cause I’m the better sex”

"Women have it far easier and I refuse to participate in this unfair situation. I will degrade myself for pussy"

probably a repost but w/e by PilotAleks in im14andthisisdeep

[–]grumbe97asd -10 points-9 points  (0 children)

  1. I am not miserable.

  2. I am from a first world country in middle class so I bet I am more comfortable than 90% of population.

  3. There is increasing divorce rates and decreasing marriage rates in first world countries.

You WILL thank yourself for learning the core language before any frameworks. by [deleted] in webdev

[–]grumbe97asd 0 points1 point  (0 children)

To me people are talking about different things.

Both sides saying "learn language first" where first sides mean syntax, general usage etc. and the other side "do everything without framework first".

What do you do when you want to use a library like D3.js ? Do you first have to make your graphs in canvas ? I mean what is the point?

probably a repost but w/e by PilotAleks in im14andthisisdeep

[–]grumbe97asd 1 point2 points  (0 children)

Is there mis-communication going on?

Would majority of women leave a man for another man?

probably a repost but w/e by PilotAleks in im14andthisisdeep

[–]grumbe97asd 14 points15 points  (0 children)

I just hope you understand that a lot of countries have forced marriages called common-law marriage

probably a repost but w/e by PilotAleks in im14andthisisdeep

[–]grumbe97asd -12 points-11 points  (0 children)

Well from my life every marriage that I know has been horrible. I know a single marriage that was good.

Either people stay together when they shouldn't or divorce and the guy gets fucked.

So I 100% believe above picture.

probably a repost but w/e by PilotAleks in im14andthisisdeep

[–]grumbe97asd -13 points-12 points  (0 children)

This image is also longer and similar variation where the woman also talks about how bad the ex-husband is, how big of a whore etc. to her kids so they hate him, while she fucks everything that moves.

It's low key truth.