• Breaking News

    Friday, November 27, 2020

    When is modified open source software considered new software? Ask Programming

    When is modified open source software considered new software? Ask Programming


    When is modified open source software considered new software?

    Posted: 27 Nov 2020 10:01 AM PST

    Note this is just a curiosity, I'm not seeking legal advice. Essentially the "Ship of Theseus" thought experiment, applied to OSS.

    I'm working on a new project, and managed to find an old repo on Github that was the skeleton of what I needed. It only had a few commits in the first place and hasn't been updated in years, but it got me going so I forked it and started adding on what I needed. Fwiw it's under the artistic license 2.0, in case someone does want to approach this from the legal side.

    At this point very little of the original code remains, and it's about 10x bigger than it was when I forked it. It got me to wondering if it's technically changed to the point that I could remove references to the original creator (not that I care to, again just curious) and claim it as new software, and/or chance the license - or if since I forked it from existing software and technically still has a few lines of original code if it's considered to be the same program.

    submitted by /u/Xistance747
    [link] [comments]

    Web Contribution Showcase

    Posted: 27 Nov 2020 09:26 PM PST

    I want to make an app where you can show off your combined contributions to the internet. The issue I'm having is with authentication, how do I make sure users are posting their own work? With FB and Twitter there are APIs which let you access the user's posts, but with other websites (e.g. Artstation) I'm not sure how to do it efficiently.

    My current plan is as follows:

    1. Users specify their username for a given online community
    2. They login to that community using a WebView, and the app uses injected JS to ensure they use the same username
    3. If the login is successful (is there a way to tell using WebViews?) adding links from that community will be allowed
    4. Every time the user adds a link to a post on that community the app checks that the usernames match (possibly by accessing the link behind the scenes and doing a quick scrape of the page?)

    This has a lot of potential pitfalls and I was wondering if anyone knew a better way to handle this? (thank you!)

    submitted by /u/ChosenBeard
    [link] [comments]

    Which programming language do you think Tesla would use if he was alive?

    Posted: 27 Nov 2020 04:53 PM PST

    Could we run out of competitive programming problems?

    Posted: 27 Nov 2020 09:09 PM PST

    I've been on Codeforces for a while, and I know that there are many more. There are just so many questions that it's hard to believe there are no questions that have duplicate solutions. Will there ever be a point where we have to start repeating questions? Any help would be greatly appreciated :)

    submitted by /u/Confidence-Diligent
    [link] [comments]

    Program not running correctly C++ Login system

    Posted: 27 Nov 2020 09:03 PM PST

    So I am a university student learning computer programming and I was asked to make a login system with these specifications: When a user wants to start it, he needs to login with a username first, which will be checked with a file that stores username-password pairs. If the username is new, the application will ask for a password from the user and store it into that file. If the username can be found in that file, the application will ask for a password from the user, and the program will start only when the password is correct. The application will end if the user fails to provide the correct password in three consecutive trials.

    but my program is not running correctly and I am not sure what is wrong with it. It only prints out, Please insert your username and the username input worked but then the whole program just ends

    Here is the code: https://pastebin.pl/view/29bf3c8b

    any help will be appreciated.

    submitted by /u/Whitechu
    [link] [comments]

    NFL Games schedule?

    Posted: 27 Nov 2020 08:34 PM PST

    Does anyone know of any reliable api's / endpoints that I could hit for NFL season schedule, included the scores of the past games?

    I am debating building an NFL related app, but not sure if it is worth it, if I can not find some reliable endpoints to hit.

    Thanks!! :)

    submitted by /u/scorr204
    [link] [comments]

    Rarefaction & Nmds in R

    Posted: 27 Nov 2020 07:47 PM PST

    Hi, so I am super new to R. I am running two statistics tests, rarefaction and NMDS. My question is: will the graphs always use numbers (1,2,3,4) as the labels for the different treatments or should it be using the labels that have been assigned (site 1, site 3, site 4, site 5) etc.

    Thanks.

    submitted by /u/conservio
    [link] [comments]

    What jobs combine coding and healthcare

    Posted: 27 Nov 2020 01:09 PM PST

    I'm thinking about a career in tech and was wondering what jobs are currently available that combines medical science and coding. Right now I'm training to be a healthcare provider but kinda realizing it may not be entirely for me. Been messing around on code academy for a few days to distract myself. I remember I took a bioinformatics course in college a while ago that explored how to use coding to find genetic mutations in DNA samples that was quite interesting even though I didn't understand a lick of code. I can imagine myself in that niche combining software engineering with medical science. Anyone who have experience in that or know what jobs there are for that? Been learning python cus it was what we used in that bioinformatics class just to get my feet wet while procrastinating the upcoming med exams lol

    submitted by /u/Throwawayyy8246
    [link] [comments]

    Removing An Element From One Queue & Adding It To The End Of Another Queue In C?

    Posted: 27 Nov 2020 02:32 PM PST

    I'm struggling to remove an element from one queue and add it to another. How would you remove an element from the front of one queue and add it to the end of another queue via linked list implementation In C? I tried to my best to look through the internet for an answer but no luck.

    Output I'm looking for:

    Street 1 Enter Car ID: 5 Inserted Car: 5 Street Count: 1 Enter Car ID: 3 Inserted Car: 3 Street Count: 2 Deleted Value: 5 Street Count: 1 Street 2 Cars On Street: 5 Street Count: 1 

    Here's my code:

    #include<stdio.h> #include<stdlib.h> typedef struct carNode{ int carID; struct carNode* next; }carNode; typedef struct headStreet{ struct headStreet* nextStreet; struct headStreet* prevStreet; carNode *front; int count; carNode *rear; }headStreet; struct headStreet street1; struct headStreet street2; int Enqueue(headStreet *streetptr, carNode *temptr); carNode* Dequeue(headStreet *streetptr); int Display(headStreet *streetptr); int main(){ headStreet street; headStreet *streetptr; streetptr = &(street); streetptr->nextStreet = NULL; streetptr->prevStreet = NULL; struct carNode *temptr; printf("Street 1\n"); Enqueue(&street1, temptr); Enqueue(&street1, temptr); Dequeue(&street1); Display(&street1); printf("Street 2\n"); Enqueue(&street2, temptr); Display(&street2); return 0; } int Enqueue(headStreet *streetptr, carNode *temptr){ int value; printf("Enter Car ID: "); scanf("%d", &value); temptr=(struct carNode*)malloc(sizeof(carNode)); temptr->carID = value; temptr->next = NULL; if(streetptr->front == NULL){ streetptr->front = temptr; streetptr->rear = temptr; streetptr->count++; printf("Inserted Car: %d\n", temptr->carID); printf("Street Count: %d\n", streetptr->count); return 0; }else{ struct carNode* curptr = streetptr->rear; curptr->next = temptr; streetptr->rear = temptr; temptr->next = NULL; streetptr->count++; printf("Street Count: %d\n", streetptr->count); } return 0; } carNode* Dequeue(headStreet *streetptr){//Dequeues Cars from street struct carNode* curptr = streetptr->front; if(streetptr->front == NULL){ printf("Street Is Empty\n"); return 0; } if(streetptr->front == streetptr->rear){ streetptr->front = NULL; streetptr->rear = NULL; return 0; }else{ streetptr->front = curptr->next; streetptr->count--; printf("Deleted Value: %d\n", curptr->carID); printf("Street Count: %d\n", streetptr->count); } return curptr; } int Display(headStreet *streetptr){ if(streetptr->front == NULL){ printf("Queue Is Empty\n"); }else{ struct carNode* curptr= streetptr->front; while(curptr->next!= NULL){ printf("%d---->", curptr->carID); curptr= curptr->next; } printf("Cars On Street:\n"); printf("%d---->NULL\n",curptr->carID); printf("Street Count: %d\n", streetptr->count); } return 0; } 
    submitted by /u/DynasticINF
    [link] [comments]

    Programmers in central and western Europe.

    Posted: 27 Nov 2020 05:12 AM PST

    Hello! I would like to know how much in request are programmers and web developers, in countries such as Germany and the Netherlands. I'm looking to move there from Greece after I graduate from university. How easy is it to find a job and also, do they typically pay well?

    submitted by /u/sonicrack
    [link] [comments]

    Code documentation using a 3rd party tool or something like Confluence?

    Posted: 27 Nov 2020 10:50 AM PST

    We're looking for something we can implement for free or that we can add to Confluence (since we already pay for it). It doesn't have to be fancy, just something where we can put up function calls, which arguments to put in, and what the function does. Stuff like that. Similar to Javadocs. We're in a position right now where if a dev writes a new integration or a new system that they become "master of their domain", and end up being the only ones able to work on it since the patchwork of docs we have now doesn't really cut it.

    What does everyone use at work to keep track of code? We already comment where we can but I'm looking for a browseable solution, so a dev new to the system could poke around and potentially find some cool functions they weren't aware of.

    If it's relevant we use JavaScript and TypeScript. Vue on the frontend, Node on the backend. GraphQL with Postgres.

    submitted by /u/LookAtThisRhino
    [link] [comments]

    Struggling with relatively simple algorithmical tasks

    Posted: 27 Nov 2020 01:36 AM PST

    Hi. I have some experience with programming. In the past, I've programmed some bit advanced apps in C# to communicate with the server using API or to fetch data from the SQL database, some basic reminder apps etc. I think I have an intermediate understanding of the language and with the help of the internet and Google, I don't have much problem using external libraries or understanding more advanced concepts.

    Working with the programming language is not an issue for me.

    However, I've always struggled with basic algorithmical taks. And it makes me go mad. Think tasks like: implementation of simple Tic-Tac-Toe game with "who_won" function and "one_move_win" function. Implementation of slide function from 2048. You name it.

    These are some of the assignments I get in school, so when solving them, I always set the goal to solve them myself, without Google, because I feel they are basic and every to-be-programmer should solve them without issue. I should be able to solve them. However, I almost always fail. I /always/ approach the problem from the wrong side. I always come up with an ugly, unnecesserily complex and ineffective solution, and whenever I see the right, example solution, I feel like "How could I have missed that? That's so simple and easy!"

    I use too much loop cycles nested in each other, I use too many "if" conditions to catch exceptions in front of for loops when these can be simply implemented into the loop itself. You get it.

    Is there anything you can recommend? It's driving me crazy... I don't think that I'm too dumb to solve it. I just always have this tendency to overcomplicate everything. It is similar for me with math, which I've always loved, but sometimes solved the problem the long and hard way, when there was an easy, obvious solution all the time in front of me.

    Thank you all.

    submitted by /u/MelodicaMadness
    [link] [comments]

    Help with Cpanel backups?

    Posted: 27 Nov 2020 03:02 PM PST

    I'm trying to learn how to develop a shop on opencart, and some of the files that I uploaded as a theme appear to have broken the site. I had made backups of the server on my Cpanel, but when I restore to a backup it doesn't actually delete any of the troublesome files that have broken the site -- it only replaces the ones that it knows. Is there any way to do a full reset to my backup? One that would delete any mistakes i've made and take me back to before broke my opencart installation? I'm sorry if this comes off as a bit amateurish, but... I'm an amateur.

    Thanks!

    submitted by /u/triatath
    [link] [comments]

    What aspects of the planning process can a junior to mid level developer expect to partake in?

    Posted: 27 Nov 2020 02:38 AM PST

    Say you're working at a smaller company in a full stack engineer role (my goal).

    I assume a team lead would have around 5 developers under him with various levels of skill and competence. I'm guessing he knows what needs to be done, and turns to the team for ideas on turning a general idea into specific features in a group brainstorming session. Then the work is distributed based on each team member's self assessment of whether he can complete that specific task or not. In this scenario, the juniors and mid levels contribute to planning during feature ideation and acceptions of specific project tasks.

    How close is this to what typically goes on? Thanks

    submitted by /u/javascript_dev
    [link] [comments]

    Complex POS system with winform or wps?

    Posted: 27 Nov 2020 05:51 AM PST

    I would like to know if anyone here has had experience developing a complex point of sale system with winform or wps? Was it easier or much more harder than using some other language or technology stack?

    submitted by /u/madeactoaskthisq
    [link] [comments]

    The dimension must be known at compile time, the dimension must be a constant expression. Does this only apply to cpp but not c?

    Posted: 27 Nov 2020 05:40 AM PST

    What about this?

    int i;

    int arr[i];

    submitted by /u/JacksonSteel
    [link] [comments]

    Struct in map, associative array.

    Posted: 27 Nov 2020 12:38 PM PST

    Het fellow programmers,

    I would love an array made out of pointers to a struct, but indexed with strings. I am trying to do this by using "map", but i can't seem to get around it.

    #include <iostream> #include <map> struct File{ std::string name; int size; }; struct Folder { std::map <std::string, Folder*> folderindex; std::string name; File* files; folderindex folders; Folder* parent; }; 

    This is the error i get:

    5: error: 'folderindex' does not name a type folderindex folders; ^~~~~~~~~~~ 
    submitted by /u/E-Factual
    [link] [comments]

    Need to Escape EX - HELP?!

    Posted: 27 Nov 2020 10:41 AM PST

    My ex is a programmer who has not left my devices. How do I regain control?

    I am a bisexual girl who dated a transgender programmer. This is relevant because female/female breakups are the scariest.

    To make matters worse, we worked together on multiple startups. One was a cat cafe, one was a crypto project, and one was a vertical farming project.

    Now, I need to start something new / get my life together.

    To do that, I need her off of my computer, phone, etc.

    She's blocked messages, rerouted calls, etc.

    I have already tried wiping everything. I have already tried getting new devices.

    It's a software issue. I have been told it has to do with my Apple ID, my Google account, etc. But goes beyond basic support.

    Help?

    submitted by /u/CurrentAlternative78
    [link] [comments]

    Female Former Cat Founder / Entering Tech Industry / Need Advice

    Posted: 27 Nov 2020 10:11 AM PST

    I founded a cat cafe. I learned how to manage a business, and how not to manage a business.

    I took on a data science project in the crypto sector. I loved the job.

    I'm was an Econ major in college, but I was nervous about entering the tech industry then because I'm a blonde female who doesn't fit the mold.

    Now, I am ready to change that. Ultimately, I need to end up in SF.

    For someone new to the industry, what resources should I review?

    submitted by /u/CurrentAlternative78
    [link] [comments]

    Urgent Question : is C language that important?

    Posted: 27 Nov 2020 09:08 AM PST

    im 19 years old.

    im very familiar with programming. languages like Python and javascript and i want to pursue a career as a developer or a programmer. i am going to college next year to study Software engineering or Computer science.

    now i have been hearing alot of noise that i wouldn't survive in the industry if i don't know Cpp or C.

    im not a fan of C at all...the syntax just pisses me off...and newer languages are more felxible, easy and accessible. now i want some genuine opinions from you guys . hope you all can help me out

    submitted by /u/limopani77
    [link] [comments]

    Modifying a variable from another page

    Posted: 27 Nov 2020 07:50 AM PST

    Hello,

    I will try to be clear but sorry in advance if it's not.

    I am working on a web project and I would want to store the informations given in an HTML form, to use them in another file.

    To be more precise it's for a (false) travel site, the user gives his name, first name, number of people etc in a form and there is a tab where he can see his done reservation.

    Should I use JSON, PHP or something else ?

    I've no server, I only work in local or with Live Server.

    submitted by /u/ThysGuy0
    [link] [comments]

    New to micro services need to establish communication between .net and spring microservices

    Posted: 27 Nov 2020 01:40 AM PST

    I am a Java script developer newly entering Into microservices space. I have been asked on how to establish communication between .net and spring boot microservices where should I get started

    submitted by /u/Redditerpikachu
    [link] [comments]

    Recommendations for which language etc

    Posted: 27 Nov 2020 01:36 AM PST

    A friend and I are delving into the world of programming and I would like some advice. We want to make a website that uses a database that users can login and submit and lookup information as well as have an app on phones that will do the same thing with the same database. I have pretty much decided to use Java for the backbone with asp.net for the api's. I don't know a lot about programming and would be self learning throughout the whole process. I understand that it is a big undertaking but would like a simple layout that would help me set a direction. Doesn't need to be a long descriptive response. Just looking for a professional recommendation on where to start and whether to use Java with Mongodb or use php with mysql or anything else like spring framework or something. Any help would be greatly appreciated.

    submitted by /u/ccell90
    [link] [comments]

    Removing partial matches when comparing 2 lists?

    Posted: 27 Nov 2020 07:31 AM PST

    Heya, So I have 2 lists, one of 25,000 URLs, and one of 5,000 filenames. The URL's contain the filenames, in a sense - Www.site.com/this-is-a-file would be the URL, and This Is A File would be the filename structure.

    I am trying to remove any URL that is a match to a filename, to save time in the download process.

    Any suggestions for a novice to attempt this? I've been googling for a couple weeks and don't feel any closer to my goal here.

    submitted by /u/NotSafeForFungus
    [link] [comments]

    No comments:

    Post a Comment