• Breaking News

    Wednesday, June 26, 2019

    For those who found jobs after self-learning, what are some things you learned at work that you surprisingly didn't know about related to your tech stack? learn programming

    For those who found jobs after self-learning, what are some things you learned at work that you surprisingly didn't know about related to your tech stack? learn programming


    For those who found jobs after self-learning, what are some things you learned at work that you surprisingly didn't know about related to your tech stack?

    Posted: 26 Jun 2019 07:20 PM PDT

    I'm an iOS developer and have been making some so-so apps since 2013. When I got a job in 2017.

    • I learned that there's something called a "standalone app." Essentially, using the IDE Xcode (used for iOS development), you can add a new target and basically make it run a new app. The point of this app is to showcase or quickly show custom view controllers, views, etc. without having to deal with using the real app to get to the entry point where the app would show that screen.
    • I didn't know about debug and release modes. I also didn't know you could make Xcode run shell scripts depending on when the project is building.
    • I didn't care much for unit testing when I was learning, but basically had to learn it at work. I was amazed that Xcode had an ability to calculate how much of your code was tested using a coverage report built in.
    • I didn't know what CI/CD was. Essentially a process for having continuous releases in an organized manner.
    • You can make all of your unit tests appear in the simulator when you run them, but you would have to configure to run an empty app target; something like that. I still haven't fully done it myself. So at work, when you run all the tests, all the views appear and so on in the simulator.
    • Found out what feature flags (flags that tell what users are eligible, like menus only shown to them, etc.) are and rules (ability to enable/disable app features server side or change settings).

    What have you learned at your job that you think those still learning should know about?

    submitted by /u/Evariste-Lovelace
    [link] [comments]

    Is it normal to get an answer to a problem the moment you step AWAY from your screen?

    Posted: 26 Jun 2019 08:10 AM PDT

    This happens literally all the time for me.

    I'm sitting infront of my screen, I'm frustratingly trying to solve a problem or a coding challenge for maybe 30mins. I then stop and take a break for maybe 5 to 15 mins.

    Then somewhere during those few mins, my mind wonders off and goes back to that problem. I would then either talk to myself or another person about the problem, how I am stuck and what is supposed to happen, and BOOM, I promptly solve it aka have an eureka moment.

    ALL. THE. DAMN. TIME.

    I'm still learning and want to get a job as a Jr. but I can't imagine me dipping out everytime to clear my mind when I encounter a problem so I can solve it. How do you deal with this or is this some kind of ADHD related thing?

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

    Overwhelmed with Computer Science

    Posted: 26 Jun 2019 09:04 PM PDT

    Hello.

    I am new here and this is my first post ever on Reddit but, I just feel like I need some advice from people who know what they're talking about. I'm not sure if this is what this community is for so, sorry.

    Okay so anyways, I'm 20 years old and I'm currently going to a university for a Bachelor's in Computer Science, and it's overwhelming. Not so much the university, I have a 3.7 GPA so far and everyone is nice there, but there's just SO much to computer science as a whole. I'm very interested in machine learning and AI but there's just so much to learn such as Python, Django, discrete math, linear algebra, java script, algorithms, etc, etc. And I feel as if my head is going to explode. I've been studying probably about 9 hours a day everyday and some people don't talk to me anymore because of it but I just want to learn this stuff so bad but it's making my head hurt and I'm super stressed to the point where I feel like giving up.

    Okay I'm rambling, sorry. I guess my question is, where should I start? I've learned Python I suppose you could say, meaning I've read some books on it and created some neat stuff, and I also know how html works. I'm also reading Book of Proof which is about discrete math and trying to learn how Django works (but Jesus is Django overwhelming). I just feel like I've started late because I'm 20 now and I know that some people start at 17 or 18 and stuff so I feel as if I need to study super hard to catch up with everyone. I see these really brilliant people like Peter Norvig and they're just incredibly sharp and I want to be like them so bad.

    Okay so I'll end this here and stop blabbing I just felt as if I needed to get this off of my chest, the moderators can delete this post if it isn't appropriate and thanks to everyone for reading.

    I love you, bye.

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

    Any mental exercises I can do to think more logically?

    Posted: 26 Jun 2019 07:35 PM PDT

    So everytime I start to solve a problem I haven't seen before, I have a bad habit of automatically "boxing" it into a solution I've already written before, then tweaking the solution until it fits the input correctly.

    Is this really a good way to go about programming in the real world? It feels hacky and not really a good approach. I've been told that I'm supposed to spend time thinking about the data structures I would use, then design an algorithm or something to solve the problem in a step by step way.

    One more thing. Sometimes I'll come up with what I think is a good solution to something with some basic validation(like null checking the params passed into a method, making sure passed in lists/arrays aren't empty, etc.), then I go to stackoverflow and see this crazy one-line "return" solution to my 10-20 lines I wrote and it just makes my head spin.

    Is there some secret that advanced programmers have where they can magically mentally already see the one-line return in a method instead of doing a tedious input checking for nulls, empty etc.?

    It's making me go crazy how elegant/simple the solutions I see are, and I just don't get it. I feel really dumb for writing so much code.

    Here's a good example. It's a problem in CodeWars that I solved:

    My solution vs the one-liner I saw as a solution afterwards: https://pastebin.com/766xuBkg

    So what does everyone think? How do I become a better programmer here and come up with such simple solutions to things? And "practice" can mean a lot of things. For example if I want to become very good at problems solving using C# what should I study to get to that goal?

    submitted by /u/itl-lmfao
    [link] [comments]

    PHP: I've been learning how to write cookies and use them to store data. In this example web app, a user can choose books to "buy" and it adds the book to their shopping cart, I'm trying to make a "remove" button for the shopping cart and getting completely stuck.

    Posted: 26 Jun 2019 11:36 AM PDT

    Here is the code:

    shop.php

    viewcart.php

    I know there's a lot of code there and I would understand if no one wants to read through all that code, but I'm really having trouble understanding how to add a working "remove" button to this shopping cart.

    As far as I understand: In shop.php, it pulls from the catalog database and displays all the information, including a "buy" button in a table. When someone hits buy, it saves the isbn as $isbn, and sends them to viewcart and writes that isbn to $cartdata, where it will then be saved as a cookie, then uses the outputbooks() function to list the books in their shopping cart in a table.

    My guess for the remove the isbn from cartdata and overwrite the cookie with the new $cartdata, and then repopulate tha table using outputbooks() ? That's at least what I've been trying to do to no avail. Any help would be greatly appreciated!

    EDIT: If this helps at all, the assignment recommends using pattern-matching.

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

    How do you go from finishing courses on programming to ACTUALLY building full applications?

    Posted: 26 Jun 2019 10:22 PM PDT

    Just finished an introduction to java class. did multiple lab/assignments and solved some problems.

    I have NO idea how to go from this type of knowledge to ACTUALLY building out fully-fledged applications.

    I can figure out how to express the quadratic formula or make a simple checkers game, but how the heck do you go from there to building things like Netflix, Facebook, etc.?

    My intro to programming class doesn't seem to teach me anything on how to build stuff like that.

    Any advice on how to get there and which knowledge to pursue?

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

    How did some famous entrepreneurs learn to code without taking programming courses?

    Posted: 26 Jun 2019 11:03 PM PDT

    This post idea came to me after watching a documentary about Patrick Collison who took Math in MIT, then just jumped into making Stripe, which is very hard for a beginner programming with not much experience.

    Also Zuckerberg mentioned his friend just bought a book on PERL before starting to code Facebook (which wasn't even in PERL).

    There are many examples of modern entrepreneurs who took other semi-related courses in university. Some entrepreneurs even dropped out and didn't finish.

    How did they just jump into coding some of the most successful websites/products? How did they learn to code?

    For me it feels like the "beginner" stage alone will take me at least 1 year (longer if I don't code full time). Let alone starting an advance project...

    Are they just genetically more talented?

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

    I feel the need to learn early or I will somehow "be too far behind"

    Posted: 26 Jun 2019 03:17 PM PDT

    programming seems like a college choice in my country but it is even possible to become "ready" for a job as junior developer just in 3 years? what level of programming does a junior developer even need? is college enough?

    I feel the urge to start learning now 2 years before going to college because I feel like im not going to be ready

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

    what to do in demotivation

    Posted: 26 Jun 2019 09:52 PM PDT

    I am working on transitioning onto to high order functions and oop. Sometimes however, it feels like rocket science or my brain tries to compute a piece of code and it malfunctions or maybe I feel too dumb. Any advice?

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

    What path should I follow as a 17yo?

    Posted: 26 Jun 2019 04:11 PM PDT

    Hey! Im 17yo and Im about to go to college to study CS but I want to learn something to do in my free time to start making money to help myself survive college and not starve to death and also learn some skill.

    The ideas that I found and I thought about using were:

    - Start learn programming now and use it + the knoowledge from college to freelance and make money while in college which is one of the pathhs.

    -The 2nd path I've thought of following is learning Facebook ads and running an agency, doing fb ads for busines to get more money (i suck at getting clients tho)

    -And other path i've thought of following is learning how to bug hunting and do bug bounty hhunting.

    These aint paths that will me make me start earning money in some weeks, but i believe i can learn them in 1 year and start earning money with them whhen i will need it for college

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

    How do I run a jar file from c#?

    Posted: 26 Jun 2019 08:24 PM PDT

    I have made a few applications in java and wanted to be able to open them using c#. Is it possible?

    thanks in advance

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

    Moving elements in a list one by one on a screen

    Posted: 26 Jun 2019 08:07 PM PDT

    I'm making Tetris game and I'm trying to activate each DOM element (the pieces) and the game will continue as the piece list is iterated through, in which case one piece will fall down and land and then the next piece in the list will appear and start dropping.

    I've made a piece list and iterated through it but it keeps moving all pieces together as a whole at the same time. I've tried some time delay/pause features and other things that might work like boolean/break conditionals but those aren't working. What am I missing here in terms of javascript tools or programming concepts?

    ///above this is var p[] that has a list of DOM pieces for(var i = 0; i < p.length; i++) { v = p[i]; console.log(v); v.style.left = "300px"; v.style.animation = "Vertical 4s 1"; } ///below this is the piece rotation code which is working just fine in and of itself, al though I can only rotate the last piece in the list, it never pauses for each piece 
    submitted by /u/benderdome
    [link] [comments]

    Why E-Commerce has become Important these day?

    Posted: 26 Jun 2019 11:44 PM PDT

    E-commerce or electronic commerce, is the currently the hottest trending topic in whole of the world wide web. One cannot deny the existence of it in today's world. Anything, that you see today in front of you has gone online, be it books, watches literally everything is online. Notwithstanding, the fact that even services are online nowadays.

    Let's break down why E-commerce has become important these days:

    1. Growth of online community

    It is an undeniable fact that internet community has surged in the past decade or so. More and more people are going online each and every day. Meanwhile, mobiles are increasing in each and every corner of the world, so does online community. The reason behind is the change in the purpose of mobile phones. Nowadays, mobile phones are used for more than calling, they have dwelled in every aspect of our lives. This is true and the only truth in today's world. People today want the ease and comfort. And E-commerce just does that by providing the ease and comfort that people want.

    It gives the ease of shopping a rather than going to the market on a hot summer day, people prefer to stay back home and shop. Above all, the ecommerce just does that.

    2. Lower cost:

    E-commerce offers huge discounts on variety of products to consumers. We all know the price war between Amazon and Flipkart, whom did it benefit? The consumers. The huge discounts when combined with the ease of shopping from home is like a dream come true for consumers. Not only consumers but also sellers have benefited from E-commerce. Sellers have taken the benefit of reduced cost. They need not have fancy showrooms in top locations. Anyone with a product or service to offer can get online and start selling his products.

    The benefits to both sellers and consumers are enormous. One sitting is not enough to understand why would you go to an E-commerce? The answer when was the last time you went to buy a shirt from the market.

    3. Less time consuming:

    Gone are the days when you had to stand in long queues for getting your bill, depositing money, etc. all these services are now just a click away. Similarly, take the case with education. Go online, and study anything you want to. One such example is Khan academy which has truly revolutionized the online education.

    And also, when was the last time you look up the meaning of word in the Dictionary? The whole world of education is in your hands. Today, it is not possible to believe in a world without E-commerce.

    4. Business Expansion and competitive environment:

    The growth of your business through E-commerce if disputable. Take the case of Amazon or for that matter Flipkart. Both of these commerce giants have grown to become supreme leaders of the market. The success stories of both these if giants are commendable. Both of these started as the online book sellers. They both gradually grew to become one of the top ranked websites in the world and India respectively. It is through E-commerce that they have reached these heights. E-commerce helps business to reach remote areas, where traditional business could not reach. It has helped in reaching a seller at Kashmir to deliver products to consumer at Kanyakumari. Such is the power of e-commerce.

    But not all stories are success stories. There are businesses which have gone online but failed to leave a mark on the world wide web. One such example is the Snapdeal. The world of E-commerce is continuously evolving and fast changing the face of society. E-commerce sites which can manage themselves in the face of this tough competition grow in an insurmountable manner.

    5. Innovation:

    The E-commerce has led to the innovations in the digital world. It has led to the development of various products such as android watched, AI (Artificial intelligence), etc. Most of the innovations that have been happening today has been happening in the world of E-commerce. Education has been revolutionized by the development in E-commerce. Online paid classes, study materials, etc. are available on the internet.

    6.Great Marketing:

    Remember the last time you saw an add on billboard? No, right! Th world has gone digital and so does the marketing of products. Online marketing has been the new trend in the world marketing. In particular, the world has eyes only the mobile phones, so why waste money on billboards?

    The age of "Digital Marketing" is upon us, and E-commerce is the way. At the same time, other services have also risen such as SEO, SMM and Advance Digital Marketing. Thus, businesses need to work on their digital marketing.

    7. Quality compulsion:

    Quality! Quality! And Quality! Are the three Q's of the E-commerce success. The success of the E-commerce depends on the quality of products and services offered by the E-commerce sites. At the building stages of E-commerce, people were sceptical about the quality of products. Nevertheless, see where are we today? E-commerce today offers a far better-quality product than offline sellers.

    The main reason for this is that trust between online sellers and consumers is based on the quality of the product. If the quality is not offered than, consumer will not purchase products online. Hence, quality assurance is guaranteed on the E-commerce.

    Want to design your e-commerce site Click Here.

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

    How do I get past junior dev?

    Posted: 26 Jun 2019 07:37 PM PDT

    I've spent the last 5 years learning to code (self taught). I've spent the last 3 years coding "professionally". I've done work for large companies (10,000+) and small companies (<5). I've done Ruby on Rails applications, PHP applications, React applications, etc. I've worked on a fairly diverse set of projects and I consider myself moderately proficient. If you have a web development problem, I can solve it... maybe not well, but I can solve it.

    But I've never grown into an engineer like I thought I would. I have stagnated over the last few years. I've learned new frameworks, I've kept up on traditional DS&A problems, but I feel like I'm so many miles away from people when it comes to professional code. I read posts on /r/programming and still feel outstripped by undergrads and professionals alike.

    What do you do from here? My job is a 9-5 remote job where I work on tedious little HTML, CSS, & JS problems. Gross, simple, business solutions. Where do I go on my own time to break out of this type of work and enter a true engineering role?

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

    Trying c++ competetive problems and need help

    Posted: 26 Jun 2019 10:45 PM PDT

    The question says that the user will give an array and a number K . We have to increment value of each element in array by 1 and output the minimum time needed for each element in array to be greater than or equal to K.

    eg .

    array = {1,2,5}

    K = 4

    time taken = 3 (output).

    my code :

    #include<iostream>

    using namespace std;

    int main()

    { int time=0,N,K,i,z=0;

    cout << "Enter N";

    cin >> N;

    cout << "Enter K";

    cin >> K;

    int ar[N];

    for(i=0;i<N;i++)

    {

    cout << "Enter array\n";

    cin >> ar[i];

    }

    i=0;

    while(i<N)

    {

    if(ar[i]<K)

    {

    i++;

    time++;

    }

    i++;

    }

    cout << time << endl;

    z++;

    }

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

    [goorm] So I've being using Goorm cloud IDE for some time now, but today when I click on the Project tab, and then then click on the Running URL and Port from the dropdown menu, I'can't designate a port like I used to.

    Posted: 26 Jun 2019 10:39 PM PDT

    Any ideas of what's up with that?

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

    LeetMore: do more with leetcode (chrome plugin)

    Posted: 26 Jun 2019 10:25 PM PDT

    github link

    LeetMore

    Chrome extension to display frequency and company list to leetcode problems. Open up problems list page in leetcode, the extension will do the rest. This is NOT leetcode premium, you will not get access to premium questions or faster submit queue.

    Features

    • Display frequency of question
    • Display list of companies who asked this question
    • Filter one or more companies to filter the problems
    • Deselect filters easily by clicking the company icons displayed at the table header.
    submitted by /u/thisuseridisnottaken
    [link] [comments]

    Reading and using python file in c++

    Posted: 26 Jun 2019 06:30 PM PDT

    I'm trying to read a .py file in my c++ program and I want to be able to access its variables inside my c++ code. Is that possible? Currently I can only run my .py file inside c++. Thanks in advance

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

    Is reading other people's code a skill that gets easier with time and effort?

    Posted: 26 Jun 2019 10:18 AM PDT

    I would have assumed writing programs would be the hardest part of the work but 1.5 years in it still takes more mental effort to read code written by others. To be fair I spend maybe 2% of my time doing that (outside the docs) and the rest of my time writing programs.

    I think the hardest thing is the architectural aspect, constantly struggling to recall what came from where. Maybe some time with diagram paper is in order.

    Does reading other people's code ever get easier like writing it yourself does or is it just a tougher part of the job that one sort of grins and bears?

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

    What exactly is a void?

    Posted: 26 Jun 2019 01:11 PM PDT

    I've gotten into hardware programming as a hobby, and as someone coming from JS with no experience in C, I'm having a hard time understanding what a void actually is. Does it function/behave the same as a function in JS?

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

    Storing counter variable

    Posted: 26 Jun 2019 09:50 PM PDT

    with open(sys.argv[1],'r') as f:

    `counter = 0` `for line in f:` `print("{} secs {}".format(counter,line))` `counter += 30` `counter = time[]` 

    OUTPUT:

    0 secs 61.0 63.0 50.0 58.0

    30 secs 80.0 81.0 68.0 77.0

    I want to store the 0 seconds for that row. but I'm not sure how to keep the 0 seconds linked to the first row only. Each entry is stored in an array by each column. Temp1 = [] , stores [61.0,80.0] .

    The goal is to have the counter variable tied to that individual row per each temperature array.

    Sorry if my explanation doesn't make sense. I need the counter variable for that row for a mathematical formula and I'm not sure how to keep them linked together. Language I'm using is Python 3.7.

    I don't think the enumerate function in python would work either due to the increment of 30 seconds per line read from the text file.

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

    Is there a place for beginner programmers to talk to each other about projects?

    Posted: 26 Jun 2019 11:56 AM PDT

    I've started learning web development on Codecademy, and I'm finishing up the basics of Javascript now. I just wanted to know if there is a sub reddit, discord, etc. that people can talk about projects, or things they just learned, etc. In a more specific way than this sub reddit.

    Sorry if my question is confusing!

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

    Is there a way to automate this?

    Posted: 26 Jun 2019 09:40 PM PDT

    I have 1000s of text files and I want to use the Microsoft Word Add-In to check a statistics (bog index from StyleWriter) of my text file.

    Something like, my program should open the file in MS Word and go to StyleWriter and check the bog index and repeat this for all other files.

    Is there a way I can automate this?

    I would highly appreciate any help.

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

    High school student here...

    Posted: 26 Jun 2019 05:38 PM PDT

    Is it possible to code a small/simple game like Gravity Box by u/Luca1152 by looking up YouTube videos (and getting helpful tips from kind redditors ;) )? I'm on an Acer Chromebook 11, and I am planning on going to college for software programming or software engineering. I was hoping to take on a little project like Luca did with Gravity Box, that way I have some idea when I get to college and won't be completely lost (even though they will teach it to me there).I've always wanted to code my own little game and I didn't know if an upcoming Junior in high school could be able to do it...

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

    No comments:

    Post a Comment