Know Enough to be Dangerous: Tools for taking control of HTML and CSS

Blogs have been hyped as "push-button publishing"; indeed, it is fairly simple for an educator, librarian, administrator or the like to set up his or her own blog with almost no knowledge of HTML, CSS, or JavaScript. But for those who do so, this lack of knowledge can quickly become limiting and frustrating when they want to customize their blog.

How to create a simple ATM Machine in C programming

Whether you are looking for an ATM Machine code in C++ or in C programming, the concept is the same. Under this walkthrough, we are going to see how to create a simple ATM Machine in C programming language. C programming is perfect for beginners and hence our choice to create an ATM Machine program . I had initially created an ATM machine using java programming language , applying the same concept used here. It's essential for you to have some simple basics of C programming before proceeding.

Design Patterns for Limited Memory

When composing designs for devices with a limited amount of memory, the most important principle is not to waste memory, as pointed out by Noble and Weir (2001). This means that the design should be based on the most adequate data structure, which offers the right operations. For instance, one should not use a two-directionally linked list if one direction would be enough. In addition to this basic principle, a number of other considerations are related to memory management, where the objective...

Zoom and rotate effects for appearing text placed over an image using only CSS3

Animation demonstrated in this article uses only CSS3. It consists of one simple semi-transparent layer placed over the image and appearing text with zoom and rotate effects. The current CSS styles can be used to improve some parts of website design such as thumbnails for galleries or articles. The HTML structure has never been easier than the current one.

How to create responsive image lightbox using only CSS3 transitions with 15 animation effects

This article considers a simple image lightbox with a minimal amount of code to demonstrate the simplest way on how to build it using only CSS3 transitions. It comes with 15 animation effects with a demo example for each one. It has a responsive design and works completely without JavaScript. Nowadays, almost all image lightboxes are developed with the use of JavaScript as a main core for animation and its operation in general. It means that without JavaScript, it doesn't work at all.

Tutorial:Direct download/ Bypass proxy for YouTube Videos

In this tutorial I will show how to download videos from YouTube without using any third party software. Then I will show you how to download a video even if your proxy blocks the YouTube site

Optimization by make.conf in FreeBSD

Nowadays all desktop OS and majority of server OS are using a compiled software. This software is built on old instruction set of CPU which is supported by every modern CPU. A bad thing is that the old instruction set doesn't use the advantages of new CPUs and works slowly. Compiled software is perfect for the desktop systems where majority of users are not advanced users. And they don't have a deep knowledge in computer. Compiled software has two distinct advantages.

MobyExplorer: Mobile FTP Client for Java J2ME Mobiles with Remote Text Files Editor

MobyExplorer is a File Manager and FTP/Secure FTP (SFTP) Client that allows uploading, downloading, viewing and remotely editing files on an FTP server from any Java J2ME enabled mobile device such as Nokia, Sony Ericsson and Motorola. It supports military grade file encryption, a built in text editor integrates with the encryption engine, and GZip file compression to save bandwidth. The Text Editor can also be used to edit files or web pages remotely on a FTP server from the mobile phone.

N-Gage Arena End-to-End Solution

N-Gage Arena is an end-to-end solution for online multiplayer and community services for N-Gage games running on a range of S60 smart-phones. Chapter 8 discusses the N-Gage platform in more detail, but N-Gage Arena is described here because it forms a natural part of the multiplayer gameplay chapter. N-Gage Arena was originally part of Sega.com's SEGA Network Application Package for mobile multiplayer gaming.

FAT and VFAT File Systems

When Microsoft developed the first operating system to run on IBM hardware, it needed to invent a file system for the computer's hard drives. In 1977, the FAT file system debuted on IBM PCs using the Microsoft Disk Basic system. This first file system - called the FAT file system for its use of a file-allocation table - is still in use, in more evolved forms, in modern versions of Microsoft Windows.

Blogs, Wikis, and IM: Communication Tools for Subject Specialists

Many academic libraries employ the use of subject specialists that serve as “library subject experts” in a particular field or discipline. These subject specialists, also called subject bibliographers or subject liaisons, often work very closely with the students and faculty of the academic community they serve.

Http proxy with Spray

Spray framework has been thoroughly discussed, but I was only able to find surprisingly little about its capabilities to proxy a http request. When using a proxy, the client only communicates with the proxy server and does not have access to the actual recipient of the request directly. This pattern can be used in many circumstances, for example when we want to verify the request, perform some action or add some information to the original request before sending it further.

Hiisi Bluetooth Proxy for Mobiles: Route HTTP Internet Traffic from S60/UIQ/JAR Apps/Midlets via BT to Computer LAN

One feature where Windows Mobile rules over any other mobile platform is the availability of the desktop passthrough internet sharing feature wherein you can browse internet on your mobile device using your desktop computer’s internet connection. Now an application called Hiisi Proxy that provides similiar functionality via Bluetooth is available for Nokia S60, Sony Ericsson UIQ, Motorola and other Java J2ME Midp 2.0 compatible devices.

PixelCryptor: Encrypt Files & Folders With Pictures & Images on Windows Xp/Vista

Encryption is a method of transforming plaintext information readable by anyone using an algorithm (called cipher) to make it unreadable to anyone except those have the key to it such as a password. While passwords are the common means of encrypting data, they are quite often difficult to remember.

Tunnel Effect for Your Demo

