As a graduating CS student I have no idea how to do real programming. Ask Programming |
- As a graduating CS student I have no idea how to do real programming.
- Does anyone else feel that they think differently in general after having a fair amount of programming experience?
- Why are terminal emulators so incredibly slow?
- What is worth putting into a portfolio?
- JavaScript programmers: would something like this be possible, and if so, how much would it cost me to have a coder create it for me?
- Is there an API that will link you to an app for payment?
- Any suggestions for powerful self-hosted software with a nice web frontend for browsing and sharing my files and metadata?
- Idk if this is a place to ask this but I need help with an assembly programming I am writing and I am running out of time
- Languages that focus as little as possible on the use of exceptions
- What are the must have features of a good static site generator ?
- How do you keep & share knowledge behind your codebase in your team?
- How would I go about making a plugin for MacOS iBooks?
- [C#] Program Form Design
- A.W.S., Google Services, or do it all by yourself from home?
- Securing a junior developer role
- First programming language to learn for someone with a Linux background?
- Is tripple equal-signs unique to javascript or do other languages have a similar equivalent?
- CleverBot like chatbot API Free of use?
- UWP - Automatically saving text to a file
- VB.Net Windows Applications to C# Web Apps transition
- [Dynamic Programming] Need help to implement Memoization
- Should I use a message broker for GET requests between internal services?
As a graduating CS student I have no idea how to do real programming. Posted: 01 Aug 2019 05:18 AM PDT I'm a CS student whose about to graduate. While I were struggling with courses like Calculus, Physics, Differential Equations and Linear Algebra, and studying MIPS, 8086, 8055 architectures I literally had no time to study what really was going on in the industry. I know how to code in C, C++, Java and C#. Object oriented languages are very similar. I don't think I'm very confident in Lisp, Scheme or Haskell though. I also know SQL a little. I coded several scripts in Unity since C# is quite easy. Mostly for educational purposes. I took a few ethical hacking courses online to understand networking better. But that's it. My point is, I can't create a whole software begining to end. I don't know how to. I know how languages works. I know how CPU and RAM works. I know how to write a script. But when someone says "code me a program," I have no idea. And also I have no idea about where to start. A few months later I have to do my mandatory internship. I'm freaked. Because I have no idea about what to expect. I'm open to any recommendations, tutorials, books. [link] [comments] | ||||||||||||
Posted: 01 Aug 2019 03:23 PM PDT I've been programming for a bit over 10 years, studied Computer Science in high school and am about to finish my masters in Computer Science. Just now, I started thinking about the Golden Rule: treat others as you wish to be treated. I'm thinking, what if I'm a masochist and want to be punished? Does that mean I should punish others? Of course not, but that example shows a flaw in the rule. Then I browsed r/changemyview on this topic, and some redditor wrote that the rule simply means that one should cater others needs. Then I was like, oh fuck. I'm dumb. Of course that's what it really means. But still, the way the rule is presented is not rigorous. So I'm thinking, does this have something to do with the binary reality I'm in for 8 hours a day? Or is it simply that my way of thinking made me find programming fun? What's the hen and the egg? Does anyone else? [link] [comments] | ||||||||||||
Why are terminal emulators so incredibly slow? Posted: 01 Aug 2019 03:01 PM PDT It's a complete mystery to me that in 2019 and displaying a matrix of a few thousand characters is still a challenge. I live in fullscreen iTerm, Tmux and Vim. I have 256 colours enabled. Vim has lazy redraw enabled. I'm on a 2018 MacBook pro. Scrolling is smooth only when connected to power (probably related to CPU throttling - but it's 2019 and it shouldn't matter). iTerm is significantly faster than Terminal when resizing Tmux panes and Vim windows. I've had similar issues on Linux. The only terminal emulator that has decent performance scrolling and resizing Vim buffers Alacritty which is GPU accelerated. But dislike using it because the text looks like it was rendered with OpenGL's GLUT, and it's unstable. What's going on? Why is there a bottleneck here? Is it rendering the text? Is that still hard to do in 2019? I don't understand the technical challenge of parsing a really simple protocol designed in the 70s is difficult. What's the technical challenge? I couldn't imagine implementing the VT100 protocol is particularly difficult then sending the matrix of characters to CoreText or FreeType to be rendered on the GPU? [link] [comments] | ||||||||||||
What is worth putting into a portfolio? Posted: 01 Aug 2019 04:31 PM PDT I'm currently a senior in High School and I want to major in Computer Science. When I ask people for tips on the major, they will sometimes tell me to "build a portfolio" of things I make. However, I have no idea what I would even put into said portfolio. For example, I like to code in my free time and I'll often make programs/games just for the hell of it. Are these worth saving to show off? Any program I make isn't usually a super long term commitment, and I usually work on them for about a week. In addition, the programs I make are things that I personally feel would be fun to do, so I don't know if anyone else would even care or understand what it is. For example, I coded a program to accurately simulate opening a crate in Rocket League using the actual drop rates in game. Would this be worth putting into a portfolio? Because I usually just make things for my own enjoyment [link] [comments] | ||||||||||||
Posted: 01 Aug 2019 09:50 PM PDT Hi! I am not a programmer by any means but would like to learn someday. I know that Javascript is what is used by Google Apps Script and I know that G Suite can be customized using Google Apps Script. Anyway, I am looking to have a script (not even sure if that is the right term) built for Gmail that can help me automate my inbox. All I want is a way to send auto responses to every email that comes in. I have clients email about everything from technical support to requests for new design materials. I tried to just use filtering and have auto responses sent using keyword parameters, but that didn't work because the keyword parameters aren't enough to make a determination about what each email is about. I don't want the auto response to be totally generic either because it would have potential to make angry clients even angrier. The main response I want is just something like "hi! thank you so much for emailing me. the team and I have received your request and are working on it now. thanks!". It doesn't seem so impersonal that it seems like a robot. However, if I had this email send to every single email I get it would be totally obvious it was an auto response. If someone was emailing me to schedule a phone call, this response would be stupid and nonsensical. I don't know if there is a way to determine what an email is about accurately with Google Apps Scripts, but I was thinking that at least I could have something built that would automatically create a draft for each email based on what it might be about. For example, if the script found the words "new listing" it could create a draft with something similar to what I wrote above. Or if the script found the words "call me" it could create a draft asking the client to schedule a call. But the most important part would be some sort of GUI/spreadsheet that could let me know when new drafts are created so I can review them. That way I don't have to spend a bunch of time in my inbox trying to figure out what needs to be responded to and what can be ignored. I wouldn't need to keep typing up the same thing and could free up so much time. I'd even be fine with only having one draft because almost 70% of my emails are from a client asking for something new to be designed for them. The response above would be sufficient for most emails and for the ones that it wouldn't work for, I would already be in the email and could very quickly type something different. I have no idea if this makes any sense or if there is a way easier way to accomplish this. But I'd like to know if this is a project that can be done and how much you personally would charge so I can get an idea of what I would need to budget. Thank you in advance JS programmers!! :) [link] [comments] | ||||||||||||
Is there an API that will link you to an app for payment? Posted: 01 Aug 2019 09:20 PM PDT For example, you are shopping a product on a website (e.g Nike) after you checkout, it will link you to an app for payment. The app is not Nike's app but an app for payment. [link] [comments] | ||||||||||||
Posted: 01 Aug 2019 03:13 PM PDT I'd like to expose my exhaustively curated digital collections to the world (mainly friends) in a nicely browsable UI. This is for about 3 terabytes of media and corpora and files of all types, organized via file name/hierarchy and xattr metadata. Due to the size (and maybe also copyright issues?) I'm planning on hosting it all on my own hardware. Something like TagSpaces seems fantastic, but some of its most important features for me are premium-only (and so presumably not open source or customizable) which is maybe a dealbreaker. Also it's aimed at personal offline use and so from what I've seen it would be hard to customize in certain ways, like access controls for what's publicly viewable, and not sure if it's robust/fast enough to be open to the web. I've trawled every entry on awesome-selfhosted. I've tried or looked at a various media servers (like Kodi, Emby) and digital archiving servers (like AtoM, Omeka) and file-browsers-with-sugar and nothing really fits - either they look like crap, or have limited file type support, or poor support for tagging and metadata, or limited search, or they're not customizable, or they're written in PHP. At this point all I can think of is trying to run with TagSpaces, or else kind of rolling my own, starting from a lightweight flat file CMS (or probably Gatsby), even though I'd need to implement/plug in a ton of things. Requirements
Nice-to-haves
What I've tried/ruled out
Maybe but probably not
Contenders
Am I missing some obviously easier option? I'm an experienced programmer so very happy to get my hands dirty, but looking for the lowest-lift approach. Help! [link] [comments] | ||||||||||||
Posted: 01 Aug 2019 05:53 PM PDT So i have to find the GCD of 2 numbers in MIPS assembly and am only having trouble with saving the output to print it in main. here is the link to my stack overflow question that has the code and a few more details. [link] [comments] | ||||||||||||
Languages that focus as little as possible on the use of exceptions Posted: 01 Aug 2019 04:05 PM PDT Ones that i know of
is there anything else to add here? Relevant languages only please [link] [comments] | ||||||||||||
What are the must have features of a good static site generator ? Posted: 01 Aug 2019 02:27 PM PDT | ||||||||||||
How do you keep & share knowledge behind your codebase in your team? Posted: 01 Aug 2019 04:21 AM PDT Hi there, I wonder, do you keep the same knowledge in your team? If so, where do you keep it and what software do you use? Our problem is that currently, this knowledge is spread across Google Docs, Slack, readmes, code comments, or sometimes it's just vocal... How do you solve this issue? [link] [comments] | ||||||||||||
How would I go about making a plugin for MacOS iBooks? Posted: 01 Aug 2019 01:58 PM PDT I'd like to make a personal plug-in to iBooks where all the text I've highlighted in a certain book goes to an Excel spreadsheet. I'm a newcomer to programming - I have applied experience in JavaScript, Python, and proprietary automation programs. I don't expect the code itself for this plug-in to be too hard to write, but I'm not sure how to start the process. Any tips/advice would be appreciated. [link] [comments] | ||||||||||||
Posted: 01 Aug 2019 09:42 AM PDT Hi all, so I've been working on this tool that will hopefully be nice to have for my D&D sessions when I never get it done. Basically, it's an entity (item, character, building, location, etc.) editor, and will act as an easy way to connect objects together, since that's one of the things that programming is really good at doing. One thing I wanted to know before I get too much further though, is there a standard or best way to create form applications in C#? Currently, I have it made such that the controls themselves hold the text/info/values, and then when you save or load, each type of form has its own format I algorithmized for easy reading and writing. For example, when saving a character, once you hit the "Save" menu button, it will begin a ToString() method that reads all the information from the text boxes, listviews, and number boxes, and then saves it to the "Cha" folder as a text file in a specified format. Instead of doing this, one of the things I wondered about doing would be to create the back-end data structures as arrays and lists and stuff, and instead of having the controls themselves carry all the data, I could use them to read the data from said arrays and lists and stuff. After a change is made, I could then just call a Refresh() method to update whatever was changed. I'm not sure if this would be better, but it's an idea I had. So does it make a significant difference? Should I use one or the other, or is there an even better way to build the program I am working on that I don't know about? Should I not even be using C# for this? Do you have any other advice for my endeavors, because if you do, those suggestions are appreciated as well. TIA! - Bard [link] [comments] | ||||||||||||
A.W.S., Google Services, or do it all by yourself from home? Posted: 01 Aug 2019 12:39 PM PDT Hi, I am a college student trying to build a scalable application. I am currently using google firestore, but I realize it might be costly to handle in the future. I was going to build host servers, database servers in my own apartment. (all electricity paid for by rent). And use that instead. Do you think this is unnecessary? I have researched so the tools that I need to build my scalable back-end server stuff is nginx and node.js. PLEASE CORRECT ME IF I'M WRONG, AND TELL ME IF I NEED ANYTHING ELSE. I AM NEW TO MOST OF THIS BUT I AM WILLING TO MAKE AN APP THAT CAN SCALE LIKE A BIG COMPANY. [link] [comments] | ||||||||||||
Securing a junior developer role Posted: 01 Aug 2019 08:52 AM PDT I'm currently an engineering student at university, however I developed a passion for programming during my course. I've been reading around the subject and started doing online courses and began posting mini projects on my git. What is the next step for me to secure a software engineering role within the next 2/3 months? Currently I can program in Python and vanilla JavaScript/HTML/CSS. I went from a data analytics/machine learning focus to now developing web apps/ web pages. I currently have 0 understanding around data structures and algorithms, to what extent are these important? and to what depth should I be learning them? Any recommended resources would be much appreciated!! To learn data structures and algorithms I'm currently going through cracking the coding interview and a course on udacity. Also in terms of my resume, as I have no CS background or relevant experience should I make it more focused around my personal projects and my current skill set? rather than my irrelevant work experience and educational background. [link] [comments] | ||||||||||||
First programming language to learn for someone with a Linux background? Posted: 01 Aug 2019 08:51 AM PDT
[link] [comments] | ||||||||||||
Is tripple equal-signs unique to javascript or do other languages have a similar equivalent? Posted: 01 Aug 2019 08:08 AM PDT | ||||||||||||
CleverBot like chatbot API Free of use? Posted: 01 Aug 2019 07:01 AM PDT Hi Guys. I'm making a chatbot, just for em and ym friends to playwith, and previously it was using the CLeverBot API, but the token is expired and they now only seem to offer paid plans. I'm wondering, if there are any websites what offer a free 'cleverbot'/chatbot service.. Even if it's looking at the HTTP requests and seeing how to immitate, or crawling a wesite, i don't mind.. :) [link] [comments] | ||||||||||||
UWP - Automatically saving text to a file Posted: 01 Aug 2019 12:58 AM PDT I have this multi line textbox. Whatever the user types in it, should be saved automatically, so that when the program is restarted, the previously written text should be displayed in the textbox. I am thinking of saving the text from the textbox to a .txt file when the user clicks the Close [X] button on the top right of the app window. Would this be the right way to do it? If it writes to the .txt file every time a key is pressed, would it be unnecessary stress on resources? [link] [comments] | ||||||||||||
VB.Net Windows Applications to C# Web Apps transition Posted: 01 Aug 2019 06:27 AM PDT Hi all, Just wanted to get a bit of insight into this possible transition. I've worked with VB.Net developing core applications for businesses for about 10 years in the UK. The current place I work for is looking at options for a supporting web application, as well as a place for our clients to view certain pieces of data. I'm pretty confident I can transition to c# pretty quickly, obviously - and am thinking about doing this regardless - but how feasible is it to learn web development to this degree, quickly? Are there any good sources for it? I did a bit of PHP back at college and Uni in my spare time but that was a long time ago now. I understand HTML pretty well, and the concepts of the rest at a fundamental level - otherwise I'd be a complete novice in terms of ASP, how programming elements interact to form an "application", and anything in between. Any advice - including 'DON'T BOTHER' - would be greatly appreciated! [link] [comments] | ||||||||||||
[Dynamic Programming] Need help to implement Memoization Posted: 01 Aug 2019 05:17 AM PDT So I kinda already know what Memoization is, it is basicly a way to save already computed values in a list/array/matrix and when you have to perform the same computation you can just look in your list/array/matrix and retreive it. I wanna try to solve a specific problem where the current solutions have been "insufficent". Imagine you want to create some new buses that will help the environment. You have a table that shows how a specific amount of seats help the environment f.e.
Now each bus can only have a max of f.e. 20 seats. The task is to return an output of seats such that you help the environment as much as possible, basicly a max sum. Currently my psuedocode looks like this: ``` int[] table = {0, 3, 5, 4, 2, 1}; //This is the table where the seats are the indexes, ignore index 0 public int get_sum(int[] table, int seats) { return OPT(table, seats); } private int OPT(int[] table, int seats) { if(seats >= table.length - 1) { //Checks if I have to check the entire table or just a part of it int[] b = new int[table.length]; //Creates an array b which stores the results for(int i = 1; i < table.length; i++) { b[i] = table[i] + OPT(table, seats - i); //Runs OPT recursively where I choose a specific index to find the best value } } else { int[] b = new int[seats + 1]; for(int i = 1; i <= seats; i++) { b[i] = table[i] + OPT(table, seats - i); } } return max(b); //Returns the highest value in b } ``` My issue with this code is that there is a risk of stackOverflow since I have to recursively create more arrays instead of keeping the values in a table which I can just access when I need to, but I do not know how I can create the table such that I know where to store/access my computed values. [link] [comments] | ||||||||||||
Should I use a message broker for GET requests between internal services? Posted: 01 Aug 2019 02:22 AM PDT I have a discussion with a colleague on whether requests like NOTE: we have a micro service architecture What are the benefits/downsides of each approach? [link] [comments] |
You are subscribed to email updates from AskProgramming. 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