Исходные коды кросс-платформенного фреймворка Enyo 1.0 и 2.0

Thursday, January 26, 2012 0 comments
Компания HP начала выполнять обещанное и выкладывать в open source части webOS. Сегодня ночью состоялся первый подарок — JavaScript-фреймворк Enyo под лицензией Apache 2.0. Теперь это кросс-платформенный фреймворк.

Enyo отлично подходит для создания легковесных и быстрых приложений: ядро Enyo весит всего 13 КБ. На сайте Enyo есть Playground, где можно написать любой код и посмотреть, как он работает.

Скачать Enyo 2.0
Смотреть код на github

Read more: Habrahabr.ru
QR: http://chart.googleapis.com/chart?chs=80x80&cht=qr&choe=UTF-8&chl=http://habrahabr.ru/blogs/mobiledev/137023/

Posted via email from Jasper-Net

HTML5 - Table of Content

0 comments
כתבתי די הרבה על נושאים שונים של HTML5, וחשבתי לרכז את כולם.
 
בשונה ממדריכים אחרים שכתבתי, הפוסט הזה אינו מרוכז לפי סדר מסויים, אלא מגוון רחב של פיצ'רים שהסביבה נותנת.
 
אני מחלק את זה לשינויים ב - HTML, תוספות של CSS ופונקציונליות חדשה ב - JS - כמובן שישנם חידושים שחופפים ואפשר היה להצמיד אותם גם ל - CSS וגם ל - JS, אך מיקמתי אותם היכן שנראה לי יותר מתאים.
 
חשוב לשים לב שבחלק מהפוסטים יש כותרת של What new in IE8 וכדומה, אל דאגה - כאן שמתי אך ורק פוסטים של HTML5, כלומר שינויים של IE שמוגדרים מהתקן.
 
 
HTML

HTML5 - HTML Review - הסיבות למה כדאי לעבור ומה זה בכלל HTML5.
New Elements - הכרת האלמנטים החדשים.
Canvas - הכרת האלמנט שמאפשר לצייר על גבי המסך.
Generic elements - אלמנטים חדשים שהמפתחים ממציאים.
Audio - הכרת האלמנט המאפשר לנגן.
Video - הכרת האלמנט המאפשר להציג וידיאו


Read more: שלמה גולדברג (הרב דוטנט)
QR: html5-table-of-content.aspx

Posted via email from Jasper-Net

15 Fresh And Free Download GUI Kits for Android Developers

0 comments
android-gui-15.jpg

According to wikipedia Android is a Linux-based operating system for mobile devices such as smartphones and tablet computers , developers are increasingly interested in this platform that’s why today’s post you will find a fresh collection of Android GUI kit for developers , Chech Out them. !

Read more: Best Free Web resources
QR: 15-fresh-and-free-download-gui-kits-for-android-developers.html

Posted via email from Jasper-Net

Free Microsoft Security tools and utilities

0 comments
We provide a significant range of security tools for use by organizations and at home at a great price - FREE!

The following list is from our complementary monthly 'Security Chronicles' publication available to enterprise customers.

    Microsoft Security Compliance Manager 2 (SCM 2) ...
    Microsoft Baseline Security Analyzer 2.2 (MBSA 2.2)...
    The Microsoft Security Assessment Tool 4.0 (MSAT 4.0) ...
    Microsoft Safety Scanner ...
    The Microsoft Malicious Software Removal Tool (MSRT) ...
    Microsoft Security Essentials (MSE)...
    Windows Defender ...
        The new Windows Defender Offline Beta can also help to remove hard to find malicious programs using definitions that recognize threats.


Read more: Greg's Cool [Insert Clever Name] of the Day
Read more: Free Microsoft Security Tools You Should Know About . . .
QR: free-microsoft-security-tools-you-should-know-about.aspx

Posted via email from Jasper-Net

4 Ways to Create Bootable Live USB Drives (For Windows, Linux and Mac OS X)

0 comments
1. Using UNetbootin (for Windows and Linux)

photobucketUNetbootin allows you to create bootable Live USB drives for a variety of Linux distributions from Windows or Linux, without requiring you to burn a CD. You can either let it download one of the many distributions supported out-of-the-box for you, or supply your own Linux .iso file if you've already downloaded one or your preferred distribution isn't on the list.

UNetbootin has built-in support for automatically downloading and loading the following distributions: Ubuntu, Debian, Fedora, PCLinuxOS, Linux Mint, Sabayon Linux, Gentoo, MEPIS, openSUSE, Zenwalk, Slax, Dreamlinux, Arch Linux, Elive, CentOS, Damn Small Linux, Mandriva, SliTaz, FaunOS, Puppy Linux, FreeBSD, gNewSense, Frugalware Linux, NetBSD but can work with others too.

