Looking for code review guidelines Ask Programming |
- Looking for code review guidelines
- What's the difference?
- About validating data sent from client to server.
- JavaScript
- How do I go about creating my own virtual assistant in Python?
- question on how a certain line of code works
- Where to host fullstack project (production/scalable)?
- Are any of these books useful?
- Using API as backend for chrome extension
- How do I create an interactive website?
- Finding an image (or most similar) out of an index of 1,000,000+ images
- For Android and iPhone what are the options for storing data locally?
- Copy long list of numbers and paste one at a time.
- Can the accept() networking function block undesirably?
- People of Reddit: Lend Me Your Ears and Voices! Tech Stack Question
- Failing Gracefully vs Failing Obviously
- Can someone please make a porn blocker I can't unblock I'm too addicted
- How to setup and maintain a clean development environment?
- numpy lexsort 2d array by 2 colums, from lowest to highest
- I need help figuring out which language to learn for a simple Fantasy Football Drafting app
- How long would something like this take to develop?
- Would you translate technical terms in non-English interview?
- What is your favorite online code sandbox tool?
- What has been your favorite API to work with recently?
- Hi so I am planning on starting Raspberry pi and am in first year of college. I was planning on buying a dell xps 15 (2020) is that a good combination?
Looking for code review guidelines Posted: 23 Oct 2020 05:03 PM PDT I am making a code review guideline document for my team. Currently code reviews are turning into toxic competition and a lot of ego is at play. So I am making a guide, I am looking for resources that can help me find useful stuff or some tips that I can put that you have learned through experience. Anything will help. Thanks [link] [comments] |
Posted: 23 Oct 2020 09:51 AM PDT My college has had me "learn" many different languages but I only have a base level knowledge with most of them. I do not feel like I am "proficient" in any of them. I understand that Java is Object Oriented and C is not but I don't understand why I would use one over the other and in what circumstances. I am mainly wondering when I want to create a personal project how do I know what language to use. [link] [comments] |
About validating data sent from client to server. Posted: 23 Oct 2020 11:06 PM PDT Hi, I'm making a small online chess game for my school assignment. To check if the player's movement is valid, I think about 2 solutions: - Update client UI and send data to server for validating, if the data is invalid, server send back an error and client will undo the UI update. Or... - Send data to server and wait for the response, only when the data is valid then update the UI. Which one is better? Is there any other way? Thank you. [link] [comments] |
Posted: 23 Oct 2020 10:55 PM PDT When do i know i am done with learning a particular programming language? For example i started with javascript. I know function, loops etc [link] [comments] |
How do I go about creating my own virtual assistant in Python? Posted: 23 Oct 2020 08:16 PM PDT After researching online, I came to the conclusion that I have no idea what I'm doing. After trying some tutorials, I kept coming into issues, like with pyaudio not working. How do I go about building my own virtual assistant in Python? Is there already developed software that I could piece together into a Virtual Assistant? Do I need machine learning to build a voice activated assistant, that is capable of following my instructions? Any suggestions or advice is welcome! [link] [comments] |
question on how a certain line of code works Posted: 23 Oct 2020 08:08 PM PDT i was watching a video on how to do a certain program and it used this line of code: return value > 255 ? 255 :value does anyone know what that does? [link] [comments] |
Where to host fullstack project (production/scalable)? Posted: 23 Oct 2020 08:03 PM PDT Hey guys, So I've heard that services like Firebase/AWS/etc, have really slow response times and not a good option when it comes to production. What do you suggest instead? Thanks in advance! [link] [comments] |
Are any of these books useful? Posted: 23 Oct 2020 04:17 PM PDT I found some old programming books my math teacher had and i was wondering if their useful for learning in 2020 Java in a Nutshell Second Edition Java Concepts Early Objects Seventh Edition Java Methods An Introduction to Object Oriented Programming [link] [comments] |
Using API as backend for chrome extension Posted: 23 Oct 2020 01:51 PM PDT I have heard using external API you create as a backend / querying this API from extension js puts you in trouble with - https://developer.chrome.com/extensions/xhr#requesting-permission.Anyone have experience creating chrome extension that queries an API and likelihood of it getting approved / ways to ensure approval? [link] [comments] |
How do I create an interactive website? Posted: 23 Oct 2020 07:33 PM PDT I want to create a survey website, where people fill out a survey, submit it, and based on what they choose it gives them a result. It doesn't need to look fancy, I just need its functions to work. I know basic python, and once I have the inputs it's just some if statements to figure out the output. But how do I link the html to the python, where can I host it, how do I host it, and stuff like that is what I'm wondering. I've heard that Django is a great resource. Anyway I want to create a basic survey website with a python back end, how do I do that? [link] [comments] |
Finding an image (or most similar) out of an index of 1,000,000+ images Posted: 23 Oct 2020 04:39 AM PDT I have an index of companies including their logos and I wanted to know if I can take any logo (from another source) and see if it matches one in my index. Now of course the images won't be exactly the same (though the logo itself should be the same). I.e. there may be differences in image size, color hue, etc, and ideally I would want my classifier to be flexible to such changes. Is this something that is feasible to do? [link] [comments] |
For Android and iPhone what are the options for storing data locally? Posted: 23 Oct 2020 09:59 AM PDT If I don't want to use a backend API for small amounts of data where can I store it locally? I'm planning to dive into mobile app development, it's just one of the questions I have [link] [comments] |
Copy long list of numbers and paste one at a time. Posted: 23 Oct 2020 12:06 PM PDT Is there any trick or program to copy a long list of numbers and paste them one at a time? [link] [comments] |
Can the accept() networking function block undesirably? Posted: 23 Oct 2020 03:40 PM PDT I'm learning about network programming. I'm looking at the C socket API. I've noticed the function accept() can block. If I have multiple clients connecting to my server, can this lead to a denial of service attack? Say a rogue client calls connect() but doesn't finish the operation; can other clients no longer connect to the server? If this is impossible, how does accept provide protection against this? If it is possible, what does this pathological connect() call look like? [link] [comments] |
People of Reddit: Lend Me Your Ears and Voices! Tech Stack Question Posted: 23 Oct 2020 03:18 PM PDT Looking to get some advice on what tech stack you would use to build the project below. Please list components in the tech stake, and anything that might help a non-technical person :)
Thank you for taking the time to read this, and posting your thoughts! [link] [comments] |
Failing Gracefully vs Failing Obviously Posted: 23 Oct 2020 09:07 AM PDT I recently had a disagreement with a co-worker about an issue in our code, and I'm curious about what others' thoughts are Context: We are at a small startup (<25 people), our first release was only a few weeks ago and we have a few customers. We are using python and react for most of our code I'll try to frame this as fairly as possible even though I've clearly taken one side on this My philosophy on programming is to never trust anything to be as it should be. For example, if I have an array of people, and I have to display the name of person n, my code might look like this: const name = people?.[n]?.name ?? ''; If people isnt an array, or the nth person doesn't exist, or there is no value for their name, the code will still return an empty string and not surface an error. Some basic tests of the code can ensure that, if everything does exist as it should, that it will display a name. We have no known cases outside of a unit test of a person not having a name, but in the event that it happens, my code is ready. My coworker doesn't like this, he feels that if it's trying to access a nonexistent value, or a person doesn't have a name for some crazy reason, that we should get an error I'm aware that type-checking could help resolve the specific problem above. This is just an example for the discussion, not an actual sample of our code My coworker would prefer to say: const name = people[n].name; His argument is that if there is a problem that could cause a nameless person or an invalid index, it should be a glaring, page-breaking error, so that we catch it before releasing to the customer. He feels that there are some things that you should always be able to trust, such as someone always having a name, and if you don't, then your code becomes bulky and incurs its own form of tech debt. I fear that we can't necessarily know all possible ways that a person can be created or passed in and that we could have a worst case scenario of the code completely breaking customer-side What are people's thoughts on this? Are there any particular good articles you have read about this? Am I being too careful? [link] [comments] |
Can someone please make a porn blocker I can't unblock I'm too addicted Posted: 23 Oct 2020 10:19 PM PDT hey im kinda embarrassedto say this but im addicted to porn ive tried and tried so much to stop but i cant i kust cant anyways i tried to grab a list and put it in my hosts but im so addicted that i just remove them when i want to watch. what im asking is can someone send me some kind of permanent porn blockr? i dont want to know how it works or how its made because ill just end up reversing the block pls help If it helps I'm on windows 10 [link] [comments] |
How to setup and maintain a clean development environment? Posted: 23 Oct 2020 08:19 AM PDT Whenever I work on a new project I have to install a ton of dependencies which sometimes create conflicts which we all are familiar with. How do you guys deal with this? I figured using Docker containers would probably be a good idea. But I don't have much experience with those. If someone can point out the steps for creating a docker image for a project(like this one) that'd be great too! [link] [comments] |
numpy lexsort 2d array by 2 colums, from lowest to highest Posted: 23 Oct 2020 10:29 AM PDT So I have this 2d array, that I am sorting by 2 columns using lexsort. However when I use lexsort it always sorts in order from highest to lowest (Highest number being at index 0) I want to reverse this and have is sort smallest to largest (with the smallest row being at index 0. This is my code Does anyone know how I can set the lexsort to sort from smallest to highest? Thanks! [link] [comments] |
I need help figuring out which language to learn for a simple Fantasy Football Drafting app Posted: 23 Oct 2020 01:39 PM PDT I want to be able to host the app on a website that everyone can log into on their phones, and it'll be on my private server. It's really just for an inside joke, where whenever someone selects a particular player, there's a random percentage chance that a certain sound cue will trigger. I was initially thinking that a game engine like Unity would be best, but I'm just not quite sure if it won't be better to do it all in HTML or CSS. [link] [comments] |
How long would something like this take to develop? Posted: 23 Oct 2020 07:37 AM PDT I was curious how long something like this could be expected to take to develop? We are trying to get a sense if building this carousel was an efficient use of time. Bonus points if someone could give a rough idea of what it would cost. You can also check it out on our website at fishncanada.com, it's right on the home page [link] [comments] |
Would you translate technical terms in non-English interview? Posted: 23 Oct 2020 01:33 PM PDT This post is targeted mostly on people living outside English speaking countries, but everyone could give their input. Lets say you live in Germany and go to technical on-site interview. The interview process will most likely lead to 3-way dilemma:
Obviously, you would not translate names like React, Node, CSS, etc. But what about technical terms like 'design patterns', 'library', 'framework', 'hosting', 'package managers', 'rendering', 'back-end', 'module bundlers', etc? Would you try to translate them to something equal in German or would you stick with English, when mentioning them? [link] [comments] |
What is your favorite online code sandbox tool? Posted: 23 Oct 2020 01:33 PM PDT Setting up new project locally just for quick ideas and snippets usually is a bit of overkill, since it takes time to set up, requires use of many tools (like editor, browser and terminal) and you end up with extra files in your machine. That's where online code sandboxes come in. These requires no setup, includes all tools for tests/preview in single space and allow to quickly get rid of your snippets with just of a press of a button. For a long time I used a combination of [jsbin.com](jsbin.com) and [codepen.io](codepen.io), recently moved to [codesandbox.io](codesandbox.io) and never really looked back. What is your current favorite online code sandbox and why? [link] [comments] |
What has been your favorite API to work with recently? Posted: 23 Oct 2020 01:33 PM PDT Developers often integrate information from other applications into their own software. That's where APIs come in. A good API is consistent, well-defined, fast, secure, and returns exactly what is requested. Could you re-call some of your recent favorites? [link] [comments] |
Posted: 23 Oct 2020 12:58 PM PDT I am very much open to alternate suggestions. please help me out, thanks! [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