This post presents a tunnel effect. This is a classic in 3D demo. They are visually efficient and easy to code. In fact, tunnels are so trendy that even doctor who and stargate have fun in them ) A Texture isn't a spoonFirst we want to move the appearance of the cylinder, thus the player got the illusion to go forward. We will use THREE.Texture for that. We wont move the actual pixels of the textures, only its coordinates.

Microservice Architectures: A Framework for Implementation and Deployment

Here we present a flexible and generic framework within which distributed applications, built upon a microservice architecture, may be implemented and deployed. We achieve this by deploying dockerised microservices to a cluster of CoreOS machines (complete with etcd for service discovery and fleet for controlling services and specifying affinity rules). Microservices are implemented using Akka actors that support clustering, Cassandra persistence and data sharding.

ReactiveMongo, Play & AngularJS

This application shows how to build a modern' web application, comprising a Client-side JavaScript app built using AngularJS written in CoffeeScript, served from the Play 2 Framework and using document persistence with Reactive Mongo a non-blocking Scala client for MongoDB. Sounds like a cool stack, well I think so. In this tutorial I'm going to cover how to structure an AngularJS app, expose a REST API in Play and read write JSON documents in MongoDB.

Debugging Scala Macros

println is the golden hammer of debugging, but when it comes to debugging your Scala Macros, I find it useful to be able to set a breakpoint at the point of the macro expansion. In this post, I'll show you how to construct a simple macro and how to debug it in IntelliJ IDEA. ScreencastMacros from Cake Solutions Ltd. on Vimeo. If you are terribly impatient, head over download & build.

Free Fake SMS Text Message Sender for Nokia S60 3rd Edition without GSM Network

Y-Fake Messages is a freeware application for Nokia S60 3rd Edition mobile devices that allows you to send fake SMS text messages at a specified time. The software does not require a connection to your mobile operator’s GSM network, therefore making the service free of cost.

Testing ActiveX Controls using Quick Test Professional

Lications include ActiveX controls developed with third-party vendors. You can use the QuickTest Professional ActiveX Add-in to test ActiveX controls. You can create and run software tests and components on these controls, as well as check their properties. QuickTest Professional supports Software Testing on ActiveX controls in any application. In QuickTest Professional ActiveX Add-in is considered a Windows-Based add-in.

Replay Tips For Citrix Protocol In Load Runner

Today, I'm going add one more tutorial in the LoadRunner section. Below are some useful tips to replay a LoadRunner script for citrix protocol while doing performance testing Set initialization quota To prevent overloading by multiple Vusers in LoadRunner while connecting, set an initialization quota of 4 to 10 Vusers (depending on the capacity of the server) or apply ramp up initialization using the Scheduler.

How to build a distributed counter

An introduction to CRDTsA counter how simple is that Surely, it's a value that is incremented by a given number and it yields a new value. Simple until multiple users try to increment the counter simultaneously. How can we handle counting in a distributed manner Easy Use synchronisation to ensure that the counter is updated once at a time. That works, but we're enforcing sequencing of the operations and we lose parallelisation.

How to create flashing/glowing button using animation in CSS3

This article shows how to create a button with flashing glowing effect using animation in CSS3 without JavaScript. The styles below are applied to elements with class button . These styles can be mainly applied for links and buttons in HTML. Here is HTML code of a link and button Click me Click me The following portion of CSS styles forms the appearance of the button .

Silent Test Runner

Silent Test Runner enables you to simulate the way a QuickTest test runs from LoadRunner and Business Availability Center. When you run a test using Silent Test Runner , it runs without opening the QuickTest user interface, and the test runs at the same speed as when it is run from LoadRunner or Business Availability Center At the end of the test run, you can view information about the test run and transaction times.

ISTQB Sample Question Paper -

Deliverables of test design phase include all the following except a) Test datab) Test data planc) Test summary reportd) Test procedure planQ2. Which of the following is not decided in the test-planning phase a) Schedules and deliverablesb) Hardware and softwarec) Entry and exit criteriad) Types of test casesQ3. Typical defects that are easier to find in reviews than in dynamic testing are A. deviations from standards,B.requirement defects,C.design defects,D.

Working With The Java Add-In In QTP

When learning objects and running steps on Java applications in QTP, consider the following After installing the Java Add-in, Java applets and applications will always open with Java support active. You can confirm that your Java environment has opened properly by checking the Java console for a message similar to the following confirmation message Loading QTP Java Support (version x.x.x.x) ( version x.x.x.x). (where is IE, IBM, or SUN).

How to display inline elements as block elements and visa-versa

If we are not satisfied with the way a browser treats HTML elements by default we can change it. SolutionIn the picture below we force div element to display in many page elements, whereas the link is displayed as a block element. The block-level element is displayed as inline, and inline is displayed as block This effect was achieved with the following markup code.

How to Track Local Keyword Ranking? Here's the Answer!

To better understand the efficiency of your SEO strategy, it is wise to check the positions of your keywords in SERP. While you check the rankings in Google, you can monitor how the keyword position is developing over time. But how do you do this without wasting too much time on it A professionally designed rank tracker tool is the answer. There are many rank tracking tool options out there.

CRUD options

Here's a blog post exploring the different CRUD approaches in your Scala code. I will show you three different approaches, highlighting the advantages and disadvantages of each. The main motivation were our experiments with Casbah-free Scala 2.10 project. Approach 1The first approach is to define Crud T for some type T and require the MongoSerializer and IdentityQueryBuilder for that T to be mixed in.

