thread_id
stringlengths 6
6
| question
stringlengths 1
16.3k
| comment
stringlengths 1
6.76k
| upvote_ratio
float64 30
396k
| sub
stringclasses 19
values |
---|---|---|---|---|
uovtl6 | ETA: okay i was under the impression it was bit old fashioned but sometimes used, guess i was wrong lol | Never have…. So I’d say uncommon. | 560 | AskAnAmerican |
uovtl6 | ETA: okay i was under the impression it was bit old fashioned but sometimes used, guess i was wrong lol | When was that common? That sounds weird and creepy as fuck | 400 | AskAnAmerican |
uovtl6 | ETA: okay i was under the impression it was bit old fashioned but sometimes used, guess i was wrong lol | I've never heard that.
The only people who call me child are my older black coworkers. And I've never heard it in any other situation. | 360 | AskAnAmerican |
uovu1u | Writing out `anyhow::Result` all the time makes lines too long and I don't want to import just `Result` to avoid confusion with `std::result`, so I'm currently doing
```rust
use anyhow::Result as AResult;
```
Is seeing `AResult` in code will make people go WTF, and if yes, is there a better alias to use? | Anyhow's `Result<T>` is just an alias where the default error type is `anyhow::Error`, you can still use it as `Result<T, E>` if you want, and omit the error type to default to `anyhow::Error`. | 30 | LearnRust |
uovu6a | What is the best way to ensure that branches are created from the proper branches, and only merged to the right branches, and commit messages are included, etc etc so that we can be proactive with ensuring our git flow is adhered to?
Our problem stems from having many projects with many developers and much churn across our developer resources. | 1. Disable pushing to the dev branch(s) to require PRs.
2. Require code reviews for every PR
3. Ensure code reviewers use their powers appropriately to enforce gitflow. | 60 | AskProgramming |
uovuhy | I'm a heterosexual guy, but for some reason, I find armpit hair repulsive. Arm and leg hair on myself, I'm ok with, but armpit hair just feels gross. Whenever I see girls with their hairless armpits, I envy them because it looks so neat and clean. I wish I could have hairless armpits like them but it's not socially acceptable and would weird out some people if I did remove the hair.
But is it weird that I feel this way and want to shave my armpit hair off? | Bro nobody cares if you shave your armpits. Actually if I plan on wearing sleeveless shirts I tend to shave mine because it looks better. | 120,780 | NoStupidQuestions |
uovuhy | I'm a heterosexual guy, but for some reason, I find armpit hair repulsive. Arm and leg hair on myself, I'm ok with, but armpit hair just feels gross. Whenever I see girls with their hairless armpits, I envy them because it looks so neat and clean. I wish I could have hairless armpits like them but it's not socially acceptable and would weird out some people if I did remove the hair.
But is it weird that I feel this way and want to shave my armpit hair off? | Just shave bro. I've trimmed mine for years | 104,850 | NoStupidQuestions |
uovuhy | I'm a heterosexual guy, but for some reason, I find armpit hair repulsive. Arm and leg hair on myself, I'm ok with, but armpit hair just feels gross. Whenever I see girls with their hairless armpits, I envy them because it looks so neat and clean. I wish I could have hairless armpits like them but it's not socially acceptable and would weird out some people if I did remove the hair.
But is it weird that I feel this way and want to shave my armpit hair off? | ...just shave your armpits? | 99,180 | NoStupidQuestions |
uovvnb | lets say you can only pick 3 albums to listen to for the rest of your life what 3 you picking | 1. Sade - Love Deluxe
2. Misfits - Walk Among Us
3. Cast Iron Hike - Watch It Burn | 120 | ask |
uovvnb | lets say you can only pick 3 albums to listen to for the rest of your life what 3 you picking | - Final Fantasy X soundtrack
- Final Fantasy VII Remake soundtrack
- Super Smash Bros. Ultimate soundtrack | 70 | ask |
uovvnb | lets say you can only pick 3 albums to listen to for the rest of your life what 3 you picking | TOOL - Lateralus
Pink Floyd - The Wall
Mark Lanegan - Bubblegum
I found it really hard picking the third album, I'm not even sure if this would be my final pick. | 60 | ask |
uovyri | This has always baffled me. Is there a particular reason why American movies do that? Is it to villanize the British (because former colonists) or do people think a villain with an accent is intriguing because it sounds foreign to most people.
After a point it's kind of ridiculous lol. I have never seen it the other way round where british movies/tv shows have an American villain. | British villains are:
1) Coded as intelligent, upper-class, wealthy and so on. (Unless they have an accent other than RP.)
2) Foreign.
3) Lacking in political complication. If you make your villain Cuban, people will ask what your movie is saying about Cuba even if it's saying nothing.
4) We have ready access to British actors. | 2,740 | AskAnAmerican |
uovyri | This has always baffled me. Is there a particular reason why American movies do that? Is it to villanize the British (because former colonists) or do people think a villain with an accent is intriguing because it sounds foreign to most people.
After a point it's kind of ridiculous lol. I have never seen it the other way round where british movies/tv shows have an American villain. | https://www.thecut.com/2017/01/why-so-many-movie-villains-have-british-accents.html
> The reason, as linguist Chi Luu recently explained in JSTOR Daily, is that the accent lends itself well to the particular qualities that make for a compelling movie villain, a cocktail of traits more nuanced than just “pure evil.” Research has shown that speaking in the received pronunciation accent — the “posh” iteration of the British accent, also known as the Queen’s English — makes people appear “more educated, intelligent, competent, physically attractive, and generally of a higher socioeconomic class.” In one study, for example, a researcher delivered the exact same lecture in two different accents, receiving more positive reviews when he did it in received pronunciation. On the other hand, though, RP speakers are also generally considered “less trustworthy, kind, sincere, and friendly than speakers of non-RP accents.” And when you put the two together, you get someone with a fierce intellect and low morals — the perfect combo for a fictional bad guy. | 730 | AskAnAmerican |
uovyri | This has always baffled me. Is there a particular reason why American movies do that? Is it to villanize the British (because former colonists) or do people think a villain with an accent is intriguing because it sounds foreign to most people.
After a point it's kind of ridiculous lol. I have never seen it the other way round where british movies/tv shows have an American villain. | >Is it to villanize the British (because former colonists) or do people think a villain with an accent is intriguing because it sounds foreign to most people.
No, it's just an accent, and we have a lot of British actors in movies period.
There are MANY, MANY, MANY more movies where the villain has an American or other accent.
You are just noticing the British accent when it occurs. | 690 | AskAnAmerican |
uow3e3 | I was fired from my first job a few days ago after six months of working there. I've been in the dumps lately, and have been applying to jobs. Is my career in CS basically screwed now? I had a hard time finding my first job, and I'm very worried that this will prevent me from getting any sustainable career in this industry. I'm also concerned this will make finding a new one significantly more difficult. | Your career is not over, don't worry. Most companies are only going to say your dates of employment and whether or not you're eligible for rehire. But you will be asked about it and you should be honest.
We're you just laid off? That's easy, you weren't fired you were just part of layoffs, it happens and it doesn't reflect poorly on you.
Were you let go because of performance? If so, why? What have you learned and how can you be better next time?
Were you fired for things like sexual harassment, taking a shit on your manager's desk, or drug abuse on the job? That's a whole other world of hurt and a different story.
All in all, being terminated doesn't mean your career is over, but it does mean you should self reflect and think about how to tell this story. | 300 | CSCareerQuestions |
uow3e3 | I was fired from my first job a few days ago after six months of working there. I've been in the dumps lately, and have been applying to jobs. Is my career in CS basically screwed now? I had a hard time finding my first job, and I'm very worried that this will prevent me from getting any sustainable career in this industry. I'm also concerned this will make finding a new one significantly more difficult. | Yo man, I'm in the same boat as you :( company had layoffs a few months ago and I was let go as part of that. I took a month to calm myself down from the stress and began some skill building/grinding LC, and have been applying for about 6 weeks now. Here's to both of us getting back on our feet bro! | 160 | CSCareerQuestions |
uow3e3 | I was fired from my first job a few days ago after six months of working there. I've been in the dumps lately, and have been applying to jobs. Is my career in CS basically screwed now? I had a hard time finding my first job, and I'm very worried that this will prevent me from getting any sustainable career in this industry. I'm also concerned this will make finding a new one significantly more difficult. | If it makes you feel better, I got fired from my first job a few years ago for underperforming and now I work at Google. | 100 | CSCareerQuestions |
uow9rj | My wife is gaining United States citizenship here in a couple of weeks (from Philippines) and my family and I are looking to throw her a big America themed party to celebrate.
Ideas? | Corn hole! (This is a game not a food) | 750 | AskAnAmerican |
uow9rj | My wife is gaining United States citizenship here in a couple of weeks (from Philippines) and my family and I are looking to throw her a big America themed party to celebrate.
Ideas? | Red solo cups! | 710 | AskAnAmerican |
uow9rj | My wife is gaining United States citizenship here in a couple of weeks (from Philippines) and my family and I are looking to throw her a big America themed party to celebrate.
Ideas? | Ironically, one of the best family-friendly parties I've been to in America was thrown by the Filipino portion of my extended family. Tons of pancit, lechon and adobo mingling with brats, burgers and macaroni salad.
America to me is about blending cultures and influences, so I wouldn't be shy about putting the flavors of the Philippines on the menu! | 640 | AskAnAmerican |
uowav1 | As the title says, trying to determine if cybrary would be worth it for my situation.
Currently active duty military, working on my degree in cyber security. I get out of the military in 8 months and will be really close to having my degree, but it won't be finished yet. I plan on getting a few certs (network+ and sec+ mainly) to help improve my resume and look more hireable since I won't have my degree.
That being said money is really tight for me right now so if I start the membership for cybrary I want to make sure it would be worth it. | There are free training opportunities out there, especially for vets. Someone posted this on Linked in January, I saved it:
——————————————————-
1. Amazon Web Services (AWS) offers AWS Educate FREE to #military #veterans which gives you access to each of their certification training paths. They also reimburse exam cost! (Typically, you can accomplish 1 course and cert in 30 days)
2. Purdue University Northwest offers 3 separate Cybersecurity paths FREE with 3-4 certifications based on path chosen. (Program takes 2 months) ***note, not gated to just military and veterans. Anyone can apply.
3. Microsoft Education learning academy offers FREE monthly Azure courses and they give out the AZ-900 cert voucher (Course is 2 days long and can test immediately) ***note, not gated to just military and veterans. Anyone can apply.
4. Oracle released it's cloud fundamentals course and cert FREE...for now. (Course can take about a month to complete with certification) ***note, not gated to just military and veterans. Anyone can apply.
5. Google has partnered with ACT NOW EDUCATION on Coursera with Google IT Support FREE. (Course can be completed within a week with certification)
6. Fortinet has their FREE FortiVet program with Jay Garcia to which you prepare for the Fortigate Firewall certification. (Course and test prep can be done in a month with networking fundamentals to certify)
7. Institute for Veterans and Military Families - IVMF offers 1 FREE certification voucher through their course. After completing the course you choose and score 80% or higher on 3 practice tests you will ney a voucher. (Depending on certification choice, this can take 2-4 months)
8. SANS Institute offers VetSuccess FREE to which you are offered 3 GIAC certifications. (Program to be done in less than 6 months) ***note, the application process is brutal and not for the faint of heart. They also offer Women's Academy, Diversity Cyber Academy, and Cyber Workforce)
Recap - 12 certifications FREE and within a year!
—————————————————— | 40 | ITCareerQuestions |
uowav1 | As the title says, trying to determine if cybrary would be worth it for my situation.
Currently active duty military, working on my degree in cyber security. I get out of the military in 8 months and will be really close to having my degree, but it won't be finished yet. I plan on getting a few certs (network+ and sec+ mainly) to help improve my resume and look more hireable since I won't have my degree.
That being said money is really tight for me right now so if I start the membership for cybrary I want to make sure it would be worth it. | Honestly I had access to the full thing for free and would never pay for it. I found the courses just lacking in any real information. I was using the highest rated course for the subjects too.
To me, Udemy is the best option out there for self learning. Also it has a much better catalog. Just my thoughts tho.
Also as a veteran you will have access to linkedin premium which includes their learning courses for free for a year. They aren't the best in my opinion but pretty good for the price of free | 30 | ITCareerQuestions |
uowav6 | I’ve been struggling a lot with eye strain and stinging lately, and it intensifies whenever I look at screens and it just does to want to go away.
Do you guys know any solutions to this? | This is talked about pretty often. The standard advice of take breaks, go for a walk, and use pen/paper or whiteboards when the opportunity presents itself are all good tips.
But I'd also point out "sit an appropriate distance from your screen" and "Don't blow out your brightness settings" as important advice that's a bit less common. I saved myself a world of pain by getting my work monitors set up properly for long sessions. | 100 | CSCareerQuestions |
uowav6 | I’ve been struggling a lot with eye strain and stinging lately, and it intensifies whenever I look at screens and it just does to want to go away.
Do you guys know any solutions to this? | As soon as I go home. I turn on my computer and train my eyes with more screen staring.
&#x200B;
But, I find that a good sleep, eye close, and not playing on my phone after work really helps out. | 60 | CSCareerQuestions |
uowav6 | I’ve been struggling a lot with eye strain and stinging lately, and it intensifies whenever I look at screens and it just does to want to go away.
Do you guys know any solutions to this? | I set my monitor brightness to 5/100, and use windows’ night light feature after 7pm. My eyes haven’t stung in years but apparently if you look at a not-so-bright monitor for so long it will mess up your eyesight. | 40 | CSCareerQuestions |
uowebk | The British royal family changed their name from Saxe-Coburg and Gotha to Windsor. What other names were considered, and why was Windsor the winner? | In the spring of 1917, as the war raged on, rising anti-monarchical and anti-German sentiment prompted the Prime Minister, David Lloyd George, to suggest to George V that members of the Royal Family reject their German names and titles. Though at first resistant to the idea, both the King and Queen recognized the precarious status of the monarchy in light of the recent revolution in Russia, where the Tsar (who, like the German emperor Willem II, was the King’s cousin) had been recently deposed.
As there was no established process for renaming the Royal House, the King’s private secretary, Lord Stamfordham, had to turn to Henry Farnham Burke at the College of Arms, which collected information on family lineages, for ideas. According to Jane Ridley in her recent biography of George V (which she wrote after careful consultation of the papers of Lord Stamfordham, and of Harold Nicolson, the King's official biographer), the names that were first considered include Wettin, which, rather than Coburg, was believed to be the family name of Albert, the Prince Consort; Wipper, which some in the Heralds’ College believed was Albert's true family name; and Guelph, which was the family name of the Hanoverians. All these were rejected for being too German-sounding and “unsuitably comic.”
Lord Stamfordham offered up Tudor-Stewart in attempt to connect with former English dynasties, and King George and Queen Mary did for a time favor simply Stewart. But both Lord Rosebery and H. H. Asquith, two former prime ministers who had been asked to consult on the name change, dismissed this choice given the rejection of the Stuart dynasty during and after the Glorious Revolution of 1688. According to Anne Edwards in her biography of Queen Mary, other suggestions from Prince Louis of Battenberg and the Duke of Connaught, who had also now joined the debate, included names historically associated with English monarchs: York, Lancaster, Plantagenet, England, D’Este, and Fitzroy. All of these were rejected.
In the end, Stamfordham was the one who came up with Windsor. Unlike York or Lancaster, it had never been (up to this point) the name of a royal dukedom. Windsor was the site of Windsor Castle, which had been occupied by the monarch for hundreds of years. And crucially, Windsor also had precedence as a royal style, as Edward III, who had reigned in the fourteenth century, was sometimes known as Edward of Windsor. The name Windsor was considered “as English as the earth upon which the castle stood, its smooth solid walls encircling its wards, mound, towers, and chapel” and was therefore accepted.
At a council on July 17, 1917, the King proclaimed that he and his heirs would henceforth be known as members of the House of Windsor. He and the extended Royal Family also relinquished their German titles, with many receiving British peerages in exchange. | 4,870 | AskHistorians |
uoweg3 | I realize that folks who are more artistically inclined know the difference, my question is more in regards to the general public. Other colors on the spectrum are similar to each other but are generally treated as distinct colors. Orange and yellow are just as close to each other as blue and indigo but most people treat them as entirely separate colors. Blue and Indigo typically are changed to be light blue and dark blue, why do we do this? If indigo and blue are the same, why isn't purple also blue? If purple is blue why isn't red also blue? Is everything really just a shade of blue? | Assuming you mean Sir Issac Newton's color scale: it was originally only 5 colors, but he wanted to have 7 colors to match the number of notes in the major scale (musical scale) so he added orange and indigo. | 30 | ask |
uown1l | What would happen if Russia took back Alaska? | Counter-question: How? | 860 | AskAnAmerican |
uown1l | What would happen if Russia took back Alaska? | Russia ain't taking back Alaska. What would happen if Russia *attacked* Alaska? A swift response by NATO in which the Russian military gets annihilated very quickly. Russia can barely hold on to villages in Ukraine. They've exhausted most of the modern military hardware, annihilated their own "elite" airborne force and lost their flagship to a country with no navy. Attacking Alaska would be suicide. | 470 | AskAnAmerican |
uown1l | What would happen if Russia took back Alaska? | They literally cannot, they can't take Kyiv. But the answer is war. | 360 | AskAnAmerican |
uowojt | I want it to take a string and turn it into a list of binary then turn said binary into an image consisting of concentric circles, each split into eight parts. How would I do this? I know how to convert the string into binary but not how to turn it into an image.
&#x200B;
[Here's an example](https://drive.google.com/file/d/1lIMtarOi0d8sry3Y8w76yO_1iNwtWdlm/view?usp=sharing) it says "Test" | Use the `pillow` module for bitmap (png / jpeg) output, or the `tkinter` module for vector (svg / ps) output, and draw a series of overlapping `arc` objects.
https://pillow.readthedocs.io/en/stable/reference/ImageDraw.html#PIL.ImageDraw.ImageDraw.arc
https://anzeljg.github.io/rin2/book2/2405/docs/tkinter/create_arc.html | 90 | LearnPython |
uowpz7 | Alright, guys so this is the situation.
I am currently working as a network engineer. Still pretty early in my networking career and mostly worked with layer 2. Haven't had access to routing. My goal is to get to the senior level tier.
Here is the dilemma. Which opportunity should i go for?
A. A contract opportunity where I would be making around 104k as a network engineer. This position would expose me more to routing and overall seems like a really good opportunity to take me to the next level. The employer knows my skill level and knows that I haven't done much production routing. Because of my ambitious attitude, they are interested in me.
&#x200B;
B. A well-known company where I would be working as a Senior Helpdesk making a little less(Mid 90s). I have heard it is difficult to get in and I could definitely see myself retiring here. (I am 24) They do have a lot of opportunities within and I know talent retention is pretty good. Just overall a great company.
&#x200B;
So take a step back in position at an great company? Or continue to grow my skills and make more money while im there.
&#x200B;
Either way, it's a pay bump for me. I'm currently making around 85k and in an Infrastructure role. No access to anything layer 3. They are all offshore.
&#x200B;
Thank you guys ahead of time for the help and advice. | If you have to choose between the two I would go with A. Helpdesk, even at a good company, just isn't worth it. In my opinion you should learn a bit of cloud stuff (Terraform, Azure or AWS) and some DevOps principles and then start applying to other roles. A few months ago I got offered multiple "Cloud Network Engineer" roles for ~150k TC with almost 0 networking experience. All but one were fully remote. YMMV. | 50 | ITCareerQuestions |
uowpz7 | Alright, guys so this is the situation.
I am currently working as a network engineer. Still pretty early in my networking career and mostly worked with layer 2. Haven't had access to routing. My goal is to get to the senior level tier.
Here is the dilemma. Which opportunity should i go for?
A. A contract opportunity where I would be making around 104k as a network engineer. This position would expose me more to routing and overall seems like a really good opportunity to take me to the next level. The employer knows my skill level and knows that I haven't done much production routing. Because of my ambitious attitude, they are interested in me.
&#x200B;
B. A well-known company where I would be working as a Senior Helpdesk making a little less(Mid 90s). I have heard it is difficult to get in and I could definitely see myself retiring here. (I am 24) They do have a lot of opportunities within and I know talent retention is pretty good. Just overall a great company.
&#x200B;
So take a step back in position at an great company? Or continue to grow my skills and make more money while im there.
&#x200B;
Either way, it's a pay bump for me. I'm currently making around 85k and in an Infrastructure role. No access to anything layer 3. They are all offshore.
&#x200B;
Thank you guys ahead of time for the help and advice. | Only tech problems haha. Go do what you want networking. You dont want to be stuck helpdesk hating your life | 30 | ITCareerQuestions |
uowy2z | My superficial knowledge of what black holes are and how they work tell me the answer to the question is yes (yes), but I'm not sure.
I guess I understand that if you have a black hole, the mass must be in a singularity since, if you have gravity strong enough to bend space entirely inwards so that light can't escape, then surely there are no other forces that can resist this by pushing apart (like how atoms or neutrons push each other away) to constitute a body of some sort.
So it seems that a black hole necessarily contains a singularity?
Ok, then, if you have a situation where gravity is strong enough to create a singularity, is it necessarily also a black hole? Can you have a singularity so small that light can't fall into it, or something like that?
I'm sort of thinking of this case where you have a neutron star, and you add one neutron at a time... is there going to be a point where I add a neutron and "pop" it's a singularity / black hole, or is there some in-between (however narrow) where you're not quite one or the other? | Short answer, we don't know.
The math predicts singularity, but usually that's just a big red flag that you've reached the limitations of the math, not necessarily the limitations of the real physical universe. There may be some as yet unknown physics that prevents a singularity. Some believe that a further level of collapse is possible beyond a neutron star to an unknown star type that we haven't seen yet - quark stars are the common term. Just because the curvature of spacetime around an object is extreme enough to create an event horizon, it doesn't necessarilly follow that there has to be a singularity at the center. | 6,830 | AskScience |
uowy2z | My superficial knowledge of what black holes are and how they work tell me the answer to the question is yes (yes), but I'm not sure.
I guess I understand that if you have a black hole, the mass must be in a singularity since, if you have gravity strong enough to bend space entirely inwards so that light can't escape, then surely there are no other forces that can resist this by pushing apart (like how atoms or neutrons push each other away) to constitute a body of some sort.
So it seems that a black hole necessarily contains a singularity?
Ok, then, if you have a situation where gravity is strong enough to create a singularity, is it necessarily also a black hole? Can you have a singularity so small that light can't fall into it, or something like that?
I'm sort of thinking of this case where you have a neutron star, and you add one neutron at a time... is there going to be a point where I add a neutron and "pop" it's a singularity / black hole, or is there some in-between (however narrow) where you're not quite one or the other? | So, from my understanding, the math simply isn’t there to confirm or deny that there is *actually* a *physical* singularity in a black hole. I’ve heard it said that a singularity is simply a situation in which a given system is attempting to describe a particular event or situation it wasn’t really designed to. For example, there’s a singularity at the north and south poles: the zero dimensional points at which all longitudes converge and it becomes impossible to meaningfully differentiate them. Where every direction is south/north (depending on which pole you’re at). I’m sure I’m explaining this poorly. Maybe someone else can come in and clean up my mess.
In any case, until and unless we get a functioning theory of quantum gravity, we won’t really know *what* happens inside a black hole, much less at the singularity. | 1,440 | AskScience |
uowy2z | My superficial knowledge of what black holes are and how they work tell me the answer to the question is yes (yes), but I'm not sure.
I guess I understand that if you have a black hole, the mass must be in a singularity since, if you have gravity strong enough to bend space entirely inwards so that light can't escape, then surely there are no other forces that can resist this by pushing apart (like how atoms or neutrons push each other away) to constitute a body of some sort.
So it seems that a black hole necessarily contains a singularity?
Ok, then, if you have a situation where gravity is strong enough to create a singularity, is it necessarily also a black hole? Can you have a singularity so small that light can't fall into it, or something like that?
I'm sort of thinking of this case where you have a neutron star, and you add one neutron at a time... is there going to be a point where I add a neutron and "pop" it's a singularity / black hole, or is there some in-between (however narrow) where you're not quite one or the other? | Pure general relativity says there must be a singularity in a black hole. But we know general relativity isn't the whole picture and comes into hopeless conflict on quantum scales.
Until we have a better understanding of gravity at the quantum scale, any answer besides "we don't know" is a lie.
Regarding can you have a singularity without a black hole, we think you probably can't, but again don't know for sure. The more sciency term for that to help you look stuff up is that said singularity would be called a "naked singularity", and the "cosmic censorship hypothesis" is a proposal saying they can't exist (which is unproven, hence it being a hypothesis). | 450 | AskScience |
uowyfo | so i want to know if nuts to add weight to my body. whenever i eat anything i weight immediately and its like +0.6 kg for example but when nuts have more calories they dont add anything immediately after eating it like other food.
does nuts actually add weight and how? | First: don't weigh yourself after eating, that doesn't make sense. Weigh yourself once per month or every few weeks in the morning after using the toilet and before eating. Then you will get a solid number.
Second: yes, you can gain weight with nuts, but 100g nuts contain 600kcal while let's say bread with 100g has maybe 250g. So you need to eat less to get stuffed the same. | 50 | ask |
uox4ow | I am in the process with 2 companies:
Company A, seems pretty good and works with the language i want to learn more
Company B, also has great culture (way more Behavorial interviews screening for important questions) and works with a massive scale, tens of thousands of requests a second, globally distributed etc
There are also 2 issues,
1.I hastely accepted company A's offer, and don't want to back out of it
2. Company B works in the languages I was trying to get away from
I am thinking I would like to be an architect later in my career. (currently 5 yoe) did I make a huge mistake in accepting company A's offer?
Edit: wording | No.
Data at scale is nice to have on your resume but won't make or break anything. | 50 | CSCareerQuestions |
uox6hu | This feels like a stupid question but I’m on the job hunt for the first time in an embarrassingly long time and this whole process is my kryptonite. My email and LinkedIn inbox have been flooded with recruiters telling me about their exciting new opportunity that would be just perfect for me. Some of them speak English very poorly, some seem really pushy, some of the jobs are are barely related to what I do or have mandatory skills that I don’t even hint at on my resume. It all feels a bit like a Nigerian prince is trying to offload his fortune on to me if I just send him my account number. So what’s the deal with tech recruiters? Can someone please ELI5? | Those ones are scammy. Use your best judgement. | 60 | CSCareerQuestions |
uox6hu | This feels like a stupid question but I’m on the job hunt for the first time in an embarrassingly long time and this whole process is my kryptonite. My email and LinkedIn inbox have been flooded with recruiters telling me about their exciting new opportunity that would be just perfect for me. Some of them speak English very poorly, some seem really pushy, some of the jobs are are barely related to what I do or have mandatory skills that I don’t even hint at on my resume. It all feels a bit like a Nigerian prince is trying to offload his fortune on to me if I just send him my account number. So what’s the deal with tech recruiters? Can someone please ELI5? | Some of them are, a lot aren't. There are typically three types of recruiters in order of decreasing "legitness":
* Internal recruiters. These are people who work for the company that is looking to hire engineers. If one is contacting you about an open position, there is a good chance you can get an interview out of it.
* External recruiters who are contracted by employers for direct hire positions. You tend to see this with smaller companies who don't have the need or the resources to hire full time recruiters. They're pretty good, and probably worth your time to at least have a chat with if you're interested in other opportunities.
* External recruiters looking to represent you for contract work. This is probably what you'll see the most. I've never had a fruitful conversation with one of these recruiters, so I just ignore them. I wouldn't fault desperate people for giving them a shot though. | 50 | CSCareerQuestions |
uox6hu | This feels like a stupid question but I’m on the job hunt for the first time in an embarrassingly long time and this whole process is my kryptonite. My email and LinkedIn inbox have been flooded with recruiters telling me about their exciting new opportunity that would be just perfect for me. Some of them speak English very poorly, some seem really pushy, some of the jobs are are barely related to what I do or have mandatory skills that I don’t even hint at on my resume. It all feels a bit like a Nigerian prince is trying to offload his fortune on to me if I just send him my account number. So what’s the deal with tech recruiters? Can someone please ELI5? | In general, yes, third-party agency recruiters are legit, though the quality varies greatly. The Recruiting FAQ contains some info about how they work, in case you're not sure: https://www.reddit.com//r/cscareerquestions/wiki/faq_recruiting
I just completed a successful job search for architect and management positions, and I made it to the final round of interviews with 5 companies (1 offer, two others asking if they could counter-offer; I declined). Four of those jobs were brought to my attention by agency recruiters.
When working with agency recruiters, you just have to remember that you're the product being sold, not the customer. Also, the recruiter only gets paid if you get an offer, accept the offer and start the job. Therefore, you have to understand that their entire motivation is to get to that end--at all costs. Some of them will lie to you, bully you to take a low offer, etc. I'm not excusing that type of behavior, but if you understand their motivation, then that helps you to deal with it more successfully. | 40 | CSCareerQuestions |
uox6vu | I'm really anxious about this, I'm having the phone screening for this role next week. Any advice? | You'll have two interviews, a technical interview with another IT engineer and a 'culture' interview with an IT manager, neither from the site you're applying to. Relax, take your time, be honest about your skills and if you don't know something you're asked, explain how you'd go about finding the answer.
You'll be asked to rate your skill level in networking, linux, and Microsoft and then asked a series of questions based upon your reponses... the higher you rate your skill, the more questions you're likely to be asked in that area. So if you don't know linux, don't rate yourself highly and that'll be a comparatively smaller portion of your technical interview.
Following that, you'll be asked some questions about your perspective and past work experience that relates to Amazon's leadership principles... you should have received a copy of the LP's along with a description of the 'STAR' method from your recruiter. Review the leadership principles beforehand and think of a couple situations you can relate to each one so you're ready when asked, and use the STAR method to compose your answers.
So, for example, you might be asked something like this for Bias for Action:
>Give me an example of when you had to make an important decision and had to decide between moving forward or gathering more information. What did you do? What was the outcome? What information is necessary for you to have before acting?
Use the STAR method to identify the situation, the task needed to address that situation, the actions taken to accomplish that task, and the results.
All in all, it's pretty straightforward and not a super difficult interview process. | 50 | ITCareerQuestions |
uox6vu | I'm really anxious about this, I'm having the phone screening for this role next week. Any advice? | Study up on Leadership Principles, write a few examples when you have demonstrated each leadership principle. | 40 | ITCareerQuestions |
uoxbqq | Hi all,
I have just recently completed a UX course and it seems the market for entry UX roles is incredibly difficult to get into.
What would you say is the easiest IT career for one to get into for one without any IT qualification (I am open to pursuing some if needed), that I could do in the meantime?
I don’t know how long it will take me to secure a ux role so I’m looking at this at a back up career but one that also still has decent growth within it.
It would be nice to get something similar or close to UX with the sort of requirements I’m looking for but I don’t think it’s possible…
I am based in London if it will help give some clarity. | "I have just recently completed a UX course "
Why did you choose UX? | 30 | ITCareerQuestions |
uoxm3z | I entered a new company 3 months ago. I got hired as a Backend dev. And in this project I came to replace a guy that was working in DevOps 100%.
They knew I was going for Backend, so they told me the team would adapt, and everyone would do a little bit of DevOps each. (We already have 1 in DevOps).
But today, after a couple of sprints, they said I would be working with the other DevOps guy.
So I asked, if I would now be 100% DevOps, and they said 50/50.
This is making me quite annoyed. DevOps is an area that does not interest me at all. And now I am supposed to do it. And I have no experience in it.
I was so happy with my previous tasks in the Backend, was completing them pretty well and quickly, and this is how I am rewarded!
I am just tired, my previous company also fucked me up, by leaving me in the bench for 1.5 years (cuz corona and stuff) and then giving me shitty projects, and now I am getting the same treatment! I want to grow and quickly, and DevOps is not something I intend on becomibg an expert.
Sure, I could have some knowledge, but I don't want to replace time I could get experience in Backend with DevOps.
Am I just freaking out?
Is DevOps that bad, if your intention is to become good in the backend, and maybe even do freelance in the future?
I am okay, in case it is a good complienent. But I don't want it too much. I want to shine where I am good at: coding! | You are overthinking things. Being good at devops is never a bad thing, and can be beneficial actually to pretty much any other area of CS / SWE.
Also, you're not going to ever be able to work on only the things you want. Everything is interconnected, and the more broad experience you get earlier on in your career, the better you will be. | 240 | CSCareerQuestions |
uoxm3z | I entered a new company 3 months ago. I got hired as a Backend dev. And in this project I came to replace a guy that was working in DevOps 100%.
They knew I was going for Backend, so they told me the team would adapt, and everyone would do a little bit of DevOps each. (We already have 1 in DevOps).
But today, after a couple of sprints, they said I would be working with the other DevOps guy.
So I asked, if I would now be 100% DevOps, and they said 50/50.
This is making me quite annoyed. DevOps is an area that does not interest me at all. And now I am supposed to do it. And I have no experience in it.
I was so happy with my previous tasks in the Backend, was completing them pretty well and quickly, and this is how I am rewarded!
I am just tired, my previous company also fucked me up, by leaving me in the bench for 1.5 years (cuz corona and stuff) and then giving me shitty projects, and now I am getting the same treatment! I want to grow and quickly, and DevOps is not something I intend on becomibg an expert.
Sure, I could have some knowledge, but I don't want to replace time I could get experience in Backend with DevOps.
Am I just freaking out?
Is DevOps that bad, if your intention is to become good in the backend, and maybe even do freelance in the future?
I am okay, in case it is a good complienent. But I don't want it too much. I want to shine where I am good at: coding! | Learning devops is just part of becoming a senior developer, my dude. And unless you're doing it for multiple teams it's not exactly a full time role. Its just a hat someone needs to wear sometimes.
Ideally you teach ALL the devs on a team enough over time that they can do the devops portion. | 220 | CSCareerQuestions |
uoxm3z | I entered a new company 3 months ago. I got hired as a Backend dev. And in this project I came to replace a guy that was working in DevOps 100%.
They knew I was going for Backend, so they told me the team would adapt, and everyone would do a little bit of DevOps each. (We already have 1 in DevOps).
But today, after a couple of sprints, they said I would be working with the other DevOps guy.
So I asked, if I would now be 100% DevOps, and they said 50/50.
This is making me quite annoyed. DevOps is an area that does not interest me at all. And now I am supposed to do it. And I have no experience in it.
I was so happy with my previous tasks in the Backend, was completing them pretty well and quickly, and this is how I am rewarded!
I am just tired, my previous company also fucked me up, by leaving me in the bench for 1.5 years (cuz corona and stuff) and then giving me shitty projects, and now I am getting the same treatment! I want to grow and quickly, and DevOps is not something I intend on becomibg an expert.
Sure, I could have some knowledge, but I don't want to replace time I could get experience in Backend with DevOps.
Am I just freaking out?
Is DevOps that bad, if your intention is to become good in the backend, and maybe even do freelance in the future?
I am okay, in case it is a good complienent. But I don't want it too much. I want to shine where I am good at: coding! | If anything having DevOps experience is a great thing if you're a backend engineer.
But honestly, it is really weird to me that they'd hire a backend developer to replace an ops person. And it's weirder to me that you're embedded in what seems like a normal development team. Is this a very small company, like series A startup or smaller?
It's fine if you're not interested in it, but it's not like you're wasting time - an understanding of cloud computing is very useful to all engineers, especially backend, particularly at smaller companies - the smaller you go the more ownership you can have, but you also have to wear more hats.
That said, if it's too much ops work for your liking, you should explain this to your manager. Have you told THEM where you want to take your career? It's your manager's job to help you along that path, but they can't do anything if you don't talk to them. | 70 | CSCareerQuestions |
uoxmzv | how can i cheer a depressed friend through text? | "I know things have been hard for you lately, please know that I'm right here with you no matter what." | 70 | ask |
uoxmzv | how can i cheer a depressed friend through text? | Tell something good to him like (how you both spend time together, that you can’t see your live without him cause he is your best friend). Or something else, cause I don’t have a lot of friends who can tell something same to me | 30 | ask |
uoxo9h | What's the weirdest thing that turned you on? | In college we were doing some skit in some class. Me and another guy were on all fours and supposed to act as benches and these girls were gonna sit on our backs. The girl who sat on mine had a nice, soft ass and I never forgot that weird feeling of being able to realize how soft her ass was with just my back. I still think about her and this was a little more than a decade ago. | 8,740 | AskReddit |
uoxo9h | What's the weirdest thing that turned you on? | My girlfriend super sweaty. I don't have a sweat fetish but seeing her all sweaty makes me want to be all over her | 3,280 | AskReddit |
uoxo9h | What's the weirdest thing that turned you on? | Just seeing a bare neck, it's just that satisfying to see | 3,110 | AskReddit |
uoxskv | First, are there any perf/debugging tools that would allow me to inspect or visualize the state of my CPU caches? Capacity, size, hits, misses, etc.
Second, are there any CPU simulators that would allow me to do the same? Maybe something that allows me to run a small-scale C program "in a vacuum" as I'm sure that real CPU is vastly more complicated.
Third, any good resources on cache optimization strategies?
Thank you | Most processors keep performance counters for stuff like this. In Linux you can access them with a tool like [perf stat](https://man7.org/linux/man-pages/man1/perf-stat.1.html).
Getting access controls set up correctly to use it is slightly complicated. [This](https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html) might be a good resource.
I don't think optimizing for cache performance is a terribly big subject. I would say your three most important things are:
1. Where possible, make things small. (i.e. fit more stuff in cache)
2. Make things compact. That is, use arrays a lot so stuff is sitting near each other in memory.
3. Access memory sequentially. Don't bounce around through memory. Avoid linked data structures like linked lists and binary trees.
The last two sort of go together to inform data structure choices. Some general rules of thumb for performance:
- Use arrays instead of linked lists.
- Use open addressed hash tables instead of buckets with links.
- Use sorted arrays instead of balanced binary trees.
Obviously, there will be specific scenarios where the benefits of a linked data structure outweigh their downsides. Always measure.
As far as resources go, I'm a fan of the book *The Art of Writing
Efficient Programs* by Fedor Pikus. It is C++ focused, but if you can understand the code I think most of it is applicable to C as well. | 30 | LearnProgramming |
uoxvlk | I have never coded before and I'm trying to send multiple emails to multiple different people how could I do it | Start with googling the title of this post. That's a very common question and there's plenty of tutorials out there. Once you have some code and you have an issue or bug with it, come back here and show us your code, and we'll help you fix it. | 80 | LearnPython |
uoxvlk | I have never coded before and I'm trying to send multiple emails to multiple different people how could I do it | You start by learning python basics.
Follow a book or watch videos.
https://automatetheboringstuff.com/#toc
https://m.youtube.com/playlist?list=PL-osiE80TeTskrapNbzXhwoFUiLCjGgY7 | 40 | LearnPython |
uoy2fu | I’m at the beginning of a two year part time computer science conversion degree and I’m almost finished semester 1/4 which is comprised of a Java OOP/intro programming module and a computer architecture (linux, circuits, OS) etc filler module.
Next semester I have an advanced OOP and a networking module but we don’t touch on algorithms until my last semester next year.
My question is should I focus fully on java, programming fundamental concepts and OOP now or also add in data structures/algorithms study alongside my course content? Is there any point of me learning algorithms this early in my education before being comfortable with a language? Thanks! | DSA are not beginner material. You need to first become somewhat proficient because otherwise the material doesn't make sense. | 190 | LearnProgramming |
uoy2fu | I’m at the beginning of a two year part time computer science conversion degree and I’m almost finished semester 1/4 which is comprised of a Java OOP/intro programming module and a computer architecture (linux, circuits, OS) etc filler module.
Next semester I have an advanced OOP and a networking module but we don’t touch on algorithms until my last semester next year.
My question is should I focus fully on java, programming fundamental concepts and OOP now or also add in data structures/algorithms study alongside my course content? Is there any point of me learning algorithms this early in my education before being comfortable with a language? Thanks! | I am bootcamp trash so be wary of what I am about to write:
Algorithms are more than likely last in the program because you need the other stuff to do them | 60 | LearnProgramming |
uoy2fu | I’m at the beginning of a two year part time computer science conversion degree and I’m almost finished semester 1/4 which is comprised of a Java OOP/intro programming module and a computer architecture (linux, circuits, OS) etc filler module.
Next semester I have an advanced OOP and a networking module but we don’t touch on algorithms until my last semester next year.
My question is should I focus fully on java, programming fundamental concepts and OOP now or also add in data structures/algorithms study alongside my course content? Is there any point of me learning algorithms this early in my education before being comfortable with a language? Thanks! | If programming is like building a house think of algorithms and data structures as something like interior design and furnishings. You need the actual foundation and solid building first, which is Java. No point learning about how to optimize a space or fill the rooms if you have no rooms or space to work with. | 30 | LearnProgramming |
uoy3ai | I found this website where it allows you to see which celebrity shares the same birthday as you. And I discovered that my birthday is shared with George Lucas, Mark Zuckerberg, and Miranda Cosgrove. And by the way, my birthday is May 14th. | Everyone does. | 70 | ask |
uoy3ai | I found this website where it allows you to see which celebrity shares the same birthday as you. And I discovered that my birthday is shared with George Lucas, Mark Zuckerberg, and Miranda Cosgrove. And by the way, my birthday is May 14th. | Yes Keanu Reeves | 40 | ask |
uoy3ai | I found this website where it allows you to see which celebrity shares the same birthday as you. And I discovered that my birthday is shared with George Lucas, Mark Zuckerberg, and Miranda Cosgrove. And by the way, my birthday is May 14th. | I have the same birthday as Margaret Thatcher :( | 30 | ask |
uoy3t2 | Hello,
I've been given an interview opportunity to be a IT Technician for a hardware recycling warehouse. I'm not in a IT-related position yet. I will be completing my associates degree in IT after May, and I currently hold a CompTIA A+ cert. I thought this opportunity might get my foot in the door because I'm not hearing back from helpdesk positions / other entry positions. I'm in a government position - adminstrative side, not IT. It's rather simple, but it's not giving me the experience I need to move into IT. I'm in need of second opinions because my current position has a good work-life balance, but no IT mobility.
Thoughts? | It's probably going to be grunt work - moving, separating, unboxing, etc. with some troubleshooting to see which machines are scrap and which ones can be re-used/sold.
But it's still IT enough that it puts experience on your resume while you apply to higher level stuff. | 50 | ITCareerQuestions |
uoy50p | Saw this [meme](https://www.reddit.com/r/ProgrammerHumor/comments/uokayc/continuing_the_outsourcing_theme/?utm_source=share&utm_medium=ios_app&utm_name=iossmf) in r/programmerhumor and some people in the comments are giving pretty logical arguments on why they have trouble with Indian devs, wether it is lack of compatibility, or their companies cheaping out and hiring low quality low skilled devs. That makes sense. But some people are being outright racist.
I’m concerned about this because I’m ethnically south Asian and although I was raised in the United Kingdom and Canada, I still have brown skin. And CS is a career I am seriously considering since I do well at CS class at my high school, I enjoy coding, it’s something I can excel at, and it’s also pretty lucrative.
So how common is racism in workplaces?
(In the US, since that is where I want to go for college and live there after) | I wouldn't recommend basing career decisions on wojak memes.
We all know cheap outsourcing shops exist, typically in SE Asia, India, and Eastern Europe. That doesn't mean that developers there aren't worthy of respect and kindness, and it also doesn't mean I assume anyone from those demographics is a shitty developer.
That meme was probably posted by someone younger than you who goes on /g/ too much. Don't worry, most of us are normal adults. Maybe a bit nerdy and awkward, but not overtly racist. | 7,590 | CSCareerQuestions |
uoy50p | Saw this [meme](https://www.reddit.com/r/ProgrammerHumor/comments/uokayc/continuing_the_outsourcing_theme/?utm_source=share&utm_medium=ios_app&utm_name=iossmf) in r/programmerhumor and some people in the comments are giving pretty logical arguments on why they have trouble with Indian devs, wether it is lack of compatibility, or their companies cheaping out and hiring low quality low skilled devs. That makes sense. But some people are being outright racist.
I’m concerned about this because I’m ethnically south Asian and although I was raised in the United Kingdom and Canada, I still have brown skin. And CS is a career I am seriously considering since I do well at CS class at my high school, I enjoy coding, it’s something I can excel at, and it’s also pretty lucrative.
So how common is racism in workplaces?
(In the US, since that is where I want to go for college and live there after) | This industry is full of brown people. Relax yourself. Source: Am brown | 4,760 | CSCareerQuestions |
uoy50p | Saw this [meme](https://www.reddit.com/r/ProgrammerHumor/comments/uokayc/continuing_the_outsourcing_theme/?utm_source=share&utm_medium=ios_app&utm_name=iossmf) in r/programmerhumor and some people in the comments are giving pretty logical arguments on why they have trouble with Indian devs, wether it is lack of compatibility, or their companies cheaping out and hiring low quality low skilled devs. That makes sense. But some people are being outright racist.
I’m concerned about this because I’m ethnically south Asian and although I was raised in the United Kingdom and Canada, I still have brown skin. And CS is a career I am seriously considering since I do well at CS class at my high school, I enjoy coding, it’s something I can excel at, and it’s also pretty lucrative.
So how common is racism in workplaces?
(In the US, since that is where I want to go for college and live there after) | Open racism is rare, but there’s always that guy. You know what I mean. The guy (always a guy) that “just asks questions” and “calls a space a spade” and “doesn’t believe in political correctness” that says pet hurtful things that stop below the threshold for disciplinary action. But they add up. | 1,260 | CSCareerQuestions |
uoy6gf | This doesn't work:
std::vector<int> vec;
auto iter = vec.end() / 2;
This does:
std::vector<int> vec;
auto iter = vec.begin() + (vec.end() - vec.begin()) / 2;
I get it has something to do with type conversions. Can somebody explain the exact conversions going on? | Dividing an iterator makes as much sense as dividing a pointer.
> (vec.end() - vec.begin())
And that evaluates to an integer. Just like pointers. | 110 | cpp_questions |
uoy6gf | This doesn't work:
std::vector<int> vec;
auto iter = vec.end() / 2;
This does:
std::vector<int> vec;
auto iter = vec.begin() + (vec.end() - vec.begin()) / 2;
I get it has something to do with type conversions. Can somebody explain the exact conversions going on? | > vec.end() - vec.begin()
aka `vec.size()` | 50 | cpp_questions |
uoy89l | I am following some Youtube channels from people who own significant plots of land “in the forests somewhere“, like Andrew Camarata, Diesel Creek or similar. Think of people who really have a reason to own an ATV to get around and work on their land. None of those properties seem marked or fenced in any way.
This made me wonder: How would I, on a cross country hike, realize that a forest path suddenly becomes the access road to private property? How easy is it to stray on unmarked private land when hiking off of marked trails?
In Europe, there are various approaches to that issue ranging from “build a fence or don’t complain” to “hikers may go anywhere unless it’s too close to someone else’s house”. What’s the US approach to this? | As a general rule, most places do not have *free to roam* on private property.
There is lots and lots of 'public' land owned by the states or the feds or even much more locally than that (city, county, etc.) that can be used for hiking and fishing and hunting or whatever.
People buy large plots for many reasons, but the most common one is in the name. 'Privacy'. They want private property that belongs to them. | 1,040 | AskAnAmerican |
uoy89l | I am following some Youtube channels from people who own significant plots of land “in the forests somewhere“, like Andrew Camarata, Diesel Creek or similar. Think of people who really have a reason to own an ATV to get around and work on their land. None of those properties seem marked or fenced in any way.
This made me wonder: How would I, on a cross country hike, realize that a forest path suddenly becomes the access road to private property? How easy is it to stray on unmarked private land when hiking off of marked trails?
In Europe, there are various approaches to that issue ranging from “build a fence or don’t complain” to “hikers may go anywhere unless it’s too close to someone else’s house”. What’s the US approach to this? | > How would I, on a cross country hike, realize that a forest path suddenly becomes the access road to private property?
I've hiked, camped and backpacked for 30+ years. This is mostly your responsibility. We take private property pretty seriously. You'd use a mapping app like Gaia or OnX to see where public and private lands overlay. Land could be owned by a timber company, an individual, or a nature preserve...it's your responsibility to know where you are in most cases. As others have mentioned, we do NOT have "freedom to roam", you do not have implicit permission to camp on unused land, no matter how unused it appears. | 890 | AskAnAmerican |
uoy89l | I am following some Youtube channels from people who own significant plots of land “in the forests somewhere“, like Andrew Camarata, Diesel Creek or similar. Think of people who really have a reason to own an ATV to get around and work on their land. None of those properties seem marked or fenced in any way.
This made me wonder: How would I, on a cross country hike, realize that a forest path suddenly becomes the access road to private property? How easy is it to stray on unmarked private land when hiking off of marked trails?
In Europe, there are various approaches to that issue ranging from “build a fence or don’t complain” to “hikers may go anywhere unless it’s too close to someone else’s house”. What’s the US approach to this? | \>What’s the US approach to this?
In my experience, "stay on marked trails and in designated parklands (etc)" and "don't go wandering if there's a possibility you're trespassing".
In some cases (like your hypothetical about a public trail becoming a private access road) ownership is made excruciatingly clear (ie, in my old hometown, there was a private cartway linking a public bike trail and a public road, and the owners nailed dozens of yellow 'no trespassing' to the trees along the cartway, promising legal action. Since the town's police station was about a minute away, by foot, this wasn't an idle threat.) | 330 | AskAnAmerican |
uoy95t | Hello everyone, I currently work at a the target warehouse as a packer. I was talking to one of my co workers and he was telling me how hot the cybersecurity industry is right now. He has his bachelor's and currently working on his master's and I thought about going back to school and get a degree or a certification and try to work my way into the cyber field. From what he told me the cyber field is so broad and there's alot of different areas to choose. What would be the best part of the cyber field for me to look in? For example: digital forensics or pentesting. I want to build myself up to the top but I want to pick something to focus on and go along that path. All suggestions would be greatly appreciated. | Its actually really easy. Go on job websites and type in cyber security or whatever field you want. Look at the requirements and then look into getting those certifications. | 30 | ITCareerQuestions |
uoy9kc | Okay bear with me on this one.
My thinking is, companies demanding employees go back to the office is almost universally driven by toxic tendencies of the company. Inflexibility, a need to micromanage, a rigid definition of what work looks like, strict adherence to traditions, they're all *bad* in ways that will affect you beyond just the call to return to the office.
That said, I personally quite liked office work (which surprised me! growing up I thought I'd hate it) I found I focused a lot better in that environment than working from home, and I find video conferences have an overriding discomfort that I never felt in in-person meetings.
So that's the dilemma. How can I find somewhere to work where people are going to be in the office, but where they're not *making* people go into the office?
(In case it's relevant, I've been a senior SE at one of the big tech companies so I figure I can pretty much write my own ticket for where I work) | You are unlikely to find an entire team that just all comes in everyday unless they are forced to, never mind an entire company. This is coming from somebody that enjoys going in to the office as well.
I would say use the power of numbers to your advantage and work at large companies. You'll probably get a good number of people overall that go in by choice, but unlikely everybody on your team. | 40 | CSCareerQuestions |
uoyb25 | To give a short explanation,
I was raised in a cult in CA with around 40-60 members. They were spiritualists who claimed to be taoist masters. My step dad, the founder, was a psychoanalyst and was trained in hypnotism. He would use these skills along with copious amounts of LSD, ecstasy, ayahuasca, and shrooms to brain wash and sexually abuse people. I was isolated from society until age 12 and did not see a Dr until I had a heart attack at 14 due to a preexisting condition we were not aware of. My step-dad claimed to have went to medical school in India, but didn't graduate because he "didn't like blood". He would reset my sister and I's broken bones with no pain relief, give us stitches, and in my case rip giant cactus needles going all the way through my foot out with forceps.
They also preformed multiple exorcisms and were preppers, they believed the society would collapse. They got heavily into Qanon in my teen years, from age 12 onward.
I am now happy, healthy, and surviving. I don't think I will ever recover from all the trauma, but things are getting better. | are they still in operation? | 430 | AMA |
uoyb25 | To give a short explanation,
I was raised in a cult in CA with around 40-60 members. They were spiritualists who claimed to be taoist masters. My step dad, the founder, was a psychoanalyst and was trained in hypnotism. He would use these skills along with copious amounts of LSD, ecstasy, ayahuasca, and shrooms to brain wash and sexually abuse people. I was isolated from society until age 12 and did not see a Dr until I had a heart attack at 14 due to a preexisting condition we were not aware of. My step-dad claimed to have went to medical school in India, but didn't graduate because he "didn't like blood". He would reset my sister and I's broken bones with no pain relief, give us stitches, and in my case rip giant cactus needles going all the way through my foot out with forceps.
They also preformed multiple exorcisms and were preppers, they believed the society would collapse. They got heavily into Qanon in my teen years, from age 12 onward.
I am now happy, healthy, and surviving. I don't think I will ever recover from all the trauma, but things are getting better. | Did your sister also escape? | 260 | AMA |
uoyb25 | To give a short explanation,
I was raised in a cult in CA with around 40-60 members. They were spiritualists who claimed to be taoist masters. My step dad, the founder, was a psychoanalyst and was trained in hypnotism. He would use these skills along with copious amounts of LSD, ecstasy, ayahuasca, and shrooms to brain wash and sexually abuse people. I was isolated from society until age 12 and did not see a Dr until I had a heart attack at 14 due to a preexisting condition we were not aware of. My step-dad claimed to have went to medical school in India, but didn't graduate because he "didn't like blood". He would reset my sister and I's broken bones with no pain relief, give us stitches, and in my case rip giant cactus needles going all the way through my foot out with forceps.
They also preformed multiple exorcisms and were preppers, they believed the society would collapse. They got heavily into Qanon in my teen years, from age 12 onward.
I am now happy, healthy, and surviving. I don't think I will ever recover from all the trauma, but things are getting better. | Hey, I just checked your account, I wonder you being into BDSM and humiliation has something to do with the trauma you faced growing up? | 200 | AMA |
uoybu9 | I'm british and I'm looking to try some American candy bars, I've tried and loved reeses, could you recommend any others? | I'm not a big candy eater but every once in awhile I get a craving for a snickers. Especially the frozen ones with ice cream in them. | 2,150 | AskAnAmerican |
uoybu9 | I'm british and I'm looking to try some American candy bars, I've tried and loved reeses, could you recommend any others? | London has a silly number of American Candy stores that seem to be a money laundering scheme or at least some sort of shenanigans. If you’re in or ever in London they do seem to have everything we have.
At any rate my vote is Whatchamacallit | 1,500 | AskAnAmerican |
uoybu9 | I'm british and I'm looking to try some American candy bars, I've tried and loved reeses, could you recommend any others? | r/snackexchange might be something to check out, a subreddit devoted to international snack exchanges. You'd probably find some Americans willing to send you a bunch of candy bars in exchange for British ones. | 1,320 | AskAnAmerican |
uoycaw |
Hey everyone,
I just started my first software development job, and am wonder whether to stick with it or not. Currently I am contracted to work for this company for 18 months. but it is likely that I'll be hired full time by the end. I am leaning towards finding a new position for several reason (the team's communication is not done well, are scrum master makes everyone do the scrum daily ceremony instead of himself, our product managers are refusing to listen to coders about how issues need to be resolved etc.) I know these thing will be found everywhere, but something new has started.
The company has stopped dropping team responsible for testing and IT management, and is asking us to pick up their responsibilities. I am more concerned about the IT issues because we are essentially going to be our L1 and L2 support desk. I wanted to ask if this is something common for other software development jobs. I use to work in IT and hated it, and am worried that this is going to continue to be part of my career. | > are scrum master makes everyone do the scrum daily ceremony instead of himself
That's the correct thing to do. It's the SMs job to coach a team to become self-sufficient and not to call one after the other to speak up in the daily scrum. The daily scrum is a meeting from developers for developers.
Your other points sound annoying though. | 30 | CSCareerQuestions |
uoydhu | I am currently making 89K at my current company. Plus I have a 10% bonus based on individual and company performance. I am also guaranteed a 10% raise per year for the next two years.
Today, I got offered a new job at a different company, 105K, 5K sign on bonus. No guarantee of pay raise or annual bonuses.
Should I take it? | What's normal pay for that job in your market with your level of exp?
I would tell them you already make really close to that, and you'd sign today if they upped the offer by 10k. | 30 | CSCareerQuestions |
uoydu3 | I have a bidding war going on that I'm ending at 5pm est. I'm at 155k rn lol I was just at 85k doing support tix | Good for you. Secure that bag. | 190 | CSCareerQuestions |
uoydu3 | I have a bidding war going on that I'm ending at 5pm est. I'm at 155k rn lol I was just at 85k doing support tix | King don’t drop your crown | 100 | CSCareerQuestions |
uoydu3 | I have a bidding war going on that I'm ending at 5pm est. I'm at 155k rn lol I was just at 85k doing support tix | Hey OP, how many yoe | 60 | CSCareerQuestions |
uoylu9 | I'm WFH and deciding whether to get a cat. One concern I have is whether they would be too much of a distraction to my work. Obviously it differs with every cat but I want to know someone else's experiences. Thanks in advance. | Try having kids lol | 110 | ITCareerQuestions |
uoylu9 | I'm WFH and deciding whether to get a cat. One concern I have is whether they would be too much of a distraction to my work. Obviously it differs with every cat but I want to know someone else's experiences. Thanks in advance. | Cats are super low maintenance. I have 4 and never been a problem for wfh. | 70 | ITCareerQuestions |
uoylu9 | I'm WFH and deciding whether to get a cat. One concern I have is whether they would be too much of a distraction to my work. Obviously it differs with every cat but I want to know someone else's experiences. Thanks in advance. | Sometimes I forget we even have a cat because that thing will be somewhere in the house hidden for hours at a time. | 40 | ITCareerQuestions |
uoyoqq | As a junior I got my first job about a month and a half ago. It started of great, sure I struggled ofc but I don’t think I did anything wrong or broke anything much.
I don’t have a defined mentor, just someone who helped me onboard the most and who I reach out to the most for questions (mainly cuz they are the most fluent with the tickets I get).
Anyways past 2-3 weeks I’ve felt a weird vibe From them that’s very different from when I first joined. I get the impression they are starting to dislike me. I mean sure I’m shy, sure I came in not knowing there tech stack at all, sure I had less experience than they wanted, but it’s just getting harder. Of the people I’ve talked to on my team, only one seems genuinely friendly and happy to help. Now I’m hesitant to ask him questions cuz i don’t want to have one less person to ask for help from.
And to top this off, the person who has a growing disdain with me is the closest one to my manager (who has his own issues) | > Anyways past 2-3 weeks I’ve felt a weird vibe From them that’s very different from when I first joined. I get the impression they are starting to dislike me.
"Dislike" might be a harsh word.
> I don’t have a defined mentor, just someone who helped me onboard the most and who I reach out to the most for questions (mainly cuz they are the most fluent with the tickets I get).
How frequently are you asking these questions? There is a point where you might be asking too many questions and you're interfering with the productivity of your mentors. This can cause issues where they might try and distance from you or avoid you - primarily because they have responsibilities too and any time spent helping you is time away from that.
Of course asking questions is fine, but you wanna make sure you don't ask TOO many questions.
My bet is that you're probably asking too many questions too quickly; make sure you do your due research and diligence about the task at hand. Make sure you're not repeating the same questions over and over again. | 50 | CSCareerQuestions |
uoyseg | I'm a pro-choice and used to be pro-life. AMA | Same here, what made you switch? | 140 | AMA |
uoyseg | I'm a pro-choice and used to be pro-life. AMA | Are you religious? | 120 | AMA |
uoyseg | I'm a pro-choice and used to be pro-life. AMA | Why is it wrong for people to have choice when they do/don't want kids? Why should everyone follow only one rule | 60 | AMA |
uoyso5 | Hey everyone! Let me start by saying that I don't have a lot of experience in Python, because as a self-taught full stack developer, I don't use it that much. But recently, I discovered Google's foobar secret hiring system and I wanted to test my knowledge. Keep in mind, I am 16 y/o with no CS background
I am currently at level 3, second problem:
**Commander Lambda has asked for your help to refine the automatic quantum antimatter fuel injection system for the LAMBCHOP doomsday device. It's a great chance for you to get a closer look at the LAMBCHOP -- and maybe sneak in a bit of sabotage while you're at it -- so you took the job gladly.**
**Quantum antimatter fuel comes in small pellets, which is convenient since the many moving parts of the LAMBCHOP each need to be fed fuel one pellet at a time. However, minions dump pellets in bulk into the fuel intake. You need to figure out the most efficient way to sort and shift the pellets down to a single pellet at a time.**
**The fuel control mechanisms have three operations:**
**Add one fuel pellet**
**Remove one fuel pellet**
**Divide the entire group of fuel pellets by 2 (due to the destructive energy released when a quantum antimatter pellet is cut in half, the safety controls will only allow this to happen if there is an even number of pellets)**
**Write a function called solution(n) which takes a positive integer as a string and returns the minimum number of operations needed to transform the number of pellets to 1. The fuel intake control panel can only display a number up to 309 digits long, so there won't ever be more pellets than you can express in that many digits.**
**For example:**
**solution(4) returns 2: 4 -> 2 -> 1**
**solution(15) returns 5: 15 -> 16 -> 8 -> 4 -> 2 -> 1**
I think I understood the problem fairly well and wrote this solution:
def reduce(n, counter):
n = int(n)
if n == 1:
return counter
if n % 2 == 0:
counter += 1
return reduce(int(n / 2), counter)
else:
counter += 1
return min(reduce(n + 1, counter), reduce(n - 1, counter))
def solution(n):
return reduce(n, 0)
It passes 6 test cases out of 10 and I have no idea why. You don't need to provide me with the solution but any help would be really appreciated. | After a bit of thinking and a few scribbles on paper (read 5 hours of playing with binary) I've realised everyone has made this more difficult than it needs to be. All you need to know to decide between adding or subtracting is if it will make the number divisible by 4.
- You always pick division if n is even
- optimal path is maximising number of divisions while minimising number of additions and subtractions
- when n is odd both +1 and -1 will make n even again but only one direction will make n divisible by 4.
- if n is even and divisible by 4 you can then do at least 2 division operations but, if n is even but not divisible by 4, then n is guaranteed to be odd after 1 division operation.
- optimal path is when n is odd you should +/- 1 so that n will be divisible by 4, only exception is when n = 3, 3 - 1 = 2 is less operations than (3 + 1) / 2 = 2
This can be coded by doing
def solution(n):
n = int(n)
count = 0
while n > 1:
if n % 2 == 0:
n //= 2
elif n % 4 == 1 or n == 3:
n -= 1
else:
n += 1
count += 1
return count | 60 | LearnPython |
uoyso5 | Hey everyone! Let me start by saying that I don't have a lot of experience in Python, because as a self-taught full stack developer, I don't use it that much. But recently, I discovered Google's foobar secret hiring system and I wanted to test my knowledge. Keep in mind, I am 16 y/o with no CS background
I am currently at level 3, second problem:
**Commander Lambda has asked for your help to refine the automatic quantum antimatter fuel injection system for the LAMBCHOP doomsday device. It's a great chance for you to get a closer look at the LAMBCHOP -- and maybe sneak in a bit of sabotage while you're at it -- so you took the job gladly.**
**Quantum antimatter fuel comes in small pellets, which is convenient since the many moving parts of the LAMBCHOP each need to be fed fuel one pellet at a time. However, minions dump pellets in bulk into the fuel intake. You need to figure out the most efficient way to sort and shift the pellets down to a single pellet at a time.**
**The fuel control mechanisms have three operations:**
**Add one fuel pellet**
**Remove one fuel pellet**
**Divide the entire group of fuel pellets by 2 (due to the destructive energy released when a quantum antimatter pellet is cut in half, the safety controls will only allow this to happen if there is an even number of pellets)**
**Write a function called solution(n) which takes a positive integer as a string and returns the minimum number of operations needed to transform the number of pellets to 1. The fuel intake control panel can only display a number up to 309 digits long, so there won't ever be more pellets than you can express in that many digits.**
**For example:**
**solution(4) returns 2: 4 -> 2 -> 1**
**solution(15) returns 5: 15 -> 16 -> 8 -> 4 -> 2 -> 1**
I think I understood the problem fairly well and wrote this solution:
def reduce(n, counter):
n = int(n)
if n == 1:
return counter
if n % 2 == 0:
counter += 1
return reduce(int(n / 2), counter)
else:
counter += 1
return min(reduce(n + 1, counter), reduce(n - 1, counter))
def solution(n):
return reduce(n, 0)
It passes 6 test cases out of 10 and I have no idea why. You don't need to provide me with the solution but any help would be really appreciated. | If I had to guess it's because you've got an algorithm with an exponential runtime (*i.e.*, O(2^(n))) and you're simply timing out. | 50 | LearnPython |
uoyso5 | Hey everyone! Let me start by saying that I don't have a lot of experience in Python, because as a self-taught full stack developer, I don't use it that much. But recently, I discovered Google's foobar secret hiring system and I wanted to test my knowledge. Keep in mind, I am 16 y/o with no CS background
I am currently at level 3, second problem:
**Commander Lambda has asked for your help to refine the automatic quantum antimatter fuel injection system for the LAMBCHOP doomsday device. It's a great chance for you to get a closer look at the LAMBCHOP -- and maybe sneak in a bit of sabotage while you're at it -- so you took the job gladly.**
**Quantum antimatter fuel comes in small pellets, which is convenient since the many moving parts of the LAMBCHOP each need to be fed fuel one pellet at a time. However, minions dump pellets in bulk into the fuel intake. You need to figure out the most efficient way to sort and shift the pellets down to a single pellet at a time.**
**The fuel control mechanisms have three operations:**
**Add one fuel pellet**
**Remove one fuel pellet**
**Divide the entire group of fuel pellets by 2 (due to the destructive energy released when a quantum antimatter pellet is cut in half, the safety controls will only allow this to happen if there is an even number of pellets)**
**Write a function called solution(n) which takes a positive integer as a string and returns the minimum number of operations needed to transform the number of pellets to 1. The fuel intake control panel can only display a number up to 309 digits long, so there won't ever be more pellets than you can express in that many digits.**
**For example:**
**solution(4) returns 2: 4 -> 2 -> 1**
**solution(15) returns 5: 15 -> 16 -> 8 -> 4 -> 2 -> 1**
I think I understood the problem fairly well and wrote this solution:
def reduce(n, counter):
n = int(n)
if n == 1:
return counter
if n % 2 == 0:
counter += 1
return reduce(int(n / 2), counter)
else:
counter += 1
return min(reduce(n + 1, counter), reduce(n - 1, counter))
def solution(n):
return reduce(n, 0)
It passes 6 test cases out of 10 and I have no idea why. You don't need to provide me with the solution but any help would be really appreciated. | For the failed tests, do you have the inputs + expected vs. actual outputs? | 30 | LearnPython |
uoytx0 | I made a discord bot and want to have it run 24/7 now. Do people get servers and import the files, or use services like heroku? If you get a server do you just run the file from command prompt or do you get an IDE and open it there | I have a Raspberry Pi on my desk that runs my always-on scripts. | 1,370 | LearnProgramming |
uoytx0 | I made a discord bot and want to have it run 24/7 now. Do people get servers and import the files, or use services like heroku? If you get a server do you just run the file from command prompt or do you get an IDE and open it there | For a discord bot, I found that for simple interaction based bots that use slash commands, you can use Vercel functions. Free forever, instant response with no warm up. Can use a free DB like supabase to keep state.
For other things, a raspberry pi as others suggested. | 270 | LearnProgramming |
uoytx0 | I made a discord bot and want to have it run 24/7 now. Do people get servers and import the files, or use services like heroku? If you get a server do you just run the file from command prompt or do you get an IDE and open it there | Look into process managers like pm2. | 240 | LearnProgramming |
uoyywb | Hey all, I have a bit of an ignorant question for you, so my apologies if this is inappropriate (will delete if so).
My question: is there ever a time you wouldn't want to use `#pragma once` in a header file? Or maybe asked a better/less negative way, when would be an occasion that you want to include a header file multiple times without `#pragma once`?
I have a surface-level understanding of how the compiler works (preprocessor, translation units, linking, etc.) and the basics, but I know for sure it's not really a great grasp and maybe influences why I would ask this question.
Thanks in advance for any input! | Headers that are designed to be included twice or more in the same translation unit, are exceedingly rare.
There is one such in the standard library: `<assert.h>` (and in C++ also `<cassert>` of course).
That's because the effect of `assert` depends on whether `NDEBUG` was defined the last time `<assert.h>` (or in C++ also `<cassert>`) was included.
I do not recommend using that technique for your own code.
For modern coding it's just a technical possibility. | 60 | cpp_questions |
uoyywb | Hey all, I have a bit of an ignorant question for you, so my apologies if this is inappropriate (will delete if so).
My question: is there ever a time you wouldn't want to use `#pragma once` in a header file? Or maybe asked a better/less negative way, when would be an occasion that you want to include a header file multiple times without `#pragma once`?
I have a surface-level understanding of how the compiler works (preprocessor, translation units, linking, etc.) and the basics, but I know for sure it's not really a great grasp and maybe influences why I would ask this question.
Thanks in advance for any input! | I have a header with pragmas to disable warnings. That header gets included before certain third party headers. After the those includes the warnings get reenabled by a different header without pragma once. I won't pragma once this warning disabler header to allow to include my own headers and the third party headers with disabled warnings in various order.
Hope it's understandable...
Rare case and maybe not something you do all the time, but I don't like to flood my code with warnings that I can't fix and drown my own warnings my the noise. | 50 | cpp_questions |
uoyywb | Hey all, I have a bit of an ignorant question for you, so my apologies if this is inappropriate (will delete if so).
My question: is there ever a time you wouldn't want to use `#pragma once` in a header file? Or maybe asked a better/less negative way, when would be an occasion that you want to include a header file multiple times without `#pragma once`?
I have a surface-level understanding of how the compiler works (preprocessor, translation units, linking, etc.) and the basics, but I know for sure it's not really a great grasp and maybe influences why I would ask this question.
Thanks in advance for any input! | Short answer: No, you always want to use `#pragma once`.
Long answer: *Technically* `#pragma once` is not standard and hence not required to work. Include guards on the other hand are guaranteed to work. However, all major compilers support `#pragma once` since decades so it's basically guaranteed to work everywhere except on maybe some super niche embedded compilers or whatever but if they don't care about `#pragma once` then they most likely don't care about C++ much anyway so no reason to use them in the first place.
Additionally there are some situations where pragma once can fail if you include files through a symlink via a network or something like that but in reality such a situation screams "incredibly stupidly organized code base" and simply does not exist (or if it does then whoever came up with it should rethink their life choices).
> when would be an occasion that you want to include a header file multiple times without #pragma once?
(Almost) Never. If your header doesn't have an include guard (or rather pragma once) then you're (most likely) doing it wrong. Apparently there are some headers in some projects which rely on not being include guarded but those are very special cases and for pretty much all code you're ever going to write not having include guards will be wrong. | 30 | cpp_questions |
uozb5n | Same question also applies to assisted suicide in general, not just for people with terminal illnesses. Would you support the legalization of such an action in your state or in the country as a whole? Would you only support euthanasia, but not assisted suicide in general? | I worked as a nurse in nursing homes for roughly 8 years. I would 100% support euthanasia.
The amount of patients we have who are not wanting to live and taking up resources (that we can use to care for other people in need), is insane.
I’ve had patients talk to me about how they are just waiting to die. No family coming to visit them, shitty food, can’t walk, some can’t talk or move, just blinking for yes/no. I’ve had patients ask me to hire sharpshooters to end it for them.
Why are we keeping people alive who don’t want to me, especially those at the end of the road? Is it more cruel to keep them alive or to help them die? | 3,360 | AskAnAmerican |
Subsets and Splits