• Breaking News

    Thursday, August 8, 2019

    How to learn programming in a way that is immediately engaging? learn programming

    How to learn programming in a way that is immediately engaging? learn programming


    How to learn programming in a way that is immediately engaging?

    Posted: 07 Aug 2019 01:50 PM PDT

    I'm a late teenager(gonna major in Engineering) and I've been trying to learn programming for a while now. I do think I have commitment issues when striving to achieve certain goals outside of programming; however, I've had trouble committing to my goal of learning programming and gave up on the interest a while back. I originally started out with Zed Shaw's "Learn Python 2 the Hard Way," which has a no BS/shut up and learn the boring stuff because its necessary approach, whether it works or not in terms of teaching one to code, I found it to be a bit dull for me(this is just my opinion, obviously many people got a lot out of his books). I also started doing command line a bit before stopping. Does anybody recommend a satisfying way/material to learn programming while also being engaged and motivated by the material to further learn and advance ones skills on a consistent basis?

    Thanks

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

    Finally got an internship!!

    Posted: 07 Aug 2019 07:55 PM PDT

    Sorry In advance if this is not the right sub. After applying to more than 200 jobs and working odd part time jobs in the mall. I have finally landed an internship as a software developer. I will be starting this job on August 19 and I'm really nervous as this being my first step in the tech world.

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

    Is it safe to put MATLAB on my resume if I'm familiar with Octave?

    Posted: 07 Aug 2019 08:37 AM PDT

    I'm learning a lot of Octave at the moment thanks to Andrew Ng's machine learning course. I'm wondering whether Octave is similar enough to MATLAB that as a result I also now know MATLAB and am safe to put MATLAB on my resume.

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

    A simple intro to Git and GitHub for Beginners.

    Posted: 08 Aug 2019 12:26 AM PDT

    What is REALLY meant by "contribute to open source projects on Github" ? Isn't it actually easy?

    Posted: 07 Aug 2019 02:43 PM PDT

    So everyone new hears this a lot. We also realize that we're not really going to contribute to things like the new Windows Terminal nor Tensorflow. In response, people often suggest that the remaining options are helping with documentation (which isn't necessarily simple either) or forgetting about open source contributions until we learn more.

    Are those really the only options? I just submitted a pull request for a bare-bones top down shooter that was posted 3 years ago and never updated. It didn't have any sound effects, so I added some simple ones and it was merged into master. The repository owner said it was really cool and thanked me for contributing. It felt awesome!

    I realize a contribution to 'p5js_game1' is not going to make me a household name but is this not contributing to an open source project? I'm genuinely asking because people say it's unrealistic for beginners to contribute to open source projects. Does "open source project" mean something that is deployed into a production environment? Shouldn't we tell beginners to search for small projects such as this to contribute to?

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

    Why is React so Hard?

    Posted: 07 Aug 2019 09:17 PM PDT

    Story: I'm currently a senior student with couple of years of coding. Mostly C/C++, mobile development and backend Django. Decided to learn a bit about React to use it in my Django project rather than use Plain HTML,CSS and JS. Dedicated a week to it and i can barely do anything with it. Maybe render a few elements here and there but always face major problems every step of the way.

    Is there a better way to learn react? I saw maybe two crash courses but they're kinda outdated and currently in the beginning of a Udemy course. I feel its way too hard for some reason. I swear my Algorithms class was alot ton easier than this. Any advice on how to approach something new?

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

    Is using python libraries frowned upon?

    Posted: 07 Aug 2019 09:33 AM PDT

    Hey

    I'm currently learning python and one of the exercises I'm doing introduces Counter from the "collections" library. While reading what it does I realized I could replicate its effects through vanilla code and that got me thinking: If I were to use a library that's not quite standard, at a potential workplace, would I be allowed to, or would I be told to reproduce the effects on my own for any sort of legal/performance/etc. issues

    Thanks

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

    Best programming blogs to follow (Medium or otherwise )?

    Posted: 07 Aug 2019 09:59 PM PDT

    I came across this great blog which has some solid articles on a variety of topics. https://levelup.gitconnected.com

    Are there any other that you guys regularly frequent which teach things in a hands on way?

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

    Making a video game

    Posted: 07 Aug 2019 09:56 PM PDT

    Hi I'm making my first game with a friend and we wanted opinions on something.

    So we want to a murder mystery game and I wanted to get started on the programming. I'm not sure what language is best. So I know c++ , python, java, (html css and JS but ...) and I was debating about learning C# for this. But I'm not sure what's the best for what i want to do.

    I think the best way to put how i want our game to play is like ... off the top of my head I'll say kindergarten, quite basic but still interactive.

    Just want a little advice, thanks in advance

    submitted by /u/faye-marie
    [link] [comments]

    Help

    Posted: 07 Aug 2019 07:25 PM PDT

    If I'm trying to build an IOS based social media app and have no coding experience what's the best class/course for me

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

    how to develop problem solving skill?

    Posted: 07 Aug 2019 04:28 PM PDT

    Hi, I'm looking to develop my problem-solving skills, which I'm not very good at, is it possible? Or is this intrinsic and has nothing I can do?

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

    Paypal gross amount higher than the “fixed_price” I created (via curl)

    Posted: 07 Aug 2019 08:54 PM PDT

    Here is a link to the question at Stack Overflow

    https://stackoverflow.com/questions/57404951/paypal-gross-amount-higher-than-the-fixed-price-i-created-via-curl

    To summarize, I create a plan to charge a user 149.00 PHP when paying, but the receipt shows a gross amount of 166.88 PHP. Also before the payment happens, PayPal already shows the 166.88 charge.

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

    [C# backend] What should be my learning path?

    Posted: 07 Aug 2019 05:10 AM PDT

    Let's say I know "vanilla c#" and I want to learn backend/webdev with c#. Where should I start? I know about mvc, web api and I understand differences between .net and .net core but I have no idea where to start. I know basics of web design (html/css no frameworks). Also I want to focus on technologies that might be available in future, because I am still student.

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

    How to perform mathematical operations like differentiation, integration etc in c++ and python?

    Posted: 08 Aug 2019 12:27 AM PDT

    I'm doing a course on Aerial robotics on coursera by Dr. Vijay kumar. I would like to write a python implementation of the exercises. Can someone please guide me as how can I do such operations?

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

    Is there something longer with more depth than a bootcamp but more intensive and shorter than a college degree?

    Posted: 07 Aug 2019 01:35 AM PDT

    I have a pretty strong IT background, but my actual coding and development is weak. I want to brush up on development and coding, and bootcamps offer what I want more are too short and I feel they just scrape the basics. Is there something like a bootcamp, as intensive but longer, with more depth. Where I would be working 40 hours a week under good instruction for 6-12 months?

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

    Using asp.net core MVC, how can I make @Html.DropDownList onchange call an "endpoint" or function on my Controller?

    Posted: 08 Aug 2019 12:13 AM PDT

    Say I have public async Task<IActionResult> View() { ViewData["Employee"] = new SelectList(_userManager.Users.ToList(), "Id", "FullName"); List<ScreenshotItem> screenshotItems = await _context.ScreenshotItems.ToListAsync(); ScreenshotViewModel model = new ScreenshotViewModel(); model.ScreenshotItems = screenshotItems; return View(model); }

    And then I simply display the images: ``` @Html.DropDownList("Id", (SelectList) ViewBag.Employee, new {onchange = "View()"}))

    @foreach (var ss in Model.ScreenshotItems) { <div> <img src="@ss.Path" alt="@ss.Path"/> <label>@ss.EmployeeId</label> </div> } ``` What I'm trying to accomplish is I want to filter the list using a DropDownList, so on every change of the dropdownlist I want the list to be updated. Is this possible?

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

    What Skills Do I Need To create an app like Gumtree.com

    Posted: 08 Aug 2019 12:13 AM PDT

    Hey guy's im interested in starting up a social app that will help people locally post free items for free locally. I see a lot of people waste, throw or hoard things they don't need and i think life would be much easier if we shared our resources more efficiently.

    Gumtree.com or Facebook Marketplace offers something similar but these marketplaces are not making it their key focus.

    Could you help suggest:

    1. What programming or coding skills are needed?
    2. Fastest & Cheapest way to create a working prototype?
    3. What are your thoughts on the idea?

    Thanks

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

    I have no experience but a week off work, how best to use that time?

    Posted: 07 Aug 2019 05:30 PM PDT

    My vacation plans have fallen through and I find myself with a week off and would like to use that time to start learning to program Android apps. With that much free time, how would you use it? I have 0 experience.

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

    Why we use # in c

    Posted: 07 Aug 2019 11:22 PM PDT

    I search on internet that why we use hashtag in c programming language but the answer was too complicated so anyone can tell me in simple LINE with an example that why we use hashtag in c language.

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

    Trying to work through this MySQL debug, help

    Posted: 07 Aug 2019 07:34 PM PDT

    Something about the following MySQL query is broken. I'm including the PHP for context:

     protected function scanAgainstUrlTargets(array $urlData) { global $wpdb; $urlMatch = $wpdb->get_results(" SELECT * FROM {$wpdb->prefix}delayedCoupons_targets t WHERE t.targetUrl = {$urlData['rawUrl']} AND t.displayThreshold < ( select count(*) from {$wpdb->prefix}delayedCoupons_visits v where v.urlVisited = {$urlData['rawUrl']} as visitCount) AND visitCount < t.displayThreshold + t.offerCutoff "); return $urlMatch; } 

    The error I see inline my debugger in $wpdb->last_error:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '://localhost/wptest2/wp-admin/plugins.php? plugin_status=all&paged=1&s AND ' at line 3 

    http is skipped on the url given. Does this indicate where the error is? Or is parsing problematic at this point?

    Here is the value for $wpdb->last_query:

     SELECT * FROM wp_delayedCoupons_targets t WHERE t.targetUrl = http://localhost/wptest2/wp-admin/plugins.php?plugin_status=all&paged=1&s AND t.displayThreshold < ( select count(*) from wp_delayedCoupons_visits v where v.urlVisited = http://localhost/wptest2/wp-admin/plugins.php?plugin_status=all&paged=1&s as visitCount) AND visitCount < t.displayThreshold + t.offerCutoff 

    $urlData shows this in the debugger, confirming the variables are passing correctly:

    rawUrl = http://localhost/wptest2/wp-admin/plugins.php?plugin_status=all&paged=1&s urlRoot = http://localhost/wptest2/wp-admin/plugins.php queryString = ?plugin_status=all&paged=1&s 

    I'm having a tough time with this one. If I had to guess, maybe something with how I alias the subquery to visitCount as that's new for me.

    Does anyone see the issue?

    EDIT: Also tried

    • Single quoting both url strings
    • using backticks around both url strings

    I get the errors:

    owner@G700:/var/www/html/wptest2/wp-content/plugins/delayedCoupons$ SELECT * FROM wp_delayedCoupons_targets t WHERE t.targetUrl = 'http://localhost/wptest2/wp-admin/plugins.php? plugin_status=all&paged=1&s' AND t.displayThreshold < ( select count(*) from wp_delayedCoupons_visits v where v.urlVisited = 'http://localhost/wptest2/wp-admin/plugins.php? plugin_status=all&paged=1&s' as visitCount) AND visitCount < t.displayThreshold + t.offerCutoff; bash: syntax error near unexpected token `(' owner@G700:/var/www/html/wptest2/wp-content/plugins/delayedCoupons$ SELECT * FROM wp_delayedCoupons_targets t WHERE t.targetUrl = `http://localhost/wptest2/wp-admin/plugins.php? plugin_status=all&paged=1&s` AND t.displayThreshold < ( select count(*) from wp_delayedCoupons_visits v where v.urlVisited = `http://localhost/wptest2/wp-admin/plugins.php? plugin_status=all&paged=1&s` as visitCount) AND visitCount < t.displayThreshold + t.offerCutoff; bash: syntax error near unexpected token `(' 
    submitted by /u/javascript_dev
    [link] [comments]

    How to design AST for expressions in openCypher (or SQL)?

    Posted: 07 Aug 2019 10:57 PM PDT

    My opinion is to classify the expressions with BinaryExpr, UnaryExpr and so on for evaluate, and implement interfaces like SetChild, GetChild for analysis. But it's hard to find a balance between clean and integrated.

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

    Struggling with CS. Advice needed

    Posted: 07 Aug 2019 05:35 AM PDT

    Hi everyone. I will be attending my 3rd year of CS this October but I am struggling quite a lot. My grades are good since some of the projects are group work but if I am alone on something, I have no idea where to start. I have tried to do many projects online but I don't know how to connect everything and I always end up looking at the solution online. Though, when I do look at the solution, I understand everything, I just can't figure it out on my own. I feel like I will never make it as a developer because of this, especially since now I have to work on my thesis alone. What can I do to improve myself? Thank you in advance.

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

    Question about Dynamic Rendering in ASP.NET Core MVC Application

    Posted: 07 Aug 2019 07:01 PM PDT

    I'm working on my proficiency with building ASP.NET Core MVC apps using C#, and I have a friend who asked for my help with a problem he was facing with dynamic rendering within a .cshtml View file. In this app, there is a model that contains around 100 Not Required properties. The story is that when the user wants to create an instance of this model, and given the user has submitted the few required input values for this model in the [HttpGet] Create view, then a request to an external API is made. The response is used to automatically set many of the other properties, but usually some of these properties remain NULL. At this point, the user is redirected to the details view of the newly created object, including the properties with null values. The goal is to dynamically filter out the properties that are null from the details view because the null properties are not consistent with each creation. I've come up with a solution for now, but I'm wondering if anyone has a cleaner solution than this. Could this be done within the Controller?

    @model ClassDataLibrary.Models.Customer

    @{

    ViewData["Title"] = "Details";

    string Build()

    {

    string html = "";

    foreach (var property in Model.GetType().GetProperties())

    {

    if (property.GetValue(Model) != null)

    {

    ;html += $@"<dt class='col-sm-2'>

    {property.Name}

    </dt>

    <dd class='col-sm-10'>

    {property.GetValue(Model)}

    </dd>";

    }

    }

    return html;

    }

    }

    <h1>Details</h1>

    <div>

    <h4>Customer</h4>

    <hr />

    <dl class="row">

    @Html.Raw(Build())

    </dl>

    </div>

    <div>

    <a asp-action="Index">Back to List</a>

    </div>

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

    React Native vs. Flutter: What to learn for 2019?

    Posted: 07 Aug 2019 08:49 AM PDT

    There seems to be this weird dichotomy between React Native and Flutter in 2019.

    People often say that React Native sucks, AirBnB ditched it, and Flutter is the future of Cross-Platform Native Development that is 100% better than React Native.

    Okay, fair enough. Let's say all of that was 100% true.

    What about the NOW? If I were applying for a job NOW/TODAY, would I objectively find more React Native or Flutter developer openings open?

    I did an Indeed search today for U.S. openings, and the definite answer is that React Native today is more popular than Flutter.

    What's everyone's thoughts about this?

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

    No comments:

    Post a Comment