Spring Framework and the Cake pattern

Even though the Spring Framework is (amongst many other things) a dependency injection container, there is still some scope to use the Scala Cake pattern in your Spring code. I am going to talk about the details and the background tomorrow in my Spring in Scala talk tomorrow at Skills Matter but here are the most important details and motivation. In a Spring application, we let the framework manage components that expose some API.

ISEB Foundation Certificate in Software Testing Practice Exam -

Software testing activities should start a. as soon as the code is writtenb. during the design stagec. when the requirements have been formally documentedd. as soon as possible in the development life cycleQ2. Faults found by users are due to a. Poor quality softwareb. Poor software and poor testingc. bad luckd. insufficient time for testingQ3. What is the main reason for testing software before releasing it a. to show that system will work after releaseb.

How to add icon or Logo image in the title bar of browser. Revision

How to add your brand logo in the title bar of the browser . Today we are going to learn an interesting topic on HTML, how to add icon on the title bar of the browser. You might have come across many websites like Facebook, Google and many others having their logo in the title bar as shown in the image below add icon on the title bar of the browser How to add icon on the title bar of the browserAdding icon or logo of your brand in the title bar of the browser, you will need to follow these...

Pairwise Testing

Pairwise testing is an that is based on the observation that most faults are caused by interactions of at most two factors. Pairwise-generated test suites cover all combinations of two therefore are much smaller than exhaustive ones yet still very effective in finding defects.effective test case generation techniqueAll-pairs testing or pairwise testing is a combinatorial software testing method that, for each pair of input parameters to a system (typically, a software algorithm) tests all...

Software Testing Interview Questions -

Operation of a system or application under controlled conditions and evaluating the results. The controlled conditions must include both normal and abnormal conditions. It is oriented to detection.Q2. What is Software Quality Assurance Ans. Software QA involves the monitoring and improving the entire software development process, making sure that any agreed-upon standards and procedures are followed. It is oriented to prevention.Q 3.

How To Update Ndrive

Updates Change Features Buy Maps Buy Accessories NDrive application is continuously suffering software updates and evolutions that may be presented without any cost to the end user. These updates normally improve several application behaviours, add new features or simply add compatibility with new devices. Always use the NDrive Agent application available for free at www.ndrive.com to be sure that you have the latest NDrive software version. If you have an old version and a new one is...

Table of Contents

Few details on the operative 1.1.1 Phone Drives structure 6 1.1.2 The Developing Process and the applications 2. Instrument your Reversing 2.1. How to install applications on the phone, PC Suite and Nokia 6600 2.2. Unpacking a SIS 2.2.1 Existing tools to handle SIS 2.2.1.1 Tools to handle SIS 2.2.2 SIS File 2.2.3 A Note on SISX 2.4. Useful Tools working on the phone 14 2.5.1 For those completely unaware of what IDA is 15 2.5.2 Improving the IDA Analysis adding...

Ruby code coverage using RSpec, Simple Cov and Jenkins

Topics Jenkins, ruby, test Recently, whilst working on a Ruby project, I had a need to introduce Test Driven Development (TDD). Given there's a large ecosystem of testing tools available, I investigate two such tools here rspec (a testing tool for Ruby) and SimpleCov (a code coverage analysis tool for Ruby that works well with rspec ). Below, I will show briefly how to fit both of these tools together in Jenkins.

Monad transformers

Let's expand our random Person generator to include keep track of the count of people generated and to write out some values during the generating process. For motivation, let's say we want to see not just the list of Person s, but also keep track of some tracing messages, and to see some sequence number while we are generating.

OBEX Server API

The OBEX server API in Symbian OS is defined by the classes CObex-Server and MObexServerNotify. An object of class CObexServer must be instantiated by the OBEX server application, and the MObex-ServerNotify interface class must be inherited from and implemented by the OBEX server application. The class that implements MObexServerNotify is very important as it responds to incoming events from remote OBEX clients, and so defines the behaviour of the OBEX service. An OBEX server application...

Tutorial: Bypass Symbian Signed

Here is some breaking news for Nokia S60 mobile users. The very much frustrating Symbian Signed security platform v9.2 has been exposed to hacks. No longer do you need to use tools such as SignSIS & DevCertRequestControl to get a certificate for installing applications. Users can now bypass the Symbian Signed certification check and install any unsigned or self-signed applications or software.

How to draw stars using only CSS

The current article is more for demonstration purposes. It shows how to draw six-pointed and five-pointed stars using only CSS. All stars demonstrated in this article consist of simple elements - triangles. These triangles overlay each other and have the same colors which make them look like a single star. Styles of each star shown here below are always applied to one div element. Six-pointed starThis star consists of two triangles.

How to add MPesa button into your website, Without API

For some reasons the folks at Safaricom have never thought of sharing their MPESA API with web developers. A public MPESA Api could open the door to all sorts of innovative home-made online payment solutions. Just as MPESA has made banks and ATMs irelevant, Credit cards & Paypal would fade away if a Pay By Mpesa' option was available at an E-Commerce site. M Pesa has a fabulous automated Pay Bill system. Unfortunately, requirements for their option cannot be met by small fish like me and you.

Android press back again to exit application

