Is my senior unreasonable or do I need to get good? Ask Programming |
- Is my senior unreasonable or do I need to get good?
- So... I feel like a lot of people are going for the tech field. Should I be happy or scared?
- Is it hard to learn how to program on IOS/Android from scratch? How should I do it?
- [HELP] DevOps with AWS CodeDeploy, CodePipeline, and Lightsail. Am I doing this right?
- Join the Developer's Inn Discord Server, a discord server to bring together programmers of all kinds to help each other out, collaborate and socialize with other developers!
- New potential programming experience...
- HTTP Web Server - wait until previous spawn process from request is complete before serving next request using queue scheme
- Can someone help me find an article that discusses all the different processing units in a computer?
- Help with the code(c++)
- Desktop apps development from a blank slate - What's the optimal future wise path to follow in 2020?
- Maximizing integral by optimizing in R and finding the best parameters under constraint
- What are Variables? (C++)
- RPi vs Microcontroller (Arduino/ESP32) for Raw Image Acquisition, Transmission and Processing?
- Does Atlassian use Atlassian to build Atlassian?
- The website is hosted with one webhost and the domain name with another. How do I stop Gmail flagging emails?
- C, heap buffer overflow error
- How To Secure Routes Using AuthGuard Based On User Role In Angular 10
- Need help connecting an ST7789 SPI screen to Raspberry Pi 1 B
- Need help on solving a problem
- django.core.exceptions.FieldError: Unknown field(s) specified?
- Does event handler face the same safety issue as Linux's signal handler?
- Python and C++ interaction
- Getting started with version control for a single developer with multiple projects
Is my senior unreasonable or do I need to get good? Posted: 29 Oct 2020 08:16 AM PDT I'm a first year dev working on a project with a senior. This guy has about 10+ years of dev experience and he moves extremely fast, to the extent that it's often faster to just let him do my parts. The problem I have with him is that he's extremely particular and its hard to intuit what he wants because he just expects me to know. For example, if I do something in a way that works and in a way that's technically correct compared to what I Google'd and what I learned in school, he'll reject it for not being his way but he never elaborates why or what his greater thought process is. He comments on my code like: "What the hell is this? Never do this. Why?" I then have to bother him to explain what he meant which makes him more angry, and then he says I should never do X and I should know that already even though I've never heard anyone say this before, even when I Google it. He's operating from best practices I've never seen before, my theory is that they're carryovers from another language/framework. I still defer to him to smooth things over. This should give you some insight into his couching style. The other problem I have is that he never comments his code. He writes comments to justify why he did something, but not explaining what the function is. We're just supposed to look at it and know. If I ask him questions or ask him to clarify things, he just gets mad and says something to the effect of "this is obvious..." and gets salty at me for even asking. The worst was the state management library we're using. He added it to the project without telling me what it was and nothing in the code told me what it was, and when I got stuck on it he said "write a reducer for that" and wouldn't elaborate what they was which just made it worse. Eventually I realized he implemented an NGRX library (which I've never learned) so I spent the weekend learning it, wrote my code then got told off by him for taking too long. I often wonder if a lot of this is Covid and the fact this is all through chat and not in person. Maybe I'm just shit at this. I don't know. I'm worried about him getting me fired. [link] [comments] |
So... I feel like a lot of people are going for the tech field. Should I be happy or scared? Posted: 29 Oct 2020 09:08 PM PDT Like the title says, should I fear for my future or be happy that it might actually get easier with more programmers? What are your thoughts? [link] [comments] |
Is it hard to learn how to program on IOS/Android from scratch? How should I do it? Posted: 29 Oct 2020 03:13 AM PDT I have ideas but not the money to pay a programmer to create the app so I'm thinking about learning how to do it myself. How should I approach it? [link] [comments] |
[HELP] DevOps with AWS CodeDeploy, CodePipeline, and Lightsail. Am I doing this right? Posted: 29 Oct 2020 06:40 PM PDT I needed to create a CI/CD Pipeline for a dev and prod environment and I followed this tutorial Using AWS CodeDeploy, AWS CodePipiline, and Amazon Lightsail but used Bitbucket. In a nutshell, I created a service role > s3 bucket > iam policy > iam user > lightsail instance > codedeploy application > deployment group > new bitbucket repository connections > codepipeline for the dev pipeline and it worked. The thing is, I also needed to create a pipeline for the prod environment so went back to the start and created prod service role > prod s3 bucket > prod iam policy > prod iam user > prod lightsail instance > prod codedeploy application > prod deployment group > new prod bitbucket repository connections > and prod codepipeline. In short, I created dev pipeline with new configurations, and I also created the prod pipeline with entirely new configurations. Am I doing this right? Do you have any advice for me? Any inputs would greatly help. [link] [comments] |
Posted: 29 Oct 2020 04:44 PM PDT Even if you're just learning how to program, or if you've been programming for years. Join the Developers Inn discord server. The goal for the discord is to bring together a community of programmers of all skill levels to help each other, collaborate and projects and socialize together! If you would like to join the server, click the invite link below. - Sky [link] [comments] |
New potential programming experience... Posted: 29 Oct 2020 04:37 PM PDT Im relatively new to programming, and was wondering if theres any programming language that could make a mouse move or type stuff etc. Just making something scary but not necessarily dangerous to prank my friends? [link] [comments] |
Posted: 29 Oct 2020 12:04 PM PDT I have a http server with a POST request to run a program (using nodejs spawn). The goal here is even though multiple users can make requests to run the program, the program can only run for one user at a time. I have the base code: And I want to add a queue on to it but am not sure how. E.g. have a job queue. How can I modify the base code to wait until the spawn program is done executing and serve the next user in the queue? Are there alternatives I could use? The goal is to have the spawn program running for one user at a time so if node is not the best approach I'd like to know other processes [link] [comments] |
Can someone help me find an article that discusses all the different processing units in a computer? Posted: 29 Oct 2020 03:43 PM PDT Once upon a time I found a really well written article that detailed the fact that your computer has several processors inside it. Not just the CPU, but network cards and hard drives also have tiny processors in them. I cannot for the life of me find this article again, so I come here hoping I can get some help finding it again. Thanks in advance! [link] [comments] |
Posted: 29 Oct 2020 01:53 PM PDT || I will appreciate the help and answers || I am learning c++ and I have writed a simple code which after running will display a number that you have entered. But I came across problem. I need the compiler? to display text: please enter any number. After that the number will be displayed. (WITHOUT THE TEXT) *Optionally how do I add function that user will write to numbers (a,b) And as output it will use 'sum' to add those two numbers. (int sum a + b;)? Here's the code: include <iostream>using namespace std; int main() { int a; cin >> a; cout << a; return 0; } [link] [comments] |
Desktop apps development from a blank slate - What's the optimal future wise path to follow in 2020? Posted: 29 Oct 2020 01:50 PM PDT TL;DR I come from Go\HTML\CSS\Javascript\Typescript full stack development and I want to learn how to build basic desktop applications with tray icon, notitications etc. If I were to be a complete blank slate what would be the best path to become a desktop app developer? --- I am a full-stack developer, my knowledge lies mainly in Go for my backends and VueJS\Nuxt for the frontends, and I am used to making them communicate with REST APIs. My typical workflow is to develop the APIs, code the backend (and database connectors), code the frontend, "package" them in a neatly usable docker container and deploy. I've also made some CLIs and TUIs occasionally using Go. It is time for me, as a freelancer that needs to extend his capabilities, to learn how to develop desktop applications, I am aiming at Windows but I recognize that a cross-os development flow would be better. I've browsed a while on the subject of desktop apps development and with the knowledge I have I saw that I could learn tools like:
However, since I am a blank slate regarding GUIs development I also stumbled upon frameworks\tools like Flutter which seems to be claimed by many as "the only true future". It does appeal me, but a quick look at Dart made me cry for its insane verbosity and I really hate the mechanic of throwing exceptions. Coming from Go, if any of you knows Go, I'm sure you can understand. Windows native development with WPF seems nice but I honestly don't like much C#, however as with anything, I'll learn it and use it if I have to. Needless to say that an easy way to accomplish common tasks is mandatory, like interacting with the filesystem, HTTP requests, a system tray, notifications etc. In a perfect world I could use Go, however the only real bindings are the Qt ones which is a paid license for commercial projects and the fee is too high for me. I am currently exploring the GTK3 bindings for Go and I haven't wrapped up my head for now. --- Languages I know:
Tools\Frameworks I know:
[link] [comments] |
Maximizing integral by optimizing in R and finding the best parameters under constraint Posted: 29 Oct 2020 12:56 PM PDT Hi there! I have this task where I'm supposed to use optimize to determine the parameters lambda and mu , under the constraint 3*mu+gamma=10/3, that maximize the integral that I've called stfinal in my code. All I get is a combination of errors, such as unused argument t. I seem to struggle since I've never used the method optimize/ optim with constraints in R before. EDIT: This is to be calculated in R [link] [comments] |
Posted: 29 Oct 2020 12:36 PM PDT I'm begginer in learning c++ and I have written something that I don't understand. include <iostream>using namespace std; int main() { int myVariable= 10; cout<< myVariable; return 0; } For example in: cout<< MyVariable Why there isn't " " ? //I assume that if I would add " " line cout would be a text line? And what is function of int and myVariable (alongside with numbers)? [link] [comments] |
RPi vs Microcontroller (Arduino/ESP32) for Raw Image Acquisition, Transmission and Processing? Posted: 29 Oct 2020 10:36 AM PDT Hi r/AskProgramming! I would like to use a camera module (such as the OV2640 for RGB, or the MLX90640 for IR) to capture an (ideally raw) image and then transmitting that information (the matrix of pixel values or the bytes, depending on which one is easier) through wireless (Wifi/Bluetooth/BLE) onto a receiving device, where it would then be processed and further transmitted or stored. I have looked at the RPi4 as the receiving device where the processing is done, as I see it's basically a micro computer, and could easily use C++/Python code in a Linux OS for the processing and further transmit. But for the acquisition part, would it be better to use a microcontroller like the Arduino series or the ESP32 to interface with the camera module and send the image pixels to the RPi? Is it even possible/feasible to transmit images/integer arrays over (serial) wireless communication? [link] [comments] |
Does Atlassian use Atlassian to build Atlassian? Posted: 29 Oct 2020 10:11 AM PDT |
Posted: 29 Oct 2020 08:13 AM PDT It's a contact form, I send emails from within a PHP script to a Gmail account and they are getting flagged. Gmail says SPF and DKIM need to be implemented but would they work when hosting and domain name are separate? [link] [comments] |
Posted: 29 Oct 2020 07:49 AM PDT task: is to make a function that scrambles every word in a string except for the first and last #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> typedef struct character { char letter; int num; } character; void scramble(char word[]) { if (strlen(word) < 3) { return; } srand(time(0)); character array[strlen(word)]; for (int i = 0; i < strlen(word); i++) { array[i].letter = word[i]; array[i].num = rand(); } int sorted_check = 0; while (sorted_check == 0) { sorted_check = 1; for (int j = 1; j < strlen(word) - 2; j++) { if (array[j].num > array[j + 1].num) { character temp = array[j]; array[j] = array[j + 1]; array[j + 1] = temp; sorted_check = 0; } } } for (int k = 0; k < strlen(word); k++) { word[k] = array[k].letter; } } void scramble_sentence(char orig[], char *scrambled) { char *copy = calloc(strlen(orig), sizeof(char)); *copy = '\0'; strcpy(copy, orig); char *token_ptr = strtok(copy, " "); scrambled[0] = 0; while (token_ptr != NULL) { scramble(token_ptr); strcat(scrambled, token_ptr); strcat(scrambled, " "); token_ptr = strtok(NULL, " "); } free(copy); } compiler flag: https://cdn.discordapp.com/attachments/755756199856701480/771380338374737950/unknown.png not sure what's causing this error, any help appreciated [link] [comments] |
How To Secure Routes Using AuthGuard Based On User Role In Angular 10 Posted: 29 Oct 2020 07:43 AM PDT https://www.geekstrick.com/angular-10-secure-routes-using-authguard-based-on-user-role/ Angular 10 Secure Routes Using AuthGuard Based On User Roles. Securing a route based on the token and AuthInterceptor for API is ok but also we can secure the routes based on what roles does the user has. [link] [comments] |
Need help connecting an ST7789 SPI screen to Raspberry Pi 1 B Posted: 29 Oct 2020 07:33 AM PDT I've tried looking for a diagram but all of them have something that is not listed in the diagram. (Screen I'm trying to connect to: https://www.amazon.com/gp/product/B082GFTZQD/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&th=1) [link] [comments] |
Need help on solving a problem Posted: 29 Oct 2020 06:46 AM PDT Consider the below example: I have two arrays with n and m number of values. I need to make maximum possible pairs in which values are not repeated based on a condition. Any idea which algorithm can help me get most optimized result? [link] [comments] |
django.core.exceptions.FieldError: Unknown field(s) specified? Posted: 29 Oct 2020 06:09 AM PDT When I tried to run makemigrations, it showed me this error: And I don't know if I'm doing anything wrong in the models.py: What's wrong with my code? :( [link] [comments] |
Does event handler face the same safety issue as Linux's signal handler? Posted: 29 Oct 2020 05:40 AM PDT |
Posted: 29 Oct 2020 01:50 AM PDT Hi guys, for a project I did some data analysis combined with ML to predict the future state of something in order to see if ML would provide better, more accurate results than the clients current algorithm. This prototyping was entirely done in Python. Now it seems that the ML model is indeed far superior and they wish to implement it in their monitoring application, which is for the most part written in C++. Would I be better of to try and convert the ML model to C++ or to embed / call the Python functions in / from C++. I dont have that much experience with C++ and chances are I dont get to actually work in their source code due to confidentiality, so im leaning towards writing the python functions in such a way that they are callable from C++ and they can implement it themselves but im not sure if this is actually possible / feasible. [link] [comments] |
Getting started with version control for a single developer with multiple projects Posted: 29 Oct 2020 04:23 AM PDT I've finally reached a point where copying and pasting folders isn't cutting it anymore, but I'm hung up on choosing a system (Git, SVN, Mercurial, Fossil, etc) because it seems like they're all designed for managing a large single project where people periodically make small branches that are merged back in. I'm in the opposite situation; I have a lot of small separate projects that I'm constantly developing locally and periodically I deploy a stable version to a remote machine. Is it possible to self-host one of the major common systems and have a workflow like this, or is there something more suitable for that stage inbetween needing a major mainstream VCS and just copying folders? edit: Self-hosting isn't a matter of preference, company policy requires nothing leave our infrastructure so whatever I use needs to be internal. [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