background preloader

Category:Programming Tasks

Category:Programming Tasks
Programming tasks are problems that may be solved through programming. When such a task is defined, Rosetta Code users are encouraged to solve them using as many different languages as they know. The end goal is to demonstrate how the same task is accomplished in different languages. These are the Programming Tasks that have been defined and solved. Feel free to add solutions in languages not already included. The Category:Simple is a small subset with only "really simple" tasks, like "Hello World", and demonstrations of basic language-features. The Category:Draft Programming Tasks is a list of tasks, some of which are just awaiting more implementations before they can be promoted to tasks. Read the guidelines on creating new tasks. The following 850 pages are in this category, out of 850 total.

Related:  Technology /FutureDevIT

How to dig yourself out of the coding tutorial rut – freeCodeCamp We’ve all been there. Learning to code, completing tutorial after tutorial, but getting nowhere. Then the self doubt kicks in. “This is too hard.” A successful Git branching model » In this post I present the development model that I’ve introduced for some of my projects (both at work and private) about a year ago, and which has turned out to be very successful. I’ve been meaning to write about it for a while now, but I’ve never really found the time to do so thoroughly, until now. I won’t talk about any of the projects’ details, merely about the branching strategy and release management. It focuses around Git as the tool for the versioning of all of our source code. (By the way, if you’re interested in Git, our company GitPrime provides some awesome realtime data analytics on software engineering performance.)

Three Things I Expect From a Software Architect - Yegor Bugayenko A software architect is a key person in a software project, which I explained in my What Does a Software Architect Do? post a few months ago. The architect is personally responsible for the technical quality of the product we're developing. No matter how good the team is, how complex the technology is, how messy the requirements are, or how chaotic the project sponsor is, we blame the architect and noone else. Of course, we also reward the architect if we succeed.

Learn JavaScript JavaScript is a programming language that allows you to implement complex things on web pages — every time a web page does more than just sit there and display static information for you to look at — displaying timely content updates, or interactive maps, or animated 2D/3D graphics, or scrolling video jukeboxes, etc. — you can bet that JavaScript is probably involved. Learning pathwayEdit JavaScript is arguably more difficult to learn than related technologies such as HTML and CSS.

70 Things Every Computer Geek Should Know. The term ‘geek’, once used to label a circus freak, has morphed in meaning over the years. What was once an unusual profession transferred into a word indicating social awkwardness. As time has gone on, the word has yet again morphed to indicate a new type of individual: someone who is obsessive over one (or more) particular subjects, whether it be science, photography, electronics, computers, media, or any other field. A geek is one who isn’t satisfied knowing only the surface facts, but instead has a visceral desire to learn everything possible about a particular subject. A techie geek is usually one who knows a little about everything, and is thus the person family and friends turn to whenever they have a question.

7 Cool Decentralized Apps Being Built on Ethereum Imagine a company or service that isn't controlled by any single individual, board or other central entity. Known as a decentralized application, or 'dapp' for short, the concept has been one of the more novel ideas to emerge from the blockchain community. Armed with self-executing smart contracts, proponents of the technology have envisioned ways to replace everything that today requires a centralized leadership, from businesses and services to governments. In some ways, bitcoin could be considered the first dapp, as it is fully open-source, rewards contributors, runs without a central authority and uses blockchain technology to help facilitate its continued use case as an online currency. Next-generation innovators are now seeking to apply these same principles to a variety of online services they believe could be built in the dapp format, armed with a little effort, know-how and the will to charge forward into the unknown. But what can you do with a dapp?

untitled Obey the State! When you hear the term State Machine, you may think of totalitarian societies as depicted in George Orwell’s 1984 run by ruthless dictators. However, in programming, state machines are quite benign and helpful in solving certain kinds of programming problems. Chapter 10 of Learning PHP Design Patterns, explains the State design pattern in full detail. In this post I want to introduce the concept of a state machine, but we will not see a true State design pattern just yet. New programming slang - Programming A question recently posted on asked for people to submit programming terms that they or their team have coined and have come into regular use in their own circles. Below are the most popular answers Yoda Conditions The act of using if (constant == variable) instead of natural if (variable == constant),; for example, if (4 == foo). Because it is like "if it is the blue – this is the sky" or "if that is tall – this is a man." Pokémon Exception Handling When you catch all the exceptions and then you try somehow to analyze them. try{ //code }catch ( Exception ex){ if( ex instanceof SubException){ //code }else if(ex instanceof SubSubException){ //code }else{ //code } } Discuss an example here

Higher Computing For Everyone - Learn Programming - Free Programming Classes Online This is bound to be a question foremost on a lot of people's minds from beginners on up. There is a lot of depth to this question, and I think this is a great place to continue to after Lesson 1. As strange as it sounds, all programming languages, no matter how cryptic they appear, are designed to be understood only by humans, not computers. Even assembly language is written to be understood only by humans. There is only one language that your computer understands, the language of 1s and 0s. The magic of computing is that sequences of 1s and 0s flowing non stop inside of your computer make everything happen.

DARPA Is Planning to Hack the Human Brain to Let Us "Upload" Skills In Brief The DARPA Targeted Neuroplasticity Training (TNT) program is exploring ways to speed up skill acquisition by activating synaptic plasticity. If the program succeeds, downloadable learning that happens in a flash may be the result. Mindhack For Faster Learning In March 2016, DARPA — the U.S. military’s “mad science” branch — announced their Targeted Neuroplasticity Training (TNT) program. The TNT program aims to explore various safe neurostimulation methods for activating synaptic plasticity, which is the brain’s ability to alter the connecting points between neurons — a requirement for learning. The Mind of Bill Porter There are many ways to change an output pin. The way we know and love is the famous digitalWrite() function. (Spoiler: Want a faster digitalWrite? Download Here!) But even the Arduino Reference claims that it is not the most efficient.

Roberto Cortez Java Blog In one way or another, every developer has come in touch with an API. Either integrating a major system for a big corporation, producing some fancy charts with the latest graph library, or simply by interacting with his favorite programming language. The truth is that APIs are everywhere!

Dynamically Creating PDFs in a Web Application by Sean C. Sullivan 06/18/2003 On a recent logistics project, a customer asked our team to build a web site that would allow users to query a legacy system for shipment information. The customer defined three main requirements: The shipping information had to be returned in the form of a PDF document. The PDF file must be downloadable through a web browser.