Read more: Web Upd8
QR: 4-ways-to-create-bootable-live-usb.html

Posted via email from Jasper-Net

YouTube's $500,000 hunt for world's best storyteller

Wednesday, January 25, 2012 0 comments
Screen_shot_2012-01-19_at_4.02.04_PM_610x337.png

YouTube announced its Your Film Festival project today. One winner will get $500,000 and the chance to turn their story into a worldwide phenomenon.
(Credit: Screenshot by CNET)

If you're a storyteller, wouldn't you want the chance to have "Gladiator" and "Blade Runner" auteur Ridley Scott help you with a project? And wouldn't it be great to have half a million dollars to spend on it?

That could be your future if you're the winner of YouTube's Your Film Festival, a competition to unearth the world's best storyteller that Google's video sharing site announced today.

Read more: CNet
QR: http://chart.googleapis.com/chart?chs=80x80&cht=qr&choe=UTF-8&chl=http://news.cnet.com/8301-13772_3-57362410-52/youtubes-$500000-hunt-for-worlds-best-storyteller/

Posted via email from Jasper-Net

Hackers zap Zappos: Info from 24 million users stolen

0 comments
Popular online shoe retailer Zappos.com said late Sunday that hackers had accessed its network, stealing customer account information from as many as 24 million customers.

Credit card information was not stolen, company CEO Tony Hsieh said in a statement sent to users, but email addresses, billing and shipping addresses, phone numbers, the last four digits from credit cards -- and more -- may have been compromised.

"We were recently the victim of a cyberattack by a criminal who gained access to parts of our internal network and systems through one of our servers in Kentucky," reads a statement posted on the company's blog. "We are cooperating with law enforcement to undergo an exhaustive investigation."

The company stressed that credit cards were not affected, and that it has already reset the passwords for existing customers to prevent abuse of the stolen data.

But users could still be at risk, security experts warn.

"This event offers a teachable moment for almost anyone does online transactions," said Ira Victor, a computer forensics and information analyst with Data Clone Labs.

"Many online shoppers use the same password for multiple sites. This means the Amazon or Facebook password maybe the same as the banking password, and the password for workplace email."

"Cybercriminals know that password reuse is very common," Victor said.

Read more: FoxNews
QR: http://chart.googleapis.com/chart?chs=80x80&cht=qr&choe=UTF-8&chl=http://www.foxnews.com/scitech/2012/01/16/zappos-zapped-hackers-steal-info-from-24-million-users/

Posted via email from Jasper-Net

CERT Team Improves Security in the New ISO/IEC C Programming Language Standard

0 comments
January 9, 2012—In the field of information technology, ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) has established a joint technical committee ISO/IEC JTC 1. For the past several years, members of the Secure Coding team in the SEI’s CERT Program have been contributing to the development of a major revision of the ISO/IEC standard for the C programming language. CERT’s efforts have focused on introducing much-needed security enhancements to the language and standard library. These security enhancements include (conditional) support for bounds-checking interfaces (originally specified in ISO/IEC TR 24731−1:2007), (conditional) support for analyzability, static assertions, no-return functions, support for opening files for exclusive access, and the removal of the insecure gets function. In December 2011, the work of the CERT team and industry participants resulted in the release of ISO/IEC 9899:2011, informally referred to as C11. This third edition of the C standard cancels and replaces the second edition, ISO/IEC 9899:1999.

David Keaton, a member of the SEI’s Secure Coding team, served as chair of Task Group PL22.11 C of the International Committee for Information Technology Standards (INCITS). Working with SEI colleagues Robert C. Seacord and David Svoboda, Keaton helped develop, refine, and introduce many of the security enhancements to this major ISO standard revision.

“Security features in C had been limited to the snprintf function, introduced in 1999,” explained Keaton. “Now, the new ISO standard includes an entire new library of secure string functions, plus an optional compilation model that makes C code more understandable by source code analyzers that perform security checks.”

Read more: Software Engineering Institute
QR: iso-standard.cfm

Posted via email from Jasper-Net

Warcraft Soccer

0 comments
Project Description
Warcraft Soccer is a soccer game built on Warcraft III engine. Similar to real life, the game lets you pass, shoot, jump and even dribble. If you are a Warcraft III player and looking for a fun map to play, give it a try!

Read more: Codeplex
QR: http://chart.googleapis.com/chart?chs=80x80&cht=qr&choe=UTF-8&chl=http://war3soccer.codeplex.com/

Posted via email from Jasper-Net

JMono