In this tutorial we are going to learn how to implement pressing back again to exit application. Am sure this is not the first time you are coming across this concept. Many apps tend to use this behavior to handle stuff in case user presses back button accidentally. I haven't seen this concept annoying. Anyway let's jump into the main business of the day. You may also like Endless Scrolling RecyclerView How to change language in android programatically Some tutorial here 1.

Automatic Phone Number Verification Like Whatsapp or Telegram in Android

Generally you might have found apps that verify numbers automatically on receiving verification sms without user having to insert verification code. This tutorial will teach you on automatic phone number Verification like whatsapp, telegram e.t.c. I will be using sms gateway from Africas Talking Api. You can register for a free account here https www.africastalking.com .

How to create android settings screen using Preference Fragment

Giving people the power to change your application's preferences, is not only professional but also neat and makes your application flexible. Today we are going to learn how to create a simple android settings screen using PreferenceFragment. Creating android settings screen is way too simple as most of the code is provided for by Android itself. Understanding Android Settings ScreenThe Android settings screen is a platform that gives users an opportunity to set app preferences with an ease.

CSS3: semi-transparent background color using RGBA

Currently 0 out of 5 Stars. 1 2 3 4 5 Rating 0 5 (0 votes cast) Thank you for rating You have already rated this page, you can only rate it once Your rating has been changed, thanks for rating Log in or create a user account to rate this page. Dec 2th 2013 01 25 am 5431901 02449 One day may need to make a semi-transparent background color for a specific block. But how to do this correctly using recent features in CSS3 TaskCreate a cross browser semi-transparent background color.

How to create animated drop-down menu using only CSS3

This animated drop-down menu is an improved version of the old drop-down menu. It has almost the same HTML structure and basic CSS styles as the old one. HTML structureThe current menu consists of one simple div element (with specific id attribute top-menu ) and bulleted multi-level lists inside of this element. CSS stylesFor the current menu, CSS styles are divided into three logic groups Basic CSS styles . They are called the engine of the animated drop-down menu.

Procedural Generated Pool Balls for Your Three.js Pool Game With threex.poolball

This is post is part of the one threex a day' challenge. This challenge is to publish every day one game extension for three.js One per day, every day and that for 2month In this post, we gonna talk about threex.poolball. threex.poolball is a three.js games extension which helps you build pool balls. It provides dynamically generated models of pool balls, so no model download needed. It may be fun to play with when you start with three.

Simple and Easy to Use Crates Models to Get Your Game Started With THREEx.Crates Game Extension for THREE.js

This is post is part of the one threex a day' challenge. This challenge is to publish every day one game extension for three.js One per day, every day and that for 2month In this post, we gonna talk about threex.crates. threex.crates is a threex game extension for three.js. It provides crates models, 3 of them to be accurate. Yeah you heard me, this is only boxes of wood. Why doing an extension for that Well, because crates are like a myth in 3d graphics, we put them everywhere.

Beautiful Dynamic Laser Beams for Your Space Game With threex.laser Game Extension for Three.js

This is post is part of the one threex a day' challenge. This challenge is to publish every day one game extension for three.js One per day, every day and that for 2month In this post, we gonna talk about threex.laser. threex.laser is a threex game extension for three.js. It provides a laser beam effect. Excellent to add in your space game The laser itself is fully procedural with generated texture. The bleeding effect is obtained with additive blending. threex.

Easy Way to Include Transparency in Your Three.js Game With threex.transparency

This is post is part of the one threex a day' challenge. This challenge is to publish every day one game extension for three.js One per day, every day and that for 2month In this post, we gonna talk about threex.transparency. threex.transparency is a three.js games extension to easily handle transparency. Transparency is a tricky business in Webgl, but this extension makes it approachable. It is worth trying.

Simple and Efficient 3 Point Lighting to Get Your Game Started With Threex.basiclighting Game Extension for Three.js

This is post is part of the one threex a day' challenge. This challenge is to publish every day one game extension for three.js One per day, every day and that for 2month In this post, we gonna talk about threex.basiclighting. threex.basiclighting is a threex game extension for three.js. It provides a three point lighting. It is the lighting used in movies A key light on the front-left, a back light in the back and a fill light on the front right, nothing fancy.

Particles: Online Editor for Sparks.js

This post is the second of our serie on particles. It presents sparkseditor , an online editor for sparks.js with three.js. In a few word, it is a webpage which provide an text editor with a sparks.js effect. You got the code in the editor and you see live the resulting particles effect. I like this live aspect a lot ) I think it makes your design more direct, lower latency, less overhead. More creative in a way. Try it out.

How to Make the Earth in WebGL?

So today we gonna learn how to display the earth in webgl. That will be a nice introduction to material and textures. I got the idea while coding threex.planets, a three.js extension to easily display all the planets from the solar system based on planetpixelemporium. With this post, you will be able to feel like astronauts conquering the outer space for the day and creating your own galaxy. ) So we want to render the earth with three.js It is surprisingly easy to code.

Live Cube Maps Reflections in Your Three.js Game With threex.cubecamera

This is post is part of the one threex a day' challenge. This challenge is to publish every day one game extension for three.js One per day, every day and that for 2month In this post, we gonna talk about threex.cubecamera. threex.cubecamera is a three.js games extension which provides a helper for cube cameras. It is very useful when a given object must reflect a texture cube live.

