thread_id
stringlengths 6
6
| question
stringlengths 1
16.3k
| comment
stringlengths 1
6.76k
| upvote_ratio
float64 30
396k
| sub
stringclasses 19
values |
---|---|---|---|---|
upbhw0 | Why is that insulting, and should it be insulting?
I don’t understand why that’s so commonly used as an insult. | Many people think if someone is a virgin it's because they couldn't find anyone who wants to have sex with them, or that there is something wrong with them.
So by calling someone a virgin people are actually implying they are unattractive/have got no game/are weird | 590 | NoStupidQuestions |
upbhw0 | Why is that insulting, and should it be insulting?
I don’t understand why that’s so commonly used as an insult. | Because some people suck and are immature and can't just mind their business, having to put others down to make themselves feel good | 140 | NoStupidQuestions |
upbhw0 | Why is that insulting, and should it be insulting?
I don’t understand why that’s so commonly used as an insult. | Men use it as an insult to belittle other men “you’re less of a man than me because you can’t get laid”.
Women tend to do the opposite, calling other women sluts as an attempt to insult their honour. | 130 | NoStupidQuestions |
upbiiw | In [first image](https://imgur.com/gallery/4cuI5O8) i used range in "for loop" and it worked properly but if use exp in [second image](https://imgur.com/gallery/4cuI5O8) which is also an iterator then why can't i use it directly instead of range. In [third image](https://imgur.com/gallery/4cuI5O8) as you can see i used the exp instead of range and it worked compeletly fine. I am totally confused can someone help. | When you remove the range call from the for loop you need to also remove the index call from inside. So this:
for i in range(len(data)):
print(data[i])
will become this:
for i in data:
print(i)
In your case you need both the index AND the value, so you should use the enumerate() function to get both of those. | 40 | LearnPython |
upbq3f | I have a female moustache. I often get picked on for it, but I think it makes my face look better. Should I shave it? | I've never seen a girl with a mustache that looks good. That's my take. But I haven't see your face before so I can't judge. Do what you want with your face. | 700 | NoStupidQuestions |
upbq3f | I have a female moustache. I often get picked on for it, but I think it makes my face look better. Should I shave it? | Depends on what your goals are. | 600 | NoStupidQuestions |
upbq3f | I have a female moustache. I often get picked on for it, but I think it makes my face look better. Should I shave it? | It doesn't matter whether your moustache is a female or a male. Just make sure you don't feed it after midnight. | 530 | NoStupidQuestions |
upbt6d | Hey, I have a problem in a task I’ve been tried to handle with. The task goes like this: the user enters a sentences from maximum 9 words. And I need to convert the sentence into a matrix that the number of rows is as the number of words and the number of columns is 26 (as the alphabet a,b,c…).I guess you see where it’s going…
I need to convert each letter that it will be in the index as the index of it in the alphabet.
Example: “my name is alex”
my - will be stored in row 0
And ‘m’ will be stored in column 12, etc…
I’ve tried to handle with it in this way: first of all I’ve converted the sentences into a list of it self that each word will be stored as an object in the list (without spaces), second I’ve handled that all the letters will be set to
Lower case. Btw if there is a word with the same latter a lot of times it will just add the index of it.
But the main problem remains to convert the words into the given matrix, no matter what I’ve done tried to use 2d loops but it just doesn’t gives me the right answer.
Help please 😭😭😭😭😭 | Show us the code you have, and the result matrix you would like from your example. | 30 | LearnPython |
upbu0n | What critically acclaimed movie do you most regret wasting your time watching? | Avatar.
Revolutionary? Yes. Visually stunning? Sure.
Plot? Fern Gully did it better and in half the time. | 2,460 | AskReddit |
upbu0n | What critically acclaimed movie do you most regret wasting your time watching? | Cloud atlas.
I had no problem following it, I just thought it was boring. | 800 | AskReddit |
upbu0n | What critically acclaimed movie do you most regret wasting your time watching? | The English patient. Good I hated that movie. | 780 | AskReddit |
upbx5a | Hello.
I recently came across a code, that sorts string which looks like this,
std::vector<std::string> lines;
//insert data into lines
std::sort(lines.begin(), lines.end());
for(auto&& line : lines) //how is && being evaluated here?
{
std::cout << line << '\n';
}
How does && work there, I searched for few articles and they seamed out of reach of my understanding. I have basic idea of how references work.
I'd be really glad if someone helped me understand both & and && references, if possible, in their own words or I'd like article suggestions as well.
Thank you. | The reason you want to use a universal reference rather than an l value reference when you want to modify the element, is that it is possible for a container's iterator to not return a reference when it is dereferenced. In this case, using an l value reference will not compile because you can't bind a non-const reference to a value returned from a function.
The canonical example of this is with vector<bool>. The object you get when you try to iterate over a vector<bool> is not a bool& as you might expect. It is instead a special proxy object. And so using for (auto& iter : myBoolVector) won't compile. auto&& will compile because it can bind to anything and do the right thing. const auto& will also compile because there are special rules for const references extending the lifetime of temporary objects. But of course you can't use that to modify the elements.
Now you might ask "Why not use auto& until I get a compilation error and then add the extra ampersand?" And to that I would say because that is always going to be more work than just using auto&& all the time. auto&& will always work and it will always be correct. Also there is a argument for consistent and simple rules. const auto& for non modifying for loop. auto&& for modifying for loop. Simple. | 80 | cpp_questions |
upbx5a | Hello.
I recently came across a code, that sorts string which looks like this,
std::vector<std::string> lines;
//insert data into lines
std::sort(lines.begin(), lines.end());
for(auto&& line : lines) //how is && being evaluated here?
{
std::cout << line << '\n';
}
How does && work there, I searched for few articles and they seamed out of reach of my understanding. I have basic idea of how references work.
I'd be really glad if someone helped me understand both & and && references, if possible, in their own words or I'd like article suggestions as well.
Thank you. | It’s officially called forwarding reference. It can bind to lvalues or rvalues, at compile time. In this case, it will bind to an lvalue and translate to for(string& line : lines) | 70 | cpp_questions |
upc0nr | Is it some kind of container your put milk into? Similar to Canada with their milk bags?
For reference, in the UK most milk is sold in [plastic bottles with handles. ](https://www.google.com/search?q=milk+plastic+bottle&tbm=isch&ved=2ahUKEwib6oSVut73AhUHGRoKHdFwBcwQ2-cCegQIABAC&oq=milk+pl&gs_lcp=ChJtb2JpbGUtZ3dzLXdpei1pbWcQARgAMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQ6BAgjECc6BAgAEEM6BAgAEAM6CwgAEIAEELEDEIMBUKEIWIAnYLcvaAFwAHgAgAFbiAHKBpIBAjEwmAEAoAEBwAEB&sclient=mobile-gws-wiz-img&ei=Zlh_YpufG4eyaNHhleAM&bih=598&biw=360&client=ms-android-huawei-rev1&prmd=isnv&hl=en) | A milk jug is what you linked | 1,450 | AskAnAmerican |
upc0nr | Is it some kind of container your put milk into? Similar to Canada with their milk bags?
For reference, in the UK most milk is sold in [plastic bottles with handles. ](https://www.google.com/search?q=milk+plastic+bottle&tbm=isch&ved=2ahUKEwib6oSVut73AhUHGRoKHdFwBcwQ2-cCegQIABAC&oq=milk+pl&gs_lcp=ChJtb2JpbGUtZ3dzLXdpei1pbWcQARgAMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQ6BAgjECc6BAgAEEM6BAgAEAM6CwgAEIAEELEDEIMBUKEIWIAnYLcvaAFwAHgAgAFbiAHKBpIBAjEwmAEAoAEBwAEB&sclient=mobile-gws-wiz-img&ei=Zlh_YpufG4eyaNHhleAM&bih=598&biw=360&client=ms-android-huawei-rev1&prmd=isnv&hl=en) | That thing you linked to, we'd call a milk jug. It comes to the store filled, we don't put milk in it ourselves.
Cardboard milk containers are called "cartons".
Glass delivery bottles are basically antiques, you would have to go looking for someplace that used them. (If anywhere had British style milk floats, as opposed to trucks, I have never heard of it.)
The large metal drum-style things you see at farms, my people would call a canister.
I've never personally seen a plastic bag of milk for retail use (certain milk dispenser units in cafes, etc used to use large ones with attached spouts). As you say, its a Canadian thing, and a big deal is made about it. | 440 | AskAnAmerican |
upc0nr | Is it some kind of container your put milk into? Similar to Canada with their milk bags?
For reference, in the UK most milk is sold in [plastic bottles with handles. ](https://www.google.com/search?q=milk+plastic+bottle&tbm=isch&ved=2ahUKEwib6oSVut73AhUHGRoKHdFwBcwQ2-cCegQIABAC&oq=milk+pl&gs_lcp=ChJtb2JpbGUtZ3dzLXdpei1pbWcQARgAMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQ6BAgjECc6BAgAEEM6BAgAEAM6CwgAEIAEELEDEIMBUKEIWIAnYLcvaAFwAHgAgAFbiAHKBpIBAjEwmAEAoAEBwAEB&sclient=mobile-gws-wiz-img&ei=Zlh_YpufG4eyaNHhleAM&bih=598&biw=360&client=ms-android-huawei-rev1&prmd=isnv&hl=en) | Lol no way | 180 | AskAnAmerican |
upc1bw | At 7 years old I was kidnapped by my mothers drug dealer. He knew I was starving and asked if I wanted to get groceries with him. I knew we were not going back at some point. I remember him getting gas and thinking I could run to the pay phone and call 911. Except I knew he would catch me. He pornographed me and tried to sell me on several occasions. At one point, a female noticed me traveling with a much older male and reported me to the police. My own mother had yet to report me missing. Days had gone by at this point. He knew she was reporting him and he fled. I remember thinking I was going to die. He drugged me and the next thing I remember was waking up naked to firemen wrapping me in aluminum blankets to cover my naked body. I was later told that I was payment for a drug debt my mother owed. I have no idea what happened to my kidnapper. I do know he hurt other kids because he told me about them. I know the statistics of me surviving this are extremely rare. I’ve never met a kidnapping survivor. I’m thankful every day to be alive. | How has this affected your relationship with your mom? Has it affected your everyday life now? I’m sure it has to some extent, I can’t imagine that just goes away.. although I know a lot of my trauma’s details are kind of blocked from memory which I think helps cope. Is this the case for you? I’m so sorry you had to go through that though, OP. Hugs | 1,070 | AMA |
upc1bw | At 7 years old I was kidnapped by my mothers drug dealer. He knew I was starving and asked if I wanted to get groceries with him. I knew we were not going back at some point. I remember him getting gas and thinking I could run to the pay phone and call 911. Except I knew he would catch me. He pornographed me and tried to sell me on several occasions. At one point, a female noticed me traveling with a much older male and reported me to the police. My own mother had yet to report me missing. Days had gone by at this point. He knew she was reporting him and he fled. I remember thinking I was going to die. He drugged me and the next thing I remember was waking up naked to firemen wrapping me in aluminum blankets to cover my naked body. I was later told that I was payment for a drug debt my mother owed. I have no idea what happened to my kidnapper. I do know he hurt other kids because he told me about them. I know the statistics of me surviving this are extremely rare. I’ve never met a kidnapping survivor. I’m thankful every day to be alive. | Well i don't have much to say other then, you should have a lovely and happy life, and take my free reward | 380 | AMA |
upc1bw | At 7 years old I was kidnapped by my mothers drug dealer. He knew I was starving and asked if I wanted to get groceries with him. I knew we were not going back at some point. I remember him getting gas and thinking I could run to the pay phone and call 911. Except I knew he would catch me. He pornographed me and tried to sell me on several occasions. At one point, a female noticed me traveling with a much older male and reported me to the police. My own mother had yet to report me missing. Days had gone by at this point. He knew she was reporting him and he fled. I remember thinking I was going to die. He drugged me and the next thing I remember was waking up naked to firemen wrapping me in aluminum blankets to cover my naked body. I was later told that I was payment for a drug debt my mother owed. I have no idea what happened to my kidnapper. I do know he hurt other kids because he told me about them. I know the statistics of me surviving this are extremely rare. I’ve never met a kidnapping survivor. I’m thankful every day to be alive. | You mentioned in another comment that you have kids. Will you tell us about them? What do you love most about your life now?
Thank you for doing an AMA and sharing your experiences. <3 | 210 | AMA |
upc8s7 | Why do people care about Reddit karma? | Same reason people care about any likes or hearts or votes on any social media platform. Just the basic feeling of “people agree with me” or “people like what I’m making”. | 310 | NoStupidQuestions |
upc8s7 | Why do people care about Reddit karma? | I don't really have friends so it's nice to get the engagement and interaction. Makes me feel better. | 200 | NoStupidQuestions |
upc8s7 | Why do people care about Reddit karma? | I don't really care about it, but it makes me feel nice to know that sometimes people agree with what I say. It's strangely helped out my anxiety some. | 160 | NoStupidQuestions |
upc9q1 | Does anyone know of any websites with prebuilt demo C# application that prompts you with a task to complete? I feel like it would be good preparation for a real work environment.
https://www.sql-practice.com/ has this feature for SQL. I also literally just found it 2 minutes before making this post. | Codewars has coding challenges, l guess that's what you mean. | 40 | LearnProgramming |
upcczz | What are you addicted to? | Daydreaming and Staying in bed. I am destroying my life because I can't find motivation. Once I get up and see my friends, I am perfectly happy and totally mentally present. But unless someone drags me out of bed, I can't find a reason to get up. | 1,850 | AskReddit |
upcczz | What are you addicted to? | that extra five minutes sleep (that turns out to be an hour) | 1,220 | AskReddit |
upcczz | What are you addicted to? | Sadly to refined sugar | 560 | AskReddit |
upckn7 | My mom was honestly my absolute best friend and I am so overwhelmed. The planning and most of the logistical things are done, and now I'm just left with nothing to focus on but how much I miss her and how much I want to text her for advice. Taking care of my dad has also become a full time job, and I am fucking exhausted. It's only been a little over two weeks and the days to come seem impossible to imagine. What do I do? When will this get better? | One day at a time. Eventually they get a little easier, but it takes time. You could also write to her, to get things out of your head. I would put my letters in an envelope, and "mail" them in a campfire... Writing out your Dad's schedule may help to get a routine going too. Good luck OP. | 30 | AMA |
upcml3 | what would you do If you are on a date and your Ex show up at the window singing "Sweet little do-dee-do-dee"? | Laugh | 30 | ask |
upcr3p | For what I'm working on, I have an imported PANDAS dataset csv with many columns, but two specifically I am working with: 'People' & "Successrate'. There are thousands of rows of data, and names are repeated many times in the 'People' column with respective success rates. Overall, my goal is to find the average success rate for each person in the 'People' column. While I feel like I'm sort of on the right track, I need some input please.
&#x200B;
group = df.groupby(df\['People'\])
group\['Sucessrate'\].value\_counts().loc\[\['Gerald Farrell (18-25)'\]\]
&#x200B;
The issue I'm having is that each person's name by default also has the Success wins vs losses in it. This is making it a lot harder for me to do my plan of grouping them and then doing .mean(). Is there any way that I can have python just collect all of the 'Successrate' data for Gerald Farrell by searching anything in the 'People' column with that partial string? If not, what would you recommend I do? I am happy to discuss in the comments! | regular expressions are the move here, there's a bit of a learning curve but they're not as bad as they seem (they look cryptic). Here's a regex example to pull out the numbers:
>>> import re
>>>
>>> s = 'Gerald Farrell (18-25)'
>>>
>>> re.findall('\((\d+)-(\d+)\)', s)
[('18', '25')]
you could apply regex and do cool stuff:
>>> import pandas as pd
>>>
>>> rows = [
... {'name': 'Gerald Farrell (18-25)'},
... {'name': 'Bob Ross (1-42)'},
... {'name': 'Mickey Mouse (23-23)'},
... ]
>>>
>>> df = pd.DataFrame(rows)
>>> df
name
0 Gerald Farrell (18-25)
1 Bob Ross (1-42)
2 Mickey Mouse (23-23)
>>>
>>> df['wins'] = df['name'].apply(lambda x: re.findall('\((\d+)-\d+\)', x).pop()).astype(int)
>>> df['losses'] = df['name'].apply(lambda x: re.findall('\(\d+-(\d+)\)', x).pop()).astype(int)
>>> df
name wins losses
0 Gerald Farrell (18-25) 18 25
1 Bob Ross (1-42) 1 42
2 Mickey Mouse (23-23) 23 23
>>>
>>> df['name_clean'] = df['name'].apply(lambda x: re.findall('(.+)\(\d+-\d+\)', x).pop().strip())
>>> df
name wins losses name_clean
0 Gerald Farrell (18-25) 18 25 Gerald Farrell
1 Bob Ross (1-42) 1 42 Bob Ross
2 Mickey Mouse (23-23) 23 23 Mickey Mouse
>>>
>>> df['total'] = df['wins'] + df['losses']
>>> df['success_rate'] = df['wins'] / df['total']
>>>
>>> df
name wins losses name_clean total success_rate
0 Gerald Farrell (18-25) 18 25 Gerald Farrell 43 0.418605
1 Bob Ross (1-42) 1 42 Bob Ross 43 0.023256
2 Mickey Mouse (23-23) 23 23 Mickey Mouse 46 0.500000 | 30 | LearnPython |
upcrol | Hey people, i want to know if learning ruby on rails is easier for a complete beginner than javascript and also if building website with ror is faster than with js? | If you are a complete beginner then I think I need to explain a few things.
Ruby and JavaScript are programming languages. “Ruby on rails” is a backend framework, written in Ruby.
Your starting place will be learning a language, not a framework.
Ruby is a nice readable language and there was a bit of a fad about 10 years ago to use it as a first programming language to help people learn the fundamentals of programming without the complexity of a harder to understand language.
Once you learn programming fundamentals, any language will be relatively easy. Learning the first language is hard.
However Ruby is not used very much, while JavaScript is. There are more resources available to help learn & practice JS. And JavaScript has evolved a lot over the last ten years, is better than it used to be.
In terms of how fast to build a website… JavaScript is a full-stack language that can be used both on front end and backend, is almost always used for the front end of websites , but Ruby is usually just used for backend. So if you want to build a website you’ll most likely need to use JS for the front end.
If you want the fastest way to build a website, use a no-code solution like Wix or wordpress. | 40 | LearnProgramming |
upcxci | Hello,
I'm looking for a book, site or any other resource to learn C++ doing exercises but I can't find any.
Do you know if there is something like what I need?
I think it is the best option to learn a new language.
Thanks! | If you are familiar with the logic of coding in general I would recommend the book "c++ crash course" by josh lespinoso. It is a bit fast-paced but it helped me so much. I am a software engineering student and at the beginning of the semester I got to learn c++. My course was kinda following that book (not officially, I learned from that book on my own) and it was really helpful for me.
Ofc there are web sites like codingame.com and codewars.com for more practical use of programming languages. hope this helps, good luck! | 40 | LearnProgramming |
upcxks | New grad currently working as a developer for a large company doing essentially website maintenance and small feature upgrades for multiple sites. The work is boring and isn't challenging. The environment is really chill and people are good to work with. A bit disorganized at times but what workplace isn't.
Got an offer from a smaller company as a .NET developer. Working on internal tools and applications for throughout the business. Whether that is theirs labs, manufacturing, payroll, etc. Pay is the same but benefits are substantially less.
My current employer is offering me a raise, flexible schedule, team mobility, basically anything I'd like to stay. Which is enticing. But I'd be stuck still doing web development and maybe some Java application maintenance.
I really like the C# .NET environment. And I see a lot of value in gaining experience as a .NET developer.
Right now I'm leaning towards the .NET dev position. Because that's the tech I'm interested in and I'd like to pursue a career in. But I'm also absolutely considering my employers offer.
Is there anything else I should consider in my decision making. And which should I value more as a new grad. The tech or the compensation?
TLDR: Employer offering me more $$ to do boring job. Got offer to do more interesting work for less $. What to do? | Third option: find another job that meets both criteria.
Fourth option: tell the new job that you’d need to be paid as much (or more) than your current employer is offering. | 80 | CSCareerQuestions |
upcxqr | how important are the extra-curricular activities in your college in terms of your resumee?
I'm an introvert and have a hard time mixing up with people so it's an alien concept to me. But I've been working on it and have already participated in some activities at my campus but they leave me pretty exhausted so I'm wondering if these activities are important at all but in terms of getting a good job (sure they are for socializing and getting out of your shell).
are there people who went through this experience who could advice not only me but other fellow introverts who have a hard time getting out of their shell and it may affect their future prospects of a decent job. | 100% padding and irrelevant but projects might be useful if relevant to the role. | 30 | CSCareerQuestions |
upczxp | Do we need parasites? Are leeches and ticks necessary? If we eradicated botfly would another species suffer? | There is some speculation that the eosinophilic aspect of the human body which functions to target parasites (and is also responsible for the development of allergies, asthma, and other “histamine” related conditions) needs exposure to parasites and other infections to be properly trained.
In the modern world, we have barely any exposure to parasites, so the theory is that the eosinophilic arm of the immune system doesn’t have anything to target, so it’s more prone at targeting the “self” which contributes to allergies and asthma and eczema, etc.
This is corroborated by the finding that the developed world has significant rates of these conditions whereas parts of the world that are much less developed and do regularly encounter parasites have minimal rates of these conditions. | 3,910 | AskScience |
upczxp | Do we need parasites? Are leeches and ticks necessary? If we eradicated botfly would another species suffer? | In general, parasites are essential for the balance of life on the planet. I'm sure everyone has heard of the "[zombie fungus](https://en.m.wikipedia.org/wiki/Ophiocordyceps)" that kills ants. That's just an example of what happens when overpopulation becomes an issue. Now obviously stressed environments can exacerbate the effects of parasites and lead to decimation of populations. [Chytrid fungus](https://en.m.wikipedia.org/wiki/Chytridiomycosis) in amphibians is a good example.
As far as individual species of parasites, eliminating one probably won't matter, Nature abhorring a vacuum and all that but in total we absolutely need parasites.
A fun read on this topic is [Parasite Rex](https://en.m.wikipedia.org/wiki/Parasite_Rex), it's probably one of my favorite books. | 3,600 | AskScience |
upczxp | Do we need parasites? Are leeches and ticks necessary? If we eradicated botfly would another species suffer? | It may not be strictly necessary, but you could argue it's beneficial. I once heard on a radiolab podcast that mosquitos are responsible for keeping areas of the amazon rainforest free from human interference. The wildlife population there is largely unaffected by the mosquitos but any human is quickly covered in bites which are at best, annoying, and at worst, deadly.
[https://www.npr.org/2008/07/30/93049810/three-nice-things-we-can-say-about-mosquitoes](https://www.npr.org/2008/07/30/93049810/three-nice-things-we-can-say-about-mosquitoes) | 200 | AskScience |
upd9sc | If Cinderella’s shoe fit her perfectly, then why did it fall off? | Because in the original Brothers Grimm version it doesn’t “fall off”. The prince puts down tar paper to capture Cinderella against her will and when the shoe gets stuck she leaves it behind in order to escape. | 300 | AskReddit |
upd9sc | If Cinderella’s shoe fit her perfectly, then why did it fall off? | The heat from all the dancing caused thermal expansion in the glass. | 290 | AskReddit |
upd9sc | If Cinderella’s shoe fit her perfectly, then why did it fall off? | Because it was NOT a fucking shoe.
It was a slipper. | 220 | AskReddit |
updb17 | how can i get back my permanently deleted google docs please help me those were very important docs | making a new topic won't change the answer [you got in the first topic](https://www.reddit.com/r/AndroidQuestions/comments/unyuji/docs/) | 40 | AndroidQuestions |
updb17 | how can i get back my permanently deleted google docs please help me those were very important docs | The clue is in the name.
Permanently deleted | 30 | AndroidQuestions |
updb7f | why don't people care when they ask you how are you, and instead how are you is a greeting, I have always lied and said I am fine because people make it worse or make you feel worse if you don't say fine, or they genuinely don't care, if you don't care, why ask, it's not polite at all | *stares in British * | 200 | ask |
updb7f | why don't people care when they ask you how are you, and instead how are you is a greeting, I have always lied and said I am fine because people make it worse or make you feel worse if you don't say fine, or they genuinely don't care, if you don't care, why ask, it's not polite at all | Nobody is fine. We’re all just doing our best not to burst into tears or scream at strangers in the street. “How’re you?”, “fine!” Is just a little dance we all do to make this place a bit bearable. The people saying it to you are having just as bad a day as you are. | 160 | ask |
updb7f | why don't people care when they ask you how are you, and instead how are you is a greeting, I have always lied and said I am fine because people make it worse or make you feel worse if you don't say fine, or they genuinely don't care, if you don't care, why ask, it's not polite at all | It's Goffman's social interaction order and it's common in all English speaking countries. It's just a minor social extension of 'hello' and unless you're physically on fire at that point, the correct and polite answer is always 'fine / alright. How're you doing?' It's no more meaningful than a shop-worker telling you to 'have a nice day' -nobody gives a rat's arse whether you have a nice day or not, it's just a way of saying hello or goodbye to someone you're spending a little time with, but don't know that well. | 120 | ask |
updd41 | I've been using g++ to compile C++ for a while.
Since recently, It produces defective programs every time I include <iostream>. Interestingly, other Includes like <vector> or <regex> don't cause the issue!
The output file crashes immidiately with error "-1073741515".
Using g++ instead of gcc does not help. | Perhaps your libs are corrupt? Bitrot? Or do you do something nasty in your code?
On a fresh install, does it work OK? Try on a VM first... | 30 | cpp_questions |
updd4z | If yes, which poems did you learn? If no, do you thing it should be a thing? | I don't know about now, but we had to memorize pieces when I was in school. (Two would be the prologue from the Canterbury Tales (Jr high), and the funeral speech from Julius Caesar, which we took turns doing in HS.)
In terms of more modern poems, we'd have been more likely to be asked to read and analyze them than to learn them by rote. | 180 | AskAnAmerican |
updd4z | If yes, which poems did you learn? If no, do you thing it should be a thing? | That is not common. I think I had to do it one time?
I do like to memorize prose or poetry now as an adult though. | 70 | AskAnAmerican |
updd4z | If yes, which poems did you learn? If no, do you thing it should be a thing? | The only time I remember having to memorize a poem was sophomore year of HS having to memorize the intro to Romeo & Juliet. “Two houses both alike in dignity, in fair Verona where we may our scene…”
Iambic pentameter, bitch! | 70 | AskAnAmerican |
updgxf | You have 15min to prepare a lecture to 5,000 people about anything…what would your topic be? Why? | "Well, they dropped this lecture on me with only 15 minutes to prepare, so I'm afraid you sorry bastards are going to have to sit through a detailed exploration of the deep history of the Warhammer 40,000 universe. So, the first thing to understand is that our universe is paired with a second universe made of pure energy..." | 76,000 | AskReddit |
updgxf | You have 15min to prepare a lecture to 5,000 people about anything…what would your topic be? Why? | I would just talk about myself.
The first line would be: I was born at a very young age. | 31,180 | AskReddit |
updgxf | You have 15min to prepare a lecture to 5,000 people about anything…what would your topic be? Why? | Good news! I'm a post doc and have a bunch of slide decks ready! Will any of these 5,000 people be on a faculty hiring committee? Please? | 22,460 | AskReddit |
updjoc | I'm brand new to programming and I've been following some tutorials online. I like to look at projects and put my own spin on them, this one was a choose you're own adventure the tutorial was all if statements pretty much and was kinda hard to read and edit so I decided to use nested dictionaries to make things easier to expand apon. Figuring out how to manage this when I was certainly using the tool in a way it wasn't meant for wasn't easy and it felt really janky but I'm still proud of it I was hoping some of you experts could give me feedback so I know where I messed up and what I could do to improve.
&#x200B;
path = {
'You come across a fork in the road which way do you go?: ': {
'left': {
'You come across a river: ': {
'swim': 'You get eaten by an alligator',
'walk': 'You walk for many miles and die from exhaustion'
}
},
'right': {
'You find a bridge: ': {
'cross': 'Your wife greets you on the other side and you go home with her',
'go back': 'You wander until night falls and get attacked by Wolves'
}
}
}
}
prompt = path
while True:
hint = list(*prompt.values())
print('Choices: ' + hint[0] + ' or ' + hint[1])
answer = input(*list(prompt.keys())).lower()
if answer not in prompt[str(*prompt.keys())]:
print("You can't do that")
continue
else:
prompt = prompt[str(*prompt.keys())][answer]
if isinstance(prompt, str):
print(prompt)
print('Game Over!')
break | Interesting concept with the dictionary. I don’t think it’s the best solution, mainly because the longer the story, the deeper into it you’d have to go and that’s a lot to track.
That said, I think you were on the right track. What you really want is a class to represent a choice. Think linked list. | 30 | LearnProgramming |
updnpm | Im 20 and i have fantasies of women keeping me safe | That sounds like you crave comfort and stability. Nothing wrong with that. | 290 | NoStupidQuestions |
updnpm | Im 20 and i have fantasies of women keeping me safe | As long as it stays with fantasy, you can imagine whatever the hell you like. There is no thought police and as long as you yourself are aware of it when you have a... Uhm... _Less than respectable_ thought, all is still good.
As for having a strong woman around to protect you, I don't know what you're imagining; whether she has a machine gun and is shooting hordes of zombies or is just stepping up to someone who's badmouthing you, doesn't really matter.
Your fantasies are yours, and they'll stay that way unless you decide to share them. So go hogwild, my friend! | 110 | NoStupidQuestions |
updnpm | Im 20 and i have fantasies of women keeping me safe | You might find the truth disappointing but nothing wrong with fantasizing. | 100 | NoStupidQuestions |
updx25 | Edit : Found a website that provides latest g++ builds on windows.
[This is the link for latest g++](https://winlibs.com/). This link was copied from [stackoverflow](https://stackoverflow.com/questions/61811384/compiler-to-c20-on-windows) post, thanks to the author.
&#x200B;
Original Post :
4 years of coding in C++ (as a student) it is a shameful thing that I don't know how to install g++ on windows.
Could someone provide the link to install the latest g++ which should support c++2b.
Thank you very much. | Do yourself a favour and just use Visual Studio, mingw is more annoying to setup. Or use the WSL and then simply do `sudo apt get install g++-12` (though then your programs will run in the WSL, not Windows. For non-graphic applications this doesn't matter though). | 40 | cpp_questions |
updx25 | Edit : Found a website that provides latest g++ builds on windows.
[This is the link for latest g++](https://winlibs.com/). This link was copied from [stackoverflow](https://stackoverflow.com/questions/61811384/compiler-to-c20-on-windows) post, thanks to the author.
&#x200B;
Original Post :
4 years of coding in C++ (as a student) it is a shameful thing that I don't know how to install g++ on windows.
Could someone provide the link to install the latest g++ which should support c++2b.
Thank you very much. | Usually and right now not the very latest, but good enough.
https://nuwen.net/mingw.html | 30 | cpp_questions |
upe00h | [Serious] People who had the absolutely worst neighbors, what did they do? | My husband and I were both active duty U.S. Air Force and lived on base, in base housing. The place we lived was a 2 bedroom duplex, with the bedrooms being the middle wall. Our first neighbors decided to put a surround sound system on the wall directly up to our bedroom. It ended up escalating until we had both of our 1st Sgt's (highest enlisted boss) involved. The husband ended up coming over and threatening to make my husband eat through a straw. She ended up getting discharged not long after. I looked them up a bit later and found that he was murdered. I know why. | 230 | AskReddit |
upe00h | [Serious] People who had the absolutely worst neighbors, what did they do? | Killed our cat by letting their dogs hunt it .
Rip Cleo 2018-2019 | 120 | AskReddit |
upe00h | [Serious] People who had the absolutely worst neighbors, what did they do? | [deleted] | 90 | AskReddit |
upe572 | An 18 years old self-taught (at least for now) programmer here. I've applied for many job positions I thought I'm qualified for, however, I didn't get any response, except from one position that I was referred to by a friend. The interviewer saw potential in me and offered me a Java developer position. I accepted it and started working. Until now I'm satisfied with everything regarding this position (it is fully remote, the team is great and I'm learning many new things), except the pay. I get an hourly wage of almost the minimum in my country. However, I care much less about it for now because I'm considering this position more like an internship for me. I'm planning to start haunting for a new position in 1 - 1.5 years from now. Therefore I'm wondering, will it get any easier to land interviews and get job offers with about 1 YOE in this field? | Yes it does | 170 | CSCareerQuestions |
upe572 | An 18 years old self-taught (at least for now) programmer here. I've applied for many job positions I thought I'm qualified for, however, I didn't get any response, except from one position that I was referred to by a friend. The interviewer saw potential in me and offered me a Java developer position. I accepted it and started working. Until now I'm satisfied with everything regarding this position (it is fully remote, the team is great and I'm learning many new things), except the pay. I get an hourly wage of almost the minimum in my country. However, I care much less about it for now because I'm considering this position more like an internship for me. I'm planning to start haunting for a new position in 1 - 1.5 years from now. Therefore I'm wondering, will it get any easier to land interviews and get job offers with about 1 YOE in this field? | It gets significantly easier, though you still have to put effort into crafting a good resume and interview prepping. | 120 | CSCareerQuestions |
upe572 | An 18 years old self-taught (at least for now) programmer here. I've applied for many job positions I thought I'm qualified for, however, I didn't get any response, except from one position that I was referred to by a friend. The interviewer saw potential in me and offered me a Java developer position. I accepted it and started working. Until now I'm satisfied with everything regarding this position (it is fully remote, the team is great and I'm learning many new things), except the pay. I get an hourly wage of almost the minimum in my country. However, I care much less about it for now because I'm considering this position more like an internship for me. I'm planning to start haunting for a new position in 1 - 1.5 years from now. Therefore I'm wondering, will it get any easier to land interviews and get job offers with about 1 YOE in this field? | Yes, and the more senior you get the more people reach out to you for interviews in general. | 70 | CSCareerQuestions |
upe91i | Hi guys, I have been asked to backport our project. Currently it compiles on RHEL 7.9, and I need to make it compile on RHEL 7.8 and 7.7.
I never did anything like this before and would appreciate some tips like where do I even start and what do you guys think it will take.
Thanks in advance :) | I would install 7.8 and 7.7 on virtual machine.
Then try to compile.
If it compiles, see if unit tests are passing.
???
Profit | 200 | cpp_questions |
upe91i | Hi guys, I have been asked to backport our project. Currently it compiles on RHEL 7.9, and I need to make it compile on RHEL 7.8 and 7.7.
I never did anything like this before and would appreciate some tips like where do I even start and what do you guys think it will take.
Thanks in advance :) | Do you depend on operatong system APIs? Then check what changed in the ones you use between the different versions (same goes for all external dependencies)
Do those older versions use a different compiler? Check change log of the compiler. If the compiler is different, does is lt have support for the language version you're using? If not, you'll have to port your app to an older version of the language. | 30 | cpp_questions |
upeced | Why are men over 30 actively seeking relationships with barely legal girls? | Because the younger they are the more bullshit they will put up with. They are easily swayed to think the man loves they because he buys her a few pretty baubles or tells her he loves her and this is what love looks like. The older a woman get, the more experience she has under her belt, the more she is looking for a balanced relationship that benefits both people. | 670 | ask |
upeced | Why are men over 30 actively seeking relationships with barely legal girls? | i think it’s because younger girls are easier to manipulate. barely legal is 18 in most states; which is still a teenager. they don’t have a lot of life experience or relationship experience, so it’s easier to treat them badly and still have them admire you. | 400 | ask |
upeced | Why are men over 30 actively seeking relationships with barely legal girls? | Let's be honest. They are only seeking sex. | 320 | ask |
upefq7 | All my life, I'd always get comments about how quiet I am, cliche jokes about me being able to talk, teachers needing to point out I'm not super talkative to the whole class etc. It's always "You're so quiet. Why don't you talk more?" but you rarely ever hear "You talk too much. Why don't you talk less?" apart from maybe a classroom and it's so annoying. If someone's a chatterbox, it's "Oh that's just how they are haha", but if someone keeps to themselves, it's "Oh they're kind of strange." | Tbh happens a lot with me. For me, I'm just comfortable with few people only. But sometimes during occasions like family gathering and all, I get quiet most of the time. I have heard "why don't you talk ? Are you mute?" Funny comments.
And at that time I'm literally this close to ask them "why can't you shut your mouth even for a second" lol
I don't know dude, why don't people understand there are different kind of people on this Earth and we are one of them. We don't have to be like each other. | 40 | ask |
upeg3r | What are some modern systems programming languages that are like C and C++? And what do you think about Go and Rust, and if you were to learn one of them which would you choose? | 1. Rust
2. I dunno, while Rust makes us think of low level programming, I have a higher level program written in it and so far I think I might outright to prefer to make programs with it, when not using a lisp for super interactivity, Clojure for its combination of lisp power and functional axioms, or something powerful like Haskell
Would need to explore more Go for #2
EDIT: Oh, you said what would you learn, I somehow read it as which would you choose like for a 'normal' app. I'd learn Rust over Go a million times if I didn't already know it | 40 | AskProgramming |
upeg3r | What are some modern systems programming languages that are like C and C++? And what do you think about Go and Rust, and if you were to learn one of them which would you choose? | 1. There are many newer ones like Zig, Crystal, Nim, just to name a few.
2. I'd go with Rust, as it abstract a lot of the tedious things, has great error handling and a really good and growing ecosystem. I advise you to give Go a pass, unless you need a job where it is required. | 30 | AskProgramming |
upejer | I was learning C and it said 'void' means function does not return anything but if i do print('helloworld') then it will return 'helloworld' even if i have put void. | to distinguish between 'return' from the function and the 'output' here are the examples
void print(void) // this function prints to STDOUT
{
printf("hello world\n");
}
int sum( int a, int b) // this function returns the sum value
{
return a+b;
}
int mix(int a, int b) // this function does both: prints to STDOUT and returns
{
printf("hello world\n");
return a+b;
}
x = print(); // NOT valid as print() does not return, compilation err
x = sum(1,2); // Valid, returned 3
x = mix(1,2); // Valid, returned 3, and 'hello world' will be printed
function's return has nothing to do with what is printed. | 190 | AskProgramming |
upejer | I was learning C and it said 'void' means function does not return anything but if i do print('helloworld') then it will return 'helloworld' even if i have put void. | Reutrning is not the same as printing. For example
```
int add_one(int x){
printf("Adding one");
return x+1;
}
```
Prints "adding one" but returns x+1. If the return type is void the function may print, but it does not return anything. Printing is done to the output whereas return passes the state inside the program. | 100 | AskProgramming |
upekbn | I Just found out that there are statistics of undercutting salaries of H1B visa holders because they are in a precarious situation with the difficulties of visa processing. How true and prevalent is this? Does this stay true even if you have multiple YOE? | Depends on the company probably but according to myvisajobs.com which is pretty legit in helping people get sponsored jobs, FANNG SWEs still make around the same money as people without visas. Could be different for other other companies though. Could be similar | 30 | CSCareerQuestions |
upekby | Why is the Upper peninsula of Michigan a part of Michigan instead of Wisconsin? The Macinak bridge would have been built anyway but it makes more sense for the UP to be part of WI | While there is certainly more to be said, here is al ink to a similar question with an answer (Edit answer by u/Reedstilt)
[https://www.reddit.com/r/AskHistorians/comments/1fc2af/why\_is\_michigans\_upper\_peninsula\_part\_of\_michigan/](https://www.reddit.com/r/AskHistorians/comments/1fc2af/why_is_michigans_upper_peninsula_part_of_michigan/)
The short version is that it is a result of Ohio and Michigan's dispute over the Toledo Strip | 30 | AskHistorians |
upekro | I just finished a Google IT support certificate this last month and am excited to look for entry level work at a help desk worker.
My job counselor says we have a little over $6000 for my education and showed me a class that's 12 months for about 3000 that prepares and pays for CompTIA+, net+ and security+ tests. Should I enroll in this? Or consider an online masters program since I have a bachelor's and am catching up on math on Coursera. We agree that before I choose a paid program I should continue using Coursera for my educational resources.
Salary is important to be and it seems like doing security+ and net+ might not align with that goal. And the comptia+ is similar to the Google IT cert I just got, so could it look redundant on a resume?
I'm a home maker and a recovering addict, I somehow got a bachelor's in english (suma cum laude from a pretty awful school, it's not exactly my best accomplishment. I didn't know what I wanted to study and I was working in retail 30 hours a week in college) and I studied education and was going to be a teacher but ended up hating it after finishing student teaching and all the tests.
I haven't had a real job in over ten years. I am only now starting to have goals and I'm actually very committed to having a great career and putting in the effort to learn something new. My English degree didn't require learning new skills. Another reason I feel shame associated with it. I'm also nervous about a job bc working in retail was not very fun and it has caused me to be apprehensive and not excited about working.
I enrolled in a Google cloud certification so that I can continue learning because I really enjoyed the IT support classes. I'm currently dual booting my computer with Linux and windows because I signed up for a class in c and want to also learn shell scripting and the kernel. On the c programming subreddit somebody suggested learning web development programming.
Do you think that a class in html java and css for web development is better aligned with the Google cloud certification? What type of background skills should I be learning if I want to work as a cloud "engineer" ?
Also want to mention that even though I'm motivated and did the IT support cert in a month.. that I have a seven year old and I'm a recovering addict. I think eventually jobs with more responsibility are fine, but I have to consider that I'm not in my best condition yet to take on anything too stressful or important. I can see myself being an asset in the future as long as I stay on the right path, that's why I'm more or less focusing on the educational aspect for now and only looking for part time work to get back into being human. | First off take a breath. Coming from someone who worked retail, IT is similar. If you get higher up, the customer service side fades slightly but IT is a customer service position. You have to be able to handle angry users and explain technology to people that might as well not know the difference between word and a web browser. Soft skills and communication matter significantly more than technical ability in IT.
I wouldn’t get a masters. A masters in IT only matters if you are looking at jobs that are 200k+. I personally would self-study certifications and use that money towards that. There are a lot of Microsoft certs that are only 100 each, can be learned in a week, and have free material for self-study.
YouTube is also your best friend. Exam crams and other content can accelerate your skill advancement. 3 certs in 12 months isn’t a lot, and the price seems excessive to me. | 30 | ITCareerQuestions |
upem7n | So I have completed 4 years of a computer science degree and have only a few hours left to go. I have the base knowledge that college has taught me. I’ve decided I want to go all in with JavaScript web development. I just started free code camp lessons and plan to add the Odin project as another resource. Am I correct in thinking that learning JavaScript will prepare me for most job opportunities? If anything will it help me learn other languages well? | It’ll prepare you for front end opportunities and potentially game dev if you’re interested in that.
I wouldn’t neglect html and css if you are looking at web development, make sure you know your css flexbox, css grid, responsive layouts and basic html syntax.
Congratulations on finishing your degree 🥳 | 60 | LearnProgramming |
upem7n | So I have completed 4 years of a computer science degree and have only a few hours left to go. I have the base knowledge that college has taught me. I’ve decided I want to go all in with JavaScript web development. I just started free code camp lessons and plan to add the Odin project as another resource. Am I correct in thinking that learning JavaScript will prepare me for most job opportunities? If anything will it help me learn other languages well? | Out of curiosity what was the main language used throughout your degree? | 30 | LearnProgramming |
upeman | I have dabbled with python years ago but I only knew basics back then and I have forgotten everything.
I currently know Java basics well (I have completed AP CS A) but the language doesn’t completely suit my needs.
Over the next few months, I would like to begin my learning journey in Artificial intelligence and I would like to first learn the syntax of the language I’ll use. Along with AI, I’d like to have the freedom of programming apps on both IOS & Android, and also maybe get into web development (maybe make basic websites where I can apply my knowledge in AI, create a personal portfolio, etc…).
I’m leaning more towards JavaScript as it’s a language I’ve never tried but I am not completely sure what to choose that will be the most suiting. | JavaScript is... not great for AI. Python is fantastic for AI.
JavaScript is vital for web development. Python is not needed for web development.
Python can be used for some parts of web development (backend with Django or Flask), but it's still a necessity to know JavaScript.
I'm not familiar with building IOS and Android apps, but I suspect JavaScript would have the edge there because of frameworks like React Native.
If your goal is to learn AI and web development, it'd be a long-term goal to learn both. Which one to learn first is up to you. Do you want to focus on AI (Python) or web development (JavaScript)?
Learning one will make learning the second much easier; it doesn't really matter which one you start with. | 30 | LearnProgramming |
upeu9z | I am thinking of applying to a job that uses kotlin as their main programming language. Does kotlin have a good outlook in the industry as a language or do you think everyone will eventually switch back to Java? Specifically interested in hearing your opinion about kotlin's outlook outside of Android development. | You're not going to pigeonhole yourself into jobs that use kotlin by working at a job that uses kotlin. Once you get familiar with the field, programming languages are easy switch between, especially if you had to switch from kotlin back to java given how similar the two are. | 270 | CSCareerQuestions |
upeu9z | I am thinking of applying to a job that uses kotlin as their main programming language. Does kotlin have a good outlook in the industry as a language or do you think everyone will eventually switch back to Java? Specifically interested in hearing your opinion about kotlin's outlook outside of Android development. | It's comparatively niche but Java is so widespread a niche JVM language is still very widely used. It's very common for back-end shops to use Kotlin outside of Android development. | 110 | CSCareerQuestions |
upeu9z | I am thinking of applying to a job that uses kotlin as their main programming language. Does kotlin have a good outlook in the industry as a language or do you think everyone will eventually switch back to Java? Specifically interested in hearing your opinion about kotlin's outlook outside of Android development. | My entire company uses Java for back-end, but my team has recently adopted Kotlin for our new API microservices which we have been building for over a year now.
Being good at Kotlin does not lock you in to Kotlin. To me, Kotlin just feels like what Java would be if it was created from scratch today. You can easily carry your skills between the languages | 80 | CSCareerQuestions |
upew2i | Are boybands considered as a genre of music? | Nope. They're not a genre in themselves. They're just a style of Pop/RnB/Rap usually | 50 | ask |
upewdi | Hi,
I want to create an array from another existing array but without some elements.
It is similar to deleting an element from an array but instead deleting a few.
For instance,
int numberArray[] = {1,2,4,8,10};
&#x200B;
String[] numbersArray = {"2","2","1+1+1","1","1","10+10","10"};
What could be the best way to get rid of numbersArray\[3\],numbersArray\[4\] and numbersArray\[6\]?
I thought a for loop with the method "remove()". And to that it does not try to create an array from another existing array, I thought it does, because there is no way in java to correct a static array without making a new array and inserting new elements in the new array.
&#x200B;
I tried for loop to execute but the grammar is wrong perhaps.
for (i = tmp; i <= tmp2; i++){
numberArray.remove(i)
}
Thank you for help! | Showing only part of your code makes it difficult to help you. It can’t compile on its own either. You’ve used two variables that we have no information about and it appears that the `i` got capitalized… this doesn’t even get us to what’s wrong with `.remove()` when you said you want to “create an array from _another_ existing array.” The code you posted doesn’t do that nor does it try. | 30 | LearnProgramming |
upewjq | I never see any stories about people that hate dogs that don't portray the dog-hater as an evil animal abuser. Does it make you a bad person to hate dogs? | Hate is a strong word, i don't think you're a bad person for disliking dogs and not wanting to do anything with them.
Dog owners can be just as annoying as entitled parents and i can see some people be put off by that. | 30 | ask |
upewjq | I never see any stories about people that hate dogs that don't portray the dog-hater as an evil animal abuser. Does it make you a bad person to hate dogs? | No, hurting dogs is wrong. Hate is an emotion. Only religious zealots make feelings and thoughts into sins. | 30 | ask |
upewyc | I understand In competitive fighting that it can be penalised. But in bar fights, or random attacks, why not go for the testicles. Like if your fighting for your life, are you really going to honour some stupid bro code? | I have been in a street fight against a group of muggers and was kicked square in the balls hard. I can say, when the adrenalin is going, it is nowhere as incapacitating as people think it is. | 6,600 | NoStupidQuestions |
upewyc | I understand In competitive fighting that it can be penalised. But in bar fights, or random attacks, why not go for the testicles. Like if your fighting for your life, are you really going to honour some stupid bro code? | In life or death situations I’m sure people do | 4,040 | NoStupidQuestions |
upewyc | I understand In competitive fighting that it can be penalised. But in bar fights, or random attacks, why not go for the testicles. Like if your fighting for your life, are you really going to honour some stupid bro code? | People do. If I'm being attacked then I'm going for whatever since I don't stand a chance anyways. Growing up my mom always said go for eyes and between the legs. | 1,470 | NoStupidQuestions |
upexgg | I am a man.
[Option 1](https://www.amazon.co.uk/gp/product/B09DKWNN9B/ref=ox_sc_act_title_1?smid=A2MQKJIJR17TRV&psc=1)
[Option 2](https://www.amazon.co.uk/gp/product/B095YQWGP8/ref=ox_sc_act_title_3?smid=A1FJP4ZGVUHHPW&psc=1) | Option two. Has many tiny little features that could make a huge difference in convenience. Also is totally set up for long-distance travel. | 50 | ask |
upexgg | I am a man.
[Option 1](https://www.amazon.co.uk/gp/product/B09DKWNN9B/ref=ox_sc_act_title_1?smid=A2MQKJIJR17TRV&psc=1)
[Option 2](https://www.amazon.co.uk/gp/product/B095YQWGP8/ref=ox_sc_act_title_3?smid=A1FJP4ZGVUHHPW&psc=1) | Option 2 looks the better one. | 30 | ask |
upexgg | I am a man.
[Option 1](https://www.amazon.co.uk/gp/product/B09DKWNN9B/ref=ox_sc_act_title_1?smid=A2MQKJIJR17TRV&psc=1)
[Option 2](https://www.amazon.co.uk/gp/product/B095YQWGP8/ref=ox_sc_act_title_3?smid=A1FJP4ZGVUHHPW&psc=1) | İ pick option 2 where are you traveling too? | 30 | ask |
upf0zh | where did the Oklahoma subreddit go? it doesn't pop up, r/Oklahoma or r/okc | r/Oklahoma has gone private to stand in solidarity with other Oklahoma subreddits for the protection of women's autonomy across the state and nation. There will be a protest today (Saturday May 14th) at the state capitol. We ask you please reach out to your elected officials to voice your support of women's rights and participate in organized protest if you are able to do so. Also please remember to go vote in the Oklahoma Primary on June 28th and the General Election on November 8th. | 140 | NoStupidQuestions |
upf227 | Hello Everyone!!
I have been learning C++ for around half a year now, which is also my first programming language. I hope to be a C++ developer in the future. I have developed quite a few projects. However, Is it worth getting a C++ certificate to prove my abilities? If yes, is there a recommendation? Or projects say everything!
Any advice is appreciated!! | I'm not aware of any particularly noteworthy C++ certificates. So I would say relevant work experience and then projects are probably the most important factors when applying to new C++ roles. | 30 | LearnProgramming |
upf2r0 | There's probably an easy fix for this, but since i can't find it on the internet i'll post it here.
When I double divide (//) an integer with a float, I get a float that's just the integer with .0 behind it.
ex. 6//2.5 = 2.0
However when i try the int() function on that number, it gives me back the exact same answer (2.0) and the program will keep seeing it as a float.
Anyone know how to fix this? | > However when i try the int() function on that number, it gives me back the exact same answer (2.0) and the program will keep seeing it as a float.
Sounds like this happens only in your code, probably because of some other reason.
>>> int(6//2.5)
2
Could you post an example so we can run and see this happen? | 70 | LearnPython |
upf34o | We have a lot of kurds here in Sweden, and they all tell the same story of harassment, discrimination and downright violence towards them which forced them to flee Turkey.
I'm not really updated on the events that started it all, so what's the deal between Turks and Kurds? | Basically they are a very large minority in Turkey and about 100 years ago were promised autonomy, which was later withdrawn. This then resulted in various rebellions to get that autonomy and as such the Turkish government assumes that the Kurds are likely to rebel at any time and so represses the Kurds, which of course makes them more likely to rebel. | 60 | NoStupidQuestions |
upf3lm | Religious people, why do your gods/deities allow sinful people to prosper? | because god allowed us all free will | 50 | ask |
upf3lm | Religious people, why do your gods/deities allow sinful people to prosper? | It's a difficult question to answer as I don't actually believe in the concept of sin. I am religious but I sure as hell ain't no christian. In my religious opinion the gods don't allow or disallow anything. People are responsible for their own actions always. | 40 | ask |
upf3y3 | What ruins a date instantly? | Constantly checking their phone or glued to it | 23,830 | AskReddit |
upf3y3 | What ruins a date instantly? | “I’ve dated all the crazies, my exes were crazy, I attract crazy” | 22,890 | AskReddit |
Subsets and Splits