All posts tagged “programming”

CBS is pulling programming from Dish Network

After months of failed negotiations, CBS has decided to pull much of its programming from the Dish Network in 16 major cities across the US, including New York City, Los Angeles, and Chicago. The recent dispute mirrors other sour negotiations in the past, and now leaves fans of shows like The Big Bang Theory waiting for a resolution. CBS All Access is unaffected, however.

“Dish has dragged its feet at our many attempts to negotiate.”

CBS and Dish have gone back and forth over their contracts for the better part of a year, and the satellite provider was even offered two extensions in recent week in an effort to reach some form of agreement. Unfortunately, that the deal fell through appears to be par for the course for Dish. “Dish has…

Continue reading…

The Verge – All Posts

12 Tutorials For Getting Started With Swift; Apple’s New Programming Language

If you are planning to build your career in iOS development, then you must know about Swift which is the Apples new programming language and has become so much popular among the programmers. So, if you really want to stay in the developing game, then invest some time in learning this new programming language as it has a good scope.

The best way to learn on internet is through tutorials. Therefore, we have compiled some free and easy Swift tutorials for you to help you learn Apple’s new programming language. Here is the complete list. Enjoy!

Beginner’s Guide to Swift

An Absolute Beginner’s Guide to Swift.

Swift Tutorial: A Quick Start

This Swift tutorial will take around 15 minutes and will give you a quick tour of the Swift language, including variables, control flow, classes, best practices, and more.

Developing iOS8 Apps Using Swift

This article is part of the create iOS8 Applications with Swift tutorial series.

The Swift Programming Language

This book is available for download with iBooks on your Mac or iOS device, and with iTunes on your computer. Books can be read with iBooks on your Mac or iOS device.

Learn Swift: Build Your First iOS Game

This tutorial will introduce you to the basics of Swift before acquainting you with some of its more advanced features. After completing this tutorial you will be comfortable enough to write Swift code on your own. This tutorial also covers the fundamentals of SpriteKit, Apple’s 2D game engine API.

Swift Cheat Sheet

A short guide to using Apple’s new programming language, Swift.

Swift Tutorial – Developing iOS 8 Apps

IOS8 Swift Cheat Sheet

iOS8 Swift Cheat Sheet and Quick Reference Guide for iPhone Developers. Swift is the new programming language used in developing applications for Mac OS and iOS, introduced by Apple in 2014. Swift is not, at present a replacement for Objective-C.

Make your own IOS Mapkit Application

In today’s Swift tutorial, we will explore MapKit. MapKit is a nice little framework developed by Apple. We will learn to integrate this MapKit with the Google Map javascript api and thus develop a complete application using Swift.

Swift Tutorial for Beginners

So as you all may know, Apple just just announced Swift for iOS 8 (not Taylor Swift), which is kinda exciting since Swift looks so easy to learn! In this part of the tutorial I will only cover some simple aspects of the new way of coding iOS.

An Introduction to Swift

Introduction to Swift for Non Programmers

This course introduces you to the brand new language from Apple that is easy to learn, even for beginners.


SmashingApps.com

10 Tools To Teach Kids The Basics Of Programming

We are living in a digital era where gadgets from computers, smartphones to tablets have become an essential part of our lives. Even kids these days pick up an iPad as and figure out apps like how a fish takes to water. With kids becoming more tech-savvy as time goes on, there’s no reason why they can’t learn the basics behind their favorite technology. That’s right, we’re saying that there’s no reason why you can’t teach your kids programming from a young age.

This will not only develop the analytical programming skills of kids at early age but will also help them get an idea that whether they want to become a programmer in future. Here we’ve put together for you 10 educational tools that can be used to teach and develop programing skills in kids. Most of the listed tools are based on a visual programming language which has drag and drop interface for programming. These colorful and engaging tools will ultimately help build up your childs programming skills.

Hopscotch

Hopscotch says that programming is designed for everyone. By using Hopscotch, you can teach the basics of programming to your kid easily. Currently, you can only download the Hopscotch app for free on the iPad. Hopscotch allows your kids to develop their own games, stories, animations and other many interactive programs by dragging and dropping blocks of code. One can shake, tilt or even shout at the iPad to control the characters in program. [Visit site]

Scratch

Scratch is a programing language and online community, which is developed and maintained by Lifelong Kindergarten group at MIT Media Lab. Scratch is a free to use service and it allows your kids to create their own animations, games and stories. Your kids can share their creations with others around the world using the online community of Scratch. [Visit site]

Alice

Alice is a free to use 3D programming tool that allows one to create animations for telling a story, playing an interactive or a video to share on the web. The main purpose of Alice is to give your kids basic exposure to object-oriented programming. By using Alice, students will learn to create animated movies (containing people, animals and vehicles) and simple video games. [Visit site]

Tynker