Have You Seen Your Self When You Are Drunk ? - Making of a Fun WebGL Demo

This post is about a demo called Have you seen yourself When you are Drunk . What is it all about Well have you seen yourself when you are drunk You don't look at your best, but you don't remember the morning after, lucky you. So now you are sober, this demo will show you how you look when you are drunk Hopefully this will make you realize that alcohol abuse is a bad thing And that we could save the world by stopping it Or it will just show some cool webgl effects Honnestly i wasnt that sure of...

Lets Make a 3D Game: microphysics.js, Even Easier

This post is part of the Lets make a 3D game series. It is a follow up from the previous article on microphysics.js. It will describe how to easily include microphysics.js in your three.js games. THREEx.microphysics.js is a THREEx wrapper for microphysics.js. It helps binding three.js objects to microphysics.js. The API is chained for convenience. Let's get startedSo lets see how to use it. First step, you download it here. Then include it in your own code with this line.

How to Do a Procedural City in 100 Lines

This post explains how to code city , a demo recently released by mrdoob. He built a fully procedural city in 100-lines of javascript. I found the algorithm very elegant, a simple and efficient solution. So I made a post explaining it. A Few Remarks on the AlgorithmIt always helps to get a big picture before going down to the details. The used algorithm is fully procedural. This means the whole city is built dynamically, so no download. It is quite elegant as well.

Realistic Physics for Your 3D Game With THREEx.Oimo Game Extension for three.js

This is post is part of the one threex a day' challenge. This challenge is to publish every day one game extension for three.js One per day, every day and that for 2month In this post, we gonna talk about threex.oimo. threex.oimo is a threex game extension for three.js. It provides a realistic physics easy to include in your own games.

Screenshot in Javascript

Sometime it would be cool if you could take a screenshot of your demo to share with your friends. This post will explain how to do that single a single line. is provided at the end if you want to add printscreen key in your demos without hasles. Let's get startedSo as usual you got a renderer variable to render your 3D scene. This renderer contains a domElement property. It is a DOM element on which it renders, who would have guessed We will use the .

Easy to Use Dynamic Texture to Write Text in Your 3d Object With threex.dynamictexture Game Extensions for three.js

This is post is part of the one threex a day' challenge. This challenge is to publish every day one game extension for three.js One per day, every day and that for 2month In this post, we gonna talk about threex.dynamictexture. threex.dynamictexture is a threex game extension for three.js. It provides an easy way to handle dynamically generated texture. Inspiration came from the excelent babylon.js which got BABYLON.DynamicTexture. It is mainly used to write text in texture.

One THREEx a Day Gets Your Game on Its Way! A Challenge!

Hello everybody I'm working on a new project that I want to share with you. But first, let me start by telling you what inspired me to do it. Last week, I read an interesting article written by John Resig called Write code everyday. He explains how he succeed in efficiently accomplishing his side projects. This article opened my eyes. It was like a revelation, a procedure that I just had to apply to my own work.

Personalized and Polished Text for Your Three.js Game With threex.text

This is post is part of the one threex a day' challenge. This challenge is to publish every day one game extension for three.js One per day, every day and that for 2month In this post, we gonna talk about threex.text. threex.text is a threex game extension for three.js which makes it easy to add 3d text in your game. You can use it to create a big logo on top of a shop or a big sign of any kind Las Vegas style. Up to you to see ) It is very flexible.

Augmented Reality in the Browser

This post is about augmented reality in the browser. In a recent post, we saw that it is now possible to have live video in webgl with WebRTC. Due to this, augmented reality is under the spotlight. Recently html5rock published a tutorial by ilmari heikkinen about writting augmented reality application using jsartoolkit . Ilmari is google devrel for webgl and the author of JSARToolKit too. So we are in good hands ) The tutorial even include a part about binding it with three.js.

Crazy Post Processing Color Effects to Change Your Game Ambiance With Threex.coloradjust Game Extension for Three.js

This is post is part of the one threex a day' challenge. This challenge is to publish every day one game extension for three.js One per day, every day and that for 2month In this post, we gonna talk about threex.coloradjust. threex.coloradjust is a threex game extension for three.js. It provides a color adjustement in post processing. It happens on the whole screen and changes every colors giving a whole new ambiance to your games. It includes smooth transitions between each ambiance.

How to set margins and paddings in CSS

How can you tell the difference between margin and padding and when one should use them. SolutionThe property margin adds space to the outside of an element. This margin can be set independently from one another. margin-top 10px margin-right 20px margin-bottom 25px margin-left 15px The same thing can be written in a shorter form margin 10px 20px 25px 15px If the margins have equal values, use the following rule margin 5px As a result of using this rule, margin of the element from all sides is...

Youtube new monetization policy 4000 watch hours and 1000 subscribers within a period of 12 months

Youtube is now getting tougher for publishers and more so for the new youtube channels. It's the other day youtube upgraded their monetization icons for existing creators where some videos are held for review due content being identified as not suitable for all advertisers. On 17th of January, 2018, YouTube caused a great blow and shock to the new youtube channels where new creators have to forget about 10, 000 lifetime views and get used to the new policy.

Spray Client and the new Akka 2.2.0 IO

It just so happens that the released Akka 2.2 (http akka.io). Akka 2.2 includes, amongst others, the new IO. In this post, I will show how to use the 1.2 version of Spray Client with the new Akka IO. I am going to build a simple repository crawler, including tests. You will see just how simple & powerful it is to use the new Akka IO and how nicely Spray integrates into it. Alongside Scala 2.10.2, we will be using the following libraries in our example com.typesafe.akka akka-actor 2.2.

Event sourced microservices

Learn how to create event sourced microservices from scratch using Slick, Play and types. IntroductionEvent sourcing aims to capture all changes to the state of a microservice as a sequence of events . The persistence mechanism used to store these events is referred to as an event journal . This is usually a NoSQL or SQL database, but it could also be a bespoke solution. A microservice's state can then be recreated by replaying the sequence of events read from an event journal.

Genetic programming in Scala

This blog post looks at how to generate polynomial expressions automatically from a given set of expected outputs using genetic programming (a form of supervised machine learning). IntroductionI hope that one day software engineers will obsolete ourselves. That is, we will write an application (or a set of applications) capable of writing all other applications for us. Genetic programming (GP) is about just that creating programs that solve problems based on expected outputs for given inputs.

Copying sealed trait instances: a journey through generic programming and shapeless

IntroductionThis article aims at presenting an example of how the Shapeless library can be used to solve a problem in a generic manner, meaning solving the same problem for any data-type, using the exact same code . I will start by presenting the problem and the solution, and will explain the mechanisms used by that solution, in the hope that it will demystify some of the magic behind Shapeless, that seem to scare some developers away.

Chaos Experiment: Split Braining Akka Clusters

As part of a series of blog posts on Chaos engineering, this blog post introduces the open source library docker-compose-toolkit. Here, we use this library to define a Chaos experiment (using extensible effects) that illustrates the impact that auto-downing can have when an Akka cluster is subjected to network partitioning. The previous post Can Real World Distributed Systems be Proven Correct motivates and explains the need for performing fault injection on distributed applications.

Solving problems in a generic way using Shapeless

Ever wondered how you could process Scala's case classes and sealed traits in a generic way without relying on runtime reflection Traditionally, generic programs have been written with the help of reflection APIs. However, since reflection is usually done in runtime, it sacrifices type-safety, and introduces unnecessary lookups.

Error handling pitfalls in Scala

There are multiple strategies for error handling in Scala. Errors can be represented as exceptions, which is a common way of dealing with errors in languages such as Java. However, exceptions are invisible to the type system, which can make them challenging to deal with. It's easy to leave out the necessary error handling, which can result in unfortunate runtime errors. In Scala, it is usually recommended to represent errors as part of the return type.

Ways to pattern match generic types in Scala

Occasionally in Scala, there becomes a need to pattern match on values where the type information is lost. If you know the specific type of the value you want to extract, it's easy to come up with a solution def extractString(a Any) Option String a match case s String Some(s) case _ None However, when the value you want to extract contains a type parameter or is a generic type itself, the solution is not so straightforward anymore.

Jasper Reports and Scala

JasperReportsGenerating report from a database using JasperReports is relatively easy. All you have to do is to provide a JRDataSource or Connection that can fill the report (details) with the data. Things get more interesting when you want to produce a report that uses a collection of your objects. In standard JasperReports, you can use the JRBeanCollectionDataSouce or JRBeanArrayDataSource that map collection or array of Java Bean-style objects to rows and columns in JasperReports.

The GameMiDlet Class

Import javax.microedition.midlet.MIDlet import javax.microedition.lcdui. import java.io. public class GameMIDlet extends MIDlet private Display display private ChoiceForm choiceForm private CaptureCanvas captureCanvas private PuzzleCanvas puzzleCanvas private Capturer capturer private RMSHandler rms Displayable current display.getCurrent try rms.openRecordStore catch ApplicationException ae showAlert ae if current null first call displayChoiceForm else called after a pause display.setCurrent...

Interactive Graphics

Python Interactive Opengl

In Example 33, we learn how to move a single black point, leaving traces, on a white background someone might call this a pen , as shown in Figure 5.6. This example combines earlier lessons learnt, namely drawing graphics primitives and handling keyboard events. Figure 5.6 Moving dot with its trace Figure 5.6 Moving dot with its trace import appuifw, graphics, e32, key_codes BLACK 0, 0, 0 WHITE 255, 255, 255 key_down None clicked None global clicked, key_down if event 'type' appuifw.EEventKey...

UI Framework Layer

The topmost layer of Symbian OS, the UI Framework layer provides the frameworks and libraries for constructing a user interface, including the basic class hierarchies for user interface controls and other frameworks and utilities used by user interface components. The UI Framework layer also includes a number of specialist, graphics-based frameworks which are used by the user interface but which are also available to applications, including the Animation framework, the Front End Processor FEP...

How to resize images proportionally using CSS for responsive web design

One of the important parts of a responsive web design is resizing the image automatically to fit the width of its container. Actually it's very easy, all you need to do is to set the appropriate value for max-width CSS property. img max-width 100 The styles above don't allow any img element to become wider than its container element. If the container is narrower than the image, the image will be resized to the container width.

Simplest way to Request Multiple Permissions in Android Applications

All Android applications running android 6.0 and above requires that permissions be requested during application's runtime. Today we are going to see one of the simplest methods to request android runtime permissions using Easy Permissions Library. This walkthrough will be simple than you would actually imagine.

Cocoa Foundation Framework and Qt Compared

