background preloader

Sourcegraph

Related:  Developer

IRC is Back: Here's Your Starter Guide How of many of you remember Compuserve? What about Prodigy? I'm asking because, back in the good 'ole days, they were popular services that allowed you to communicate with other people from all over the world. In many cases, they offered complementary services, such as forums or classified services, not to mention a pretty appealing user interface (for the time). Some of you may be too young to even know about those services, but I'll go out on a limb and assume that everyone's used either AOL Instant Messenger, Skype, or Yahoo! Everything Old is New Again What I've noticed in the last couple of years is a resurgence in using IRC as a primary means of communication. IRC (Internet Relay Chat) is a protocol, created in 1988, and was meant to help facilitate group discussions, via various channels. What I've noticed in the last couple of years is a resurgence in using IRC as a primary means of communication, especially for open source projects. So you want to get into this "IRC thing".

Comparison of programming paradigms This article attempts to set out the various similarities and differences between the various programming paradigms as a summary in both graphical and tabular format with links to the separate discussions concerning these similarities and differences in extant Wikipedia articles. Main paradigm approaches[edit] The following are considered[by whom?] the main programming paradigms. Differences in terminology[edit] Language support[edit] Some programmers feel that these features are unimportant or even frivolous. An extension of this is the syntactic saccharin, or gratuitous syntax that does not make programming easier.[4] Performance comparison[edit] Purely in terms of total instruction path length, a program coded in an imperative style, without using any subroutines at all, would have the lowest count. Managed code[edit] Pseudocode examples comparing various paradigms[edit] Jump up ^ See section: Allocation of dynamic memory for message and object storage Subroutine, method call overhead[edit]

10 Puzzle Websites to Sharpen Your Programming Skills Solving programming puzzles is a fun way to develop your logical and problem solving abilities. Also, when you’re familiarizing yourself with a new programming language, solving puzzles for that language can help speed up the learning process. Here are the top 10 popular programming puzzle sites that will help test your thinking and improve your programming, problem solving, and logical thinking skills. 1. Programming Praxis is a blog that includes a range of interesting problems with solutions usually available in several different programming languages. 2. CodeKata is a blog of programming puzzles written by Dave Thomas, who’s most famous for the groundbreaking book, Pragmatic Programmer. 3. TopCoder is an active programming community of developers who love to solve puzzles. 4. 5. Facebook has a collection of very challenging programming puzzles that–should you manage to solve them–could result in you getting a job at Facebook! 6. 7. 8. 9. 10. 99 Prolog Problems * Bonus: Mind Cipher

Working with Dialog Controls in LibreOffice Calc using Macro – Part 1 This tutorial will cover on how to create a basic LibreOffice Dialog and adding various controls such as TextBox. Also it covers on how to read the control values using Calc Macros. Adding a Dialog To add a Dialog in LibreOffice Calc, select from menu: Tools -> Macros -> Organize Dialogs… Create Dialog from Menu Once above options is chosen, below LO Basic Macro Organizer would open. Create a New Dialog On the New Dialog pop-up , give a name to your dialog. New Dialog You can see the Dialog1 is come up under My Dialogs -> Standard -> Dialog1. Adding a TextBox Control On the same LO Basic Macro Organizer, click EDIT while Dialog1 is selected. Edit Dialog Entire Dialog editor would open inside LO Calc. The controls are placed at the bottom of the screen. The Dialog should look like this now. The Dialog To set the properties of each controls, click/select the control, then you can see the properties window opened on the bottom-left side of the editor. Dialog with Properties The Macro Run Video Related

GoAccess - Visual Web Log Analyzer Video Training - O'Reilly Media “WOWSER! Only way I can describe this video series.” — Jon Guenther “I loved this tutorial! After trying several, this one was the one that really got me going with Python.” — Roxam

DevTools Snippets Instructions: The snippets can be used in any browser console. Chrome provides a 'snippets' feature that can be used to manage the scripts, while Firefox has a 'scratchpad' feature that lets you run, edit, and save chunks of JavaScript. View the devtools-snippets project page. For more information about using them in your favorite browser, check out the README. Have a snippet you'd like to share with the world? allcolors.js # (view raw) Print out all colors from computed styles used in elements on the page. cachebuster.js # (view raw) Overwrite all link and (optionally) script tags by adding Date.now() at the end of href and src attributes, respectively. //Cache Buster(function (){ var rep = /.*\?. console-save.js # (view raw) A simple way to save objects as .json files from the console, includes a chrome extension along with a plain script. Usage console.save(data, [filename]) Data can be a string or just an object, objects are passed through json.stringify() before writing to file. Licence

