• Breaking News

    Thursday, May 31, 2018

    Is following up on a job application outdated in tech? Ask Programming

    Is following up on a job application outdated in tech? Ask Programming


    Is following up on a job application outdated in tech?

    Posted: 31 May 2018 01:38 PM PDT

    I was a caught a little off guard today when I decided to call the listed phone number on a company website, and follow up on a resume, and cover letter I submitted for a Full-Stack Developer position available at a software company where I live. It is a small company, as the phone number went directly to the president of company.

    He seemed very agitated that I was calling, and when I asked if they had a chance to look at my resume, he responded, "have you gotten an email back from us?". When I told him no, he replied "Well there's your answer". He then proceeded to tell me that if I want to stand out, I should work on my cover letter, and that follow up phone calls are bad practice in this industry.

    I have always followed up on job applications in the past. Is this new in tech? I have been working as a professional Software Developer for over a year now, and I feel like I am questioning my approach to looking for new jobs.

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

    Already have a Bachelors of Science in Business Administration and an Associates in Computer Science. Would I benefit more from a Masters in C.S. or a Bachelors in C.S.

    Posted: 31 May 2018 07:01 PM PDT

    Just as the title says I have a B.S.B.A and an A.S. in C.S. Currently I work as a Programmer Analyst but I would like to continue my education. I'm unsure though whether I would benefit more from trying to get into a masters program for software engineering or just getting my bachelors in C.S.

    Is it even possible to enroll in a masters program considering I only have an associates degree in C.S.? Would I be too far behind?

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

    Programming Competitions?

    Posted: 31 May 2018 03:02 PM PDT

    Hey everyone! I am a 21 y/o f in undergrad, looking to attend some programming competitions/conferences. I see so many things on LinkedIn/Facebook I've never heard of, and I was wondering if you guys had links to cool conferences/hackathons/programming competitions I could sign up for. Or websites that sponsor undergraduate tech students to attend large events.

    a bit of background i have 1 year experience as a developer (i've worked for ibm, salesforce, etc), and will continue to intern as an undergraduate student. thanks!

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

    What are good resources for creating motion tracking for a VR system?

    Posted: 31 May 2018 08:20 PM PDT

    I'm looking for some resources for creating a VR motion tracking system for head tracking and controller tracking. I plan to use a webcam (or other type of cameras) to track IR lights, or light spheres (similar to PSmove) to track motion for VR controllers. Are there any libraries for doing such a task? (preferably C++ or Java)

    For more details on what I want to accomplish: I want to either modify or create a controller system for diy VR controls for things like RiftCat ect. that uses a camera or cameras to track motion. I know things like OpenCV exist, but I'm not sure if it is a good fit for this project.

    I do have some background in programming, so I'm not afraid of doing some heavy lifting to do this.

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

    It’s summer now and idk what to code

    Posted: 31 May 2018 09:37 AM PDT

    So like the title says, it's now summer so I no longer have school for a bit. Therefore this leaves me with a lot of spare time and I'm a programmer but I simply don't know what to code anymore. I've made 5 discord bots now working on my 6th (the 5th one I just made 2 days ago and it took like 30 min so I don't really count that one as a whole bot). At this point I'm REALLY tired of making discord bots. Rn the only languages I know are Python and JS and I've just barely gotten into JS so can some people give me some fun projects that maybe I could work on? Intermediate-Advanced for Python and probably Beginner-Intermediate for JS.

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

    C# WPF - Multiple Questions - Overlaying labels/buttons, API not working, and using resources(png) that are all uniquely named

    Posted: 31 May 2018 07:37 PM PDT

    Okay so I have tons of questions that I've looked up and haven't found 'answers' that either I don't understand or that don't solve or help solve my problems. I'm using Dota GSI

    Here are my current things I need help with: I have randomButton, errorLabel, and working Label. Everything is run during randomButton click event (which I think might be the problem) and I'm not sure if or how I can make it so that: at different times during the event function I can put errorLabel or workingLabel on top of it to stop the user from clicking while providing feedback on current run situation. I currently have my xaml set up with a canvas (i tried grid too) and tried using visibility property as well as zindex but neither have gotten me anywhere.

    on my findHeroOnScreen i have Image<Bgr, byte> template = new Image<Bgr, byte>(heroNum+".png"); using emguCV (opencv for C#), my resources folder has all the potential template images, but I'm not sure how to reference those because there are 115 possibilities. I know I can reference from resource.designer.cs but I would have to write 115 get methods which I would prefer not to do unless absolutely required.

    and from the Dota2GSI api, onNewGameState is called when there is a change (i think), I have to wait for the listener to get data to call it, however it is never called (I debugged to try to see it) I'm not sure if anyone can actually help here but I'm not sure if it is me or the api is faulty which i doubt.

    I can try to answer any questions, I'm not super experienced with c# wpf but I've done some before.

    This is my project I hope its readable/usable to understand my issues.

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

    Is there a common way to communicate between a client and server

    Posted: 31 May 2018 09:44 AM PDT

    I am creating a multi-tier application for my company and one of the main problems to solve for me is how to send data from the client to the server. I was looking around for some best practise a send objects but I didnt really found "the best soultion". The application will use just sockets and from my point of view my options are packing the objects into Strings and just send them like this.
    But is there any other way you could recommend?

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

    Operating System Prerequisites

    Posted: 31 May 2018 02:22 PM PDT

    I got Tanenbaum's MINIX 3 textbook recently, but I'm wondering if there are any prerequisites I should have down before I start reading (besides knowing basic C)?

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

    [C#] writing binary data(byte array) in XML and question about use of [XmlIgnore]

    Posted: 31 May 2018 02:04 PM PDT

    I want to add binary data(and NOT encode it to base64) to a node in XML. That node will probably CData? I want to embed binary data for some other application to use it. So that means I want the XmlSerializer to ignore serializing this property but still attach it to the xml. Which leads me to my second question of [XmlIgnore].

    Properties with [XmlIgnore] will be ignored during serialization and deserialization. But I want it so that I can access the data that hasn't been serialized. All I see is null. I'm guessing it's working as intended?

    Any suggestions?

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

    Can someone please help me figure out where apple store 'where from' data of downloaded files, so i can figure out how access it

    Posted: 31 May 2018 01:32 PM PDT

    This image is an example of what i'm talking about - https://gyazo.com/05da8650099b4ae1384cff67ef489292

    Please can someone help me find out how to access this data, i'm building a web application that's basically my personal image tagging tool that i'm looking to release to people and this is a really interesting piece of data that exist on my computer that i want to put into the app.

    (at some point i'd like to make a native replica of the app so any help is good)

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

    Is this Reddit bot idea possible? [Reddit Diamond �� Bot]

    Posted: 31 May 2018 11:10 AM PDT

    I'm looking to create a bot which will be universal across Reddit. It'll function similar to the !RedditSilver bot, which operates on an opt-out basis for subs.

    There are countless occurrences where someone has been extra helpful or given another user personal advice and they've donated to a charity in the user's name. There's a lot of times where users want to do more than donate to Reddit. This bot gives users the opportunity to say "thank you" in a way that also does good.

    Here's what I have so far:

    Subreddit for Bot

    /u/RedditDiamondBot

    Introduction Post

    Extensive Feature Table w/Status

    How would it work?

    I'm still working on that. Here's what I have so far:

    1) Appear when summoned !RedditDiamond 2) Post a donation link to a (randomly selected?) charity and explain the process. Include stats for total amount donated through bot at bottom. 3) Require the summoner to PM a receipt number and the bot will confirm it. (Maybe?) Allow for anonymous donation. 4a) If the summoner or another user doesn't donate within 10 minutes, update comment to a "Reddit Diamond Failed" message. 4b) If the summoner or another user donates within 1hr, update comment to a "Reddit Diamond Awarded!" message and list the donor(s). 
    Feature Table
    r/RedditDiamond (Exclusive Community) Thanks to \u\smoove, we now have access to the r/RedditDiamond subreddit. This could become a private community similar to the Reddit Gold lounge. At first, the bot would add all users who received it, but after it picks up traction we can set the requirement to 5 diamonds or more.
    Anonymous Donation Pretty simple, allow users to make their donations anonymous when they PM their proof.
    Stacking Donations Rather than a good post having 5 summons for !RedditDiamond, only one is necessary. The RedditDiamondBot should reply to the original post, rather than whomever summoned it.
    Bot Statistics The bot should track statistics of how many donations were made and how much total. Perhaps also list the top 5 largest donations through the bot.
    Challenge Other Users Thanks to \u\False1512, we have the great idea of challenging other users to donate. This won't be the primary functionality, but rather an additional feature where IF a user is challenged, they have 24 hours to donate. This would create some really interesting statistics.

    Is this possible with all of these steps? I imagine the more complex features such as validating the donation could be made a lot easier if another platform is used which publicly reports donations (and creates a URL receipt). If so, is anyone interested in helping make it? I am confident this can do a lot of good.

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

    Need help with javascript and JSON data

    Posted: 31 May 2018 01:08 PM PDT

    Hi everyone, i'm new to this SubReddit, so if i break any rules or if the formatting is wrong, i apologize.

    I'm trying to make a widget to display computer lab usage using Javascript and JSON and i have it working where i've hardcoded the specific lab details into the script but I'm trying to get it to work where i have the labs I want to have displayed in a javascript array and i want to utilize that array when i'm retrieving the JSON data to display. The problem i'm having is i'm not sure how to reference the array variable inside the JSON variable.

    So I have my javascript array

    var Labs = ["LAB1","LAB2","LAB3","LAB4","LAB5"]; 

    Currently i am displaying data from JSON by using LabsData.LAB1.available (which is hardcoded) which returns the number of computers that are available. but I want to have it so that instead of LabsData.LAB1.available it would look like LabsData.Labs[i].available where the Labs[i] is populated during a for loop with a value from the Labs array.

    When i run the code below, i get the following error which i believe to be from the Labs[i] variable from the array not being populated.

    Uncaught TypeError: Cannot read property '0' of undefined at XMLHttpRequest.ourRequest.onload (JSON_test2.html:114) ourRequest.onload @ JSON_test2.html:114 load (async) (anonymous) @ JSON_test2.html:97

    So my question/ask for help is this. How can i reference and loop through a javascript array and have it replace the needed part of the JSON reference and not get the error?

    My Code is below.

    JSON (Sample Data) {"LAB1":{"name":"LAB10","title":"LAB 1","label":"LAB1","description":"Public Lab (open 24\/7)","available":3,"occupied":2,"maintenance":1,"total":6,"data":{"available":"LAB1-1, LAB1-2, LAB1-3, ","occupied":"LAB1-4, LAB1-6, ","maintenance":"LAB1-5, "}}} Javascript //Create a new JSON object called ourRequest var ourRequest = new XMLHttpRequest(); //Open request to the server to get the JSON file ourRequest.open('GET','https://someserver.ca/lab-data.json'); //Gets and processes the JSON data ourRequest.onload = function() { //gets the JSON data and parses it var LabsData = JSON.parse(ourRequest.responseText); //create an array to hold the lab names var Labs = ["LAB1","LAB2","LAB3","LAB4","LAB5"]; //creates a variable to hold the formatted information for each lab appending each itteration through var LabDataStorage = ""; //Loop to grab the neccessary data from the JSON object and create HTML to display the data saving it to a variable for(i=0; i < Labs.length; i++) { LabDataStorage += "<br />" + LabsData.Labs[i].title + "<br /><span style='width:" + LabsData.Labs[i].available / LabsData.Labs[i].total * 100 + "%' class='bar-1'>" + LabsData.Labs[i].available +"</span><span style='width:" + LabsData.Labs[i].occupied / LabsData.Labs[i].total * 100 + "%' class='bar-2'>"+ LabsData.Labs[i].occupied + "</span><span style='width:" + LabsData.Labs[i].maintenance / LabsData.Labs[i].total * 100 + "%' class='bar-3'>" + LabsData.Labs[i].maintenance + "</span>"; } //After loop completes, display the variable contents in the div called "LabsDisplay" document.getElementById("LabDisplay").innerHTML = LadDataStorage; }; //Send the JSON request ourRequest.send(); HTML <html> <head> </head> <body> <div id="Title" class="heading">Computer Labs</div> <div id="Legend"> <ul class="legend"> <li><span class="available"></span> Available</li> <li><span class="occupied"></span> Occupied</li> <li><span class="offline"></span> Offline</li> </ul> </div> <div id="PAS1099" class='stacked-bar-graph'></div> </body> </html> 
    submitted by /u/jschildr
    [link] [comments]

    How to change the color of only the command prompt in terminal?

    Posted: 31 May 2018 09:04 AM PDT

    Hi! I'm on a Mac running El Capitan and Terminal 2.6.1. I would like to change my interface so that the text command prompt (the text I input) is a different color from the results. I've gone through the terminal preferences and researched this topic but can only find results on how to change the overall colors. Thanks!

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

    [Java] How to connect to database running on a web server?

    Posted: 31 May 2018 12:27 PM PDT

    Hi,

    I have a database running on ClearDB [Heroku] and I want to connect to this database to submit SQL queries such as INSERT and SELECT using Android Studio. I have put in mysql- connector.jar into my class path (it's in my dependencies) and it is in my libs folder.

    I have a method to connect to my database and I get the error.

    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.

    So i'm not sure what i'm doing wrong but I feel like i'm missing something small.

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

    Flirting with System.AccessViolationException disaster

    Posted: 31 May 2018 12:24 PM PDT

    So... a little background. I'm using C#, in conjunction with SharpDX.

    I've got a multithreading application, which needs read/write access to an array that my rendering loop (SharpDX) uses to paint the screen. Any time one of the other threads needs to touch the array, I have to wait until my rendering loop finishes, then suspend it until the other thread is done. Otherwise, I get a System.AccessViolationException when the Rendering Loop attempts to read the array while another thread is accessing it.

    This works reasonably well, although there's obviously some frame/rendering loss when I have to suspend rendering. That seems completely avoidable, given the Access violation is actually harmless (the read can fail without consequence, all that would happen is that particular area of the screen wouldn't get updated on a single refresh)

    The problem is that System.AccessViolationException isn't some standard exception you can just catch and handle. Because the SharpDX code (unmanaged) is conflicting with my CLR (managed) program code, it throws a fatal exception that standard catch() structures won't catch. There is a way to catch this, but MS seems to strongly advise you don't do this.

    Visual Studio debugger appears to give me the option to just ignore these errors entirely, but given what a broad class of exception that is, it seems like this would cause severe troubles down the road.

    Am I missing some obvious way to set the permissions on this array to avoid causing this error in general?

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

    Read program's text and send email on a specific phrase.

    Posted: 31 May 2018 12:01 PM PDT

    Hello, I am looking for some help taking scrolling text in an application and sending an email when a specific phrase appears.

    I play an old game called MajorMud that is a telnet text game off of a BBS. It uses an application called MegaMud to automate gameplay as it takes months to level even with 24/7 automation. From time to time your character will disconnect from the server to stop it from dying if its health is low.

    I would like to read the on-screen text and send myself an email when it does this disconnect so I know to go and log in and save the character.

    Here is an example of what the screen looks like with scrolling. https://media.giphy.com/media/1yniowGvETZ5091H38/giphy.gif Alt: https://giphy.com/gifs/1yniowGvETZ5091H38/html5

    Thanks for your thoughts

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

    Design help: users can upload their workout programs and download other users', how to avoid duplicating data?

    Posted: 31 May 2018 08:09 AM PDT

    I'm trying to come up with the best way to do this. I'm designing an app (the idea is .NET Core for the back and Quasar for the front, btw) that'll be used to organize workout programs. The model goes like this:

    Each PROGRAM consists of one or more WORKOUTS -> for example, a month long program with weekly workouts on MON, WED, FRI will consist of 3 x 4 = 12 workouts

    Each WORKOUT consist of one or more SETS, given a SET as the smallest unit of work possible in a WORKOUT -> for example, if WORKOUT A has you do 3 sets of 10 repetitions of squats, that would mean that you'd have 3 SETS, each pointing to (FK) WORKOUT = A, (FK) EXERCISE = Squat, REPS = 10

    It'll get a bit more complicated than this, but this should suffice to understand the issue I'm having in my head right now. Users should be able to not only download other users uploaded programs, but upload their own too. Thing is, users should also be able to MODIFY programs they've downloaded as they see fit, and this WILL happen pretty consistely. For example, let's say that you found a program that you really love but you can't do one specific exercise in a specific workout... you'll just download that program, edit it, and substitute that exercise in that workout for a different one that you can actually do. Question is, how do you deal with this without duplicating a whole lot of data in your DB?

    These are the options I can think of:

    • Duplicate everything. As soon as you download a program from the "program store", that'll create a new record in the PROGRAM table... and a record for each workout in that program in the WORKOUT table, together with a SET record for each set in each workout... basically, duplicating a shit load of info right away after you download a program. If you download 10, that's a lot of data you're saving to the DB each time. Of course, this method gets rid of any complacations regarding updates in the programs, as if you change anything in any program you've downloaded, you'll just update the records you created when you downloaded it and not the original.

    • Only keep in the DB common info for every user (uploaded programs, users, master tables such as EXERCISE, etc), and for absolutely everything else keep a "local" database or maybe a JSON with every single piece of data / info a user can need, including every program they download and any changes they make to it.

    Any opinions? I'm sure there's gotta be an "optimal" way of doing this without over complicating things too much.

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

    [Java] How do I reference to external libraries if I want to run the program using command prompt?

    Posted: 31 May 2018 05:11 AM PDT

    I'm building a Selenium WebDriver program using Java. But in order to run it, I've to open eclipse again and again. So I tried to run it using command prompt but it showed errors saying Can't recognise WebDriver with 54 errors etc. I think it is unable to recognise the external libraries I have used. How do I let the compiler know about the external libraries and jars?*

    Note: I don't want to use TestNG, I've tried that but integrating that with ANT (creating the build.xml file and batch file etc) is too complicated especially referring to the jar files etc

    My program is related to Logging into website etc

    Right now I'm able to run one or more user ID's at the same time using Threading.

    So will I be able to do this if I use TestNG?

    I've asked too much but I'd highly appreciate if you'd help me _^

    Good Day

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

    [C#] Getting a literal string from text box (winforms)

    Posted: 31 May 2018 09:31 AM PDT

    I want to get a literal string from a text box on winforms. How would I achieve this?

    Thanks

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

    [Python] Testing if number is prime. Why does example 1 work, and example 2 does not?

    Posted: 31 May 2018 08:13 AM PDT

    why does this work?

    def is_prime(x):

    ____if x < 2:

    ________return False

    ____else:

    ________for n in range(2, x-1):

    ____________if x % n == 0:

    ________________return False

    ________return True

    but this doesn't?

    def is_prime(x):

    ____if x < 2:

    ________return False

    ____else:

    ________for n in range(2, x-1):

    ____________if x % n == 0:

    ________________return False

    ____________else:

    ________________return True

    Example 2 fails with number 2, it returns None.

    P.S. how to format code on reddit? :)

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

    Autosyncing database for filemaker like system

    Posted: 31 May 2018 07:48 AM PDT

    Hello everyone. I am working for a Lab. We mainly use google sheets to keep basic data. Whenever a change is made from a computer update is shown on every other computer too. We also use Filemaker Pro on some computers. I want the Structure and form of Filemaker Pro and autosyncing and formulas of googlesheets The one thing i can't seem to figure out on google sheets is how to change a cell's value from another cell. Google App script allows me to do this but i am wondering if there is another way. I am ok with learning another language and platform (SQL) as long as they have what i need. Thank you very much.

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

    [OOP] What convention should I follow when it comes to classes and methods?

    Posted: 31 May 2018 07:31 AM PDT

    Suppose I have a class, and one of its methods takes another instance of the same class and combines the two instances somehow (let's call it "add", even though it's not "add").

    Which of the following, if either, would be considered more conventional and/or "correct"?

    1) "inst1->add(inst2)" returns a new instance. inst1 and inst2 are unchanged. So it would normally be used as "inst3 = inst1->add(inst2)"

    2) "inst1->add(inst2)" performs the operation in place on inst1, so inst1 is changed, and inst2 is unchanged. If the value of inst1 is needed later, it should be copied to a new variable beforehand ("inst3 = inst1")

    If it really was analogous to + I would just overload + and follow convention 1), but it's not, and it's being written in PHP (yeah, yeah, do your worst!) which doesn't have operator overloading.

    Or should I implement a static method which takes two instances and returns a new one, to avoid confusion?

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

    [Java] How to execute a bash file on Raspberry Pi using Java

    Posted: 31 May 2018 07:11 AM PDT

    I am currently working on a project where I need to send gcode text files to from a Raspberry Pi to a TinyG controller. I can do it perfectly using the Terminal on the Raspberry Pi, however I would like to make a graphical interface that is easy to use for my coworkers. I have made executable bash files(using the chmod +x command in the Terminal) to send each file of gcode to the TinyG. However, I am having trouble executing these bash files using Java. Right now I have this for code:

    ProcessBuilder pb = new ProcessBuilder("/bin/bash", "name_of_file.bash");

    pb.directory(new File("/home/pi"));

    Process p = pb.start();

    When this code is executed in a try-catch segment, there are no errors, but nothing happens. I am very lost on what to do, and I haven't been able to find anything on StackOverflow. I am very new with Linux and Java programming, so any help is appreciated!

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

    A small dependency cum build manager purely for edificational purposes that I made for Java. Critiques, suggestions, contributions are very much welcome and solicited!

    Posted: 31 May 2018 07:10 AM PDT

    If I wanted to learn some programming by making my own Instagram bot what would you recommend?

    Posted: 31 May 2018 04:18 AM PDT

    No comments:

    Post a Comment