The general-purpose data structures and access to some basic I O are encompassed by the Foundation framework in Cocoa Touch. In Qt the equivalents are mostly, but not exclusively, found in the QtCore library. Below, we take a quick look at these classes to see what you can map your Cocoa Foundation class into. It is not intended to be an exhaustive description of the classes. For details, please consult the Qt reference.18 17 See Section 6.4 and Chapters 10, 11 and 12 for more information. The...

Object Repository Types In QTP

Test objects can be stored in two types of object repositories a shared object repository and a local object repository . A shared object repository stores test objects in a file that can be accessed by multiple components (via their application areas) in read-only mode. A local object repository stores objects in a file that is associated with one specific component, so that only that component can access the stored objects.

How to create a styled drop-down list using CSS3

The major problem of ordinary drop-down lists (select tags) in HTML is their inability to be styled with CSS styles. This article demonstrates a drop-down list which is made of HTML elements such as label , div and input which, in turn, can be easily styled with CSS. Let's begin with HTML structure. The drop-down list is div element with class drop-down-list which consists of sets of elements input and label .

Animated Falling Snow Using Keyframes in CSS3 without Java Script

Winter has already come It's time to decorate websites with wintry patterns The shortest way to do it is by using keyframe animation in CSS3 without JavaScript. This article demonstrates animated falling snow with 3 different types of snowflakes falling in 3 different directions. Simplicity is the key to understanding complicated things.

Changing shape of a block to look like diamond, ribbon or right and left arrows using only CSS

Sometimes a web page needs some special elements such as arrows or ribbons, and the simplest way to create them is to apply particular CSS styles for elements to change their shapes. An example below contains four div elements with different classes, where the name of each class is associated with the shape of the block which is created by using particular CSS styles.

Creating an image slider using only CSS3

Usually image sliders are created in JavaScript, but with release of CSS3 this can be done in CSS3 without JavaScript. An image slider in the current article is quite simple to demonstrate that elaborate things can be achieved keeping the minimum code. HTML codeThe image slider consists of several basic elements image-slider , slide-frame , slides , navigation . Each element is a tag div with an attribute id of its own name.

CSS vertical-align: middle property for all browsers including IE7 and IE6

Here are the examples how to place the elements in the middle of the parent element. The first example works in all new browsers except Internet Explorer of version 7 and less. The second one looks more difficult, but it has some tricky fixes which make it workable in IE7 and IE6. First exampleIn this example is used the tag div with the class valign .

Animated frames for social media buttons with 3D effect using only CSS3

Current article demonstrates how to create frames with 3D open close door-effect for social media buttons using only CSS3 without JavaScript. A simple single frame for social media button has the following HTML structure div element with class button-frame which contains an element with code of social media button, input element which is needed to save the state of animation (either opened or closed) and label element with img element inside to show the icon of the current social media button.

User Interface Architecture

A high-level description of the UI architecture of any GUI application is shown in Figure 8.1. The system level contains the base (EUser library, device drivers, etc.) and system servers (communications servers, Window server, etc.). The graphics layer takes care of drawing all the graphics on the screen. The core contains the application framework, called Uikon. The Uikon framework consists of several libraries providing services for application launching and state persistence, which allows...

Simple image slider with navigation using only CSS3

This is another improved version of the image slider which was presented in the previous articles. Now the slider has navigation elements and caption for each image. All these new elements are animated with CSS3. Here are two previous versions of the image slider for readers who are not familiar with them Creating an image slider using only CSS3. Creating an image slider using only CSS3 (without page scrolling). HTML codeIn this slider, the structure of HTML elements was changed a bit.

Expanding effect for appearing text placed over an image using keyframe animation in CSS3

Expanding effect for appearing text that is used in this article consists of two parts where each part performs after another is finished. This effect is only made possible by using keyframes rule in CSS3. The following article is very similar to the previous articles which demonstrated different effects for appearing text that is placed over an image Horizontal and vertical animated stretching effect for appearing text placed over an image using only CSS3 and Zoom and rotate effects for...

Responsive Image Lightbox with 3D Animation Effects using CSS3 Transitions without Java Script

The goal of this article is to demonstrate an example of a responsive image lightbox with a minimal amount of HTML and CSS code. The lightbox comes with 12 animation effects that are all shown in a demonstration. The example uses only CSS3 and works without JavaScript. Previously, this lightbox was considered and demonstrated in the article used it for 2D animation effects. This time, however, an example with 3D animation effects will be shown.

Dictionary Stores and ini Files

A persistent stream store includes a stream network in which streams may contain stream IDs that refer to other streams and which has a single root stream. In contrast, a dictionary store contains a list of streams, each of which is accessed using a UID, rather than a stream ID There is a small class hierarchy associated with dictionary stores, as seen in Figure 13.14. You write to a dictionary store using a dictionary write stream that you construct, specifying the dictionary store and a UID....

Query HTML Form Validation

Today is yet another interesting JQuery Walk-through how to validate HTML forms using JavaScript. JavaScript is one of the best methods for validating HTML forms. Everything is handled on the browser's client-side and no need to bother the server hence minimal bandwidth usage. Instead of validating each input of an HTML element at a time, we can validate all of them at once on a button click.

Light up letter sign for error page using CSS3 animation

