thread_id
stringlengths
6
6
question
stringlengths
1
16.3k
comment
stringlengths
1
6.76k
upvote_ratio
float64
30
396k
sub
stringclasses
19 values
unym8g
What American people think about Malcolm X beliefs (the beliefs that he held before his pilgrimage to Mecca) ?
Complex guy and certainly a product of a system that thoroughly oppressed black people. I think he was very bitter before and after the Nation of Islam. One could hardly blame him.
840
AskAnAmerican
unym8g
What American people think about Malcolm X beliefs (the beliefs that he held before his pilgrimage to Mecca) ?
Some oc his beliefs have been distorted in the historiography, but he was clearly antisemitic.
500
AskAnAmerican
unzh6q
I need a car in LA on short notice. I am worried I am gonna book a Mustang and end up in a Sebring. SIXT also seems so cheap, why does nobody talk about them?
If you're having to book last minute you're kinda shit outta luck
320
AskAnAmerican
unzh6q
I need a car in LA on short notice. I am worried I am gonna book a Mustang and end up in a Sebring. SIXT also seems so cheap, why does nobody talk about them?
I’ve never heard of them. A quick search came up with the fact that they have few locations in the US and very low customer satisfaction ratings. I would try to find a more reputable company if it’s a possibility, but if you proceed with this one, make sure you take photos of the car inside and out before you leave the lot and after you return it.
150
AskAnAmerican
unzh6q
I need a car in LA on short notice. I am worried I am gonna book a Mustang and end up in a Sebring. SIXT also seems so cheap, why does nobody talk about them?
Good news! Sebrings haven't been made for like 10 years. Pretty sure the only convertibles in mainstream rental fleets currently are Mustangs and Camaros. Don't expect a V8, though. (I assume you're talking about convertibles, because how else would a Mustang and a Sebring be in the same class?) The "or similar" categories are always a bit of a crapshoot. Rental cars are expensive right now because the companies sold off their fleets in 2020 when nobody was traveling and the new car market has since gone nuts. Turo may be worth a look, especially if you want something fun or interesting. It's Airbnb for cars, basically. I haven't used them, but I've heard that they have tons of hidden taxes and fees that blow the final price significantly higher than you might expect.
110
AskAnAmerican
unzjbt
I am referring to a ram and not a particular memory address. Do rams' not have single input output?
It really depends on the system architecture. If there are multiple memory controllers or if the memory controller can queue/coalesce multiple requests into one cycle then yes multiple processes can technically access memory at the same time. Keep in mind that cpus also use cache on the chip so often times in a multi core environment you can have concurrent processes that get all the data they need from the cache.
50
AskComputerScience
uo00s4
Redditors of U.S.A, is there at least free healthcare for children in your country? Or is there at least some sort of support system established if the child is ill and is in dire need of medical attention?
I'm not defending the US healthcare system because it DOES suck...but I find it so funny that the foreign perception of it is so dystopian.
580
AskAnAmerican
uo00s4
Redditors of U.S.A, is there at least free healthcare for children in your country? Or is there at least some sort of support system established if the child is ill and is in dire need of medical attention?
Yes to both, more or less. Children are covered under their parents insurance, which the vast majority of people have. If they are living at poverty levels they are eleigible for government paid healthcare. Emergency services can not be denied to any person by federal law.
380
AskAnAmerican
uo00s4
Redditors of U.S.A, is there at least free healthcare for children in your country? Or is there at least some sort of support system established if the child is ill and is in dire need of medical attention?
It's amazing at how foreign posters have access to the greatest medical care in the world while the US has none but we at least have search engines that work.
290
AskAnAmerican
uo0clb
I'd like to practice the low level socket programming and Rust at the same time. From what I've seen so far is that socket2 crate is the most suitable for this. It is small, lean with pretty much no overhead. In top of that it supports multiple OS. So, this is what I'm gonna use. However, I was wondering if you could recommend any resources just for the sockets, so that I can learn how to use them at the low level (and actually start utilizing the socket2)? I believe both Berkeley and Winsock have similar APIs, but I would like to avoid getting into reading the RFCs or detailed docs at this stage, and focus on something light, just to get me started. Any suggestions?
> I was wondering if you could recommend any resources just for the sockets, so that I can learn how to use them Beej's Guide to Network Programming is frequently recommended in cases like these - https://beej.us/guide/bgnet/
60
LearnRust
uo0d0r
What are long term side effects of tonsils removal ?
[removed]
60
AskScience
uo18uw
How do I find a room in US before arriving? I got accepted to a program in US and start my degree in september this year. I want to start looking for a place now and not leave it to the end
Absolutely contact your school. Almost every college or university has an office specifically tasked with helping international students with questions just like this. I will say it is good you are starting early but given how college rentals work you may not be able to find a place until closer to the time you want to begin rent. However, you can get advice from your school administrators and they will know best what the local market is like.
370
AskAnAmerican
uo18uw
How do I find a room in US before arriving? I got accepted to a program in US and start my degree in september this year. I want to start looking for a place now and not leave it to the end
Use the housing resources of the school you are attending. The people you worked with for your admission are the first people you should be asking. Room and housing rentals around schools are very localized, often owned by private landlords who don't need to use websites. Start with the school website or office for international students.
110
AskAnAmerican
uo18uw
How do I find a room in US before arriving? I got accepted to a program in US and start my degree in september this year. I want to start looking for a place now and not leave it to the end
Going to chime into the group as well, and say reach out to the school. However, if it's some type of program that doesn't have your typical school resources, feel free to give us an idea where and maybe we can suggest local resources. Or look for a subreddit that is local to where you are going to be, and ask there.
50
AskAnAmerican
uo1f4l
So i have a `TextureManager` class and there is a function to draw sprite sheets. I have a `static int32_t` inside the function because the draw function is called inside a while loop, and it is initialized to 0 at the beginning. The issue is when I call the function many times, its clashing with the other sprite sheet animations which use the same method. How can I make a static variable specific to that function and so that a new one is created every time the function is called? (or something along those lines) Thanks in advance! (please forgive any grammatical errors or typos) EDIT: I was able to solve this issue thanks to everyone's help, i created a new class for the sprite which stores the information needed, again a huge thanks to everyone!
> How can I make a static variable specific to that function and so that a new one is created every time the function is called? Don't make it `static`? Uh, I guess. > because No, there's probably a way to avoid it.
70
cpp_questions
uo1f4l
So i have a `TextureManager` class and there is a function to draw sprite sheets. I have a `static int32_t` inside the function because the draw function is called inside a while loop, and it is initialized to 0 at the beginning. The issue is when I call the function many times, its clashing with the other sprite sheet animations which use the same method. How can I make a static variable specific to that function and so that a new one is created every time the function is called? (or something along those lines) Thanks in advance! (please forgive any grammatical errors or typos) EDIT: I was able to solve this issue thanks to everyone's help, i created a new class for the sprite which stores the information needed, again a huge thanks to everyone!
>so that a new one is created every time the function is called? (or something along those lines) You just described a local variable.
40
cpp_questions
uo1f4l
So i have a `TextureManager` class and there is a function to draw sprite sheets. I have a `static int32_t` inside the function because the draw function is called inside a while loop, and it is initialized to 0 at the beginning. The issue is when I call the function many times, its clashing with the other sprite sheet animations which use the same method. How can I make a static variable specific to that function and so that a new one is created every time the function is called? (or something along those lines) Thanks in advance! (please forgive any grammatical errors or typos) EDIT: I was able to solve this issue thanks to everyone's help, i created a new class for the sprite which stores the information needed, again a huge thanks to everyone!
Each sprite sheet needs to be its own object, this is kind of the main reason classes and instantiated objects of classes exist.
30
cpp_questions
uo1k0g
There are many cases of species evolving to lose limbs for a snake-like bodyplan or losing other organs, is there any occasion where a species regains the use of a vestigial body part?
I don't know if it qualifies as a body part but primates did regain color vision, a trait that all early mammals had lost in favor of better night vision. The commonly accepted theory is that it was an evolutionary trait the benefited primates in determining what fruits were ripe to eat as well as differentiating different fruits by color.
100
AskScience
uo1m7j
Specifically, what age do you guys pay off your full mortgage loan usually? Edit: as far as I understand from the comments people usually BUY houses when creating a family. Do you guys have some kind of benefits for young families/young families with kids?
“Get your own place” and “pay off your mortgage loan” are not synonymous in the US. “Get your own place” usually means moving out of your parents’ home into a home that you’re paying for. That usually happens between 18 and 25, but it’s becoming more normal to go longer. People usually don’t pay off their mortgage until their 50s at least. I’m not going to pay mine off until I’m 56 at least. For others it will be longer.
4,050
AskAnAmerican
uo1m7j
Specifically, what age do you guys pay off your full mortgage loan usually? Edit: as far as I understand from the comments people usually BUY houses when creating a family. Do you guys have some kind of benefits for young families/young families with kids?
> what age do you guys pay off your full mortgage loan usually? The only people I know that have paid off mortgages are in their 50s or older. Our mortgages typically run 30 years. [According to credit agencies](https://www.experian.com/blogs/ask-experian/research/average-age-to-buy-a-house/), the average age of a first time homeowner in the US is 34. So they'll be free when they're 64.
1,170
AskAnAmerican
uo1m7j
Specifically, what age do you guys pay off your full mortgage loan usually? Edit: as far as I understand from the comments people usually BUY houses when creating a family. Do you guys have some kind of benefits for young families/young families with kids?
I’m wondering what you imagine life is like in a house before you fully pay off your mortgage. Having a house that you still owe on the mortgage is just having a house. You own it. You can paint it or add a room or convert the garage or whatever else you want to do. You owe money and the bank could theoretically take the house if you stop paying them back. But if you bought a house where the mortgage is in your budget that hopefully won’t be an issue. Living in a house you own but still owe money on is very much “having your own place.”
810
AskAnAmerican
uo2e0o
Apologies if this has been asked before but I couldn't find any conclusive answer. I've decided to learn C++ over the summer and so was wondering what IDE to use. For information I have a 2020 M1 MacBook Pro. Thanks in advance.
Clion is my favorite but quite expensive
30
cpp_questions
uo2e0o
Apologies if this has been asked before but I couldn't find any conclusive answer. I've decided to learn C++ over the summer and so was wondering what IDE to use. For information I have a 2020 M1 MacBook Pro. Thanks in advance.
I do all my development on an M1 mac (then port to Linux and Windows), Install xcode and the tools (it does come in handy from time to time), In particular you can just install the command line tools if you are not using xcode. Then install VSCode and CMake and use that. It is by far the best cross platform solution and works really well. I find xcode over complicated for basic C++ development (for example adding frameworks / libraries) as apposed to using something like vcpkg and cmake.
30
cpp_questions
uo2e0o
Apologies if this has been asked before but I couldn't find any conclusive answer. I've decided to learn C++ over the summer and so was wondering what IDE to use. For information I have a 2020 M1 MacBook Pro. Thanks in advance.
If you’re on Mac then Xcode is your best bet. Especially for c++. You could use VS Code with some kind of c++ compiler, and learn how to use the command line but that would be a little more involved. Xcode gets the job done if this is your introduction into programming
30
cpp_questions
uo2j0i
How much of your monthly wage is spent on rent/mortage? In my country people usually have to spent more than a half of their wage for being able to afford rent
$4000/month for a 2br apartment in Central Boston (Seaport).
1,030
AskAnAmerican
uo2j0i
How much of your monthly wage is spent on rent/mortage? In my country people usually have to spent more than a half of their wage for being able to afford rent
Don't pay rent. I currently live in my car because San Diego housing It's that or spend 50% of my monthly income on a room
880
AskAnAmerican
uo2j0i
How much of your monthly wage is spent on rent/mortage? In my country people usually have to spent more than a half of their wage for being able to afford rent
My mortgage is 1200 and we are < 4 years from paying that bitch off. No more debt after then. Just in time for the apocalypse.
760
AskAnAmerican
uo2mel
There are systems with multiple stars, red and blue giants that would consume our sun for a breakfast, stars that die and reborn every couple of years and so on. Is there anything that set our star apart from the others like the ones mentioned above? Anything that we can use to make aliens jealous?
Well, the stars that you mention are less common than our little yellow dwarf star, which is a pretty common size (in general: the smaller the main sequence star, the more of them there are and the longer they live). It's also high-medium in metal, which makes sense given its robust planetary system, so that make our solar system 2nd or later generation supernova remains, which is also exceptionally common among stars in the observable universe. We're also in the middle of a medium-sized arm of the Milky Way, which is a medium-large galaxy in a fairly average-density region of the observable universe.
5,580
AskScience
uo2mel
There are systems with multiple stars, red and blue giants that would consume our sun for a breakfast, stars that die and reborn every couple of years and so on. Is there anything that set our star apart from the others like the ones mentioned above? Anything that we can use to make aliens jealous?
Yes. There is 1 aspect of the sun that is rare and that is solar variability. Our sun is unusually stable in terms of it's output and this has actually had an impact on our search for exoplanets. [Cool Worlds has done a video on it](https://youtu.be/TAQKJ41eDTs?t=801), and also [how this affected the Kepler Mission search for exoplanets](https://www.youtube.com/watch?v=IFx3r32r-GU&t=1334s). Basically, our sun was considered an "average" star in regards to variability when they were designing the Kepler mission. Surprisingly, this was not correct - and the noisiness of other stars meant that Kepler could no longer distinguish the transit of an Earth-like planet in front of a Sun-like star from noise during the original mission time-frame. An extension could have solved this by gathering more data points, but the telescope broke down before they got enough data. Whether our Sun's unusually stability has contributed to life emerging and flourishing is up for debate. But one can certainly see the benefits of having a stable home star - more stable climate, fewer freak radiation events, etc.
2,470
AskScience
uo2mel
There are systems with multiple stars, red and blue giants that would consume our sun for a breakfast, stars that die and reborn every couple of years and so on. Is there anything that set our star apart from the others like the ones mentioned above? Anything that we can use to make aliens jealous?
Not really. Our star is part of the "main sequence" i.e. pretty typical. Though, technically, binary systems are more common than single star systems, so ours is slightly unusual in that respect. But single star systems are still pretty common.
2,360
AskScience
uo2sl9
there's an argument that its actually better for the west if Saudi Arabia and China remain dictatorships because if they had changes of government every several years it would disrupt the supply or oil and manufactured goods respectively.
The US isn’t reliant on oil from the Middle East, which accounts for 8% of the total imported to the country from that region. The most important oil producing country to the United States is Canada. The US intervenes in the Middle East because so much of the rest of the world is dependent on their petroleum, not because we are. I think a better question is: since petroleum from the Middle East, especially Saudi Arabia, is necessary for the global economy to function, would those countries intervene? https://www.eia.gov/energyexplained/oil-and-petroleum-products/imports-and-exports.php
910
AskAnAmerican
uo2sl9
there's an argument that its actually better for the west if Saudi Arabia and China remain dictatorships because if they had changes of government every several years it would disrupt the supply or oil and manufactured goods respectively.
Welcome back Grapp. I suspect we would if they asked us to. I would hope not.
360
AskAnAmerican
uo2sl9
there's an argument that its actually better for the west if Saudi Arabia and China remain dictatorships because if they had changes of government every several years it would disrupt the supply or oil and manufactured goods respectively.
IMHO, the US cares less about Saudi Arabia with each passing day. We don't even need their oil or airfields as much as we used to. Notice the deafening silence after Iran attacked the Saudi oil facilities. The US pretty much just shrugged. The House of Saud has been so evil and duplicitous over the years that we will be glad to be rid of them. Negotiate with whoever emerges as the winner. They need our Navy to protect the Gulf much more than we need them for... well.. anything.
290
AskAnAmerican
uo2xhy
I looked at multiple libraries online but all of them were either too complicated to learn to use or just straight up did not work. I am really demotivated to learn to make something like that because of the lack of good sources to learn and I thought about writing some code that opens geogebra with the function I give it displaying. But unfortunatelly I have no idea how to do that and it may not even be possible to make it in c++. If you can help me in any way I would really apreciate it? I consider myself a beginner so I don't really want anything complicated.
C++ is Turing complete. If a computer is able to do it, c++ can do it. Also, You're going to be a beginner forever unless you're willing to take some complicated things onto your plate. Are you attempting to make some sort of wrapper around this geogebra thing or do you legitimately want to do it all yourself and save it as png? What do you have so far? Have you put the carriage before the horses and started looking up rendering libs before you've worked on the graphing part of your codebase? Are you going to write an entire parser for the equations? What I want is more details about how you're wanting to do this.
30
cpp_questions
uo2xhy
I looked at multiple libraries online but all of them were either too complicated to learn to use or just straight up did not work. I am really demotivated to learn to make something like that because of the lack of good sources to learn and I thought about writing some code that opens geogebra with the function I give it displaying. But unfortunatelly I have no idea how to do that and it may not even be possible to make it in c++. If you can help me in any way I would really apreciate it? I consider myself a beginner so I don't really want anything complicated.
https://github.com/nothings/stb. specifically `stb_image_write.h`. This is a "library" (it's 1 file) which allows you to take an array of pixels and encode it as a PNG, if this is what you're looking for. You can graph your function in this array of pixels by effectively treating it as a coordinate grid.
30
cpp_questions
uo311l
In my experience, it seems like a great motivator for office based employees to wake up and get to work on time. The pandemic and remote work is not the right answer here because many many companies were not giving free food before the pandemic, so it would just be an excuse for them at this point.
Hahah I'd be inclined to go into an office if it meant I didn't have to figure out what to feed myself everyday
5,830
CSCareerQuestions
uo311l
In my experience, it seems like a great motivator for office based employees to wake up and get to work on time. The pandemic and remote work is not the right answer here because many many companies were not giving free food before the pandemic, so it would just be an excuse for them at this point.
I personally would not mind a "free" (no cost to you) meal offered by my employer. Big G had(maybe still do) snack bars within fifteen feet of cubicles, so it keeps workers more productive.
3,780
CSCareerQuestions
uo311l
In my experience, it seems like a great motivator for office based employees to wake up and get to work on time. The pandemic and remote work is not the right answer here because many many companies were not giving free food before the pandemic, so it would just be an excuse for them at this point.
It’s actually extremely expensive. Like $20/employee/meal at one place I worked. That’s like a $5000/yr cost per employee. I’d rather have the $5000.
1,910
CSCareerQuestions
uo32h6
Hi all, I've been away from programming for a minute. When I first went through my programming level 2 course at university, I remember a bunch of the content and information being presented about static, abstract, static-abstract, and class methods. Most of it was really intuitive but there's a bunch of minutia that had to be kept in mind when making decisions architecturally. I haven't been able to find the book or my notes about that. I was wondering if anyone out there had recommendations on a good general Object Oriented Programming reference guide that would explain "static methods act like this, they can do this, they can't access that. Class methods act like this..." etc... Thanks everyone in advance.
Every language is slightly different. The details won't be the same everywhere. But the basics are: - static methods don't use class instance, regular methods do - therefore, you can call a static method without an object - static fields don't use class instance either; they're essentially glorified globals - abstract methods are declared in base class but defined in derived class - therefore, a class with abstract methods cannot be instantiated (because there's no method implementation) - static abstract methods are only ever useful for generic code and few languages support them to start with For everything else, refer to the beginner tutorial of the language of choice. It'll have everything you want to know, and what you read there probably won't be applicable to other languages.
30
AskProgramming
uo32h6
Hi all, I've been away from programming for a minute. When I first went through my programming level 2 course at university, I remember a bunch of the content and information being presented about static, abstract, static-abstract, and class methods. Most of it was really intuitive but there's a bunch of minutia that had to be kept in mind when making decisions architecturally. I haven't been able to find the book or my notes about that. I was wondering if anyone out there had recommendations on a good general Object Oriented Programming reference guide that would explain "static methods act like this, they can do this, they can't access that. Class methods act like this..." etc... Thanks everyone in advance.
I understand what you are asking, but I will contend that such a thing as you have described does not exist, not "language agnostic" in any case. As soon as you talk about "classes" or "methods", the discussion is no longer language agnostic. After all, Scheme doesn't use classes, and neither does JavaScript. Meanwhile Objective-C doesn't have methods, it has messages. These are not merely semantic differences either - they are language-specific functional differences. All of that to say, I would be weary of information that was presented in an early-level university course on the topic. It may have been presented in a language-agnostic manner, but I'm willing to bet the content was tailored toward the language(s) used in the course. Treating it as universal can surely lead to problems if the information is applied without caution. Especially when you start talking about "\_\_\_\_\_ methods do this" or "\_\_\_\_\_ classes do that" - it's always going to have a "flavor" of the particular programming language. If you are looking for information on overarching design methodology, there is of course the classic text [Design Patterns](https://en.wikipedia.org/wiki/Design_Patterns). There are valid criticisms of the book - it should not be taken as complete gospel, but it is really the only book of its kind, and it is absolutely required reading if you're trying to plan a large project. Read the book, understand the patterns, then once you pick a language for your project, search "design patterns in {language}" to get language-specific implementation ideas.
30
AskProgramming
uo344v
Hi, Long story short, I’m a bit lost and bit stuck. I’ve been working in IT Support for almost 7 years and I’m beginning to want more from it. I don’t feel like I know it all, but I feel like this job is becoming easy and repetitive. I’ve changed companies 3 times and each one has been very different but still I feel the same. I’m looking to expand my knowledge and become a specialist. Whether that be security, networking, development, application testing etc I’m not sure… I’d like some fundamentals to put on my CV to get an opportunity. I was thinking of going for the MDM100 and MDM101 qualifications to get started, are there any recommendations on how to get out of 1st line?
I left the front line to do analyst work. At first process analysis, then business analysis and now consulting. I love it. The day is always different and there is never a shortage of things to focus on. I have Lean IT, ITIL3, and ITIL4 certs. I’m getting agile product owner certified in July. I guess I’m telling you all this because IT is a space where people think they need to have all these technical certs and programming experience to move up. But there is a business side to it too that you can transfer to any other industry.
30
ITCareerQuestions
uo3c5j
I’m new to programming and I’m looking to figure out the certifications that’ll give me an edge over my peers while interviewing for programming related jobs, any ideas
The only certs that people are generally going to care about are DevOps-type certs like AWS stuff.
4,780
LearnProgramming
uo3c5j
I’m new to programming and I’m looking to figure out the certifications that’ll give me an edge over my peers while interviewing for programming related jobs, any ideas
Devops and system admin certs. Language specific is laughable. Example: I’m a ciw certified web master, from 2003. It has NEVER been talked about.
1,270
LearnProgramming
uo3c5j
I’m new to programming and I’m looking to figure out the certifications that’ll give me an edge over my peers while interviewing for programming related jobs, any ideas
No one cares about certifications.
1,210
LearnProgramming
uo3k07
**My main question is how to prepare myself for this role with only 30 days left. Should I do TryHackMe, study for security+, both, etc. This internship will likely expose me and have me do work in cybersecurity risk, compliance, and incident response (Which I am most worried about).** **Second question: How is it possible that I was selected for this role, out of hundreds that applied????** For context, the interview I had wasn't technical at all. All they asked me about was what the CIA triad was and explain how the 3-way handshake works (Which I didn't even know, but they were fine with it). The rest was all behavioral and interpersonal. I didn't lie or exaggerate on my resume either. I didn't list any cybersecurity tools and have no certifications, as I'm only a sophomore. They made little to no reference to my resume either and they never asked for references (At least till now). I also only had one interview and it lasted for approximately 50 minutes. Also, for those wondering, these people are not a scam or whatever, its an official agency. However, the job posting itself didn't have any technical requirements either. All it said was that I would serve as a cybersecurity analyst and will have exposure and do work within different departments (Risk, Compliance, Incident Response, etc.) inside the cybersecurity office. Also, during the interview, they were interested in whether I would want to stay long-term after finishing university, which I say yes to. **So, I suspect maybe they knew about my lack of qualifications, but saw I had growth potential and thought I could maybe be trained to fit their needs in the long-term. But I'm not 100% sure.** [Here is a link to my resume](https://imgur.com/BuZYrST) Also, my prior internship work at the private intelligence company was not technical at all, aside from Tableau. The company is focused on foreign affairs, international relations, intelligence security work, etc. My "OSINT" experience was not technical and instead just limited to using pre-existing and internal company tools to conduct investigations. I'm really passionate about cybersecurity, but I had absolutely zero expectations that I would land this role, but I somehow magically did. Most of my applications were for basic IT/help desk roles. Any help/advice would be greatly appreciated cause I'm really stressed out. Also, let me know if you need more information. Thanks!
It is an internship. You are there to learn and they will reach you. They won't let you do anything that could cause major damage. Relax, go forth and learn. Keep a positive attitude and always be willing to learn something new.
40
ITCareerQuestions
uo3k07
**My main question is how to prepare myself for this role with only 30 days left. Should I do TryHackMe, study for security+, both, etc. This internship will likely expose me and have me do work in cybersecurity risk, compliance, and incident response (Which I am most worried about).** **Second question: How is it possible that I was selected for this role, out of hundreds that applied????** For context, the interview I had wasn't technical at all. All they asked me about was what the CIA triad was and explain how the 3-way handshake works (Which I didn't even know, but they were fine with it). The rest was all behavioral and interpersonal. I didn't lie or exaggerate on my resume either. I didn't list any cybersecurity tools and have no certifications, as I'm only a sophomore. They made little to no reference to my resume either and they never asked for references (At least till now). I also only had one interview and it lasted for approximately 50 minutes. Also, for those wondering, these people are not a scam or whatever, its an official agency. However, the job posting itself didn't have any technical requirements either. All it said was that I would serve as a cybersecurity analyst and will have exposure and do work within different departments (Risk, Compliance, Incident Response, etc.) inside the cybersecurity office. Also, during the interview, they were interested in whether I would want to stay long-term after finishing university, which I say yes to. **So, I suspect maybe they knew about my lack of qualifications, but saw I had growth potential and thought I could maybe be trained to fit their needs in the long-term. But I'm not 100% sure.** [Here is a link to my resume](https://imgur.com/BuZYrST) Also, my prior internship work at the private intelligence company was not technical at all, aside from Tableau. The company is focused on foreign affairs, international relations, intelligence security work, etc. My "OSINT" experience was not technical and instead just limited to using pre-existing and internal company tools to conduct investigations. I'm really passionate about cybersecurity, but I had absolutely zero expectations that I would land this role, but I somehow magically did. Most of my applications were for basic IT/help desk roles. Any help/advice would be greatly appreciated cause I'm really stressed out. Also, let me know if you need more information. Thanks!
Keyword is “internship”. They are a way for you to hands on learn (and make some cash). You’ll be fine, I’d be surprised if they sent you off to do something important without a seasoned person with you. Just enjoy the ride, take in all the info, be sure to network while you’re there, and if you think you’re going to screw something up just ask your trainer. Grats on the role bro!
30
ITCareerQuestions
uo3md1
My father was a big time cocaine dealer for Fleetwood Mac, Kenny Loggins, Marsha Brady to name a few, in Los Angeles. AMA
Does he have any memorabilia from the era? Is he still alive? Using?
2,440
AMA
uo3md1
My father was a big time cocaine dealer for Fleetwood Mac, Kenny Loggins, Marsha Brady to name a few, in Los Angeles. AMA
What other kind of legitimate work did he do? How did you find out? How does your mom feel about it all?
1,080
AMA
uo3md1
My father was a big time cocaine dealer for Fleetwood Mac, Kenny Loggins, Marsha Brady to name a few, in Los Angeles. AMA
Craziest anecdote he fed you about the scene back then?
810
AMA
uo3mq3
This might be a question for 70 somethings since I'm 61, but for me it's TicToc. I did Facebook. I did Twitter. I did Instagram. Here I am on Reddit. I started creating a Tictoc account and felt the life force drain out of me. I simply closed the browser and went to watch Food Network. What's your "no more" moment?
A bit long; sorry. Old academic here. I was there at the "dawn of the internet" so to speak. I sat at tables in the early 90s when we discussed where the internet was going. Much of the content in those days was academic stuff, researchers, nothing commercial, a few early adopters with files up on a server somewhere. We messed around sending huge files ftping (old dos commands for those too young to remember) them from Canada to California and were happy when it all went well. When we started talking about user generated content I was mystified about what the average person had to really contribute to this new digital world. Not trying to be elitist, everyone is not an expert and no, most of your life is not interesting enough to be documented daily. I kept asking the question...what the heck is all this user generated content going to be? Well here we are "the pinnacle of human technology" (maybe) and we spend our time hating each other, having opinions make one wonder wtf, denigrating and debasing each other via a keyboard, and making cat videos and porn I have a love hate relationship with technology and the digital world. We did not have to scratch very hard to see some of the best and worst of human nature, all while never uttering a word in person. I have never had facebook, twitter or instagram. I have been on reddit with several user names through the years since about 2008 or so. I limit my online presence. I know that the data is the gold and I am not giving up mine without something more than access to some website. EDIT: short answer about 1998
1,760
AskOldPeople
uo3mq3
This might be a question for 70 somethings since I'm 61, but for me it's TicToc. I did Facebook. I did Twitter. I did Instagram. Here I am on Reddit. I started creating a Tictoc account and felt the life force drain out of me. I simply closed the browser and went to watch Food Network. What's your "no more" moment?
Just gone through surgical menopause. My remaining fucks magically disappeared along with my uterus. I feel much better all round.
1,420
AskOldPeople
uo3mq3
This might be a question for 70 somethings since I'm 61, but for me it's TicToc. I did Facebook. I did Twitter. I did Instagram. Here I am on Reddit. I started creating a Tictoc account and felt the life force drain out of me. I simply closed the browser and went to watch Food Network. What's your "no more" moment?
When everything quit being words and turned into film clips. that isn't interaction. I cant .
1,050
AskOldPeople
uo3quw
//--TO DO--// //add biome system |Check| //add per biome mob and structure system |Alted due to minor priority| //add format to cout for inventory and armor |Check| //upgrade damage and armor system //add objects quantity //add a save and load system |Not working| //add crafting system |Make a true shaped crafing system| //add a a inventory managment system //--TO FIX--// //|Check| When you encounter a creeper and after you walk you will die for no reason { //Possible cause: probably the program subtract 10 hp twice instead it should remove 10 hp per creeper encounter //Possible fix: fix Mattia's brain} //|Check| Trying to use for loop to detect with item is inserted into the crafting table { //Result: program crashed //Possible fix: learn how to use for loop or contact loxo} //Mattia's knowledge of C++ { //Possible cause: Mattia's bad knowledge about C++ //Possible fix: Read a book} //When you save the armor array, you are also saving junk{ //Result: garbage data into the save file //Possible fix: (bad idea) dissect and save single array elemnt or wait to put element int it before saving} \#include <iostream> \#include <string.h> \#include <iomanip> \#include <time.h> \#include <fstream> \#define objsnum 6 \#define invnum 9 \#define biomesnum 6 using namespace std; //#pragma pack(4) struct plys{ int hp; int exp; string inv\[invnum\]={"air","air","air","air","air","air","air","air","air"}; string arms\[4\]={"slot1","slot2","slot3","slot4"}; int armor; int dmg; string biome; string sword; }player; struct mobs{ int mdmg; int resis; }creeper,zombie,husk; //insert into inventory// void insinv(string item, int len){ for(int i=0; i<len; i++){ if(player.inv\[i\]=="air"){ player.inv\[i\]=item; break; } } } void savload(int type){ string buffinv\[invnum\]; ifstream testread("mine-save.bin"); FILE \* pFile; string output; int sizestr=sizeof(struct plys); int sizeinv=sizeof(player.inv\[invnum\]);[//player.inv](//player.inv)\[invnum\].size(); int sizearmor=sizeof(player.arms\[4\]);[//player.arms](//player.arms)\[4\].size(); int sizsinv=player.inv\[invnum\].size(); int sizsarm=player.arms\[4\].size(); int leninv=player.inv\[invnum\].length(); int lenarm=player.arms\[4\].length(); int aligstr=alignof(struct plys); int aliginv=alignof(player.inv\[invnum\]); int aligarm=alignof(player.arms\[4\]); int sizsword=player.sword.size(); int sizbiome=player.biome.size(); int sizhp=sizeof(player.hp); if(type==1){ //for(int i; i>invnum; i++)buffinv\[i\]="air"; //memcpy(buffinv,player.inv,invnum); copy(begin(player.inv), end(player.inv), begin(buffinv)); pFile = fopen ("mine-save.bin", "wb"); fwrite (buffinv , sizeof(string), buffinv\[invnum\].size(), pFile); fclose (pFile); cout<<"invetory saved (hopefully, i don't know how to make an actual check)"<<endl; return; } if(type==2){ for(int i; i>invnum; i++)buffinv\[i\]="air"; testread.seekg (0, testread.beg); while (getline (testread,output)) { for(int i; i>invnum;i++) buffinv\[i\]=output; } testread.close(); //copy(begin(buffinv),end(buffinv),begin(player.inv)); memcpy(player.inv,buffinv,invnum); cout<<"loaded (hopefully, i don't know how to make an actual check)"<<endl; return; } } //game function// void game(){ srand ( time(NULL) ); //player varibale// player.hp=20; player.exp=0; player.dmg=1; //mobs damages// int dmgt=0; //Creeper creeper.mdmg=10; //Zombie zombie.mdmg=2; //Husk husk.mdmg=3; //variables// int stptot; int act; int invsl; int crfsl; bool debug=true; char y; char action; char actin; char actcr; //armor types and protection values// //Leather int lhlpr=1; //helmet int lchpr=3; //chestplate int llgpr=2; //leggings int lbtpr=1; //boots //Iron int ihlpr=2; //helmet int ichpr=6; //chestplate int ilgpr=5; //leggings int ibtpr=4; //boots string crftb\[9\]={"slot0","slot1","slot2","slot3","slot4","slot5","slot6","slot7","slot8"}; string objs\[objsnum\]={"Tree","Creeper","Cow","Water","Zombie","Lava"}; //string \*pobjs =objs; string biomes\[biomesnum\]={"Plains","Desert","Forest","Hills","Ice-Peeks","Dark-Forest"}; string buffinv\[invnum\]; string buffarmor\[4\]; string loadinv\[invnum\]; //cout<<"tutorial: to play type a number of steps\\n every ten steps you may find something"<<endl; //armor calculator// if(player.arms\[0\]=="air")player.armor=player.armor+0; if(player.arms\[1\]=="air")player.armor=player.armor+0; if(player.arms\[2\]=="air")player.armor=player.armor+0; if(player.arms\[3\]=="air")player.armor=player.armor+0; //leather// if(player.arms\[0\]=="let\_helmet")player.armor=player.armor+lhlpr; if(player.arms\[1\]=="let\_leggings")player.armor=player.armor+lchpr; if(player.arms\[2\]=="let\_chestplate")player.armor=player.armor+llgpr; if(player.arms\[3\]=="let\_boots")player.armor=player.armor+lbtpr; while(true){ srand ( time(NULL) ); if(debug==true)cout << "\\033\[1;31mATTENTION\\033\[0m\\ndebug menu enabled\\ntype 5 to access it"<<endl; cout<<"type:\\n\[1\] Walk\\n\[2\] Browse and manage the invetory\\n\[3\] Crafting table\\n\[4\]Save or load (only player invemtory for now)"<<endl; cin>>act; switch(act){ case 1:{ //core gameplay loop// int RandDis = rand() % 10; int RandBiomes = rand() % biomesnum; int RandDrop = rand() % 5; if(player.sword.empty())player.sword="bare-fists"; if(player.biome.empty()){ RandBiomes = rand() % biomesnum; player.biome=biomes\[RandBiomes\]; } cout<<"type 'w' to walk and you may find something"<<endl; cout<<"current biome: "<<player.biome<<endl; cout<<"your current sword: "<<player.sword<<endl; cin>>action; if(action=='m')return; if(player.hp<=0){ cout<<"you died!"<<endl; exit(EXIT\_SUCCESS); } if(action=='w'){ int RandStp = rand() % 10; RandStp = rand() % 10; stptot=RandStp+10; if(debug==true){ cout<<"steps: "<<RandStp<<endl; cout<<"steps to another biome (if is 20 or 19 you enter into a new biome): "<<stptot<<endl; cout<<"RandDis: "<<RandDis<<endl; } if(stptot==19)stptot=stptot+1; if(stptot==20){ RandBiomes = rand() % biomesnum; player.biome=biomes\[RandBiomes\]; cout<<"congratulation you enter into a new biome: "<<player.biome<<endl; } if(RandStp==RandDis){ int RandIndex = rand() % objsnum; //int RandIndexi = rand() % invnum; RandIndex = rand() % objsnum; cout << objs\[RandIndex\]<<endl; if(objs\[RandIndex\]=="Tree"){ cout<<"you found a tree!"<<endl; cout<<"do you want to harvest it and obtain a tree log?"<<endl; cin>>y; if(y=='y')insinv("Log",invnum);[//player.inv](//player.inv)\[RandIndexi\]="Log"; } if(objs\[RandIndex\]=="Zombie"){ if(player.sword=="bare-fists"){ player.hp=player.hp-zombie.mdmg; cout<<"you punch the zombie in the face, but is not enough to stop it"<<endl; cout<<"The zombie hit you"<<endl; cout<<"now you have "<<player.hp<<" health points"<<endl; }else cout<<"your mighty "<<player.sword<<" kill the zombie"<<endl; } if(objs\[RandIndex\]=="Creeper"){ //cout<<"you have ten seconds to type 'w' to escape the creeper explosion"<<endl; //cout<<"due to a stupid bug the creeper is temporany disabled"<<endl; if(player.sword=="bare-fists"){ player.hp=player.hp-creeper.mdmg; cout<<"your fists are not enough powerfull to kill the creeper"<<endl; cout<<"The creeper explode in front of you"<<endl; cout<<"now you have "<<player.hp<<" health points"<<endl; }else cout<<"you kill the creeper"<<endl; } if(objs\[RandIndex\]=="Cow"){ RandDrop; cout<<"do you want to kill the cow to obtain one leather pice?\\nand also you might obatain a raw beef piece?"<<endl; cin>>y; if(RandDrop==5){ cout<<"you obtain a raw beef piece"<<endl; insinv("Raw-Beef",invnum); } if(y=='y')insinv("Leather",invnum);[//player.inv](//player.inv)\[RandIndexi\]="Leather"; } if(player.biome!="Desert"){ if(objs\[RandIndex\]=="Water"){ cout<<"you found a water pond"<<endl; } }else cout<<"there is no water here"<<endl; } } break; } case 2:{ while(true){ //player invemtory// cout<<"Player health points: "<<player.hp<<endl; cout<<"PLayer damage points: "<<player.dmg<<endl; cout<<"Player inventory "<<endl; for (int i=0; i<invnum; i++) cout << player.inv\[i\]<<endl; cout<<"Player armor points: "<<player.armor<<endl; cout<<"Player armor"<<endl; for (int i=0; i<4; i++) cout << player.arms\[i\]<<","; //cout<<player.arms\[0\]<<","<<player.arms\[1\]<<","<<player.arms\[2\]<<","<<player.arms\[3\]<<","<<player.arms\[4\]<<endl; cout<<"inventory managment:\\n'e' allows you to eat and regain health\\ntype 'c' to exit"<<endl; cin>>action; if(action=='e'){ cin>>invsl; if(player.inv\[invsl\]=="Raw-Beef"){ player.inv\[invsl\]="air"; if(player.hp<20){ player.hp=player.hp+5; cout<<"you eat the "<<player.inv\[invsl\]<<"pice and you regeberate 5 hp"<<endl; } if(player.hp==20)cout<<"no need to eat your health is full"<<endl; }else cout<<"you can not eat "<< player.inv\[invsl\]<<endl; } if(action=='c')break; } break; } case 3:{ cout<<"crafting table:"<<endl; cout <<setw(3)<<crftb\[0\]<<","<<setw(3)<<crftb\[1\]<<","<<setw(3)<<crftb\[2\]<<endl; cout <<setw(3)<<crftb\[3\]<<","<<setw(3)<<crftb\[4\]<<","<<setw(3)<<crftb\[5\]<<endl; cout <<setw(3)<<crftb\[6\]<<","<<setw(3)<<crftb\[7\]<<","<<setw(3)<<crftb\[8\]<<endl; cout<<"to insert items into the crafting table\\nyou need to type the 'i' followed by the inventory slot (remeber slot ranged from 0 to 8)\\n followed by the crafting table (that also range from 0 to 8) "<<endl; cin>>actin>>invsl>>crfsl; if(actin=='i'){ crftb\[crfsl\]=player.inv\[invsl\]; player.inv\[invsl\]="air"; } if(actin=='c')break; cout<<"crafting table:"<<endl; //for (int i = 9 - 1; i >= 0; i--) cout <<setw(3)<<crftb\[0\]<<","<<setw(3)<<crftb\[1\]<<","<<setw(3)<<crftb\[2\]<<endl; cout <<setw(3)<<crftb\[3\]<<","<<setw(3)<<crftb\[4\]<<","<<setw(3)<<crftb\[5\]<<endl; cout <<setw(3)<<crftb\[6\]<<","<<setw(3)<<crftb\[7\]<<","<<setw(3)<<crftb\[8\]<<endl; for(int i=0; i<9; i++){ if(crftb\[i\]=="Log"){ insinv("Planks",invnum); cout<<"crafted planks"<<endl; } if((crftb\[i\]=="Planks")&&(crftb\[i\]=="Planks")&&(crftb\[i\]=="Planks")){ insinv("Wooden-sword",invnum); //temporaney i want a shaped crafting for sword player.sword=="Wooden-sword"; } } break; } case 4:{ cout<<"type 's' to save or 'l' to load\\n ATTENTION this feature is under developmnet, for now only the inventory will get saved"<<endl; cin>>action; if(action=='s')savload(1); if(action=='l')savload(2); } case 5:{ ifstream testread("mine-save.bin"); FILE \* pFile; string output; int z; int sizestr=sizeof(struct plys); int sizeinv=sizeof(player.inv\[invnum\]);[//player.inv](//player.inv)\[invnum\].size(); int sizearmor=sizeof(player.arms\[4\]);[//player.arms](//player.arms)\[4\].size(); int sizsinv=player.inv\[invnum\].size(); int sizsarm=player.arms\[4\].size(); int leninv=player.inv\[invnum\].length(); int lenarm=player.arms\[4\].length(); int aligstr=alignof(struct plys); int aliginv=alignof(player.inv\[invnum\]); int aligarm=alignof(player.arms\[4\]); int sizsword=player.sword.size(); int sizbiome=player.biome.size(); int sizhp=sizeof(player.hp); for(int i=0;i>4;i++)buffarmor\[i\]="air"; if(debug==true){ cout<<"debug menu:\\n\[1\]remove ten health points\\n\[2\]size of the struct and arrays in it with their alignment\\n\[3\]give you a bunch of stuff\\n\[4\]clear your inventory\\n\[5\]save inventory (and extra junk) to a binary file\\n\[6\]dump the save file into the console\\n\[7\]memcpy save test"<<endl; cout<<"Please don't use \[5\] or \[7\] options"<<endl; cin>>z; if(z==3){ insinv("Planks",invnum); insinv("Planks",invnum); insinv("Planks",invnum); insinv("Raw-Beef",invnum); insinv("Log",invnum); } if(z==1)player.hp=player.hp-10; if(z==2){ cout<<"size of player struct: "<<sizestr<<endl; cout<<"size of player inventory: "<<sizeinv<<endl; cout<<"size of player armor: "<<sizearmor<<endl; cout<<"size (.size()) of inventory: "<<sizsinv<<endl; cout<<"size (.length()) of inventory: "<<leninv<<endl; cout<<"size (.size()) of armor: "<<sizsarm<<endl; cout<<"size (.length()) of armor: "<<lenarm<<endl; cout<<"alignamanet of player struct: "<<aligstr<<endl; cout<<"alignamanet of inventory: "<<aliginv<<endl; cout<<"alignment of armor: "<<aligarm<<endl; //remainder// //the alignment is a divisor of it size } if(z==4){ for(int i=0; i<invnum; i++) player.inv\[i\]="air"; } if(z==5){ //Save to binary using copy// //FILE \* pFile; //char buffer\[\] = { 't' , 'e' , 's' , 't' }; copy(begin(player.inv), end(player.inv), begin(buffinv)); //copy(begin(player.arms), end(player.arms), begin(buffarmor)); pFile = fopen ("mine-save-c.bin", "wb"); fwrite (buffinv , sizeof(string), sizeof(buffinv), pFile); //fwrite (buffarmor , sizeof(string), sizeof(buffarmor), pFile); fclose (pFile); } if(z==6){ //print save file in the terminal// string out; while (getline (testread,out)) { cout << out; } testread.close(); } if(z==7){ //Save to binary using memcpy// memcpy(buffinv,player.inv,sizeinv); memcpy(buffarmor,player.arms,sizearmor); pFile = fopen ("mine-save.bin", "wb"); fwrite (buffinv , sizeof(string), sizeof(buffinv), pFile); //fwrite (buffarmor , sizeof(string), sizeof(buffarmor), pFile); fclose (pFile); } if(z==8){ ; } }else cout<<"enable debug to acess it"<<endl; break; } } } } int main(){ int sel; cout<<"Welcome to Mattia's Software minetext"<<endl; while(true){ cout<<"--Minetext--\\n\[1\] Singleplayer\\n\[2\] Credits\\n\[3\] Comands list"<<endl; cin>>sel; switch(sel){ case 1: { game(); break; } case 2: { cout<<"Author: Mattia's Software\\n Based upon Minecraft"<<endl; cout<<"Thanks to Loxo, that help me with some stuffs"<<endl; break; } case 3: { cout<<"List of useful comands:\\n'w': allows you to walk a random number of steps\\n'm':allows you to return to the main menu\\n'e':allows you to eat and regain health\\n to use it you need to type 'e' and then the inventory slot were the food is contained\\n you can type those comands when you choose the walk option during the game"<<endl; break; } } } } Please ignore the case 5 inside the switch(act) in void game(). I tried to implement a save and load system inside the savload(int type) function, i was tryng to write the player inventory (player.inv\[invnum\]) that is inside of a struct called plys into a binary file called mine-save.bin . I tried to directly save data from player.inv array, but it did not worked, so i tried to copy player.inv into an array called buffinv, first with copy and then with memcpy, but that did not work either. note that writing the player.arms array in to the save file will fill it up with junk data. And also I want to point out that I am a hobbyist, i program for fun, and as a challenge I tried to do Minecraft as a text based game
1. Please format your code. 1. Dont use `FILE*`. You are writing C++. Use `ofstream` 1. It *appears* that you are 1. `memcpy`ing objects that most likely are not memcpy-able. Dont ever use `memcpy` unless you are really 110% sure you know what you are doing and that its a good idea. 1. Trying to write strings into a file by writing the bits of the string object. That does not work. A string stores its text outside of itself, you can access those bytes via `.c_str()`.
50
cpp_questions
uo3quw
//--TO DO--// //add biome system |Check| //add per biome mob and structure system |Alted due to minor priority| //add format to cout for inventory and armor |Check| //upgrade damage and armor system //add objects quantity //add a save and load system |Not working| //add crafting system |Make a true shaped crafing system| //add a a inventory managment system //--TO FIX--// //|Check| When you encounter a creeper and after you walk you will die for no reason { //Possible cause: probably the program subtract 10 hp twice instead it should remove 10 hp per creeper encounter //Possible fix: fix Mattia's brain} //|Check| Trying to use for loop to detect with item is inserted into the crafting table { //Result: program crashed //Possible fix: learn how to use for loop or contact loxo} //Mattia's knowledge of C++ { //Possible cause: Mattia's bad knowledge about C++ //Possible fix: Read a book} //When you save the armor array, you are also saving junk{ //Result: garbage data into the save file //Possible fix: (bad idea) dissect and save single array elemnt or wait to put element int it before saving} \#include <iostream> \#include <string.h> \#include <iomanip> \#include <time.h> \#include <fstream> \#define objsnum 6 \#define invnum 9 \#define biomesnum 6 using namespace std; //#pragma pack(4) struct plys{ int hp; int exp; string inv\[invnum\]={"air","air","air","air","air","air","air","air","air"}; string arms\[4\]={"slot1","slot2","slot3","slot4"}; int armor; int dmg; string biome; string sword; }player; struct mobs{ int mdmg; int resis; }creeper,zombie,husk; //insert into inventory// void insinv(string item, int len){ for(int i=0; i<len; i++){ if(player.inv\[i\]=="air"){ player.inv\[i\]=item; break; } } } void savload(int type){ string buffinv\[invnum\]; ifstream testread("mine-save.bin"); FILE \* pFile; string output; int sizestr=sizeof(struct plys); int sizeinv=sizeof(player.inv\[invnum\]);[//player.inv](//player.inv)\[invnum\].size(); int sizearmor=sizeof(player.arms\[4\]);[//player.arms](//player.arms)\[4\].size(); int sizsinv=player.inv\[invnum\].size(); int sizsarm=player.arms\[4\].size(); int leninv=player.inv\[invnum\].length(); int lenarm=player.arms\[4\].length(); int aligstr=alignof(struct plys); int aliginv=alignof(player.inv\[invnum\]); int aligarm=alignof(player.arms\[4\]); int sizsword=player.sword.size(); int sizbiome=player.biome.size(); int sizhp=sizeof(player.hp); if(type==1){ //for(int i; i>invnum; i++)buffinv\[i\]="air"; //memcpy(buffinv,player.inv,invnum); copy(begin(player.inv), end(player.inv), begin(buffinv)); pFile = fopen ("mine-save.bin", "wb"); fwrite (buffinv , sizeof(string), buffinv\[invnum\].size(), pFile); fclose (pFile); cout<<"invetory saved (hopefully, i don't know how to make an actual check)"<<endl; return; } if(type==2){ for(int i; i>invnum; i++)buffinv\[i\]="air"; testread.seekg (0, testread.beg); while (getline (testread,output)) { for(int i; i>invnum;i++) buffinv\[i\]=output; } testread.close(); //copy(begin(buffinv),end(buffinv),begin(player.inv)); memcpy(player.inv,buffinv,invnum); cout<<"loaded (hopefully, i don't know how to make an actual check)"<<endl; return; } } //game function// void game(){ srand ( time(NULL) ); //player varibale// player.hp=20; player.exp=0; player.dmg=1; //mobs damages// int dmgt=0; //Creeper creeper.mdmg=10; //Zombie zombie.mdmg=2; //Husk husk.mdmg=3; //variables// int stptot; int act; int invsl; int crfsl; bool debug=true; char y; char action; char actin; char actcr; //armor types and protection values// //Leather int lhlpr=1; //helmet int lchpr=3; //chestplate int llgpr=2; //leggings int lbtpr=1; //boots //Iron int ihlpr=2; //helmet int ichpr=6; //chestplate int ilgpr=5; //leggings int ibtpr=4; //boots string crftb\[9\]={"slot0","slot1","slot2","slot3","slot4","slot5","slot6","slot7","slot8"}; string objs\[objsnum\]={"Tree","Creeper","Cow","Water","Zombie","Lava"}; //string \*pobjs =objs; string biomes\[biomesnum\]={"Plains","Desert","Forest","Hills","Ice-Peeks","Dark-Forest"}; string buffinv\[invnum\]; string buffarmor\[4\]; string loadinv\[invnum\]; //cout<<"tutorial: to play type a number of steps\\n every ten steps you may find something"<<endl; //armor calculator// if(player.arms\[0\]=="air")player.armor=player.armor+0; if(player.arms\[1\]=="air")player.armor=player.armor+0; if(player.arms\[2\]=="air")player.armor=player.armor+0; if(player.arms\[3\]=="air")player.armor=player.armor+0; //leather// if(player.arms\[0\]=="let\_helmet")player.armor=player.armor+lhlpr; if(player.arms\[1\]=="let\_leggings")player.armor=player.armor+lchpr; if(player.arms\[2\]=="let\_chestplate")player.armor=player.armor+llgpr; if(player.arms\[3\]=="let\_boots")player.armor=player.armor+lbtpr; while(true){ srand ( time(NULL) ); if(debug==true)cout << "\\033\[1;31mATTENTION\\033\[0m\\ndebug menu enabled\\ntype 5 to access it"<<endl; cout<<"type:\\n\[1\] Walk\\n\[2\] Browse and manage the invetory\\n\[3\] Crafting table\\n\[4\]Save or load (only player invemtory for now)"<<endl; cin>>act; switch(act){ case 1:{ //core gameplay loop// int RandDis = rand() % 10; int RandBiomes = rand() % biomesnum; int RandDrop = rand() % 5; if(player.sword.empty())player.sword="bare-fists"; if(player.biome.empty()){ RandBiomes = rand() % biomesnum; player.biome=biomes\[RandBiomes\]; } cout<<"type 'w' to walk and you may find something"<<endl; cout<<"current biome: "<<player.biome<<endl; cout<<"your current sword: "<<player.sword<<endl; cin>>action; if(action=='m')return; if(player.hp<=0){ cout<<"you died!"<<endl; exit(EXIT\_SUCCESS); } if(action=='w'){ int RandStp = rand() % 10; RandStp = rand() % 10; stptot=RandStp+10; if(debug==true){ cout<<"steps: "<<RandStp<<endl; cout<<"steps to another biome (if is 20 or 19 you enter into a new biome): "<<stptot<<endl; cout<<"RandDis: "<<RandDis<<endl; } if(stptot==19)stptot=stptot+1; if(stptot==20){ RandBiomes = rand() % biomesnum; player.biome=biomes\[RandBiomes\]; cout<<"congratulation you enter into a new biome: "<<player.biome<<endl; } if(RandStp==RandDis){ int RandIndex = rand() % objsnum; //int RandIndexi = rand() % invnum; RandIndex = rand() % objsnum; cout << objs\[RandIndex\]<<endl; if(objs\[RandIndex\]=="Tree"){ cout<<"you found a tree!"<<endl; cout<<"do you want to harvest it and obtain a tree log?"<<endl; cin>>y; if(y=='y')insinv("Log",invnum);[//player.inv](//player.inv)\[RandIndexi\]="Log"; } if(objs\[RandIndex\]=="Zombie"){ if(player.sword=="bare-fists"){ player.hp=player.hp-zombie.mdmg; cout<<"you punch the zombie in the face, but is not enough to stop it"<<endl; cout<<"The zombie hit you"<<endl; cout<<"now you have "<<player.hp<<" health points"<<endl; }else cout<<"your mighty "<<player.sword<<" kill the zombie"<<endl; } if(objs\[RandIndex\]=="Creeper"){ //cout<<"you have ten seconds to type 'w' to escape the creeper explosion"<<endl; //cout<<"due to a stupid bug the creeper is temporany disabled"<<endl; if(player.sword=="bare-fists"){ player.hp=player.hp-creeper.mdmg; cout<<"your fists are not enough powerfull to kill the creeper"<<endl; cout<<"The creeper explode in front of you"<<endl; cout<<"now you have "<<player.hp<<" health points"<<endl; }else cout<<"you kill the creeper"<<endl; } if(objs\[RandIndex\]=="Cow"){ RandDrop; cout<<"do you want to kill the cow to obtain one leather pice?\\nand also you might obatain a raw beef piece?"<<endl; cin>>y; if(RandDrop==5){ cout<<"you obtain a raw beef piece"<<endl; insinv("Raw-Beef",invnum); } if(y=='y')insinv("Leather",invnum);[//player.inv](//player.inv)\[RandIndexi\]="Leather"; } if(player.biome!="Desert"){ if(objs\[RandIndex\]=="Water"){ cout<<"you found a water pond"<<endl; } }else cout<<"there is no water here"<<endl; } } break; } case 2:{ while(true){ //player invemtory// cout<<"Player health points: "<<player.hp<<endl; cout<<"PLayer damage points: "<<player.dmg<<endl; cout<<"Player inventory "<<endl; for (int i=0; i<invnum; i++) cout << player.inv\[i\]<<endl; cout<<"Player armor points: "<<player.armor<<endl; cout<<"Player armor"<<endl; for (int i=0; i<4; i++) cout << player.arms\[i\]<<","; //cout<<player.arms\[0\]<<","<<player.arms\[1\]<<","<<player.arms\[2\]<<","<<player.arms\[3\]<<","<<player.arms\[4\]<<endl; cout<<"inventory managment:\\n'e' allows you to eat and regain health\\ntype 'c' to exit"<<endl; cin>>action; if(action=='e'){ cin>>invsl; if(player.inv\[invsl\]=="Raw-Beef"){ player.inv\[invsl\]="air"; if(player.hp<20){ player.hp=player.hp+5; cout<<"you eat the "<<player.inv\[invsl\]<<"pice and you regeberate 5 hp"<<endl; } if(player.hp==20)cout<<"no need to eat your health is full"<<endl; }else cout<<"you can not eat "<< player.inv\[invsl\]<<endl; } if(action=='c')break; } break; } case 3:{ cout<<"crafting table:"<<endl; cout <<setw(3)<<crftb\[0\]<<","<<setw(3)<<crftb\[1\]<<","<<setw(3)<<crftb\[2\]<<endl; cout <<setw(3)<<crftb\[3\]<<","<<setw(3)<<crftb\[4\]<<","<<setw(3)<<crftb\[5\]<<endl; cout <<setw(3)<<crftb\[6\]<<","<<setw(3)<<crftb\[7\]<<","<<setw(3)<<crftb\[8\]<<endl; cout<<"to insert items into the crafting table\\nyou need to type the 'i' followed by the inventory slot (remeber slot ranged from 0 to 8)\\n followed by the crafting table (that also range from 0 to 8) "<<endl; cin>>actin>>invsl>>crfsl; if(actin=='i'){ crftb\[crfsl\]=player.inv\[invsl\]; player.inv\[invsl\]="air"; } if(actin=='c')break; cout<<"crafting table:"<<endl; //for (int i = 9 - 1; i >= 0; i--) cout <<setw(3)<<crftb\[0\]<<","<<setw(3)<<crftb\[1\]<<","<<setw(3)<<crftb\[2\]<<endl; cout <<setw(3)<<crftb\[3\]<<","<<setw(3)<<crftb\[4\]<<","<<setw(3)<<crftb\[5\]<<endl; cout <<setw(3)<<crftb\[6\]<<","<<setw(3)<<crftb\[7\]<<","<<setw(3)<<crftb\[8\]<<endl; for(int i=0; i<9; i++){ if(crftb\[i\]=="Log"){ insinv("Planks",invnum); cout<<"crafted planks"<<endl; } if((crftb\[i\]=="Planks")&&(crftb\[i\]=="Planks")&&(crftb\[i\]=="Planks")){ insinv("Wooden-sword",invnum); //temporaney i want a shaped crafting for sword player.sword=="Wooden-sword"; } } break; } case 4:{ cout<<"type 's' to save or 'l' to load\\n ATTENTION this feature is under developmnet, for now only the inventory will get saved"<<endl; cin>>action; if(action=='s')savload(1); if(action=='l')savload(2); } case 5:{ ifstream testread("mine-save.bin"); FILE \* pFile; string output; int z; int sizestr=sizeof(struct plys); int sizeinv=sizeof(player.inv\[invnum\]);[//player.inv](//player.inv)\[invnum\].size(); int sizearmor=sizeof(player.arms\[4\]);[//player.arms](//player.arms)\[4\].size(); int sizsinv=player.inv\[invnum\].size(); int sizsarm=player.arms\[4\].size(); int leninv=player.inv\[invnum\].length(); int lenarm=player.arms\[4\].length(); int aligstr=alignof(struct plys); int aliginv=alignof(player.inv\[invnum\]); int aligarm=alignof(player.arms\[4\]); int sizsword=player.sword.size(); int sizbiome=player.biome.size(); int sizhp=sizeof(player.hp); for(int i=0;i>4;i++)buffarmor\[i\]="air"; if(debug==true){ cout<<"debug menu:\\n\[1\]remove ten health points\\n\[2\]size of the struct and arrays in it with their alignment\\n\[3\]give you a bunch of stuff\\n\[4\]clear your inventory\\n\[5\]save inventory (and extra junk) to a binary file\\n\[6\]dump the save file into the console\\n\[7\]memcpy save test"<<endl; cout<<"Please don't use \[5\] or \[7\] options"<<endl; cin>>z; if(z==3){ insinv("Planks",invnum); insinv("Planks",invnum); insinv("Planks",invnum); insinv("Raw-Beef",invnum); insinv("Log",invnum); } if(z==1)player.hp=player.hp-10; if(z==2){ cout<<"size of player struct: "<<sizestr<<endl; cout<<"size of player inventory: "<<sizeinv<<endl; cout<<"size of player armor: "<<sizearmor<<endl; cout<<"size (.size()) of inventory: "<<sizsinv<<endl; cout<<"size (.length()) of inventory: "<<leninv<<endl; cout<<"size (.size()) of armor: "<<sizsarm<<endl; cout<<"size (.length()) of armor: "<<lenarm<<endl; cout<<"alignamanet of player struct: "<<aligstr<<endl; cout<<"alignamanet of inventory: "<<aliginv<<endl; cout<<"alignment of armor: "<<aligarm<<endl; //remainder// //the alignment is a divisor of it size } if(z==4){ for(int i=0; i<invnum; i++) player.inv\[i\]="air"; } if(z==5){ //Save to binary using copy// //FILE \* pFile; //char buffer\[\] = { 't' , 'e' , 's' , 't' }; copy(begin(player.inv), end(player.inv), begin(buffinv)); //copy(begin(player.arms), end(player.arms), begin(buffarmor)); pFile = fopen ("mine-save-c.bin", "wb"); fwrite (buffinv , sizeof(string), sizeof(buffinv), pFile); //fwrite (buffarmor , sizeof(string), sizeof(buffarmor), pFile); fclose (pFile); } if(z==6){ //print save file in the terminal// string out; while (getline (testread,out)) { cout << out; } testread.close(); } if(z==7){ //Save to binary using memcpy// memcpy(buffinv,player.inv,sizeinv); memcpy(buffarmor,player.arms,sizearmor); pFile = fopen ("mine-save.bin", "wb"); fwrite (buffinv , sizeof(string), sizeof(buffinv), pFile); //fwrite (buffarmor , sizeof(string), sizeof(buffarmor), pFile); fclose (pFile); } if(z==8){ ; } }else cout<<"enable debug to acess it"<<endl; break; } } } } int main(){ int sel; cout<<"Welcome to Mattia's Software minetext"<<endl; while(true){ cout<<"--Minetext--\\n\[1\] Singleplayer\\n\[2\] Credits\\n\[3\] Comands list"<<endl; cin>>sel; switch(sel){ case 1: { game(); break; } case 2: { cout<<"Author: Mattia's Software\\n Based upon Minecraft"<<endl; cout<<"Thanks to Loxo, that help me with some stuffs"<<endl; break; } case 3: { cout<<"List of useful comands:\\n'w': allows you to walk a random number of steps\\n'm':allows you to return to the main menu\\n'e':allows you to eat and regain health\\n to use it you need to type 'e' and then the inventory slot were the food is contained\\n you can type those comands when you choose the walk option during the game"<<endl; break; } } } } Please ignore the case 5 inside the switch(act) in void game(). I tried to implement a save and load system inside the savload(int type) function, i was tryng to write the player inventory (player.inv\[invnum\]) that is inside of a struct called plys into a binary file called mine-save.bin . I tried to directly save data from player.inv array, but it did not worked, so i tried to copy player.inv into an array called buffinv, first with copy and then with memcpy, but that did not work either. note that writing the player.arms array in to the save file will fill it up with junk data. And also I want to point out that I am a hobbyist, i program for fun, and as a challenge I tried to do Minecraft as a text based game
Your posts seem to contain unformatted code. Please make sure to format your code otherwise your post may be removed. Read [our guidelines](https://www.reddit.com/r/cpp_questions/comments/48d4pc/important_read_before_posting/) for how to format your code. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/cpp_questions) if you have any questions or concerns.*
30
cpp_questions
uo41zb
Especially on Reddit, India and Egypt (and sometimes Morocco) tend to be cited more often than other countries as being dangerous for women to travel in, even more so alone. However, a lot of people still express interest in then, despite the dangers, because of their history and culture. How would you personally feel if someone close to you was interested in traveling there?
I’m an adult woman. I can make my own decisions and go where I want. We don’t need to be chaperoned and we’re not stupid.
470
AskAnAmerican
uo41zb
Especially on Reddit, India and Egypt (and sometimes Morocco) tend to be cited more often than other countries as being dangerous for women to travel in, even more so alone. However, a lot of people still express interest in then, despite the dangers, because of their history and culture. How would you personally feel if someone close to you was interested in traveling there?
I'd tell them to be careful. I would also say the same thing to a guy going abroad.
420
AskAnAmerican
uo41zb
Especially on Reddit, India and Egypt (and sometimes Morocco) tend to be cited more often than other countries as being dangerous for women to travel in, even more so alone. However, a lot of people still express interest in then, despite the dangers, because of their history and culture. How would you personally feel if someone close to you was interested in traveling there?
If any of my friends plans a trip like that, I’d trust her to be smart enough to do her own research. She’s an adult, she knows the risks. I’m not her dad.
360
AskAnAmerican
uo428d
I recently read Shelby Foote’s Narrative of the Civil War. Something that stuck out to me was how even after the war, the southern leaders insisted that the South and North were separate nations bound together in the same country, like England and Scotland are separate nations in the UK. How prevalent is this thought today? Are we one nation, or multiple?
One nation. The similarities outweigh the differences by *far*.
1,470
AskAnAmerican
uo428d
I recently read Shelby Foote’s Narrative of the Civil War. Something that stuck out to me was how even after the war, the southern leaders insisted that the South and North were separate nations bound together in the same country, like England and Scotland are separate nations in the UK. How prevalent is this thought today? Are we one nation, or multiple?
Unless you're counting nations like the [Navajo Nation](https://www.navajo-nsn.gov/), no. We were never multiple countries assembled into Voltron States of America. A group of seditionist traitors does not make us 2 nations.
920
AskAnAmerican
uo428d
I recently read Shelby Foote’s Narrative of the Civil War. Something that stuck out to me was how even after the war, the southern leaders insisted that the South and North were separate nations bound together in the same country, like England and Scotland are separate nations in the UK. How prevalent is this thought today? Are we one nation, or multiple?
This is just a matter of semantics. Traditionally a “nation” was more or less synonymous with ethnicity, and a country was a legal authority that controlled a particular territory. So, countries like Austria-Hungary were usually considered “multi-national states” as they contained various distinct peoples. Today, nation and country have become synonymous in common parlance. So, in that sense the US is one nation. In the older sense, America is as far from being “one nation” as any country in human history lol.
770
AskAnAmerican
uo44ud
I have an SM-T290 Samsung tablet, and I want to know if I can make it think it's a phone without flashing a new OS. If this is possible, please tell me.
What exactly are you trying to accomplish?
80
AndroidQuestions
uo4apa
Hello r/AskHistorians, I recently finished reading David Graeber and David Wengrow's Dawn of Everything. In the book, they make an interesting claim: that the European Enlightenment was, in many ways, started by Native American philosophers criticizing European customs. They bring up the example of Kondiaronk, a Native Chief, who conducted a series of interviews in which he laid out his view on white customs and society. This apparently was widely read in Europe and inspired people like Rousseau. He also brings up several passages written by European missionaries, in which Natives bring up points that seem eerily reminiscent of later Enlightenment thinkers. This is an interesting take on the Enlightenment. How much weight does it hold? Also, could you recommend any further reading on this subject?
I have been looking for more resources on Kandiaronk ever since I read it as well and what I've been left to grapple with are the critical reviews of Graber and Wengrow's second chapter, so that is what I'll share here. Said critiques rely heavily on assuming that Lahontan, the author of *The Dialogues*, the work that entails the conversations between Lahontan and Kandiaronk in which Kandiaronk lays out his criticism of European society, was the creator of the critiques of European society that Graeber and Wengrow ascribe to Kandiaronk. David Bell, an American historian who wrote [this](https://www.persuasion.community/p/a-flawed-history-of-humanity?s=r) critique of the chapter, claims that Lahontan used Kandiaronk as a literary device to carry his own critiques of European society, as many written philosophical works in Europe at the time were written as fictional stories and used a literary tradition Anthony Pagden calls the “savage critic.” Although there are cases of this type of writing being used, it is wildly ahistorical for Bell to assume Lahontan was engaging in this kind of writing. Why would Lahontan, a French soldier with no notoriety as an intellectual in Europe prior to the release of his *The Dialogues*, intentionally frame his own criticisms of Europe as that of a Native American? Even Bell acknowledges that in Lahontan's work, the fictional character Adairo, who frequently repels Lahontan's articulations of the superiority of Christianity and Europe, was most likely Kandiorank. There is no evidence that supports the idea that Lahontan created a dialogue between him and someone who by even critiques accounts was loosely based on Kandiorank as his own besides thinking since other authors did, we can assume Lahontan did as well. The evidence for Adairo representing Kandiaronk is building, but not concrete either - take the work 'Native American Speakers of the Eastern Woodlands', by Barbara Alice Mann, which Bell even uses himself and attempts to dispute using the following logic- *Mann argued that the “flat dismissal” of the Dialogues as an authentic transcript of a Native American voice reflected racism and a “western sneer.” She argues that in fact a “beguiled Lahontan” took elaborate notes as he conversed with Kandiaronk, and then later put them together into the Dialogues. But what is Mann’s principal evidence? In her book, she triumphantly quotes Lahontan himself: “When I was in the village of this \[Native\] American, I took on the agreeable task of carefully noting all his arguments. No sooner had I returned from my trip to the Canadian lakes than I showed my manuscript to Count Frontenac, who was so pleased to read it that he made the effort to help me put these Dialogues into their present state.” The case seems irrefutable, except for one important point: These words come from the preface to the Dialogues themselves.* So, Bell's critique of Mann's framing of *The Dialogues* relies upon the same guesswork he criticizes Graber and Wengrow of committing. The evidence suggests *The Dialogues* are a verbatim account of the debates between Kandiaronk and Lahontan. To act as if a colonial soldier looking to spread Christianity would come up with these critiques himself, after meeting with Kandiaronk, who we know was an incredible orator and brilliant statesman, (for more on him look [here](https://www.wyandot.org/intro.htm)) is a line of thought consistent with the Western chauvinism Graeber and Wengrow looked to dispel and it's emergence can be attributed to a reflex reaction from historians who have based their work off a certain story of European enlightenment. What The Dawn of Everything shows us is that the origin of enlightenment ideals are more murky than previously thought, and that we should continue to question the seemingly concrete ways we tell the story of our civilization and how it is set up.
2,830
AskHistorians
uo4apa
Hello r/AskHistorians, I recently finished reading David Graeber and David Wengrow's Dawn of Everything. In the book, they make an interesting claim: that the European Enlightenment was, in many ways, started by Native American philosophers criticizing European customs. They bring up the example of Kondiaronk, a Native Chief, who conducted a series of interviews in which he laid out his view on white customs and society. This apparently was widely read in Europe and inspired people like Rousseau. He also brings up several passages written by European missionaries, in which Natives bring up points that seem eerily reminiscent of later Enlightenment thinkers. This is an interesting take on the Enlightenment. How much weight does it hold? Also, could you recommend any further reading on this subject?
[removed]
670
AskHistorians
uo4apa
Hello r/AskHistorians, I recently finished reading David Graeber and David Wengrow's Dawn of Everything. In the book, they make an interesting claim: that the European Enlightenment was, in many ways, started by Native American philosophers criticizing European customs. They bring up the example of Kondiaronk, a Native Chief, who conducted a series of interviews in which he laid out his view on white customs and society. This apparently was widely read in Europe and inspired people like Rousseau. He also brings up several passages written by European missionaries, in which Natives bring up points that seem eerily reminiscent of later Enlightenment thinkers. This is an interesting take on the Enlightenment. How much weight does it hold? Also, could you recommend any further reading on this subject?
[removed]
520
AskHistorians
uo4ff5
I've been in restaurants since I could work and I'm looking to get into a help desk role. I've messed with home lab stuff on and off, but nothing to really add to my resume (basic active directory, setting up servers and VMs). ​ I just feel stuck on my resume and feel like I've looked at it so much it doesn't even look right anymore. can anyone point me in the correct direction? ​ [My Resume](https://ibb.co/zxknFXT) Edit: I realized I uploaded the wrong resume. I’m at work and can’t change it
I also came from a restaurant industry and transitioned into IT. Your resume has a lot of restaurant bullet points -- which is irrelevant to IT. Recruiter's are not gonna read most of it. Change the first two bullets to something about customer service. That's a big overlapping skill. (for example: dealing with an irate customer and how you learned to deal with the situation). Also, add more IT achievements. Feel free to add a new section "current projects" or something and talk about what you're currently doing to learn / practice IT. For example, a homelab or practicing on a VM. Mention *any* relative IT experience. Any school projects you did. In the beginning, *any* experience holds a lot of weight.
110
ITCareerQuestions
uo4ff5
I've been in restaurants since I could work and I'm looking to get into a help desk role. I've messed with home lab stuff on and off, but nothing to really add to my resume (basic active directory, setting up servers and VMs). ​ I just feel stuck on my resume and feel like I've looked at it so much it doesn't even look right anymore. can anyone point me in the correct direction? ​ [My Resume](https://ibb.co/zxknFXT) Edit: I realized I uploaded the wrong resume. I’m at work and can’t change it
Get a free AWS or Azure cloud account - spend some time there.
50
ITCareerQuestions
uo4ff5
I've been in restaurants since I could work and I'm looking to get into a help desk role. I've messed with home lab stuff on and off, but nothing to really add to my resume (basic active directory, setting up servers and VMs). ​ I just feel stuck on my resume and feel like I've looked at it so much it doesn't even look right anymore. can anyone point me in the correct direction? ​ [My Resume](https://ibb.co/zxknFXT) Edit: I realized I uploaded the wrong resume. I’m at work and can’t change it
Incoming list of puns: Experience managing servers Familiarity with embedded Linux systems (POS) Debugging Experience operating bare metal (knives, utensils) In all seriousness though, you’ve got this :)
40
ITCareerQuestions
uo4sf1
I’ll go first. “Old people don’t understand technology.” Who do you think invented the technology? Plus, we’ve been around this whole time, it’s not like we time traveled from the past. *Some* old people may have trouble with *some* technology — but have you ever seen how nervous young people get about making an actual phone call?
I'm tired of hearing how fucked they are, mostly because it's true, and I can't do anything about it. I want things to be better for them. I am so mad that they are paying impossible tuition rates to get degrees for shit jobs that don't pay well and then if they get sick, they might go bankrupt. I know a lot of young couples who look at having kids like a luxury item these days. "Who can afford the daycare, formula, diapers, and losing time from work? it's a full time job on top of my already full time job. I am stressed out and don't need to come home to some screaming health risk that could lead to bankruptcy. I am depressed and anxious all the time. It's irresponsible to have kids. Besides, the population needs curbed anyway." I help where I can, but I can't help everyone.
1,440
AskOldPeople
uo4sf1
I’ll go first. “Old people don’t understand technology.” Who do you think invented the technology? Plus, we’ve been around this whole time, it’s not like we time traveled from the past. *Some* old people may have trouble with *some* technology — but have you ever seen how nervous young people get about making an actual phone call?
When it comes to technology, fashion, trends, etc, a lot of people mistake a lack of interest for an inability to learn. I'm finding that retirement is the biggest hit to my interest level. I have no need to pay attention to the latest fashions if I'm not going to the office. I have no need to pay any attention to current music and celebrities so that I won't feel out of touch at the water cooler. As far as technology is concerned, my needs are pretty simple. If anything, computing technology is far simpler than it used to be. I used to build PCs from parts, configure them in DOS, then load Windows and configure that, and finally load additional programs that my customers wanted. I wrote scripts and macros, and set up their programs as well. I taught myself DOS, C, HTML and PHP. Now what do people do? They download the app or program they want and usually the default settings are all they need. Nothing could be easier. If I'm not on Tik Tok, it's because I don't want to be!
1,020
AskOldPeople
uo4sf1
I’ll go first. “Old people don’t understand technology.” Who do you think invented the technology? Plus, we’ve been around this whole time, it’s not like we time traveled from the past. *Some* old people may have trouble with *some* technology — but have you ever seen how nervous young people get about making an actual phone call?
"Being a young person is SO much harder now than it used to be." ​ yes, young people today have some challenges we didn't have. But we had many they don't. ​ Teens to 20s has never been an easy time of life for anyone!
940
AskOldPeople
uo4tss
Is it safe to download dev c++ from sourceforge? https://sourceforge.net/projects/orwelldevcpp/
Safe? Sure. That's an outdated version of that IDE though. A company called Embarcadero has been maintaining it for the past couple of years. I think the last Orwell release was from 2015. On Windows, I'd typically go for Visual Studio. There's a Community Edition that's free.
30
cpp_questions
uo4tss
Is it safe to download dev c++ from sourceforge? https://sourceforge.net/projects/orwelldevcpp/
Just download [Visual Studio](https://visualstudio.microsoft.com/vs/community/) instead.
30
cpp_questions
uo504c
I’m 36 I’ve worked my whole life in retail in different positions pretty much done it all. I work for verizon now, I don’t have much any formal education just high school. I’m some what ok with using a PC at work and just got a MacBook personally. I make about 80k with commissions and all. Money is decent but there is no growth and the way retail store closures are going I’m pretty sure mine is on the chopping block too, I have excellent people skills and I’m a fast learner. Someone recommended get an A+ to under the core and then see what’s in demand as a certification. What would you guys recommend? Tia
The only challenge I see here is you have no formal technical training or work history, and you are making 80k a year which is easily a mid level career in IT. If you want to make a jump into IT, it is possible to do, but you will probably have to take a lower paying job and work your way up. Another option you have, instead of looking at technical IT work, is to look at IT sales. It sounds like you are already doing that at your retail job and you may be able to slide into a role like that. You don't have to be overly technical to do that work, and you will have sales engineers you can lean on for heavy technical stuff.
40
ITCareerQuestions
uo504c
I’m 36 I’ve worked my whole life in retail in different positions pretty much done it all. I work for verizon now, I don’t have much any formal education just high school. I’m some what ok with using a PC at work and just got a MacBook personally. I make about 80k with commissions and all. Money is decent but there is no growth and the way retail store closures are going I’m pretty sure mine is on the chopping block too, I have excellent people skills and I’m a fast learner. Someone recommended get an A+ to under the core and then see what’s in demand as a certification. What would you guys recommend? Tia
Have you considered asking about open positions in other parts of the company? As long as the pay is comparable, I should think you would do well at a help desk position or even higher.
30
ITCareerQuestions
uo545e
I feel like the reason (correct me if I'm wrong) why healthcare is so expensive is because of the much higher quality of medical equipment and doctors in the US compared to the rest of the world. Being a doctor or surgeon in the US is one of the highest paying professions in the world, alongside access to many of the best medical procedures compared to other countries. As such, will you be in favor of granting universal healthcare to all Americans, but in return reducing the quality of healthcare provided in public hospitals, and making premium healthcare in private clinics even more expensive than what it currently is?
That's not the reason healthcare is so expensive. It's because its a for-profit system with middlemen like private health insurance running up the cost. Regulations on what these companies can charge are relatively poor when compared to countries with universal healthcare.
580
AskAnAmerican
uo545e
I feel like the reason (correct me if I'm wrong) why healthcare is so expensive is because of the much higher quality of medical equipment and doctors in the US compared to the rest of the world. Being a doctor or surgeon in the US is one of the highest paying professions in the world, alongside access to many of the best medical procedures compared to other countries. As such, will you be in favor of granting universal healthcare to all Americans, but in return reducing the quality of healthcare provided in public hospitals, and making premium healthcare in private clinics even more expensive than what it currently is?
The quality of doctors and care in the US is not at all proportional to their cost and although we do have many excellent doctors, that is not the reason healthcare is so expensive here. Administrative bloat in the healthcare industry is a far bigger contributor. The lack of legal regulations and price caps is also a major factor. Prescription drugs are a great example of this. You can pay 3-4 times more for a drug in the US compared to getting *the same exact drug* elsewhere. Obviously there is no quality difference since it is the same exact drug. The price is high because pharma companies can charge a much as they want due the lack of legal regulations. Edit: spelling
190
AskAnAmerican
uo545e
I feel like the reason (correct me if I'm wrong) why healthcare is so expensive is because of the much higher quality of medical equipment and doctors in the US compared to the rest of the world. Being a doctor or surgeon in the US is one of the highest paying professions in the world, alongside access to many of the best medical procedures compared to other countries. As such, will you be in favor of granting universal healthcare to all Americans, but in return reducing the quality of healthcare provided in public hospitals, and making premium healthcare in private clinics even more expensive than what it currently is?
I don't think this is an inherent tradeoff for universal healthcare
100
AskAnAmerican
uo56or
I am writing a class that needs to be templated on two types which, in turn, must both be templated on the *same* type. This isn't it: template<typename T, typename Lower<T>, typename Upper<T>> But what is?
template<class A, class B> struct Fluffy; template<class T, template<class> class A, template<class> class B> struct Fluffy<A<T>, B<T>> : std::true_type { };
30
cpp_questions
uo57ee
Like would there be a case of a President assuming he or she would have enough support to invade another country? Between 2022 and 2028 it’s likely the President will be either Biden or Trump (and potentially Harris). The most likely nations that were to be invaded in recent years have been Iran and Venezuela. Although there have also been strong words towards Cuba and North Korea (though really doubt it considering they have nukes).
I've got $5 on Liechtenstein. They know what they did.
480
AskAnAmerican
uo57ee
Like would there be a case of a President assuming he or she would have enough support to invade another country? Between 2022 and 2028 it’s likely the President will be either Biden or Trump (and potentially Harris). The most likely nations that were to be invaded in recent years have been Iran and Venezuela. Although there have also been strong words towards Cuba and North Korea (though really doubt it considering they have nukes).
No. It's a wildly unpopular idea on both sides of the political spectrum. At most you can expect stuff like we are doing with Ukraine.
290
AskAnAmerican
uo57ee
Like would there be a case of a President assuming he or she would have enough support to invade another country? Between 2022 and 2028 it’s likely the President will be either Biden or Trump (and potentially Harris). The most likely nations that were to be invaded in recent years have been Iran and Venezuela. Although there have also been strong words towards Cuba and North Korea (though really doubt it considering they have nukes).
Not really. There’s more to evaluating the potential of American military intervention than simply “we don’t like them.”
240
AskAnAmerican
uo58lt
Hello I am an Australian who is currently backpacking around Europe who is considering hopping over to the USA for 3 to 4 weeks before I go down to South America. My main issue is that the USA is very expensive for backpackers with hostel dorms ranging from $50-100 AUD a night. I would love to explore parts of the east coast flying into New York City and either going up through New England or south and visit places like Charleston, Asheville and the smoky mountains. I was just wondering if anyone had any tips on how to save money on a trip like this, is hiring a car the best option or is there buses I can take through the country. Ps I actually do have a good bit of money saved up I would just prefer to have some left when I return home.
You may have better luck with hotels than hostels. How do you plan on getting around? Hitchhiking is illegal in most of the U.S... Bus services are limited or can take a bit of time outside big cities and the northeast. We have virtually no passenger rail service again outside the Northeast.
670
AskAnAmerican
uo58lt
Hello I am an Australian who is currently backpacking around Europe who is considering hopping over to the USA for 3 to 4 weeks before I go down to South America. My main issue is that the USA is very expensive for backpackers with hostel dorms ranging from $50-100 AUD a night. I would love to explore parts of the east coast flying into New York City and either going up through New England or south and visit places like Charleston, Asheville and the smoky mountains. I was just wondering if anyone had any tips on how to save money on a trip like this, is hiring a car the best option or is there buses I can take through the country. Ps I actually do have a good bit of money saved up I would just prefer to have some left when I return home.
The big question is what is your budget? Hostels aren't really a thing in most places
580
AskAnAmerican
uo58lt
Hello I am an Australian who is currently backpacking around Europe who is considering hopping over to the USA for 3 to 4 weeks before I go down to South America. My main issue is that the USA is very expensive for backpackers with hostel dorms ranging from $50-100 AUD a night. I would love to explore parts of the east coast flying into New York City and either going up through New England or south and visit places like Charleston, Asheville and the smoky mountains. I was just wondering if anyone had any tips on how to save money on a trip like this, is hiring a car the best option or is there buses I can take through the country. Ps I actually do have a good bit of money saved up I would just prefer to have some left when I return home.
If you're backpacking -- especially in the American sense of the word -- why not go camping? It's often very cheap and sometimes even free to camp in a national or state park. There are buses and trains you can take but if you are interested in nature it's harder. The stops are mostly only in urban centers, away from where you'd be hiking.
420
AskAnAmerican
uo5i4i
So I’m in a situation where I love learning about IT and tech and like the work duties but I abhor doing any home lab or practice labs outside of work. I enjoy taking notes while learning the theory. Is this a red flag? I’m currently in a networking gig and I’m motivated more when I have a work problem to solve than to emulate one on my own or to even lab. Even with coding, I don’t enjoy building projects on my own unless someone gives me a problem to solve along with specific requirements. I don’t think this is a focus issue bc it has been ruled out for me. How can I get motivated with simple labs and enjoy breaking things in IT and in coding? Should I pursue more research-oriented tech careers or am I good?
Labbing should be done on work time, it is training for your job imo.
1,920
ITCareerQuestions
uo5i4i
So I’m in a situation where I love learning about IT and tech and like the work duties but I abhor doing any home lab or practice labs outside of work. I enjoy taking notes while learning the theory. Is this a red flag? I’m currently in a networking gig and I’m motivated more when I have a work problem to solve than to emulate one on my own or to even lab. Even with coding, I don’t enjoy building projects on my own unless someone gives me a problem to solve along with specific requirements. I don’t think this is a focus issue bc it has been ruled out for me. How can I get motivated with simple labs and enjoy breaking things in IT and in coding? Should I pursue more research-oriented tech careers or am I good?
If you're learning enough during work hours, why spend the time at home doing it, especially if you don't like it?
1,440
ITCareerQuestions
uo5i4i
So I’m in a situation where I love learning about IT and tech and like the work duties but I abhor doing any home lab or practice labs outside of work. I enjoy taking notes while learning the theory. Is this a red flag? I’m currently in a networking gig and I’m motivated more when I have a work problem to solve than to emulate one on my own or to even lab. Even with coding, I don’t enjoy building projects on my own unless someone gives me a problem to solve along with specific requirements. I don’t think this is a focus issue bc it has been ruled out for me. How can I get motivated with simple labs and enjoy breaking things in IT and in coding? Should I pursue more research-oriented tech careers or am I good?
Not at all, the whole schtick a couple years ago about "tech bros need home labs or they're just after the money!!" Was and is retarded. There's something complimentary about people who self select into fields they're passionate about and homelab on the weekends because they think it's cool, but the inverse is not a red flag, for sure. During college I homelabbed like crazy, because I was hungry and poor and unsure if I'd ever be able to pay of my student loans. After getting a job and learning to do my job well, I stopped all that shit. I chill in my free time, if company wants something, they can pay me. Not a red flag, do you playboi, we all gonna die someday and I guarantee folks on they death bed ain't concerned about not home labbing for their work enough
760
ITCareerQuestions
uo5jja
What major events in your lifetime do you think should be in school textbooks but aren't?
hard to answer because i have no idea whats been in school textbooks since the 90s
120
AskOldPeople
uo5jja
What major events in your lifetime do you think should be in school textbooks but aren't?
I think there should be a whole semester on medical history. Start with the dark ages and move up to the amazing medical discoveries of the present. Cover vaccines, how they work, and what they accomplished.
70
AskOldPeople
uo5jja
What major events in your lifetime do you think should be in school textbooks but aren't?
Looks like we old timers pretty much have the same response so I'll share something that happened BEFORE my lifetime that should be in school textbooks.. There is a city in Arkansas known as Pine Bluff. For thousands of years prior to being settled the region was subject to flooding from what would become known as the Arkansas River. The river also shifted over time and the cumulative effect was the buildup of rich, fertile land for planting crops. By pre-Civil War era Pine Bluff had become a boom town. Farmers bought huge numbers of slaves to work the miles of farms and river access meant goods went out and money came in fast. Then the Civil War happened. Soon to be freed slaves were running all over the south for their lives, where would you go? For many slaves in Arkansas, the answer was obvious. Pine Bluff already had the highest concentration of slaves so they began heading that way. The Confederate army, however, eventually begun running raids on the city. The Battle of Pine Bluff occurred when armed slaves joined forces with an arriving detachment of Union Troops to fend off the Confederates and save the city. NEVER in my life, much less at school, did I ever hear about armed slaves joining up with Union forces to save a city. I grew up pre-internet, obviously, so thanks to lots of research I now know WHY this and no telling how many stories like it have been lost although in hindsight it isn't that great a leap to make. Yes, the North won the Civil War but after the slaves were "freed" they still lived in the south with a bunchy of extremely pissed off racists who owned every damn thing in sight. Their descendants used their combined influence to drive these communities into poverty and anguish, all the while blaming black people for every bad thing that happens to them. Women, children, old folks... fish in a barrel. Once you lock up the breadwinner in a poverty level household you own every person living there. I seem to remember my History book jumping straight from the Civil War to the Industrial Revolution as if a magic wand had been waved and all the bad times for black folks were basically over? Until we get to Dr. King of course, but by then the discussion about black communities seems to move to what was going on in big cities. To this day all my homies down south are just flapping in the breeze because ARKANSAS? Who cares about Arkansas, right?? :/
50
AskOldPeople
uo5lcf
I have worked at a variety of large corporations and all the PMs are only useful for scheduling meetings, that's it. They can't communicate properly, because they usually mess up important details, so us technical resources do all the communications because we always have to do damage control when the PM inevitably communicates something completely wrong. I have never had a PM or BA make any project documents (Project charter, plan, work breakdown structure, etc), every project I've been on the technical resources do all of that. I have never had a requirement given to me, as a technical resource I have always had to elicit those, and usually they are completely contradictory to the scope of the project. Project managers say they manage "time, quality, and budget", but the vast majority of projects are over budget and not on time. Quality is laughable, most PMs have no idea what tech they are working with. Would you let someone with no mechanical skills judge the quality of a transmission change? Overall, I see project managers going way the dodo, most of what they do can be EASILY automated. good riddance
Ah, I used to believe similar, than I started working with better and better PM's. Their job isn't to hold your hand or provide documents for you, it's to liason between business and engineering and the domain leads for the impacted platforms to coordinate timelines, budget, etc. Good PM's are rare, But they do exist, and that skillet, done correctly, is well worth the cost. I don't need another tech nerd to explain some obscure detail that doesn't move the needle. Why are they so rare, probably because they can really suck at their job and noone will notice until a couple projects down the line. Same with product managers.
170
ITCareerQuestions
uo5lcf
I have worked at a variety of large corporations and all the PMs are only useful for scheduling meetings, that's it. They can't communicate properly, because they usually mess up important details, so us technical resources do all the communications because we always have to do damage control when the PM inevitably communicates something completely wrong. I have never had a PM or BA make any project documents (Project charter, plan, work breakdown structure, etc), every project I've been on the technical resources do all of that. I have never had a requirement given to me, as a technical resource I have always had to elicit those, and usually they are completely contradictory to the scope of the project. Project managers say they manage "time, quality, and budget", but the vast majority of projects are over budget and not on time. Quality is laughable, most PMs have no idea what tech they are working with. Would you let someone with no mechanical skills judge the quality of a transmission change? Overall, I see project managers going way the dodo, most of what they do can be EASILY automated. good riddance
* Conflict Resolution is HARD. Those that are good at this usually move into management rather quickly. * You have to know a lot about a lot. Being able to logically come up with a way to complete a project when it's having trouble isn't necessarily a straightforward thing, and understanding the business and how it interacts is a lot to know. * Most PM departments aren't setup correctly. If you're working at a company where you have a PM assigned to each project, projects start on the basis of someone just wanting a project started, and the only thing the PM does is scheduling - then your company is doing it wrong. Projects should be scored based on the same metrics - metrics derived from the goals of the company, Project Managers should be resolve conflicts between stakeholders, they should be helping plan out the individual tasks needed to complete the project, they should be managing stakeholder expectations, they should be resolving resource and time constraints when issues arise in the project - furthermore, the project management process should be governed by a Project Management Office - which should be completely separate from the Project Management team. I think you have a narrow outlook of what a Project Manager does and what their job is. The Project Manager isn't there to work FOR you. The Project Manager exists to work for the business, to make sure that the goals of the business are met for any given project. They are not technical experts, they are not meant to know how something should be implemented - that's your job. Their job is to facilitate whatever is needed for the implementation, to manage expectations of that implementation, and to make sure that implementation is happening that are within the bounds of the scope of the project.
100
ITCareerQuestions
uo5lcf
I have worked at a variety of large corporations and all the PMs are only useful for scheduling meetings, that's it. They can't communicate properly, because they usually mess up important details, so us technical resources do all the communications because we always have to do damage control when the PM inevitably communicates something completely wrong. I have never had a PM or BA make any project documents (Project charter, plan, work breakdown structure, etc), every project I've been on the technical resources do all of that. I have never had a requirement given to me, as a technical resource I have always had to elicit those, and usually they are completely contradictory to the scope of the project. Project managers say they manage "time, quality, and budget", but the vast majority of projects are over budget and not on time. Quality is laughable, most PMs have no idea what tech they are working with. Would you let someone with no mechanical skills judge the quality of a transmission change? Overall, I see project managers going way the dodo, most of what they do can be EASILY automated. good riddance
I've worked with a handful of good ones, but you're right: most of them are glorified admin assistants. I think the reason good ones are so hard to come by is that in order to be effective they really need to have at least a high-level understanding of the pieces in play and how they all fit together, and that's simply not always the case. I don't expect a project manager to have in-depth knowledge of the entire tech stack, but they need to know (or be willing/able to learn) enough to be able to participate in the project beyond simply scheduling meetings.
100
ITCareerQuestions
uo5r1m
Parents often teach their children second languages during their critical period, but does the same principle apply to musical instruments? Do we have so many extremely talented young musicians because of their developmental period, or do the parents just push their children to their limits?
Language is a specialised function of the brain with dedicated areas. These have probably derived from evolutionary processes because language serves a selective function. In other words, we are predisposed to learn languages, especially during the first years of life. Playing music is different, as we probably have not evolved to do that, albeit it builds on some basic evolved functions like rhythm, auditory discrimination and so on. It is much more of an acquired skill like learning to write or play chess. Most things in life are easier to learn when you're young as the brain is more plastic. I don't think there's anything special about playing music.
60
AskScience
uo5r1m
Parents often teach their children second languages during their critical period, but does the same principle apply to musical instruments? Do we have so many extremely talented young musicians because of their developmental period, or do the parents just push their children to their limits?
Music is practice. The more you practice, the more proficient you are. Thus, anyone can jam a violin…with enough practice. Some people will have a knack, but those people still need to practice. The person who practices daily for a year, will be better than the person with a knack.
40
AskScience
uo5snn
Just bought an S21 Ultra and right out of the box the phone wouldn't turn on/battery seemed dead. After plugging it in, the screen showed the circle as if it was charging, but showed no percentage amount. After about 20 minutes it finally showed 1%, but has been charging really slowly. Is this normal? Roughly 30 minutes after plugging it in to charge and it's at 2%. I know they don't ship with a charger block but at least assumed it would still be charged a little. :(
20 minutes for 1%. I'd be getting that replaced. That's not right.
90
AndroidQuestions
uo5snn
Just bought an S21 Ultra and right out of the box the phone wouldn't turn on/battery seemed dead. After plugging it in, the screen showed the circle as if it was charging, but showed no percentage amount. After about 20 minutes it finally showed 1%, but has been charging really slowly. Is this normal? Roughly 30 minutes after plugging it in to charge and it's at 2%. I know they don't ship with a charger block but at least assumed it would still be charged a little. :(
Well there's usually some amount of charge in the battery, but how much of that original charge remains, sort of depends on how long that particular unit has been sitting in inventory. The longer its been sitting there, the more of the original charge will have slowly dissipated.
70
AndroidQuestions
uo5snn
Just bought an S21 Ultra and right out of the box the phone wouldn't turn on/battery seemed dead. After plugging it in, the screen showed the circle as if it was charging, but showed no percentage amount. After about 20 minutes it finally showed 1%, but has been charging really slowly. Is this normal? Roughly 30 minutes after plugging it in to charge and it's at 2%. I know they don't ship with a charger block but at least assumed it would still be charged a little. :(
Try a different cable and/or block.
30
AndroidQuestions
uo5y00
I’m tired and I need answers about this. So I’ve googled it and I haven’t gotten a trusted, satisfactory answer. Is bar soap just a breeding ground for bacteria? My tattoo artist recommended I use a bar soap for my tattoo aftercare and I’ve been using it with no problem but every second person tells me how it’s terrible because it’s a breeding ground for bacteria. I usually suds up the soap and rinse it before use. I also don’t use the bar soap directly on my tattoo. Edit: Hey, guys l, if I’m not replying to your comment I probably can’t see it. My reddit is being weird and not showing all the comments after I get a notification for them.
In general, bar soap is inhospitable to most bacteria & viruses . Poorly made, extra ingredients (lotion/scents etc) and water-sogginess from age can all change the alkaline nature of the soap. But, for the most part, bar soaps are pretty dang good. Personally, I prefer bar soap over liquid, but both are alkaline enough to kill organisms and clean well. (Been a chemist in soap & cleaning industry)
82,600
AskScience
uo5y00
I’m tired and I need answers about this. So I’ve googled it and I haven’t gotten a trusted, satisfactory answer. Is bar soap just a breeding ground for bacteria? My tattoo artist recommended I use a bar soap for my tattoo aftercare and I’ve been using it with no problem but every second person tells me how it’s terrible because it’s a breeding ground for bacteria. I usually suds up the soap and rinse it before use. I also don’t use the bar soap directly on my tattoo. Edit: Hey, guys l, if I’m not replying to your comment I probably can’t see it. My reddit is being weird and not showing all the comments after I get a notification for them.
There is a lot of hype around this. My understanding is that bar soap acts as a surfactant, removing the oils and dirt that hold bacteria in suspension. Properly washing and rinsing should remove the majority of the bacteria, whether it comes from the soap or the surface. Rinsing bar soap and storing it in a clean location seems like a good idea. Here's a page with a lot of articles on the subject that seem a little more credible than the hype-y articles written by liquid soap companies: https://pubmed.ncbi.nlm.nih.gov/3402545/
7,970
AskScience