Tynker is an online programming learning system designed to motivate kids to translate their creative ideas into games, projects and animated stories, and circulate their apps on the web. Tynker uses easy visual programming language in which no programming syntax is required but only blocks of codes are combined together to create programs. There’s a fee for lifetime access but they offer online self-paced courses, mobile puzzles and summer camps as well. [Visit site]

Hackety Hack

Hackety Hack is an easy to use programming tool which can be used to teach the absolute basics of programming. One doesn’t need any prior experience of programming before they start working on Hackety Hack. It is based on Ruby programming language. Ruby is used for development of programs such as desktop applications and websites. It is really easy to build graphical interfaces using the Shoes tool of Hackety Hack. [Visit site]

Kodable

Kodable is a free to use programming app for iPad. The tagline, “Learn to code before you know how to read” is embodied through their method of learning programming through a fun game. Kodable is specially designed for kids aged 5 years or above, so that they can learn programming by playing games with little instructions. Kodable has 3 levels of programming including K-2nd grade, 3rd – 5th grade and 6th – 12th grade. [Visit site]

Stencyl

Stencyl is fast, free and convenient. It allows you to develop games by using a drag and drop (block-snapping) interface, and no coding is required at all. If you do not want to use the block-snapping interface then you can type in code as well. Stencyl has extensive platform support and games developed on Stencyl can be played on Android, iOS, Windows, Mac, and Linux too. [Visit site]

RoboMind

RoboMind is a programming tool for kids which uses its own language called ROBO. It is a very simple language which does not require any previous knowledge of programming. The main objective of RoboMind is to move a virtual robot on a two-dimensional grid and perform simple tasks. By using RoboMind, your kids can learn the basics of artificial intelligence and later on even use it on real robotic kits such as LEGO Mindstorms NXT 2.0. RoboMind gives a 30 days free trial of their tools. [Visit site]

Etoys

Etoys is an easy to use programming tool that kids can use to create their own games, models and stories. An Etoys project can be developed by using graphics, animated objects, music, sound, scanned pictures and text. Etoys is free to use with a liberal license. [Visit site]

Waterbear

Waterbear is a convenient and free to use programming toolkit for kids which uses a drag and drop approach for programming purposes. Waterbear is a visual programming language which means there is no need to learn syntax to start programming with it. Kids can create a new file, look at examples of other creations and play around with the different features among other things. There are even descriptions for each element that are easy to follow as well. [Visit site]





hongkiat.com

15 Free Sources to Learn Swift Programming Language

If you are not yet aware of this, Apple has introduced a new programming language called Swift in this year’s WWDC, alongside the new Mac OS X Yosemite. Swift aims to simplify the codes used in Apple platforms iOS and OS X. Despite the new name, Swift is compatible with the roots of predecessors like C, Objective-C and Cocoa Touch framework.

If you have been programming with Objective-C, learning Swift would be a breeze as it has inherited a number of syntax that you may already have been familiar with. And if learning Swift is in your to-do list but you haven’t started, here are a few free sources that is going to make things a lot easier for you.

1. The Swift Programming Language

Available for download for Mac OS and iOS, the Swift Programming Language is available via iBooks. It is Apple’s very own Swift reference, and it covers the essentials, concepts and workflow with code examples. An official guide like this book is always the best place to start with something new.

[Check it out]

2. Introduction to Swift

Not a fan of eBooks? Not a problem. How about a video course instead? Apple has also released a video playlist on Youtube containing short courses on Swift, covering the introduction and a number of its syntax such as Constant and Variables, Integers, and Arithmetic Operations.

[Check it out]

3. The Swift Blog

Here’s a third source on Swift by Apple, a dedicated blog called The Swift Blog. The blog covers tips, insights, and examples on Swift utilization. Despite only having a few posts published at the time of writing, this is still the best source to stay up-to-date with Swift.

[Check it out]

4. Absolute Beginner’s Guide to Swift

Many developers have also put their hands on Swift and shared their findings on their blogs. TeamTreeHouse in their post, An Absolute Beginner’s Guide to Swift, summarized the essentials for beginners; what Swift is, the prerequisite tools, and a basic run-through of the Swift syntax.

[Check it out]

5. Introduction to Swift for Non-Programmers

Swift is designed to be as easy to understand as possible so that non-programmers or entry-level users will be able to pick it up quickly. This free course from Udemy, titled Introduction to Swift for Non-Programmers, consists of 8 videos that will walk you through the fundamentals even without prior programming experience.

[Check it out]

6. SoSoSwift

SoSoSwift is a collection of sources on where to learn Swift. Here you can find videos, articles, tutorials, code examples, and libraries to build Apps for iOS and OS X, with Swift. Do you have suggestions of sources or tutorials to be included in the collection? You can send a request or submit the link to the site to have it listed.

[Check it out]

