What’s the best way to deal with or reduce the occurrence of git merge conflicts? Ask Programming |
- What’s the best way to deal with or reduce the occurrence of git merge conflicts?
- Guidance on what to learn
- How do I stop myself from constantly re-writing my code?
- Why do you like programming?
- Is it possible for an app to know when a mobile device is on/off?
- Can you tell me of a site where I can post "projects" as well as "ask & answer" ?
- VBA For Excel Sugguestions
- Can u solve my kotlin doubt....
- .tr0 format: how's it work?
- How do I deploy instances of a ASP.NET Rest API with AWS? Very lost!
- Examples, in the last 20 years, of a single dev having a massive impact on the world with something they wrote?
- Could anyone explain what I did wrong? I've been trying for a while and I can't seem to figure out why it isn't approved.
- [Java] When should a member variable's type be an interface vs a class?
- Uploading node.js project to GitHub
- Spring JPA and Hibernate advice
- Need help choosing a JS Framework or a Better Method to Implement this App.
- Are there any search engines, extensions, or services that enable filtering results by loaded webpage size?
- Sports Scores API, RSS or Data Feed
- How can I get the most of a meeting with the project architect?
- Have individual white space preferences on Github project
- Where should I learn Python?
- Server question: Handling multiple ongoing games at once.
- Book recomendation [Intro. Algorithms or DOD]
- Need an opensource WebAPI that I can test
What’s the best way to deal with or reduce the occurrence of git merge conflicts? Posted: 26 Aug 2021 03:36 PM PDT How do devs work successfully within the same code base? I'm on a dev team that spends hours per 2-week sprint on merge conflicts and the like. Any best practices or positive experiences out there? Edit: within [link] [comments] | |||||||||
Posted: 26 Aug 2021 03:10 PM PDT I'm looking on guidance on what language(s) to learn in order to learn how to make scripts that control multiple windows/data. I work for a sales company, we do a lot of manual data entry/lookup, use a ton of excel spreadsheet & copy and paste and I basically want to learn how to create scripts to do this automatically for me. Basically a scrip that opens spreadsheet, logs into a secure website, plugs data from spreadsheet into website, takes results, puts them into different columns in the spreadsheet, depending on the data. We've hired people to make scripts, but it's a pain to constantly contact them/describe what we want in order to adjust them. We've also paid a lot of $ to outsource the data entry/lookup to Phillipines/India, but same issue with the adjustments. I have searched the forum and I believe what I need to learn is Python and then Selenium? However, I also had a lot of Macros mentioned as well as AutoHotDesk. So not really sure where to start. Thank you in advance for any help/input. I'm confident in being able to learn this as I went to school for computer engineering, did a ton of programming in college (15 years ago), but went into sales right after college and haven't touched anything technical since. Most of my sales guy coworkers can barely type with two fingers. [link] [comments] | |||||||||
How do I stop myself from constantly re-writing my code? Posted: 26 Aug 2021 03:20 AM PDT I find it really difficult to finish larger projects because I always have the urge to re-write my code from scratch. It's especially hard when I don't work on it for a while and go back to it. I feel like I need it all in my working memory to keep going. What's the best way to get rid of this habit? [link] [comments] | |||||||||
Posted: 26 Aug 2021 10:10 PM PDT | |||||||||
Is it possible for an app to know when a mobile device is on/off? Posted: 26 Aug 2021 09:38 PM PDT I want to make an app that includes some sort of timer functionality only while the mobile device is turned on. However, I am not sure if an app is capable of doing that. [link] [comments] | |||||||||
Can you tell me of a site where I can post "projects" as well as "ask & answer" ? Posted: 26 Aug 2021 06:57 PM PDT | |||||||||
Posted: 26 Aug 2021 06:13 PM PDT Background: Data Analyst Languages: C#, Python, C++ (Beginner), Some R, SQL Main Point: Can somebody please explain to me why VBA for Excel is so darn difficult and convoluted for me. I have built some decently complex subroutines that move sheets, rename, perform calculations while verifying data while finding every (n)th line in multiple tables and adding appropriate data (So Im not that terrible I think?) For the life of me I do not understand how it necessarily functions. Every time I think Im getting closer to a understanding of the structure or the syntax I get blasted to smithereens while Bill Gates laughs about his divorce. There seems to be a myraid of ways to do the same thing...such as:
Amidst the hundreds of options each object has some property with some method available. Its just a cluster of a mess in my head. When I think something should work it doesnt and then other times it does. When I Set a WS or a Range or try to fill in a complex Array it makes my life a living hell. Somebody please..recommend me a book or some tools that actually go into depth about VBA, its concepts, its syntax style etc. I have gone through a few books on VBA and all they do is talk about the basics of of course-- activating a range, using a worksheet, etc but come time to do some complex things and all those disconnected topics arent tied well into a cohesive code/program example. Most of the examples are so basic that I dont find it useful for me personally. If you think my foundation are off (I dont disagree I am not a CS major or Programmer by trade). Then please if you see underlying issues about things I may not know like OOP or Objects Vs Methods Vs etc..please recommend me some books or resources where I can get to the point that VBA STOPS being so convoluted and stressful. I just need quality rigorous material and Im sick of all these books/resources out there that just touch the surface and gloss over things but dont actually delve into the How, Why, What...and beyond. I need some life changing material or books to elevate my understanding of programming. The books that will make me go "AHA!" Its a tall request I know but when my logic fails me..I go to the programmer next door lol Edit: Changed some wording since the SuicideHotlineBot commented on my joke. 10/10 [link] [comments] | |||||||||
Can u solve my kotlin doubt.... Posted: 26 Aug 2021 05:55 PM PDT I'm a beginner in KOTLIN, I'm looking for some kind of library/framework that I can start using for GUI development with kotlin, my end goal is Android development so I expect your answers related to that, thanks in advance ! [link] [comments] | |||||||||
Posted: 26 Aug 2021 05:48 PM PDT Hey y'all, I'm trying to write an interface between python and hspice, and the output format is quite simply confounding. In particular, the header. I can edit this later when I get back to my computer again, but basically it looks like: ` (...) 0 1 1 1 1 1 1 TIME SIG1 SIG2 SIG3 SIG4... ` Followed by rows of data. The data I've parsed out just fine, but figuring out what column goes with which column header. Anyone have any experience with this? [link] [comments] | |||||||||
How do I deploy instances of a ASP.NET Rest API with AWS? Very lost! Posted: 26 Aug 2021 04:47 PM PDT My boss gave me a very open ended project that I have absolutely no familiarity with. I basically have a ASP.NET Core project that allows clients to input and store data. I want to set up a system that allows me to generate a new website and database (cluster ?) per new client to use. I've read about Elastic beanstalk, EC2, ECS, Farfetch, Lambda, etc, as well as Kubernetes and the like, but I'm a bit confused with the profundity of options (and bogged down by the exactitude of configurations). [link] [comments] | |||||||||
Posted: 26 Aug 2021 08:56 AM PDT I'm looking for inspiration. I remember discovering bittorrent back in the day and thinking 'holy shit, this one dude is forcing media companies to change'. I posted this question in a comment thread elsewhere, and realized that it probably deserved it's own post. Please limit contributions in the last 20 years. Examples provided: Bram Cohen, creater of bittorrent Torvalds releasing git (damned impressive considering how busy linux keeps him) Zuck releasing facebook Notch and minecraft Aaron Schwartz (rss, markdown, reddit) Satoshi Nakamoto and bitcoin (though one may argue this wasn't a positive impact) Solomon Hykes and Docker Jordan Walke and React [link] [comments] | |||||||||
Posted: 26 Aug 2021 03:57 PM PDT Problem: Write a function called censor that takes two strings, text and word, as input. It should return the text with the word you chose replaced with asterisks. My attempt: def censor(text, word): It keeps saying "Does your censor function take exactly two arguments, a text string and a word to replace with asterisks? Your code threw a "slice indices must be integers or None or have an index method" error. " any help would be appreciated [link] [comments] | |||||||||
[Java] When should a member variable's type be an interface vs a class? Posted: 26 Aug 2021 07:58 AM PDT I've seen that it's common to have a member variable be declared as having an interface type, but then (obviously) instantiated as a class implementing that interface. For example, the member might be
Am I on the right track, or are there other major reasons one might use this pattern? [link] [comments] | |||||||||
Uploading node.js project to GitHub Posted: 26 Aug 2021 12:31 PM PDT Sorry if this is easy for anyone, but I am new to this. I have made a project with Node.js and I want to upload it to GitHub. Should I upload the framework's files as well, or just the files I created ? Thanks in advance. [link] [comments] | |||||||||
Spring JPA and Hibernate advice Posted: 26 Aug 2021 12:01 PM PDT I'm pretty new to the field and have been building an app for both educational purposes and to use as part of a portfolio of sorts to apply to jobs. It has a React front-end and uses Java and PostgreSQL as the backend with Spring wiring the latter two together. It's sort of come together piecemeal as I learn each part of it, and I've changed things around a ton as I learn what I can and can't do with my current level of skill. As it stands, it has a database of movies from IMDB with a UI where the user can search for movies, get all of the info and a poster, rate the movie, and then look at their collection with the option to expand for extra details. I think the biggest struggle I've had to date in learning to write code is with spring annotations, particularly involving joining columns. To me, they seem so much more finicky than almost anything else I've messed around with. I did go with creating the tables myself in psql before trying to connect them with spring, and I've noticed that most of the tutorials I have seen seem to have spring create the tables for you. At least with the route I took, I find myself constantly struggling with getting the config exactly right in my Java code, and as I try to add other tables and relations, the situation seems just different enough that it can be an hours-long pursuit to get the annotations right. So, I was wondering if anyone has any advice on whether it's better to let spring create the tables and relations for me or to keep going with what I've done. I know this still involves annotations, which are even the same sometimes in both instances, but it seems the simpler route because I don't have to account for as much to at least get the server to spin up. Another side note... I don't seem to have a persistence.xml file and many of the solutions on StackOverflow involve configuring things there. Is this just because I didn't start my project with JPA in Spring boot? Do I need one? [link] [comments] | |||||||||
Need help choosing a JS Framework or a Better Method to Implement this App. Posted: 26 Aug 2021 11:57 AM PDT Below is the page i'm trying to make. It has three parts -
Current Approach(Hacky/unreliable method):Using jQuery with PHP (Not trolling). jQuery to change/get cell values/attributes and forming a SQL query. Merging the queries of all the table cell and storing them in a variable. Passing that variable to backend and using PHP function mysqli_multi_query with sql transactions to avoid incomplete data in DB. The method i'm currently using is not much scalable and I know it is not the best way to do it. Let me know if you have any suggestions how to implement this? Thanks in advance. [link] [comments] | |||||||||
Posted: 26 Aug 2021 11:48 AM PDT | |||||||||
Sports Scores API, RSS or Data Feed Posted: 26 Aug 2021 10:20 AM PDT Hey, Long time lurker, first time poster.. Looking for a reliable source of NFL and COllege Football scores and data. through the use of an API, RSS feed or something similar.. I currently screen scrape the data and it can get tedious at times, and I would like to move away from this. If there is a simple site that has the data and it's easier to scrape, that may be an option too, if site owners ok too. Looking for a free source if possible.. Also looking for other sports, especially if they have an API or RSS feed.. MLB, NBA, premier league, la liga, serie a, or any league they has active feed can start coding with.. Thanks! [link] [comments] | |||||||||
How can I get the most of a meeting with the project architect? Posted: 26 Aug 2021 10:11 AM PDT | |||||||||
Have individual white space preferences on Github project Posted: 26 Aug 2021 06:24 AM PDT I have a project that uses Github as version control. I like to use 4 spaces as the indentation and my colleague likes using 2 spaces. Is there a way to push to Github without sending whitespace and then letting our individual editors taking care of the white spacing? [link] [comments] | |||||||||
Posted: 26 Aug 2021 09:29 AM PDT I'm in Econ student, and I'm trying to learn python to use it for econometrics. I've seen many websites and I was wondering if anyone could recommend a website that's credible and potentially offers accreditation. [link] [comments] | |||||||||
Server question: Handling multiple ongoing games at once. Posted: 25 Aug 2021 11:47 PM PDT I'm working on a game and I'm not sure at the moment the best way to handle multiple games occurring at the same time. Right now for simplicity the clients connect directly to the server that manages the game state. The IP is hardcoded for now using either the 127.0.0.1 or my IP address using a specific port TCP/UDP. Which means that only 1 game can happen at once. So I know would need to create a game lobby for players to join rooms and then start their games. I'm thinking I would want to create a separate matchmaking server which clients would connect to first to handle the game setup. Then send the clients to the game server. So in my mind when the matchmaking server "starts the game" it would need to start a new instance of the game server. Communicate with the new game server instance to assign it a unique port to listen on(as it can't listen on the same port as the matchmaking server or any other server instances). Then send the IP and port of the game server to the client so the client can connect to the game instance. I thought this would be better because if 1 game instance happens to crash(assuming it doesn't crash the pc) it won't affect other games. And also it easily keeps each game separate instead of having to manage X number of game states from the same server and filtering the incoming traffic to the right game. Additionally I could have multiple PCs handling game server instances. But this still seems like a bad idea because I feel like I'm being wasteful with ports.(Also I'm not sure about proper etiquette of assigning ports except try to use 1 that isn't already registered or reserved. I feel like the dynamic ports would be best if I'm doing an unknown quantity of game servers) (I know I could have the matchmaking server designate 1 of the clients to also act as a server, but as far as I know that would A: expose the players IPs. B: make the server vulnerable to hacking and C: require port forwarding for the players pc to act as a server as they're likely behind a router.) I was wondering if this is a terrible idea or if there was a better way to go about this? (Due to the generality of the question I didn't go into specifics about my code, but I'm doing this in Unity using C#) [link] [comments] | |||||||||
Book recomendation [Intro. Algorithms or DOD] Posted: 26 Aug 2021 07:02 AM PDT Would you recommend to read Introduction to Algorithms by Thomas H. Cormen? I've been programming for some years in mainly C++ and I'm my interests are primarily low level (compiler programming, osdev, game engine programming, etc.) I'm between that and Data Oriented Design (I know, two entirely different books haha). I willw read both but Im still in college and dont know which one will be more educational for me overall (enthusiast/hobbist and academically). [link] [comments] | |||||||||
Need an opensource WebAPI that I can test Posted: 26 Aug 2021 06:32 AM PDT I have got an university assignment in which I have to perform mutation testing on an API. However, I couldn't find a good opensource API for which I could write tests (or one where tests already exist) and then do mutation testing. Do you know any API I could use? [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