• Breaking News

    Tuesday, June 1, 2021

    How to become a programmer. My 2 cents learn programming

    How to become a programmer. My 2 cents learn programming


    How to become a programmer. My 2 cents

    Posted: 31 May 2021 02:22 PM PDT

    Hello, folks! I will give my 2 cents on how you can become a programmer.

    Disclaimer: This is how I see the world and this is my PERSONAL OPINION.

    EDIT: let me elaborate a bit on the learning part, because some of you misinterpreted it. If you work full time as a programmer you are most likely learning a few hours a day already. Also here I'm talking if you want to go high grow to senior/team lead/tech lead/software architect. You don't have to learn non stop in order to keep your job, however you need to learn non stop if you want to be one of the best in your company. Keep in mind just working as programmer you are forced to learn something new every so often, if you just push a bit harder you will go much further and faster in your career.

    1. I see a lot of people trying to become programmers. There are few types of people wanting to become programmers. Some like it because it's "cool and trendy", others because it's well "well paid" and small group of people like it because they are interested in it genuinely. No matter which type you are, you must understand that programming is never ending learning process. It's not like some other professions where once you learn it it never changes. To be a good programmer you havr to spend hours learning new stuff EVERY SINGLE DAY, every day you have to read and develop yourself if you want to be good. I know some of you will say: "I learned X language and Y framework and it's all good i get paid it's fine, you don't have to keep learning ". Those people don't last long, if you don't progress and learn every day after a year or two you will become useless. Younger people with less years of experience, but more knowledge will replace you. Nobody is going to hire someone who's not progressing, keep that in mind, you have to constantly learn and keep pushing forward.

    2. A lot of people wonder if they are good enough to be a programmer. All it takes to be a good programmer is to practice and learn. Only few people have the talent to be a great programmers, however almost anyone can be a decent or a good programmer. What I'm trying to say is, even if you aren't the sharpest tool you can keep up with others or even surpass them, just by practicing more than them. I believe you can become good, if you just push hard enough.

    3. Practice and consistency is the key to success. You have to practice every day, even if it's just for half an hour. It's better to practice 7 days a week 30 minutes each day than to spend 8h every sunday. You need consistency and practice in order to understand and remember things.

    4. Make sure when you are not getting distracted by anything while studying. Try to spend at least 30 minutes a day focusing only on studying, no phone, no social media, no music, just reading and practicing programming. 30 minutes focused studying is better than 4 hours studying while getting distracted.

    5. Don't watch video tutorials. Most of tutorials are just someone following the documentation and making a video. Read and follow the documentation yourself. I know, I know someone will say: "Yes, but in the video X person Y mentioned something that wasn't in the documentation and it was very useful". True, there are some useful moments videos, but they are so few its not worth wasting your time with it. Instead of wasting 30-60 minutes watching a video and blindly coping the code from the video, read the doc in 15 min and practice the next 45 minutes. You will learn a lot more just by reading documentation and tinkering around, watch some conference instead of stupid getting started tutorial.

    6. Don't switch languages all the time, focus on only one. A lot of people think by learning basic syntax of language X that they know it. Understanding some programming language isn't about the syntax, you can code in Java and switch to PHP in matter of minutes/hours. However that doesn't mean you understand php, it means you know the syntax enough to write few loops and if statements. Understanding a programming language is so much more than knowing the syntax. It takes years of practice to deeply understand a programming language.

    7. Read code on github. After grasping the syntax of some programming language, pick a simple problem you want to solve. Write the code, then search for solution online and read up how other people solved the same problem. You will learn a lot by reading other people's code.

    8. Don't get discouraged. If you don't understand something instantly don't bash yourself, sometimes it takes a little bit of time to understand. Try getting a rest and continuing on the next day if you get frustrated. Don't give up, failing means you are learning.

    9. The most important skill is to know how to Google stuff the right way. What i mean by that is: You should learn to Google your problem in such way, that the solution to be first or second link, not the 5th result or on second page.

    10. First things that you need to do is to decide what you want to code

    Web - PHP, Python, Java, C#, Ruby on Rails, Javascript

    Embedded and System Programing - C, C++, Rust

    Automation - Python, Golang

    Command Line Tools - Python, C, Golang, Rust

    Games - C#, C++

    Desktop Applications - Java, C#

    Android - Java, Kotlin.

    iOS: - Swift, Objective C.

    Front End - Javascript + HTML + CSS

    1. The language doesn't matter that much, all languages can do almost anything. Some are just better for mobile apps other for games.

    2. DON'T START WITH A FRAMEWORK!!! learn the basics I can't stress this enough!!! Everything is based on same basic things: variables, data types, data structures, loops, conditions, functions. Learn them and you will be able to understand the material further.

      You should aim for is learning the fundamentals... how everything works in programming.

    Imagine you want to teach someone how to multiply 3 by 3. You will tell him that 3x3 = 3 + 3 + 3 = 9 right? You bring the multiplication to addition right? Now imagine, if that person doesn't know how addition works. if he doesn't know that 3 + 3 + 3= 9 you won't be able to make him understand how 3x3 works. You might be able to make him remember that 3*3=9, but he won't know why and how. It's the same thing in programming, if you understand the truly basic things you will be able to use and understand any programming language fast.

    Same thing learning OOP in programming is based on functions methods in oop are basically functions.

    1. Finding a job, here comes the hard part... One way to find a job is: a. Create Linkedin profile add as many HR and technical people from your country, city as possible. b.Create some good looking project on Github, write proper documentation for that project in the repo as well. Documentation is very important it shows that you are responsible person. c. Create CV/Resume, put your Github repo inside. d. Post on LinkedIn that you are looking for internships, in the post include your resume and your github profile. e. people will start contacting you about interviews.

    2. When it comes to interviewing those are my 2 cents:

      1. Self esteem and confidence is needed, but don't be cocky, be humble and honest.
      2. You will always be asked something you can't answer, just ask the interviewer to explain it to you. That way you learn something new for free, also you make good impression as a guy who wants to learn and develop himself further. This boost your chance of getting hired. You make new friends, they might not hire you now.but they can help you later you never know. I've been hired by people that rejected me years ago.
      3. Human interaction itself is pretty good, soft skills are very important important, sometimes even more than the hard skills (coding skills).
      4. Always ask for a feedback, you will learn what your bad sides are.
      5. You will learn how much you cost when you get many different offers.
      6. You will get to know what technologies different companies use and for what reason.
      7. For your first job the best impression you have to make is, that you are able to learn fast and learn from your mistakes.
      8. Most internship/junior people are hired based on intelligence and soft skills, not hard skills (coding skills).
      9. At my company we can hire you even if you started learning programming 1 week ago as long as you show good potential for development.
      10. Most juniors out there can't even do enough work to deserve their salary the first year.
      11. You should show them that you can think the right way, will give you example:

    We ask people to find a way to tell me how many leafs are on the tree outside our office.

    The good answers sound like this:

    I don't know, but we can get approximate number by counting leafs on a branch. Then counting branches and multiply it by leafs per branch, however not all branches have equal number of leafs, but that way we can get approximate number. This shows that you can come up with some solution and you have the right mindset and enough potential.

    Bad answers sound like this:

    I don't know, how can i know they are too many, I can't count them. So anyone who doesn't show a good way of thinking and common sense gets rejected.

    1. Also very important thing is to think out loud. If they ask you question and you stay silent for 2 minutes. You are thinking in meantime, but other side just see you silent and think. 'this dude is an idiot he can't even speak is he even thinking about giving an answer'.

    So just think out loud, if you don't know the answer. Say you don't know, but you assume the answer might be.... and here express some of your own logic based on your knowledge about the question. It's okay to say you never heard of something and you have no idea. After all you are applying for an internship, not a senior position. Keep calm and good luck.

    Sorry for bad English, I know I have a lot of grammar and punctuation mistakes, please help me fix them.

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

    5 ways to build a high performing software engineering team

    Posted: 01 Jun 2021 03:42 AM PDT

    Constructing a high performing software engineering team requires something more than just having the top developers. Leaders in the high performing software product development team have to make sure that their group's work line up with the objectives of the business and keep into consideration the future so that they are ready to grow. They also have the right talent to meet the challenges that help them grow at a higher pace.

    Building high performing software is a skill that is non-negotiable for engineering leaders. This is the distinction between failing and successful technology corporates. Here are the 5 ways that can be used to create a high performing software engineering team.

    Hire Well

    It all started with appointing the best people. You need to look for developers who are even smarter than you. Choose the experts who can perform tasks that you are can't do. They will signify your accomplishments and not your demise, so you don't have to be threatened by them. Being a leader, you only can feel helpless when you can't grab their attention and keep them.

    Appoint developers that matched your team's culture but boost openness and diversity. Compatibility is different from being the same and it implies that the people working in your team make the environment better and work well to improve the team performance.

    Encourage employee development

    Encouraging employee growth is another important thing while creating high performing software engineering team. Instead of micromanaging, give rise to new leaders within your small business. You are required to invest in your team to create a high performing team. Offer training so that workers don't stay still. The training can facilitate developers to undertake new responsibilities, increase their knowledge, and improve their expertise.

    Recognize your employees

    You will notice that recognizing employees will help fuel many of them. When you recognize well-performing employees regularly, they will work even harder. You can plan to recognize them with non-monetary rewards. Announce about the good performance of an employee, throw a party or send a congratulatory mail. You can also recognize top-performing employees with raises, promotions, and bonuses. Recognition is more than offering rewards or promotions; it also needs you to know your employees.

    Do not get in their way

    As you appointed the smart people even more than you, you must allow them to perform their tasks. Don't stop them from growing. Power their strong points and permit them to give their best and don't try to change them. If they make mistake once, keep an eye on their work to ensure that they don't repeat it. Recurrent errors become part of the culture and are not easy to eliminate.

    Be a true leader

    It is important to manage your high performing team after you have created one. You may have hired top-notch developers for your team but it is not enough because with incompetent leadership you can drop your A-Level team to the C-level performing team. Even if you are not a born leader, you can manage to be a good leader in your business. You can begin with directing your desire for your company

    Conclusion

    Currently, irrespective of the industry, each company is bearing pressure to create and provide the best possible software. The only way to incorporate software product modernization is to make sure that you appoint the best talent for your software engineering team. The 5 ways mentioned in the article will facilitate you to do just that. If you are looking for help regarding software development, microservices architecture, healthcare & mortgage software, Microsoft Azure Cloud Application Development, or other software engineering services,

    Read More : https://www.taliun.com/

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

    Coding Advice!

    Posted: 01 Jun 2021 03:33 AM PDT

    Hey guys, I'm a junior year CS major at a university in US, ever since summer has started, I've been wanting to get ahead before my class (Data Structures and Algorithm) starts next fall but have failed to do so, I need to learn things from scratch because I don't know much in this class. I've spent all this time just looking at posts about what resource is the best but get scared. Is anyone in my position? I really need structure to my learning which I lack now. Idk what to do. I feel like I'm gonna waste my entire summer just doing nothing. Advice? Any book you think I should get or if I should join leet code? I have so much time in my hands, please guide me! Thank you!

    PS anyone in similar situation? Maybe we can help each other out. LMK!

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

    C#, python, scrapy, django, flask: can anyone tell what more is expected

    Posted: 01 Jun 2021 02:54 AM PDT

    I started to learn django, I was pushed towards pycharm and ubuntu, well I was not so good at Linux, still I took a big leap in understanding the OS level commands and tried running ubuntu on windows 10. I know it works on 32 bit c# libraries. Should I switch to focus on linux based programming only? All I know is that Microsoft documentation Simply is a disaster. They are never complete and I don't want to stick my head down on to c# and .Net architecture. The question daunts me every day and night, will I be able to take python seriously enough to shake rhe roots of old c# masters???

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

    Sorting a multidimensional array using merge sort?

    Posted: 01 Jun 2021 03:48 AM PDT

    I am trying to sort this multidimensional array after the number on the first index using the merge sort algorithm, but I am very unsure on how to do so.

    This is the multidimensional array I am trying to sort:

    [[1347517405, 54413, '78'], [1347517413, 54421, '86'], [1347517454, 54462, '127'], [1347517460, 54468, '133'], [1347517461, 54469, '134'], [1347517426, 54434, '99'], [1347517464, 54472, '137'], [1347517394, 54402, '67'], [1347517445, 54453, '118'], [1347517375, 54383, '48'], [1347517377, 54385, '50'], [1347517392, 54400, '65'], [1347517450, 54458, '123']]

    And I can implement a general merge sort algorithm, but i cannot do it in a way where I sort after the number in the array on the first index.

    My implementation of merge sort is:

    def merge_sort(arr): if len(arr) > 1: mid = len(arr) // 2 left = arr[:mid] right = arr[mid:] merge_sort(left) merge_sort(right)

    i = j = k = 0 while i < len(left) and j < len(right): if left[i] < right[j]: arr[k] = left[i] i += 1 else: arr[k] = right[j] j += 1 k += 1 while i < len(left): arr[k] = left[i] i += 1 k += 1 while j < len(right): arr[k] = right[j] j += 1 k += 1 return arr 

    How can I fit the general merge sort algorithm to sort this array?

    submitted by /u/The-Impossible-UserX
    [link] [comments]

    I have exactly one year to learn programming and get a job or face homelessness. How do I get there as fast as possible?

    Posted: 31 May 2021 03:55 PM PDT

    Hey everyone,

    First of all, I apologize if this is not the appropriate place to post this, but unfortunately I'm in a situation where my parents have decided that I have to move out of the house within a year, either with a job and my own place to live or become homeless until I can find one.

    I have a degree in communications from a low-rated community college and some previous experience with HTML/CSS from a blog I used to manage, so webdev is likely the fastest path to a job and it's also the job with the most offerings from any programming related job by a wide margin. Most of the job offerings from my region require PHP, Node.js and Python skills and previous experience. I have none, but I'm more than willing to put in the effort.

    As far as options go, I recently looked at The Odin Project, Angela Yu's and Colt Steele's bootcamps on Udemy. All seem good options, but none seem to have PHP in their curriculum. I'm open to suggestions to anything, as long as it's not above 100 USD. I have about 8-9h/day to dedicate to study and I'm a fast learner.

    I'm not asking for pity, donations or a shoulder to cry on. I'm looking for advice from people who made the self-learned route and managed to get a job within a year. I made choices and I have to live with the consequences. Any advice related to programming is greatly appreciated. Thanks :)

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

    I have to see the AVG of a row, but when it shows up saying AVG : 5.3333.

    Posted: 01 Jun 2021 02:05 AM PDT

    import cs50 from sys import argv, exit import string db = cs50.SQL("sqlite:///rating.db") ask = input("Rate a Movie or See the Rating? ").lower() if ask == ("rate a movie"): rate_a_movie = input("Name a Movie ") rate = string.capwords(rate_a_movie) h = db.execute("SELECT * from R WHERE Movie = ?", rate ) D = db.execute("SELECT DISTINCT Movie, Year from R WHERE Movie = ?", rate) if D != []: for row in D: # M = row['Movie'] print(row['Movie'], row['Year']) confirmation = input("Is this the movie you are looking for? ").lower() if confirmation == ("yes"): for row in h: ask_review = input("Write a Review ")[:100] RR = int(input("How much will you rate? Please write a number between 0-10. ")) if int(RR) > 0 and int(RR) < 10: print("valid") db.execute("INSERT INTO R (Movie,Rating,Year,Review) VALUES (?,?,?,?)", row['Movie'], int(RR), row['Year'], ask_review); exit() if ask == ("see the rating"): see_rating = input("Name a movie: ") see = string.capwords(see_rating) x = db.execute("SELECT * from R WHERE Movie = ?", see ) y = db.execute("SELECT DISTINCT Movie, Year from R WHERE Movie = ?", see) if y != []: for row in y: M = row['Movie'] print(row['Movie'] + " " + str(row['Year'])) c = input("Is this the movie you are looking for? ").lower() if c == ("yes"): for row in y: RRR = db.execute("SELECT AVG(Rating) from R GROUP BY Movie = ?", see ) print(see) print(RRR) 

    That is my code, I am making a program where you can rate movies and stuff. RRR is printed correctly I believe and it does calculate the average rating of a movie correctly. But it shows it like this: [{'AVG(Rating)': 5.666666666666667}]. I don't want any brackets or AVG(Rating). I just want the number rounded to 1 decimal place.

    Please help me. I am a beginner.

    Thanks

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

    Python: DFS from Scratch

    Posted: 01 Jun 2021 01:59 AM PDT

    I'm very new to programming in general and Data Structures so please bear with me... I'm trying to construct a DFS function from Scratch using 1) tree and 2) target and need to output the path (towards the target) and the full traversal route.

    Most examples I found online use "source" instead of "target" and I can't seem to be able to figure out a way to construct and implement a method that uses "target" and "tree." I've been trying all different methods but can't seem to find one that works. I'll be going to the Office Hours this week but any and all 2 cents from you programming veterans is appreciated. xx

    # non-recursive (full traversal path only)

    def dfs(tree, target): history = [] stack = [source] if target not in tree: return history while (len(stack) != 0): s = stack.pop() if s not in history: history.append(s) if s not in tree: continue for neighbor in tree[s]: stack.append(neighbor) return history 

    # recursive (full traversal path and optimized path)

    chain_of_ancestors = list() history = list() for parent in tree: if parent == target: chain_of_ancestors.append(parent) history.append(parent) for child in parent: if child == target: dfs(child) else: history.append(tree) return chain_of_ancestors return history 
    submitted by /u/lalopark
    [link] [comments]

    [Java] Composition vs Inheritance

    Posted: 31 May 2021 10:10 PM PDT

    Im currently learning fundamentals of OOP, does composition lets you inherit from multiple parent class?

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

    Formfields in Word-Documents

    Posted: 01 Jun 2021 01:38 AM PDT

    Hi everybody!

    Hope there is a solution for my problem... I try to use python for filling in the default text in word-document formfields but unfortunately i havent been succesfull yet. I played around with win32com and found a way to overwrite the formfield, but not to insert something. Is there anybody who had a similar problem? In the end the goal is to fill in the formfields of word-templates automatically.

    Thanks in advance!

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

    Javascript Laracast

    Posted: 01 Jun 2021 01:36 AM PDT

    I would like to start programming with javascript and I'm looking for courses. I had a look at laracasts what's is your though about it ? Do you have any advices about potential better learning website?

    I'll have 3 months ahead of me to learn full time. Is it a good solution?

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

    C++ for news jobs required?

    Posted: 31 May 2021 11:24 PM PDT

    is c ++ a required program for current job postings? Why do universities in Mexico teach them? I think php or react should be better option to learn...

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

    If you’re making a an Android and iPhone app, is it a super tedious process to make them “match” is there ways to streamline this?

    Posted: 31 May 2021 07:58 AM PDT

    Just curious how this works. You make like an API for the backend for both, but then you use Swift for an iPhone app and Java for an Android app, right? So you're essentially making both apps from scratch. So is it sort of tedious to make them look and feel like the same app? Like you make the Android one first, and then when making the iPhone app, you have to be like "okay I made this button this size with this font size, gotta make sure I stay consistent..." or is there a more streamlined process involved?

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

    Translating Longest Common Sequence Pseudo-code to Java code

    Posted: 31 May 2021 11:14 PM PDT

    Hello, I am trying to convert this Pseudo-code of Longest Common Sequence from this book Introduction To Algorithm 3rd edition page 394 to Java.

    https://postimg.cc/LhLTZxby

    public static void main(String[] args) { char[] X = { 'A', 'B', 'C', 'B', 'D', 'A', 'B' }; char[] Y = { 'B', 'D', 'C', 'A', 'B', 'A' }; int c[][] = LCS_DYNAMICPROGRAMMING(X,Y); System.out.println(c[X.length][Y.length]); //should print 4 } private static int[][] LCS_DYNAMICPROGRAMMING(char[] X, char[] Y) { int m = X.length; int n = Y.length; int[][] c = new int[m + 1][n + 1]; char[][] b = new char[m][n]; for (int i = 1; i < m; i++) { for (int j = 1; j < n; j++) { if (X[i] == Y[j]) { c[i][j] = 1 + c[i - 1][j - 1]; b[i][j] = '↖'; } else if (c[i - 1][j] >= c[i][j - 1]) { c[i][j] = c[i - 1][j]; b[i][j] = '↑'; } else { c[i][j] = c[i][j - 1]; b[i][j] = '←'; } } } return c; //don't worry about b for now. } 

    It should print 4. But it doesn't. I don't know what am I doing wrong. Somebody please help!

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

    Where can I learn how officeopenxml works and how information from .docx documents is stored in XML?

    Posted: 01 Jun 2021 01:24 AM PDT

    I am writing a program to extract mathematical equations from .docx files. Is there any reference which lists all the XML tags officeopenxml uses to represent equations? I've found Microsoft's documentation, but I can't find a description of which tags exactly it uses to represent an equation and how.

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

    How can I streamline a prime number programme?

    Posted: 01 Jun 2021 04:46 AM PDT

    I am pretty new to programming. I have created a prime number finder in Python which lists the prime numbers between two inputted values. Any ideas how I can reduce the run time? It currently compares the remainder of dividing each integer between the bounds by the odd numbers up to the square root of the number questioned and 2. When a remainder is 0, that number is removed from a list of integers between the bounds and that number is not compared to any more numbers. I can post the code if that would help, I'm just looking for ideas on how to increase the efficiency.

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

    Is it good thinking, that it is beneficial to learn a fully featured framework like Laravel to understand backend web development concepts?

    Posted: 01 Jun 2021 04:42 AM PDT

    With Node.js and Express it seems I have many ways to do backend the wrong way.

    Laravel however probably covers most advanced concepts in backend web development within the framework (like migrations).

    Am I wrong?

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

    Looking for a website that offers fairly expensive courses / material.

    Posted: 01 Jun 2021 04:38 AM PDT

    Hello and first of all I apologize in advance for my sub mediocre grammar.

    Some time ago either on this sub or some other similar sub I ran across a post that told about this website at the time offering a bunch of programming lessons and courses or whatnot.

    Now I don't remember what that site was called. From my understanding it's a very common and well known site amongst these subs.

    Thank you in advance 🙂

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

    Using variables from an array in postman

    Posted: 01 Jun 2021 12:42 AM PDT

    I'm testing an API and I have a list of values which I want to iterate through and input the next value from the array in a POST request. It sort of works but instead of posting just the next value, it removes the first value in the list, then posts the full array, and keeps doing that until it gets to the last value.

    I have the below:

    body:

    "text": {{texts}} 

    Pre-request script:

     let texts= pm.collectionVariables.get("texts"); if(!texts || texts.length == 0) { texts = ["abc" , "xyz", "abcd"]; } let currenttexts = texts.shift(); pm.collectionVariables.set("text", currenttexts); pm.collectionVariables.set("texts", texts); 

    tests:

     const texts= pm.collectionVariables.get("texts"); 

    if (texts&& texts.length > 0){ postman.setNextRequest("Loop Post Parameter"); } else { postman.setNextRequest(null); }

    pm.test("Status code is 200", function () { pm.response.to.have.status(200); });

    Result:

    query 1 returns: abcxyzabcd

    query 2 returns: xyzabcd

    query 3 returs: abcd

    How do I get it to just send abc on the first one, xyz on second etc?

    submitted by /u/electric-sheep
    [link] [comments]

    What language can I use to create a Program that uses spreadsheets?

    Posted: 01 Jun 2021 04:23 AM PDT

    Hi , I need to create a program that will assist me with some of my works tasks.

    I think that the actual logic and programming is nothing too hectic and something that I should be able to learn on my own. I just don't know what language I should be using.

    The program need to be able to do the following.

    1:Allow the user to input a an item description, quantity and rate.

    1. the program must calculate the totals and subtotals.

    So far that's just basic excel, here's where it gets a bit tricky.

    I need to be able to read the totals from multiple users and store that data and perform comparative analysis.

    I basically need to be able to create a bill of quantities. Distribute it to multiple people and collect and analyze the data. The output will be a summary of the input received.

    Any assistance would be appreciated.

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

    Running simple Ruby code but with acceleration

    Posted: 01 Jun 2021 04:19 AM PDT

    Hey guys! I'm a real noob in terms of programming but I do have some bases from working with simple arduino projects.

    I wanted to run a simple bip mnemonic generator but I needed to modify it to fit some criteria, for that I did a small while loop, if my criteria is just one word it does it nicely, but from two words onwards it loops indefinitely.

    I'd need some sort of hardware acceleration from what I was able to search online, I came across ArrayFire which seems to be able to be incorporated into the code but I have absolutely no idea how to do it, couldn't even find a simple youtube tutorial explaining how to run the code using all my CPU or my graphics card instead, can anyone guide me?

    I'm on Win10, using Atom.io and Ruby

    submitted by /u/zer0-n0x
    [link] [comments]

    Random Delay Generator using C.

    Posted: 01 Jun 2021 04:19 AM PDT

    Tdnc = (P/210), value in seconds.
    P : decimal value of the shift register generated by the polynomial generator X10+X3+1. The MSB of the P word is the left most bit of the shift register.

    Please help me with this.

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

    Which to Learn Next

    Posted: 01 Jun 2021 12:32 AM PDT

    So I'm working on my masters in software development (no CS background prior) and have loved everything so far. Prior to my masters, I did learn some Java pretty in depth through a few undergraduate courses prior and am pretty comfortable with it now. Currently, I'm in having to learn Python for my program. It's going really well and is super quick to learn since it's similar to Java in many ways (though it seems much more straight forward and less tedious).

    My question is this: what language should I work on next? I'm wanting to study another one in my free time, but can't figure out which I should focus on? Would Ruby or C# be a good choice? I'm wanting something that I can learn in addition to Python that won't prevent confusion (preferably not HTML or any of that. I'm not really into web design at the moment). I've discovered that after learning Java, I can pretty much just look up the difference for Python. So if I need to learn how to do a for loop, I can just look up the syntax and it's pretty quick to learn. So what would be a good third language?

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

    No comments:

    Post a Comment