7. LearnSwift

LearnSwift is similar to SoSoSwift. It is a collection of sources for tutorials, video screencasts, and libraries for Swift. LearnSwift laid out the sources in three sections: Beginner, Intermediate, and Advanced. Pick the level you are most confident in and start learning Swift today.

[Check it out]

8. SwiftLang

SwiftLang is another good place to dive into Swift. SwiftLift has put a pile of references from various sources together. SwiftLang also has a forum where we can ask for help or help others with regards to Swift programming.

[Check it out]

9. Swift Cheat Sheet

Swift consists of a lot of syntax that would be hard to digest all at once. So, here is a Swift cheat sheet for quick reference, composed by Ray Wenderlich. It summarizes a number of Swift syntax, all in one page.

[Check it out]

10. Build Your First App with Swift

Now that you have run through the basics, let’s start building your first app. What about creating a game? This eBook, Learn Swift Build Your First iOS Game, will teach you the steps required to build a game named Swiftris, which mimics the popular classic game, Tetris. The book is available via email subscription.

[Check it out]

11. Building a Simple OS X Application With Swift

In this 10 minute video screencast, Jeannot Muller shows you how easy it is to use Swift. The App created is very simple, as it comprises of only input fields and a button.

12. Drawing With Swift in Playgrounds

One significant feature Apple brought to Swift is the Playground. Within the Playground, we can immediately see how our codes act and turn out, immediately. Join Nate Murray in this video to see how to "play" in the Playground.

13. Creating a To-do List App using Swift

There are plenty of to-do list apps in the App Store. Many of them bring a set of great features with a nice user interface design. But, if you feel like creating your own to-do list App, here is a video screencast to get you started.

14. Developing iOS 8 Apps with Swift

With iOS8 on its way, you’ll want to get yourself ready to build that app. Jameson Quave in his posts series – Part 1 and Part 2 – will teach you how to use Swift to build an App for iOS 8.

15. Swift on StackOverflow

Having bugs in your App is unavoidable. So, in case you have bug trouble, head over to this OverflowStack for Swift to get help from other developers. You are also likely to come across some threads where you can pick up a couple of tips and tricks on how to use Swift.

[Check it out]





hongkiat.com

Free Swift Tutorials for Apple’s New Programming Language

You’re reading Free Swift Tutorials for Apple’s New Programming Language, originally posted on Designmodo. If you’ve enjoyed this post, be sure to follow on Twitter, Facebook, Google+!

Free Swift Tutorials: Apple's Programming Language

Unveiled only a month ago, the new programming language Swift that was created by Apple for iOS developers shook up Xcode lovers a bit. It aims to provide programmers with an alternative that slowly should replace Objective-C, which is not so resilient against erroneous code. Swift includes slightly revised basic Objective-C features and new advanced […]


Advertise here with BSA


Designmodo

15 Bizarre (And Insane) Programming Languages That Exist

Some people say learning to program is hard, tedious and excruciating. It’s like learning a new language, just to talk to a machine which needs to be told in very specific commands what to do and execute. For some reason, a group of people seem to think that programming itself isn’t complicated enough, and thus ‘esolang’ was born.

Welcome to the world of esoteric programming languages (aka esolang), where programmers push the conventions of language design. These languages are not meant to be easy to use. Quite the opposite, they are designed to challenge, frustrate and amuse programmers with their difficulty. There are many esolangs out there for you try but here are 15 of the most bizarre and insane of the lot.

1. Brainf*ck

True to its name, this programming language will give any programmer an instant headache. It was created by Urban Müller in 1993, as a language that could be implemented by a really small compiler, to amuse the programmer. The language uses only eight commands and an instruction pointer, each made up of a single character, making this an incredibly minimalistic language. Below is a sample of the headache-inducing code, one that will print out ‘Hello World!’:

+++++ +++ Set Cell #0 to 8 [ >++++ Add 4 to Cell #1; this will always set Cell #1 to 4 [ as the cell will be cleared by the loop >++ Add 2 to Cell #2 >+++ Add 3 to Cell #3 >+++ Add 3 to Cell #4 >+ Add 1 to Cell #5 <<<<- Decrement the loop counter in Cell #1 ] Loop till Cell #1 is zero; number of iterations is 4 >+ Add 1 to Cell #2 >+ Add 1 to Cell #3 >- Subtract 1 from Cell #4 >>+ Add 1 to Cell #6 [<] Move back to the first zero cell you find; this will be Cell #1 which was cleared by the previous loop <- Decrement the loop Counter in Cell #0 ] Loop till Cell #0 is zero; number of iterations is 8 The result of this is: Cell No : 0 1 2 3 4 5 6 Contents: 0 0 72 104 88 32 8 Pointer : ^ >>. Cell #2 has value 72 which is 'H' >---. Subtract 3 from Cell #3 to get 101 which is 'e' +++++ ++..+++. Likewise for 'llo' from Cell #3 >>. Cell #5 is 32 for the space <-. Subtract 1 from Cell #4 for 87 to give a 'W' <. Cell #3 was set to 'o' from the end of 'Hello' +++.----- -.----- ---. Cell #3 for 'rl' and 'd' >>+. Add 1 to Cell #5 gives us an exclamation point >++. And finally a newline from Cell #6

