Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Saturday, August 3, 2013

Computer scientists develop 'mathematical jigsaw puzzles' to encrypt software

Mathematical jigsaw puzzle
Concept illustration of mathematical jigsaw puzzle
UCLA computer science professor Amit Sahai and a team of researchers have designed a system to encrypt software so that it only allows someone to use a program as intended while preventing any deciphering of the code behind it. This is known in computer science as "software obfuscation," and it is the first time it has been accomplished. 
 
Sahai, who specializes in cryptography at UCLA's Henry Samueli School of Engineering and Applied Science, collaborated with Sanjam Garg, who recently earned his doctorate at UCLA and is now at IBM Research; Craig Gentry, Shai Halevi and Mariana Raykova of IBM Research; and Brent Waters, an assistant professor of computer science at the University of Texas at Austin. Garg worked with Sahai as a student when the research was done.



Tuesday, July 23, 2013

qooxdoo 3.0 released

We are happy to announce a new major release of the framework, qooxdoo 3.0.
Many thanks go to the entire community for making this happen: the team of core developers,1&1 as the supporting company, all contributors, and last but not least the users and enthusiasts who brought in questions, comments and suggestions.
qooxdoo 3.0
The release of qooxdoo 2.0 about a year ago was a landmark in the framework’s ongoing evolution to become a universal JavaScript framework. Now with the release of qooxdoo 3.0 each of the three major application domains, i.e. Desktop, Mobile and Website, ship with substantial if not radical improvements.

Read more: http://news.qooxdoo.org/qooxdoo-3-0-released

Saturday, June 1, 2013

Take action for free JavaScript

Choosing to run free software on your computer is a powerful statement. Unfortunately, regardless of what you have installed on your desktop or laptop, you are almost certainly running hundreds of nonfree programs as you surf the Web. Web sites often use programs written in JavaScript to expand the capabilities of HTML, adding menus, buttons, text editors, music players, and many other features. Browsers come configured to download and run the JavaScript without ever making the user aware of it. Contrary to popular perception, almost no JavaScript runs "on the Web site" -- it runs locally on users' computers when they visit a site.

Source: 
https://www.fsf.org/blogs/community/take-action-for-free-javascript
http://yro.slashdot.org/story/13/05/29/2232224/taking-action-for-free-javascript

Related:
Group:Free Javascript Action Team
Javascript Trap by Richard Stallman

Tuesday, January 15, 2013

Aaron Swartz


Aaron H. Swartz (November 8, 1986 – January 11, 2013) was an American computer programmer, writer, archivist, political organizer, and Internet activist.
Swartz was a member of the RSS-DEV Working Group that co-authored the "RSS 1.0" specification of RSS,[2] and built the Web site framework web.py and the architecture for theOpen Library. He also built Infogami, a company that merged with Reddit in its early days, through which he became an equal owner of the merged company.[i] Swartz also focused on sociology, civic awareness and activism. In 2010 he was a member of the Harvard UniversityCenter for Ethics. He cofounded the online group Demand Progress (known for its campaign against SOPA) and later worked with US and international activist groups Rootstrikers and Avaaz.
On January 6, 2011, Swartz was arrested in connection with systematic downloading of academic journal articles from JSTOR, which became the subject of a federal investigation.[3][4] Swartz opposed JSTOR's practice of compensating publishers, rather than authors, out of the fees it charges for access to articles. Swartz contended that JSTOR's fees limited access to academic work produced at American colleges and universities.[5][6]

Tuesday, January 8, 2013

codecs – String encoding and decoding

Purpose:Encoders and decoders for converting text between different representations.
Available In:2.1 and later

The codecs module provides stream and file interfaces for transcoding data in your program. It is most commonly used to work with Unicode text, but other encodings are also available for other purposes.

Unicode Primer

CPython 2.x supports two types of strings for working with text data. Old-style str instances use a single 8-bit byte to represent each character of the string using its ASCII code. In contrast, unicode strings are managed internally as a sequence of Unicode code points. The code point values are saved as a sequence of 2 or 4 bytes each, depending on the options given when Python was compiled. Both unicodeand str are derived from a common base class, and support a similar API.
When unicode strings are output, they are encoded using one of several standard schemes so that the sequence of bytes can be reconstructed as the same string later. The bytes of the encoded value are not necessarily the same as the code point values, and the encoding defines a way to translate between the two sets of values. Reading Unicode data also requires knowing the encoding so that the incoming bytes can be converted to the internal representation used by the unicode class.
The most common encodings for Western languages are UTF-8 and UTF-16, which use sequences of one and two byte values respectively to represent each character. Other encodings can be more efficient for storing languages where most of the characters are represented by code points that do not fit into two bytes.
See also
 
For more introductory information about Unicode, refer to the list of references at the end of this section. The Python Unicode HOWTO is especially helpful.

source: codecs – String encoding and decoding

Saturday, December 29, 2012

MK802 II Mini PC Now Costs as Much as Raspberry Pi Model B. Let’s Compare Them!

MK802 mini PC quickly went viral as it launched in May 2012 for $74 US, and since then many Chinese manufacturers have jumped into the market bringing both new faster devices, and the price down. AllWinner A10s, a low cost version of AllWinner A10 used in MK802, was also launched specifically for this market to bring costs even lower. Today, I’ve been informed an HDMI TV dongle based on AllWinner A10s that sells for $36.55 on Tinydeal.com which is a very good price, but decided to check on Aliexpress to look for comparable deals, and found one shop selling MK802 II for $34.91 including shipping via China Post, which makes it cheaper than the Raspberry Pi model B selling for $35 excluding shipping.

Read more: http://www.cnx-software.com/2012/12/26/mk802-ii-mini-pc-now-costs-as-much-as-raspberry-pi-model-b-lets-compare-them/#ixzz2GN0CBDhy

Monday, October 29, 2012

Why Coding Style Matters


When I was studying computer science in college, I had one extremely tough professor. His name was Dr. Maxey and he taught the more complicated courses like data structures and computer architecture. He was a wonderful teacher with a talent for articulating difficult concepts, but also an extremely tough grader. Not only would he look over your code to make sure that it worked, he would take off points for stylistic issues.
If you were missing appropriate comments, or even if you misspelled a word or two in your comments, he would deduct points. If your code was “messy” (by his standards), he would deduct points. The message was clear: the quality of your code is not just in its execution but also in its appearance. That was my first experience with coding style.

Tuesday, October 2, 2012

TypeScript - Microsoft's Replacement For JavaScript


Microsoft has just announced a new programming language - TypeScript. It's targeted at replacing JavaScript by being more maintainable in large projects. Do we need yet another JavaScript replacement?

Everyone seems to have a replacement for JavaScript - Google even has two. Now Microsoft has revealed that Anders Hejlsberg has been working on a replacement and it has released a preview of TypeScript.
TypeScriptlogo