• Breaking News

    Saturday, November 10, 2018

    Ideas for final year project in Computer Science learn programming

    Ideas for final year project in Computer Science learn programming


    Ideas for final year project in Computer Science

    Posted: 10 Nov 2018 10:44 AM PST

    Hello all, I am a final year student in a Computer Science Bachelor and we were asked to deliver our project proposal for our final year project. I can't really decide on a project, and I am looking for ideas as well as guidelines of how to choose a proper thematic.

    Should it follow the market trends? Is any recruiter going to give value to the final year project in regards of assessing my experience in the field? My preference for a project would be something related with IoT, but in my country there are not many jobs for this field. (Sorry for any mistakes, english is not my native language)

    submitted by /u/Rastifar
    [link] [comments]

    If you want to learn programming or need more inspiration or want to watch something mind blowing, watch Handmade Hero!

    Posted: 10 Nov 2018 10:37 PM PST

    Handmade Hero - https://www.youtube.com/user/handmadeheroarchive

    Why it Matters to You and How it WILL (not can) help you as a developer

    At first glance, you may be saying to yourself "Well, I'm not a gamer and I'm not even into games, so this won't really help me with my MEAN stack/ LAMP/ASP.NET/(insert any tech/language here) development."

    You'd be catastrophically mistaken. Perhaps more mistaken than how some people thought JavaScript was going to die 5 years ago.

    You see, simply watching Muratori tackle this monster will teach you so many things… You will see how he deals with architecture and design, how to look at problems and tackle them like a veteran software engineer, how to break things down into small chunks to work on at a time, and a ton of knowledge that you wouldn't be able to get from anyone else who hasn't been programming for like 40 years. Honestly, there is so much content in this course that it is literally impossible for this article to even scratch the surface.

    https://link.medium.com/zEoswotCKR

    submitted by /u/s4nskrit
    [link] [comments]

    When can you say you know a language?

    Posted: 10 Nov 2018 10:54 PM PST

    I feel uncomfortable listing languages on my CV because I feel that there are still more things to know about that language that I presently do not know.

    submitted by /u/daredevildas
    [link] [comments]

    What are some things you see beginner programmers doing in an inefficient way?

    Posted: 10 Nov 2018 01:23 PM PST

    For example, I was was using too many if statements in my code when i didn't need to be and someone told me to just use a dictionary.

    This:

    def daysoftheweek(day): day.upper() if day == 'MON': return 'Monday' if day == 'TUE': return 'Tuesday' if day == 'WED': return 'Wednesday' if day == 'THURS': return 'Thursday' if day == 'FRI': return 'Friday' if day == 'SAT': return 'Saturday' if day == 'SUN': return 'Sunday' 

    Turned into this:

    def daysoftheweek(day): day.upper() days = {'MON':'Monday','TUE':'Tuesday','WED':'Wednesday','THURS':'Thursday','FRI':'Frid ay','SAT':'Saturday','SUN':'Sunday'} return days[day] 

    Are there any other tips/tricks like this you can share? Is there a book for stuff like this?

    submitted by /u/BecauseTheWorldIsRou
    [link] [comments]

    In what order should I build my web app?

    Posted: 10 Nov 2018 06:57 PM PST

    I'm going from beginner to intermediate in my JS journey. I have an app I want to build. I've been a tech consultant for a while so I understand how to break down problems and map out solutions. But I don't know in what order I should build the app.

    The app itself has a few key features - user accounts with list of items, user can pair with another user, matching algorithm that displays items that exist in both user's lists.

    I know I need to build at least a few things:

    - A database to store user info (and backend related features)

    - A matching algorithm to create the matched list

    - A front end for users to interact with

    - An adequate front end design

    Should I build the front-end first and work backwards? Should I start with mapping out the data and building the database and move forward? Should I figure out the algorithm and build middle-out? Or am I just overthinking this and should just build the damn thing?

    Thanks!

    submitted by /u/randyarcher
    [link] [comments]

    Segmentation Fault In Quicksort program

    Posted: 10 Nov 2018 10:10 PM PST

    This is my code.

    After running gdb(debugger) , it shows the seg fault is on line 7 i.e. -

    #include<stdio.h> #include<stdlib.h> #include<time.h> void swap(int *x, int *y) { int temp = *x; /* save the value at address x */ *x = *y; /* put y into x */ *y = temp; /* put temp into y */ } void print(int arr[]) { int i; for(i=0;i<10;i++) { printf("%d ",arr[i]); } printf("\n"); } int partition(int arr[],int p,int r) { int pivot = arr[r]; // last item is the pivot int i,j; i=p-1 ; for(j=0;j<=r-1;j++) { if(arr[j] <= pivot) { i++; swap(&arr[i],&arr[j]); } } swap(&arr[i+1],&arr[r]); return(i+1); } void quicksort(int arr[],int p,int r) // arr[p...r] { print(arr); if(p<r) { int q = partition(arr,p,r); quicksort(arr,p,q-1); quicksort(arr,q+1,r); } } int main(int argc, char const *argv[]) { srand(time(0)); int arr[10],i,j,q; for(i=0;i<10;i++) { arr[i] = rand()%(100); } quicksort(arr,0,9); print(arr); return 0; } 

    I checked out stackoverflow and this seems okay. I don't know where I'm going wrong.

    EDIT : Formatting.

    EDIT2 : Thanks to u/mdz_1 .

    submitted by /u/captainubermensch
    [link] [comments]

    [C++] How do I start writing a char array in reverse?

    Posted: 10 Nov 2018 09:12 PM PST

    I am completely lost on this assignment, I've been going at it most of the day and I've looked at various other examples online but they all use things that I have not learned. All I know is strcmp(a,b) , strcpy(a,b) , strlen() , and how to do a linear search.

    submitted by /u/CaptainLeviA
    [link] [comments]

    Confused about the best way to represent a tree in a SQL database.

    Posted: 10 Nov 2018 09:05 PM PST

    I'm storing a tree of small strings in Postgres. It looks like this:

    "Languages" | |--- "French" | |--- "Verbs" |--- "Pronunciation" |--- "German" | |--- "Pronunciation" |--- "Cuisine" "Music" | |--- "Guitar" |--- "Voice" | |--- "Breathing Exercises" "Reminders" "Vehicles" | |--- "Car" | |--- "Road Rules" | |--- "Fines" |--- "Highways" |--- "Bike" | |--- "Repair Guide" 

    You get the idea. These are tag names; there will be another table full of flashcards/notes each of which is associated with one or more of these tags. One note might be tagged Languages.French.Verbs and Reminders for example, or a note about Queen Elizabeth might be tagged People.Historical and Countries.UK.History (where a . indicates a level in the hierarchy). In my application I want to browse the list of tags and their associated notes like a filesystem (tags as folders, notes as files within them) and see the same note appearing at multiple points because of these multiple tags.

    I've been researching Postgres, which I'm not very familiar with (my classes used SQLite), and I can imagine two ways of accomplishing this -- but I'm not sure which is ideal/correct or what the tradeoffs are. Would love some advice about that.

    When the user searches for some notes (either by tag name, note title, or text content) I want to show them a list of the results, and the full hierarchy of the tags associated with that note. As in, they search "Elizabeth", and note #1 is tagged People.Historical and Countries.UK.History. If I get the search results by searching in their notes table, and each note stores one parent ID, then how do I efficiently build up the full tag names?

    Should I store a parent ID with each tag and do recursive queries? Would that necessarily be a separate recursive query for each leaf-node tag I'm looking up (as in one query for History and its parents and one for Historical)?

    Would it be better if I stored two arrays with each tag, one with children and one with parents? That would avoid needing to do complex lookups each time, but adding and removing children would become more complex. If I expect to do 100 lookups for every add or remove, does that make sense, or is this a stupid idea?

    submitted by /u/ItchyVeterinarian5
    [link] [comments]

    I learned to program but I still can't create anything really. HELP

    Posted: 10 Nov 2018 12:43 PM PST

    So for the past two years I've used a number of sites: Code Academy, Treehouse, some edx courses, and I even took a coding course at a university. I still find myself stuck... I can't create anything and learning more at this point is just so boring. Everyone I ask just says build. Please help, can anyone give me actual specific guidance on what to do. I want to be able to sit and enjoy creating things, but for some reason I just can't.

    submitted by /u/sandypanties123
    [link] [comments]

    C89 v C99

    Posted: 10 Nov 2018 06:03 PM PST

    How do mathematical operation differ in both compiler? From what I read from the book is that in C89, when either operand has negative value, it can be rounded up or down. What about if both operand is positive? Will the value be the same for C99?

    Is these answer correct?

    a. 8 / (-5) = -1 or -2 in C89 -1 in C99

    b. (-8) % 5 = -3 in both complier

    c. 8 / (-5) = 3 in both compiler

    d. (-8) % (-5) = 3 in both compiler

    submitted by /u/harabayashi
    [link] [comments]

    Easy way to create spoken mp3 from document with Google Cloud Text-To-Speech?

    Posted: 10 Nov 2018 06:34 AM PST

    Hello everybody,

    I just discovered Googles Cloud Text-To-Speech (WaveNet) and I am very impressed by the natural sound of the voices which surpasses everything else I have heard yet by far. I am a writer and would like to convert text I have written into an "audiobook" with Text-To-Speech. (Just for personal use as this would come handy to get a feeling for the text in spoken form by a third person, even if it is "only" an AI in this case.)

    However, using Googles Cloud Text-To-Speech surpasses my computer skills. I consider myself quite versed when it comes to everything from a "normal" computer user standpoint, but this seems to require a programmer background. I signed up for an account and I am even willing to pay whatever Googles charges per word, but I am not at all familiar with APIs, command lines or whatever. I tried to copy & paste my text into the "convert text" test field on https://cloud.google.com/text-to-speech/ and would have simply recorded my system audio, but unfortunately, the output only works if you copy & paste only very short text. (At least here – tried three different browsers, Chrome included, to be sure.) Ideally, I would have a way to save a whole 80.000 word novel read out for hours by Text-To-Speech as audio – however, if not possible and causing an "overflow", I would also be willing to split it in parts, as long as they are not 500 words per part or whatever.

    Does anybody out there see an EASY (or at least step per step explainable) way to convert my text into spoken mp3 with Google Cloud Text-To-Speech? Again, I am willing to pay Google, I have already signed up for an "developer account" (or whatever I should call this).

    I saw that there's an official Google Text-To-Speech app for Android which (as it seems) also uses the quite new WaveNet technology to read out loud homepages or documents. Unfortunately, I don't own any Android device – I am an macOS/iOS user. Should I try to install an Android emulator on my Mac and download the Android package of the Google Text-To-Speech app? I'm not totally sure if the voices used in this app are really that advanced, though, and also don't know if this would work anyway.

    If anybody has a hint for me, I would be very, very grateful – also if there's a better subreddit to ask this question. (I tried r/MachineLearning and r/artificial, but got no answer at all.) Thanks a lot in advance for any effort/help!

    submitted by /u/zivilars666
    [link] [comments]

    Is there a FreeCodeCamp or The Odin Project equivalent for Python or C#?

    Posted: 10 Nov 2018 06:59 AM PST

    I'm kind of going through a career mid-life crisis so I'm on the lookout for ways to develop my hireable skills. I've had a desire to code for some time now, but I always let things get in the way. I think I'm at the point where I'm ready to settle down and get after my education.

    Anyway, I'm looking for options here. I know FCC and TOP are for Javascript and Ruby/Rails, but I'm wondering if there are any equivalent "bootcamps" for Python or C# that are free or near free which are of similar quality and depth as FCC and TOP?

    Thanks.

    submitted by /u/hashcrypt
    [link] [comments]

    Looking for resources to network with beginners

    Posted: 10 Nov 2018 08:27 PM PST

    Does anyone know of places where I can find other beginners to work on small starter projects?

    submitted by /u/toxxtor
    [link] [comments]

    Learn C++

    Posted: 10 Nov 2018 04:39 PM PST

    Hello!

    I am about to transfer to a 4 year university from a local community college. Here at my community college, the language's they focused on were C# and Java. I met with my advisor at the state school I'm transfering to, and the Computer Science department uses C++ & Python (mostly c++ in upper level and I'll be in my 300 & 400 level classes next semester).

    With my experience in other languages, I hope I'll be able to pick up C++ fairly easy. My question to you guys is: what's the most efficient way to teach myself c++? Should I buy a well respected book on Amazon, watch YouTube tutorials, get a course online, or are there other ways that I dont know about? The language has been around for a long time, there are a lot of resources. Which ones are the best?

    Thanks in advance!

    submitted by /u/HypnoticLion
    [link] [comments]

    Needing Advice Please!

    Posted: 10 Nov 2018 02:25 PM PST

    Hi, I've been lurking around this subreddit for about 2-3 weeks and decided to finally make a post and ask for some advice. I have decided that I would like to pursue a career as a developer, specifically a web developer, and have been struggling with a few things lately.

    To start off I am 23 years old with no debt, no kids, and no real finical responsibility yet. I feel that going back to college to study computer science would be something that would really benefit me as far as creating a network and making finding a job easier. I also feel it would give me a solid foundation and allow me to hop into other fields easier because I also have slight interests in android development and indie game development. Something that has somewhat been eating at me is that I enjoy the thought of being able to create something out of nothing, at least that's what excites me in programming, but I really want to take pride in what I do and do it "right". Some of my main concerns regarding going back to college are two things. One is the cost, I come from a not so wealthy family and I am certain I will be in debt once I do finish college and starting my career out in debt just doesn't sit well with me when I know I don't have too. Second would be that when I last attended my community college about a year ago I dropped 4 classes and I have no idea if I could ever transfer after something like that??? I completed all of my general ed already since I have been undecided for so long but I think I have screwed myself by taking way too many electives trying to figure out what I wanted to do and then dropping those 4 classes. I am in California if that means anything as far as community college goes.

    Rather than going back to college I also considered just learning some fundamentals from online classes and then begin to learn solely front end and try to find a job as a front end developer asap and continue to study the rest as I work. I am not sure that is even viable? Does anyone here work full time in the industry and continue to study other languages/theory online? I am already enrolled in MITx intro to computer science and programming in python and How to code simple data and enjoy both. I would try to do something like this after completing the two classes mentioned above:

    How to Code - Complex Data

    Introduction to Computer Science - CS50

    Databases

    Then start to really focus on front-end and finding a job and continued studying afterwards.

    I'm just a bit confused as to how I should proceed to become successful in this field and have been trying to do a lot of research on my own. I know the post is somewhat lengthy and I appreciate anyone who takes the time to read it and give advice. I posted this over at r/cscareerquestions but didn't get too many replies so I am hoping I can get a bit more help here.

    submitted by /u/Dhunter95
    [link] [comments]

    I need help understanding operating systems.

    Posted: 10 Nov 2018 11:51 PM PST

    Every time I hear Ubuntu, Linux, or some other strange name I can't help but feel completely dumbfounded I have no idea how any operating system is related to one another or why they're different. Like is Mac Linux or Ubuntu or is windows Linux or what. If someone could share some insight or maybe a guide on all the different ones and their similarities and differences that'd be awesome.

    submitted by /u/AutumnSail
    [link] [comments]

    Trouble understanding an example of the usage of Pipes in C

    Posted: 10 Nov 2018 07:57 PM PST

    I have an example of pipes given to me here and it seems simple enough, however I am having one hang up on it.

    If the "pipe" itself is just a list of two ints, one for when it is reading and one for when it is writing, how is it able to take in a string? I am really bad with C, so I am probably just looking at it wrong. Is it that the ints correspond to the memory block, not the actual data?

    Thanks for any tips

    submitted by /u/churchofwentz
    [link] [comments]

    Trouble regarding Run-time error.

    Posted: 10 Nov 2018 11:18 PM PST

    While solving a problem on codeforces, I found 2 methods to solve it. One has a simple code. The second is very optimised and will have less run-time than first, but has a long code and more chances of having bug in it. I wrote both of them and both were accepted. How do I predict whether the first code will give runtime error or not before submitting it?

    submitted by /u/prajwlr
    [link] [comments]

    "On Modern Software Development A Software Developer’s Job Description – Now and Then"

    Posted: 10 Nov 2018 11:07 PM PST

    Do you agree with the claims made in the paragraph below:

    " ...

    n the old days, things were very clear. Windows was the operating system and a computer was a desktop. No smartphone, no tablet, no cloud. Mainstream software development meant developing desktop applications with IDEs like Visual Studio, Delphi, or Oracle Forms. You bought them and had to live with their functionality. If you needed some missing functionality, then you had to develop it on your own.

    You had to rely on your skills and the books on your shelf. If you worked in a privileged environment that gave you Internet access, you could at least get help from newsgroups. Even then, you had to implement lots of features on your own that libraries provide today.

    I can only speculate about the reasons. One thing I know for sure is that, in the Internet's early days, getting software still meant getting it physically on floppy disks or CD-ROMs from vendors you had to find in the first place. That meant selecting the product from printed catalogs or ads in technical magazines. Open Source had barely begun so you actually had to pay for the software.

    It is quite understandable that this time-consuming process gave no other choice than to implement lots of functionality on your own.

    By creating your own libraries, you stepped one abstraction layer down and found yourself in situations where you had to make sure the performance was decent, there were no memory leaks, and would work in many use cases. This required a sound understanding of how to implement common data structures and operations running on top of the libraries – in other words, writing algorithms.

    The formal curriculum aligned with these requirements. You learned data structures and algorithms. You breathed implementations of binary trees, linked lists, all sorts of sorting algorithms, and the use of Big O Notation for calculating the performance of an algorithm's best/worst/average cases. Knuth's compendium "The Art of Computer Programming" was the classical software developer's bible.

    Last but not least, you had to be wise in the ways of mathematics...
    ...

    The main challenge for today's programmer is not crafting the most suitable algorithm, but finding the right libraries and knowing how to combine them. In the best case you only write so-called glue code to manage the interplay between the libraries.

    Of course, your application has a unique selling proposition that sets it apart from others. That core code should, and probably must, be developed by your internal team. For code that is not part of the core, you should take the time to check for existing libraries. You ought to find one that provides you with all the required functionalities and is actively maintained....

    "

    https://www.rainerhahnekamp.com/en/modern-software-development/

    submitted by /u/JanePoe87
    [link] [comments]

    Which tech stack would you personally choose to build an app like Slack?

    Posted: 10 Nov 2018 10:20 PM PST

    I am a novice in developing messaging / collaboration oriented applications. I would like to hear an opinion from a person who worked with similar applications and has enough experience to compare at least 2 different tech stacks that would work for such app.

    Which tech stack would you choose to build an app like Slack - starting from backend to frontend (for most common platforms: web, iOS, Android)?

    P.S. I have already done some research on finding out what was Slack built upon. But, I want to hear an opinion of people who would something differently and possibly better.

    submitted by /u/crypto_pro585
    [link] [comments]

    Can this code be done in a more professional way?

    Posted: 10 Nov 2018 02:43 PM PST

    This code, I mean. I used a ranged for and switch statement. But I guess it could have been done in a more professional way. But how? If you don't want to open the code, all it does is change a char in a string to its designated complement for example, A->T and vice versa.

    submitted by /u/Lithy_Eum
    [link] [comments]

    PyQt5: What are some good resources to understand the depth of software programming ?

    Posted: 10 Nov 2018 10:06 PM PST

    I want to know some good resources for learning and understanding PyQt5 software programming in Python 3. I already finished with Basics. Now want to learn the depth of it with examples.

    Anybody know any resources for that?

    submitted by /u/waterRocket8236
    [link] [comments]

    [WPF/Visual Studio/C#] Can't add new window/form/page

    Posted: 10 Nov 2018 09:20 PM PST

    Been stuck googling for an hour and can't seem to figure this out. I'm looking to create another page the user can transition to in my WPF application. I saw to use .ShowDialog() to transition to the other page, but the problem is I can't figure out how to create a new window. When I click project-> add page or project->add window, it just brings up a general form for adding items, of which page/window is not an option, only interface, text flile, etc, no option to add a window. If I right click the project and do add->Window, same thing happens

    How do I add a new page/Window?

    edit: figured it out I think, but did a window by mistake... how do I convert it to a page?

    submitted by /u/skilliard7
    [link] [comments]

    3rd year CS major that needs guidance starting my first personal project.

    Posted: 10 Nov 2018 09:05 PM PST

    My idea is to make a media player application for ios. I would want to put music or videos that I make personally on the app.

    My education has focused mostly on Java and Python so hopefully skills I have acquired will transfer. The reason I am posting here is for general advice on a first personal project and hopefully get pointed in the direction of resources for what I want to do specifically. I'm not sure if it's common at all in this sub, but if there was someone interested I would love to have a mentor to come to with my inevitable questions.

    Any resource, response, or words of encouragement are appreciated, thanks for reading!

    submitted by /u/ilikezeppelin
    [link] [comments]

    No comments:

    Post a Comment