Do yourself a favor and learn something about databases learn programming |
- Do yourself a favor and learn something about databases
- What is the best site to continuing to learn programming? I am talking about a level that I just finished 1 codeacademy free trial in Python and one in Java..
- What database would perform best being the only process in an ec2 micro instance?
- Started learning Python 6 hours ago, I made a thing! Now its time for you all to hurt my feelings. Roast my code.
- OpenSSL AES Encryption - C
- [C++] This last programming exam destroyed me (and my class)
- Question for veterans: What would you like your new workmate to know?
- Big list of University courses and materials
- Uhhh how do I open python?
- What is Amazons Mechanical Turk?
- Book recommendation for Ruby
- Becoming a career changer. Wondering if the internet has any advice..
- [Architecture] Dealing with hex and 2's complement
- Non-static data member error for an array of structs
- [MIPS] Swap Words
- I've been programming for 4 years and almost feel like I've wasted that time, because I haven't spent any of it on web dev.
- Best ways to get better at making websites look clean and polished?
- I need help to find a topic for my final year project
- Top 50 Dynamic Programming Practice Problems
- Need help understanding and making a tokenizer function (long)
- huge margins won't go away
- Which technologies are better suited for Mobile Development with Wi-Fi Access Points / Cellular Network access or modification features?
- [C] Passing middle of an array to be filled?
- Who remembers/is currently experiencing learning to program for the first time?
- Main function
Do yourself a favor and learn something about databases Posted: 29 Sep 2018 06:45 AM PDT As a professional programmer, I noticed something looking through these posts; not a lot of attention is given to databases. No matter what job, language, or industry you are work in, you will have to work with databases. Understanding databases and how they are structured goes beyond writing SQL. Here is a playlist of lectures given by Dr. Gary Boetticher at University of Houston at Clear Lake. It begins with the fundamentals but also goes into more complicated concepts. This is what got me through my university database courses. Good luck! P.S. - I just noticed the he didn't put the lectures in order, so you will have to order them using the title. [link] [comments] |
Posted: 29 Sep 2018 12:50 AM PDT I dont want to sound like a choosing beggar, but I really don't want to spend money on this kind of side hobby I am not that good at... So any suggestion will help! Edit: 1. HackerRank | 2. MOOC | 3. 10$ Udemy | 4. ProgrammingByDoing | 5. The Odin Project For those who are interested [link] [comments] |
What database would perform best being the only process in an ec2 micro instance? Posted: 29 Sep 2018 09:41 PM PDT I have years of experience programming and working with databases of all kinds, but I've never managed a database. I've always leaned on professional DBAs or used hosted databases like dynamo or AWS RDS. I'm looking to spin up a small personal website using a couple of ec2 micro instances and s3. I'm willing to dedicate one of them to a database. It doesn't matter if it's Sql or document store. I've been doing a lot of googling, but I but coming up empty handed. Firebird could be a decent option, but I but I'd prefer to use a more production ready, popular db even though it wouldn't be super fast on a micro instance. I could run benchmarks to find the answer, but that would be time consuming and I'm hoping someone here has some experience and knows the answer already. Which db would perform the best on a micro instance? [link] [comments] |
Posted: 29 Sep 2018 10:38 PM PDT I have zero experience with coding and I decided to start learning Python earlier today. All together this probobly took me 3 hours to put together, so tell me whats wrong with it, and how I could improve it. [link] [comments] |
Posted: 29 Sep 2018 08:06 PM PDT I'm working on a lab assignment for class, with the code here. The lab is supposed to show us how easy it is to break key generation using time as a seed. Main takes the two times the key should be between in Unix time, and sets the given ciphertext, plaintext, and IV (I had a function, but it was acting up.) getmatch runs the keygen function specified (seed with a time, generate a random number per byte in the key), then runs it through the encryption function on the OpenSSL wiki. The only change to the encryption function is EVP_aes_256_cbc > EVP_aes_128_cbc. The 128 bit output is compared with the known ciphertext byte by byte in case there's a null character in either. I haven't been able to get a match going well outside the time range I was told I would find the key in. Am I doing anything crazy? [link] [comments] |
[C++] This last programming exam destroyed me (and my class) Posted: 29 Sep 2018 05:18 PM PDT My C++ Programming 1 class compared to my Java 1 class last semester has spiked considerably in difficulty. I feel like I'm being overloaded with information and merely copying code in class. For reference, I did really well in Java last semester mainly because my professor was an excellent teacher. We had to work for our grades but at no point did I feel completely overwhelmed. This semester, we're told to do the reading (tons of information), take a quiz on the reading (every class) and then get a brief lecture on the material. We also have a programming exam at the start of each week. This most recent one, the **entire** class bombed. We were given 26 practice problems. I spent my entire weekend trying to figure them out, using Google, reaching out to classmates, etc. Of the 26, I figured out maybe 3. My class was not properly prepared for this exam and we have expressed our concerns. Since my teacher does not go over past exams and sample problems, I am now reaching out to reddit. Here's a sample problem: **"Given an input string, set result to a string where every appearance of the lowercase word "is" has been replaced with "is not". The word "is" should not be immediately preceded or followed by a letter -- so for example the "is" in "this" does not count."** * for input of "is test" -> "is not test" * for input of "is-is" -> "is not-is not" * for input of "This is right" -> "This is not right" I understand I'm supposed to use for loops to iterate through the string but I can't wrap my head around process that comes after. Any guidance towards understanding problems like these would help me so much. Thank you in advance. TL;DR Overwhelmed, under-prepared and seeking knowledge (especially how to tackle problems like the one above). Edit: Would also like to mention that these exams have a 45 minute time limit and they are two parts. This problem is considered the "difficult" part of the exam. [link] [comments] |
Question for veterans: What would you like your new workmate to know? Posted: 29 Sep 2018 08:01 PM PDT Asking this for a study group, our teachers have the basics covered, (Java, SQL...) but programming in a team is more that knowing the languages. I am thinking about good programming habits (Would you recommend Code Complete by Steve McConnell? any other book, website...?), or version-control systems (Any good book, tutorial..?) You sure have horror stories to tell about things "the new guy" did, what would have avoided that and what book would you have used to hit his head if you weren't so polite? [link] [comments] |
Big list of University courses and materials Posted: 29 Sep 2018 10:17 AM PDT https://github.com/prakhar1989/awesome-courses Have any of you taken a course that you recommend? I did cs61b and it's great. [link] [comments] |
Posted: 29 Sep 2018 01:40 PM PDT So my school has code hs and I wanted to try and practice python on my own computer because I want to practice making my own programs. I downloaded python but I have no idea where to write the code down. I tried using notepad but I didn't really understand how to run what I wrote in there. At my school you could just click the python icon and open up this platform thing to type code into but the icon isn't working the same on my computer. Is there some other program I have to use? I tried looking it up and got nowhere. (Kinda a silly question but I had no idea who else to turn to) [link] [comments] |
What is Amazons Mechanical Turk? Posted: 29 Sep 2018 11:45 PM PDT Hey flocks, i am having hard time understanding Amazons Mechanical Turk. Could any of you explain this. Also share its learning resources would be appreciated. Thanks a ton!! [link] [comments] |
Posted: 29 Sep 2018 11:19 PM PDT Currently, I'm taking the Ruby Track course from Treehouse. While the course feels good so far, I also prefer to use books when I'm taking a course. I'm not new to programming but new to Ruby. What book would you recommend for learning Ruby? Thanks in advance! [link] [comments] |
Becoming a career changer. Wondering if the internet has any advice.. Posted: 29 Sep 2018 07:33 PM PDT It was about five months ago that I volunteered to build my bands website and quickly fell in love with the idea of being a developer. I set a goal for myself to learn enough by the the first of the year (2019) to start applying to jobs. Up to this point it's been a struggle, if only because of time constraints: I was working a shitty full time factory job that left me exhausted every week day, on the weekends I'm stuck renovating my house, and on top of that I have the band, leaving an absolute maximum of 20 hours a week to spend learning to program. Well, if using past tense didn't hint at it, as of yesterday the full time job is no longer an issue. I am now able to pursue this goal nearly without any restraints. But im trying to decide the best way to go about it; even with limited time I've had I think I may actually have amassed enough JavaScript knowledge to hold my own in an entry level front end position at a startup or something and am thinking about building a portfolio and resume and seeing what happens. Estimating it could take me about two months. OR I could look into boot camps. What says the internet? Ps: www.sliverrocks.com for an unfinished example of what I've accomplished so far. Haven't touched it in two months tho.. plan on rebuilding it, again. [link] [comments] |
[Architecture] Dealing with hex and 2's complement Posted: 29 Sep 2018 11:12 PM PDT 2.12 Assume that registers $s0 and $s1 hold the values 0x70000000 and 0x95000000, respectively. Assume these are twos complement numbers.
What is $s1 in decimal?
-1795162112
What are the 8 most-significant bits?
10010101
What is the decimal value of those 8 MSBs (remember, it's twos complement)?
-108 So am I doing this correctly? The way is converted $s1 to decimal is by:
Treating the Hex value 95000000 as positive Converting it to binary 1001 0101 0000 0000 0000 0000 0000 0000
Doing 2's complement 0110 1010 1111 1111 1111 1111 1111 1111
add 1
0110 1011 0000 0000 0000 0000 0000 0000
Convert back to decimal. 1795162112
Apply negative -17952162112
Right?
The next part "What are the 8 most-significant bits? ". Is this the 8 msb from the original binary or the 2's complement binary? So 0110 1011 or 1001 0101 ?
Finally the last part. This doesn't make sense unless I get a negative value(because why would they bring 2's complement up if not?) so I am going to assume they mean 1001 0101 which would be -108 right?
-1 * 27 + 24 + 22 = -108
Thanks for any help. [link] [comments] |
Non-static data member error for an array of structs Posted: 29 Sep 2018 07:25 PM PDT I'm trying to have a 2d array of structs each with a front and back pointer to a different struct. Makes sense to declare it as a data member, then initialize it in the constructor while setting each front and back pointer to null. the two errors I get are
both apply to numCols and numRows. I looked up this error, but I still dont understand it. Or how to fix it. what should I be considering? [link] [comments] |
Posted: 29 Sep 2018 10:58 PM PDT I have a program that takes your first and last name and swaps it where last is first and first is last for example, Jane Doe, Doe, Jane. However, I don't know how to swap them. This is what I have so far, [link] [comments] |
Posted: 29 Sep 2018 10:42 PM PDT I don't really enjoy web dev that much but i fuckin love money, having been poor as hell my whole life. I've spent the past 4 years learning low level development. I can make windows hacks, emulators, OSDev, whatever. Ask me to build anything for the web? No idea where to even start. However, I want to get into backend or full stack development just because the salaries are so much higher compared to embedded systems. I feel like I've wasted 4 years of learning because of it. Like I could be employed right now if I had just learned a web dev stack, but I can't even get a call back. I'm in MA. What stack should I learn? I don't really mind web development, it's just not my first choice. So I figured I should be getting into it now. I just don't really know where to start. There's so many choices and it moves so fast. Low level stuff is pretty static in comparison, know C, ASM, etc. Web Dev has Python, JS, Ruby, C#, Java, etc, and those all have their own frameworks. I don't really know what's in demand or what will be in demand by the time I'm ready. I'm going to be going to school for a degree in cs, just so I'm more desirable as a potential employee. I'm 23, so that'll be another 4 years, but whatever, I'm tired of being poor and working shitty jobs. Sorry, this got long, and rant-y. TL;DR: Where to start with backend development if my goal is to make money? [link] [comments] |
Best ways to get better at making websites look clean and polished? Posted: 29 Sep 2018 10:29 PM PDT I feel like I'm always struggling with color schemes and making my site look good and professional are there any resources to learn? [link] [comments] |
I need help to find a topic for my final year project Posted: 29 Sep 2018 10:25 PM PDT As the title suggests I need help to find a topic to do a project on to complete my final year of computing degree. Sounds simple enough but the thing is it has to a pretty unique topic while also being a big enough project. [link] [comments] |
Top 50 Dynamic Programming Practice Problems Posted: 29 Sep 2018 06:50 AM PDT I would like to share top data structure problems that can be solved using Dynamic programming. Here's the link. [link] [comments] |
Need help understanding and making a tokenizer function (long) Posted: 29 Sep 2018 08:36 PM PDT Hey fellow redditors I need help on a certain part of a program I am stuck on. So for this project, the way i am tackling it, i am taking a .csv file and then moving the contents from it into an array of pointers and then into an array of structs, i know it sounds very inefficient but it was the only way that worked for me, then the problem arrises when I try to create my own tokenizer. So I pass in the array pointer using a while loop for each line of the file and a char pointer to the delimiter which is "," what the while loop is supposed to do is iterate through each array pointer take the line and then break it down using my own tokenizer function and from there place the token i get back into a char pointer within the struct. Then within the token method i use a global static pointer i declared and another char pointer which will pass back the word. it gets trickier because in some lines there are sentences in quotation marks with commas within the quotation marks and other words with trailing or leading whitespaces. When i encounter this type of situation i'm supposed to remove the quotation marks and skip over the comma that was within the quotation marks and have that be part of the token i'm passing back and remove any trailing or leading spaces within each line. when I run my program I keep getting a segmentation fault. I've been trying to understand and figure out what I can do by using other code online and try reconstructing it for my own problem but it doesn't seem to click. If someone has the time to explain or point me to code that would help me with mine that would be greatly appreciated. I'm in systems programming and the school i transferred from where i did comp arch did not prepare well enough at all to tackle this project. Like we did mips for a whole semester and a half then C for half a semester. But again thank you to anyone who can help even if it's a little bit please keep it simple as i am trying to fully understand this! [link] [comments] |
Posted: 29 Sep 2018 08:31 PM PDT Hey guys I've got a huge bottom margin as well as one on the right side. Used my dev tools to look at the white space, it says its the html, except I have that set to zero margin?? plz help! [link] [comments] |
Posted: 29 Sep 2018 08:05 PM PDT I don't have any experience with mobile development at all, but I have some knowledge of Java. And I am also experienced with Javascript (Node JS and React JS). I would like to create a mobile app (most likely Android, since I am using an Android phone). I have seen that there are good existing modules that I could use in Java for WAPs, signals, etc. but I am not sure if it is easily integratable with other PLs since I might need other PL libraries' support. After checking out GitHub, I saw that there are similar repositories but some of them are old. I also considered making PWA but I'm worried that there might be some limitations. Which programming language is better to be used? I would be really thankful for anyone's advice! :) [link] [comments] |
[C] Passing middle of an array to be filled? Posted: 29 Sep 2018 07:51 PM PDT Hi all, will the following format: Will this type of function call actually put 7 into the 5th index of the passed array? Or is that done some other way? [link] [comments] |
Who remembers/is currently experiencing learning to program for the first time? Posted: 29 Sep 2018 01:30 PM PDT Hello. I'm a computer science teacher and I love it. I love teaching how computers work and making cool stuff with my class. My biggest issue is that I have no recollection of what it was first like to program so I find it really hard to relate to my developing students with things like working out what they'll struggle to understand conceptually or how to debug simple errors or even just how to get them to copy the right lines into the right places in their code! I was hoping to hear some general feedback on what it was like when you first learnt to code and when did you feel comfortable with coding. I'm not looking for resources to help me teach them at the moment, thank you but I've already got plenty of those to test at the moment 😅 I look forward to hearing your comments! [link] [comments] |
Posted: 29 Sep 2018 06:58 PM PDT What exactly should a main function do? I'm building an interactive program. Is it poor programming if I have an interface() function that does all the input, output, calling other functions when needed, etc. and in main function I just call interface(). [link] [comments] |
You are subscribed to email updates from learn programming. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment