• Breaking News

    Monday, March 25, 2019

    Learn it Yourself learn programming

    Learn it Yourself learn programming


    Learn it Yourself

    Posted: 24 Mar 2019 01:05 PM PDT

    I've been programming for about a decade now and have been teaching others for nearly as long. One phenomenon I experience is that sometimes I get back a lot of questions, most of which could be answered without my help.

    I realized that one of the reasons is that people don't know any better. That's why I wrote Learn it Yourself and described some basic methods for how you can answer most of your questions and fix most of your bugs without external help (and why you would want that).

    Hope this will be useful here.

    Let me know if you know any other beginner techniques—I would be glad to include them, too!

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

    Wordpress frontend developer looking to get better

    Posted: 24 Mar 2019 12:35 PM PDT

    Hello. I'm a 25 years old guy living in eastern europe, so I hope you'll understand the english mistakes I might make.

    I've finished my local college, without getting a degree, due to personal problems. Since the end of 2017 I've been working for a small startup ( 6 people) that is mostly doing wordpress sites with divi builder.

    What I do at work is "somekindof fullstack" stuff, and I feel that that is the problem.

    In the last year and a half I don't feel that i learned something specific, just bits and bits of everything. So, basically I live with the impression that my skills are not really transferable to another company because I feel that I'm not good at anything specific. Most of the time I'm in charge of pretty much all the aspects of creating a website: design, functionalities, creating tutorials and providing support to the client etc. The design part I'm expected to do by myself, and I'm not a very creative person. I could implement mockups or wireframes, but I have to do it all by myself as we don't have a designer. My colleagues are a bit more creative, and somehow manage to do this, but this part screws me up bigtime.

    Now the thing is, I want to get better and be able to find a more decent job, but I don't really know which way to take. I like the idea of being a fullstack developer, but with the current structure of doing things in this company I feel that things are not going ok. Manager just expects me to do everything, fast and good, all while I'm being paid 350$ per month. I can't quit even this job for the moment, because of life commitments( I'm still staying with parents, which are sick and old, and if I do, it will do a lot of damage).

    I'm looking for a plan/route whatever to get better and not feel like a piece of shit that knows nothing. I know php, js, css , wordpress all at a basic level. I've been searching the web and i found the following resources for:

    FRONTEND : p1xtguides, freecodecamp, 30days js

    BACKEND : laracasts

    GENREAL: cs50, learning to use git, codewars

    Please give me an idea, I feel very lost...

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

    Struggling to learn a new language after Python

    Posted: 24 Mar 2019 09:09 AM PDT

    Like so many others, I chose Python as my first language and had pretty good success with it - I managed to apply my knowledge at my workplace to a significant extent and I consider myself an advanced-beginner or an intermediate Python programmer.

    After a while I thought it would be a good idea to try and expand my horizons and learn a new language. However, seeing how different syntax is between languages I feel overwhelmed. Python just makes everything so easy - one line of code can be 10 or more in other language. Everything is so easy to understand and read. I can't even imagine what it takes to learn something like C++ after coming from a comfortable place like Python.

    I've heard that once you learn one language, learning another one should be a trivial task, since concepts are more or less the same, except the syntax is different. At this point I feel like I'm learning everything from the beginning when going through Golang tutorials. Should this be expected?

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

    How to I write some code to find combinations of how rearrange my child’s train set?

    Posted: 24 Mar 2019 01:05 PM PDT

    So we recently bought my son a wooden train set - see here for an outline of the pieces included.

    We were having competitions to see who could build the biggest track without looking at the instructions. But kept finding that it's actually quite tricky to make a large track that is able to connect back on itself correctly. Then that got me thinking, surely there's a way to make a program where you can tell it what pieces of track you have and then it'll spit out options for tracks that you could build.

    How would I approach this problem? Obviously each piece has a length, angle and a male or female connecter on each end. Some have multiple connections. You would need to have it come up with combinations then have it test if it would be able to connect back to the start to make a closed loop.

    I have done quite a bit of web/database programming but this is a different ball game and I'm just looking for a nudge in the right direction. Thanks :)

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

    Looking For A Buddy To Learn Web Development With HTML/CSS/Javascript Etc.

    Posted: 25 Mar 2019 12:10 AM PDT

    Hi Everybody, I've been trying to learn web development off and on for the last year. I'm looking for a friend(s) to continue learning with. The eventual goal would be to be at the point where we are hire-able. Hopefully this could hold us more accountable and prevent procrastination in the learning process.

    I have used HTML in the past and have the basics down pretty good. My CSS knowledge is pretty beginner, I did a couple courses on it but haven't used it a lot in a while. I've used Bootstrap a bit and also know some Git basics. JavaScript is the main thing that I have been focusing on learning lately. I know some fundamental things to a degree like data types, logical operators, loops, working with arrays and objects, and basic functions but I still feel like I am far off from where I will need to eventually be.

    If someone is at a similar level that would be great, of course, although it's not necessary.

    A brief background on me:

    I'm 30 years old and live in Canada. I'm quite introverted with some social anxiety problems that prevented me from going to post secondary after high school. I like gaming, although don't do much of it these days because of the above :P

    My goal is to be a self taught web developer, even though that seems like a pipe dream right now.

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

    Is Udemy a good source for learning new programming languages?

    Posted: 24 Mar 2019 11:59 PM PDT

    I'm a Computer Game Design major at my school and I'm on the engineering track so it's basically game design plus computer science. I want to learn other languages that I'm not so familiar with such a Python but on my own time. I learn better through in person lecture and video but I don't have time to squeeze more classes into my course schedule. Is Udemy good for learning new languages? I've used it for other things and I've loved it so far but how is it for teaching programming languages and now that I'm here, what courses would anyone who learned through Udemy recommend for Python and JavaScript

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

    I’m 16 years old with no programming experience eager to build a website.

    Posted: 24 Mar 2019 07:59 AM PDT

    I'm looking for advice on what resources I should get & how I should study & practice to build a functional website.

    Specifically I want the website to have an appointment system where anyone can go & submit an appointment & I will receive a notification to my phone via email.

    Currently I'm on the verge of buying "Murach's HTML5 & CSS3, 4th edition" book.

    Once I have the html, css & javascript aspect done, what resources would I need to learn for the back end or server side of the development? How could I accomplish my goal of building said website in 1-2 years? I have plenty of free time, so I'm able to dedicate my time.

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

    Need help in mips, creating a toMorse function

    Posted: 24 Mar 2019 08:08 PM PDT

    I've written a bit of it but I'm stuck. I don't know how to add a string from an array of strings ammending another string. I forgot how to even access a string in an array of strings in mips.

    The source code and the spec sheet is in my github repo https://github.com/CjStaal/CST-222-MIPS/tree/master/Projects/Project2

    Can anyone please help? I'm desperate. I missed the class where we do this since I had a baby. He went over all this but since I missed it, the project is overdue and I can't ask the professor since it's spring break and he's given me till the end of spring break to hand it in. Plus the third project started.

    I'm determined to get this done and get an A in the class, since I need to in order to do well for my kid. In appreciate any help. If anyone can tutor, please PM me and we can set up a skype.

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

    Lambda School - Full Time Attendance Question

    Posted: 24 Mar 2019 11:52 PM PDT

    This is a question for those who have done Lambda School full time.

    1. How do they track your attendance, and when do you have to be live in meeting? Do you get called on? I'm having trouble getting this information from the website.

    2. What happens if you miss some of the class time?

    3. Do they provide the class information for the week(s) in advance?

    I have a few meetings during the day (from my RL job) and want to know what to expect so I can schedule accordingly.

    I recently applied.

    submitted by /u/meat-space
    [link] [comments]

    How do you all deal with unwinding/backtracking?

    Posted: 24 Mar 2019 11:48 PM PDT

    What I mean by unwinding/backtracking is this - Suppose you are devising an algorithm for a problem. You divide the problem into many smaller units which are all interdependent on each other. Along the way, as nearly the program is complete, you have a sudden shot of wisdom, like Dr. House, that a unit you previously made could have been implemented in a much better way. And there you are, redoing that unit and all of it's dependent units.

    I already suffer from anxiety and this has been quite frustrating for me since I started programming. It has been quite a frequent occurrence now. Is it something that you avoid by gaining experience? Or you plan efficiently before hand? If yes, then how?

    I tried git but then the dilemma arises of how frequently should I commit. I also maintain some common snippets in my book that I think are concise and useful.

    What are your methods?

    Also an unrelated question - I can't grasp OOP however hard I try. I just goes off my head. How did you learn it?

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

    Where do I begin?

    Posted: 24 Mar 2019 11:34 PM PDT

    I am in my first year at my new college and my second year of post secondary education overall - I switched institutions to pursue software engineering (I was originally in general sciences.). I have never done any programming, but I excel at math and physics and find programming incredibly interesting. So I took my first course (C++) and failed spectacularly. Now, I have python coming up for the summer as sort of an intro course to the C++ I will be retaking in the fall. Is it a good idea to enrol in an online python course prior to the python course in the summer? I want to become a software engineer more than anything in the entire world, but I just don't know what to do or where to even begin to assess the conceptual obstacles I face when programming

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

    (Java) Program runs a method to write to a file, but it runs twice instead of just once.

    Posted: 24 Mar 2019 11:31 PM PDT

    I've got this code I've written in java that's basically an AVL tree. I have this 'find' method that checks whether a specific item or data is in one of the nodes within the AVL tree using recursion and it returns that node. It also keeps track of the number of comparisons (called countFn) that are being made while traversing the AVL tree. Right before my 'find' method returns the node it send the comparison count to another method called counter. This method creates a file (AVL_counter) and appends the counter to that file. I have written my code here and have tried to reduce it as much as possible.

    My issue is that when I run the find method it writes the counter to the file twice instead of once. If someone could please explain to me why it does this or advise me on how I could solve this I would really appreciate it, thanks.

    import java.io.FileWriter; import java.io.IOException; public class AVL<T extends Comparable<T>> { private class BTN<T> { T data; BTN<T> left; BTN<T> right; int height; private BTN(T d) { data = d; left = right = null; height = 0; } } private BTN<T> root; private int countFn; public AVL(){root = null;} public AVL(T d) { root = new BTN<T>(d); root.height = height(root);} protected int height(BTN<T> node) { if (node == null) return -1; else return 1 + Math.max(height(node.left), height(node.right)); } public BTN<T> rotateRight(BTN<T> p1){ BTN<T> q2 = p1.left; p1.left = q2.right; q2.right = p1; return q2;} public BTN<T> rotateLeft(BTN<T> q2){ BTN<T> p1 = q2.right; q2.right = p1.left; p1.left = q2; return p1;} public int balanceFactor(BTN<T> node){return height(node.right) - height(node.left);} public BTN<T> balance(BTN<T> n) { n.height = height(n); if (balanceFactor(n) == 2){ if (balanceFactor(n.right) < 0) n.right = rotateRight(n.right); return rotateLeft(n);} if (balanceFactor(n) == -2){ if (balanceFactor(n.left) > 0) n.left = rotateLeft(n.left); return rotateRight(n);} return n;} public void insert (T d) { root = insert(d, root); } public BTN<T> insert (T d, BTN<T> node) { if (node == null){ return new BTN<T> (d);} if (d.compareTo (node.data) <= 0){ node.left = insert (d, node.left); } else{ node.right = insert (d, node.right); } return balance(node); } public T find(T d) throws IOException{ countFn = 0; if (root==null) {return null;} else {return find(d, root);}} protected T find(T d, BTN<T> node) throws IOException{ if (d.compareTo((T) node.data.toString().substring(0, 19)) == 0){ countFn++; Counter(countFn); return node.data;} if (d.compareTo((T) node.data.toString().substring(0, 19)) < 0){ countFn++; return(node.left==null)?null:find(d,node.left);} else{ countFn++; return(node.right==null)?null:find(d,node.right);}} public void Counter(int countFn) throws IOException{ FileWriter counter = null; try{counter = new FileWriter("AVL_Counter.txt", true);} catch (IOException e){System.exit(0);} counter.write(data + ":\n"); counter.write("The AVL find comparison operation count is " + countFn+"\n"); counter.write("\n"); counter.close(); } } 

    the main method in the PowerAVLApp reads a textfile called cleaned data and inserts the first second and third item in every line into the avl tree. the printDateTime method calls the find method from the avl tree.

    Date/Time,Global_active_power,Global_reactive_power,Voltage,Global_intensity,Sub_metering_1,Sub_metering_2,Sub_metering_3

    16/12/2006/19:51:00,3.388,0.158,233.220,14.400,0.000,1.000,17.000

    16/12/2006/23:20:00,1.222,0.046,241.580,6.600,0.000,0.000,0.000

    17/12/2006/00:29:00,0.612,0.000,243.680,4.000,0.000,0.000,0.000

    16/12/2006/20:35:00,3.226,0.078,233.370,13.800,0.000,0.000,16.000

    16/12/2006/17:37:00,5.268,0.398,232.910,22.600,0.000,2.000,17.000

     import java.util.Scanner; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; public class PowerAVLApp{ private static AVL<String> avl; public PowerAVLApp(){avl = new AVL<String>();} public void readFile(String file) { Scanner fileIn = null; // Initializes fileIn to an empty object try { // Attempt to open the file fileIn = new Scanner(new FileInputStream(file)); } catch (FileNotFoundException e) { // If the file could not be found, this code is executed // and then the program exits System.out.println("File not found."); System.exit(0); } fileIn.nextLine(); while (fileIn.hasNextLine()) { String[] Line = fileIn.nextLine().split(","); String k = Line[0]+" | "+Line[1]+" | "+Line[3]; avl.insert(k); } fileIn.close(); } public String printDateTime(String dateTime) throws IOException{ if (avl.find(dateTime)==null) return "Date/time not found"; else return avl.find(dateTime); } public static void main(String args[]) throws IOException{ PowerAVLApp pavla = new PowerAVLApp(); pavla.readFile("cleaned_data.csv"); System.out.println(pavla.printDateTime("17/12/2006/00:29:00"));} } 

    the expected output is

    17/12/2006/00:29:00 | 0.612 | 243.680

    and creates a textfile containing

    17/12/2006/00:29:00 | 0.612 | 243.680:

    The AVL find comparison operation count is <the number>

    17/12/2006/00:29:00 | 0.612 | 243.680:

    The AVL find comparison operation count is <the number>

    expected text is

    17/12/2006/00:29:00 | 0.612 | 243.680:

    The AVL find comparison operation count is <the number>

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

    What is this serverless I keep hearing about? Why is it so popular now and what are its benefits?

    Posted: 24 Mar 2019 05:20 PM PDT

    I assume an example is something like lambda, that just runs a function periodically given some sort of input that does something desirable.

    I guess its more efficient than a server because its not always online and only used when it needs to be.

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

    [C#] Simple Roll / Flipping A Cylinder

    Posted: 24 Mar 2019 11:07 PM PDT

    Hello! I need some help with how to make a cylindrical object do a kind of roll when i double press a key (A and D).

    Basically what i have so far is a top-down SHMUP kind of game where you play as a battery and have to do this roll kind of thing which flips your positive and negative sides, because there are charging stations on the sides and you have to match the batteries + and - sides to the charge station. I've got most of the other stuff/know how to do it, just not the rolling thing. I'd like the roll to kind of be in an upside down U motion but will take whatever is easiest at this point. (I've been learning programming at uni but i'm still terrible at it and still not confident at all with how to do things right)

    Any help would be much appreciated! Thank you.

    void Update() { //Simple movement if (Input.GetKey(KeyCode.W)) transform.Translate(new Vector3(0, 0, speed)); if (Input.GetKey(KeyCode.A)) transform.Translate(new Vector3(0, speed, 0)); if (Input.GetKey(KeyCode.S)) transform.Translate(new Vector3(0, 0, -speed)); if (Input.GetKey(KeyCode.D)) transform.Translate(new Vector3(0, -speed, 0)); //Barrel rolling if (Input.GetKey(KeyCode.A)) { if (!pressedOnce) { pressedOnce = true; time = Time.time; } else { speedLines.SpeedEffect(); //Barrel roll LEFT goes here Debug.Log("BARREL LEFT"); } speedLines.FinishBarrelRoll(); } if (Input.GetKey(KeyCode.D)) { speedLines.SpeedEffect(); if (!pressedOnce) { pressedOnce = true; time = Time.time; } else { speedLines.SpeedEffect(); //Barrel roll RIGHT goes here Debug.Log("BARREL RIGHT"); } speedLines.FinishBarrelRoll(); } if (pressedOnce) { if (Time.time - time > timerLength) { pressedOnce = false; } time += Time.deltaTime; } } 

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

    How to create a subplot- one graph directly under the other- in python?

    Posted: 24 Mar 2019 10:33 PM PDT

    I have two graphs. Graph 1 is Normalized prices vs SMA. Graph 2 is Bollinger Band Values. Both with the same X axis. I would like to create one graph with the Bollinger Band graph as a subplot of the first graph. How would I go about doing this?

    This is my code:

    indicators_df[["Normalized Price","SMA"]].plot(figsize=(15, 5),title="Normalized Price vs SMA") plt.xlabel('Dates') plt.ylabel('Normalized Price') plt.show() indicators_df[["BB"]].plot(figsize=(15, 3.5),title="Bollinger Band Values") plt.xlabel('Dates') plt.ylabel('Values') plt.show() 
    submitted by /u/qwerty622
    [link] [comments]

    Want to learn to code, using a personal project to learn. What language should I learn to accomplish this?

    Posted: 24 Mar 2019 01:39 PM PDT

    Hello, I want to make a computer program to list recipes, assess nutritional values, and make meal plans for 1-2 weeks time. I don't know what language would be best suited for this.

    I don't know enough about the different languages to know what other details might be relevant. I'll answer and update the post if more details are needed.

    If somebody could steer me in the right direction, it would be much appreciated.

    Edit: changed phrasing

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

    [JAVA] how to convert JSONObject date into a java string?

    Posted: 24 Mar 2019 10:22 PM PDT

    The JSONObject is formatted like so:

    "date": {"$date": 1553461024803}

    How can I convert the milliseconds into an actual date + time?

    This is what I have so far, but I can't even get it to run:

     // extract date and convert to string String dateStr = tmp.getString("date"); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); try { Date dateOfCollab = sdf.parse(dateStr); } catch (Exception e) { e.getStackTrace(); } 
    submitted by /u/KISS_THE_GIRLS
    [link] [comments]

    Should i learn react-native or Flutter or Native app development

    Posted: 24 Mar 2019 10:18 PM PDT

    I want to indulge in the field of app development. And want to start learning any one of the above framework , I am hell confused which framework should i learn? I know the java and JavaScript language. Haven't learned the Dart language. Any opinion please.?

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

    Help with adding music to a webpage(HTML)

    Posted: 24 Mar 2019 10:17 PM PDT

    I know very little html. I looked up a tutorial on how to add background music to a webpage but when I tried it said This type of audio file is not supported(tried with a mp3 and wav file) on edge and a play button that said 0:00 on chrome. This is the code I used

    <html>

    <h1 style="background-color:DodgerBlue;">Hello</h1>

    <body>Hello but in a different size font</body>

    <audio src ="song" src="/gndfag/thesong.mp3" preload="auto" controls>

    </audio>

    </html>

    and I have also tried

    <html>

    <h1>Hello</h1>

    <body>Hello but in a different size font</body>

    <source src="Audiohtml/thesong.mp3" type="audio/mp3">

    <source src="Audiohtml/C:/Users/rdsmi/OneDrive/Desktop/gndfag/thesong.mp3" type="audio/mp3">

    <embed height="50" width="100" src="Audiohtml/thesong.mp3">

    </audio>

    </html>

    Im starting to think maybe the pathfile isnt right but Im not really sure

    submitted by /u/Hoes-Love-wF
    [link] [comments]

    In general should every function handle errors (such as validation) or is it ok for a previous function in a chain to handle them?

    Posted: 24 Mar 2019 10:13 PM PDT

    Example in javascript.

    Simple example, question could be a recursive tree type data structure etc.

    // very simple function function isQuestionValid(question) { if (!Array.isArray(question.choices) { return false; } return true; } function operateOnQuestion(question) { // this can throw error const updatedChoices = question.choices.map(choice => modify(choice)); // ... other code } 

    As you can see this function can throw an error, because choices is not guaranteed to be an array. When using this function I can do the following.

    function handleQuestion(question) { if(!isQuestionValid(question)) { // stop since not valid } const updatedQuestion = operateOnQuestion(question); // do other stuff } 

    or is it better to use validation function inside operateOnQuestion function?

    function operateOnQuestion(question) { if(!isQuestionValid) // this can throw error const updatedChoices = question.choices.map(choice => modify(choice)); // ... other code } 

    or just use try catch in such functions

    function operateOnQuestion(question) { // this can throw error try { const updatedChoices = question.choices.map(choice => modify(choice)); // ... other code } catch(err) { // handle error } } 

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

    What are some good books on C#?

    Posted: 24 Mar 2019 09:34 PM PDT

    I am looking to learn about C# since it seems pretty similar to Java which I already have some knowledge on.

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

    How to program a modern PC controller to work on an old game (Resident Evil 3)

    Posted: 24 Mar 2019 09:23 PM PDT

    I have done a little research and found out that I need to edit the bio3.ini and BioKey.ini files. When I open them in notepad I see the following (my attempted edits are in bold),

    bio3.ini:

    [General]

    Save=.\

    Regist=.\regist.txt

    Movie=.\zmovie

    Rofs1=.\rofs1.dat

    Rofs2=.\rofs2.dat

    Rofs3=.\rofs3.dat

    Rofs4=.\rofs4.dat

    Rofs5=.\rofs5.dat

    Rofs6=.\rofs6.dat

    Rofs7=.\rofs7.dat

    Rofs8=.\rofs8.dat

    Rofs9=.\rofs9.dat

    Rofs10=.\rofs10.dat

    Rofs11=.\rofs11.dat

    Rofs12=.\rofs12.dat

    Rofs13=.\rofs13.dat

    Rofs14=.\rofs14.dat

    Rofs15=.\rofs15.dat

    [Video]

    DisableMovie=off

    DisableAlpha=off

    DisableLinear=off

    DisableSpecular=off

    TextureAdjust=off

    Mode=Fullscreen

    [Windowed]

    Driver=NULL

    Device=0ed36e48aa64fc1118f600000c0251e6

    Width=640

    Height=480

    [Fullscreen]

    Driver=NULL

    Device=0ed36e48aa64fc1118f600000c0251e6

    Width=640

    Height=480

    BPP=16

    [Keyboard]

    Key1=200,72

    Key2=208,80

    Key3=203,75

    Key4=205,77

    Key5=

    Key6=1,47

    Key7=50,64

    Key8=48

    Key9=31

    KeyA=45

    KeyB=16

    KeyC=44,62

    KeyD=57,46,28

    KeyE=

    [Microsoft SideWinder Freestyle Pro]

    Key1=4,-500

    Key2=4,500

    Key3=0,-500

    Key4=0,500

    Key5=

    Key6=49,0

    Key7=51,

    Key8=54,0

    Key9=55,0

    KeyA=52,0

    KeyB=57,0

    KeyC=56,0,50,0

    KeyD=48,0

    KeyE=

    [Xbox Wireless Controller]

    Key1=4,-500

    Key2=4,500

    Key3=0,-500

    Key4=0,500

    Key5=

    Key6=49,0

    Key7=51,0

    Key8=54,0

    Key9=55,0

    KeyA=52,0

    KeyB=57,0

    KeyC=56,0,50,0

    KeyD=48,0

    KeyE=

    [Microsoft SideWinder game pad]

    Key1=4,-500

    Key2=4,500

    Key3=0,-500

    Key4=0,500

    Key5=

    Key6=49,0

    Key7=51,0

    Key8=54,0

    Key9=55,0

    KeyA=52,0

    KeyB=57,0

    KeyC=56,0,50,0

    KeyD=48,0

    KeyE=

    [Gamepad F310]

    Key1=4,-500

    Key2=4,500

    Key3=0,-500

    Key4=0,500

    Key5=

    Key6=49,0

    Key7=51,0

    Key8=54,0

    Key9=55,0

    KeyA=52,0

    KeyB=57,0

    KeyC=56,0,50,0

    KeyD=48,0

    KeyE=

    [Microsoft SideWinder Precision Pro]

    Key1=4,-500,32,0

    Key2=4,500,32,18000

    Key3=0,-500,32,27000

    Key4=0,500,32,9000

    Key5=

    Key6=50,0

    Key7=53,0

    Key8=53,0

    Key9=49,0

    KeyA=55,0

    KeyB=57,0

    KeyC=51,0

    KeyD=48,0

    KeyE=

    [Microsoft SideWinder Force Feedback Pro]

    Key1=4,-500,32,0

    Key2=4,500,32,18000

    Key3=0,-500,32,27000

    Key4=0,500,32,9000

    Key5=

    Key6=50,0

    Key7=53,0

    Key8=53,0

    Key9=49,0

    KeyA=55,0

    KeyB=57,0

    KeyC=51,0

    KeyD=48,0

    KeyE=

    [Q-Mark USB Game Device]

    Key1=4,-500

    Key2=4,500

    Key3=0,-500

    Key4=0,500

    Key5=

    Key6=48,0

    Key7=51,0

    Key8=52,0

    Key9=53,0

    KeyA=55,0

    KeyB=

    KeyC=54,0

    KeyD=49,0,50,0

    KeyE=

    BioKey.ini:

    [Keyboard]

    Key1=200,72

    Key2=208,80

    Key3=203,75

    Key4=205,77

    Key5=

    Key6=1,47

    Key7=50,64

    Key8=48

    Key9=31

    KeyA=45

    KeyB=16

    KeyC=44,62

    KeyD=57,46,28

    KeyE=

    [Gamepad F310]

    Key1=4,-500

    Key2=4,500

    Key3=0,-500

    Key4=0,500

    Key5=

    Key6=49,0

    Key7=51,0

    Key8=54,0

    Key9=55,0

    KeyA=52,0

    KeyB=57,0

    KeyC=56,0,50,0

    KeyD=48,0

    KeyE=

    [Xbox Wireless Controller]

    Key1=4,-500

    Key2=4,500

    Key3=0,-500

    Key4=0,500

    Key5=

    Key6=49,0

    Key7=51,0

    Key8=54,0

    Key9=55,0

    KeyA=52,0

    KeyB=57,0

    KeyC=56,0,50,0

    KeyD=48,0

    KeyE=

    [Microsoft SideWinder Freestyle Pro]

    Key1=4,-500

    Key2=4,500

    Key3=0,-500

    Key4=0,500

    Key5=

    Key6=49,0

    Key7=51,

    Key8=54,0

    Key9=55,0

    KeyA=52,0

    KeyB=57,0

    KeyC=56,0,50,0

    KeyD=48,0

    KeyE=

    [Microsoft SideWinder game pad]

    Key1=4,-500

    Key2=4,500

    Key3=0,-500

    Key4=0,500

    Key5=

    Key6=49,0

    Key7=51,0

    Key8=54,0

    Key9=55,0

    KeyA=52,0

    KeyB=57,0

    KeyC=56,0,50,0

    KeyD=48,0

    KeyE=

    [Microsoft SideWinder Precision Pro]

    Key1=4,-500,32,0

    Key2=4,500,32,18000

    Key3=0,-500,32,27000

    Key4=0,500,32,9000

    Key5=

    Key6=50,0

    Key7=53,0

    Key8=53,0

    Key9=49,0

    KeyA=55,0

    KeyB=57,0

    KeyC=51,0

    KeyD=48,0

    KeyE=

    [Microsoft SideWinder Force Feedback Pro]

    Key1=4,-500,32,0

    Key2=4,500,32,18000

    Key3=0,-500,32,27000

    Key4=0,500,32,9000

    Key5=

    Key6=50,0

    Key7=53,0

    Key8=53,0

    Key9=49,0

    KeyA=55,0

    KeyB=57,0

    KeyC=51,0

    KeyD=48,0

    KeyE=

    [Q-Mark USB Game Device]

    Key1=4,-500

    Key2=4,500

    Key3=0,-500

    Key4=0,500

    Key5=

    Key6=48,0

    Key7=51,0

    Key8=52,0

    Key9=53,0

    KeyA=55,0

    KeyB=

    KeyC=54,0

    KeyD=49,0,50,0

    KeyE=

    I just did copy and paste of the code from Microsoft Sidewinder Gamepad, but I have no idea if I am going about this the right way or how I would figure out how to make it so that when the game runs it can detect gamepads. It detects the keyboard buttons but not my gamepads.

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

    Career Advice: Stick with JS/React or switch to C#?

    Posted: 24 Mar 2019 08:30 AM PDT

    Currently, Where I live is very Microsoft heavy (SSIS, C# .NET, SQL Server) while I landed a job a few years back working with Javascript (React, Redux) almost exclusively. I occasionally work with our API which is .NET but nothing extensive. I'm at the point now where I'd like to move to a different company because the one I'm at now has no career advancement. My lack of C# knowledge has made this process very difficult, however, I don't really want to learn C# because I love JS/React! Should I just suck it up and learn .NET?

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

    No comments:

    Post a Comment