JSbooks - free javascript books styleguide - Style guides for Google-originated open-source projects Every major open-source project has its own style guide: a set of conventions (sometimes arbitrary) about how to write code for that project. It is much easier to understand a large codebase when all the code in it is in a consistent style. “Style” covers a lot of ground, from “use camelCase for variable names” to “never use global variables” to “never use exceptions.” This project holds the style guidelines we use for Google code. Our C++ Style Guide, Objective-C Style Guide, Java Style Guide, Python Style Guide, Shell Style Guide, HTML/CSS Style Guide, JavaScript Style Guide, AngularJS Style Guide, Common Lisp Style Guide, and Vimscript Style Guide are now available. If your project requires that you create a new XML document format, our XML Document Format Style Guide may be helpful. These style guides are licensed under the CC-By 3.0 License, which encourages you to share these documents.

Code Maven from Crunchzilla <h2>Code Maven gets teens excited about programming. It is an interactive tutorial where anyone can experiment with learning to code. <p> Code Maven from Crunchzilla uses Javascript. Please enable Javascript if you want to play with Code Maven. Hi, I'm Code Maven! Getting Started Lesson 1 BACK How to Play | Lesson Sections | About | FAQ | Terms of Use | Privacy | Contact | © 2015 How to Play Code Maven teaches teens and adults a little about Javascript programming! It's easy to play. Click on the Reset button if you really mess up your code and want to start over on a lesson. Code Maven saves what lesson you are on, so feel free to stop at any time and come back later. Have fun! Frequently Asked Questions What is the c in things like c.save()? c is a variable Code Maven creates for you that contains the Canvas' 2D context. var c = document.getElementById('pane').getContext('2d'); How can I save my code and use it outside of Code Maven? Is there any other code that is hidden from me? Sure! About

Using jsFiddle with AngularJS | pkozlowski.opensource AngularJS is an awesome framework and its google group is very active. AngularJS community figured out quite early that it is so much easier to collaborate having a live code snippet. There are many code snippet sharing tools out there but the jsfiddle is great and is used very often by the AngularJS community. This post tries to dive into several usage scenarios of jsfiddle with AngularJS framework. The easiest way to have a working jsfiddle with AngularJS is to start from a template prepared by the AngularJS team: One remark: when using a stating point make sure to fork it instead of editing the original one. jsfiddle is simple to use but there are couple of settings that we need to get right. Choose Framework jsfiddle has built-in support for AngularJS which makes the whole process of creating a new jsFiddle rather straightforward. Manage Resources Info Next comes the info tab. Partials Routes and $location

About ShellCheck This page has been deprecated! Please see github.com/koalaman/shellcheck for updated information! ShellCheck is a static analysis and linting tool for sh/bash scripts. It's mainly focused on handling typical beginner and intermediate level syntax errors and pitfalls where the shell just gives a cryptic error message or strange behavior, but it also reports on a few more advanced issues where corner cases can cause delayed failures. Haskell source code is available on GitHub! Try ShellCheck online Go to ShellCheck.net to copy-paste a shell script and get immediate, automatic feedback. The online version is always synced against the latest git commit. Install ShellCheck locally ShellCheck is available through your package manager! Run ShellCheck in your editor If you install both shellcheck and either Syntastic for Vim or Flycheck for Emacs, you'll get feedback straight in your editor! Also supported by Sublime and Atom, and pretty much any IDE thanks to gcc compatible error messages. find . #! #!

The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!) by Joel Spolsky Wednesday, October 08, 2003 Ever wonder about that mysterious Content-Type tag? You know, the one you're supposed to put in HTML and you never quite know what it should be? Did you ever get an email from your friends in Bulgaria with the subject line "???? ?????? I've been dismayed to discover just how many software developers aren't really completely up to speed on the mysterious world of character sets, encodings, Unicode, all that stuff. But it won't. So I have an announcement to make: if you are a programmer working in 2003 and you don't know the basics of characters, character sets, encodings, and Unicode, and I catch you, I'm going to punish you by making you peel onions for 6 months in a submarine. And one more thing: In this article I'll fill you in on exactly what every working programmer should know. A Historical Perspective The easiest way to understand this stuff is to go chronologically. And all was good, assuming you were an English speaker. Unicode Hello Encodings

Software design pattern In software engineering, a software design pattern is a general, reusable solution to a commonly occurring problem within a given context in software design. It is not a finished design that can be transformed directly into source or machine code. It is a description or template for how to solve a problem that can be used in many different situations. Design patterns are formalized best practices that the programmer can use to solve common problems when designing an application or system. Design patterns may be viewed as a structured approach to computer programming intermediate between the levels of a programming paradigm and a concrete algorithm. History[edit] Although design patterns have been applied practically for a long time, formalization of the concept of design patterns languished for several years.[3] Practice[edit] By definition, a pattern must be programmed anew into each application that uses it. Software design techniques are difficult to apply to a broader range of problems.

Related: