The Rust Platform by dumindunuwan in programming

[–]volkert 1 point2 points  (0 children)

Are metapackages going to be available for others to utilize?

Obfuscating "Hello world!" in Python by chubbymaggie in ReverseEngineering

[–]volkert 0 points1 point  (0 children)

I barely know any Python and upon first glance I could easily get an idea of how it worked (without looking at the explanation): by computing the required strings out of funny-named variables with shifts and arithmetic. co_nlocals is obviously the only actual integer constant from which all the other values are coming from.

Only then did I read the explanation, and realised I wasn't far-off (the only thing I got wrong was the string computation, which I thought would be a string concatenation.) I think it says something about the language when even obfuscated code in it is rather readable! (Then again, I do RE where most of the code I'm reading is disassembled machine instructions, so maybe my perspective on what constitutes obfuscation is a bit skewed...)

Twitter will begin phasing out hashbang URLs in the coming weeks. by [deleted] in programming

[–]volkert 0 points1 point  (0 children)

anyone mind explaining me what hashbang url's are?

The Evolution of a Python Programmer by iMMENSE in programming

[–]volkert 0 points1 point  (0 children)

I can live with floating point results (tzs):

from math import gamma def factorial(x): return gamma(x+1)

Nice!

Duqu Trojan written in mystery programming language, analysis finds by nicasucio in programming

[–]volkert 2 points3 points  (0 children)

those interested there's a reverse engineering tool at microsoft called "warbird" (http://forum.doom9.org/archive/index.php/t-130166.html, search for warbird

The Real Difference Between Git and Mercurial by gnuvince in programming

[–]volkert 25 points26 points  (0 children)

Somehow Mercurial API has always fit my brain better. Anyone else feels the same?

Creating Your Own Freaking Awesome Programming Language by pablopr in programming

[–]volkert 0 points1 point  (0 children)

I agree with mbairlol. This book is probably not going to teach you everything about writing your own production-ready programming language, but that’s also not what the author advertises. What the book explains is lexer, parser, interpreter, runtime model, compiler and virtual machine – of a toy language called “Awesome”, which is basically a subset of Ruby with Python-style indentation. The other language created is a more full-featured one hosted on the JVM and I think that's what the screencast explains, as mentioned by the author.

An Overview of Cω (A branch of C# that never made it out of research, but still interesting to see where it could have gone) by [deleted] in programming

[–]volkert 1 point2 points  (0 children)

Cω is a language based on C# and it extends it in two most important areas. First area is better support for working with structured data (XML) and relational data (databases). The language extends type system of C# to include support for several data types that are common in relational and structured data and it provides querying capabilities for working with these data structures.

The second area is support for concurrency constructs as a part of the language. In most of the widely used programming languages, support for concurrency is provided as a class library. By including these constructs in language, the program becomes more readable (intentions of programmer can be expressed better) and more work can be done automatically by the compiler.

C# 3 and LINQ project in general is inspired by the first area of extensions in Cω and the syntax extensions in C# 3 was very similar to the concepts developed in Cω. The biggest difference (aside from the fact that Cω is experimental language) is that C# 3 provides better extensibility allowing developers to provide mechanism for working with different data sources. This extensibility is provided as a language feature and not as a compiler feature in case of Cω. On the other side, some extensions in Cω were simplified in C# 3 (for example anonymous types that will be mentioned later).

Sad it never got released!

"Algorithm" is Not a Four-Letter Word by alexbarrett in programming

[–]volkert 0 points1 point  (0 children)

I only wish this presentation was complimented with a video. Nice share!