• Breaking News

    Thursday, March 12, 2020

    How do group video calls work? Ask Programming

    How do group video calls work? Ask Programming


    How do group video calls work?

    Posted: 12 Mar 2020 04:02 PM PDT

    Let's say that ten people are in a video call all together using some sort of software like Skype.

    How does it work networking wise? I know it depends on the software too, but do usually all 9 other user send their "video" packets directly to the receiving user? Or do they first send it to some central server which then compresses it and send it as a single source to the final user?

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

    How do you use GitHub?

    Posted: 12 Mar 2020 03:59 PM PDT

    Hello! This is my first post here, so I may be wording some things weird. Anywho, I've always heard about GitHub, but whenever I try to use it, I get overwhelmed. What are pull-ups and requests? And how do you manage it? If you need me to be more specific, please tell me.

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

    VB/C# List of Generic Object Syncing.

    Posted: 12 Mar 2020 09:02 PM PDT

    Howdy,

    Working on a problem right now and having some trouble coming up with the actual implementation.

    I am currently trying to refactor a problem dealing with syncing of lists of generic objects (all from the same base type).

    I have a list that is filled with objects that are currently loaded from the database. I take in a new list of objects and need to update the database with object data.

    All objects have generic CRUD methods tied to them.

    The naive solution that I am trying to refactor:

    • Delete all objects from the original list (via object.delete() )
    • Insert all objects from the new list (via object.insert() )

    Great! That solves the problem of keeping the data in sync however, there is user facing Auditing tied to certain object's CRUD. This means that when we delete all objects from the initial list we get [1 Deleted], [2 Deleted], [3 Deleted].... and so forth displayed to the user. Same goes for the Insert [1 Added], [2 Added]...

    This makes no sense to the end user should they try and look through the Audit.

    This is a hard-coded procedure that happens in a lot of places (but not so bad that it can't be fixed!).

    My solution:

    • Create a static/shared method that modifies the original list
    • Within that method, perform the following:
      • Perform a left outer join on the initial list and the new list
      • Delete the items found in this, via the generic CRUD Delete
      • Perform a right outer join on the updated initial list and the new list
      • Insert the items found in this, via the generic CRUD Insert

    While, more expensive, this keeps the auditing in check.

    I feel like Linq is the way to go with joining these lists, but I'm really struggling on syntax. I am using this as a baseline

    Public Shared Sub SyncList(ByRef original As List(Of T), ByVal new As List(Of T)) End Sub 

    Basically, that example link implies that I know what member I'm matching on during compile time.
    After typing all of this, I realize this may be leading into a core design problem, but this system is so legacy that I'm not really in a position to change it.

    Anyways, would love to hear some thoughts or wtfs on this problem. Maybe I'm overthinking. Maybe I need to implement Equals on T? But idk how to do this dynamically, when all business objects inherit from T.

    Cheers.

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

    No idea if this is the right place to ask but I need to convert 10.75 X 7.2 inches into pixels and I have no idea how. Please help

    Posted: 12 Mar 2020 05:09 PM PDT

    Threading help C#

    Posted: 12 Mar 2020 08:19 PM PDT

    Hello, im attempting to add threading to my basic server, but I can't seem to get it to work, any help would be greatly appreciated.

    Thread t = new Thread(new ThreadStart(requestHandler.doRequest)); //This is the line that doesn't work

    t.Start(connection);

    class Handler

    {

    public void doRequest(Socket connection)

    {

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

    Help with Program in C!

    Posted: 12 Mar 2020 01:59 PM PDT

    I need help with this program. How can I change it to make it work with loops and arrays, instead of if-else statements? The program uses inputs and then displays the grades in a class with 4 quizzes, 2 midterms, and a final exam. Thanks!

    #include <stdio.h>

    int main (void)

    {

    int quiz1;

    int quiz2;

    int quiz3;

    int quiz4;

    int totalQuiz;

    int midterm1;

    int midterm2;

    int totalMidterm;

    int final;

    printf("====== QUIZZES =====\n");

    printf("Enter the score for the first quiz: ");

    scanf("%d", &quiz1);

    printf("Enter the score for the second quiz: ");

    scanf("%d", &quiz2);

    printf("Enter the score for the third quiz: ");

    scanf("%d", &quiz3);

    printf("Enter the score for the fourth quiz: ");

    scanf("%d", &quiz4);

    printf("===== MIDTERM ======\n");

    printf("Enter the score for the first midterm: ");

    scanf("%d", &midterm1);

    printf("Enter the score for the second midterm: ");

    scanf("%d", &midterm2);

    printf("====== FINAL ======\n");

    printf("Enter the score for the final: ");

    scanf("%d", &final);

    printf("\n");

    totalQuiz = quiz1 + quiz2 + quiz3 + quiz4;

    totalMidterm = midterm1 + midterm2;

    printf("First Quiz %4d\n", quiz1);

    printf("Second Quiz %4d\n", quiz2);

    printf("Third Quiz %4d\n", quiz3);

    printf("Fourth Quiz %4d\n", quiz4);

    printf("Quiz Total %4d\n\n", totalQuiz);

    printf("First Midterm %4d\n", midterm1);

    printf("Second Midterm %4d\n", midterm2);

    printf("Total Midterms %4d\n\n", totalMidterm);

    printf("Final %4d\n\n", final);

    return 0;

    }

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

    Research project building an objective and quality cross-platform news aggregator

    Posted: 12 Mar 2020 10:20 AM PDT

    Hi programmers of reddit!

    I'm currently building a cross-platform news aggregator as part of a research project for my degree. I was interested if anyone has any expertise and whom wouldn't mind taking 5-10 minutes of their time to provide qualitative evidence to justify much of my implementation. Any knowledge in the following areas would be of great help:

    • Cross-platform application development? E.g. Xamarin
    • Word similarity identification algorithms e.g. consine similarity
    • Developing applications with high usability

    Please drop a comment or DM me if you would' mind taking part, then we can discuss your method of choice for gathering the data.

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

    Is boolean algebra easy to learn?

    Posted: 12 Mar 2020 04:35 PM PDT

    Skipped a lecture because I was tired. Had a quick glance at it and it looked hard. But is it actually?

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

    Visual Studio 2019 errors with linking libnoise dll any ideas?

    Posted: 12 Mar 2020 04:26 PM PDT

    I have been trying to use libnoise and have linked it all but it seems like it just isnt linking correctly I am stumped on how to fix it. Here is one of the errors of linking: Error LNK2019 unresolved external symbol "public: void __thiscall noise::utils::RendererImage::Render(void)" (?Render@RendererImage@utils@noise@@QAEXXZ) referenced in function "public: void __thiscall Chunk::SetupLandscape(void)" (?SetupLandscape@Chunk@@QAEXXZ) Procedural-Terrain

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

    Help with Homework Questions

    Posted: 12 Mar 2020 01:03 PM PDT

    A user on the host 170.210.17.145 is using a Web browser to visit www.example.com. In order to resolve the www.example.com domain to an IP address, a query is sent to an authoritative name server for the "example.com" domain. In response, the name server returns a list of four IP addresses in the following order {192.168.0.1, 128.0.0.1, 200.47.57.1, 170.210.17.130}. Even though it is the last address in the list returned by the name server, the Web browser creates a connection to 170.210.17.130. Why?

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

    How to find missing files in long numbered list?

    Posted: 12 Mar 2020 11:54 AM PDT

    Hi all, i have a question. I have over 15k files with the suffix filename-00001 to filename-15000, and there are 20 missing files in this list. How do i find the numbers that are missing, what's the easiest way to do it. a progamming noob here thanks (i use windows)

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

    What are your thoughts for Xamarin framework

    Posted: 12 Mar 2020 06:06 AM PDT

    What makes xamarin different from react or ionic or angular ? Is it easy to learn it compared to angular or react?

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

    Price Compare Website script

    Posted: 12 Mar 2020 04:50 AM PDT

    I want to create a script or website to comapre products price from a few website and on the occasion learn programming. I dont know which language i schould to choose. Do u guys have any tips/tutorials to help me? I'm beginner in php

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

    Game has encountered a bug. Failed to load: js/plugins/No Level & EXP.js

    Posted: 12 Mar 2020 05:51 AM PDT

    Hello fellow programmers,

    I encountered this error while playing an old game.

    Can I just simply create an empty file with the same name? How can I fix it?

    Thanks

    submitted by /u/Free-_-Yourself
    [link] [comments]

    How to keep whole (large) team up to date with new software features?

    Posted: 12 Mar 2020 12:33 AM PDT

    Hi,

    In my team we are working on a quite large platform. We are divided into four smaller subteams, each consisting of around 5-8 people. Each team is responsible for a "section" of the whole system which are sometimes intertwined.

    The issue we are suffering from now is that each team cannot stay up to date with all the changes other teams do. For example if team Z made a change that is important for team X we might not know that. There is a trouble with communication, I guess.

    We do have sprint reviews every second week but it seems to not be enough, since presentations are more client-focused and mostly covers just the top of the thing.

    How do you approach communication issues in larger teams? How to you keep all team members up to date with what is being added to the software so that they have full understanding of what is going on and may answer questions, discover new opportunities and in generally have good understanding of the product?

    I know its impossible for everyone to know everything, but just to at least have general concept of the changes.

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

    Reason for my rejection of GitHub action?

    Posted: 11 Mar 2020 11:24 PM PDT

    Hi,
    I am a newbie in GitHub actions.
    Recently I created a GitHub actions as I had participated in the GitHub actions hackathon.
    But today i found out that my GitHub action was rejected! Stating "Not a suitable GitHub actions"

    This is my GitHub action- https://github.com/jainal09/strivio

    Its an awesome GitHub action were you can conduct a coding competition like hackerrank/code-chef
    With functionalities like custom Input/Output test cases and Individual code reviews via CI on GitHub.

    My question is What did I do wrong?
    Why was my action rejected?

    Regards,
    Jainal

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

    No comments:

    Post a Comment