thread_id
stringlengths
6
6
question
stringlengths
1
16.3k
comment
stringlengths
1
6.76k
upvote_ratio
float64
30
396k
sub
stringclasses
19 values
uos2rn
I come from Java, where a List<Cat> is a List<? extends Animal>. I tried reading articles about c++ variance but I got nowhere. If I have a function void foo(std::vector<Animal>) I can't pass a std::vector<Cat> ; I guess my designs are wrong from the start and I usually wriggle out of i...
The good news is that in C++ you avoid storing a Dolphin in an array of Cat, which is possible to attempt in Java (because both are arrays of Animal), I believe with an immediate exception as result. That's also the bad news, that *a mutable array of `Derived*` is not safely a mutable array of `Base*`*, regardless of ...
50
cpp_questions
uosc61
Hi, I’m a 23f, and I’m really fascinated in the different teachings and values that different generations have and pass down, and which ones they learned from their ancestors that they’ve discarded. What are some life lessons, values, or habits that you believe would help the younger generations now? Even when taking i...
For starters, treat each individual you may encounter in your life with human dignity. American culture, in case you haven't noticed, is often individualistic. There's this sort of Rambo attitude that it's you against the World. The reality is, the way things get done is by working together as a team. This is how ...
30
AskOldPeople
uosc61
Hi, I’m a 23f, and I’m really fascinated in the different teachings and values that different generations have and pass down, and which ones they learned from their ancestors that they’ve discarded. What are some life lessons, values, or habits that you believe would help the younger generations now? Even when taking i...
Life lesson: Nothing you are experiencing now is uniquely bad. Some previous generations have had it a bit better. Some have had it much, much worse. The world didn’t end in either case. Value: self-sufficiency. Ultimately, we are all responsible for our own well-being, and we all have an obligation (to the best o...
30
AskOldPeople
uosc61
Hi, I’m a 23f, and I’m really fascinated in the different teachings and values that different generations have and pass down, and which ones they learned from their ancestors that they’ve discarded. What are some life lessons, values, or habits that you believe would help the younger generations now? Even when taking i...
Live within your means. Learn to cook from scratch. Look for free or low cost ways to have fun. Always pay off your credit card. Learn to be handy. Spend time with family and friends. Walk or bike whenever possible. Avoid get-rich-quick schemes. If it sounds too good to be true, it is.
30
AskOldPeople
uoscs7
Customer inputs their info into a web form and it comes to my email. Can I automate the info to go directly into our customer database? It is not my program. I did not write any code. Think of me as say, a bank employee. I take the info from my email and input it into a database which my company pays a fee to use. We ...
There is some code on your website that parses the form, and send it to your e-mail. That same code can send the same information to the server that hosts your database, and write it there.
170
LearnProgramming
uoscs7
Customer inputs their info into a web form and it comes to my email. Can I automate the info to go directly into our customer database? It is not my program. I did not write any code. Think of me as say, a bank employee. I take the info from my email and input it into a database which my company pays a fee to use. We ...
I think this might be the kind of solution you're looking for: https://automatetheboringstuff.com/chapter18/
70
LearnProgramming
uoscs7
Customer inputs their info into a web form and it comes to my email. Can I automate the info to go directly into our customer database? It is not my program. I did not write any code. Think of me as say, a bank employee. I take the info from my email and input it into a database which my company pays a fee to use. We ...
I would say. Have something to parse the email and get the informations required. If the db has a public api, send a post request to the endpoint. Else, if you have to use a GUI, I think python has pretty good libraries to automate user interactions. You could also look into js automation input library if the gui l...
30
LearnProgramming
uoshxo
Most recent : Amazon on site. Oldest - fresh out of college for an entry SWE position. The coding exercise was to reverse a string. I knew how to do it, but my mind went blank and I struggled to put together a For loop in Java. I even googled it and looked at a for loop and I still couldn't put it together for 45 minu...
Reversing a string is easy, until you get an emoji with color modifier 😂
440
CSCareerQuestions
uoshxo
Most recent : Amazon on site. Oldest - fresh out of college for an entry SWE position. The coding exercise was to reverse a string. I knew how to do it, but my mind went blank and I struggled to put together a For loop in Java. I even googled it and looked at a for loop and I still couldn't put it together for 45 minu...
Tanked most of my on-site, came back home and built a very complicated component. 😂. Circle of life for developers?
240
CSCareerQuestions
uoshxo
Most recent : Amazon on site. Oldest - fresh out of college for an entry SWE position. The coding exercise was to reverse a string. I knew how to do it, but my mind went blank and I struggled to put together a For loop in Java. I even googled it and looked at a for loop and I still couldn't put it together for 45 minu...
I've participated in technical interviews from the other side at a junior level (not the decision-maker), and I always tell candidates that they are free to use psuedocode or even just plain English like it was a recipe for brownies (the fun kind, of course). I don't care how well someone can memorize the precise syn...
180
CSCareerQuestions
uosjpr
I'm leading a team that includes some extremely junior Python developers working in an OO style, myself being a long-time Python user but new to using Python in a team at a larger scale. (My background is mostly JVM languages.) My team has a pervasive issue of writing classes that present poorly designed interfaces to ...
> For example, is it a common practice in Python to tag "private" methods with a leading underscore? This is a habit I picked up a long time ago, but I can't tell how standard it is. Nobody does it at my company, and I've seen it in some open-source libraries but not all of them. Yeah this is standard. Another thi...
30
LearnPython
uosjpr
I'm leading a team that includes some extremely junior Python developers working in an OO style, myself being a long-time Python user but new to using Python in a team at a larger scale. (My background is mostly JVM languages.) My team has a pervasive issue of writing classes that present poorly designed interfaces to ...
It sounds like there may be some kind of organizational issue at play as well here. When the juniors are given tasks, do they have all the information they need? Or are they asked to design features and the requirements shift after the initial implementation? I’d suggest having them create design documents for the comp...
30
LearnPython
uosnni
I’ve recently become more interested in science fiction and this series seems as epic as Lord of the Rings.
Few weeks ago, actually. Never realized there were sequels.
870
AskAnAmerican
uosnni
I’ve recently become more interested in science fiction and this series seems as epic as Lord of the Rings.
Yes I’ve read it. I don’t think it’s as good as *Lord or the Rings*: Herbert lacks Tolkien’s commitment to internal consistency. But it’s very good and comes closer to what Tolkien did than most authors do. Both *Lord of the Rings* and *Dune* have a distinct atmospheric feeling. A place or a thing can remind me of eit...
370
AskAnAmerican
uosnni
I’ve recently become more interested in science fiction and this series seems as epic as Lord of the Rings.
Yup! It's one of my favorites, and almost certainly the most influential series in Sci-fi. Not a much as LotR is to fantasy (arguably nothing is), but still a giant of the genre.
360
AskAnAmerican
uosogj
Hello. I was wondering whether the line `e for e in range(1, n+1) if e % 3 == 0 or e % 5 == 0` can be referred to as a "generator comprehension", or would it be something else? Furthermore, can the line `[first, last] = str_.split()` be referred to as an unpacking? (str_ is a two word string)
1) Strictly speaking it's called a "generator expression" rather than "comprehension". Why, I don't know. 2) Yes that's unpacking.
70
LearnPython
uospv7
I remember browsing in 2020 and I had the time of my life. I trolled, I bonded with people and it was all good. Now, suddenly, everyone feels offended all the time and rarely feels the need to post anything in here anymore. So, what the hell happened?
This sub seems flooded with bored people, who have huge imaginations and very specific fetishes.
100
AMA
uospv7
I remember browsing in 2020 and I had the time of my life. I trolled, I bonded with people and it was all good. Now, suddenly, everyone feels offended all the time and rarely feels the need to post anything in here anymore. So, what the hell happened?
You said you trolled. That's the answer- the trolls are ruining the sub.
40
AMA
uospv7
I remember browsing in 2020 and I had the time of my life. I trolled, I bonded with people and it was all good. Now, suddenly, everyone feels offended all the time and rarely feels the need to post anything in here anymore. So, what the hell happened?
I breath air , AMA! This sub has gone to shit...there's a few diamonds in the rough though like the PI's AMA and the guy that can taste music
40
AMA
uosr8e
I have been arrested twice. Still kickin'
I’m Russian and just moved to America. I don’t support the war either
60
AMA
uosr8e
I have been arrested twice. Still kickin'
I have read about hundreds of thousands of Russians using VPNs now. Do you think more Russians are getting western news? Or is that just western optimism? Do you sense that opinion is shifting on the war?
40
AMA
uosr8e
I have been arrested twice. Still kickin'
Not a question. Just support for you and all the brave people with you.
30
AMA
uot1fy
Productivity seems to be the name of the game, for those that have experimented with their hours of sleep what did you find to be the most ideal? Is staying up and studying but only sleeping 5 or 6 hours doing more harm than good? Did you find that studying less but sleeping more boosted your overall information re...
Cutting sleep to be more "productive" is a false economy, is the politest way I can find to put this.
2,640
CSCareerQuestions
uot1fy
Productivity seems to be the name of the game, for those that have experimented with their hours of sleep what did you find to be the most ideal? Is staying up and studying but only sleeping 5 or 6 hours doing more harm than good? Did you find that studying less but sleeping more boosted your overall information re...
I get way more sleep now that I'm working than I did when I was in school.
2,290
CSCareerQuestions
uot1fy
Productivity seems to be the name of the game, for those that have experimented with their hours of sleep what did you find to be the most ideal? Is staying up and studying but only sleeping 5 or 6 hours doing more harm than good? Did you find that studying less but sleeping more boosted your overall information re...
I find that I feel like a criminal every time I sleep less than 8 hours. I only ever sleep late when I stubbornly want to stay up for fun. I am really skeptical that sleeping less hours is a safe experiment. Do you want to guarantee meeting the same health performance as others, or are you willing to bet all your he...
2,200
CSCareerQuestions
uot343
I'm on version 11.6.10.433184565-release-arm64-v8a Pixel 6 Pro
Still works for me, version 11.7.07.439544614-beta-arm64-v8a on Pixel 5a
40
AndroidQuestions
uot40e
What is something bad you have done with no regrets? [Serious]
Worked as an orthopedic nurse for two years. The orthopedic director (Dr Assfuck) was not only a tyrant, but he also didn’t believe people had any pain after having a total knee replacement. I frequently got orders from him for Tylenol, when patients said they were in agony. I sat beside so many times holding the h...
233,670
AskReddit
uot40e
What is something bad you have done with no regrets? [Serious]
A drunk driver hit my parked car, left a huge dent in the front driver’s side door, and then drove away. I happened to be looking out the window at the time and saw the whole thing, including his plate number. Cops got there not long after and took my statement. After a couple days and a couple phone calls, I found out...
167,180
AskReddit
uot40e
What is something bad you have done with no regrets? [Serious]
I was a GM for a retailer that was going out of business. During the liquidation I let my employees that worked until the end store product they wanted to buy in a closet I claimed I didn't have a key to. Oh the final days I sold them all the items they requested for 95% off. 70" tvs, ipads, gaming laptops whatever the...
126,640
AskReddit
uot680
My uni organizes a mandatory hackaton (it's required to pass a course on Agile development) and I landed in a group where everyone is a fullstack webdev and I am a meager Android developer. The groups met up only a few days ago and that's when I found I don't fit in and I didn't have the time to prepare (I had a job in...
You can write an entire program in psuedocode and then translate it to whatever language you want. Not sure why you think you have to know a specific language to design the software. You are in a perfect position to do code reviews. If their code is not obvious to someone who is not familiar with the language then the...
3,230
LearnProgramming
uot680
My uni organizes a mandatory hackaton (it's required to pass a course on Agile development) and I landed in a group where everyone is a fullstack webdev and I am a meager Android developer. The groups met up only a few days ago and that's when I found I don't fit in and I didn't have the time to prepare (I had a job in...
It's university - none of you are "fullstack webdevs" or "Android developers" or anything else, you're all students and you're all there to learn. Talk to your group and see where it is you can be helpful, IMO this is a great opportunity to learn about something you don't have a ton of experience with.
1,500
LearnProgramming
uot680
My uni organizes a mandatory hackaton (it's required to pass a course on Agile development) and I landed in a group where everyone is a fullstack webdev and I am a meager Android developer. The groups met up only a few days ago and that's when I found I don't fit in and I didn't have the time to prepare (I had a job in...
"Full stack web dev" is being fetishized here. Your mobile skills should be completely applicable to what they do. You'll be fine.
550
LearnProgramming
uota0f
I was cheated on my by husband. AMA.
How did you find out?
860
AMA
uota0f
I was cheated on my by husband. AMA.
What was his reaction when you confronted him?
520
AMA
uota0f
I was cheated on my by husband. AMA.
Cheating is abusive. Not only emotionally because it holds you hostage in a relationship without the honesty of what the other person did bit also physically because it puts you at risk of STDs.
510
AMA
uotaoz
I just heard an interview with the organisers of the Rugby World Cup 2031,scheduled for the USA... together with comments from the chairman of World Rugby. They suggest 1 billion dollars revenue,3 million tickets sold all over the US, and sell out stadiums with crowds up to over 100,000 for the biggest matches. What ...
I highly doubt a rugby match would sell out a football stadium in the US.
360
AskAnAmerican
uotaoz
I just heard an interview with the organisers of the Rugby World Cup 2031,scheduled for the USA... together with comments from the chairman of World Rugby. They suggest 1 billion dollars revenue,3 million tickets sold all over the US, and sell out stadiums with crowds up to over 100,000 for the biggest matches. What ...
I would not go see a Rugby match. I do believe a lot of people will travel from elsewhere to see it though, and with 330,000,000 people in the US finding a few million people who watch Rugby will not be difficult.
210
AskAnAmerican
uotaoz
I just heard an interview with the organisers of the Rugby World Cup 2031,scheduled for the USA... together with comments from the chairman of World Rugby. They suggest 1 billion dollars revenue,3 million tickets sold all over the US, and sell out stadiums with crowds up to over 100,000 for the biggest matches. What ...
If they promote it well they might get people going out for the novelty. Especially so if it's done on a comparatively short timescale like the Olympics. Or it could fail miserably. I don't really know.
90
AskAnAmerican
uotlbw
I am a student who has spent a good amount of time in C#. I also have experience with JavaScript, HTML, MySql, and CSS. What would yall recommend as a another language that would be useful for me to know?
At this point, you would benefit more from working on a long-term project with a language you already know than learning a new language. Once you are familiar enough with a multi-paradigm language like C#, you are unlikely to encounter radically new concepts in other programming languages, so there's not much point in ...
70
AskProgramming
uotovj
What charity can fuck right off and why?
Autism speaks. They treat people horribly, take most of the money to pay themselves, and have a history of advocating bad practices
33,120
AskReddit
uotovj
What charity can fuck right off and why?
Susan G Komen is verifiable garbage
24,250
AskReddit
uotovj
What charity can fuck right off and why?
The American Red Cross. Let me tell you why. Most of the money you give them goes to exorbitant salaries for their higher ups, as well as other inflated overhead, and very little of it actually ends up doing good. Whenever there is any sort of disaster, they flood the media with appeals for money, but the money stays...
18,150
AskReddit
uotqgq
Also is there a list of job openings for top companies?
Now. If you are from the future and my comment is super old, the answer instead is: now.
100
CSCareerQuestions
uotqgq
Also is there a list of job openings for top companies?
There isn't a list. You are going to want to start in the fall. Go to the pages where they have roles to apply for them as they appear. Many firms do new college grad generic pool interviews and you become part of a cohort of people rather than having a team specific role along with title
70
CSCareerQuestions
uotqgq
Also is there a list of job openings for top companies?
Fall if you plan on graduating in spring, around the time my school had it's career fair was when I applied and got my job.
30
CSCareerQuestions
uotrgl
Like the idea that matter cannot be destroyed. Why is that considered so factual? As humans we do not know everything.
Theory and scientific theory is a bit different. In scientific theory things are tested, retested, tested by others, etc. If you don't trust it, test it your self.
890
ask
uotrgl
Like the idea that matter cannot be destroyed. Why is that considered so factual? As humans we do not know everything.
Science is based on theories, and once these theories are proven through testing and observation, they are accepted as facts or even laws (e.g. laws of thermodynamics) Whether or not you believe that aluminum is a solid at room temperature, most people accept this "theory" as fact when they board an airplane. While th...
190
ask
uotrgl
Like the idea that matter cannot be destroyed. Why is that considered so factual? As humans we do not know everything.
Who else would the theory be from except a human?
130
ask
uotvrd
Atheists, what do you believe in? [Serious]
I believe in a universe that doesn't care, and people that do.
396,070
AskReddit
uotvrd
Atheists, what do you believe in? [Serious]
* There is no plan, no grand design. There is what happens and how we respond to it. * Justice only exists to the extent we create it. We can't count on supernatural justice to balance the scales in the afterlife, so we need to do the best we can to make it work out in the here and now. * My life and the life of ever...
362,710
AskReddit
uotvrd
Atheists, what do you believe in? [Serious]
Realistically, I think nothing happens. We literally experience nothing after death. Same thing that we experience before birth. We don't exist, so it's nothing. I think the tenant that we should follow while living is to try to be happy and healthy while minimizing the damage we do to each other. What I would LIKE t...
230,310
AskReddit
uotvsr
So I am making a Minecraft server, that i would control via Discord bot, but I have no idea how to run .jar file and get the output and give input. I wonder, maybe there is a way to run virtual console in python program or something? I've got no idea.
4 options: 1 You can spawn a JVM using subprocess.run() 2 You write your code in [Jython](https://www.jython.org/) 3 You ditch Python altogether and write the whole thing in a JVM-bound language. Which is really a generalisation of *2* 4 See if the Minecraft APIs have anything to offer If you're hoping for on...
30
AskProgramming
uotw5u
This is exactly the kind of thing that reflects the insanity of some job posters: [Entry Level](https://www.linkedin.com/jobs/view/3059168566)
Even if that were a senior posting, anything that lists that many essential functions is a giant red flag.
3,230
CSCareerQuestions
uotw5u
This is exactly the kind of thing that reflects the insanity of some job posters: [Entry Level](https://www.linkedin.com/jobs/view/3059168566)
>*Required Knowledge And Skills* Basic principles of computer science, database technologies and information systems. Advanced principles, best practices, methods, and techniques used in data engineering, business intelligence, data management, data warehousing concepts, data mapping, data modeling, reporting, analy...
1,880
CSCareerQuestions
uotw5u
This is exactly the kind of thing that reflects the insanity of some job posters: [Entry Level](https://www.linkedin.com/jobs/view/3059168566)
> Bachelor’s Degree in computer science, information technology, engineering, or closely related field and five years of experience in information technology in the areas of data engineering, business intelligence and analytics; OR an equivalent combination of education and experience. CS degree + 5 YOE. Nobody wit...
1,870
CSCareerQuestions
uotw8v
Update: Current solution I came up with for overall problem is all the way at the bottom. Original post: Trying to make `std::pair<const K, V>` members swappable so my tree's `erase()` method can rebalance properly. this is my error: error: use of deleted function ‘typename std::enable_if<(! std::__and_&...
> so my tree's balance method can work Rebalancing should change links, not data.
110
cpp_questions
uotw8v
Update: Current solution I came up with for overall problem is all the way at the bottom. Original post: Trying to make `std::pair<const K, V>` members swappable so my tree's `erase()` method can rebalance properly. this is my error: error: use of deleted function ‘typename std::enable_if<(! std::__and_&...
You fundamentally can't do that unfortunately... A structure that has constant data members won't work with most standard containers/methods...
40
cpp_questions
uou278
Newbie trying to learn Rust. I have a situation where I would like to pattern match and return a tuple of functions. Right now casting all functions with `as` keyword, but this is incredibly verbose. What is the canonical approach? let (a, b) = match c { c1 => (d1 as fn(f) -> g, e1 as fn(f) -> g),...
a small improvement would be to annotate the variables/tuple that is being destructured to: let (a, b): (fn(f) -> g, fn(f) -> g) = ... ([playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=fe393da0be09a9ad1153a88d45556a28)) but I'm not sure that's the best possib...
60
LearnRust
uou80g
There's older posts asking this question but I'm assuming a lot has changed in the minimum requirements in 2022. All the network administrator positions near me have very different skill requirements. Same with the network engineer and networking positions in general. A lot of the positions vary from cyber security, V...
> There's older posts asking this question but I'm assuming a lot has changed in the minimum requirements in 2022. Not really. > All the network administrator positions near me have very different skill requirements. They probably also have different responsibilities & expectations too. > I hav...
160
ITCareerQuestions
uou80g
There's older posts asking this question but I'm assuming a lot has changed in the minimum requirements in 2022. All the network administrator positions near me have very different skill requirements. Same with the network engineer and networking positions in general. A lot of the positions vary from cyber security, V...
Find all the networking jobs you can. The more the better. Use a word cloud generator - [https://www.freewordcloudgenerator.com](https://www.freewordcloudgenerator.com) Paste all the jobs into the cloud generator. Generate a cloud. The bigger words are going to be the ones that are used the most in all the network...
140
ITCareerQuestions
uou80g
There's older posts asking this question but I'm assuming a lot has changed in the minimum requirements in 2022. All the network administrator positions near me have very different skill requirements. Same with the network engineer and networking positions in general. A lot of the positions vary from cyber security, V...
Cert wise, if you have a CCNA level of understanding you can probably hack it at an entry to mid level networking roles. Just a matter of interviewing right and actually having the proper problem solving approach that employers are looking for.
100
ITCareerQuestions
uou8ws
I am an entirely self taught developer with absolutely no professional experience or relevant qualifications. I've spent the last few months job searching and have eventually accepted a role at a startup with a salary of £45,000 ($55,000 approx) (fully remote, mid COL). All my offers have been in this range. Every da...
Usually either people are desperate or Thier in a lcol area with limited employers. If I was out of work I would take whatever I can get.
1,570
CSCareerQuestions
uou8ws
I am an entirely self taught developer with absolutely no professional experience or relevant qualifications. I've spent the last few months job searching and have eventually accepted a role at a startup with a salary of £45,000 ($55,000 approx) (fully remote, mid COL). All my offers have been in this range. Every da...
You’d be surprised that a lot of people are sometimes unaware of the big tech salaries. I had a friend who is an amazing dev and super passionate about programming. When he told me his salary was $80k in California I told him he was underpaid. I showed him levels.fyi and he was shocked. He’s since more than doubled hi...
1,140
CSCareerQuestions
uou8ws
I am an entirely self taught developer with absolutely no professional experience or relevant qualifications. I've spent the last few months job searching and have eventually accepted a role at a startup with a salary of £45,000 ($55,000 approx) (fully remote, mid COL). All my offers have been in this range. Every da...
You being in the UK (or really anywhere that is not the US) means lower salaries. The US is the only country that pays crazy money for software engineers. More detailed explanations in this post: https://www.reddit.com/r/cscareerquestions/comments/61uj1p/why_are_software_engineer_salaries_so_much_lower/
540
CSCareerQuestions
uouij5
When did you realize today was Friday the 13?
Right now thanks
17,820
AskReddit
uouij5
When did you realize today was Friday the 13?
/r/IsTodayFridayThe13th
3,110
AskReddit
uouij5
When did you realize today was Friday the 13?
January 1st, I usually go through the calendars and note any significant days to keep a bit of a track on.
2,250
AskReddit
uoukdy
I want to create websites for local businesses near me using just HTML and CSS. I’ve been teaching myself these a little over a month and I feel like I’m still only in the knowledge/comprehension level of learning according to Blooms Taxonomy. What are some ways to increase my ability? I want to be able to create sites...
>Is this best practice or could I be doing this better? It's not necessarily bad practice, but it's also not necessarily the most efficient approach either. Personally, I'd use VS Code for the editor and an extension called Live Server to handle previewing (you don't have to refresh, it handles hot reloading for yo...
140
LearnProgramming
uouo3x
Say someone wants to die let's call them Person A, Person A is extremely suicidal and wants to kill himself but he's a Christian and suicide can lead you directly to hell, so he hires one of his friends, let's call him Person B who is an atheist, Person A wants Person B to kill Person A but doesn't want Person B to go ...
Consent is irrelevant to murder, and contracts that ask someone to do something illegal are void. ...So nope, you can't be legally killed by signing a contract saying you consent.
35,010
NoStupidQuestions
uouo3x
Say someone wants to die let's call them Person A, Person A is extremely suicidal and wants to kill himself but he's a Christian and suicide can lead you directly to hell, so he hires one of his friends, let's call him Person B who is an atheist, Person A wants Person B to kill Person A but doesn't want Person B to go ...
Contracts can't approve of anything that is illegal. Because murder breaks the law, any contract "allowing" murder would be deemed an illegal and unenforceable contract.
7,110
NoStupidQuestions
uouo3x
Say someone wants to die let's call them Person A, Person A is extremely suicidal and wants to kill himself but he's a Christian and suicide can lead you directly to hell, so he hires one of his friends, let's call him Person B who is an atheist, Person A wants Person B to kill Person A but doesn't want Person B to go ...
No. Otherwise euthanasia would be legal IN THE U.S. Edit - to add US.
2,880
NoStupidQuestions
uoustu
Hi all, I am developing an alarm clock for disabled people using egui; I'm really impressed with the project. It's actually easy to make a web app. Later I'm going to port the gui to run on this native framebuffer, I imagine that won't be too hard. But one thing I'm wondering is if there's a way to increase the frequ...
https://github.com/emilk/egui/issues/295 Has some workarounds for your problem
30
LearnRust
uouu9v
Consider the following code: #include <iostream> #include <thread> #include <atomic> using aul = std::atomic_ullong; aul cntr(0); void foo(){ using namespace std::chrono_literals; cntr++; std::cout << "started thread number " <&l...
>for(int i=0; i < 3; i++){ std::thread t(foo); t.join(); } The std::thread constructor starts the thread. t.join() waits for the thread to finish. Only after t.join() returns can the next iteration of the loop begin. This code is roughly equivalent to: std::thread t0(foo); t0.join(); std::thread t1(...
60
cpp_questions
uouu9v
Consider the following code: #include <iostream> #include <thread> #include <atomic> using aul = std::atomic_ullong; aul cntr(0); void foo(){ using namespace std::chrono_literals; cntr++; std::cout << "started thread number " <&l...
join means "wait for thread to finish." So in your loop, you make a thread, then you wait for it to finish, then go to the next iteration of the loop.
40
cpp_questions
uouu9v
Consider the following code: #include <iostream> #include <thread> #include <atomic> using aul = std::atomic_ullong; aul cntr(0); void foo(){ using namespace std::chrono_literals; cntr++; std::cout << "started thread number " <&l...
for(int i=0; i < 3; i++){ std::thread t(foo); t.join(); // <- put this outside } e.g. std::vector<std::thread> thds{}; for(int i=0; i < 3; i++){ thds.emplace_back(std::thread(foo)); } for(auto& t : thds) { t.join(); }
30
cpp_questions
uouwf7
(Long) TLDNR at the bottom. Background: I had been working a “temp to hire contract” for over 3 years and periodically asked my boss any chance of hiring me in, and he says if it were up to him he would but his boss’s boss won’t approve budget and keeps on saying “maybe in 6 months”. It is a great job but with no roo...
Honestly you are lucky they still did the interview. A lot of times if two companies submit the same person the company will just throw out the applicant so they don't get in a legal biind over who should get the commission. Your first company IMO was in the wrong for submitting you without speciifcly being told to...
30
ITCareerQuestions
uouxtc
I've known more about the US since I was 7, when my 2nd oldest friend moved to my country of Australia from Hawaii, and my Year 3 teacher, from Canada, taught us a fair bit of US/Canadian history. Over the years, I've made online friends from Texas, California, Washington state, Florida, Georgia, Virginia, Oklahoma, ...
Indiana Good: Being a major shipping means I always get packages on time if not early Bad: Gary Indiana Ugly: Also Gary Indiana
1,650
AskAnAmerican
uouxtc
I've known more about the US since I was 7, when my 2nd oldest friend moved to my country of Australia from Hawaii, and my Year 3 teacher, from Canada, taught us a fair bit of US/Canadian history. Over the years, I've made online friends from Texas, California, Washington state, Florida, Georgia, Virginia, Oklahoma, ...
Pennsylvania - Good: Lots of interesting historical sites, large areas of protected forests/natural areas Bad: High gasoline taxes, lots of rundown cities and towns due to loss of industry Ugly: Turnpike tolls and awful road/bridge maintenance
1,250
AskAnAmerican
uouxtc
I've known more about the US since I was 7, when my 2nd oldest friend moved to my country of Australia from Hawaii, and my Year 3 teacher, from Canada, taught us a fair bit of US/Canadian history. Over the years, I've made online friends from Texas, California, Washington state, Florida, Georgia, Virginia, Oklahoma, ...
Minnesota Good - great standard of living, good health care, lake/cabin life Bad - high taxes Ugly - the cold weather will actively try to kill you for 5-6 months a year
1,070
AskAnAmerican
uouy4e
I'm currently working a job that I don't like very much so id jump on any decent SWE opportunity. I have a technical interview with a company next week which I believe should be the last one and I have another technical interview with another company in a few weeks. I already told this first company that I've been int...
It’s extremely common to have multiple interviews and multiple offers. The best thing for you to do is be completely forthcoming about it and your current status with every prospective employer, as it just makes things more competitive and beneficial for you. Imagine a few scenarios: “Hey Company B, company A just ...
280
CSCareerQuestions
uouy4e
I'm currently working a job that I don't like very much so id jump on any decent SWE opportunity. I have a technical interview with a company next week which I believe should be the last one and I have another technical interview with another company in a few weeks. I already told this first company that I've been int...
You determine whether you want that job or not, if you do, great. If you don't, then you'll move on. > they'll ask me about my other interviews They will most likely give you a deadline to provide an answer rather than asking. > Just accept the offer, say you don't have anything else lined up, and then shamele...
160
CSCareerQuestions
uouy4e
I'm currently working a job that I don't like very much so id jump on any decent SWE opportunity. I have a technical interview with a company next week which I believe should be the last one and I have another technical interview with another company in a few weeks. I already told this first company that I've been int...
Hey! Great question. It’s important to NOT just take jobs and quit a few weeks later for other offers. You can get away with it a couple of times in your career, but as big as tech is, it can still be small enough to run into the same folks sometimes. The way to handle this is like others have said. You get an offer ...
50
CSCareerQuestions
uov41w
Other than butter, what do you put on your popcorn?
Old bay seasoning. Will change your life.
540
AskAnAmerican
uov41w
Other than butter, what do you put on your popcorn?
Salt and parmesan cheese.
450
AskAnAmerican
uov41w
Other than butter, what do you put on your popcorn?
I like adding white cheddar cheese (powder?) from the shakers, both at home and at the movies.
330
AskAnAmerican
uov59f
I have germaphobia AMA
Why do you hate German people so much ? Let them drink their beer for gad sake
40
AMA
uov6zc
In your experience, what city/town had the friendliest people?
Can't speak for anywhere except the US, but I have lived in most parts except the most northern. I'd say Texas, by far. Friendly, but not nosy. Most of the south as well, except Florida. New Jersey is the worst. I call it the armpit of America.
120
AskOldPeople
uov6zc
In your experience, what city/town had the friendliest people?
New Yorkers are kind, not friendly. Californians are friendly, not kind.
120
AskOldPeople
uov6zc
In your experience, what city/town had the friendliest people?
Adare Ireland. Met some of the nicest most welcoming people. Willing to chat, curious, just fantastic all around.
70
AskOldPeople
uovbji
I have joined a startup and they want me to tell them what machine I want to use for coding on. I have only worked for large companies where the PC you use is the one you get and that is the end of it. I am not an expert in Linux although I can use it, I have not really ever used a Mac. Our product is a SASS system ...
Well...what platforms are they building on? Which of those will you be required to work on? What are other members of the team using? The answer to those three would influence my decision of what would be the lowest-friction choice. > Is there a standard PC setup I should ask for? Some Lenovo or Dell workstation, ...
40
AskProgramming
uovim0
At where I am at the store I shop, it’s $3.58 for a dozen of store brand and before Easter it was $2.5 or $2.8 I forgot. I heard there’s massive kill of chickens due to Birdflu.
Pre-Biden: Mike Pence laid eggs on my doorstep for free Post-Biden: one egg is 18 MILLION DOLLARS
220
AskAnAmerican
uovim0
At where I am at the store I shop, it’s $3.58 for a dozen of store brand and before Easter it was $2.5 or $2.8 I forgot. I heard there’s massive kill of chickens due to Birdflu.
$2.99 Before the avian flu outbreak this week they were $2.19-ish.
90
AskAnAmerican
uovim0
At where I am at the store I shop, it’s $3.58 for a dozen of store brand and before Easter it was $2.5 or $2.8 I forgot. I heard there’s massive kill of chickens due to Birdflu.
Before store brand eggs were 1.78 at Walmart Now their store brand is 2.77 Eggland’s Best is 2.66 I’m sure they will be raising the prices of EB as soon as I’ve gotten used to buying them
60
AskAnAmerican
uovpb0
How central was Homeric literature to Classical Greek life? Was the reverence for Homeric poems comparable or wholly different to that of Abrahamic books and religions?
Besides of course Homer's references that can be found in later works and commentaries, there's one interesting Solon's law, possibly of early 6th c. BCE, but survived by Diogenis Laertius \[1.57\]. According to it, the reciter of Homer's epic poems, who was substituting the previous one, should continue the rec...
30
AskHistorians
uovq85
What is song what feels most you?
Musik
120
AskAnAmerican
uovq85
What is song what feels most you?
My shits fucked up
90
AskAnAmerican
uovq85
What is song what feels most you?
[This one](https://youtu.be/gy5-EQ7Ae_0) The soft, breezy vibe, punctuated by the most *perfect* guitar solo ever laid down. I wish my whole aura to be like this song.
50
AskAnAmerican
uovs3i
Religious people, how do you view atheism/atheists? [Serious]
Like normal people
11,930
AskReddit
uovs3i
Religious people, how do you view atheism/atheists? [Serious]
One of my good friends is an atheist, and he's a stand up guy. We talk about religion from time to time, and it never gets heated or insulting. He is interested in learning from my perspective, even if he doesn't believe the same things. I've met several people like this, and I hope it's the norm for atheists. I've a...
10,750
AskReddit
uovs3i
Religious people, how do you view atheism/atheists? [Serious]
The same as everyone else, just regular people. They have their beliefs and I have mine, doesn’t mean we can’t happily coexist or that one opinion is more valid than the other.
2,380
AskReddit