background preloader

SourceLair

SourceLair

sourcelair.com • Blog Django 1.11 has just been released and is immediately available on SourceLair. Starting today, when you create a new Django project in SourceLair, it will be created using Django 1.11. We would also like to take a moment and highlight the major new features that come with the latest version of Django. Class-based model indexes The new django.db.models.indexes module contains classes which ease creating B-Tree database indexes and defining the order (ASC/DESC) for the columns of the index. On top of that, Django 1.11 ships also the new django.contrib.postgres.indexes, which provides Postgres specific database indexes. Template widgets in Django are now rendered using HTML templates, instead of pure Python. Take a look at the new form rendering API to learn more about how template-based widgets work. Subquery expressions Django now supports what is called Subquery expressions. 📣 Public Service Announcement: This is the last Django version to support Python 2.

How To Make A Website: The Complete Guide Last week we taught you how to make a web site from start to finish, including finding a reliable web host to host your site. Here’s the complete guide so you have access to all the lessons in one convenient location. How to Make a Web Site Part I: Understanding and Writing HTML The first thing you need to learn when making a web site is basic HTML, and that’s what this lesson will teach you. How to Make a Web Site Part II: Styling and CSS Once you’ve got basic HTML down, it’s time to learn styling and CSS so you can make your HTML look the way you want it. How to Make a Web Site Part III: A Site from Start to Finish Now that you’ve got basic HTML and CSS down, we’ll take you through the process of creating a site from start to finish. Lifehacker Night School Part IV: Choosing a Host and Launching Your Site Now that you know how to make a site, you need to get it online so everyone can see it. How to Make a Web Site Part V: Additional Resources

ACE - The High Performance Code Editor for the Web FAME Computer Education: TCP/IP for Idiots Tutorial InterWorks '96 San Diego, CA Presented by: Fred Mallett FAME Computer Education 334 Haroldson Dr Corpus Christi, TX 78412 512-991-3044 frederm@aol.com Overview Introduction to TCP/IP What is TCP/IP? Two separate protocols, independent of each other Transmission Control Protocol, defines the protocol for one host (host application) to talk to another. Internet Protocol, defines the protocol that gateways use to identify networks, and paths to networks and hosts. User Datagram Protocol, Treats data as a message, and sends packets. Network Model ISO/OSI Network Model Open Systems Interconnection Reference Model First proposed by the: International Standards Organization The model is a theoretical model and most network implementations do not follow it exactly, TCP/IP really has less "layers" TCP Communications Communication requirements For a message to be "sent" (no guarantee that it gets there), the following three steps must be accomplished: TCP/IP Terms Host Ethernet address Host Names Host Names Routing

Welcome to Koding. A new way for developers to get work done. Information for newcomers This thread is here to answer some of the most common questions and to provide links to resources you may find helpful. First of all, bot development is not simple. If you use something that does most of the work for you, like CleanSlateBot (CSB), it can be made fairly easy, but this intro assumes you are doing it the proper way. Bot development can be a good starting project - and has been for many - but only if you're pretty determined. With that in mind, pick the from the following headings the one that seems most appropriate for you, and read on. I am a new programmer with little or no networking experience: Firstly: You will probably find this hard. You need to learn about TCP/IP and networking. You need to learn how to use these concepts in your language of choice (VB, C++, Java) You will need to learn about binary, hexadecimal, and endian-ness. You will need to learn how to copy chunks of data in your chosen language (For example, CopyMemory in VB, memcpy or pointers in C++)

Make your Skype Bot in .NET Download source code - 1.05 MB Introduction The motive of this article is to explain: How to make Skype work with .NET. When you type a command ! Some months earlier, I wrote a Skype plug-in for Cropper (an Open Source screen capture tool) called SendToSkype based on the same concept. Prerequisites Skype. What is the Skype4COM COM wrapper? Skype4COM is an interface which represents the Skype API as objects, with properties, commands, and events and notifications. When you develop an app from scratch... Download Skype4COM.dll. Sample code Below is the code of the sample application attached. Remember! When you try to run this application, make sure Skype is also running. So do not get nervous. Source code explanation Declaration Once you have referenced Skype4COM.dll, you will be able to use SKYPE4COMLib which is our core Skype communication component. using SKYPE4COMLib; private const string trigger = "!" An example of a chat looks like this: >>Blah >>! Create a Skype object and attach to Skype History

Heck Yes Markdown

Related: