LoseThos: Programming As Entertainment

Pretty cool stuff:

LoseThos is for programming as entertainment.  It empowers programmers with kernel privilege because it’s fun.  It allows full access to everything because it’s fun.  It has no bureaucracy because it’s fun.  It’s the way it is by choice because it’s fun. LoseThos is in no way a Windows or Linux wannabe — that would be pointless. LoseThos is not trying to win a prize for low resource usage or run on pathetic hardware.  Low line count is a goal, though.  It’s 100,000 lines of code including a 64-bit compiler, tools and a graphics library.  It’s strictly 64-bit and could be configured to function with 32 Meg or less RAM, but who cares!   Where do you get a x86_64 machine with less than 32 Meg RAM?  With no multimedia, it’s hard to run out of memory on a modern home computer.

LoseThos was designed from scratch with a clean slate and has no compatibility with anything else. Source code is ASCII plus binary graphics data.  It has a new language roughly based C/C++.  It’s more than C and less than C++ so, maybe, it’s C+. I took every opportunity to improve things once I made a clean break with the past.  That’s another reason LoseThos has value — it is innovative.

I started with a command line like this:

I added default parameters from C++:

I said, “parentheses are stupid.”

Now, I have a language which looks a little like pascal.  It also doesn’t have a main() routine — any statement outside a function executes immediately, in order. The command line feeds straight into the compiler (not an interpreter) and it doesn’t have that bullshit errno crap for return values — command line commands are regular C+ functions.

(via http://www.losethos.com/)

A/UX Penelope

Very cool informational site about the pre-OSX version of Apple Unix (A/UX). Totally piques my obscure hardware/software interest. 😉


From the author’s site:

Between the years 1987 and 1995, Apple Computers, Inc. developed a distribution of System V Unix for the Motorola 680×0-based Macintosh. Much of the initial porting work was performed by UniSoft Corporation, with the project being gradually handed over to Apple Engineers. (UniSoft ported several versions of Unix to Motorola 680×0-based platforms, including the early Sun workstations.)

Apple’s Unix (A/UX) was based on AT&T System V Release 2.2, as the industry had not yet “standardized” on SVR4. However, later versions of the operating system included features from SVR3, and SVR4, as well as BSD Unix 4.2 and 4.3 – TCP/IP networking, streams, Fast File System, job control, lpr, NFS, NIS (Yellow Pages), SCCS, and sendmail. It was a full-featured Unix OS. All of these features, along with a development package (fortran and C) and the X11R4 environment, were included in the base package. Note that these were costly add-ons in many contemporary Unix distributions such as Xenix and SCO Unix.

On top of this solid Unix foundation sat a Macintosh Finder – A full System 7 graphical environment that allowed the system to run both Unix and Macintosh programs, while providing a user-friendly interface. (Sound’s vaguely familiar, doesn’t it?) I’ve included some screenshots to satisfy the curiosity of casual visitors, and to whet the appetite of those who might install the operating system…


Best T-SQL Ever! (The T-SQL Mandelbrot)

This is just pure awesome, from a geek standpoint. Thanks to The Daily WTF and Graeme Job for sharing this wonderful little jewel of code and making my day just a bit more interesting. 😉

Here’s the quote from The Daily WTF:

“So I was bored at work one day,” Graeme Job explains, “and wondered, what’s the most useless thing I could do with my time without actually doing anything. Then it hit me. I could use T-SQL to generate… Mandelbrot.”

Graeme continued, “Following is a single T-SQL SELECT statement that generates a text-representation of a Mandelbrot Set. The results are best viewed in text-mode.”

You can grab the code from The Daily WTF, and run it via SQL Server Management Studio. Of course, I tried it myself, and got this result:


(via http://thedailywtf.com/Articles/Stupid-Coding-Tricks-The-TSQL-Madlebrot.aspx)

Claudia Castillo gets windpipe tailor-made from her own stem cells – Times Online

This seems like it should be huge news, but I actually had to dig a bit to find details on this story. It seems to be quite widely reported in the UK, but not so much in the US…

Claudia Castillo gets windpipe tailor-made from her own stem cells

A woman has been given a new section of windpipe created from her own stem cells in an operation that could revolutionise surgery.

Claudia Castillo, 30, who lives in Barcelona, has become the first person to be given a whole organ tailor-made for her in laboratories across Europe.

A graft from a donor was used, but because it has been imbued with Ms Castillo’s own cells, there is no sign that her body will reject the organ.

via Claudia Castillo gets windpipe tailor-made from her own stem cells – Times Online

Here’s a thumbnail of a PDF illustration from Times Online on how the procedure was performed:


And here are some related links:

Open Camera RAW Files in Paint.NET!

Excellent collection of file type handlers and effects plugins for Paint.NET. Not the fastest ever at loading camera RAW images (takes about 5-8 seconds to load a CR2 from my Canon 30D), but it’s definitely helpful.

According to the website, it supports the following image types:

*.dcr DCR Digital Camera RAW Images
*.dng DNG Digital Camera RAW Images
*.eff EFF Digital Camera RAW Images
*.mrw MRW Digital Camera RAW Images
*.nef NEF Digital Camera RAW Images
*.orf ORF Digital Camera RAW Images
*.pef PEF Digital Camera RAW Images
*.raf RAF Digital Camera RAW Images
*.srf SRF Digital Camera RAW Images
*.X3F X3F Digital Camera RAW Images
*.crw CRW Digital Camera RAW Images
*.cr2 CR2 Digital Camera RAW Images

via Paint.NET – Megalo Effects & FileTypes Plugins