• Breaking News

    Monday, July 1, 2019

    University of Helsinki are offering free course in AI. After finishing you'll receive certificate you can add to your linked in profile. learn programming

    University of Helsinki are offering free course in AI. After finishing you'll receive certificate you can add to your linked in profile. learn programming


    University of Helsinki are offering free course in AI. After finishing you'll receive certificate you can add to your linked in profile.

    Posted: 30 Jun 2019 05:09 PM PDT

    Automate stuff with Bash and bash scripts: Beginners level

    Posted: 30 Jun 2019 02:43 AM PDT

    I started learning the bourne shell and bash only last week. For those who want to learn it too, I've written a short essay with some useful working code so you can appreciate a lot of the syntax. This essay assumes you've already mastered basic programming concepts like variables, functions, loops, etc.

    In the essay, I've also included some resources that you can use to further yourself wrt shell and bash. Enjoy. Please comment if you see any problems or have helpful suggestions.

    Direct link to essay: https://abesamma.github.io/#Automating%20Stuff%20with%20Bash%20scripts

    Addendum: thanks all for your wonderful comments. I saw some very good points about the shell being POSIX compatibility mode which tries to mimic the Bourne shell. I'll add these notes to the post.

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

    Starting to find the secret - Remaining Consisten

    Posted: 30 Jun 2019 09:29 PM PDT

    As a guy in IT, I've tried to "learn programming" several periods in the past, but quit due to frustration and no patience. Only in the past month have I started to really make progress.

    It really seems that programming is ALWAYS frustrating and only recently have I started to actually appreciate overcoming these hurdles I face now when learning new things. In the past 4 weeks I've done quite a bit with HTML, CSS, JS, and am playing around with Node and Express and am actually starting to accept that I will run into roadblocks.

    Once you accept and realize that these roadblocks are a part of the learning process, it becomes much easier to keep going and remain consistent with learning.

    The satisfaction I've been getting from the 'ah-ha!' moments is amazing when I walk away and come back a few hours later with the solution naturally appearing in my head.

    Even if you are stumbling forward, you're still farther ahead from where you were a single step ago.

    tl;dr: Nike was right, just do it.

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

    CS Student struggling outside the classroom

    Posted: 30 Jun 2019 06:40 PM PDT

    Recently finished my first year as a CS student, breezing through all my math/CS classes with easy A's. But when I try to learn new concepts or technologies outside of my classes I feel as if there's something wrong with me intellectually. I find it difficult to keep my focus as I struggle to piece together anything more than a simple prototype that a CS101 student could do. There's many ideas I have for projects that I want to do but my knowledge is so limited and it feels as if I need to go through an entire 20 hour course just to put together something very simple. This is conflicting because all the advice I see is "don't do courses just go build something". Yes, go build something when I can't do anything more than write basic spaghetti code in a completely different environment.

    I just really want to get to the point where I can start completing projects outside the classroom so I can better prepare myself for a career in software development. But the "foggy bridge" between beginner and advanced programmer is really starting to mess with my motivation. Does anyone relate to this?

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

    Do integrals have any uses in programming?

    Posted: 30 Jun 2019 04:40 PM PDT

    As we all know, values in a computer are discrete, thusly, in order to sum them up, we need to serialize them. It's only when the values are continuous that integrals come into play. So given this, are integrals at all useful in computers? Our professor didn't linger on them much, because my program is condensed and they mostly focus on practice than theory. In some image noise formulas, such as Perlin noise, integrals do come into play, but not as the summation of the space beneath the function's graph, but as summation of f(x), which is basically the same as sigma of them. The difference between integrals and series is apparent in Analogue Fourier transform vs Discrete (Digital) Fourier transform. You can see their formulas to understand.

    Thanks for your answers. If I'm wrong in any of my suppositions, that's not because I'm ignorant, but because I'm curious. Thanks again.

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

    Any suggestions on how to properly study Algorithms and Data Structures

    Posted: 30 Jun 2019 05:54 PM PDT

    I'm trying to improve as a self taught developer. As suggested in numerous posts one thing that I should work on is Algorithms and Data Structures. I have Problem Solving with Algorithms and Data Structures with Python, but I'm having problems actually learning from it. Its kind of boring technical reading and it just isn't sticking. I read a chapter and do the exercises but by the time I'm finished with it nothing is remembered. I'm just having a hard time relating this stuff to real world situations. I get that they are fundamental, but they don't seem practical so relating the lessons from them to say my own projects doesn't seem to be easy to do. I want to become more than a code monkey, but learning and applying CS fundamental is proving to be difficult on my own. I guess what I'm getting at is, what steps have you taken to make this stuff stick?

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

    Finished an Intro to Python course in college, looking for more enrichment.

    Posted: 30 Jun 2019 08:21 PM PDT

    I finished an intro to Python course that covered loops, functions, recursion, and classes at a basic level. I don't want to end up forgetting this knowledge and want to apply it practically so that I can build up some sort of a portfolio. I was wondering if there were any resources for building upon a beginner level class.

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

    Complete enterprise-level practice project is starting! And you can help (or just watch along)

    Posted: 30 Jun 2019 07:50 PM PDT

    tldr: With the community I've already gotten started, I'm starting a 6 month-2 year endeavor to show the entire process of building and maintaining a realistic business application.

    Hello again!

    My last post here got so much love and support, and I'm extremely grateful for that, so I wanted to give a quick update on how things are going.

    For those of you who aren't familiar, I started a YouTube series/course with the intent of teaching programming, but specifically aimed at teaching all of the necessary skill to get hired as a software developer. The plan is to start with the basics for those who don't yet know much about programming. I have completed the C# portion, and just finished the SQL portion.

    So.... drumroll... I think I've gotten to the point now where I've touched on all of the basics I'd like someone to know before getting started on the main portion of the course, which is the project.

    I wanted to come up with a project idea that is something that is realistic and might match the types of requirements you may see in the real world. I also wanted an idea that is very "expandable", meaning if we want to be working on this for years, there's always more systems we can add on to the application.

    We will be using C#, ASP.NET MVC, and SQL Server

    So my idea is to create a management system to a fake pizza company. Here's the plan so far:

    https://docs.google.com/document/d/1kqJMRiQOyHCikjAASD2Fd8bW0uA5-HjwKXbq61q4Igc/edit?usp=sharing

    This isn't set in stone, and I expect to add much more, and possibly change the project entirely, if a better, more expandable idea comes up.

    We are always welcoming new students, so feel free to jump in at any time, if you care to. I will be streaming all of the work that I do.

    I stream often on Twitch, but not all of my streaming time will be working on the project. For the actual project work, I will be streaming the work live from 8pm-9pm Eastern time Monday-Friday, and will take questions for the following hour. I also do daytime streams 10am-3pm Eastern, and questions are always welcome there, as well.

    All project related streams (including Q&A) will be recorded and posted to YouTube.

    Twitch

    YouTube Playlist thus far

    Discord

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

    Noob starting Java, confused by all the information out there. Mainly, is it a security risk?

    Posted: 30 Jun 2019 09:40 PM PDT

    I'm relatively new to programming. I've done some basic coding in Python, for semester 1 of my university course. For semester 2, those who choose CS as a specialization switch to Java, and so I want to start learning it.

    I've Googled it, and I'm confused as to how exactly Java runs. What does it have to do with the browser, and why is it considered a security risk? What's the difference between this stuff with the browser and the 'ordinary' kind of programming I'm used to with Python (where you write code, save it and run in an interactive environment?) Can I set up JDK on my laptop without fear of any harm to it?

    Does an IDE come with the JDK package? Or should I install one seperately if I want one? Is it better to run Java programs through the IDE (like Python does in the Shell, I'm sorry if I'm getting the terminology wrong) or through the command prompt?

    Finally, I've seen some stuff about how the path needs to be set manually after installation- and this is, frankly, Greek to my ears. Will I be fine if I just follow the instructions on WikiHow or somewhere? I remember Python having a similar thing- if I set up the path for Java, will it affect how Python runs on my laptop?

    Edit: I'm using Windows 10

    Help a complete noob out here!

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

    API making learning guide

    Posted: 30 Jun 2019 06:53 PM PDT

    I want to start learning how to make APIs and then get into REST principles.

    Can you guide who wants to learn it with materials and ideas to get practicing?

    I intend to make them with golang or with a python framework or even with bare python. I'd be really glad if you also have some materials for that!

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

    Will I have issues switching between working on a MacBook and a Windows PC?

    Posted: 30 Jun 2019 09:01 PM PDT

    Sorry if this question doesn't follow the rules of the subreddit but I couldn't find a better place to ask.

    I am entering my final semester of college and I am also considering how this may affect me when I enter the professional world. I have always used windows laptops and desktops, but I am considering purchasing a MacBook.

    My concern and question is, will I have issues being able to work on the same project on both my MacBook and windows PC?

    I have zero experience with Apple MacOS, and so I do not know if I can work on the same projects or use the same IDEs on both my PC and MacBook. I want to be able to begin the project for school or work while I am away from home and continue working on it at home on my windows desktop. Will I have issues trying to do this? And if so how often and how much of a pain will it be?

    Thank you!

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

    How best do I keep a Journal of learning to code?

    Posted: 30 Jun 2019 05:11 PM PDT

    So I've using Linux for decade or more and want to code.

    But in order to do that I need to keep notes and plan for any projects etc.

    Is it best, to keep a backup Blank book (offline in writing) in how I am getting on, or should I just keep a Text file open, or what?

    I am learning in free code camp 'cos I wanna do an app - but really just joined today & want to know more about the basics as I feel ready, now - what should I be learning from as I need Ruby on rails HTML5 and python?

    So thankyou for assisting.

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

    How often do code sprints happen in the workplace?

    Posted: 01 Jul 2019 12:19 AM PDT

    This might not be the right subreddit to ask this but it would be kinda cool to know.

    So I'm a big fan of Silicon Valley and in one episode there's this massive code sprint that happens where everyone sleeps in the workplace, every one is tired and no one stops coding for 24 hours.

    Is this exaggerated or does this happen and how often does it happen?

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

    I've been messing around with IF functions in Excel and made an equation that can draw rectangles

    Posted: 01 Jul 2019 12:09 AM PDT

    The equation checks the cells positions against the input length and height. If the cell is within the range it comes out true and if not it comes out false. True cells get highlighted. I gave it an option to be a solid filled-in rectangle or an outline and I gave it a thickness parameter too. It's been a fun exercise, and the closest thing I've done to coding in a while. I'm not really sure where to go from here. If anyone wants a closer look it's here, along with some instructions I wrote to help myself along next time.

    I'm new here and I think this is the right place to post this? I'm new to coding but I was always good with excel. I would always make stat sheets for video games. Resource calculators like a Candy Tracker for PokemonGo, a Lighting Plotter for Minecraft. Similar to this project I created the Perfect Spiral Stairs in Minecraft, and played with some redstone elevators which incorporate some coding like and gates. I'm having a lot of fun with it, but I don't know where to go from here. I want to get into real coding but I can't decide what language. Is this stuff similar to anything? My dad did a lot of C, C+, and Python. He didn't teach me anything though, he always thought I would be bored with it. I have an unrelated college BS, and at this point I wouldn't go back to college. Is there anything that I could make a job out of without a CS degree?

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

    German programmers of reddit, starting next year I will start getting an education as "Fachinformatiker Anwendungsentwicklung" and I wanted to ask for advice so I can crush the next 3 years.

    Posted: 30 Jun 2019 06:04 PM PDT

    • First of all I'm wondering what to actually expect and how the school part will work. Since there are so many languages , which one do you learn in school ? Its hard to imagine that the "Berufsschule" is able to teach every student whatever indivitually whatever their workplace need right ? Do you just learn one ? Do you dip into many ? How does that work ?

    • What would you say I should focus on learning right now. Since I have a year of semi free time ahead of me , I'm eager to jump into anything right now . I already completed CS50 and I would love to do more.

    • What is the difference between "Fachinformatiker Anwendungsentwicklung " and having studied "Informatik" ?

    • What is something you wish you knew before starting / finishing ?

    • Is there any generall advice you can give me ?

    I'm very gratefull for every little bit you can share.

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

    Dear experties.. i need your help.. what laguange programming i should learn first ??

    Posted: 30 Jun 2019 11:41 PM PDT

    I know2.. this kinda question has been a lot to asked before but i have searching around through internet and still not finding concrete/exact answere..

    What i heard are only PHP, Java, JavaScript, C++,C#, Pyton, Swift

    Also i really interested to study google SEO analitic.. are they related with those languange ? Or its different system to understand

    Once again please dont bully me.. And thank you for your help :)

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

    Stuck with implementation of recurrence relations in C

    Posted: 30 Jun 2019 10:43 PM PDT

    So two recurrence relations are given:

    f(n+2)=2*f(n+1)-f(n)+2, when n is even and, f(n+2)=3*f(n), when n is odd. We have to find out the value of f for odd and even n, let's say 3 and 4 respectively. Also f(1)=f(2)=1.

    #include<stdio.h> int n; int func(int); void main() { scanf("%d",&n); printf("%d",func(n)); } int func(int n) { int result; func(1)=1; func(2)=1; if(n%2==0) { func(n+2)=2*func(n+1)-func(n)+2; result=func(n); return result; } else { func(n+2)=3*func(n); result=func(n); return result; } } 

    This implementation is not working. Any suggestions on how to improve the implementation...

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

    4th year project

    Posted: 30 Jun 2019 10:41 PM PDT

    Hi I'm heading to my 4th year and I struggle with coming up with some good idea for my 4th year project.. I really enjoy web development mainly in MERN Stack... and i enjoy cosing in python and also I'm trying to do some machine learning stuff... My question is anyone here can please help me with some good idea? Possibly that involves AI in some way

    Thanks

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

    Swoft for PHP Microservice Coroutine Framework

    Posted: 30 Jun 2019 10:40 PM PDT

    Swoft for PHP Microservice Coroutine Framework

    Are you bothered by PHP-FPM performance? Still looking for a PHP microservice solution?

    Swoft relies on the Swoole extension to solve all of these problems perfectly. Like Go, Swoft has a built-in coroutine web server and a common coroutine client and is resident in memory, independent of traditional PHP-FPM. There are coroutine operations similar to the Go language, with flexible annotations similar to the Spring Cloud framework, powerful global dependency injection containers, comprehensive service governance, flexible and powerful AOP, standard PSR specification implementations, and more.

    Swoft uses component-based development to make the framework more functional than heavy. Through three years of accumulation and direction exploration, Swoft is transformed into Spring Cloud in PHP, which is the best choice for PHP high-performance framework and micro-service governance.

    Website: https://en.swoft.org Document:https://en.swoft.org/docs Github: https://github.com/swoft-cloud/swoft

    If you are interested in swoft, you can star swoft by github!

    Core Component

    Name Version
    annotation 2.0.2
    aop 2.0.2
    bean 2.0.2
    config 2.0.2
    connection-pool 2.0.2
    console 2.0.2
    db 2.0.2
    error 2.0.2
    event 2.0.2
    http-server 2.0.2
    i18n 2.0.2
    log 2.0.2
    redis 2.0.2
    rpc-client 2.0.2
    rpc-server 2.0.2
    stdlib 2.0.2
    task 2.0.2
    tcp-server Released in version 2.0.3
    validator 2.0.2
    websocket-server 2.0.2

    Extension Component

    Name Version
    view 2.0.2
    session Released in version 2.0.3
    devtool 2.0.2
    breaker Released in version 2.0.3
    consul Released in version 2.0.3
    limiter Released in version 2.0.3
    elasticsearch Released in version 2.0.4
    grpc Released in version 2.0.5
    kafka Released in version 2.0.4
    swagger Released in version 2.0.6
    zipkin Released in version 2.0.4
    submitted by /u/swoftcloud
    [link] [comments]

    Exception Handling

    Posted: 30 Jun 2019 10:18 PM PDT

    I always have had this question and I don't find an easy answer, what is the difference or the point to throw an exception or catching it? Does it make a difference in the program?

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

    Trying to understand interpreted languages. They are all ultimately compiled right?

    Posted: 30 Jun 2019 10:15 PM PDT

    Let's look at python. From what I know, python source code is given to the python interpreter, which is written in c, which is then compiled and executed.

    What I don't understand is how this is done. I thought interpreting a language means you look at a small bit of code at a time and execute it before reading more. So if the interpreter only gets small portions of the code it must then compile that small portion.

    Is that small portion just linked with the next small portion before being run? Doesn't this mean the entire source code is actually compiled before it is run? I assume you can't run compiled code without linking everything first.

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

    Chromium Build PC Specs

    Posted: 30 Jun 2019 09:57 PM PDT

    I need to work with Chromium builds, and I noticed that they say that 20+ CPU cores is not excessive, and 64 GB of RAM is not excessive.

    I'm wondering if anybody has worked with debugging and builds using say 12-16 cores?

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

    What is the weirdest data structure you've ever encountered? (And one question)

    Posted: 30 Jun 2019 06:01 PM PDT

    For me it's trie.

    https://www.wikiwand.com/en/Trie

    I've read that if you have a nice enough computer, you can hold the entire Gutenberg project on it and your algorithm would still perform nicely. Plus, all its operations have nice Big Os (never found out what they are --- would it even differ? I mean, the Big O, Omega, or the "thoight" one all rely on the fact that if you use arrays or linked lists, not the data structure itself... Right? This was my question --- Sorry if I'm asking it here, /r/computerscience is such a cesspit!)

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

    Ways, guides and resources to improve 'generic' programming skills and productivity

    Posted: 30 Jun 2019 09:44 PM PDT

    I am a developer / devops guy and would like to to improve my 'generic' programming skills.

    Basically, all skills that allow or improve the overall speed and efficiency of writing and developing code and deploying and maintaining it. This a broad question and free to interpret. In essence, everything that is proven to improve productivity.

    Examples could be, something that improves typing speed (I mostly type with two fingers for instance), a guide to develop usable vim skills ( for when you occasionally need to log into a remote linux box), learning to exploit vscode shortcuts (still don't regularly use multi-cursors functionality and so on), using tools to assist work flow, and so on.

    Everything you know that helped improve you as an IT guy, developer, programmer, sysadmin, devops guy is welcome.

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

    Python/JSON - Problem dealing with JSON lists

    Posted: 30 Jun 2019 09:38 PM PDT

    Hi, I'm having some trouble with a script to check a json list against another and if an element of one is present, add to the other and delete from the previous one, instead of adding only the one element it's adding the whole list to the other json, here's an example of the script in question:

    with open("studios.json", 'r') as stdls: studios_list = json.load(stdls) with open("movies.json", 'r') as movls: movies_list = json.load(movls) def count(): studios = studios_list["Studios"]["Contractors"] for movies in movies_list["Launch"]: for studio_name in studios: if studio_name in movies_list["Launch"][movies]: studios.remove(studio_name) else: movies_list["Launch"][movies].append(studio_name) with open("studios.json", 'w') as stdout: json.dump(studios_list, stdout, indent=4) with open("movies.json", 'w') as movout: json.dump(movies_list, movout, indent=4) count() 

    Any help is much appreciated, thanks in advance!

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

    No comments:

    Post a Comment