X# – XML oriented programming language

What is X#?

X# (pronounced X-sharp) is a domain specific language designed to quickly create Web applications and services. In X# everything is represented as a hierarchical structure or tree and instead of using functions to manipulate information or perform actions, all possible operations you can think of are done by adding, removing or changing nodes from this tree. Since there are no functions to learn and everything is done intuitively, even inexperienced developers can create complex Web applications and services in record time.


I can’t believe this guys are for real.This comment on reddit sums my thoughts perfectly:

So… a language with all of the readability of XML and all the speed of Java… I only have one question…


Code samples here: http://www.xsharp.org/samples/

I’ve seen worse so i am not that surprised but no thanks! I would prefer LOLCODE instead. 🙂

Tagged with:

C dominated 2008’s open-source

C overwhelmingly proved the most popular programming language for thousands of new open-source projects in 2008, according to license tracker Black Duck Software.


And i bullshit you not, C really dominated 2008:



As you can see from google trends Java has been above C in popularity for quite some years but starting with 2008 C regained it’s rightfully owned Godfather of Languages title.Many causes for this are flowing through my mind but i am just going to mention one: Embedded Devices.

C will never die!Not as long as i am here.The following fair usage of Google Trends will show you why you shouldn’t worry that C will disappear overnight while you are sleeping like a baby. 😉


Tagged with:

Google AJAX API’s Playground



Just landed on this and it is really cool. You can do all sorts of stuff with google ajax api or just have fun with js and ajax right from that page. While you do that don’t forget that where you are playing also uses ajax(doh!). Why i’m telling you that? Well don’t be an asshole and just stare at it saying to yourself  “How! how cool is that!” and then browse away to icanhascheezburger.com, instead of  “Pretty nice!So this uses ajax too!I definitely have to look more into this shit” and continuing to experiment on the page.  😛

PS: If you are illiterate and don’t know what to do with that than you can still have fun:

Method no.1:

Just click on something in the Pick window and then start deleting stuff randomly from the Edit window. Then you press the Run button in the Output window title bar. Now you can gaze at the prtty errr messages you  get back.

Method no.2:

Delete everything in the Edit windows and then paste the following code into it:

if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)){
   document.write('There is a chance you might not be a moron...');
   alert("But it is really small,since you are running Firefox without NoScript!");
if (/MSIE (\d+\.\d+);/.test(navigator.userAgent))
   document.write('You are definitely a moron because you are running IE!');

Now you can press the Run button in the Output window title bar to find out if you are a moron.

Tagged with:

CWE/SANS TOP 25 Most Dangerous Programming Errors has been published on January 12, 2009 and i think it is an interesting must read for almost any programmer,hacker,project manager,director,etc… out there. Although all of the stuff presented in the consensus has been known for years, little has been done to create a standard,a paper or something tangible and with support from important organization/companies or perhaps even legal,something that you can relate to,until now.Very important to read it is the “How Will the Top 25 Errors Be Used?”(snipet bellow) paragraph which will present you some of the possible use-cases of such a consensus,especially if you are already familiar with what’s inside the technical part of the consensus.If not then please go on and read the stuff in there and research it until you get the point and start thinking of better ways to design and write your code,secure design and code i mean…


just to make the world a safer place! was not that convincing right? 🙁

How Will the Top 25 Errors Be Used?

The Top 25 Errors will have four major impacts:

  • Software buyers will be able to buy much safer software.
  • Programmers will have tools that consistently measure the security of the software they are writing.
  • Colleges will be able to teach secure coding more confidently.
  • Employers will be able to ensure they have programmers who can write more secure code

CWE/SANS TOP 25 Most Dangerous Programming Errors

LE: http://gcn.com/articles/2009/01/19/list-creates-software-security-squabble.aspx

Well as you  can see assholes can find a reason to argue about everything.Nothing new! I actually accept the list as it is.It is way better than nothing for me,but this doesn’t seem to apply to morons suffering from the reject and “nothing pleases me” syndromes who would have prefered the top 1000 most dangerous programming errors.Don’t forget to click on *next 200*.

Polycode, an amazing piece of art!

As stated in the title i have truly came over an amazing piece of art:


Hit view source on that and stare at pretty strange,at the first look,source code. Well that source, my friends,is neither html,c,python or perl it is all of them,plus some more.The above linked source code compiles/interprets and runs under all of this languages: html+js,c/c++,python,perl,ruby,bash,sh,zsh,haskell,makefile,tcl and brainfuck.

I’ve tested the source on all of them just to make sure that it isn’t a joch and it isn’t! even if we count haskell which in my case it didn’t interpret(i used hugs but it didn’t work for some reason and i didn’t insist). Here is some proof output for the unbelievers:

shinnok@donkey:/tmp$ wget http://mauke.ath.cx/stuff/poly.html
–2009-01-21 18:26:11– http://mauke.ath.cx/stuff/poly.html
Resolving mauke.ath.cx…
Connecting to mauke.ath.cx||:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 2376 (2.3K) [text/html]
Saving to: `poly.html’

100%[======================================>] 2,376 –.-K/s in

2009-01-21 18:26:12 (2.21 MB/s) – `poly.html’ saved [2376/2376]

shinnok@donkey:/tmp$ python poly.html
I’m a Python program.
shinnok@donkey:/tmp$ perl poly.html
I’m a Perl program.
shinnok@donkey:/tmp$ ruby poly.html
I’m a Ruby program.
shinnok@donkey:/tmp$ cp poly.html poly.c
shinnok@donkey:/tmp$ gcc -o poly poly.c
poly.c:37:20: warning: trigraph ??! ignored, use -trigraphs to enable
shinnok@donkey:/tmp$ ./poly
I’m a C program (C89 with // comments, trigraphs disabled).
shinnok@donkey:/tmp$ cp poly.html Makefile
shinnok@donkey:/tmp$ make
I’m a Makefile.
shinnok@donkey:/tmp$ beef poly.html
I’m a brainfuck program.
shinnok@donkey:/tmp$ tclsh poly.html
I’m a tcl script.
shinnok@donkey:/tmp$ sh poly.html
I’m a bash script.
shinnok@donkey:/tmp$ zsh poly.html
I’m a zsh script.
shinnok@donkey:/tmp$ bash poly.html
I’m a bash script.

I find it amazing the way the writer of that piece of poly-code managed to use various syntactic and lexical as well as operators and language specific tricks in order to get that same piece of code to compile/interpret and run on all of those languages.

Tagged with: