• Breaking News

    Friday, March 27, 2020

    Combining data series for best match to a target series? Ask Programming

    Combining data series for best match to a target series? Ask Programming


    Combining data series for best match to a target series?

    Posted: 26 Mar 2020 06:36 PM PDT

    Need help with Freshman Computer Science Project Ideas

    Posted: 26 Mar 2020 05:03 PM PDT

    I've got a Freshman CSC project due this semester and I'm scrambling for ideas. Any recommendations? Hardware does not need to be involved.

    EDIT: Hardware does not need to be involved but we need to use GitHub and Python to make the program.

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

    Good subreddit for funny,disastrous,mischievous or heroic software development stories...

    Posted: 26 Mar 2020 09:21 PM PDT

    Wondering if there's a good subreddit that has software development horror and/or success (true) stories. I'm sure there's a subreddit for these same kinds of stories for any kind of job. I always enjoy reading the good and bad about this profession. Sometimes reading a good story and how people handled a project or feature or bug or how the recovered or not from a big mistake makes for an interesting read..

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

    How to find the space complexity for this code?

    Posted: 26 Mar 2020 06:52 PM PDT

    double foo (int n) { int i; double sum;

    if (n == 0) return 1.0; else { sum = 0.0; for (i = 0; i < n; i++) sum += foo (i); return sum; } 

    }

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

    How are you building work from home dev environments?

    Posted: 26 Mar 2020 06:24 PM PDT

    As a developer, how are you working remotely?

    This is a new scenario for lots of people, and I think people are struggling to create good development environments using their home computers.

    Started accessing office network via VPN and using my work machine with VNC. But, latency is a bit high for typing and its not productive.

    Next, tried using Visual Studio Code in my home machine, and Remote SSH Extension for loading source code and development tools (linting, compilers, interpreters, etc) on my work machine. This made things a bit easier, but latency for saving files and waiting for VSCode Git Extension scan changes is a bit high, bothering me.

    Made a separate Firefox profile too, syncing with my work machine, and it's great.

    I am not keen of copying company source code on my home computer, and starting mixing personal and work files. I like to compartmentalize things.

    How do you do?

    Separate VM? Separate Linux user? systemd nspawn container? Separate OS installation? Separate computer? How do you avoid mixing things and making a mess?

    PS - Don't have company issued laptop - very small company PS - Running exclusively on Linux PS - Databases (production/development) and data stays at company network

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

    Brand new to coding, looking for help on a senior project

    Posted: 26 Mar 2020 03:34 PM PDT

    Hey all,

    So, I've taken a couple of courses on C but they weren't as involved as this project that I'm working on requires and I am in need of some guidance. I've taken a few pieces of code from the Arduino public libraries and kind of....attempted to splice them together, so bare with me here.

    What I'm trying to do is create a calculator that takes 4 variables provided by user input via an IR remote (Didn't have the keypad in my kit) and performs a formulaic calculation and prints out the result. Since I pulled code from a program designed to use a keypad there is a couple things I'm trying to translate to the way the IR code/library is set up.

    Specifically, I'm wondering how to differentiate between the variables as they are entered. I see the code I have here will take the IR remote input and store it, and later use it to perform the calculation...but how do I move from one value to inputting another? For instance, I enter 1 for Num1, how do I enter Num2 without overwriting Num1?

    I also left in part of the keypad code because I'm not sure what the function if it is, if anyone could tell me what the function of the below is it would help as well.

    key=kpd.getKey();

    Again I apologize for the mess of code, very much a newbie at this stuff.

    https://controlc.com/ef16e588

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

    JS based Cheque OCR/ Verification

    Posted: 26 Mar 2020 03:04 PM PDT

    Anyone know a good JS based Cheque verifier?

    Want to basically do what a mobile deposit app does but client side from client uploaded images.

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

    What HTTP Code to use when deleting a record fails and why?

    Posted: 26 Mar 2020 07:02 AM PDT

    We're discussing between using a 200(false) and a 404, with exceptions being thrown in case of any other failure.

    What is the general practice here?

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

    How to code a digital display that updates via the web?

    Posted: 26 Mar 2020 07:23 PM PDT

    Kind of morbid, but I saw a guy with a small digital display of the current number of COVID-19 cases in different states. How would one go about programming something that updates like that?

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

    Is .Net worth learning for web development?

    Posted: 26 Mar 2020 06:14 PM PDT

    I see a good amount of job postings for .net stacks, but I never really see any post or videos talking about it. I guess I'm just wandering why that is and if I'm missing something?

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

    What is your debugging process

    Posted: 26 Mar 2020 05:59 PM PDT

    Actuarial/Insurance Tool

    Posted: 26 Mar 2020 04:48 PM PDT

    Hello,

    I need help programming a simple calculator preferably within excel or which ever language is suitable for my request.

    I am trying to create a calculator that asks you 6 questions and determines the eligibility from your answers and also gives you an numeric output from the table of data given

    My idea is related to insurance rates, and I will also compensate you for helping me as well.

    Please DM me if youre interested

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

    How do people code OpenGL type stuff?

    Posted: 26 Mar 2020 04:42 PM PDT

    I am pretty new to programming, I've learned the basics of C# and C++. I know how to make console apps, but that's where it stops for me. How do people make functions for making a triangle pop up on the screen. How do people make graphics without any IDE or Libraries? I am not sure if I explained this right, if none of this makes sense just tell me and I'll try to word it differently.

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

    What should programming and web development professionals expect after COVID-19

    Posted: 26 Mar 2020 11:16 AM PDT

    Trigger warning if you get anxiety:

    The economy has tanked. I'm hearing about mass layoffs already in the immediate retail and hospitality fields. I expect this to spread to other industries within the next couple months, especially once the pandemic is over.

    My question is how do you think the tech and programming industry will fare? Will more companies look to higher contractors or full time? Will full-timers expect to be let go? Which fields will have it worse? Anyone around during the Recession a decade ago have insight?

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

    Does the ubiquitous incompetence of government computer systems or lack thereof upset you?

    Posted: 26 Mar 2020 02:56 AM PDT

    The easy go to example is the BMV. The BMV at this point is basically a jobs program that could be replaced with a website and it would cost 1000th of what it currently does and save everyone in the country a few hours every year.

    The IRS would be another example. It's a large bureaucracy buffered by a complicated telephone menu system. The rules are extremely unclear and only become clear if you put a lot of effort into getting correct answers.

    I see this in a lot more places but those two are easy to share. I just basically see government jobs programs effing everywhere. There are so many things that could be replaced with technology but instead of doing that we pay more for bureaucracies that by their nature are allergic to change.

    Please tell me you see this sort of thing too. It's particularly evident whenever I go to the BMV but I know it's a problem across a lot of government sectors.

    submitted by /u/Minute-Guava
    [link] [comments]

    Is Delphi still relevant in 2020?

    Posted: 26 Mar 2020 02:20 PM PDT

    I found quite a few Delphi textbooks from 2001 that were quite literally rotting away with the wood underneath it in a storehouse. I had to throw them away because they were unreadable.

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

    How to Replicate This Program?

    Posted: 26 Mar 2020 01:38 PM PDT

    Basically this program (link below) takes a users genetic ancestry results and then shows where they cluster on a map (based on reference population results).

    My questions is how would I go about making a similar program, though modified a bit (different map and reference populations).

    I don't know anything about programming, so if you think this would be too hard to learn how to do in a couple days, any ideas about commissioning someone to do this?

    https://gen3553.pagesperso-orange.fr/ADN/similitude.htm

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

    How are CS jobs currently doing in this economy?

    Posted: 26 Mar 2020 09:34 AM PDT

    With this whole pandemic thing going around, I know tons of people in non-essential jobs are either losing their jobs or getting their hours cut. How are CS jobs (and those of you already in the field) doing currently? I will be entering the CS workfield soon, and just want to know how stable the job market is and how my job security would be in case something like this happens again in the future. Also, are there any particular fields that are more secure than others?

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

    Help with ReClass

    Posted: 26 Mar 2020 12:41 PM PDT

    I'm trying to use ReClass on APB Reloaded

    I managed to get around EAC and choose APB.exe

    My problem is that nothing really shows up...

    Here is a picture of what I'm talking about

    Image Link

    Everything is equal to zero... Please if you know why and how to fix it I will really appreciate the help!

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

    Fibonacci Fiasco in Java

    Posted: 26 Mar 2020 07:59 AM PDT

    I am trying to write a program in Java that takes a user input on N and finds the Nth number in a Fibonacci sequence. I wrote a method that adds the next number in the Fibonacci sequence to an array that was prepopulated initially with two elements containing "1" as an Integer object. The method takes the length and last two elements in the array and adds them up[ to create the next element in the array. The method was written rather than the code added to the loop for myself to keep the code more organized.
    When the program runs, the user inputs N and then nothing happens when it is supposed to compute and print N.
    Any help would be appreciated. I am still learning.

    import java.util.ArrayList;
    import java.util.Scanner;
    public class Main {

    public static void main(String[] args) {
    System.out.println("Please enter the nth number to generate the Fibonacci sequence to:");
    Scanner input = new Scanner(System.in);
    int n = input.nextInt();
    //initialization of the arraylist and initial population
    ArrayList <Integer> sequence = new ArrayList<Integer>();
    sequence.add(1);
    sequence.add(1);
    //for loop that is supposed to add a number to the sequence if it is shorter than N.
    //once it reaches N, it is supposed to print N value of the arraylist.
    for(int count = 0; count == n; count++){
    if(sequence.size()-1 < count){
    addNewtoSequence(sequence);
    }else{
    System.out.println((int) sequence.get(count));
    break;
    }
    }
    }
    //method to add the next fibonacci number to the sequence
    public static void addNewtoSequence( ArrayList<Integer> sequence){
    int length = sequence.size();
    int last = (int) sequence.get(sequence.size()-1);
    int secondtoLast = (int) sequence.get(sequence.size()-2);
    int n = last + secondtoLast;
    System.out.println(n);
    sequence.add(sequence.size(), n);
    System.out.println(sequence.get(n));
    }
    }

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

    I want to create a program that imitates my handwriting - How should I start?

    Posted: 26 Mar 2020 11:29 AM PDT

    Lately, due to the quarantine, I had to handwrite a lot of stuff for school, and I want to easen my work.

    What I want to do, is create a program that takes a .txt or .docx file and transforms the writing in it in such a way so that it will resemble my handwriting.

    My idea is to create 3 or more versions of all the letters (drawn in Photoshop or something similar). The program should then, take every letter one by one from the .txt file and chose randomly one version of that letter and somehow place it in another .txt. The hard part is that I also want to randomly rotate that letter by a few degrees and to somehow place it slightly higher or lower, so that it would seem like something written by a human.

    I don't write in cursive anymore, I think that my type of writing is called print or block handwriting, so I don't have to find a way how to join the letters together.

    Now, I don't have the smallest idea where to start. How could I put "custom" letters in a .txt file and rotate/translate them a little? Should those letters be pictures or maybe create more fonts with even more versions for the letters (eg. letter A slightly rotated left, slightly rotated right, slightly upwards etc.)?

    I believe that for this type of program, Python, might come in handy, could you also recommend me libraries or maybe another language for this?

    submitted by /u/Snipa-senpai
    [link] [comments]

    [Python] How to use socket alongside a tkinter GUI?

    Posted: 26 Mar 2020 10:33 AM PDT

    Hello! If I wanted to set up server and client programs where the server is running a tkinter GUI, how do I let the server interact with the client while root.mainloop() is running? To clarify, I was originally running a "while True" loop in the server and program to allow them to send and receive data. However, I'm not sure how to replicate this when the server is running a tkinter GUI. Thanks in advance!

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

    Are there two or more different meanings of the concept "master-slave"?

    Posted: 26 Mar 2020 06:25 AM PDT

    HELP NEEDED

    Posted: 26 Mar 2020 01:56 PM PDT

    What are some easy but appealing programming based projects I can do to make my college professor happy????

    Thanks in adv

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

    No comments:

    Post a Comment