0 comments
Experimental Project: JMono is a java implemented Mono runtime to attempt to run .NET compiled applications through the Java Virtual Machine without needing to have a separate Mono VM, and possibly some extra assistance with low level C libraries. The main goal is to get Mono programs running on Android through the main Java Dalvik machine.

Design Goals

    Fully implement Mono/.NET 4.0
    Full performance
    Support of Android API
    Support WCF, WPF, WF
    MSIL Interpreter / JIT recompiler


Read more: Codeplex
QR: http://chart.googleapis.com/chart?chs=80x80&cht=qr&choe=UTF-8&chl=http://jmono.codeplex.com/

Posted via email from Jasper-Net

Я медленно удаляю apache с сервера

0 comments
Есть у меня серверок (да, да, именно серверок, сервером его назвать сложно). Железо старенькое (2 гига оперативы, AMD Athlon(tm) 64 Processor 3500+, програмный RAID). Админю я его сам, без особых навыков и познаний. Когда-то давным давно (больше года назад) поставил на него Debian 5.0 Lenny (это была вторая в жизни установка linux-системы, до этого ставил только Ubuntu на рабочий ноутбук) и панель управления ISPConfig3 по мануалу. Держу на нем несколько (штук 40) сайтов друзей и клиентов, Redmine, SVN и еще немного по мелочам.
Периодически все это безобразие падает (load average > 20), и приходится на сервере раз в пару часов перегружать apache или высасывать из пальца очередную попытку оптимизации. В общем полный раздрай и разруха. И вот в одну прекрасную субботу я подумал — а почему бы не решить вопрос раз и… И вот в общем.

Под катом — история убитых выходных + предыстория. Интересна в первую очередь мне, чтобы потом легко вспомнить что именно и зачем я ставил. Может быть интересна новичкам в интересном и нелегком (ох, ...) деле серверной оптимизации постепенным(!) переводом сайтов из-под Apache c его ModRewrite под Nginx (кстати, правильно это слово читается «энжинкс»меня поправили, Сысоев на конференциях не раз говорил, что название сервера стоит читать, как «энжин-икс», спасибо bayandin и DorBer ). Возможно, будет интересна более-менее опытным товарищам, оказавшимся в тех же условиях (Debian Lenny, ISPConfig3, слабое железо, несколько хороших, не сильно хороших и разных сайтов). И более опытным может быть интересно зайти, оставить пару комментариев.


Краткое содержание этой серии:
Вместо предисловия — Новичок и его сервер
1. Слушаем чужие советы и тратим время на чепуху
2. Реверс-прокси и еще один админ (ставим и коряво настраиваем nginx)
3. Наконец-то взялись за ум (nginx + php-fpm + eAccelerator)

Начнем с истории

Сервер ставился по вот этому мануалу — классический LAMP + Хостинг-панель + phpMyAdmin.
Позже на него поставили Redmine, который пользовали по прямому назначению и SVN. И тот, и другой в качестве web-сервера используют Apache. Один через Passenger, второй через mod_dav_svn. Это важно, потому что Apache после этих установок потяжелел.

Read more: Habrahabr.ru
QR: http://chart.googleapis.com/chart?chs=80x80&cht=qr&choe=UTF-8&chl=habrahabr.ru/blogs/server_side_optimization/136740/

Posted via email from Jasper-Net

הכירות עם AppHarbor: פלטפורמה כשירות (PaaS) לאפליקציות NET. ו- Node.JS

0 comments
image_77B9AE6B.png

AppHarbor היא פלטפורמה כשירות (Platform-as-a-Service) עבור אפליקציות NET. ו- Node.JS. למעשה מדובר בפלטפורמת ענן מבוססת Windows שיכולה להריץ אפליקציות ושירותים הכתובים ב- NET. ו- Node.JS ולגדול איתם (to scale) לאורך זמן. פשוט “דוחפים” קוד ל- AppHarbor ע”י שימוש ב- Git, הקוד נבנה, מורצים Unit Tests והפרוייקט מוכן לרוץ.

כמו כל פלטפורמת ענן, היא מאפשרת למפתחים להשקיע יותר זמן בפיתוח האפליקציות שלהם מאשר בענייני IT. היתרון בה לעומת פלטפורמות ענן אחרות הוא שלא נדרש לכתוב קוד ספציפי כדי לקחת אפליקציית ASP.NET ולהעלות אותה לענן עם AppHarbor וניתן להעלות אפליקציות כמעט ללא שינויים כלל.
רישום ל- AppHarbor

ניכנס לעמוד הראשי של AppHarbor בכתובת: http://appharbor.com:

Read more: Guy Burstein's Blog
Read more: AppHarbor
QR: http://chart.googleapis.com/chart?chs=80x80&cht=qr&choe=UTF-8&chl=http://appharbor.com/

Posted via email from Jasper-Net

Linux application/script debugging with ‘strace’

0 comments
Every now and then, you'll encounter a problem with an application or a script that is not clear straight away. After the normal troubleshooting, it can be helpful to see the actual system calls that occur when that script executes. Using a tool like strace (manpage) can help you in identifying what is causing the system to slow down or misbehave.

In this blogpost I'll show you some examples where strace can be useful for you. Most of it will be with PHP code but they're easy enough anyone can understand them.
Installing strace

Strace isn't installed by default on most distributions. To install, do a simple yum install strace when on CentOS/Red Hat or apt-get install strace on Debian/Ubuntu systems.
Getting output from strace

You can use strace in two different ways. You can attach it to an already running process or you can use it to start a custom application or script and follow all system calls from the very beginning.

In short, here's how it goes. If you want to start your application and troubleshoot it from beginning to end, you do this:

    ~# strace -f $command
    ~# strace -f php -q somefile.php

Or you want to attach to a running process, use this:

    ~# strace -f -p $pid
    ~# strace -f -p 8151

The -f parameter tells strace to follow any children or processes that are spawned/forked from the application.
Standard usage of strace

By default, strace will show you -all- system calls that your application or script is performing. That can get pretty overwhelming, but it's a good place to start. Take for instance the following simple script called 'test1.php'.

<?php
   /* Simple buggy script */
   for ($i = 0; $i < 5; $i++)
      sleep(1);
?>


Read more: # Defining Chaos In Order
QR: http://chart.googleapis.com/chart?chs=80x80&cht=qr&choe=UTF-8&chl=http://mattiasgeniar.be/2012/01/21/linux-application-script-debugging-with-strace/

Posted via email from Jasper-Net

How to write unit tests for JSON, XML and SOAP endpoints of WCF Service

0 comments
Background

In a recent project I worked on WCF service with the following requirements:

    Support requests and responses in SOAP, JSON and XML.
    Support GET and POST requests.
    Be able to Unit Test SOAP, JSON and XML requests

CLICK HERE TO DOWNLOAD SOURCE CODE FOR WCF SERVICE and UNIT TESTS
The WCF Service
For a sample application I made a Math service that allows for Adding two values together.
public class MathService
{
    public int Add(int value1, int value2)
    {
        int sum = value1 + value2;
        return sum;
    }
}

To access this service through WCF, I added the following IService contract:
[ServiceContract(Namespace = "apidoc.sampleapi.com", Name = "SampleApi")]
public interface IService
{
    [WebGet( UriTemplate = "Add?value1={value1}&amp;value2={value2}&amp;apiKey={apiKey}", BodyStyle = WebMessageBodyStyle.Bare)]
            AddRs AddWithHttpGet(int value1, int value2, string apiKey);
 
    [WebInvoke(Method = "POST", UriTemplate = "Add", BodyStyle = WebMessageBodyStyle.Bare)]
    AddRs Add(AddRq rq);
}


Read more: Entech solutions
QR: wcf-web-service-for-soap-json-and-xml-with-unit-tests

Posted via email from Jasper-Net

Split Generic.xaml in Silverlight Applications

0 comments
If you work with Templated controls in a big Silverlight project, your Generic.xaml might grow fast. Here’s a quick tutorial on how to split the Generic.xaml into multiple resource files.

Step1: Find the resource

You will typically have the control code:

public class TemplatedControl1 : Control {
    public TemplatedControl1() {
        this.DefaultStyleKey = typeof(TemplatedControl1);
    }
}

and the XAML in the Generic.xaml:

<Style TargetType="local:TemplatedControl1">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="local:TemplatedControl1">
                <Border Background="{TemplateBinding Background}"
                        BorderBrush="{TemplateBinding BorderBrush}"
                        BorderThickness="{TemplateBinding BorderThickness}">
                </Border>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>

Step2: Create a new resource file

Create a copy of Generic.xaml and rename to TemplatedControl1.xaml.
Delete the TemplatedControl1 style from Generic.xaml.
So Generic.xaml looks like:

<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:SilverlightApplication1">
</ResourceDictionary>


Read more: LOEKVANDENOUWELAND
QR: http://chart.googleapis.com/chart?chs=80x80&cht=qr&choe=UTF-8&chl=http://loekvandenouweland.com/index.php/2012/01/split-generic-xaml-in-silverlight-applications/

Posted via email from Jasper-Net

Related Posts Plugin for WordPress, Blogger...