2. LOLCODE

LOLCODE is made up of lolspeak, the ‘language’ used by lolcats. The language was designed by Adam Lindsay in 2007, a researcher at Lancaster University’s Computing Department. The language isn’t as complete as traditional ones, with syntax and operator priorities not clearly defined but there are functioning compliers for that available out there. The hilarity and cuteness of the language more that makes up for this though. Just take a look at the ‘Hello World!’ code below:

HAI CAN HAS STDIO? VISIBLE "Hello World!" KTHXBYE

3. Befunge

Similar to Brainf*ck, Befunge was developed by Chris Pressey in 1993, with the aim of creating a language that would be as hard to compile as possible. He does this by implementing self-modifying code and having the same instruction being executed in four different ways, not to mention the instruction set itself. However, a number of compilers were eventually created. Below is the source code for ‘Hello World!’:

 > v v ,,,,,"Hello"< >48*, v v,,,,,,"World!"< >25*,@ 

4. ArnoldC

Here is a programming language made entirely out of one-liners from movies featuring Arnold Schwarzenegge, classics such as Terminator, Predator and Total Recall. ArnoldC was created by Lauri Hartikka, who swapped out standard commands with their equivalent Arnold one-liner. Example includes False and True, which becomes "I LIED" and "NO PROBLEMO", respectively. Here’s how a "Hello World!" code would look like:

 IT'S SHOWTIME TALK TO THE HAND "Hello World!" YOU HAVE BEEN TERMINATED

5. Shakespeare

If bodybuilding Austrian actors isn’t your thing, you may prefer the Shakespeare programming language. Created by Jon Aslund and Karl Hesselstörm, the aim was to make a programming language that didn’t look like one. In this case, the source code looks exactly like a Shakespeare play. Variables must be named after Shakespearian characters and constants are decided by positive or negative nouns.

A "Hello World!" sample is quite long, reading exactly like a play, so here is only part of the source code (the full one is available here):

 The Infamous Hello World Program. Romeo, a young man with a remarkable patience. Juliet, a likewise young woman of remarkable grace. Ophelia, a remarkable woman much in dispute with Hamlet. Hamlet, the flatterer of Andersen Insulting A/S. Act I: Hamlet's insults and flattery. Scene I: The insulting of Romeo. [Enter Hamlet and Romeo] Hamlet: You lying stupid fatherless big smelly half-witted coward! You are as stupid as the difference between a handsome rich brave hero and thyself! Speak your mind! You are as brave as the sum of your fat little stuffed misused dusty old rotten codpiece and a beautiful fair warm peaceful sunny summer's day. You are as healthy as the difference between the sum of the sweetest reddest rose and my father and yourself! Speak your mind! You are as cowardly as the sum of yourself and the difference between a big mighty proud kingdom and a horse. Speak your mind. Speak your mind! [Exit Romeo] 

6. Chef

Similar to Shakespeare, Chef, created by David Morgan-Mar, is a programming language that doesn’t look like one, looking instead like a cooking recipe. The design principles of the language is that

  • the code should not only generate valid output but the output must be easy to prepare and delicious
  • recipes appeal to cooks with different budgets
  • the recipes have to be metric

In other words, the recipes must work as code, AND can be prepared and eaten. The source code for the ‘Hello World!’ program is available below:

 Hello World Souffle. This recipe prints the immortal words "Hello world!", in a basically brute force way. It also makes a lot of food for one person. Ingredients. 72 g haricot beans 101 eggs 108 g lard 111 cups oil 32 zucchinis 119 ml water 114 g red salmon 100 g dijon mustard 33 potatoes Method. Put potatoes into the mixing bowl. Put dijon mustard into the mixing bowl. Put lard into the mixing bowl. Put red salmon into the mixing bowl. Put oil into the mixing bowl. Put water into the mixing bowl. Put zucchinis into the mixing bowl. Put oil into the mixing bowl. Put lard into the mixing bowl. Put lard into the mixing bowl. Put eggs into the mixing bowl. Put haricot beans into the mixing bowl. Liquefy contents of the mixing bowl. Pour contents of the mixing bowl into the baking dish. Serves 1. 

7. Whitespace

Whitespace was created by Edwin Brady and Chris Morris as an April Fools’ joke. Where most programming languages ignore whitespace characters, Whitespace uses them as commands, ignoring non-whitespace characters instead. Because of this, Whitespace code can be written inside programming languages that ignore whitespace. Below is a ‘Hello World!’ source code written in Whitespace (color is used for clarity).

