thread_id
stringlengths
6
6
question
stringlengths
1
16.3k
comment
stringlengths
1
6.76k
upvote_ratio
float64
30
396k
sub
stringclasses
19 values
uolyzi
Can someone please explain to me why heritage in your ancestry is held in high regard and openly talked about with pride? Im from Germany and almost nobody cares (besides narrow minded idiots) about that.
You know how people of Turkish ancestry, even if they’ve been in Germany for three generations are still called “Turks?” It’s the opposite of that.
550
AskAnAmerican
uolyzi
Can someone please explain to me why heritage in your ancestry is held in high regard and openly talked about with pride? Im from Germany and almost nobody cares (besides narrow minded idiots) about that.
Don't Germans make more of heritage than us? It's pretty widely accepted that a Turkish-American is an American. Ditto for Irish-Americans, Mexican-Americans, etc. I have heard of people born and raised in Germany not being considered German because their grandparents were Turkish immigrants. Also even though we talk about heritage politicizing it would be really weird. It's mostly small talk, a hobby for genealogy and history buffs, and maybe a factor in planning a family vacation.
470
AskAnAmerican
uom0cq
For a little while there i was able to see the bottom half of the screen and only that half was responding to touch but now its completely black and not responding. I still get calls and texts and all that so it seems like the inside is good. What is my best option of recovering my data? I have a passcode so im not sure i can just plug it into my computer. Is it possible to access and retrieve my files from my secured folder if I am able to somehow get it connected to my computer? If all else fails does anyone know how much it would cost to fix the screen. I dont know much about phones but i know it would include fixing the glass, lcd, and whatever makes it respond to touch. I really appreciate any help. I have some very sentimental things on my phone that id be willing to do alot to get back.
This multi-times a day question again. No USB debugging enabled, not going to happen. No cloud sync, not going to happen. No Samsung with Samsung Dex, not going to happen. No recovery from the secure folder that way either even if you had the first 2 working. Get it fixed, and no we don't know how much it's going to cost since you don't even mention a device model. It also depends on if just the glass needs replacing, or the digitizer too etc... Google can tell you an estimate
30
AndroidQuestions
uom3oa
Hi I would appreciate to ask IT people here about my scenario. Do you think it will be possible for me to get a career in the IT industry without an IT degree? I am currently studying Mechanical Engineering and it is my 4th year. I have some‏‏‎‏‏‎‏‏‎‏‏‎­knowledge in programming *(basic to intermediate)* and started programming since 4th year High School. I have experienced programming for clients in Upwork and Freelancer but only for a year. I mostly self-study programming languages. And also partly interested in Cybersecurity (responsible disclosures). I have also read that certifications are a plus, I think I can study those for some time.. so any thoughts? ​ Thank you.
I have a high school diploma and some certs, I’m almost 3 years old in the IT field now. If I can do it, you can too.
50
ITCareerQuestions
uom4cd
If the world had a source code, what language(s) would it be written in ?
[Lisp (actually most of it in Perl)](https://xkcd.com/224/)
120
AskProgramming
uom4cd
If the world had a source code, what language(s) would it be written in ?
Brainfuck.
70
AskProgramming
uom4cd
If the world had a source code, what language(s) would it be written in ?
Machine Language
60
AskProgramming
uom4xb
I'm a Filipino, silver medalist of the 2019 International Earth Science Olympiad, and currently a freshman in college. AMA! (including about the state of my country right now)
So how does it feel that the son of a former dictator is your next ruler?
60
AMA
uom4xb
I'm a Filipino, silver medalist of the 2019 International Earth Science Olympiad, and currently a freshman in college. AMA! (including about the state of my country right now)
What are you studying? What is your favourite dessert?
30
AMA
uom4xb
I'm a Filipino, silver medalist of the 2019 International Earth Science Olympiad, and currently a freshman in college. AMA! (including about the state of my country right now)
Why do most Filipinos speak English well?
30
AMA
uom98r
What are the most painful things to do for you while setting up CI/CD on your project?
Learning a new yaml/whatever syntax for the new hyped platform.
50
AskProgramming
uom98r
What are the most painful things to do for you while setting up CI/CD on your project?
Credentials distribution.
30
AskProgramming
uomeo2
Hi Everyone! I recently implemented sha256 cryptographic hash function using C++. If you have some time please review my code. As I am new to C++ **any tips are appreciated**. Thx in advance. My [GitHub Repo](https://github.com/woXrooX/CPP_sha256)
* Don't explicitly define the destructor unless you need to. If you need to define a destructor, remember the [rule of five/three/zero](https://en.cppreference.com/w/cpp/language/rule_of_three). Note: if want to force the compiler to generate a special member function, define it as `= default` rather than as an empty function. * Pass strings using `std::string_view`, unless you need a null-terminated string. * If a function should not or will not throw, declare it as `noexcept`. * If a member function should not or will not modify any class members, declare it as `const`. * [Prefer the `{}`-initializer syntax](http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-list). Avoid initializing fundamental types using `=`. Avoid the `()`-initializer syntax, unless you're initializing a container type with anything other than a list of elements. * Avoid raw arrays. For stack-allocated/fixed-size arrays, use `std::array`. For dynamic arrays, use `std::vector`, or one of the many other container types STL provides. * Avoid redundant uses of `this`. It adds nothing to the code, and might make the reader stop and think why the writer deemed it necessary. * Group related pieces of data into `struct`s. * Avoid C-style casts. If you must use a cast, use one of the named casts: `static_cast`, `dynamic_cast`, `const_cast`, or `reinterpret_cast`. * Avoid non-`static` `const` member variables. Prefer `static constexpr` or `static const`.
60
cpp_questions
uomeo2
Hi Everyone! I recently implemented sha256 cryptographic hash function using C++. If you have some time please review my code. As I am new to C++ **any tips are appreciated**. Thx in advance. My [GitHub Repo](https://github.com/woXrooX/CPP_sha256)
There is the question of whether this even should be a class. A hash is really just a function. Given that an object really just stores a plain text and a hash, there is little point it it even being an object. Further, you are storing your binary representations as "plain text" in strings. That is fairly inefficient, especially since it leads to a myriad of allocations. You can do bitwise operations on chars/bytes directly. I will mostly ignore these two general considerations below an focus on the written C++ code. So lets start at the top: > #ifndef SHA256_H While that include guard is fine, I would give it a more unique name, or simply use `#pragma once`. > Sha256(const std::string &data) : data(data) Ignoring the question of design, a constructor that is going to take a copy anyways, should take by value and then move into the member: Sha256( std::string data_ ) : data( std::move( data_ ) ) That way a user can actually move into your constructor and a void a copy. > ~Sha256(){} is an antipattern. Whenever your destructor does nothing, it most likely should not exist. At most it should be defined as ~Sha256() = default; > std::string digest(){ This member function ought to return a `const std::string&` or a `std::string_view` and be `const` qualified. The name is also not great, because it implies the function would actually *do* something, where as it really just returns the already calculated hash. > data_in_binary Could at least be `reserve`d, since oyu can calculate its size. > i++ It is generally considered best practice to always use `++i` unless you want to do something with the post increment return value. > this-> There is no need to preface every class member with a `this->`. In a well design class its just visual noise. > std::string data_512_bit_chunks[data_512_bit_chunks_size]; This uses Variable-Length-Arrays. They are not a standard c++ feature and should not be used. Use `std::vector` > std::string data_32_bit_words[data_512_bit_chunks_size][64]; same. > uint32_t h0 = this->h0; > .... > uint32_t a = this->h0; > .... These scream for an array > std::string result(ss.str()); > this->result = result; Why this copy? You could just assign to `result` directly. > const uint32_t h0 = 0x6a09e667; > ... All these are compile time constants, but you have them as members in every object. They ought to be `constexpr static` instead of `const`.
30
cpp_questions
uompje
Forgive me for the noob question. Currently, I work as a data analyst, mostly using SQL and SSRS. The biggest challenge I face on a day-to-day basis is not my SQL knowledge being challenged but my deciphering skills. The hurdle to overcome is always the data. Big databases or datawarehouses with cryptic field names. Report requests from managers using the wrong terminology. Having to translate any request from what's being asked into how it actually is in the data. I am wondering if the experience of a software engineer is different. Primarily, that any requests from "customers" are already translated into what they actually mean by the project manager. And also hoping that whatever codebase etc will be put together with more logic than a shitty database. But maybe this is just wishful thinking. Anyone who has had experience of a more data focused position and a more programming focused position, do you find that you knowledge of programming is the biggest obstacle to overcome? Or are those other messy human factors like shitty data, poorly organised code, etc, still major factors? Thanks
lol if you find a company with nice clean data you send me their contact info right now so I can spend the rest of my life there
4,830
LearnProgramming
uompje
Forgive me for the noob question. Currently, I work as a data analyst, mostly using SQL and SSRS. The biggest challenge I face on a day-to-day basis is not my SQL knowledge being challenged but my deciphering skills. The hurdle to overcome is always the data. Big databases or datawarehouses with cryptic field names. Report requests from managers using the wrong terminology. Having to translate any request from what's being asked into how it actually is in the data. I am wondering if the experience of a software engineer is different. Primarily, that any requests from "customers" are already translated into what they actually mean by the project manager. And also hoping that whatever codebase etc will be put together with more logic than a shitty database. But maybe this is just wishful thinking. Anyone who has had experience of a more data focused position and a more programming focused position, do you find that you knowledge of programming is the biggest obstacle to overcome? Or are those other messy human factors like shitty data, poorly organised code, etc, still major factors? Thanks
Nope. Clean, well structured data off the bat is not unheard of, but generally you have to make it so. Cryptic field names are especially common in legacy products. I encountered this gem in a MySQL database the other week: `charReqODSDescriptionVal VARCHAR(100) NOT NULL DEFAULT '0'` char - What is this? Are we using Hungarian notation in our database here? It doesn't even match the field type... Get rid. Req - Again, being used to note that the field is NOT NULL is my best guess. Not necessary. ODS - Nobody in the business could tell me what that stood for, if anything. Val - Yes, everything here is a value. That's kind of what databases do. Store values. Off with it. DEFAULT '0' - Why does a string value default to the string representation of an integer? Description - Ah, now we're getting somewhere. This will be a short description sentence for this entity, surely... Ran a query to see some values stored against this column. The values were all like this: `Title,An object to model Title data,123` CSV??? So this database is storing multiple data points (name, description, ???) in one column. That's not even 1NF. Brilliant. And we have no labels for those without digging through code, so I don't know what `123` means. Sure enough, the code was splitting and joining strings to read/write these fields... :/
1,240
LearnProgramming
uompje
Forgive me for the noob question. Currently, I work as a data analyst, mostly using SQL and SSRS. The biggest challenge I face on a day-to-day basis is not my SQL knowledge being challenged but my deciphering skills. The hurdle to overcome is always the data. Big databases or datawarehouses with cryptic field names. Report requests from managers using the wrong terminology. Having to translate any request from what's being asked into how it actually is in the data. I am wondering if the experience of a software engineer is different. Primarily, that any requests from "customers" are already translated into what they actually mean by the project manager. And also hoping that whatever codebase etc will be put together with more logic than a shitty database. But maybe this is just wishful thinking. Anyone who has had experience of a more data focused position and a more programming focused position, do you find that you knowledge of programming is the biggest obstacle to overcome? Or are those other messy human factors like shitty data, poorly organised code, etc, still major factors? Thanks
If you've ever watched the reality show Hoarders then you have a good point of reference what coming into an existing codebase is like
590
LearnProgramming
uomwf3
I'm 23 and currently work in a call centre as a technical support agent. I am considering doing a CompTIA course bundle which consists of CompTIA A+, CompTIA Network+, CompTIA Security+, CompTIA Cloud +, CompTIA Cloud Essentials, CompTIA CASP+ (Advanced Security Practitioner), CompTIA CySA+ (Cybersecurity Analyst), CompTIA Pentest+, CompTIA Linux+ to try and find a better paying job. I was wondering if anyone could recommend any other certificates that would aid in getting me started in a career in IT.
Do CCNA that a cert that brings value, will take you 2-3 months but is worth it.
30
ITCareerQuestions
uomxso
What’s something you never want to hear after sex?
Her saying "you can stop" in the most disappointed way possible
74,410
AskReddit
uomxso
What’s something you never want to hear after sex?
“You’re not as bad as everyone says”
70,590
AskReddit
uomxso
What’s something you never want to hear after sex?
"Ok thanks everyone for tuning in! Don't forget to like and subscribe!!"
46,800
AskReddit
uon94b
Title says it all. I just quit the android 13 beta and after doing the system update, it completely reset itself. Does anyone know why this happened or did i overread the line they said it in?
Yeah that's normal when you opt out of the Beta.
40
AndroidQuestions
uonjqq
I found a link on another Reddit sub that I felt it was interesting enough to share with y’all… I figured some redditors here might enjoy diving into some [possible/plausible] IT related technical interview questions & answers. [https://www.fullstack.cafe/](https://www.fullstack.cafe/)
Just search github: Site:github.com "blahjobtitle interview questions"
70
ITCareerQuestions
uonqww
Did an app purchase yesterday. I had some money on my Google acount due to my rewards activity. To my surprise, the app purchase was deducted from my Google balance (from Rewards), yet I would not liked to use that (balance for the purchase) but my credit card instead. What did I miss during the purchase process???
I'm not sure what you're asking here? You missed the part where you choose what payment methods to use, apparently lol.
60
AndroidQuestions
uonydm
Been hearing this phrase in regards to IDE’s. Anyone care to elaborate. Ex.) “I started to us VScode for Python. It’s lighter than PyCharm” I’ve been using PyCharm for python but typically use VScode for html/css for web design. The example quote above was not something I said just to clarify just read a few comments on a separate subreddit and was curious.
Lots of people complain that Visual Studio is heavy as it takes a few seconds to load. The say the like to use VS Code as it is faster to load. I am in the practical camp that starts VS once a day and therefore doesn't care. Sometimes people also use heavy to mean that a software has lots of features they don't use and therefore feel better when the interface of an IDE is minimal to their need.
30
AskComputerScience
uoo5rf
While taking input in vector v.push_back() is faster as compared to cin>>v[I] why?
These two statements are not equal. One appends a default constructed value to a vector, the other inserts a user input value into an array. The first is superficially faster because the second blocks until the user has input a number. Likewise any I/O operation will likely be slower than push_back().
70
cpp_questions
uoo5rf
While taking input in vector v.push_back() is faster as compared to cin>>v[I] why?
1. They dont do the same thing 2. How did you meassure this? 1. Did you use an optimized build? 2. Did you meassure the IO in both cases?
40
cpp_questions
uoovb5
Why don't majority of Americans use Whatsapp?
Because MMS and SMS come built into our phones and are free and offer any and all of the necessary features WhatsApp does. I am baffled by how often this question gets asked, and wonder what kind of advertising they do that this is such a hot topic.
1,080
AskAnAmerican
uoovb5
Why don't majority of Americans use Whatsapp?
Because, unlimited SMS texting has been standard here for even the cheapest cell phone plans for 20 years now, so everyone just got used to using it rather than having to install another app.
430
AskAnAmerican
uoovb5
Why don't majority of Americans use Whatsapp?
Free texting mate. Part of the phone, part of the plan.
350
AskAnAmerican
uop8kl
Offering insight to anyone about this controversial profession or just anything else you would like to know
What's their success rate ?
30
AMA
uop8kl
Offering insight to anyone about this controversial profession or just anything else you would like to know
Someone must have hung up on him, he’s not answering.
30
AMA
uopdoa
I just want to start by saying this is a metropolitan area network between two cities in my country, and they are planning on hiring two new guys without experience one of those guys being me of course to handle everything regarding the network my only qualifications for this are my CCNA, and my Linux and Microsoft Certified System Administration self-studies and courses and I know people with experience in the field who recommended that I just take the job, and they are willing to help me with any questions, but I would still put myself in the extremely under-qualified department for something like this, yet I don't want to waste this opportunity to learn and gain experience, so is there any recommendations on how to prepare for something like this ?
Uh, time to open up Packet Tracer and fiddle around, lol.
60
ITCareerQuestions
uopdoa
I just want to start by saying this is a metropolitan area network between two cities in my country, and they are planning on hiring two new guys without experience one of those guys being me of course to handle everything regarding the network my only qualifications for this are my CCNA, and my Linux and Microsoft Certified System Administration self-studies and courses and I know people with experience in the field who recommended that I just take the job, and they are willing to help me with any questions, but I would still put myself in the extremely under-qualified department for something like this, yet I don't want to waste this opportunity to learn and gain experience, so is there any recommendations on how to prepare for something like this ?
How on earth did you pass the interview? Why on earth you agreed to do it if you don't know how? There's a high probability you're gonna fuck up or you're gonna be stressed out beyond limits for weeks or months. I hope it goes well for you. ​ Will your friends, who advised you to take it, offer to help you at 10 PM on Friday to rescue you if something is messed up?
30
ITCareerQuestions
uopdso
This one might feel like a very noob query but why is it like when I declare a string say 'str' and assign characters to it like `str[0]='a';str[1]='b';` and so on, I can't use cout on this 'str' to get my output as `ab....` instead I need to write like `cout<<str[0]<<str[1];` to retrieve them character by character, I can't even assign this string to somewhere or pass it as an argument. Thanks!
As u/nysra points out, the \[\] operator needs to refer to a position that already exists in the string. If you start with an empty string this is undefined behavior. What you want to do is: str.push\_back('a'); str.push\_back('b'); This grows the string by adding the character to the end. Or you can do str.append("ab"); which can also be written: str += "ab"; if you ever want to add more than one character at a time.
60
cpp_questions
uopdso
This one might feel like a very noob query but why is it like when I declare a string say 'str' and assign characters to it like `str[0]='a';str[1]='b';` and so on, I can't use cout on this 'str' to get my output as `ab....` instead I need to write like `cout<<str[0]<<str[1];` to retrieve them character by character, I can't even assign this string to somewhere or pass it as an argument. Thanks!
Your string needs a length greater than what you're trying to index, otherwise your program contains UB and is invalid. https://godbolt.org/z/YvGEbPdhs
60
cpp_questions
uopdso
This one might feel like a very noob query but why is it like when I declare a string say 'str' and assign characters to it like `str[0]='a';str[1]='b';` and so on, I can't use cout on this 'str' to get my output as `ab....` instead I need to write like `cout<<str[0]<<str[1];` to retrieve them character by character, I can't even assign this string to somewhere or pass it as an argument. Thanks!
I would like to add that u should also definitely read through https://en.cppreference.com/w/cpp/string/basic_string; a detailed explanation of string and other standard libraries, with examples, are available on cppreference. If you have not read c++ references in my case a few times, for common containers like string or vector I would recommend. After that I'd playing around with them, than knowing when to use different containers for their best use case. As others have said assigning a container data directly, without proper checking is bad practice, so I assume you are learning. https://www.learncpp.com/ is also fantastic wish I knew of it when I was learning. I'm going to over recommend here but in my opinion if you are not on Linux I would highly recommend it for C/C++; it's more personal preference but the latest Debian with Gnome 40-42.1 is next level for productivity. Anyway I hope you enjoy this, if not oh well it will be solidified here for a while for anyone else. What a freaky world, happy Friday :)
30
cpp_questions
uophc9
I want to learn how to make software to organise files on my PC. I have a whole bunch of files on my PC and there is no way sort them by different attributes. I am just getting started on learning how to code and this problem looks like a good way to get started. So what technologies should I know about to get started with something like this?
Shell scripts are the easiest way to manipulate files and folders, so long as your organization system isn't super complicated. Shell scripts aren't great for algorithms. https://www.nushell.sh/
30
AskProgramming
uopmlt
Don’t be married too tightly to a tech stack or career path, you may miss out on something even cooler! I am a DevOps Engineer for a technology company that builds IOT devices. I never thought I would find my self in this position, and did not purposefully steer my career in this direction. Follows is a sort story about my career so far (5 YOE), and what I learned about diversifying my skill set. I feel like In this industry, it is easy to get silo’s into a specific tech stack, language, framework, etc… If you are like me, you probably enjoy having all the answers. The problem with “sticking with what you know”, is that there may be something even more interesting out there that you could be even more passionate about. Woe be to the highly specialized Engineer that never got their toes wet in a different field and found there true passion. When I first started out, I mainly sold my self as a Python developer with experience using Django. I really love Python, and Django too. I thought that I had explored enough different things to make the decision to specialize in only these technologies and everything that immediately surrounds them. While propping up several Django apps, I had learned quite a bit about DevOps. It did not strictly interest me though. Then came an offer that I couldn’t refuse. With a few years of experience, I was about to double my Salary. But this was not a Python or Django position (although I still use Python with DevOps and IOT). I decided to leave my comfort zone and dive into the deep end of IOT DevOps. After sometime, I realized, holy cow! I am more happy then ever! I am learning way more, I am more productive, and generally, happier about my Career choice. Tl;Dr - Don’t be afraid to not specialize on the first tech stack / tech job that you learn. Just because you are comfortable with a technology, does not mean there isn’t something better out there for you. Has this happened to anyone?
Totally agree!! I don't know why, but there are a large amount of people who think that web development is all that exists. There are so many different subfields out there, so many different technologies, so many different companies. I think that's one of the biggest reasons I don't regret getting my CS degree. It exposed me to so many different areas, whether theoretical or practical. Also my internships played a big part in that as well, I tried to do every internship in a different areas of CS, and it exposed me to a lot of things that I never knew existed.
120
CSCareerQuestions
uopmlt
Don’t be married too tightly to a tech stack or career path, you may miss out on something even cooler! I am a DevOps Engineer for a technology company that builds IOT devices. I never thought I would find my self in this position, and did not purposefully steer my career in this direction. Follows is a sort story about my career so far (5 YOE), and what I learned about diversifying my skill set. I feel like In this industry, it is easy to get silo’s into a specific tech stack, language, framework, etc… If you are like me, you probably enjoy having all the answers. The problem with “sticking with what you know”, is that there may be something even more interesting out there that you could be even more passionate about. Woe be to the highly specialized Engineer that never got their toes wet in a different field and found there true passion. When I first started out, I mainly sold my self as a Python developer with experience using Django. I really love Python, and Django too. I thought that I had explored enough different things to make the decision to specialize in only these technologies and everything that immediately surrounds them. While propping up several Django apps, I had learned quite a bit about DevOps. It did not strictly interest me though. Then came an offer that I couldn’t refuse. With a few years of experience, I was about to double my Salary. But this was not a Python or Django position (although I still use Python with DevOps and IOT). I decided to leave my comfort zone and dive into the deep end of IOT DevOps. After sometime, I realized, holy cow! I am more happy then ever! I am learning way more, I am more productive, and generally, happier about my Career choice. Tl;Dr - Don’t be afraid to not specialize on the first tech stack / tech job that you learn. Just because you are comfortable with a technology, does not mean there isn’t something better out there for you. Has this happened to anyone?
This almost happened to me. My internship was working in a report generating language call RPG3. Then my first real job was mostly report generating and SQL. And then I couldn't find anything but another job with similar tech. But with that job they where trying to do stuff with their report generator that it couldn't do, so I (arrogantly) offered to write them a report generator. Back into real programming :)
30
CSCareerQuestions
uopoy5
I have seen there are several different career path one can take in IT field. Picture here : [https://i.imgur.com/NIVCU4P.png](https://i.imgur.com/NIVCU4P.png) Paths : Service and Infrastructure, Network Technology, IT Business and Strategy, IT Management, Information Securety, DevOps and Cloud Technology, Storage and Data, Software Development. ​ Im currently studying computer science and I dont know in which career I want to specialize or which subject might interest me. One reason is that I had no time to do any projects whatsoever. ​ My question is, what project can one make so that you can see whether that person might like the subject/career or not? So projects for career path like "Cloud technology" or "IT Management". I think that project should then be beginner-friendly and at the same time cover many areas so that you can see early whether you will like it or not.
Those early career points in this roadmap will be about learning core technologies, with time, experience and business/interpersonal skills pushing you forward. If you want to learn about networking, you can download Cisco Packet Tracer and download/study free labs from someone like Jeremy’s IT Lab on YT. If you want to learn Cloud (and Linux by extension) take advantage of free AWS and Azure hours. Spin up some cloud VMs (Linux and Windows Server) and storage buckets and build your own labs. Remember, YMMV because there will always be a difference between how simple or elegant a technology product is designed, and how it’s implemented into an organization’s systems.
300
ITCareerQuestions
uopoy5
I have seen there are several different career path one can take in IT field. Picture here : [https://i.imgur.com/NIVCU4P.png](https://i.imgur.com/NIVCU4P.png) Paths : Service and Infrastructure, Network Technology, IT Business and Strategy, IT Management, Information Securety, DevOps and Cloud Technology, Storage and Data, Software Development. ​ Im currently studying computer science and I dont know in which career I want to specialize or which subject might interest me. One reason is that I had no time to do any projects whatsoever. ​ My question is, what project can one make so that you can see whether that person might like the subject/career or not? So projects for career path like "Cloud technology" or "IT Management". I think that project should then be beginner-friendly and at the same time cover many areas so that you can see early whether you will like it or not.
Oh boy, that’s a hard one. If you want as close to a magic bullet as I can think of, try building a webapp, hosting it publicly on AWS, deployed with Azure DevOps. You’ll have to learn a moderate amount of cloud administration/infrastructure, DevOps, Application Security, development, data management, etc. No project is going to check every box, but I think that project might touch enough so that you might be able to dig into something deeper depending on what you like.
150
ITCareerQuestions
uopoy5
I have seen there are several different career path one can take in IT field. Picture here : [https://i.imgur.com/NIVCU4P.png](https://i.imgur.com/NIVCU4P.png) Paths : Service and Infrastructure, Network Technology, IT Business and Strategy, IT Management, Information Securety, DevOps and Cloud Technology, Storage and Data, Software Development. ​ Im currently studying computer science and I dont know in which career I want to specialize or which subject might interest me. One reason is that I had no time to do any projects whatsoever. ​ My question is, what project can one make so that you can see whether that person might like the subject/career or not? So projects for career path like "Cloud technology" or "IT Management". I think that project should then be beginner-friendly and at the same time cover many areas so that you can see early whether you will like it or not.
No project you can do on your own will really give you a good understanding of what any of these paths are like "on the job". You can only trust other people's accounts of what it's like. For example, software engineering professionally is only really about 50% heads down coding. The other 50% is code review, gathering requirements, system design meetings, this kind of stuff. Read people's accounts of how their day-to-day is in these different positions. Most importantly you must know that you don't have to make this decision now. There is plenty of time in the future to specialize. Focus on learning the fundamentals of computing right now, which is what you're doing with your comp sci degree. Once you have an entry level role you can talk to people in the different specialties and focus in on one thing.
110
ITCareerQuestions
uoptyx
If glass blocks infrared, why do greenhouses get so hot?
In simple terms: Visible light passes through and heats up the interior. Things inside get hot and radiate that heat away as infrared light. The greenhouse blocks the infrared light from passing back through, keeping that heat inside. All light heats things up, not just infrared light. So visible light from the sun is the driver of the heat increase inside the greenhouse.
150
AskScience
uoptyx
If glass blocks infrared, why do greenhouses get so hot?
The Sun's spectrum peaks in the visible, so sunlight gets through and hits things inside the greenhouse. That's about 1kW per square meter, so those things heat up, and warm the air too, but that's all trapped. I'm pretty sure most of the warming from a greenhouse comes from that simple fact; let the sunlight in, reduce the airflow. You mentioned the infrared, though, which is also relevant to the thermal picture. The stuff inside the greenhouse also radiates in the far infrared, more and more according to Planck's blackbody radiation law as it all continues to heat up. That law tells us that near room temperature the blackbody radiation peaks at about 10 microns wavelength... which the glass absorbs. The thing is, the glass also re-emits according to its own temperature, and the outside is getting cooled by the ambient air, so at best you'll get a little extra warming if there's a temperature gradient across the glass from the inside surface to the outside surface. Glass is not a great insulator, though, so that temperature gradient is unlikely to be huge. This is why double-pane windows are popular and why a double-wall greenhouse, or even one made from two layers of plastic with an air barrier between them, should let the things inside get much warmer.
80
AskScience
uoptyx
If glass blocks infrared, why do greenhouses get so hot?
Glass blocks SOME infrared wavelengths but not all. Glass blocks mid to far infrared, but not near infrared. That is, normal soda-lime glass doesn't block much until the wavelength is over about 2700 nm. Visible light is 380 to 700 nm. So, infrared energy between 700 and 2700 nm passes through glass almost as well as visible light. And, almost all the Suns infrared energy output is above 2700 nm. So the suns infrared energy contributes a lot to the heating of a green house (visible and infrared light probably contribute about the same amount to the heating). Coming from objects at maybe 30C (85F), the infrared energy trying to escape the greenhouse is at a much longer wavelength, around 10,000 nm. This wavelength doesn't pass through glass, and this is why thermal cameras can't see through glass (at normal earth surface temperatures).
40
AskScience
uoq003
Speed Cameras With America being renown for their rights I am curious. Do you have speed cameras similar to most other nations or does your constitutional forbid it as in order to get a fine it has to be an actual cop ie you must face your accuser sort of thing?
Some states banned speed camera, but some states have them. I know nyc has speed camera, but are illegal in jersey
140
AskAnAmerican
uoq003
Speed Cameras With America being renown for their rights I am curious. Do you have speed cameras similar to most other nations or does your constitutional forbid it as in order to get a fine it has to be an actual cop ie you must face your accuser sort of thing?
Some states have outlawed them, same with cameras at stoplights to catch incomplete stops. The ticket has to be issued to a driver, not a vehicle.
30
AskAnAmerican
uoq3je
Since 1215, the Catholic Church has banned consanguinity to the fourth degree. Several hundred years later, the Catholic Habsburgs would go against this rule multiple times, to the extent of marrrying nieces. What enabled the Habsburgs to get away with this for so long? How did the church react?
It's an easy answer and perhaps quite obvious on reflection: the Church knew about each marriage in advance and gave permission. For a fee. While certain marriages were considered to be against natural law and would never be permitted, such as marriage between a grandparent and grandchild, or parent and child, money and power could get you permission from Rome for many things. The marriages banned by natural law extended to spiritual family too, a godparent would not be permitted to marry a godchild. This could actually be used to facilitate a ~~divorce~~ *an anullment*, something that was otherwise hard to obtain. If a parent became the godparent of their own child then they could claim an illegal cosanguinity in their marriage and be granted a nullification. Henry VIII used the laws of cosanguinity to declare Mary Tudor illegitimate by 'discovering' that he and Catherine of Aragon were in fact related due to her previous marriage to his brother, Arthur. In fact, in order to form this leviratic marriage Henry had already requested and received (read purchased) permission from the Vatican. But Mary Tudor was her father's daughter in many ways. Later, at her own expense, she purchased another leviratic dispensation for her father's marriage and so legitimised herself once again. This illustrates quite well that a system was in place to permit marriages, and also shows that the system could be manipulated to various ends by those with the power to do so. Getting back to the Habsburgs... they also purchased leviratic dispensations in order to protect the family lineage and, of course, to avoid diluting power. In their case this was so prolonged and oft-repeated that it caused the end of the Spanish Habsburg line at the end of the 17th century. *The Church, Sanguinity and Trollope, Durey J, 2008* *Royal dynasties as human inbreeding laboratories: the Habsburgs, Alvarez G, Ceballos F C, 2013*
500
AskHistorians
uoq3je
Since 1215, the Catholic Church has banned consanguinity to the fourth degree. Several hundred years later, the Catholic Habsburgs would go against this rule multiple times, to the extent of marrrying nieces. What enabled the Habsburgs to get away with this for so long? How did the church react?
[removed]
70
AskHistorians
uoq4gl
What was the craziest political scandal to happen in your state?
“Hiking on the Appalachian Trail.” ~EDIT- for those who don’t remember or are otherwise unaware. Mark Sanford, while Governor of South Carolina as a family values conservative Republican, disappeared for a week. He apparently didn’t inform anyone in the state government he was going to be away. His office told enquirers he was hiking on the Appalachian Trail. Turns out he was in Argentina. With his soul mate. Who was not his wife and mother of his children.
1,550
AskAnAmerican
uoq4gl
What was the craziest political scandal to happen in your state?
I think one thing we Pennsylvanians can agree on is that our state government is crooked as shit. I’m sure there’s plenty of scandals I’m missing, but probably one of the more famous scandals was the State Treasurer R. Budd Dwyer. He was accused of bribery, conspiracy, mail fraud, and a few other counts. Prison was inevitable for him. A few days before he was to be sentenced, he called a press conference. At the conference, he pulled a revolver and shot himself on live TV. There’s a song by the band Filter called “Hey Man Nice Shot” and supposedly that was the inspiration for the song.
850
AskAnAmerican
uoq4gl
What was the craziest political scandal to happen in your state?
I wanted to say McGreevey but then I realized a former Vice President literally shot and killed the Secretary of Treasury in Weehawken.
700
AskAnAmerican
uoq4sw
It's not the first time that i see a comment like this, even though nobody ever said this to me i actually want to know why would calling another person poor would be a offensive thing? (I know that not all Americans are like this) But in my culture nobody calls another person poor in a offensive way because it doesn't make sense, just imagine walking around and some colleague says that your shoe is bad and you are a broke mf, wtf? https://imgur.com/a/PjYI4nH
> in my culture nobody calls another person poor in a offensive way I don't believe you.
5,980
AskAnAmerican
uoq4sw
It's not the first time that i see a comment like this, even though nobody ever said this to me i actually want to know why would calling another person poor would be a offensive thing? (I know that not all Americans are like this) But in my culture nobody calls another person poor in a offensive way because it doesn't make sense, just imagine walking around and some colleague says that your shoe is bad and you are a broke mf, wtf? https://imgur.com/a/PjYI4nH
There’s zero discrimination or bullying against the poor where you live? Where is this social utopia?
3,100
AskAnAmerican
uoq4sw
It's not the first time that i see a comment like this, even though nobody ever said this to me i actually want to know why would calling another person poor would be a offensive thing? (I know that not all Americans are like this) But in my culture nobody calls another person poor in a offensive way because it doesn't make sense, just imagine walking around and some colleague says that your shoe is bad and you are a broke mf, wtf? https://imgur.com/a/PjYI4nH
It's not your colleague doing that, not unless your workplace is insane levels of toxic. It's a drunk guy picking a fight, it's a teenager looking to make themselves look better by putting down their peers (it doesn't work, but teens are still figuring this stuff out), it's asshole looking to offend for their own personal reasons. And if it's on reddit, it's who knows who hiding behind the anonymity of the platform. Broke and poor can absolutely be insults. So can rich. Middle class, low class, high class can be too. Honestly, if you get the tone right, anything can be an insult.
2,050
AskAnAmerican
uoq7ra
Both int(1.9999999999999999999) and math.floor(1.9999999999999999999) return 2. I'm trying to figure out how to just chop off the decimal part no matter what is on the right side. Thanks for any help.
Be a savage, cast to string and keep only what’s to the left of the decimal point
3,350
LearnPython
uoq7ra
Both int(1.9999999999999999999) and math.floor(1.9999999999999999999) return 2. I'm trying to figure out how to just chop off the decimal part no matter what is on the right side. Thanks for any help.
I recommend reading this [https://realpython.com/python-rounding/](https://realpython.com/python-rounding/) >>> from decimal import Decimal >>> import math >>> a = Decimal("1.9999999999999999999") >>> math.trunc(a) 1
2,190
LearnPython
uoq7ra
Both int(1.9999999999999999999) and math.floor(1.9999999999999999999) return 2. I'm trying to figure out how to just chop off the decimal part no matter what is on the right side. Thanks for any help.
Your value of 1.9999999999999999999 is probably being represented as 2.0 due to [floating-point inaccuracies](https://floating-point-gui.de/). Not much you can do about it. Even /u/n3buchadnezzar's solution won't handle that value, since the issue occurs in its representation before any conversion functions. >>> from decimal import Decimal >>> import math >>> a = Decimal(1.9999999999999999999) >>> a Decimal('2') >>> math.trunc(a) 2 I am assuming that this is more of a theoretical question, rather than an "I have this specific value in my data and need to handle it" question. Edit: I just noticed that /u/n3buchadnezzar used a string version of your value, which circumvents the initial representation. Nice.
880
LearnPython
uoqdjn
I've been able to taste songs since i can remember, and I've never really figured out why. AMA
How much acid did your mum drop whilst she was pregnant?
260
AMA
uoqdjn
I've been able to taste songs since i can remember, and I've never really figured out why. AMA
What songs taste sweet? What songs taste sour? What songs taste salty? What songs taste bitter? What songs have a savory flavor?
80
AMA
uoqdjn
I've been able to taste songs since i can remember, and I've never really figured out why. AMA
How does "Hej, sokoły", that Polish folk song, taste like? And in general, how do war songs taste like?
60
AMA
uoqfqc
.
That's a question that just doesn't have a generic answer. Life in Chicago vs Cincinnati vs Indianapolis vs rural Illinois or Iowa is a wide disparity. Life downstate from Chicago revolves around farms and college towns like Champaign and Urbana. Corporate headquarters in Chicago are Boeing (moving soon), McDonald's, Allstate, United Airlines, Hyatt Hotels, John Deere, Accenture, Caterpillar, Conagra Brands and many more. Or you might look at Cedar Rapids Iowa population 133,000 where around 10,000 of those work at Collins Aerospace as white collar engineers. [Things that surprised a New Yorkers first trip to the Midwest](https://www.insider.com/things-that-surprised-new-yorker-about-midwest-2021-6)
550
AskAnAmerican
uoqfqc
.
We have a massive lack of lawyers, which is a pretty specific problem. Most are retiring, and younger law school graduates move to the cities or other states. Someone willing to stick around here and practice in almost any area can basically pick any area of law they want to practice, pick their hours, and make good money.
450
AskAnAmerican
uoqfqc
.
Despite what this sub says sometimes, the Midwest is a huge place with a lot of different things going on. Job opportunities in Chicago will be very different than in a small town, etc. A lot of Midwestern states have bigger cities with good jobs and stuff to do. You might want to narrow down what state you're interested in and whether you want to know about urban life, the suburbs, rural areas, etc.
170
AskAnAmerican
uoqg51
We need to reform the job hunting /job matching process. I don't know how but surely there are better ways than the current way we do things.
It's an infuriating process yes, I recently was asked to do a coding challenge before an initial interview, I was a bit intrigued so I told them to send it over, expected it to be a short competence test but it was expecting me to fully create an app with functions. What kind of arrogant company expects that before even giving me (or others) a look in, I didn't even know if I wanted the job, they were just some small company in London, nothing impressive really. I told them to fuck off in nicer words.
4,070
CSCareerQuestions
uoqg51
We need to reform the job hunting /job matching process. I don't know how but surely there are better ways than the current way we do things.
If a company needs what you provide badly then the hiring process changes. Same with military recruitment, or anything really.
3,230
CSCareerQuestions
uoqg51
We need to reform the job hunting /job matching process. I don't know how but surely there are better ways than the current way we do things.
The companies benefit from making job hunting miserable. People job hop less, get less competing offers, so salaries stagnate. if people think that's not part of the reason why, they should read on how big tech companies got sued for agreeing to not compete and hire from each other to lower salaries
1,540
CSCareerQuestions
uoqggo
Do you tend to mention countries that no longer exist?
I still say Czechoslovakia.
1,860
AskOldPeople
uoqggo
Do you tend to mention countries that no longer exist?
No, but I can beat younger folks when we play old editions of trivial pursuit with lots of history questions answered with “the Soviet Union.” I still say “Burma” although the military coup that took it over changed the name to Myanmar in 1989. And of course Istanbul was Constantinople but that's nobody's business but the Turks.
1,220
AskOldPeople
uoqggo
Do you tend to mention countries that no longer exist?
I think some of the old names sound so exotic that I almost wish they weren't changed. Siam, Persia, Ceylon, even Byzantium (to continue the Instanbul thing) kind of strike a romantic chord in me, which the new names don't. But except for joking, no I don't use the old names.
620
AskOldPeople
uoqrvp
Edit: Thank you for all the replies. I decided to drop the psychologist. I don't know if I'll search for a new one.
If your psychologist is telling stories about themselves, you need a new one. In four years of working with the same therapist, I don't even know how many kids she has or where she's from originally.
38,300
NoStupidQuestions
uoqrvp
Edit: Thank you for all the replies. I decided to drop the psychologist. I don't know if I'll search for a new one.
Dont worry about seeming rude. Setting a boundary for yourself is something he should praise you for honestly, its an important skill. If that's a problem, on top of him using your time to talk about himself, there's a much better therapist out there for you somewhere else
7,520
NoStupidQuestions
uoqrvp
Edit: Thank you for all the replies. I decided to drop the psychologist. I don't know if I'll search for a new one.
Doctor here. Find a different psychologist. This person isn’t performing their duty in addressing your psychiatric needs. The patient should absolutely NEVER feel like they’re at risk of being rude by telling their mental health expert to shut up and help them. You’re getting screwed, find somebody else. Edit: I do not agree with this person abandoning their therapy altogether. Therapy isn’t a one-size-fits all kind of thing, sometimes you have to try different therapists, different strategies, treatment modalities, etc. We can all benefit from some professional outside perspective in life. Giving up on it is the worst thing you could do.
6,960
NoStupidQuestions
uor29p
I am seeking a remote job and am looking for someone who actually works for these companies (that are hiring) and can give me honest feedback about work expectations, demand, stress level etc. I have 11 years experience in IT and am looking to move to remote for anything paying 65k+ can anyone out there assist?
You’re not giving us much context in your post. What types of positions are you look for? What is your current job title? What skills do you have to offer? $65k+ is a bit low for 11 years of experience. You should really be trying for $150k+. I have about the same amount of experience and I’m in the $150k+ range. When I interview with companies I’m pretty upfront about making sure the job meets my expectations in terms of stress, on call rotations, what teams I’ll be working with, and anything else I might want to know. I’m sure every company will tell you they’re low stress and etc. but you’ll need to gauge it yourself. The other big piece to this is being able to set boundaries. A lot of people in IT say they are overwhelmed with work and sometimes it’s not because of the work itself but because of the fact that they don’t know how to say no when they already have too much on their plate. I’ve interviewed at a few places recently, Kickstarter and Door Dash, I spoke with hiring managers from both and they seem like decent places to work. Kickstarter only has 4 day work weeks and has flex hours, Door Dash has flex hours and seems pretty relaxed. Both jobs pay in the mid $100k, I was interviewing for infrastructure/Cloud engineering positions.
130
ITCareerQuestions
uor2e6
In 1990, 71% of Ukrainians voted to preserve the USSR. A year later, 92% of Ukrainians voted for independence. Why the turn of events?
Gonna do a repost of a [repost](https://www.reddit.com/r/AskHistorians/comments/tlz1gj/why_did_the_ukrainian_sovereignty_referendum_of/i1xhccx/). From a previous [answer](https://www.reddit.com/r/AskHistorians/comments/m227lr/i_always_believed_the_soviet_union_fell_apart_due/gql70qm/) I wrote: The referendum in question was held on March 17, 1991, and was worded as follows: >Считаете ли Вы необходимым сохранение Союза Советских Социалистических Республик как обновлённой федерации равноправных суверенных республик, в которой будут в полной мере гарантироваться права и свободы человека любой национальности? Which can be translated to English as: >"Do you consider necessary the preservation of the Union of Soviet Socialist Republics as a renewed federation of equal sovereign republics in which the rights and freedom of an individual of any ethnicity will be fully guaranteed?" A couple things of note: the referendum was not held in six of the fifteen republics (Lithuania, Latvia, Estonia, Moldova, Georgia and Armenia). All of these except Armenia had basically elected non-communist governments in republican elections the previous year, and Lithuania had even declared independence in March 1990. Latvia and Estonia held referenda endorsing independence two weeks before the Soviet referendum, and Georgia held a similar referendum two weeks after. So even holding the vote was a fractured, not Union-wide affair. It's also important to note the language of the referendum was for a *renewed federation of equal sovereign republics*. This may sound like a platitude, but effectively what it means is "do you support President Gorbachev renegotiating a new union treaty to replace the 1922 USSR Treaty?" The background here is that after the end of the Communist Party's Constitutional monopoly on power and subsequent republican elections in 1990, the Soviet Socialist Republics, even those controlled by the Communist Party cadres, began a so-called "war of laws" with the Soviet federal government, with almost all republics declaring "sovereignty". This was essentially a move not so much at complete independence but as part of a political bid to renegotiate powers between the center and the republics. Gorbachev in turn agreed to this renegotiation, and began the so-called "Novo-Ogaryovo Process", whereby Soviet representatives and those of nine republics (ie, not the ones who boycotted the referendum) met from January to April 1991 to hash out a treaty for a new, more decentralized federation to replace the USSR (the proposed "Union of Soviet Sovereign Republics" is best understood as something that was kinda-sorta maybe like what the EU has become, in terms of it being a collection of sovereign states that had a common presidency, foreign policy and military). Even the passage of the referendum in the participating nine republics wasn't exactly an unqualified success: Russia and Ukraine saw more than a quarter of voters reject the proposal, and Ukraine explicitly added wording to the referendum within its borders that terms for the renegotiated treaty would be based on the Ukrainian Declaration of State Sovereignty, which stated that Ukrainian law could nullify Soviet law. That second question, presented to Ukrainian voters, was worded: >"Do you agree that Ukraine should be part of a Union of Soviet Sovereign States on the basis on the Declaration of State Sovereignty of Ukraine?" And interestingly it got *more* yes votes than the first Union-wide question - the OP figures are actually for the second question, while the first question got 22,110,889 votes, or 71.48%. In any event, the treaty was signed by the negotiating representatives on April 23, and went out to the participating republics for ratification (Ukraine's legislature refused to ratify), and a formal adoption ceremony for the new treaty was scheduled to take place on August 20. That never happened, because members of Gorbachev's own government launched a coup the previous day in order to prevent the implementation of the new treaty. The coup fizzled out after two days, but when Gorbachev returned to Moscow from house arrest in Crimea, he had severely diminished power, and Russian President Boris Yeltsin (who publicly resisted the coup plot) had vastly increased power, banning the Communist Party on Russian territory, confiscating its assets, and pushing Gorbachev to appoint Yeltsin picks for Soviet governmental positions.
1,150
AskHistorians
uor59v
Which comedy film never fails to make you laugh?
What we do in the shadows. Gets me every single time
19,490
AskReddit
uor59v
Which comedy film never fails to make you laugh?
Blazing Saddles
16,490
AskReddit
uor59v
Which comedy film never fails to make you laugh?
Office Space, it never fails to make me laugh, especially the traffic jam scene when the guy is walking faster in his walker.
13,360
AskReddit
uoraop
I have to imagine lots of people drink alcohol before finding out that they are pregnant. Shouldn't this cause more issues with the baby's development? Isn't this the critical time for development when it could have the most effect on the baby?
[removed]
15,120
AskScience
uoraop
I have to imagine lots of people drink alcohol before finding out that they are pregnant. Shouldn't this cause more issues with the baby's development? Isn't this the critical time for development when it could have the most effect on the baby?
The answer is that at low and moderate levels of use in early stages of pregnancy, the studies are not as conclusive as one would like. Fetal Alcohol Syndrome is absolutely a thing and the more one drinks in pregnancies, especially at higher usages, the more likely it is to occur. Less conclusively known is what happens at very low, low and moderate ranges, mostly because scientists can't do studies on this the way that they would for other behaviors (because it would be unethical to encourage women to drink during pregnancy, knowing it can lead to fetal alcohol syndrome and other complications). There are people who take a variety of positions--Emily Oster, somewhat controversially, goes into this in her book, Expecting Better, and concludes that it is safe to occasionally have a drink while pregnant based on the studies that have been conducted. Other studies (ex: [here](https://ajp.psychiatryonline.org/doi/10.1176/appi.ajp.2020.20010086)) take the position that any alcohol at all should be avoided, and they do this by looking at broad ranges of women and asking questions about their usage prior to and during pregnancy (although the questions are often asked after the fact, so the self-reporting may not be entirely accurate).
7,500
AskScience
uoraop
I have to imagine lots of people drink alcohol before finding out that they are pregnant. Shouldn't this cause more issues with the baby's development? Isn't this the critical time for development when it could have the most effect on the baby?
There's lots of conflicting info here and a lot of it comes down to there not being many studies on pregnant women because of ethics. Pretty much every drug, prescription or over the counter, says not to take it when pregnant not because there's any proof it's harmful but there isn't any proof it's not. Most of the medical info we do have is from retrospective questionnaires and the results of those are very hard to confirm. Sorry if that doesn't help.
1,860
AskScience
uorgoq
Hello everyone, I have been working for a year as Desktop Support and my manager has recently asked me that he would want me to move to a Field tech position in few months. I have a bachelor in CS and the field tech requirement is HS diploma or GED. Does this make sense at all?
Their requirements don't make sense but the move should be what you want to do. Field tech is onsite, out of the office. You also get to interact with clients face to face. Put hands on networking equipment, etc. Everything above can also be a 'con' if you don't like any of those things. I've seen a lot of field techs move into technical account management from that role. Desktop support mostly moves into service desk, project techs, etc. Maybe you can ask to shadow with a field tech at your company for a day or two before making a decision? Just some thoughts.
60
ITCareerQuestions
uorgoq
Hello everyone, I have been working for a year as Desktop Support and my manager has recently asked me that he would want me to move to a Field tech position in few months. I have a bachelor in CS and the field tech requirement is HS diploma or GED. Does this make sense at all?
I loved being a field tech. It's a good way to show you can work independently and make decisions on the fly. I was able to parlay that experience into an acquisitions project lead (the person that shows up at a recently purchased office to onboard the new network and other tech) and eventually into an internal it PM position. All that being said, if I could support myself and my family doing break fix field work I'd go back in a heartbeat. Easily the best position I've ever had.
40
ITCareerQuestions
uorgoq
Hello everyone, I have been working for a year as Desktop Support and my manager has recently asked me that he would want me to move to a Field tech position in few months. I have a bachelor in CS and the field tech requirement is HS diploma or GED. Does this make sense at all?
I wouldn't do field work unless I got a company vehicle. It sounds like fun to drive around and meet different customers all day. Pretty quickly you realize that even if they pay for your gas, you sink a ton of extra money into car repairs.
40
ITCareerQuestions
uoril1
I'm a Computer Information Systems Major graduating this fall, a semester early. A professor recommended me for an internship with a company working with IBM i software. I will be learning a language called RPG, that apparently isn't too well known. I wasn't going to take an internship at all, but they are paying well for an internship, and want me full time after I graduate, taking over for a retiring employee. But I'm twenty years old and I don't know if this is what I want to be doing for my entire life. Obviously. So I'm wondering if I'm hindering myself learning all about IBM I and RPG, and if this is actual experience that will aid me should I move on from this job? Should I be concerned about this? Thank you for any advice.
You know you don’t have to do the same thing for your entire life right?
490
CSCareerQuestions
uoril1
I'm a Computer Information Systems Major graduating this fall, a semester early. A professor recommended me for an internship with a company working with IBM i software. I will be learning a language called RPG, that apparently isn't too well known. I wasn't going to take an internship at all, but they are paying well for an internship, and want me full time after I graduate, taking over for a retiring employee. But I'm twenty years old and I don't know if this is what I want to be doing for my entire life. Obviously. So I'm wondering if I'm hindering myself learning all about IBM I and RPG, and if this is actual experience that will aid me should I move on from this job? Should I be concerned about this? Thank you for any advice.
An internship is worth taking. Internship > no Internship. Don't worry about being pigeon holed because it's a proprietary language. My internship used Python and now I'm a .NET dev. Trust me, if you don't have a better offer for a different internship you like better, it is worth doing. What a good professor for doing that.
160
CSCareerQuestions
uoril1
I'm a Computer Information Systems Major graduating this fall, a semester early. A professor recommended me for an internship with a company working with IBM i software. I will be learning a language called RPG, that apparently isn't too well known. I wasn't going to take an internship at all, but they are paying well for an internship, and want me full time after I graduate, taking over for a retiring employee. But I'm twenty years old and I don't know if this is what I want to be doing for my entire life. Obviously. So I'm wondering if I'm hindering myself learning all about IBM I and RPG, and if this is actual experience that will aid me should I move on from this job? Should I be concerned about this? Thank you for any advice.
You could also take the internship, figure out if you enjoy the work, and if you don't, there's no obligation to go full time. The internship will be worthwhile, giving you talking points for future interviews!
80
CSCareerQuestions
uornea
Hi, why does this script shows ```All our secrets!!! 😨 😩 😱``` 2 times ??? What makes me lost why passing False value gave us the same message ??? ``` class User: """system user""" def __init__(self, trusted=False): self.trusted = trusted def can_login(self): """only let's trusted friends read secrets""" return self.trusted def login(user): """Gives access to users with privilages.""" if user.can_login: print("All our secrets!!! 😨 😩 😱") else: print("No secrets for you!") hacker = User(trusted=False) friend = User(trusted=True) login(hacker) login(friend) ```
You haven't called the method "can\_login()". You have checked the truthiness of the class's method, "can\_login". In Python, I think variables that are set evaluate to true, unless they're specifically False. In this case, the class User has a method can\_login, which evaluates to true when checked in an if statement, because the class is instantiated, so its property "can\_login" evaluates to True. ​ Try: `if user.can_login():`
30
AskProgramming
uorpe7
How is my web developer roadmap? Html5, Css, Bootstrap & Tailwind, Javascript, Vue.js or React, Python, Django web framework, PostgreSQL, Git & Github. I am currently learning html5 and css5. and then i will try to learn javascript. I use udemy courses to learn and practice every day. I'm going to face-to-face training for python on the weekends. This is my roadmap, what are your suggestions? My goal is to find a job in a good company..Thank you for your advices.
Your road map is good. But you may be trying to do too much at once…… My suggestion would be to focus on either frontend or back for now, find a job and then learn the other side……. I am a self-taught, front end software engineer. I learned with Codecademy.com and cannot attest to udemy for learning to code, but I have used it for other things and it was a great resource…. Check out the roadmap I attached, they have roadmap other than frontend. [frontend roadmap](https://roadmap.sh/frontend)
30
ITCareerQuestions
uorqf2
I work at a midsized company and the tech stack is kinda cool, we're breaking stuff down into microservices and using language like Typescript and Python to do that, but the main products are in PHP. When I was first hired as a graduate I had very little experience with it, but I was told I was bein hired to work on mostly python and typescript/node.js stuff because that's what I knew best at the time. Now I don't hate PHP, I like the ease of use of it and I've gotten used to it quirks, but I don't want box myself into only being a PHP dev and after about a year and a half now I would say my percentage time spent on PHP and other languages is about 60/40 respectively. I have received an offer from a larger company, where I'll be doing Go and Scala in addition to python and typescript so I think it's kind of a no brainer to move on. I really like my current software engineering team (the QA team are snobs though ngl), we're all really supportive and cool. It's also my first engineering job after graduating so it's got that kinda first ever job vibe to it you know. But in terms of my career I don't think PHP is going to do much good for my resume (I'm in my early twenties btw) How would I tell my lead this? Without sounding like a dick and that I was only pretending to like what they are doing and that I was lying when I had my review about how I found the code base. Tldr: I don't want to work on PHP and handing in my notice, how do I not make it sound like I'm a dick. Also, how do I hand in a notice? Do I just email it? Edit: thank you for all the replies, you have all given me alot of great advice and I have a better idea of how to proceed.
"Hey bosmang, I've really enjoyed this role but I want to expand my skills and transition into a different tech stack. I think its for the best I part ways. My last day is X date."
1,070
CSCareerQuestions
uorqf2
I work at a midsized company and the tech stack is kinda cool, we're breaking stuff down into microservices and using language like Typescript and Python to do that, but the main products are in PHP. When I was first hired as a graduate I had very little experience with it, but I was told I was bein hired to work on mostly python and typescript/node.js stuff because that's what I knew best at the time. Now I don't hate PHP, I like the ease of use of it and I've gotten used to it quirks, but I don't want box myself into only being a PHP dev and after about a year and a half now I would say my percentage time spent on PHP and other languages is about 60/40 respectively. I have received an offer from a larger company, where I'll be doing Go and Scala in addition to python and typescript so I think it's kind of a no brainer to move on. I really like my current software engineering team (the QA team are snobs though ngl), we're all really supportive and cool. It's also my first engineering job after graduating so it's got that kinda first ever job vibe to it you know. But in terms of my career I don't think PHP is going to do much good for my resume (I'm in my early twenties btw) How would I tell my lead this? Without sounding like a dick and that I was only pretending to like what they are doing and that I was lying when I had my review about how I found the code base. Tldr: I don't want to work on PHP and handing in my notice, how do I not make it sound like I'm a dick. Also, how do I hand in a notice? Do I just email it? Edit: thank you for all the replies, you have all given me alot of great advice and I have a better idea of how to proceed.
The polite way? "I have an opportunity to grow and expand my skills" The less polite way "I don't like our tech stack" Though, honestly, I just hand in my notice and say "I have a new opportunity". Email is a pretty common way to turn in notices these days. Haven't printed a physical notice...well, ever actually. And I've been doing this since fax machines were still a thing.
500
CSCareerQuestions
uorqf2
I work at a midsized company and the tech stack is kinda cool, we're breaking stuff down into microservices and using language like Typescript and Python to do that, but the main products are in PHP. When I was first hired as a graduate I had very little experience with it, but I was told I was bein hired to work on mostly python and typescript/node.js stuff because that's what I knew best at the time. Now I don't hate PHP, I like the ease of use of it and I've gotten used to it quirks, but I don't want box myself into only being a PHP dev and after about a year and a half now I would say my percentage time spent on PHP and other languages is about 60/40 respectively. I have received an offer from a larger company, where I'll be doing Go and Scala in addition to python and typescript so I think it's kind of a no brainer to move on. I really like my current software engineering team (the QA team are snobs though ngl), we're all really supportive and cool. It's also my first engineering job after graduating so it's got that kinda first ever job vibe to it you know. But in terms of my career I don't think PHP is going to do much good for my resume (I'm in my early twenties btw) How would I tell my lead this? Without sounding like a dick and that I was only pretending to like what they are doing and that I was lying when I had my review about how I found the code base. Tldr: I don't want to work on PHP and handing in my notice, how do I not make it sound like I'm a dick. Also, how do I hand in a notice? Do I just email it? Edit: thank you for all the replies, you have all given me alot of great advice and I have a better idea of how to proceed.
First, you don't really owe them anything. Just say that you have a new opportunity that is good for your career. You don't have to justify yourself.
120
CSCareerQuestions
uorw2o
Given the choice between two courses 1 - in a language you aren't familiar with (also that you don't particularly like) but with a bunch of common industry frameworks. Or 2 - a language you are familiar with (and also like) but with fewer industry frameworks. Which would you choose? My gut tells me, go for the language you like and learn the frameworks on your own later. But thats just a gut feeling, I'm curious to know what people from the industry say.
This would depend on the job. I'm interviewing soon for a job that centers around one framework (and knowledge of the language is expected). I've also seen many postings that seem more focused on the language because they develop tools internally, so they can't expect new hires to be familiar with them already. Hell, I've applied to jobs that expected 0 knowledge of the language or frameworks they use. They just expected that you'd learn them all on the job (it was a Rust position).
120
LearnProgramming
uorw2o
Given the choice between two courses 1 - in a language you aren't familiar with (also that you don't particularly like) but with a bunch of common industry frameworks. Or 2 - a language you are familiar with (and also like) but with fewer industry frameworks. Which would you choose? My gut tells me, go for the language you like and learn the frameworks on your own later. But thats just a gut feeling, I'm curious to know what people from the industry say.
If your interviewer is selecting for your knowledge of OOP (or literally any other dogma) then ask yourself if you want to be a programmer or a cultist before continuing with the interview. (Only slightly sarcastic)
40
LearnProgramming
uorw2o
Given the choice between two courses 1 - in a language you aren't familiar with (also that you don't particularly like) but with a bunch of common industry frameworks. Or 2 - a language you are familiar with (and also like) but with fewer industry frameworks. Which would you choose? My gut tells me, go for the language you like and learn the frameworks on your own later. But thats just a gut feeling, I'm curious to know what people from the industry say.
I would probably lean towards the languages you know and can use fully. This allows for a broad range of ability and use of said ability
30
LearnProgramming
uory2p
If dentists make their money from bad teeth, why do we use the toothpaste they recommend?
Believe it or not, many doctors and dentists are actually ethical or even altruistic, and don’t base their recommendations on personal profit.
10,250
NoStupidQuestions
uory2p
If dentists make their money from bad teeth, why do we use the toothpaste they recommend?
by that logic, why do anything any doctor says if they profit off of us being sick and coming back?
1,980
NoStupidQuestions
uory2p
If dentists make their money from bad teeth, why do we use the toothpaste they recommend?
Healthy teeth make more money for a dentist over the long run. Bad teeth get pulled. People who care about their teeth are willing to spend way more money protecting and maintaining them.
1,080
NoStupidQuestions
uos2rn
I come from Java, where a List<Cat> is a List<? extends Animal>. I tried reading articles about c++ variance but I got nowhere. If I have a function void foo(std::vector<Animal>) I can't pass a std::vector<Cat> ; I guess my designs are wrong from the start and I usually wriggle out of it but I'd like to know the 'right' way. I understand why it does not work. So, how can I use foo with a vector<Cat> ? What should I do instead ? struct Animal{ char* whatever; }; struct Cat:public Animal{}; void foo(std::vector<Animal>){} int main(int, char **) { std::vector<Cat> v; foo(v); //<- Nope }
You dont. If you want to use runtime polymorphism (as you appear to do), then you need to store pointers. A container can only store one type, and if you have a `vector<Animal>` that is a distinct and unrelated type to `vector<Cat>`. No conversion exists, because converting those would require a copy and slice of every element. Hence instead of `Animal` you need to store/take `Animal*` (or a reference, or a smart pointer,...) In managed languages like Java this all simply works under the hood, because "everything is a reference". --- Further, note that your `foo` function does copy a vector. You most likely dont want to do that. Also **never** use `char*` unless some C API forces you. --- #include <vector> #include <memory> #include <string> #include <span> struct Animal { std::string name; virtual ~Animal() = default; }; struct Cat : public Animal { }; void f( const std::span<const std::unique_ptr<Animal>> vec ); //If you dont have access to c++20 span, use `const vector&` instead int main() { std::vector<std::unique_ptr<Animal>> v; v.emplace_back( std::make_unique<Cat>() ); // note that now you cant have pretty initializer lists anymore, because std::initializer_list ist stupid. f( v ); }
110
cpp_questions