• Breaking News

    Monday, March 23, 2020

    Survey about computer use Ask Programming

    Survey about computer use Ask Programming


    Survey about computer use

    Posted: 23 Mar 2020 04:26 PM PDT

    Hey , if you have a moment I would really appreciate if You could help me and fill up survey about computer use and it's association with musculoskeletal pain. I really wanna get graduated this June !!! And I need y'all help

    Thank You!

    https://docs.google.com/forms/d/e/1FAIpQLSeWcx8omm6_i4915UHTcZJxBnRDWQlnX1ln6p8rqNC7se98tg/viewform

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

    Interview request

    Posted: 23 Mar 2020 03:23 PM PDT

    I am currently a CS student that has an assignment to interview software developer. I would greatly appreciate it if someone would take the time to answer the questions I have. Thank you very much.

    Questions:

    What are the major professional organizations to know/join?

    What are the major scholarly journals in our field?

    Which annual conferences should I be familiar with and consider attending one day?

    What are a few of the current hot topics in our field?

    Which websites provide the best resources relevant to our field?

    What is the standard documentation style for my discipline (i.e., APA, Chicago Style, MLA, etc.)? And, what is your suggestion for the best handbook or website to use to follow this documentation style correctly?

    What are some common career paths in this field?

    How did you become interested in computer science?

    What skills, abilities, and personal attributes are essential to success in your job?

    What are the most effective strategies for seeking a position in this field?

    Can you suggest anyone else I could contact for additional information?

    What skills, experiences, or other factors will help my resume stand out to employers?

    What should I do to prepare for emerging trends and changes in this field?

    What skills do you wish you'd learned before starting your professional career?

    What would you say were the most valuable courses you took?

    Edit: added interview questions

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

    does there any way to run OpenSSL encode command without password using java?

    Posted: 23 Mar 2020 10:39 PM PDT

    Need your kind help

    I need to encode text file using OpenSSL encode command inside java application. Does there any way to run OpenSSL encode command without a password?

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

    Accessing Instagram Basic Display API from java, and can that API allow access to the images of private users?

    Posted: 23 Mar 2020 03:47 PM PDT

    I've been trying to make an android app that allows me to repost posts without losing quality in the whole "screenshot and crop" process. I've tried every way I can to just load the post's html page source and pull the images from there, but I keep hitting roadblocks, so I'm trying the API now. I'm reasonably experienced in java, but still in undergrad on a CS degree.

    I haven't been able to find any documentation or stackoverflow questions on pulling data from the API, which is weird. I see some java projects that do it for me, but one is out of date, and the other likely is, but also doesn't seem to support pulling images. Right now I'm not even worried ab working it out in Android Studio either, I'm just trying a proof of concept type deal in regular windows java.

    If you can point me in any direction that helps me integrate the API into java, or explain why I can't, or point me to something that will help, I'd really appreciate it.

    And please tell me if the Basic Display doesn't allow access to private user's data if they're logged in, bc then I need to give up basically.

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

    Streaming Video sharing same virtual space?

    Posted: 23 Mar 2020 09:26 PM PDT

    I have a technical question regarding streaming video conferencing (i.e., zoom, skype, goto m, etc.) which may turn into a financial opportunity.

    Does anyone know how to get two people on the same streaming video presentation from two different locations?

    For example: I have three people video conferencing; one from NYC, another person from California and another person from Texas. The two from NYC and California appear in the same green screen room, with the same background. Split screens will not work for this client. They are looking for two people to be able to share the same virtual space via streaming in a conference. I have researched Oculus to have a similar type of functionality which requires the head gear.

    Any thoughts? Ideas? Suggestions? Interested in working on a project of this magnitude and earning a good amount of money? Let me know. Thanks! Frank

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

    Covid-19 spread evolution

    Posted: 23 Mar 2020 04:02 AM PDT

    Hello everybody! I study biomedical engineering and for a big data processing subject, my group have to study the spread of the coronavirus and compare it to the amount of tweets per country related to that topic. We were trying to do it with React and we already a map with different intensity of colors according to the amount of tweets in each country, but we want to plot the evolution among the days. I found a few days ago this tweet https://twitter.com/CNNEE/status/1241193462193696768?s=19 where it is shown exactly what we want and I am writing here to ask if someone knows some repository or some open source code where something similar to this is done. Thank you all for your time!

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

    Looking For A Node.JS Library For Detecting Profanity IN PROJECTS

    Posted: 23 Mar 2020 02:23 PM PDT

    I'm not interested in censoring user input -- I've found dozens of libraries for that.

    What I need is something that scans a project directory for bad words, such as when, say, some idiot intern consoles out numerous profanity-laden messages for testing and forgets to remove them in a production build.

    Any recommendations will be appreciated!

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

    React Native BackEnd

    Posted: 23 Mar 2020 05:43 PM PDT

    I want to take a course on express, nodejs, and mongodb. I already know how to make the front end of react native apps. I have found a lot of courses that are react compatible, but not specific to react native. If my ultimate goal is for it to be used in react native apps, is it a good idea to take a course that does not focus on nodejs, express, and mongodb with react native?

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

    General big project help

    Posted: 23 Mar 2020 12:53 PM PDT

    I'm not quite sure what sub to put this on so here we go. If you have any suggestions of where this would fit better that would be welcome. Basically I have this project that I want to do where its this supper advanced alarm clock with as many features as possible. The main ones would be sunrise light and a mister that sprays water in the air and of course, it would still have a speaker. To give the user as much control over all of this the clock would be controlled from an app built with Xamarin. The goal would be to make all of this as polished as possible. Almost like the first prototype of a real product.

    So here are the problems I'm having. My plan up to this point was to have the clock built off of an Arduino connected through wifi with the ESP8266 EP-01 that somehow talks with this app to control everything. However, I'm having a lot of trouble getting the ESP8266 to work. I'm getting this error. I've tried everything that people have suggested but nothing worked.

    So at this point, I've branched out for how I can go about this. I can use a raspberry pi or maybe some other board that I don't know about yet. I have a pi zero W just sitting around that I can use.

    I spent the last two weeks working through this video to learn my first language C# however Arduino uses C++ and pi mostly uses Python, C, or Java. I wanted to learn C# so that I could use Xamarin to build this app but now I'm not sure if that was the right choice. I really have almost no programming knowledge other then what I learned from that C# video.

    Heres what I'm really asking for. With all of these working pieces that I want to have, how in the world do I go about this. If I do go down the Arduino path how do I get this wifi board to work and how do I get it to communicate with the app? If I go down the Rasberry Pi path is there any way to use C# instead of Python? Where do I lean all of this stuff because in my research yesterday I found almost nothing on programing a pi like this? Also, how would I get the Pi to talk with the app? Really I have no idea what I'm doing and am just in desperate need of some guidance. Also If you know of any subs that this would fit better on that would also be very helpful.

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

    Can someone tell me what this script means from Univ. of Phoenix's website?

    Posted: 23 Mar 2020 04:30 PM PDT

    I keep getting sent into a redirect loop which disables me from logging on. It's essentially every third or fourth time I try to login to my classroom I'll get the error. If I refresh the page enough times it brings me to the following readout script:

    Server Error in '/Portal/Portal' Application.

    The message received was unexpected or badly formatted

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ComponentModel.Win32Exception: The message received was unexpected or badly formatted

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

    Stack Trace:

    [Win32Exception (0x80004005): The message received was unexpected or badly formatted] [IOException: The decryption operation failed, see inner exception.] System.Net.Security._SslStream.ProcessReadErrorCode(SecurityStatus errorCode, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest, Byte[] extraBuffer) +211 System.Net.Security._SslStream.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) +152 System.Net.Security._SslStream.StartFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) +283 System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) +180 System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) +212 System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) +296 System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size) +165 System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) +22 System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) +312 [WebException: The underlying connection was closed: An unexpected error occurred on a receive.] System.Net.HttpWebRequest.GetResponse() +887 Apollogrp.Security.Sso.Client.Management.HttpRequest.InvokeHttpRequest(String url) +347 Apollogrp.Security.Sso.Client.Management.HttpRequest.GetContent(String url) +9 Apollogrp.Security.Sso.Client.Management.SsoServerHttpRequest.GetContent(String relativeUrl) +51 Apollogrp.Security.Sso.Client.SsoAuthentication.AuthenticateCurrentRequest() +338 Apollogrp.Security.Sso.Client.SsoAuthentication.IsAuthenticated() +31 Apollo.Modules.ApolloSsoModule.context_BeginRequest(Object sender, EventArgs e) +60 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +128 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +137 

    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

    -----

    It's really annoying, I don't have problems with any other websites or logins, it seems really amateur.

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

    Why should I learn low-level languages?

    Posted: 23 Mar 2020 10:14 AM PDT

    So far I've not come across any projects which require a low level language, and have gotten by fine on just Python, JavaScript, and C#. But, I feel as though I'm probably missing out by not knowing any low level languages. So, what would be some good use cases for low level languages and problems which cannot be (efficiently) solved with the languages I already know. (Looking for a bit of motivation/reason to learn them). Thanks!

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

    How can we help our communities?

    Posted: 23 Mar 2020 07:34 AM PDT

    Hello all,

    I'm currently trying to brainstorm to think how we as developers can help our communities. I've talked to a number of different developers in different parts of the country (US) to see what they are doing and the things I'm hearing the most are:

    • Building local neighborhood/community websites to keep people informed
    • Creating online tools to help the community schedule senior checkups
    • Create online bartering systems
    • Helping people get setup to work from home - helping with technical issues around the house

    If there's anything else that you would like to add, please post it on this thread. I figure a lot of us have some downtime, so why not spend that time helping your community with the skills you have.

    Thanks everyone and stay safe.

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

    [Help] Corrupt microsoft file

    Posted: 23 Mar 2020 12:38 PM PDT

    https://drive.google.com/open?id=1aHPHB7XEE23Wc15BGmi2GQD9lzthzong

    So I have this file from class but I cannot get it to open at all. Is there a way to repair the file? I have tried a few things but I cannot get the chart to open. Thank you

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

    Keeping Up With Rapidly Changing Ecosystems As An Engineering Manager

    Posted: 22 Mar 2020 11:13 PM PDT

    My day job is no longer programming, but I still need to perform code reviews, and I have a side project (paid). My day job has me performing code reviews on React, Redux, HTML/CSS, Java, Kotlin, Spring, PHP, Okta, Jest, Cypress, CodeIgniter, MySQL, and a lot more, including internal libraries we maintain. My side project is React, HTML/CSS, GraphQL/Apollo, NodeJS, JWT, Sequelize, Postgres, Mocha/Chai, and they want to add React Native for creating a mobile app, as well as the Stripe API, Slack API, Mixpanel, etc. etc. you get the idea I think haha.

    The devs on the team show me all the cool new things coming out that they want to switch over to using, and new versions of these languages and libraries are evolving so fast, and I need to know so many of them, and I literally can't keep up anymore.

    I'm not programming 40 hours a week, and I have many more responsibilities including managing sprints, working with Product, improving our processes, being in a ton of meetings, doing 1:1s, performance reviews, system architecture, implementing team metrics, etc. etc. I'm getting to the point where I don't feel competent enough to do a lot of the code reviews, because I don't know how to read them anymore.

    I.E. we recently started using Cypress for e2e testing, and I can't find the time to sit down and learn it, and when I open up the code I'm just totally lost. That's just one of many examples. When you're no longer programming full time, how do you keep up with all of this stuff at least to the point that you can still do code reviews? Or do you start to give up on that as well?

    I also need to make educated decisions on what new tools to implement or not implement. Or should I be delegating that responsibility as well? Because I feel like I'm no longer the best person to make those decisions anymore, I don't have the time to understand their full impact and whether that new tool will create a nightmare down the road.

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

    USSD in java with Tomcat

    Posted: 23 Mar 2020 07:07 AM PDT

    im looking for any resources that can help me with developing a ussd apps in java please ive not been able to find anything online thanks in advance

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

    Noob wanting to learn

    Posted: 23 Mar 2020 06:20 AM PDT

    Hey everyone,

    I am really not knowing much regarding programming but I would be interested in learning. Basically I have a project that i would want to make. So I have a big list of terms which all have 2 conditions applied to them. And i would want to learn how to make a website where if i input 2 conditions it gives me a list of all the term that have those 2 conditions. So I guess my questions are:

    - How difficult will it be for me to learn how to do that ?

    -Where should I start ?

    Thanks to anyone who will take the time to answer to those and have a safe quarantine !

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

    Unable to implement tail functionality in C++ Snake Game.

    Posted: 23 Mar 2020 04:09 AM PDT

    I've got this snake game on C++ working but I'm stuck with one issue, which is how to implement the tail functionality. It's supposed to work as follows, when the snake's head which is an uppercase 'O' eats the fruit the nTail increments and now there should be a tail following the head and each time the nTail increments another tail should be following the previous tail and so on. Any idea how to write an algorithm for this required action?

    CODE:

    #include<iostream>

    #include<stdlib.h>

    #include<windows.h>

    #include<conio.h>

    using namespace std;

    bool GameOver;

    const int width=20;

    const int height=20;

    int nTail; //size of the tail

    int x,y,fruitX,fruitY,score;

    enum eDirection{STOP=0, LEFT, RIGHT, UP, DOWN};

    eDirection dir;

    void settings()

    {

    GameOver=false;

    dir=STOP;

    x=width/2;

    y=height/2;

    fruitX= rand()% width;

    fruitY= rand()% height;

    score=0;

    }

    void visual()

    {

    system("cls");

    for(int i=0;i<width+1;i++)

    {

    cout<<"#";

    }

    cout<<endl;

    for(int i=0;i<height;i++)

    {

    for(int j=0;j<width;j++)

    {

    if(j==0 || j==width-1)

    cout<<"#";

    if(i==y && j==x)

    cout<<"O";

    else if(i==fruitY && j==fruitX)

    cout<<"*";

    else

    cout<<" ";

    }

    cout<<endl;

    }

    for(int i=0;i<width+1;i++)

    {

    cout<<"#";

    }

    cout<<endl;

    cout<<"Score:"<<score<<endl;

    }

    void logic()

    {

    switch(dir)

    {

    case LEFT:x--;break;

    case RIGHT:x++;break;

    case UP:y--;break;

    case DOWN:y++;break;

    }

    if(x>=width)

    x=0;

    else if(x<0)

    x=width-1;

    if(y>=height)

    y=0;

    else if(y<0)

    y=height-1;

    if(x==fruitX && y==fruitY)

    {

    score++;

    fruitX= rand()% width;

    fruitY= rand()% height;

    nTail++;

    }

    }

    void input()

    {

    if(kbhit())

    {

    switch(getch())

    {

    case 'a':dir=LEFT;break;

    case 'd':dir=RIGHT;break;

    case 'w':dir=UP;break;

    case 's':dir=DOWN;break;

    case 'x':GameOver=true;break;

    }

    }

    }

    int main()

    {

    settings();

    while(!GameOver)

    {

    visual();

    input();

    logic();

    Sleep(50);

    }

    }

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

    How to change it to Big-oh notation?

    Posted: 23 Mar 2020 03:54 AM PDT

    Hello , I got a code with time complexity of n log2 (8) .Can i say it's O(n log n) or it's not correct since 8 is considered as c not n??

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

    Unable to solve problems when it matters the most

    Posted: 23 Mar 2020 02:33 AM PDT

    I am unable to solve coding problems during practical exams or coding competitions. I am able to solve problems on a regular basis when I solve the college practical list problems or solve problems on websites such as codeforces, codewars in limited time.

    It is closely associated with panic. I start to become anxious the previous day of an exam or competition. My mind starts to overthink about what type of problems will be there for solving. It is not that I am not confident about solving it. Overthinking about the type of problem that can be asked makes me anxious and the day of the exam or competition, I do very bad. I try to do my best but I end up doing extremely bad.

    I would appreciate if someone share some tips to overcome this anxiety and overthinking about possible situations. Thank You.

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

    special characters inside XML values breaks XML

    Posted: 23 Mar 2020 01:27 AM PDT

    say I have XML value as such:

    <FIELD fieldname="person" value="reddit <3 &&"/>

    Then this breaks my XML, and I'm not able to read it in my database. this seems odd though, as it should be able to identify that this is a string value, and not constructs of the XML? Right?

    Can I somehow explicitly allow these values to go through or do I need to replace them? Like is there a special character or triple citation marks or something that would allow these values?

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

    Which of the development of apps or games for mobile is more difficult, time consuming, requires more people to work?

    Posted: 23 Mar 2020 01:14 AM PDT

    Hi! As the tile suggest, which is between the two the answer? Taking for example an app like reddit, or a social media / Utility app vs a today game like clash royale, or a platform game like Super Mario Run, which require more skill, more knowledge, then more time, difficult, to develop? We dont talk about Money because the app/game development is done by me and 2 friends! Thanks!

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

    Working on a prolog project for a variant of the zebra puzzle. Database loads, but everything returning false. Any help would be awesome, hoping it's a simple fix I'm not understanding/overlooking.

    Posted: 22 Mar 2020 11:00 PM PDT

    We were given a variation of the zebra puzzle in prolog to write. I'm super new to this, but I even tried getting help from some people last year who had themselves a different variation, and they weren't sure what was going on with my code.

    I'll post the whole thing, I hope it's not overwhelming or bad practice.

    register_renderer/2

    :- use_rendering(table,

    [header(dorm('Major', 'Car', 'Team', 'Music', 'Drink'))]).

    csMusic(Music) :-

    dorms(Dorms),

    member(dorm(computerscience,_,_,Music,_),Dorms).

    engDrink(Drink) :-

    dorms(Dorms),

    member(dorm(english,_,_,_,Drink),Dorms).

    dorms(Dorms) :-

    length(Dorms, 5),

    % 1. The computer science student lives in the middle of the corridor.

    Dorms = [_,_,(dorm(computerscience,_,_,_,_)),_,_],

    % 2. The history major is a jazz fan.

    member(dorm(history,_,_,jazz,_),Dorms),

    % 3. The Yankees fan drives a Toyota.

    member(dorm(_,toyota,yankees,_,_),Dorms),

    % 4. The accounting major drinks Coke.

    member(dorm(accounting,_,_,_,coke),Dorms),

    % 5. The engineering major drinks coffee.

    member(dorm(engineering,_,_,_,coffee),Dorms),

    % 6. The computer science student and history student are neighbors.

    adjacent((dorm(computerscience,_,_,_,_)),(dorm(history,_,_,_,_)),Dorms),

    % 7. The student at the far end of the hall likes classical music.

    Dorms = [_,_,_,_,(dorm(_,_,_,classical,_))],

    % 8. The tea drinker drives a Tesla.

    member(dorm(_,_,_,_,_),Dorms),

    % 9. The classical music fan lives next to the jazz listener.

    adjacent((dorm(_,_,_,classical,_)),(dorm(_,_,_,jazz,_)),Dorms),

    % 10. The English major does not live in either of the first two rooms.

    member(dorm(english,_,_,_,_),Dorms),

    not(Dorms = [dorm(english,_,_,_,_)]),

    not(Dorms = [_,dorm(english,_,_,_,_),_,_,_]),

    % 11. The Royals fan drives a Tesla.

    member(dorm(_,tesla,royals,_,_),Dorms),

    % 12. The Cubs fan listens to jazz.

    member(dorm(_,_,cubs,jazz,_),Dorms),

    % 13. The engineering major follows the Chiefs

    member(dorm(engineering,_,chiefs,_,_),Dorms),

    % 14. The first room is the home of the Broncos fan

    Dorms = [dorms(_,_,broncos,_,_),_,_,_,_],

    % 15. The Coke drinker drives a Nissan.

    member(dorm(_,nissan,_,_,coke),Dorms),

    % 16. The country music fan and the techno fan are neighbors.

    adjacent((dorm(_,_,_,country,_)),(dorm(_,_,_,techno,_)),Dorms),

    % 17. The accounting major lives in the first room.

    Dorms = [dorms(accounting,_,_,_,_),_,_,_,_],

    % 18. The fans of the 2 Kansas City teams (Chiefs and Royals) are neighbors

    adjacent((dorm(_,_,chiefs,_,_)),(dorm(_,_,royals,_,_)),Dorms),

    % 19. The accounting major listens to rock music

    member(dorm(accounting,_,_,rock,_),Dorms),

    % 20. The Yankees fan drinks milk.

    member(dorm(_,_,yankees,_,milk),Dorms),

    % 21. The Chevy driver listens to country music.

    member(dorm(_,chevy,_,country,_),Dorms),

    % 22. The jazz fan drives a Ford.

    member(dorm(_,ford,_,jazz,_),Dorms),

    % 23. Water isnt used.

    member(dorm(_,_,_,_,water),Dorms).

    next(A, B, Ls) :- append(_, [A,B|_], Ls).

    next(A, B, Ls) :- append(_, [B,A|_], Ls).

    adjacent(A,B,List) :- next(A,B,List); next(B,A,List).

    My database loads just fine, but results in false when I try to run anything. If I run dorms(Dorms) to print out all the results, I am returned false. When I run csMusic (trying to find the type of music the CS major listens to) or engDrink (trying to find what kind of drink the English major drinks), I am returned false.

    I know quite little of prolog, but I did my best to follow along on the swipl website when going over this problem. Is there perhaps something easy I'm missing that anyone could point out? An inconsistency in naming, perhaps?

    Help is much appreciated, thanks!

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

    No comments:

    Post a Comment