Where do I go and what should I do? Ask Programming |
- Where do I go and what should I do?
- So I'm about to graduate, how strong should I feel in my programming skill?
- Beginner Coding Course Recommendations?
- It's sum of adjacent elements in array possible using a divide and conquer approach?
- How do you use Github and Visual Studio together?
- What was the longest algorithm you've ever written and what did it do?
- Another React/JS question
- Need help on implementing a multi-process algorithm to solve the Faneuil Hall Problem using the C programming language
- Best software architecture for my application?
- Google Kick Start 2020 - Round B. Why am I failing test set 2?
- Input Data Shape in Sequence-to-Sequence Model
- Connect college app with a backend. Directions required!
- What are the best online programming bootcamps out there to learn Python and Java?
- Hateoas Best Practices?
- Which tech-stack is used to write twitch client?
- Help with Creating an online card game
- I need help with JavaScript
- Problem with code or domain host?
- Loop tiling/blocking a strict lower triangular matrix
- Is there a program that converts c# code into c code?
- Looking for MySQL Database (or any kind of list) of blacklisted websites
- Suitable encryption scheme for storage/sync server with client-side (end-to-end) encryption?
- Which blogging cms can integrate well with my HTML markup for a custom design?
- [JS CSS] Adjusting element height to not cut off last text line.
Where do I go and what should I do? Posted: 19 Apr 2020 09:00 PM PDT I am 15 years old and have loved programming and technology for most of my life. I have learnt many languages, such as Java, C#, HTML, CSS. I also have taken courses on database design (udemy). However, I'm stuck. I feel like I'm aimlessly moving back and forth around the map of programming. I am really motivated at the moment to become a developer in the future, but I don't know what scene I should strive for (front end, back end, e.c.t). I've been putting in 2 hours a day of programming to improve my skills but I don't see a clear future or what I should do when I leave school. I've already built up a somewhat basic skill set (I think). I'm just wondering whether I should continue to teach myself programming after I leave school because it has worked for me, or should I join a CS course or an engineering course e.c.t. [link] [comments] |
So I'm about to graduate, how strong should I feel in my programming skill? Posted: 19 Apr 2020 07:59 AM PDT I'm about to graduate with a B.S in Computer Engineering and I feel like I'm a lie. I made it through but I still don't think I problem solve as well as my other fellow programmer. I know that my GPA(2.3) probably is a good measure of this. How do I get better? How do I get a job and not disappoint all the bosses/clients I'll ever get. Edit: I assume I'm a junior programmer. Edit2: I am so thankful for all the helpful comments. I will use all the helpful advice and keep pushing forward, one step at a time. [link] [comments] |
Beginner Coding Course Recommendations? Posted: 19 Apr 2020 05:06 PM PDT Coding/Programming has always been something that has interested me, but it is not offered as a course at my high school so I was never able to get a feel for it. Anyway, I'm considering pursuing CS next year in college, but I don't want to commit to a program that I have absolutely no background in, so I was hoping y'all could suggest some very basic programs/courses so I could at least establish a groundwork for it. Also, I would be doing this as a side project to school, so nothing too extreme please, and the cost is not a huge factor as long as it's within reason. [link] [comments] |
It's sum of adjacent elements in array possible using a divide and conquer approach? Posted: 19 Apr 2020 03:18 PM PDT story: I was wondering if this can be made into a divide and conquer way; recursive or not. I tried a few things but they didn't really work. I'm asking if it can be done just for the sake of it; I'm not trying to improve the time complexity or anything. Just food for thought (and fingers) :) note: even though the title says just sum of elements, the code I have provided is for the sum of absolute difference of adjacent elements. If the latter is possible it would be much better but if not, we can discuss just the possibility of the just the sum of adjacent elements. I'm a complete beginner at computer science, so please also let me know the benefits (or the lack thereof) of changing this into a divide and conquer algorithm, if there are any. Are we improving the time complexity from n to log n? footnote: it is completely okay to use global variables if the only possible way involves using them [link] [comments] |
How do you use Github and Visual Studio together? Posted: 19 Apr 2020 10:18 PM PDT So I'm currently developing a game with SFML on a team in college. We are all using Visual Studio, I'm confused for what I should be pushing to our repo, should .vcxproj files and the solution file go into the repo? I've looked at other repos and have not seen much with a solution in their github, nor any .vcxproj. I understand that .gitignore can ignore these files, but what if one of our team members wanted to copy the repo, do they need to make a project in visual studio and just add the files into theirs? (Like main.cpp, etc). Since we are using SFML, we have alot of .dll files that need to go into the project folder. However, other SFML projects on GitHub don't have ANY .dll files in their projects, how would someone be able to download their code and begin to work on it? (Would they need to manually install SFML on their ends and just download the files on github?) I've asked this on stack overflow and someone recommended CMake. I don't have any experience with CMake and I can't seem to find a clear answer that this is what I need. Thanks guys, TLDR: Not sure how to organize with GitHub and Visual Studio [link] [comments] |
What was the longest algorithm you've ever written and what did it do? Posted: 19 Apr 2020 04:32 PM PDT I'm curious about how long did it take you, approximately how many lines of code was it, and what did the algorithm do? [link] [comments] |
Posted: 19 Apr 2020 06:50 PM PDT Does anyone know why this does not work:
But this does:
Basically I have to feed the function Fetch with the URL string directly, and I cannot through a state variable (it returns nonsense code, nothing from wolfram). Is there some particular reading on this? Thanks a lot :) [link] [comments] |
Posted: 19 Apr 2020 08:26 AM PDT Although I did work with multi-thread programming and the C programming language and am familiar with the concepts, last time I worked with C was years ago and now I have to code this program in a few days, I don't know how and where to start. Any help would be appreciated. The Faneuil Hall is basically a courthouse where immigrants and a judge enter and leave the building at random times. Immigrants enter the building, apply for citizenship and start waiting for the judge. Once the judge enters the building he approves the applications and immigrants swear an oath and get their citizenships. While the judge is there no one can enter or leave the courthouse. The program needs to be implemented with processes and not with threads. I need to use shared memory "to implement the action counter and shared variables required for synchronization". I'm also supposed to use traffic lights to synchronize processes. Using active waiting (including cyclic process sleep) for synchronization purposes is not allowed. Any suggestions are welcome. I don't know how and where to start. [link] [comments] |
Best software architecture for my application? Posted: 19 Apr 2020 05:34 PM PDT Hello, So I am building a multiplayer game right now, and it requires the processing of an image through a DL model (I have it on caffe). The game entails : Taking a photo on the current active player in the session's phone, running it through the model and extracting numerical data, sending the extracted data to every player in the session, using the data to construct the 3D model on each player's phone. To ensure real-time playability, I need to run this model on an AWS EC2 instance. This is how I currently have it envisioned:
The rest of the stuff (like chat, sessions, etc) will be handled by Unity and a REST API, it is just the image processing and EC2 integration that I don't know how to do properly. I would appreciate if more experienced developers can share what a good process for this might be. Thanks! [link] [comments] |
Google Kick Start 2020 - Round B. Why am I failing test set 2? Posted: 19 Apr 2020 09:17 AM PDT [EDIT]: My implementations are in Java Hi all, Yesterday, I took part in round B of Google's Kick start competition 2020. I wasn't aiming for prizes, just kinda wanted to do it for fun. There were four algorithms to implement in 3 hours and you get marks for your implementation working for a small test set, and a larger test set. I managed to get the first test set passing for all four of my implementations, but I failed the second test set in three of the questions, and I can't figure out why. I was hoping someone could shed some light on how I could be optimising my code better to pass the second test sets within the given constraints. I've attached links to my submissions below, as well as the rank 4 person's submissions (how-you-doin'-lewin: the highest scoring Java contestant). Top scoring Java contestant's submissions (how-you-doin'-lewin) The problems fully explain the algorithm constraints, such as runtime durations and memory limits, as well as the input ranges for two test sets. For Q2, Q3, and Q4, I passed the first test sets, but failed the second test sets due to Runtime Error, TimeLimitExceeded, and another Runtime Error. I plan on trying round C next month, and would love to avoid similar errors like this, if the solution to my errors is quite simple. EDIT: Here are some direct links to the code: Q2 My attempt (Passed test set 1, failed test set 2: Runtime Error) Q2 how-you-doin'-lewin's attempt Q3 My attempt (Passed test set 1, failed test set 2: Time Limit Exceeded) Q3 how-you-doin'-lewin's attempt Q4 My attempt (Passed test set 1, failed test set 2: Runtime Error) [link] [comments] |
Input Data Shape in Sequence-to-Sequence Model Posted: 19 Apr 2020 03:15 PM PDT I'm currently programming a seq2seq model for text chunking. I will use Keras seq2seq ( https://github.com/keras-team/keras/blob/master/examples/lstm_seq2seq.py ) as the base and then modify it. But I have a question regarding the input data. More specifically, the shape. The example program uses Eng-Fra translation. Meanwhile, my program uses ConLL2000 as the training data. The test data is using other data, not from CoNLL2000. But for this question, let's use the CoNLL2000 test data. But if I use them, the encoder input data, decoder input data, and decoder target data must be changed. So let's go to the question. The length of input_texts. I have training data and test data. Do I have to combine both of them into all_data or should I use just test data because test data is the one I'm searching the output IOB tags for? Also, is there anything else I should know about input data? [link] [comments] |
Connect college app with a backend. Directions required! Posted: 19 Apr 2020 01:54 PM PDT Hello! I am very new to all this app development thingey, although I know programming and can code up an app in Flutter. The problem I have is : I want to create an app for my college, where teachers can take the attendance of students from their phones, update their marks, the students can view the copies of a book left in the library, and on going events in college. These are some of the features I want to implement. But. I have a problem. I do not know how I am ever going to connect this app to an online database of student and college data. I have zero knowledge of how backend/servers work. I have looked into Firebase and I have found it pretty similar to what I had in mind. If you could direct me to some good resources (concepts, books, videos, keywords) that I could learn that would help me in this endeavour, I would be forever grateful to you. [link] [comments] |
What are the best online programming bootcamps out there to learn Python and Java? Posted: 19 Apr 2020 09:52 AM PDT |
Posted: 19 Apr 2020 01:29 PM PDT I'm creating a restful web application, I want to get into good habits by abiding by best practices, does anybody have any advice? [link] [comments] |
Which tech-stack is used to write twitch client? Posted: 19 Apr 2020 01:26 PM PDT |
Help with Creating an online card game Posted: 19 Apr 2020 01:22 PM PDT Hey everyone! I'm planning to make an online card game for fun, and I wanted to ask a few questions here just to make sure I'm going about everything the correct way. The cards will have words on them, not typical playing cards. Here's my logic: Node.js / express to run the game. Each card will have an "id" for ease in communication. The deck will be a queue, and the cards will be en-queued on the deck in a random order. Each player will have an 7 item large array of integers to store their hand. When the card first gets into their hand, I need to figure out what String matches the int ID of the card they got, and display that for the player. I will then also need a data structure to store the cards that the players play, and someway to determine which player placed them, perhaps a array of hashmaps of int,player ? Each player has a score variable attached to them, and if they win the game, their score goes up by one. I've done very little web dev. I am confident in Java/ C#/ C++/Python. I've only done a little html. So I would love for someone to tell me if I'm doing things logically and maybe point me in the right direction for learning how to do this! Thank you so much. [link] [comments] |
Posted: 19 Apr 2020 01:17 PM PDT When I open the HTML file with that script, john.tips[] and john.finalValues[] are still empty. If somebody know what's happening, please tell me. CODE: [link] [comments] |
Problem with code or domain host? Posted: 19 Apr 2020 12:35 PM PDT Hey all, I am new to coding/html and am going to do my best to explain my issue… I designed my site using an online html editor, and then saved it using TextEdit (Mac) as an .html file. currently I am using HostGator to host my domain. BUT when I go to the url, hostgator renders it as just code. the bare bones, naked skeleton code of my site. I have plugged the code into numerous online html editors and they all render it beautifully. What could the issue be? HostGator support said to contact the author of the online html editor to see if my code could be fixed, but that sounds like a cop-out answer. I don't think my code is "broken" anywhere because, as I said it renders perfectly on various editors. I used to use GoDaddy to host it, but I didn't upload the .html file in that case. with GoDaddy, I had to strip their template down to basically nothing, and use the html coding feature they had to paste my code. Is it an issue with how I saved my TextEdit .html file? Afaik you are just supposed to save it as a "example.html" and then the little text icon turns to a mozilla browser icon and that's it? Or, is it an issue with HostGator do you think? their support sucks, though at the end of the day they are hosting it, it's just not rendering. Any advice would be great and much appreciated. I have been trying to tackle this all week. Thanks! [link] [comments] |
Loop tiling/blocking a strict lower triangular matrix Posted: 19 Apr 2020 12:07 PM PDT |
Is there a program that converts c# code into c code? Posted: 19 Apr 2020 10:52 AM PDT |
Looking for MySQL Database (or any kind of list) of blacklisted websites Posted: 19 Apr 2020 10:36 AM PDT I have been searching for the list of blacklisted websites by Google or Bing or Facebook or any organization. I saw this transparency report form Google : https://transparencyreport.google.com/safe-browsing/overview But there is no list. There are many websites that provide searching of spam websites. But no one releases the full list. I found handful of those websites from this post: https://meta.superuser.com/questions/9249/the-master-spam-list-known-spammers-spam-domains-and-associated-ip-addresses and this post: https://www.zscaler.com/blogs/research/look-top-websites-blacklisted But I am looking for large database of those kinds of websites. I would really appreciate if anyone can share something related to what I am looking for. Stay safe folks! [link] [comments] |
Suitable encryption scheme for storage/sync server with client-side (end-to-end) encryption? Posted: 19 Apr 2020 10:32 AM PDT Hi! I'm writing a tool that gathers events from various devices (PCs, phones, tablets), so they can be analyzed later. The analysis tool is a separate program. I want to offer full end-to-end encryption, so that the server cannot see and manipulate the data sent to it. The server's only role is to act as storage for these encrypted events basically - kinda like Dropbox or S3. The events would then be downloaded and decrypted by the analysis tool. I'm trying to decide between:
My question is, which of these sounds more practically suitable for the described problem? Are there any potential pitfalls that I'm not seeing with either of them? Am I being overly paranoid? (Regarding RSA, there may also be potential issues with quantum computing in the coming decades, which may come into play with long-term storage, but that sounds fairly sci-fi to me at this point.) [link] [comments] |
Which blogging cms can integrate well with my HTML markup for a custom design? Posted: 19 Apr 2020 09:07 AM PDT I have a simple website created with just HTML, CSS and vanilla JS. I also have designs and simple markup for blogs done. Now, I can manually edit those <p>s and <h1>s to make up blogs, but as anyone else can figure out, this should not be the case. I am looking for blogging CMS (free would be good, but if there's a paid one that's good, then I won't mind). Ideally I'd like to have content creators do their thing on the CMS then when they hit publish, the content is embedded to the HTML markup on my website and the blogs take that design. Is there such a thing? [link] [comments] |
[JS CSS] Adjusting element height to not cut off last text line. Posted: 19 Apr 2020 09:07 AM PDT Ok, I have been at this for a few days, and here is what I have to show for it: https://www.w3schools.com/code/tryit.asp?filename=GDZF6HWTE9VG Just drag the middle part to adjust the width, and then the numbers will appear. The key ingredient was Now, my element's size is RELATIVE to the elements around it, AND I adjusted the height so I don't get half-lines, but only complete lines of text. You may not have known, but the line height is on most browsers 1.2x the font size. Now I just have to do some REM math to also scale my letters and it's all a great success. Now you come in and tell me whether this approach is legit and whether there are better solutions? tnx! [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