• Breaking News

    Tuesday, August 25, 2020

    Should a person with no prior knowledge of programming study computer science? Ask Programming

    Should a person with no prior knowledge of programming study computer science? Ask Programming


    Should a person with no prior knowledge of programming study computer science?

    Posted: 25 Aug 2020 11:43 AM PDT

    Programming or computer related stuff. Can I survive?

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

    I need an idea for a mobile application to succeed in my course

    Posted: 25 Aug 2020 07:47 AM PDT

    Hello guys,

    I'm a 3rd year CS student, and in order to succeed one of my courses this year, my two mates and I have to come up with a good idea for a mobile application.

    The priority is put on the front end, so it shouldn't be too complicated. The goal of the course is to teach us how to use Flutter to create an application.

    Would someone have a good idea to help us? It can be funny, serious, weird, whatever. The idea is to master flutter...

    Thank you in advance, maybe you'll save us!!! :)

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

    What would I need to create a website like bitskins?

    Posted: 25 Aug 2020 04:09 PM PDT

    Hi, I'm studying python right now. I have done some data analysis stuff, but I decided I'm not really into that, so I'm looking to go into web dev at the moment. My next goal is a web project. I want to make something like bitskins.

    If you aren't familiar with bitskins, its basically a site that trades csgo items in exchange for bitcoin between users. How much more would I have to learn to make something like that? And how should I begin? Do I need to do all of something like the odin project, or can I just learn something like django/flask and build it with python?

    submitted by /u/n-ary-appletree
    [link] [comments]

    How do you know when it's time to move on and learn the next language?

    Posted: 25 Aug 2020 05:44 AM PDT

    What the title says. There always seems to be more to learn at what point do you decide it's time to move on to learning your next language?

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

    How can websites like Livecounts.io display realtime TikTok followers despite Tiktok not having a public API?

    Posted: 25 Aug 2020 12:25 PM PDT

    I saw a tiktok post about how someone was lying about writing a program that displayed follower counts because there was no public API. I looked around and didn't find one either. However, I go here https://livecounts.io/tiktok-realtime and they track follower count in real time. How is this possible?

    They have this at the bottom of the page :

    >TikTok Live Follower Count is the best way to check your TikTok Live Follower Count updated in real-time! Data seen on Social Medias might be inacurate or delayed, that's why Livecounts.io came with idea for TikTok Live Follower Count Page!

    Everything, including Follower Count is directly taken from official API Service. Every single count is updated every 2 seconds and is as accurate as possible.

    I don't think this applies to TikTok since they don't seem to have a public API. How else would this work?

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

    Advice for my first job

    Posted: 25 Aug 2020 05:35 PM PDT

    I almost have my Bachelor's degree and I manged to land a job in programming as a junior-mid java back-end developer. All the people from the company I've talked with seem really nice and friendly, which is a good sign.

    Although I generally trust my skills and believe I have a good understanding of how things work, I'm worried I might not be "good enough" or productive enough, even though I've passed the skill test they gave me with a perfect score.

    Does anyone have any advice about what I should expect when starting out or any tips in general? Thank you in advance.

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

    How would you structure a pair of functions that access the same data but do something different?

    Posted: 25 Aug 2020 01:37 PM PDT

    I've been writing a script in Python that has to work with some dictionaries (if the reader doesn't know Python, just think of mutable maps in other languages).

    In this case there's a nested dict with several levels. And I want to offer two helper functions: one that gets certain relevant value for us from one of these dict structures, and another one that modifies it.

    In order to access the data, there are some things to do: get through some keys, check if certain key is equal to some value, then we can finally return that value. In order to update this data, you have to do something very similar so that you can finally update the value (e.g. dict['abc']['def'][0]['foo'] = 'bar').

    Now the problem I'm facing is that I'm duplicating the traversing logic in both dicts and I'm not sure how could I make it common so I don't write it twice in a way. Because when you want to update the value i.e. the update function, you're not interested about the current value, you just want to update it. But in order to access it, you have to traverse it like if you were interested about the value, just to update it.

    English isn't my first language so I'm sorry if this isn't very well written but hopefully I get the point across and someone can help me figure it out. I don't want code (of course it's welcomed) but I'd like to know how to reason about this.

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

    How do I select a date on this site using selenium

    Posted: 25 Aug 2020 06:59 AM PDT

    Im trying to test the check-in/check-out date function on this hotel site here

    I'm using c# to do this if that helps

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

    [quick question] Chrome Dev Tools show width and height as "99.991" instead of 100px... Why?

    Posted: 25 Aug 2020 11:47 AM PDT

    Help with C#

    Posted: 25 Aug 2020 03:04 PM PDT

    I'm currently learning how to properly create switch statements, however I am getting this error. This is for an idle game that I'm making to learn C#.

    https://pastebin.ubuntu.com/p/hHRrrdQF58/

    Edit: The code calculates the number of workers (for example) you can hire and returns it so I can use it in Text. Also working with unity.

    And the error is: "Error CS-161: 'NewBehaviourScript.Count(string)': not all code paths return a value"

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

    How do you merge two arrays with a unique id (one of which contains another array) into one arrays in Javascript

    Posted: 25 Aug 2020 02:50 PM PDT

    If you have two arrays one represents a list of posts, which also contains posts.replies, and the second array represents the commented users. How would you go about merging it into one arrays? (The posts, and then posts.replies which also contains posts.reply.commentedUser)

    End result should allow for post[i].replies[j].commentedUser.username;

    { "posts": [ { "replies": [], "message": "<p>I am a parent post!</p>", "user": 1 }, { "replies": [ { "message": "<p>I am a reply to the parent</p>", "user": 2 } ], "message": "<p>I am a another parent post</p>", "user": 1 } ], "commentedUsers": [ { "username": "john", "userId": 1 }, { "username": "jane", "userId": 2 } ] } 

    This is what I have so far (which is very poorly optimized)

     for (let i = 0; i < posts.length; i++) { for (let j = 0; j < posts[i].replies.length; j++) { let reply = posts[i].replies[j]; for (let k = 0; k < commentedUsers.length; k++) { if (commentedUsers[k].userId=== reply.user) { reply.owner = commentedUsers[k]; } } } } 
    submitted by /u/darkmatter201
    [link] [comments]

    GraphQL vs. OData! Why no one is talking about OData?

    Posted: 25 Aug 2020 02:45 PM PDT

    So I heared a lot about GraphQL lately and how it's the great new way to implement web APIs (in contrast to REST APIs).

    Today I randomly came accross OData and did a bit of a research. I was really confused since I never heared about it before and it even solves some problems better than GrapQL. E.g. the amount of transferred data using OData is less than using GraphQL.

    So my question basically is: why no one is talking about OData?

    Is this just a matter of marketing ? Are companies even using OData?

    I would be happy to read your experiences on this topic! Thank you!

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

    Do I have a chance in the software engineering world?

    Posted: 25 Aug 2020 12:33 AM PDT

    I am currently about to graduate with a Bachelors in Engineering Technology with a focus in software development and system and network administration. I originally did not think that I would have found myself this in love with programming but never thought computer science would interest me to this extent. However, the classes that are offered through the software development focus don't really feel as if they are preparing me for a job in software development. These classes consist of Java, SQL, C++, C#, and some data structures classes (which provide a very brief intro to some sorting algorithms and algorithm efficiency.). I am losing hope that I will be able to easily get started with a software engineering or development job and feel underprepared for any interviews that I would have to have to get those jobs as they seem to be very CS heavy (choosing efficient and proper algorithms). Any advice/hope would be much appreciated!

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

    XML to JSON converter and vice versa in java

    Posted: 25 Aug 2020 02:02 PM PDT

    I am trying to create XML to JSON and vice versa converter which will work with whatever user inputs, and output the value user is looking for (XML or JSON). I am currently trying to use recursion for visiting every xml element and trying to modify it along the way so that it gives me JSON format while recursion is done.

    This is java code: https://pastebin.com/rcLTALUP
    This is the input file: https://pastebin.com/DDccmtNb

    I am trying to achieve something like this (output): https://pastebin.com/eenXaZjM

    And this is what i currently have been able to create: https://pastebin.com/faTSyCJm

    Can anyone help me with this, how could i create json from from the xml input by using recursion, and how would it be done in opposite way (json to xml)? I would appreciate any kind of helo, thanks!

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

    HTML question

    Posted: 25 Aug 2020 01:55 PM PDT

    Ok so Idk what im doing. Basically the teacher gave us a few files and we have to make a GUI. The two javascript files both have arrays named words. How can i populate both arrays into the select field. For some reason only the array named words that's in words-small.js and not the words array that's in file words-large.js

    $.each(words, function(key, value) { $('#words') .append($('<option>', { value : key }) .text(value)); }); 

    if you need to me post everything I can

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

    A mysterious list

    Posted: 25 Aug 2020 10:08 AM PDT

    Hi guys, first time poster, so apologies if this does not belong here. It's more of a general IT/Interwebs question, but I figured this sub is filled with bright minds who might be able to help me, so here we are.

    Whilst browsing through job ads, I found one posted by a person with seemingly no ties to any company or organization, yet which claimed to be recruiting for an international project. Having done some googling, I quickly figured out that it might be a scam

    (EDIT: the first time that email address appeared on the internet was in ~2005, 2006 on a firefox browser forum, then on a seemingly legit website with a 2008 job listing. I assume this is the original ad, because it has then been copied with minimal changes and posted on various job forums in 2010, 2013, and a couple more times up until recently)

    But what piqued my interest was a list that I found on academia.edu where the person's email was featured amongst potentially thousands of emails next to some numbers, seemingly random.

    I am wondering if anyone could help clarify what this could mean. Ive never seen anything like this before. For a screenshot see the imgur link.

    Many thanks!

    EDIT: the email address of the person who posted this "job ad" was both featured in the aforementioned list, as well as in a community on the subject of something called "carding, CC loading, prepaid card loading and cheque mailing"

    List titled "Base" on academia.edu

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

    What is "auto& x: mymap" in C++

    Posted: 25 Aug 2020 09:50 AM PDT

    I am trying to understand how Hashmaps work in C++. I looked at a few examples and I found one that had a completely different iterating method (the code below) from the rest. What is 'x' representing and why is there an '&' sign written beside it, are we trying to get the memory address of 'x', if so why? Please could anyone help me understand this code, thank you :)

    for (auto& x: mymap) { std::cout << x.first << " => " << x.second << '\n'; } 
    submitted by /u/AbsoluteBeginner13
    [link] [comments]

    Developing a "command center"-esque desktop app for personal use as a learning project. What language/framework should I use?

    Posted: 25 Aug 2020 09:27 AM PDT

    Hi everyone, I've had this idea for a while now where I'd make an app for myself that acts as my "command room" for my PC - filled with info I want to know (CPU/GPU load/temperature, % of space used for my drives, technical stuff like that, but also stuff like the weather for tomorrow, important upcoming dates/appointments because I'm a forgetful person, maybe even snippets of important daily news etc.), but also various shortcuts and commands to access OS (Windows10 specifically) configurations, apps/games I use, yadda yadda. It's still an idea so the specifics don't matter that much yet, the point was to get the gist of what I'm aiming for across - I think it would be an interesting way to both personalize my PC, and learn how to make my app interact with my OS and other apps/APIs.

    Now, I'm guessing C# is the best language for the job here, and while I do have some experience with .NET framework + WinForms, I'm looking to also learn something that's a bit more complex and popular here, so would you recommend any other framework/GUI library, or language even? Should I look into .NET core (even though I'm not 100% sure what makes it different than regular .NET)?

    Another reason why I'm asking is that I'd like to brush up on my frontend/GUI design, human-computer interaction skills too, so I'm wondering how good the capabilities of the popular C# frameworks are for creating interfaces that don't have that basic Windows-esque look that plain WinForms have.

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

    I play a web based game called Slither.io and I use a chrome extension called NTL MOD

    Posted: 25 Aug 2020 09:02 AM PDT

    The mod works great for the game, but I am curious what the extension might be doing that I am unaware of.
    Can anyone help tell me if it's doing things malicious, or possibly doing things like subscribing to a youtube channel and liking videos, or liking Facebook pages, etc.

    Its a free extension, and I know nothing is free, so I hope someone can put some enlightening information together.
    Thanks!

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

    How to create looping videos on Adobe Connect meetings

    Posted: 25 Aug 2020 09:00 AM PDT

    I didn't know where else to ask, and I know this is not a programming question but a software one. Anyways, here I go: Do you know a way to create a looping video in Adobe Connect in order to make everyone else think that you are in the meeting ?

    Thanks for your time

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

    Http or websockets?

    Posted: 25 Aug 2020 08:59 AM PDT

    I want to write a blog website just using javascript vanilla and nodejs vanilla.

    Its a simple blog site: blogger posts a picture and text, and then people comment on the blog (and each other).

    What is best for this functionality? Websockets or http? Or something else?

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

    How do you determine how much a contract job will cost?

    Posted: 25 Aug 2020 12:27 PM PDT

    I've been working as a front-end web developer for just 2 years after coming out of school and I found a job nearly instantly. I split up with that company a few months ago and now, I've had a few contract jobs fall into my lap.

    One of them is a 20ish page website and the client is asking for how much it'll cost. I've never had to do this so I have no idea.

    So back to the title question. Any info will help.

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

    Trying to make spring starter project in spring tool suite.

    Posted: 25 Aug 2020 12:18 PM PDT

    The pom gets an error in parent: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.3.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent>

    Non-resolveable parent pom error. What is going wrong?

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

    How to use Angular CDK DragDrop with predefined slots?

    Posted: 25 Aug 2020 06:03 AM PDT

    I have a project where I want to predict football league standings. I have two lists, one where the prediction goes, and one with all the teams.

    At the beginning the prediction list is empty, so you can start dragging teams in. But because it is empty, the first team is automatically ranked first. Of course you can sort them later, but what I want is predefined slots based on the number of team. This way you can drag the teams directly in the right place.

    I can't really find a solution on the internet on how to achieve this.

    This is my current situation, so you can see what I am talking about: League Predictions

    Does someone know how to predefine slots for Angular CDK DragDrop

    For the code see my StackOverflow question. StackOverflow

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

    No comments:

    Post a Comment