Whitespace
(Image Source: Wikipedia)

8. Piet

Named after Piet Mondrian, Piet is yet another esoteric programming language created by David Morgan-Mar. The program is compiled by a pointer that will move around the image, from one section to the other. The code is in the color; the colors is read by the compiler to turn into a program. Below is an example of a ‘source code’, with the output being ‘Hello World!’:

Piet
(Image Source: Wikipedia)

9. Chicken

Chicken. This is a programming language consisting of only one word: chicken. It was created by Swedish programmer Torbjörn Söderstedt, who was inspired to create it after hearing Doug Zongker’s parody of scientific speeches (which nobody understands). Rather than showing the code for ‘Hello World!’, which would take half the page and consist of nothing but the word ‘chicken’, here is the paper and presentation that inspired the language:

10. Ook!

Ook! is a derivative of Brainf*ck, and is created by serial esoteric language developer, David Morgan-Mar. The structure is the same, except the eight commands are substituted with combinations of "Ook.", "Ook?" and "Ook!". The aim was to create, and we kid you not, a programming language "writable and readable by orangutans". Below is the source code for ‘Hello World!’:

 Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook. 

11. reMorse

Developed by Ryan Kusnery, ReMorse is a programming language that was made to look like Morse code. There are only four instructions: dot (.), dotty (. followed by a space), dash (-) and dasher (- followed by a space). The specifications of ReMorse were unclear, and ReMorse2 was created as an attempt to clean the code up a bit. Below is an incomplete sample for ‘Hello World!":

 - - - ..- ...-.---.;newline - - - .-. - ..-.- ...-. ---.;! - - - ...- . . -.---.;d ----. . . -.---.;l ----. . -...---.;r ----. -...---.;o ----...-.- ..-. ---.;W omitted code for "Hello " is similar to the above for "World!" -..............;output all characters 

12. l33t

Anyone who has ever spent even a bit of time on the internet knows what l33t sp34k (leet speak) is — users substitute words and letters with numbers and intentionally bad spelling. Two programmers, Stephen McGreal and Alex Mole, decided that it would be a good idea to create a programming language out of it and thus l33t was born. As with many other esoteric languages, it was designed to be as "brain-melting as possible to code in". Below is the source code for ‘Hello World!’:

 // "Hello World" by Stephen McGreal. // Note that the views expressed in this source code // do not necessarily coincide with those of the author :o) Gr34t l33tN3$  $  ? M3h... iT 41n't s0 7rIckY. l33t sP33k is U8er keWl 4nD eA5y wehn u 7hink 1t tHr0uGh. 1f u w4nn4be UB3R-l33t u d3f1n1t3lY w4nt in 0n a b4d4sS h4xX0r1ng s1tE!!! ;p w4r3Z c0ll3cT10n2 r 7eh l3Et3r! Qu4k3 cL4nS r 7eh bE5t tH1ng 1n teh 3nTIr3 w0rlD!!! g4m3s wh3r3 u g3t to 5h00t ppl r 70tAl1_y w1cK1d!! I'M teh fr4GM4stEr aN I'lL t0t41_1Ly wIpE teh phr34k1ng fL00r ***j3d1 5tYlE*** wItH y0uR h1dE!!!! L0L0L0L! t3lEphR4gG1nG l4m3rs wit mY m8tes r34lLy k1kK$   A$  $   l33t hAxX0r$   CrE4t3 u8er- k3wL 5tUff lIkE n34t pR0gR4mm1nG lAnguidGe$  ... s0m3tIm3$   teh l4nGu4gES l00k jUst l1k3 rE41_ 0neS 7o mAkE ppl Th1nk th3y'r3 ju$  t n0rMal lEE7 5pEEk but th3y're 5ecRetLy c0dE!!!! n080DY unDer5tAnD$   l33t SpEaK 4p4rT fr0m j3d1!!!!! 50mE kId 0n A me$  $  4gEb04rD m1ghT 8E a r0xX0r1nG hAxX0r wH0 w4nT2 t0 bR34k 5tuFf, 0r mAyb3 ju5t sh0w 7eh wAy5 l33t ppl cAn 8E m0re lIkE y0d4!!! hE i5 teh u8ER!!!! 1t m1ght 8E 5omE v1rus 0r a Pl4ySt4tI0n ch34t c0dE. 1t 3v3n MiTe jUs7 s4y "H3LL0 W0RLD!!!" u ju5t cAn'T gu3s5. tH3r3's n3v3r anY p0iNt l00KiNg sC3pT1c4l c0s th4t, be1_1Ev3 iT 0r n0t, 1s whAt th1s 1s!!!!! 5uxX0r5!!!L0L0L0L0L!!!!!!! 

