• Breaking News

    Friday, March 20, 2020

    Codecademy is giving free pro membership to students for the rest of the school year learn programming

    Codecademy is giving free pro membership to students for the rest of the school year learn programming


    Codecademy is giving free pro membership to students for the rest of the school year

    Posted: 19 Mar 2020 06:27 AM PDT

    Should I change my mentality to "Get Shit Done" instead of trying to make something always really good?

    Posted: 19 Mar 2020 02:08 AM PDT

    I am currently at highschool, and I know C#, Javascript, Flask and basics to C, C++, Python, SQL.

    My issue is that when I want to create something I try to work on one small feature for too long. For example, in Xamarin I tried to make reusable "forms", yet I never continued with that project because I could never implement it and burned out. The issue is I try to perfect some of my code by non-stop improvement. I am thinking of changing my mentality from good code (as much as I can at my stage) ====> Get shit done, and when I need to fix something, I would refactor my code when I need it.

    Is this a reasonable mentality?

    A super simple short example of my code other code I have saved is not really valid, as I used to do too many notes at one point.

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

    It is amazing to see 88 lines of code to simulate a real physical environment

    Posted: 19 Mar 2020 08:48 PM PDT

    Interesting to see this new programming language-Taichi. It is amazing that it can simulate a real physical environment with 88 lines of code.

    Does anyone have other resources about Taichi? I want to learn more about this.

    Thank you

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

    Git/Github for beginner?

    Posted: 19 Mar 2020 06:33 PM PDT

    I started learning computer programming (Python, R) in earnest about a month ago. I have heard that beginners can learn a lot using Git/Github, but it seems a little overwhelming to me. Could you more experienced programmers give me some wisdom here? Is this something for a very inexperienced student like me or is this something for much further down the line? Thanks for any help you can give

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

    Free data science courses

    Posted: 19 Mar 2020 11:51 AM PDT

    Just saw on 365 Data Science youtube channel that they are giving free access for about a month to their courses, in case anyone else may find them useful this is the link https://365datascience.com/pricing/

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

    Currently homeless and spending time in my car 24 hours a day. What podcasts can I listen to to inform myself of the basics of full stack web development, and iOS swift programming?

    Posted: 19 Mar 2020 04:07 PM PDT

    I want to change my life around. I currently DoorDash from my car to survive. I lived in a one bedroom apartment because that lease ended March 8, 2020. Because my gym is closed I now have no place to shower.

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

    To make new technology do you ever have to design your own compilers?

    Posted: 19 Mar 2020 05:17 PM PDT

    For technology that has never been done before and that isn't really possible with the current programming languages do you ever have to design your own compiler or programming language? Or is pretty much everything possible with existing lower level languages if you need to make something?

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

    Where/How do I store data for a personal app?

    Posted: 19 Mar 2020 09:52 PM PDT

    I am just messing around building myself a productivity app in python and I wanted to store my previous daily entries somewhere so I could open the app and view all of them. I have some experience using SQL and would like to get some more through this if I can. What's the best place to store this data? Locally or with a database provider? I would preferably like something that's free although I can be flexible to something reasonably cheap.

    I wouldn't expect that I couldn't find something free since it's such a small amount of data. I do want to eventually build it into a full app at some point and put it on the app/android store though.

    Any help is appreciated. TIA

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

    How to associate symbols with their corresponding symbol table in compiler construction

    Posted: 19 Mar 2020 09:41 PM PDT

    I am working on implementing a compiler for a toy language. As of now:

    1. I've created the AST and am looking to populate the symbol table using it.
    2. I'm aware of the symbol table's structure and how it incorporates scoping via linking to parent/enclosing scopes.
    3. I know how to populate the symbol tables using a stack

    The above points mean that I can create a hierarchy of symbol tables populated with the correct data.

    But once I've created the table, how do I link AST nodes to their corresponding table? Since there are multiple symbol tables, to look-up information about a symbol, I need to identify which created table is responsible for a particular AST node.

    As an example, say I need to traverse the AST for type-checking. The symbol tables have already been created and linked appropriately in a previous traversal of the AST. How do I identify the correct symbol table for each symbol during the current traversal?

    One option I see is to add a field for storing a reference to the corresponding symbol table to all the leaf AST nodes. Leaf AST nodes store the symbols in the AST. Is this correct? Or is there a better/standard way of associating them with symbol tables?

    Thanks in advance!

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

    How to get job as a junior developer without a degree?

    Posted: 20 Mar 2020 12:50 AM PDT

    I have a few certifications (the OCA and OCP), and put together hobby projects on my GitHub account.
    I'm enrolled as a B.Sc student at a University, and have successfully completed my first semester.

    Would it be possible to get a job as a junior, whether that is online or at a work place?
    What are your experiences?

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

    Where to start?

    Posted: 20 Mar 2020 12:49 AM PDT

    I want to learn programming, I'm completely a beginner. With this whole quarantine I'm trying to follow my dream of learning how to make video games (shooters). Where should I start? How can I learn online? Which languages should I start learning with the endgame of video game design? Thank you in advance :)

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

    Time complexity of following code segments..

    Posted: 20 Mar 2020 12:41 AM PDT

    1. logn*logn*logn ?

    int i, j, k ; for ( i = n/2; i <= n; i ++ ) for ( j = 1; j <= n; j = j*2 ) for ( k = 1; k <= n; k = k*2 ) // O(1) operation 

    2.

    function (n) { while (n > 1) { n = n/3 ; } 

    Thank you in advance :)

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

    How to sit properly during long hours of programming?

    Posted: 20 Mar 2020 12:39 AM PDT

    Yes, I know sitting on a chair with your back straight is the best way but I have tried sitting on chair several different times but every time I have failed to stick to it.

    So now a days, I sit on bed in a cross legged position and my legs hurt terribly after a couple of hours.

    So guys, do you have any suggestions on how to properly sit on bed during long programming sessons?

    [To the mods- This may not be a proper programming question but I think sitting properly is one of the most important habits for a programmer especially considering that we spend most of the day sitting in one position].

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

    7 free classes from Bill Gates' favorite websites that you can sign up for right now to teach yourself to code

    Posted: 20 Mar 2020 12:38 AM PDT

    Found this great article that I think people in this sub could appreciate because it is classes recommended by Bill Gates.

    7 free classes from Bill Gates' favorite websites that you can sign up for right now to teach yourself to code:

    https://www.businessinsider.com/bill-gates-favorite-free-websites-classes-teach-yourself-to-code

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

    Good resources to practice Depth First and Breadth First traversal? (Most notably PreOrder / InOrder / PostOrder)

    Posted: 20 Mar 2020 12:15 AM PDT

    Hey guys!

    I'm relearning some tree and graph traversals since I'm rusty. Any good resources to practice them?

    Example: Website shows you a bunch of nodes labelled 1 - 8 and you have to type 12465783 as the correct order or something.

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

    Need help passing object from Django to Javascript

    Posted: 20 Mar 2020 12:11 AM PDT

    This is my code:

    {% block script %}<script type="text/javascript">var posts = '{{ posts }}';</script>{% endblock %} 

    When accessing the new variable posts in a script tag, it outputs an object/queryset as a string.
    I've tried many things but have been stuck on this for way longer than I'd like to admit, could someone please share some wisdom?

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

    Help with css in django tutorial.

    Posted: 20 Mar 2020 12:05 AM PDT

    Hello there,

    I'm watching one of the wonderful tutorials of Corey Schafer but I have a little trouble with css.

    I hope someone can help me out without watching the whole video. :D

    At 34:30 he creates a directory with a css file and after that he inserts some lines to include the css in the html.

    At 38:00 he refreshes his page and it looks just like mine. Than he restarts his local server and the page looks a lot nicer, because the css file is applied.

    But this is not working. My page still looks like the css file is missing (38:00).

    I checked everything twice and I did everything as mentioned in the video. I also checked the comments below the video and some people have the same problem but no working solution.

    All I can say is that, the css file is there (you can reach in from the link in the html source code) but it is not applied to the page.

    Can anyone help me?

    Thanks!

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

    Trying to get form button in React modal to close

    Posted: 19 Mar 2020 11:44 PM PDT

    I have a modal that is part of a form. The modal pops up on the screen when a response is provided. I want users to be able to close this modal. So I added a close button. But it doesn't work. Any ideas?

     handleClose = () => this.setState({ modalOpen: false, isUploading: false }); <Modal open={this.state.modalOpen}> <Modal.Content> <p>{this.state.content}</p> <Form.Button onclick="handleClose()">Close</Form.Button> </Modal.Content> 
    submitted by /u/furthacharm
    [link] [comments]

    Hi, guys, I'm struggling with my class being transferred online and i need some help c++

    Posted: 19 Mar 2020 11:25 PM PDT

    My professor doesn't do very well explaining things online so i really need some help. what is the difference between a loop and do while loop and how do you execute them each on C++? any examples will be a major help, thank you!

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

    Sign In Sign Out

    Posted: 19 Mar 2020 11:10 PM PDT

    I want to make a sign in/sign out monitor for me and my roommates. Small beginner project to do while I'm stuck in this apartment. Scan in and the LED screen should list whos in. Can anyone point me towards good card/scanner combos and any advice on the language I should use or just general ideas on where to go? (Novice in Matlab, Beginner in Python and Java)

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

    MLH Career Fest - Find amazing tech talent from the comfort of your home

    Posted: 19 Mar 2020 07:13 PM PDT

    I don't know about you, but the current job market looks rough. This career fest from Major League Hacking during this pandemic looks promising: https://www.producthunt.com/posts/mlh-career-fest

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

    Learning TIPS (Web Dev Mainly)

    Posted: 19 Mar 2020 12:23 PM PDT

    Learning Tips For Beginners (not 100% green, but still beginners) this post got taken down for no reason and I've been asked many times to repost, so here you guys are :) Oh and to all the people who made my post a stackoverflow thread practically, please chill lol.

    Enjoy!

    Sites/Resources

    • CodePen.io (best visually satisfying html/css/js editor)
    • Repl.it (online compiler for 50+ languages)
    • Jsfisdle.net(like codepen but more robust)
    • Edabit.com (great for practice exercises)
    • Codingame.com (you actually compete and code solutions to simple games with people Around v . Great for intermediate.)
    • Codeademy (good for intro/basics)
    • W3schools (great for beginners) / MDN Mozilla Developer Network
    • geeksforgeeks (for algorithms)
    • codeforces (also algorithms)
    • StackOverflow (when you have an error or just need a general question) please note that for a beginner this is more of a read-only site.
    • CodePlayground ( IOS only great for practice)
    • SoloLearn (AMAZING courses all free, online compiler + tons of advanced topics made by both professionals and the community)
    • Hackerrank.com (kinda like edabit, but more geared towards networking and possibly getting a job.)
    • SQLBolt (aweome intro to SQL for beginners)
    • Regexer (my favorite visual regex tool)
    • If you have a student email, all of JetBrains' apps are free :) (rider =c#, PyCharm= python..etc...)
    • Unity3d(yes, this is a game engine, BUT, it's so easy to make basic programs to start off and visual see what is happening behind the scenes.
    • Asp.Net Core 2.1 for dummies book (highly recommend)

    Extra Learning tips:

    • Learn how to use git properly and understand the flow of branches and different merge types.
    • Learn what a hot fix/bug fix/enhancement or feature request is
    • implement with a personal project on GitHub or bitBucket or other.
    • Easy API's ( flask, endpoints for python) *note these are just very easy to use*
    • Make a website that can consume an external API and format the data using some vanilla js, then try using something like chartJs so make pretty graphs
    • Try out a visual programming library such as ThreeJs and p5.js or processing (java)
    • Learn how to make cool graphics with turtle for python.
    • Buy a couple useful Udemy courses (last resort) (I like free)
    • Do NOT START BIG. keep your personal projects simple and with one purpose. As you progress you can add to it.
    • Get a personal domain to test all of your fun things on, OR use a local server to save money until you are ready.
    • If you subscribe to Visual Studio Online, you get free domain with hosting (you don't get to choose to
    • The .com,.net, it uses its own proprietary version.
    • Join a coding jam for a weekend
    • Try forking a cool simple project on GitHub and extend it and create your own branch and submit a pull request to master or develop
    • Explain new concepts that you have just learned to your friends. ( they won't understand or care, but it's best learning when you are trying to teach to someone else)
    • Make GOALS (realistic viable goals based on toes on projects you want to be able to make)
    • Ask friend and family if you can build them a website. (for fun.. note that this only works if you have a family that won't take advantage of you)
    • Please never ever try to use word press Or Drupal or really any cms (if you want learn to code)
    • Make useful baby projects that help you either learn easier or make you happy
    • Learn CSS/JS/Jquery/SCSS Understand what a templating framework is
    • Learn these different types of how website are structured. MVVM, MVC, MVP
    • implement a site that uses the above design patterns
    • Learn Vue.js, Angular, razor syntax, and knockout.js (this is not required, but will help you massively in your job search, you don't have to be an expert)
    • Try to use google maps api and make your own map with locations and cool function. Or maybe even a tracker for your phone!

    SQL

    • Learn Database Structures, what tables, columns, rows, and the different data types that can be used
    • Learn difference between relational and non-relational databases
    • Download SSMS, MySQL, MongoDB, MariaDB, Redis, PostgreSQL and make your first database
    • Connect the database to whatever application you want to. *play around with! Make some tables! Run some cool functions, doing by trial and error is great in your own personal dev environment
    • Learn SQL syntax. Know what stored procedures do, know what views do, know the difference between scalar and tabular functions are.
    • Learn how to use and leverage linked servers.

    General

    • Learn KISS method
    • Learn the S.O.L.I.D methodology and USE it
    • Learn about memory management
    • Learn what pointers are and how you can leverage them to your advantage (C,C++ mainly ) but many other languages can do this, it's just not as simple.
    • Refresh on your basics in algebra, calculus, and statistics
    • Research creative coding and try it out Learn about proper design patterns
    • Learn what good UI/UX looks like
    • Learn about authorization and single sign on, 3rd party services and OAuth
    • Learn SSL learn about accessibility for websites for the deaf and the blind
    • Learn what localization is and how to implement it.
    • Know the difference between code first and database first designs
    • Learn how to use Linq
    • Learn CRUD (create,read,update,delete)
    submitted by /u/wishfulthinkrz
    [link] [comments]

    Silly C question

    Posted: 19 Mar 2020 10:46 PM PDT

    Pretty silly, I feel like I'm over complicated or it's something super simple.

    I have a pointer which looks like `(void *) 0x800000008` , i want to make sure this is 64 bit aligned, so i want to do 0x800000008 & 0x7 , but its a pointer, so how do i do it?

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

    What is a micro service, and how does it differ from an API?

    Posted: 19 Mar 2020 10:43 PM PDT

    I know API's quite well. I write them a lot. I've occasionally come across the term micro services, some things seem to suggest it's nothing more than a fancy word for an API, others something entirely different. So that is my question: What is a micro service?

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

    To help with anyone struggling or stuck at home over the next few weeks, I'm making premium services free on our profit-sharing and collaboration platform so you can work on some side projects.

    Posted: 19 Mar 2020 02:57 PM PDT

    Hey guys,

    With everything going on in the world, I know a lot of people are now stuck at home, unable to leave. As someone who works from home, it's not an issue for me, but I know there are those that will struggle.

    Because of this, I thought I'd open up my web platform, Crowdsourcer.io, that allows people to create projects together remotely and rev-share in a fair way. We're going to be releasing some premium features over the next week or so but I've decided to keep them free until the world goes back to normal. I'll also automatically apply, to all projects, a reduction to processing fees if you use our selling tools (if you sell outside of the platform then any payment processing is done at cost price anyway so it's about as good a deal as possible).

    I hope this encourages some of you to not miss the opportunity to get cracking on any software-related ideas you've been meaning to work on, whilst you're stuck at home.

    If you have any questions about how it works or how to use it I'm active on Reddit, so feel free to leave a comment or message me.

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

    No comments:

    Post a Comment