how can i make an application for your friend without their antivirus having an aneurism? Ask Programming |
- how can i make an application for your friend without their antivirus having an aneurism?
- Why should I use Nginx over Tomcat, Gunicorn or IIS?
- Would an IDE plugin that comments out all console.log calls in your code be useful?
- How to design for my need - A dynamic array to hold the state of a grid?
- Looking for some API projects
- Difference between SOFTWARE DEVELOPER and SOFTWARE ARCHITECT
- Java Builder cosmetic changes, any downsides?
- How do I edit the font style of my site title for my wordpress theme?
- Why doesn't here need clearerr for feof?
- Game dev’s, how do game engines and coding tie together.
- Environmental Variables in cmd to python.
- Why am I getting this error message?
- Does git submodule add automatically pulls a repository's files?
- What would be the easiest language to learn for a complete beginner?
- CSS for custom google search box
- What language(s) allow more control for parallelization?
- Transition from Laravel to spring boot
- Can't figure out this error message.
- "Graph-oriented" programming language
- Another error message...
- I need help with extracting a number using a function without loops or cmath in C
- What would happen if you "coded your own" debit card?
- Should globals be avoided at all costs?
how can i make an application for your friend without their antivirus having an aneurism? Posted: 16 Jan 2021 06:20 PM PST i've tried so many times to make a simple python program into an executable and each fucking time i have to convince them i'm not trying to steal their credit card info. i doubt this is possible as if it was malicious programs would use this technique too, but is there any sort of license or authentication i could add to my things to make me seem sane??? [link] [comments] |
Why should I use Nginx over Tomcat, Gunicorn or IIS? Posted: 16 Jan 2021 10:37 AM PST So this is something I don't understand. When you're creating a web app, you can use stuff like Gunicorn for Python, Tomcat for Java and IIS for C#. Those are all usable in production and utilize multiple threads to serve requests. However, I see people choosing to use Nginx at times. I know that you can use Nginx as a load balancer and and API gateway but that can't be the only reasons to use it. Also, if you're running your stuff on Kubernetes does it really make sense to use Nginx as a load balancer/reverse proxy? I would appreciate it if someone could clear this up for me. [link] [comments] |
Would an IDE plugin that comments out all console.log calls in your code be useful? Posted: 16 Jan 2021 03:23 PM PST Many times I would have found it useful, yet I've never seen the ability and was thinking of making one. Maybe it's just me that runs into this tho. My scenario: Thinking mostly JS/TS (used in FE frameworks). Building some overlapping functionality, eg auth. Finished the login, don't need most of the console logs anymore, but create account/forgot password uses some of those pieces also, so I don't want to delete all them. Comment out all, then find the few left you need until the piece is complete. Yes, find and replace works, but right click on a folder or project and comment all would be quicker. Break points in the browser code have their place, but I almost always find logging to the console better, but maybe that's just me. [link] [comments] |
How to design for my need - A dynamic array to hold the state of a grid? Posted: 16 Jan 2021 05:38 PM PST I'm programming a game in unity and I made a Grid class. Whatever game object this Grid component is applied to, it will automatically build a grid on top of it. For a moment, imagine that you have a 2d square on screen of dimension 10x10. Once you apply this Grid component, it will overlay cells on it based on the grid "size". Let's set size to 1. You will have 10 evenly spaced grid spaces on top of your square. Now the hard part... I want to position other game objects on the center of the cell positions simply by calling grid.GetNextCellCenter(). Default behavior will start in the bottom left and fill in right and up. I want to see this list in the editor, with each game object that is occupying that grid space at the moment. Game objects can exit the space at any time, but a new object entering it must start on the bottom left as much as possible. What im struggling with is that I feel like I need both an array and list functionality in one:
Does anyone have any suggestions on how to do this, or do it by simpler means? [link] [comments] |
Posted: 16 Jan 2021 09:16 PM PST I'm looking for some simple API projects to complete. Nothing too elaborate and fancy. Just something to practice my JS skills. [link] [comments] |
Difference between SOFTWARE DEVELOPER and SOFTWARE ARCHITECT Posted: 15 Jan 2021 10:12 PM PST I wanted to know what is the difference between a software developer and a software architect, and what roles do they play in a company. I also have another doubt, is a systems software engineer the same as a software architect? NOTE: I humbly request members of this subreddit to understand I am not a very educated person, but very curious and willing to learn about programming. If my question seems stupid please forgive me. [link] [comments] |
Java Builder cosmetic changes, any downsides? Posted: 16 Jan 2021 02:57 PM PST Hi Everyone! I tend to use the Builder pattern a lot and I really like it. That is why, lately I've been writing builders a little differently, leveraging that implicit nature. Consider an object to be built that has an int as a mandatory parameter. } ``` I would combine them with some static factory methods and write something like this: ``` public class BuiltObject { } ``` Notice that the Builder constructor is private and also the Uses are something like (when static methods are statically imported):
What do you think? Do you see any downsides? Do you like it? Thanks! [link] [comments] |
How do I edit the font style of my site title for my wordpress theme? Posted: 16 Jan 2021 05:33 PM PST the tricky thing is that two letters in my site tittle need to be regular and three (in the middle) need to be italic. I know HTML, CSS, and some PHP basics. I am looking at the stylesheet document and I'm just not sure where/what to change. I'm aware about child themes etc. I will copy/paste the code her if you want to point out specifically what/where to make changes. [link] [comments] |
Why doesn't here need clearerr for feof? Posted: 16 Jan 2021 05:25 PM PST [link] [comments] |
Game dev’s, how do game engines and coding tie together. Posted: 16 Jan 2021 06:03 AM PST I know very little about game development and want to try to get into it but am pretty confused. When making a game I know you use an engine, I just don't know what that is and how it ties into coding. Also which engine would you prefer, I know that unreal uses c++ and I think unity uses c#? Thank you for all the replies. [link] [comments] |
Environmental Variables in cmd to python. Posted: 16 Jan 2021 05:08 PM PST In the cmd prompt in windows I have SET multiple variables to value however, when I try to interact with those environmental variables by import os and using os.environ[''] I get a Keyerror. [link] [comments] |
Why am I getting this error message? Posted: 16 Jan 2021 07:52 AM PST Please see my code snippet below.
I am getting the following error message: /home/ccuser/workspace/learn-javascript-objects-meal-maker/app.js:48 menu.addDishToCourse('appetizer', 'salad', $4.00); ^^ SyntaxError: missing ) after argument list at createScript (vm.js:53:10) at Object.runInThisContext (vm.js:95:10) at Module._compile (module.js:543:28) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.runMain (module.js:605:10) at run (bootstrap_node.js:427:7) at startup (bootstrap_node.js:151:9) I can't figure out why because all the ) are there!? I've tried commenting out the first line of code but then the error message just moves onto the next line with the same message about the missing ). [link] [comments] |
Does git submodule add automatically pulls a repository's files? Posted: 16 Jan 2021 12:59 PM PST AFter git init in a project, if you make a git submodule such as
can someone clarify thanks [link] [comments] |
What would be the easiest language to learn for a complete beginner? Posted: 16 Jan 2021 12:56 PM PST |
CSS for custom google search box Posted: 16 Jan 2021 12:56 PM PST On the site I'm trying to build: https://www.dynomotion.com/test/index-search.htm the cursor does not focus within the search box. Does anybody know I have done wrong? For the styling of the search, I use the following css: [link] [comments] |
What language(s) allow more control for parallelization? Posted: 16 Jan 2021 11:57 AM PST The main challenge I'm facing is that I have an "if" statement which, if triggered, needs to tell the other workers in a parallel process to wait. What language would be nice for this? I only have experience programming in MATLAB/Octave and a little bit of python, and the extent of my parallel programming experience is just I want to program an iterative method, where at every iteration
The bulk of the work in this algorithm is evaluation of the T_i's. I suppose I'm not really sure how to code the [link] [comments] |
Transition from Laravel to spring boot Posted: 16 Jan 2021 11:32 AM PST I live in an area where there are few php related jobs in place. Most of the companies are looking for java developers. So I'm going to do a quick transition from Laravel to spring boot in the upcoming weeks. Due to some personal reasons. I know it is hard to learn a full framework in few weeks. But in my situation I have to try hard. I have like 3 months of experience in java and servlets with jdbc. And 3 years of experience in Laravel building REST APIs and Web projects. I want to know how to map my current Laravel and java knowledge for a quick learning approach to spring boot. If anyone can give a path it will be really helpful. [link] [comments] |
Can't figure out this error message. Posted: 16 Jan 2021 11:14 AM PST I'm getting an error message for the code below which says 'unexpected token . '. And it's the . after this .
[link] [comments] |
"Graph-oriented" programming language Posted: 16 Jan 2021 04:44 AM PST Wich programming languages do you know except FORTRAN, R and Python, which are well suited for working with graphs? ( I'm interested in graphs like in graph-theory and not function-graphs) [link] [comments] |
Posted: 16 Jan 2021 08:23 AM PST I am getting the error message: this._courses[courseName].push(dish); TypeError: Cannot read property 'push' of undefined for the following code.
[link] [comments] |
I need help with extracting a number using a function without loops or cmath in C Posted: 16 Jan 2021 08:06 AM PST #include <stdio.h> int countDigit(int n) { if (n == 0) return 0; return 1 + countDigit(n / 10); } int digitExtract(int n, int d){ } int main(void) { int n,d; scanf("%d",&n); scanf("%d", &d); printf("Number of digits : %d", countDigit(n)); printf("The digit on number %d is %d", d, digitExtract(n,d)); return 0; } So if the user enters 3555 and 3 for example the code prints Number of digits: 4 and The Digit on number 3 is 5. [link] [comments] |
What would happen if you "coded your own" debit card? Posted: 16 Jan 2021 12:51 AM PST I'm guessing something like this would PROBABLY be illegal without first acquiring permits and everything so dont get any funny ideas- It's just a thought experiment. Lets say you understood how chip readers work, meaning you know what information they request from the chip and all the necessary steps needed to finish the transaction. You go home and create a shoddy debit card that has a chip you assembled that mimics the necessary steps. Now what if you made the chip tell the card reader that you have $25 in your account instead of $15 or whatever. There is no account obviously, it just sends dummy data in a correct way so the chip reader thinks everything is hunky dory. I feel like that could not possibly ever actually be a thing that could work... but I honestly dont see why it theoretically wouldn't. You could even set up some weird online "bank account" that the chip tells the chip reader where to look to see if there is enough money in the account-- you could obviously set that number to whatever you wanted. PSA!! I dont advocate that ANYONE even attempt to try that because its probably fraud lol. It's just a weird what if thought. [link] [comments] |
Should globals be avoided at all costs? Posted: 16 Jan 2021 12:17 AM PST I'm building an MVP and an advisor who's built 90+ apps advised to just get the MVP out then fix it later or hire a team. "There will be security risks you can't simulate regardless" For context, I keep running into problems that could easily be solved via globals, however the past week I've been trying to solve a single non-complex problem which would take a second if I use a global variable. I'm well aware of the benefits of not having globals however I'm not sure running away from it to the point where it impacts the deadline of product is a good idea, unsure how to gauge the situation. Would appreciate opinions. [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