• Breaking News

    Thursday, February 22, 2018

    How long do Large Software Programs take to produce? Ask Programming

    How long do Large Software Programs take to produce? Ask Programming


    How long do Large Software Programs take to produce?

    Posted: 22 Feb 2018 01:55 PM PST

    I know that programs are never "final" as in they are constantly updated and improved. But How long do larger software programs like Photoshop, CAD programs, or things similar take to get from initial idea formed in a head, to initial beta launch. I know there are a lot of factors, like how large your programming team is, how experienced/talented they are. Just a rough estimate would be cool for my curiosity. Example: "a program like Adobe Photoshop would take 2 years with 5 highly skilled programmers and some support staff." Obviously this is a plucked-from-air scenario. But kind of what I am looking for. Thanks!

    Notes, I understand programming, but don't know it myself. If this is just an unfeasible grasp at something, then please let me down kindly!

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

    Are there any free programs I can use to ping IP addresses?

    Posted: 22 Feb 2018 09:49 AM PST

    I'm looking to monitor hundreds of IP addresses by the hour- basically a setup that will show green when connected and red when offline.

    I know there's sites like Pingdom that will do this but it gets pretty pricey for large amount of IPs, that's why I'm looking for either a program or a web-based solution that can do this without a membership or recurring cost.

    Any assistance would be appreciated!

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

    Help with NZEC in Python3

    Posted: 22 Feb 2018 12:36 PM PST

    I am trying to solve this question- https://leetcode.com/problems/asteroid-collision/description/

    This is my solution in Python3.

    My code seems to give me an NZEC (Non Zero Exit Code) error

    Can anyone tell me where am I going wrong?

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

    Overloaded '=' operator in derived class

    Posted: 22 Feb 2018 02:08 PM PST

    C++

    In base(parent?) class, the '=' operator is defined as such:

     User &User::operator=(const User & user) { if (this != &user) { name_ = user.name_; firstname_ = user.firstname_; identifier_ = user.identifier_; PostalCode_ = user.PostalCode_; } return *this; } 

    I need to use this overloaded operator in Provider which is a class derived from User. But apparently I can't just do Provider = Provider using the overloaded '=' operator (which is overloaded in the User class).

    The assignment mentions using static_cast<type>(parameter) which converts? parameter's type to <type> (really not sure how this works).

    tl;dr I need to use daughterClass = daughterClass using '=' operator that's defined in parentClass.

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

    Creating something that just automatically responds to people texting me.

    Posted: 22 Feb 2018 05:17 PM PST

    So i was watching this anime called sakurasou no pet na kanojo and one of this characters created an AI that just automatically responded to people that emailed and texted him and stuff. Now in the show his is like a full blown self learning 3D ai, but i wanted to know if its possible to do a simple one that like maybe scans for words in a text and like responds based on that. If it is possible, what language and program and stuff should i use xD.

    Ps. im on a iphone

    pss. an example is like if my friend texted me "hey whats homework" it would be funny if the program just auto responded "The owner of this number you have contacted does not do homework" or something like that. Thanks in advance. ;3

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

    Java design question (instanceof)

    Posted: 22 Feb 2018 09:46 AM PST

    Hey guys.

    Let's say I have two classes Book and CD that both extend the parent class Item. Item has common properties like name, price whereas book has int pages and CD has List<Track> tracks.

    Now let's say I have a management system class and in here I have List<Item> items. This list is full of Books & CD's. How would I implement a method to getAllBooks() & getAllCds() without using instanceof

    TLDR- How to return a list specific child class from an Arraylist of parent class without using instanceof?

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

    Data Consolidation with Microsoft

    Posted: 22 Feb 2018 01:27 PM PST

    Hey guys, I'm not exactly sure if this is the most appropriate place to ask this question, but I figured I'd give it a shot anyways. So I am basically trying to figure out the best way to collect and interpret data for my companies calibration gasses. I'm trying to simplify my life as easy as possible, by automating what I can. So basically, we get these gasses in, and I need to obtain and store data about it. Each bottle will have the following info associated with it that I need to keep track of:

    Alpha-Numeric Blend ID (for example: BL03)

    Cylinder Serial Number (alphanumeric)

    Storage Location (5 possible locations)

    Expiration Date (I would like to flag it if its going to expire within 6 months)

    Maybe Pressure (for analysis to see how much we use and to obtain the appropriate info for when we may need to order more)

    Along with that, I would also like the quantity of bottles that we have of each blend, to flag if we need to reorder. So if we stock 5, maybe I would flag a reorder at 2 or 3.

    Anyways, I basically want to know what you guys think for the best way to implement this. Currently, I have them just on an excel spreadsheet, but the problem I'm running into is that I have to go out and manually write down the info, come back into the shop, and enter the data into the spreadsheet; to include manually deleting the ones I don't find (under the assumption that I didn't find them so they must just be empty).

    Basically, in a nutshell, I'm just asking if there is a better way to do this. And is there a better way to get the info into my spreadsheet, like an app or something from my phone. What I'm aiming at is having the quantity and blend info automatically populate with values when I say that the cylinder with serial number XYZ123 is Blend 10, and have it throw up a flag if there are bottles out there that are near expiration. Thank you guys and please feel free to ask any questions for further clarification.

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

    Application or framework for recording/displaying business metrics and monitoring data?

    Posted: 22 Feb 2018 11:22 AM PST

    I'm ultimately looking for a way to create a 'dashboard' type system that will display key organizational metrics, such as (examples):

    • Orders in last day
    • Products sold past week
    • # of Social media posts past week
    • Date of last tweet
    • Phone calls received past 24 hours

    I understand that actually retrieving much of this data is going to require creating custom DB queries or API calls, but is there a good system already available that I can easily plug in to?

    I've briefly looked at systems like Graphite and Prometheus, but it seems they're more geared for server and uptime monitoring rather than business metrics. Are there better applications for what I'm trying to do?

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

    Why does this happen?

    Posted: 22 Feb 2018 08:46 AM PST

    Link to image: https://i.imgur.com/EoHaZxP.png

    So if I execute ./10mb that gets stored on argv[0], if I do ./10mb whatever, ./10mb still gets stored on argv[0] and 'whatever' goes to argv[1] and so on... Where are the other positions of argv getting their data? Random blocks of memory, security breach or is it just intended to work this way?

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

    Extract files to folder using XML or Json

    Posted: 22 Feb 2018 07:23 AM PST

    Hello guys, so I have to extract some files using xml or json to save them into folders; this has to be made in order, for example id there are sub folders respect the order.

    Command line tool to retrieve from TFS as source target using configuration file and save to destination folder for single client

    Configuration to hold multiple clients and extract to destination folders accordingly.

    Extract files to appropriate folders as per Epic description:

    Any idea on how to do this? I'm lost!

    thanks in advance

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

    Anyone had experience with Coding Hire interviews?

    Posted: 22 Feb 2018 11:56 AM PST

    I just completed an entry-level assessment for a company that had me troubleshoot JS functions using coding hire. I only got through a handful of problems before the time ran out and it seemed kind of embarrassing to be honest. After a few years of working with a language it's weird to be asked to troubleshoot such basic code.

    Have any of you used this in hiring candidates, or in applying for a job? What was your experience? I just kind of feel like I botched the whole thing because it caught me off guard.

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

    Help me change minidlna album art resolution

    Posted: 22 Feb 2018 08:05 AM PST

    Hi i'm using minidlna dlna program on my raspbery pi to stream movies on my smart tv, problem is, minidlna always resize poster images to be 160x160, someone made patch so poster dont resize anymore, but that patch is ok for old program version..can someone tell me what values i must change in albumart.c file so my posters dont resize anymore.. thanks

    file is in minidlna git repo https://sourceforge.net/p/minidlna/git/ci/master/tree/

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

    How to open multiple webdriver python programs at the same time?

    Posted: 22 Feb 2018 07:43 AM PST

    Hello, How can I run 2 python webdriver scripts at the same time? So there are 3 files: 2 python webdriver scripts that will open 2 links and a main script. When I run the main script I would like to run these 2 scripts(bot_1.py and bot_2.py) at the same time. Now it opens bot_1.py and then bot_2.py. I attached these 3 scripts:bot_1.py, bot_2.py and mainscript.py I will appreciate any help. bot_1.py from selenium import webdriver

    driver = webdriver.Chrome(executable_path="C:\Users\Andrei\Downloads\chromedriver_win32\chromedriver.exe")

    driver.get('https://en.wikipedia.org/wiki/Main_Page')

    bot_2.py from selenium import webdriver

    driver = webdriver.Chrome(executable_path="C:\Users\Andrei\Downloads\chromedriver_win32\chromedriver.exe")

    driver.get('https://en.wikipedia.org/wiki/Portal:Current_events')

    mainscript.py import bot_1, bot_2 import multiprocessing

    for bot in ('bot1', 'bot_2'): p = multiprocessing.Process(target=lambda: __import_(bot)) p.start()

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

    Attandence System Raspberry Pi

    Posted: 22 Feb 2018 11:19 AM PST

    Guys I am new to Python and I have to create an RFID attandence project in less than 4 hours. I am really stuck at this point, I can't even decide if I should use dicts or lists. Let me explain the basic logic of my project. All the students who come into the class should show their card to the rfid reader so the teachers dont have to waste time on which student is there and which not. The output should look like this:

    Jack Sparrow: True

    Bill Gates: False

    Jon Snow: True

    Please help me in any kind of way, all the help is appreciated.

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

    Need Help Creating Excel Calculation Sheet

    Posted: 22 Feb 2018 09:47 AM PST

    Hi there. I'm trying to streamline a form I've been using for proposals and make it look a bit simpler like one of those mortgage calculators. I'm hoping some time will be saved with an easier layout. Please PM me if you're interested in helping and have experience using formsite. Will pay for services. Any leads to people who deal with sorta thing would be greatly appreciated too. Thank you!

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

    How to take a tuple and create the same tuple

    Posted: 22 Feb 2018 05:58 AM PST

    So, basically I want to take a tuple, and not return it, but to recreate the same tuple. My code, which works (for the most part), is as follows.

    def copy_tree(tree): if tree == (): return () else: return (tree[0],) + copy_tree(tree[1:])

    However, I am unable to get it to work when dealing with nested tuples. For the index with nested tuples, the program will just return the nested tuple without creating a new nested tuple. So my even result, which will look like this and should be correct:

    (1,2,(3,4),5) --> (1,2,(3,4),5) would not actually pass the test case. Could someone please offer some assistance and show how to recreate the nested tuple and then concatenate it with the other elements of the tuple?

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

    Object oriented practice projects

    Posted: 22 Feb 2018 09:16 AM PST

    Is there any project tutorial to follow to master object oriented concepts. Java, php preferred.

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

    Volunteer sign up program?

    Posted: 22 Feb 2018 05:15 AM PST

    There's this volunteer program that meets every sunday and has a Google docs sign in sheet that opens from 7-8 pm the Sunday before.

    This sign up sheet fills up very fast and there is never a notification of when it goes up. Is there a way to check whether the sheet is up and auto sign in my name?

    If I'm posting in the wrong sub please tell me, thank you

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

    What is happening here? C#

    Posted: 22 Feb 2018 08:29 AM PST

    Hi guys. I was searching a reason as to why I had an empty session variable and came across this. Typing System.Web.HttpContext.Current.User.Identity.Name directly into the omnibar goes off and searches against (Shady domain?). I was brought to Amazon echo, A 403'd Apache site, Some ASP programming site, a torrent site and another site that ublock origin blocked. nslookup shows the Domain is registered? Why would an ASP Class be registered as a Domain (Scammers maybe?)? Why does it bring me to different places (Maybe they have redirects or proxies)? Would this be a potential CSRF attack vector?

    Anyway just curious, thanks!

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

    Macro to avoid a web session timeout

    Posted: 22 Feb 2018 04:26 AM PST

    So there's this web based management system we use at work that will expire within only 15 minutes of inactivity. That short timeout is constantly annoying everyone here, so I would like to ask if it is possible to code a macro (sorry if that's not the proper name) to keep heartbeating it for as long as the computer session is active (and only during work hours of course). Can it be done? Should it? Our physical environment is secure and there's no risk of someone sitting at another person's workstation for malicious purposes. I thought at first on a chrome extension, but it could be ran outside of it on background, for instance.

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

    Networkable app

    Posted: 22 Feb 2018 04:09 AM PST

    Okay, so I'm trying to develop an app, I'm using Android Studio and programming on Java. My app will be used by multiple people who will send data to each other (Nothing big, just things like Strings and Integers). How can I do this, without hosting or paying for a server? What options do I have?

    I already tried NSD, didn't work out for me, photonengine is c++ only on android.

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

    Monitoring multiple "live" Chrome tabs and processing the information

    Posted: 22 Feb 2018 03:26 AM PST

    i have a series of tabs that i'd like to monitor. each tab has data that is updated dynamically at (effectively) random intervals by ajax. i'm looking to make a tool that gives me a live comparison of the data and can alert me when certain criteria are met.

    the problem is i've never made anything like this before and i'm not even sure what kind of language i'd need to do it. i've made PHP scrapers and tampermonkey scripts to do something similar, but i don't think either are capable of what i need here. any recommendations?

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

    How to set VSCode remote ftp tree view

    Posted: 22 Feb 2018 02:38 AM PST

    Hi. I using atom, but try to change it on VS Code on macOS. My main problem is I can't find plugin or settings to view remote folders as tree view like opened project folder. Can you help me?

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

    No comments:

    Post a Comment