13. Omgrofl

Omgrofl (which stands for ‘oh my god rolling on the floor’) was created by Juraj Borza where all the commands are made up of internet acronyms such as lol, wtf, brb, stfu, etc. All variables declared with the language must be in the form of lol, e.g. lol, lool, loool, etc. Here’s what the source code for ‘Hello World!’ looks like:

 loool iz lol looooool iz lool rtfm wtf looooool iz liek 0 tldr brb lmao loool roflmao looooool brb 

14. Velato

Velato is a language created by Daniel Temkin which uses MIDI files as the source code. The commands are determined by the the pitch and order of notes and the source codes created using Velato tend to have a jazz-like sound to them. The ‘Hello World!" example given below is what the ‘source code’ looks like:

Velato
(Image Source: Daniel Temkin)

15. Malbolge

If a programming language is named after the eighth circle of Hell, you know what to expect. Created by Ben Olmstead in 1998, Malbolge was designed to be near-impossible to program it. In fact, it was not manmade — it is created using an algorithm. It’s no wonder that it took 2 years for the program to materialize. This is the source code for ‘Hello World!’ for this impossible programming language to give you an idea of the craziness in the code.

 (=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8dc 





hongkiat.com

150 Programming Questions and Solutions or How to Get Your Dream Job!

Getting ready for the interview of your life? Gayle Laakmann McDowell can help you pass this life exam and take the position of the top software developer, which will considerably increase the well-being level of your family.
MonsterPost

10 Programming Habits Developers Should Adopt

Learning programming is fun and easy, but writing a good program can prove to be a daunting task. In most cases, we find ourselves constantly scratching our heads trying to understand the spaghetti code we wrote, or making lots of changes just because of a newly added minor feature.

developer habit

These outcomes can bring down our confidence but in fact, they can be solved with proper development practices. Here are 10 worthy habits to invest in to write cleaner and smarter code with less effort. Let’s start developing these habits now!

1. Write Human-Friendly Code

Always remember that you are not just writing code for machines, but for your future self too. So it is important to write readable code. In truth, programming is like writing a good poem. The tone should be consistent, the words descriptive and sentences well structured.

Here are some tips to write friendly code.

1. Follow Consistent naming conventions

For example, if you name private variables with underscore as the first letter, you should follow through in the rest of your code.

If you are working collaboratively, discuss naming conventions before anyone touches the code.

2. Descriptive Variable / Method Name

The variable and method name should describe what that code does perfectly. For example uncommon abbreviations like Sort_PT() may be confusing: what does the PT mean? If you can’t answer it on a second check, optimize the name to Sort_PostType() for better comprehension.

3. Indentation And Line Breaks

Indentation is magical! With some simple tab keys, you can reveal the entire code structure and edit the code with a clear understanding of how it will function.

For line breaks, use it when 2 codes on the same line execute different things. For instance, it’s best to not chain CSS properties on a single line — it complicates things.

2. Think Organization

On top of cleaner code, code structure and organization also helps with readibility issues. It is important to group your code to enable easy modification (if you need to scroll up and down multiple times to find your affected section, you need to work on the structure)

Also, don’t throw all the code into a single script. While it may seem convenient to have 8000+ lines of code in a single file, debugging is a nightmare when trying to recall method names. Always think about the ease of change.

The best practice is to separate code into different files according to their primary functions, for example manager, interface, animation, extension, etc.

think organization
(Image Source: urbanINFLUENCE)

Whenever possible, make sure the language only fulfills a particular purpose. If you are writing animation effect with CSS3, avoid writing jQuery animation effect, unless you have a strong enough reason. And if you do, comment in the CSS file about the exception.

3. Planning Before Coding

It’s crucial to know exactly what to do before you hit the first key. In the programming world, it is important to plan ahead. Writing a fixed navigation menu is easy, but what if the menu needs to be responsive, while being able to minimize itself when visitors scroll down the page?

Begining to code without a clear procedure in mind will often lead to retries, burnouts and a depression loop.

Plan Your Code

So instead of problem solving and programming the parallel way, it’s far easier to figure out the procedure first, then write a solution. List out general steps first (here is an example):

  1. Use Bootstrap as responsive framework.
  2. Create navigation menu.
  3. Add .navbar-fixed-top to the menu.
  4. Create jQuery script to resize menu when user scrolls down for over 200px.
  5. If the user scrolls to the top, resize the menu once again.

Troubleshoot

At this point, you should discover other underlying isses, like how we should resize the site logo and menu title according to menu size, or if we need to resize the dropdown menu as well, or if the detection needs to be dynamic instead of fixed. Once you figure these out, it’s a snap to get the menu done.

4. Write Manageable Code

Trust me, you don’t want to change hundreds of variables individually, line by line. I did, for 1 straight year. That was a humbling experience, and since then I have learned to write code that requires as few manual changes as possible.

manageable code
(Image Source: Logiq Tower)

How to achieve this? Use Array. It’s perfect for storing multiple variables, and you can access those variables with convenience for loop or for each method.

There are even more dynamic ways to add, arrange and retrieve data in certain languages, such as List and LINQ for C#, so be sure to periodically check out better features, libraries or plugins for smarter data management.

Lastly, to avoid constantly modifying stuff in code, write highly independent code that will not break the entire system when new features or changes are applied. It’s called Loose Coupling. After optimization, the developer only needs to tweak code in 1 class instead of 3 classes for new features.

5. Stop Overdoing Features

As our skills mature, we tend to develop more complex solutions that cater to a wider range of needs. It’s a good sign of growth but be wary as you might be stepping into another trap – overdoing a feature that’s entirely unnecessary to the project.

In development, it’s important to regularly remind yourself of the project’s main objective, and only add features that fulfill the purpose. If you know the exact collection size, use Array. If List’s function can retrieve the data the way you want, don’t use advanced LINQ.

Why develop a plugin when you hardly use that feature? Just because you can, doesn’t mean you should. Don’t waste your time. Rremember the most time consuming part aka finishing the project, is yet to come! Now, onto debugging!

6. Learn To Debug Smarter

Where there is code, there are bugs. It’s impossible to have a bug-free code solution, so debugging skills are highly sought after. The ancient trial-and-error method may work, but it is slow. Too slow. Plus, why torture yourself when there are already debuggers developed for you?

Debugging Tools

Take Firebug for JavaScript as example. It comes with error detection, breakpoint setting, expression tracking, performance checking, all for your debugging convenience.

IDEs like Aptana Studio 3 and Xamarin Studio are even released with their own powerful built-in debugger, so investing the time to learn them can make your life much easier.

firebug

However, a debugger won’t know your code inside out. When in doubt, put the log function into the code, like console.log for Firebug, and make sure it’s good with variable integration (instead of retyping variable names as string or simply 'It works!'). The web is filled with more advanced and specific debugging methods for every language.

7. Find A Stronger Editor

The right editors can help you grow in knowledge, and expedite project completion. Regardless of how experienced you are, it’s strongly recommended for you to go for editors with code completion, such as Sublime Text and Aptana Studio 3.

Not only is the feature very helpful for beginners to recognize and learn the syntax, but it can be utilized by professionals to check for possibly better codes or solutions. Do take note, most IDEs only support code completion for certain languages, so look for the right one.

Feature Filtering

For instance, one thing I love about MonoDevelop is its code template feature. With a custom shortcut key, you can output a self-defined code template from common switch statement to full-fledged manager script. This is great for large scale projects, so try to make this feature a priority during your editor hunt.

Other essential features to look out for:

  • debugger
  • regex replace
  • macro
  • version control support
  • database support
  • split editing
  • layout customizer
  • WYSIWYG editor

8. Do Version Control

There will be times when you make a huge programming mistake and want to go back to an earlier version of a code. Now what if your mistake involves several files in the codebase, and some of them were modified days, or even months ago?

Revert to the original and update the code bit by bit while solving bugs? This is counterproductive and why a version control system is greatly essential.

git

Version Control Systems

Among several version control softwares, Git is the most popular with a large number of documentations available online. With Git, you can keep as many revisions as you want, branch out the file for some code experiment, track down the part of code you changed last time, and revert back to them whenever you want.

Feels like overkill? Maybe, since it’s originally developed for team programming, but it’s also perfect for long term personal projects. You may be hesitant because the Git is in itself so much to learn up on, even with the GUI version. But it’s more of a sooner or later thing (so better that you make it sooner), plus the web is loaded with plenty of tutorials and guides to help ease the learning process.

9. No Extra Prototypes, Finish Current Project

Tedious coding and debugging can drain someone physically and emotionally. And some of us are inclined to prototype our work even before it is finished. While prototyping is a beneficial behavior in the long run, it doesn’t help when you do it to escape from work.

A better way to lose some steam is to enjoy something totally unrelated to the work, exercising, gaming, reading (perhaps?) — You have to keep your work life in balance. Anything but prototypes.

10. Always Learn Something New

In this field, you can get phased out fairly quickly. Many developmental approaches and programming languages even are declared obsolete within the past 10 years alone. Even if you graduate from a top university with a degree in the subject does not ensure that you are still primed for employment.

The only way to survive and thrive is to keep learning.The best way to learn? Don’t just read, program. Challenge yourself with practical projects that require higher scalability. This forces you to think more efficiently. Explore, and enjoy the creation process. Practice is not something you can ignore in programming. The more you program, the better a programmer you become.


    




hongkiat.com

The Best Free Fonts for Coding & Programming

You may have not given much thought to the font you currently use for coding before. You are probably happy with the default monospaced font that comes with your favorite IDE and over time have become accustomed to it. These fonts may be the best font for you, but are they actually good for general coding? I would never tell you which font is good (currently I am using Ubuntu Mono Regular) or bad, as there is no way to categorically measure it. It does come down to each individual coders preference. But there are certain fonts freely available that have been designed purely with programmers and coders in mind.

With this post I just wanted to highlight some of the best free monospaced fonts that have been optimized for programming and to also offer some basic pointers for selecting a particular font.

So what should you be looking for in a good monospaced programming font? For starters it has to be clear and highly readable, proportionally-spaced, and for obvious reasons, needs to come packaged with an extended characterset with distinguishable glyphs. And perhaps more importantly than legibilty, the ’1′, ‘i’ & ‘l’ and ‘o’, ’0′ & ‘O’ have to be clearly identifiable as different characters. It is using this base criteria that I selected the free fonts below.

Quick note: For the screenshots I had intended to preview the fonts in Sublime Text using example code, but this proved to be far too impractical as the screenshots ended up being far too large when attempting to properly show the code in action. Instead I opted to use Flipping Typical, a handy web-based tool for previewing the fonts you have pre-installed on your computer, using the basic characters you can see below. Hopefully this will still give you a decent visual overview of what each font offers.

Free Monospaced Fonts for Coding

Anonymous Pro by Mark Simonson (Regular, Italic, Bold, and Bold Italic)

Anonymous Pro Regular Italic Bold free programming code fonts

Anonymous Pro Download Page →

Inconsolata by Raph Levien

Inconsolata free programming code fonts

Inconsolata Download Page →

Hermit by Pablo Caro (Light, Medium & Bold)

Hermit Light Medium Bold free programming code fonts

Hermit Download Page →

Edlo by Eric Hamiter

Edlo free programming code fonts

Edlo Download Page →

Meslo by André Berg (LG Small, LG Medium & LG Large)

Meslo free programming code fonts

Meslo Download Page →

Vera Sans Mono by Bitstream (Roman, Oblique, Bold & Bold Oblique)

Vera Sans Mono Roman Oblique Bold free programming code fonts

Vera Sans Mono Bitstream Download Page →

Fira Mono by Mozilla (Regular & Bold)

Fira Mono Regular Bold free programming code fonts

Fira Mono Mozilla Download Page →

PT Mono by Alexandra Korolkova (Regular & Bold)

PT Mono Regular Bold free programming code fonts

PT Mono Download Page →

Envy Code by Damien Guard (Regular, Italic & Bold)

Envy Code Regular Italic Bold free programming code fonts

Envy Code Download Page →

Ubuntu Mono by Dalton Maag

Ubuntu Mono free programming code fonts

Ubuntu Mono Download Page →

Liberation Mono by Steve Matteson for RedHat

Liberation Mono free programming code fonts

Liberation Mono Redhat Download Page →

Fantasque Sans Mono by Jany Belluz (Regular, Italic & Bold)

Fantasque Sans Mono Regular Italic Bold free programming code fonts

Fantasque Sans Mono Download Page →

Droid Sans Mono by Steve Matteson for Android

Droid Sans Mono free programming code fonts

Droid Sans Mono Android mobile Download Page →

Consolas Mono by Microsoft

Consolas Mono free programming code fonts

Consolas Mono Microsoft Download Page →

Drucifer Monospace by Drucifer

Drucifer Monospace free programming code fonts

Drucifer Monospace Download Page →

BPmono by Backpacker (Regular, Italic & Bold)

BPmono Regular Italic Bold free programming code fonts

BPmono by Backpacker Download Page →

DejaVu (Regular, Oblique, Bold & Bold Oblique)

DejaVu Regular Oblique Bold free programming code fonts

DejaVu Download Page →

Monaco by Susan Kare and Kris Holmes for OS X

Monaco apple mac OSX free programming code fonts

Monaco Download Page →

The post The Best Free Fonts for Coding & Programming appeared first on Speckyboy Design Magazine.


Speckyboy Design Magazine

Microsoft launching original programming on Xbox in first half of 2014

At a Variety event this week, Nancy Tellem — a TV industry veteran who now leads Microsoft’s digital media business — noted that the company hoped to have original programming ready for Xbox Live “in the first quarter, at minimum second quarter” of next year. The company’s ambitions to expand Xbox Live into a broader entertainment platform aren’t new: it announced a live-action Halo series produced by Steven Spielberg in May, and more recently added a reality show about soccer and a Rob Dyrdek-linked comedy to the docket. Thus far, though, nothing has launched, and Tellem said that production of the Halo series in particular has been “slower.”

The number of tech firms getting into the entertainment business seems to grow by the day,…

Continue reading…

The Verge – All Posts