Over the last few years of surfing the Internet, we can observe more and more websites which have well-designed and creative error pages. This article proposes an idea how to do it using simple animation in CSS3. Here is how it's going to look like at the end of the article after all steps performed. On desktop computer On mobile device HTML structure404 error page Special font for light up lettersFor light up letters we are going to use a free font called Budmo Jigglish .

How to create pure CSS pricing tables

Nowadays it is hard to imagine websites without selling something. For this purpose usually the best choice is pricing tables, which allow users to see a price and features of different products at once. In this article, we will create Pure CSS Pricing Tables. For the start, let's create one pricing plan block. HTML code Basic classic plan 69.99 per month 100MB Space 2 FTP users 2 Databases 1 free domain Choose Plan CSS code .

Forms in HTML5

HTML forms are simple controls which are used to collect information from website visitors. These include text fields for data entry using a keyboard, drop-down lists with pre-defined data, checkboxes to change settings and so on. There are countless ways to use HTML forms, and if you have wandered through the Internet for just a few days, there is no doubt you have used them for different purposes - starting from registering on forums and mailboxes, to viewing exchange rates or purchasing...

Download Adobe Flash Player 7 Plug-in for Windows Mobile Smartphones: Supports SWF Files

XDA-Developer forum member, jockyw2001, has managed to hack Adobe Flash Player 7 for Windows Mobile 5.0 and 6.0 based Smartphones. Now you can play few SWF applications or stream YouTube Flash videos through Opera Mobile or Internet Explorer Mobile on your Windows Mobile Smartphone.

The Universal Inbox

There are two other lessons from the messaging experience, one about designing for the wrong use case and one about performance. Keith de Mendonca Although we knew our primary goal was to produce mobile phones and the phone would always be there, there was still quite a lot of work, say in the Symbian OS v6.1 project, for two-box support, even though the particular product never came to fruition.

Few words on what Symbian S is

Www Symbians Apps Com

I specifically concentrated on the Symbian OS v7.0 S60 operating system, almost because I have a Nokia 6600 model. Usually this version is called Symbian S60 (not to be confused with S60 3rd edition). Unfortunately, by the reversing point of view, there are several versions of the Symbian OS and several series, most of which are not compatible at binary level, but all shares a common set of functionalities. Programs are distributed by producers for each phone model, usually you have to select...

How to crack this nut

Load the app into IDA and tell it to also load the resources, then select Ok to the warning eventually might appear as following ARM AND THUMB MODE SWITCH INSTRUCTIONS This processor has two instruction encodings ARM and THUMB. IDA allows to specify the encoding mode for every single instruction. For this IDA uses a virtual register T. It its value is zero, then the ARM mode is used, otherwise the THUMB mode is used. Vou can change the value of the register T using the 'change segment register...

How Do I Get a Developer Certificate

To get a developer certificate, you need to log into the Symbian Signed site registering if you've not already done so and perform the following steps 1. Download the DevCertRequest tool. 2. Create the CSR request file using DevCertRequest. 3. Apply for the developer certificate, which includes uploading the .csr request file. Let's look at these steps in more detail. The DevCertRequest tool can be downloaded from the Symbian Signed site. DevCertRequest runs on a PC and is used to create a CSR...

CSS: changing cursor

Before you change the cursor, decide whether its use would be in place. Many users might be misled by these changes, for example, instead of the traditional hand that appears when you hover over a link, something else pops up. In most cases, it is better to leave everything by default. Table 1 shows the possible cursors. Their appearance may be different from the final result, that depends on the settings of the operating system. Table 1. Cursors used on a web-page.

AssertdebugaValue User PanicKMyPanic Descriptor

The above code demonstrates the error. Instead of comparing aValue to 5, the above code sets it to 5. What is even more confusing is that the assignment operator returns true, and so the assertion will always succeed. In brief, an invariant is a definition of an object's state that remains true throughout the object's lifetime typically, an object specifies allowable values and or ranges for some or all of its member variables. You test an object's integrity by checking its state against its...

Reflections on Akka

I've been working extensively with Akka during the past 12 months. Here I reflect on what I've learnt. Writing concurrent software is hard, sometimes orders of magnitude harder than single-threaded software. Perhaps the greatest difficulty is that humans are not equipped to reason accurately about concurrency, and this is compounded when there is shared memory involved. Another difficulty lies in the verification of concurrent systems, which is hard even for a machine to do.

Top 7 programmers bad habits

1.- The all code is crap, except mine, attitude.I have bad news for you buddy, all code is crap. No matter how much effort you put on it, there is always a majority of programmers who are going to think that your code sucks and that they could have done it 10 times better. I have already covered this topic in previous posts, you can find more information of what exactly I mean when I say that all the code is crap here and here.

Top 5 mistakes made by software development managers.

Many times, software development projects fail because of bad project management. From my experience, these are the 5 most common and dangerous mistakes made by software development project managers. 1.- Believing that productivity is mainly associated with man power and working hours.Productivity is today's equivalent to the philosopher's stone in the middle age, every project manager tries to find it applying basic alchemy the more developers and working hours, the better.

Process context switch

The memory model provides the thread scheduler with a callback that should be used whenever an address space switch is required. I will describe what happens when the scheduler invokes that callback. Switching the user-mode address space in the moving memory model is a complex operation, and can require a significant period of time - often more than 100 microseconds. To reduce the impact on the real time behavior of EKA2 of this slow operation, the address space switch is carried out with...