• Breaking News

    Friday, December 18, 2020

    Google Kickstart Ask Programming

    Google Kickstart Ask Programming


    Google Kickstart

    Posted: 18 Dec 2020 08:18 PM PST

    It may be a vague question but how to prepare for google kickstart and what are the prequisities ,I have recently started coding and how to crack such a competition and how much duration is required?

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

    Would your advice to new starts be NOT to learn Java?

    Posted: 18 Dec 2020 06:45 PM PST

    I was in the ProgrammingBuddies sub earlier and someone asked a question about what language to learn and the top rated reply was basically: learn Python.

    They also specifically mentioned not to learn Java due to most jobs being fixing/maintaining old code. Is this true?

    I'm 3 years into a computer science course and have been taught Java all 3 years. Is it going to be essentially useless in the real world outside of fixing and maintenance?

    Should I be learning Python now?

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

    Detailed full steps how to use this python module on windows as a beginner?

    Posted: 18 Dec 2020 07:50 PM PST

    12 years of hobby Programming, 8 months professional Programming, what does this pay? (Midwest US)

    Posted: 18 Dec 2020 06:37 AM PST

    I also have 8 years Engineering experience.

    Currently making 80k/yr contract.

    Contracts are ending or will be extended next year. Not sure what kind of pay i should be expecting.

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

    How to make a soundcloud version of BlockTube extension?

    Posted: 18 Dec 2020 06:36 PM PST

    https://chrome.google.com/webstore/detail/blocktube/bbeaicapbccfllodepmimpkgecanonai

    I wanna use this to block an account from showing up in SoundCloud.

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

    Is there a way to find out my original Instagram file name I uploaded?

    Posted: 18 Dec 2020 10:09 PM PST

    Hello, I uploaded a photo, I would love to know the name of the file I did originally uploaded to Instagram, is there a way to find this out? The photo I uploaded looks a bit blurry. I feel maybe, I uploaded the photo with the wrong quality size, but im not sure, and I would only know by knowing the file name I uploaded. I though maybe, a programmer/coder can help me figure this out, thankyou! if I can find access to this information from my laptop. :)

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

    Is this possible

    Posted: 18 Dec 2020 09:27 PM PST

    Info about myself: extremely beginner coder, sales rep for a software company, real estate agent, and a guy who has a question

    My question: would it be possible to set up a coding automation to where if someone put their house up on a real estate application (i.e. Zillow) my email automatically contacted the email tied to that specific account inquiring them about the listing? If so, would python or html be the best to use?

    This might be extremely basic, but I'm very new to coding and it's a program I'd like to code!

    Thank you for everyone who helps.

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

    How to deal with GNU Recutils files under Windows?

    Posted: 18 Dec 2020 06:08 AM PST

    As part of a possible customer project, a system based on recfiles (.rec) is to be moved to a windows server. The previous Linux computer has probably experienced its last software update in 2013.

    Linux, cygwin, wsl or "any kind of virtualizations" are not desired because the future admin is not familiar with them and won't become familiar.

    Sqlite etc. are no options, because the data should be editable with a text editor.

    This is all out of my scope.

    There are about 13.731 files with 96,3 GB.

    The system consists of some bash scripts and approx. 100 Python2 scripts. Up to now I've found out that the Python scripts run recsel, recins etc.

    The Python2 scripts should also be ported to Python3 and the whole system should be "improved".

    The whole documentation of the project consist of handwritten poorly legible notes on paper.

    I think Python2 -> Python3 will need some time but not impossible for me.

    Up to now I've found:

    https://github.com/OJFord/recfiles-rs, it seems to be very early dev stage.

    In the past I would not have started such a project because the risks are not really manageable but because of Covid19 the situation has changed.

    Are there any ports of recsel, recins, recdel, recfmt, recfix etc. which can be used natively under windows?

    Thanks in advance.

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

    What's wrong with my quicksort?

    Posted: 18 Dec 2020 05:36 PM PST

    a sorted version wasn't printed out

    #include<stdio.h> #define swap(x,y){int t=x;x=y;y=t;} int i,j; void quicksort(int arr[],int begi,int endi){ if(begi>=endi){ return; } int midi=(begi+endi)/2; i=begi-1; j=endi+1; while(1){ while(arr[++i]<arr[midi]);//find the bigger while(arr[--j]>arr[midi]);//find the smaller if(i==j){ break; } swap(arr[i],arr[j]); } quicksort(arr,begi,midi-1); quicksort(arr,midi+1,endi); return; } int main(){ int arr[20]; for(i=0;i<20;i++){ arr[i]=rand()%100; printf("%d ",arr[i]); } printf("\n"); quicksort(arr,0,19); for(i=0;i<20;i++){ printf("%d ",arr[i]); } } 
    submitted by /u/JacksonSteel
    [link] [comments]

    Codesignal(python3) supported libraries

    Posted: 18 Dec 2020 05:28 PM PST

    I have a codesignal coming up for a machine learning position and was wondering if anyone knew which libraries are supported? I read somewhere that sklearn is the only ml library available. Can anyone confirm or deny this? Any advice information is appreciated, thanks!

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

    What's going on in a buggy scene like this in Cyberpunk?

    Posted: 18 Dec 2020 05:24 PM PST

    Desktop bluetooth libraray

    Posted: 18 Dec 2020 04:06 PM PST

    I am building a mobile app that communicates with a bluetooth device. I would like to build a simple desktop command line app for communicating with the bluetooth device for testing purposes.

    I am looking for recommendations on a good library that is well supported with strong documentation, and is simple and straightforward to use. Ideally it would be supported on Linux, but I am also ok with something on mac or windows if its a great library. No language pref, just want something that is easy to use.

    Thanks for any suggestions.

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

    File upload function between frontend and backend

    Posted: 18 Dec 2020 01:23 PM PST

    Hey guys!

    Really need some help with this web-note-application project.
    I'm doing a note-application where you can input text but I want to be able to upload a picture as well into the note.

    I want to add a "Choose file" function and be able to upload a picture. But I really don't have a clue how to make it work.
    I'm using SQLite as my database, so I'm guessing I need a foreign key to connect the picture with the note. Also using VSCode(Javascript, html) so some sort of a function and other stuff I'm not sure about and then Java as well to connect it all together.
    Would appreciate any help or tips.

    Linking to the project in GitHub:

    https://github.com/Majonett/Notes.git

    THANKS! <3

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

    What's wrong here?

    Posted: 18 Dec 2020 11:49 AM PST

    software

    Arduino ide is the software used for compiling and flashing program to ic....the mentioned program is not working..it doesn't have any logical error or syntax error... it is showing errors during flashing time or else, it may flash successfully...but in anyways, the monitor mode shows esptool error or reset error and some hexadecimal values

    Ic used is esp8266 12e

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

    My asshole roommate ran this script on my pc without knowing it's safe or not so can u tell me is it safe or what should i do

    Posted: 18 Dec 2020 09:23 AM PST

    // ==UserScript== // u/namesteam active script // u/namespacesteam // u/version0.1 // u/description steam active script // u/authorMelon Tea Solutions Limited & Steamhk.com // @match *:/store.steampowered.com/account/registerkey* // @grant GM_addStyle // @require https://code.jquery.com/jquery-3.2.1.min.js // ==/UserScript== GM_addStyle("#registerkey_form {display:block !important}"); (function() { 'use strict'; $.noConflict(); jQuery('#accept_ssa').prop( "checked", true ) .change(function(){ jQuery(this).prop( "checked", true ); }); jQuery('#product_key').bind('paste',function(){ setTimeout(function(){ jQuery('#accept_ssa').prop( "checked", true ); RegisterProductKey(); },100); }); })();

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

    How to create an online database?

    Posted: 18 Dec 2020 09:23 AM PST

    Hi programmers. I have created a database in Excel for some calculations, but I struggle with a few issues:

    1. The more data I put the slower (very slow) become my files, and I need plenty of data, infinite even.
    2. I dont know how to control access, its very delicate info, but I need a couple of people to have access to it only on my command.
    3. Sometimes I add samples from dates that dont follow previous order of insertion, but I do need to place them where they should be according to the dates, so its very annoying to search where they should go, id like to automate that process.
    4. I cant automate enough as I have to use different files because otherwise its very slow.
    5. I run some mathematical models with the data I use, and I have to update them every day, it takes me over an hour a day every update which makes it very slow as well.

    Now I have another issue in venturing to create an online database. There are like a million advices and a lot of them profit influenced, Im absolutely lost in here. Finally, I would happily delegate this project if it werent that my math calculations are very private, I cant grant access to anyone to my math. Can you help me understanding my best options?

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

    Trying to write on a structure with a function (C)

    Posted: 18 Dec 2020 05:09 AM PST

    Beginner coder in this post.

    Im trying to enter values into a structure i created but it cant seem to work for anything but the "char name[50]" value. Its the only thing that actually enters and outputs when i run the programm. Im attaching a photo that shows the output as well. I cant understand why the other values arent getting any value in it. Thanks for anyone that helps!

    PS: Sorry for the format but on mobile and it removes the spaces..

    #include <stdio.h>

    #include <stdlib.h>

    #include <string.h>

    /* run this program using the console pauser or add your own getch, system("pause") or input loop */

    struct ypallhlos{

    char name[50];

    int am;

    short type;

    int ohour;

    double misthos;

    };

    void gemismaPedion(char name2[50], int am2, short type2, int hour2, double misthos2);

    void emfanishPedion(struct ypallhlos ypo);

    int main() {

    struct ypallhlos yp1;

    gemismaPedion(yp1.name, yp1.am ,yp1.type ,yp1.ohour ,yp1.misthos);

    printf("\n");

    emfanishPedion(yp1);

    // PAFSI PROGRAMMATOS

    system("Pause");

    }

    void gemismaPedion(char name2[50], int am2, short type2, int hour2, double misthos2){

    struct ypallhlos ypo;

    printf("Dwse onoma : ");

    scanf("%[^\n]%*c", name2);

    printf("Dwse arithmo mitroou : ");

    scanf("%d", &am2);

    do{

    printf("Dwse typo ptixiou (1 ews 7): ");

    scanf("%hd", &type2);

    }

    while(type2 < 1 || type2 > 7);

    printf("Dwse yperwries : ");

    scanf("%d", &hour2);

    printf("Dwse mistho ypallhlou : ");

    scanf("%lf", &misthos2);

    }

    void emfanishPedion(struct ypallhlos ypo){

    printf("Onoma ypallhlou = %s \n", ypo.name);

    printf("Arithmos mitroou ypallhlou = %d \n", ypo.am);

    printf("Typos ptixiou ypallhlou = %hd \n", ypo.type);

    printf("Iperwries ypallhlou = %d \n", ypo.ohour);

    printf("Misthos ypallhlou = %lf \n", ypo.misthos);

    }

    Input:

    Dwse onoma : stackoverflow

    Dwse arithmo mitroou : 45

    Dwse typo ptixiou (1 ews 7): 4

    Dwse yperwries : 5

    Dwse mistho ypallhlou : 954

    Output:

    Onoma ypallhlou = stackoverflow

    Arithmos mitroou ypallhlou = 0

    Typos ptixiou ypallhlou = 34

    Iperwries ypallhlou = 0

    Misthos ypallhlou = 0.000000

    Press any key to continue . . .

    Thanks in advance!

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

    What are the benefits of Netbeans over eclipse?

    Posted: 18 Dec 2020 08:45 AM PST

    I keep hearing how NetBeans is inferior to eclipse and intellij. Is there any benefit to Netbeans over eclipse and IntelliJ?

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

    html in an aspx not recognizing Razor

    Posted: 18 Dec 2020 12:00 AM PST

    I've been looking online and asking my group mates, but I'm trying to add an if statement in my .Net Framework html, but it only sees it as plan text to display. no luck on solution after nearly an hour.

    any idea would be appreciated.

    thanks!

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

    Hard time at computer science classes

    Posted: 18 Dec 2020 03:29 AM PST

    So this year I started high school and I've always wanted to be accepted in my best school from my county that's specialized in computer science. So, my grades were really good and I got accepted. We started with C++ and I have a really hard time learning it. I've never programmed before, the closest I got to programming were some HTML courses and that's it. So we've got 2 months until the end of the term and I'm failing class. I've tried learning extra, asked some of better classmates to give me a hand. They did but I still have a hard time dealing with the tests and so on, they're really hard for me. Has anyone been in a similar problem and does anyone have some tips on how to get better and understand it easily, that would be greatly appreciated.

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

    What's wrong with my stack program?

    Posted: 17 Dec 2020 10:07 PM PST

    nothing comes out after my input

    expected output:

    https://ibb.co/MV1pdPD

    https://ibb.co/GTZ7dkV

    mycode:

    #include<stdio.h> #include<stdlib.h> #include<string.h> struct node{ int value; struct node* next; }; struct node *top=NULL; void print(struct node* p){ if(p==NULL){ return; } printf("* *\n"); printf("* %d *\n",p->value); printf("* *\n"); printf("********\n"); print(p->next); } void mypush(int v){ printf("push %d into stack.\n",v); struct node *temp=malloc(sizeof(struct node)); (*temp).value=v; (*temp).next=top; top=temp; print(top); } int mypop(){ if(top=NULL){ printf("ERROR!\n"); return -1; } struct node *temp=top; int i=temp->value; top=temp->next; free(temp); printf("pop %d from stack.\n",i); print(top); return i; } int main(){ char input[10],vt[10]; int value; printf("Nothing in stack.\n"); printf("Please input the instruction:"); gets(input); if(input[0]==1){ strcpy(vt,&input[2]); value=atoi(vt); mypush(value); }else{ mypop(); } while(!eof(stdin)){ printf("Please input the instruction:"); gets(input); if(input[0]==1){ strcpy(vt,&input[2]); value=atoi(vt); mypush(value); }else{ mypop(); } } } 
    submitted by /u/JacksonSteel
    [link] [comments]

    How to keep components feeling responsive when update is delayed?

    Posted: 18 Dec 2020 12:21 AM PST

    TLDR: How do I handle controls that are slow to have their state updated?

    I have a web app that controls devices via http requests. My controls essentially send a command request, and then after that resolves, send another request to query the state of the device.

    Sending a command to a device and having that device accept the command and apply it can take longer than the 0.1 seconds (or whatever the imperceptible amount of time is).

    A more concrete example might be, say, a checkbox/toggle component that toggles LEDs on the device.

    My questions are: 1. What is a good way to handle this so that the user doesn't feel that their actions aren't accepted by the UI immediately? 2. Is there a standard name or standard terminology for this situation that I'm describing?

    Some approaches I've considered for the scenario of turning the LEDs on: 1. Update my toggle right away to the active state, regardless of the device state, and then wait for the follow-up query to either affirm that state or snap my toggle back to off. 2. Just wait and let the UI seem unresponsive until the follow-up query updates the toggle to the correct position. 3. Show a loading spinner over the whole page/container of all controls if any control is waiting for an operation.

    At the moment, option 1 seems best, but can we do better?

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

    No comments:

    Post a Comment