Domain: dangermouse.net
Stories and comments across the archive that link to dangermouse.net.
Comments · 67
-
It's been done
RUBE is 20 years old...
https://github.com/catseye/RUB...
Though if you want something that looks like art, there's also Piet:
http://www.dangermouse.net/eso...
=Smidge=
-
Re:Their definition of "Moral" is the problem.
Asimov's Trantor had, if I remember correctly, 40 billion at its peak and that was basically one planet-wide city. Or you could go up an order of magnitude or two and use Coruscant at a trillion people. Of course if you do that, you run into a problem or two or three. If you're wondering if a webcomic author is a good authority on the physics of a fictional city, he's not just a webcomic author.
Of course, we COULD use that science to send some of those billions of people to planets or celestial bodies other than Earth. Keep a few billion folks on Earth, send a couple million to orbiting habitats, and put the rest on Mars and its moons as well as Earth's moon.
-
Re:not a fan
Oh yes. We MUST worry about looking "dated".
http://www.dangermouse.net/blog/images/trek/TheWayToEden.jpg
Can't have that!
And fight scenes! In an "intellectual" Trek flick!
http://m0vie.files.wordpress.com/2013/03/tos-courtmartial15.jpg
-
Re:George Carlin: Baseball vs Football
Here is an explanation by an Australian.
-
Piet
How about Piet?
-
Piet?
How come the Piet programming language didn't make the cut?
:( -
Re:Brainf*ck
If you want a hard to read language you should check whitespace language
For something more colorful Piet is the obvious language. -
The real point is...
News flash: turing-complete programming languages can be used to created anything. Why is it news when another random project is done in Javascript?
Ah, the old Turing-complete chestnut. Just because something is possible, does not mean it is feasible, practical, or easy. It's probably possible to code it in brainfuck, chef, lolcode or a bunch of rocks but no-one in their right mind would want to.
What's really interesting about this is that it now brings PGP to almost device with a browser - that is: those with browsers which have javascript support. This gives us such joys as iPhones with PGP that Apple can't suddenly decide they don't want people to have.
-
Re:If she was 22 when she posed...
http://www.lenna.org/ (linked from the hilarious http://www.dangermouse.net/esoteric/lenpeg.html LenPEG image compression page) has a photo presumably from her 1997 attendance at the 50th Anniversary IS&T conference in Boston.
-
Re:Lena Söderberg
That is also the single most efficiently compressible image in the universe, provided that you use LenPEG Compression of course.
-
Re:Would you prefer a completely clueless jury the
Having never actually served on a jury, how exactly would a juror go about learning what a phrase means if everyone was acting like it's supposed to be common knowledge? Do they just, like, raise their hand and ask?
David Morgan-Marr (creative force behind Irregular Webcomic and Darths & Droids) has an account of service on a jury in which the jury asks for clarification on a point. It's quite an interesting read in total, but the sections regarding jury confusion are found on page 12 (at the end of witness 26 and end of witness 29), page 19 (most of witness 50), page 20 (not much happened with the jury that day) and concluding at the top of page 22.
While this jury trial occurred in Austrailia, the basic tenets are the same.
-
Re:Would you prefer a completely clueless jury the
Having never actually served on a jury, how exactly would a juror go about learning what a phrase means if everyone was acting like it's supposed to be common knowledge? Do they just, like, raise their hand and ask?
David Morgan-Marr (creative force behind Irregular Webcomic and Darths & Droids) has an account of service on a jury in which the jury asks for clarification on a point. It's quite an interesting read in total, but the sections regarding jury confusion are found on page 12 (at the end of witness 26 and end of witness 29), page 19 (most of witness 50), page 20 (not much happened with the jury that day) and concluding at the top of page 22.
While this jury trial occurred in Austrailia, the basic tenets are the same.
-
Re:Would you prefer a completely clueless jury the
Having never actually served on a jury, how exactly would a juror go about learning what a phrase means if everyone was acting like it's supposed to be common knowledge? Do they just, like, raise their hand and ask?
David Morgan-Marr (creative force behind Irregular Webcomic and Darths & Droids) has an account of service on a jury in which the jury asks for clarification on a point. It's quite an interesting read in total, but the sections regarding jury confusion are found on page 12 (at the end of witness 26 and end of witness 29), page 19 (most of witness 50), page 20 (not much happened with the jury that day) and concluding at the top of page 22.
While this jury trial occurred in Austrailia, the basic tenets are the same.
-
Re:Would you prefer a completely clueless jury the
Having never actually served on a jury, how exactly would a juror go about learning what a phrase means if everyone was acting like it's supposed to be common knowledge? Do they just, like, raise their hand and ask?
David Morgan-Marr (creative force behind Irregular Webcomic and Darths & Droids) has an account of service on a jury in which the jury asks for clarification on a point. It's quite an interesting read in total, but the sections regarding jury confusion are found on page 12 (at the end of witness 26 and end of witness 29), page 19 (most of witness 50), page 20 (not much happened with the jury that day) and concluding at the top of page 22.
While this jury trial occurred in Austrailia, the basic tenets are the same.
-
Re:Would you prefer a completely clueless jury the
Having never actually served on a jury, how exactly would a juror go about learning what a phrase means if everyone was acting like it's supposed to be common knowledge? Do they just, like, raise their hand and ask?
David Morgan-Marr (creative force behind Irregular Webcomic and Darths & Droids) has an account of service on a jury in which the jury asks for clarification on a point. It's quite an interesting read in total, but the sections regarding jury confusion are found on page 12 (at the end of witness 26 and end of witness 29), page 19 (most of witness 50), page 20 (not much happened with the jury that day) and concluding at the top of page 22.
While this jury trial occurred in Austrailia, the basic tenets are the same.
-
Re:Recipes FTW!!
Are you really sure that Recipes cannot be copyrighted? Do we need a way to ultra-public-domain stuff?
Check this out! Kurt Godel to the rescue!
http://www.dangermouse.net/esoteric/chef.html
http://www.dangermouse.net/esoteric/chef_fib.htmlCan't be any more bloated than MS's code. : )
-
Re:Recipes FTW!!
Are you really sure that Recipes cannot be copyrighted? Do we need a way to ultra-public-domain stuff?
Check this out! Kurt Godel to the rescue!
http://www.dangermouse.net/esoteric/chef.html
http://www.dangermouse.net/esoteric/chef_fib.htmlCan't be any more bloated than MS's code. : )
-
Artifacts
I'm also wondering why we insist that:
- our source code be able to be wrapped to 78 characters
- a tab (0x09) character is equal to 8 spaces (unless you specify otherwise)
- most major programming languages have function names that are in US English, even Ruby, which was developed by the Japanese, and Scilab's programming language which was developed by French scientists
- POSIX regular expressions' [:alphanum:] character class is most often written as [A-z0-9]
The truth is that we programmers prefer to be able to type things quickly without having to memorize character codes for a variety of Unicode characters; we want to be able to type simple variable and function names using a standard set of glyphs and not have to worry about remembering which variation of a Chinese pictograph was used.
If it comes down to it, we could all just use Ook and not worry about language barriers (or getting much of anything done for that matter).
-
Re:List geek cooking instructions here
SQL and C? I'd use Chef for this task...
-
Re:Doesn't sound so hard...
As long as you use Intelligent Design Sort.
As long as you use Intelligent Design Sort.
nice one my link is too as http://studyelectronics.blogspot.com/2008/10/555-timer-ic.html
-
Re:Doesn't sound so hard...
As long as you use Intelligent Design Sort.
As long as you use Intelligent Design Sort.
nice one my link is too as http://studyelectronics.blogspot.com/2008/10/555-timer-ic.html
-
Doesn't sound so hard...
As long as you use Intelligent Design Sort.
-
Too complex? That's why I only program in Ook!
-
Re:Duchamp was a troll
I once had an artist explain to me that modern art is meta-art. The object itself is not art, the act of persuading someone else to accept that it is art and exchange money for it is art. When I walk around Tate Modern or the MOMA and look at all of the people appearing to enjoy the displays, I can't help thinking of this, and regarding them, rather than the pieces, as the works of art.
That said, I do like a lot of Piet Mondrian's work. As well as providing the inspiration for the only sane way of implementing memory protection yet proposed, and the only programming language where programs can literally be beautiful, he encoded mathematical jokes in a few of his paintings, which 90% of the people I see admiring them completely miss.
-
Re:Where are the C development jobs?
-
Re:Where are the C development jobs?
-
ook?
-
Re:Bad metadata
Now if we can only somehow combine this with Piet...
-
My algorithm can sort anything in 1 second
My sorting algorithm operates in constant time. I should really enter it into one of these competitions. It's called Intelligent Design Sort: http://www.dangermouse.net/esoteric/intelligentdesignsort.html
-
Re:Lego People?
Pfffffff, youngsters... Get of my lawn... I'm an elder one, my generation didn't have any lego people, hell, we had non euclidean lego!
and we liked it that way!
-
Piet Contest?
You could take a very interesting approach to this and employ Piet which is a type of programming language that results in writing programs utilizing colors and blocks and traverses them as the program runs, resulting in some nice looking 'modern' art. The neat thing about this is you could open up a contest to your developers to come up with beautiful ways to write simple programs and procedures and then vote on the most beautiful ones. To me, something coded to be both beautiful and functional would be highly desirable. The fact that it would come from within your developers would probably add to the effect among your staff.
Plus, it'd be super cheap! -
Piet Contest?
You could take a very interesting approach to this and employ Piet which is a type of programming language that results in writing programs utilizing colors and blocks and traverses them as the program runs, resulting in some nice looking 'modern' art. The neat thing about this is you could open up a contest to your developers to come up with beautiful ways to write simple programs and procedures and then vote on the most beautiful ones. To me, something coded to be both beautiful and functional would be highly desirable. The fact that it would come from within your developers would probably add to the effect among your staff.
Plus, it'd be super cheap! -
Re:Don't Forget PietDon't forget Piet. That's produced some of the most beautiful code I've ever seen. It also handles abstraction in a novel way. Wow, a stoners' programming language! I'll be darned
:) -
Re:Don't Forget PietDon't forget Piet. That's produced some of the most beautiful code I've ever seen. It also handles abstraction in a novel way. Wow, a stoners' programming language! I'll be darned
:) -
Don't Forget Piet
Don't forget Piet. That's produced some of the most beautiful code I've ever seen. It also handles abstraction in a novel way.
-
Don't Forget Piet
Don't forget Piet. That's produced some of the most beautiful code I've ever seen. It also handles abstraction in a novel way.
-
Foolproof way to pass Acid2
All IE8 needs to pass the Acid2 test is a simple LenPEG variant.
"If page = acid2 test, render http://www.webstandards.org/files/acid2/reference.html"
It can't fail!
- RG> -
Coming soon: A Computing Science exhibit...
I'm surprised they aren't highlighting things like this already:
Further proof from our sacred peers that all that fuss made about needing poker chips to clear our tubes of all that p0rn was a public service. Good thing at least one Centre of Excellence is giving us the information we need to know.
--
~AC -
Re:No, everybody except a few american crazies...
You're wrong, just look at the contribution that ID has made to information theory. Why, it came up with the absolute perfect sorting algorithm:
http://www.dangermouse.net/esoteric/intelligentdes ignsort.html -
Re:How is this not a radix sort?
Wow that's genius!
I was a big fan of dangermouse's esoteric languages some years ago:
http://www.dangermouse.net/esoteric/
I didn't realise he'd been developing these esoteric algorithms :) -
Re:How is this not a radix sort?
My favorite is still: http://www.dangermouse.net/esoteric/intelligentde
s ignsort.html
Sorts in O(1) and uses no memory! -
Hey, it looks like piet source code!
Piet is an 'esoteric' (useless) programming language that reads bitmaps as source files.
http://en.wikipedia.org/wiki/Piet_(programming_lan guage)
http://www.dangermouse.net/esoteric/piet.html
It'd be nice to be able to load the chromasomes up into the piet interpreter, and see what comes out!
Wouldn't it be interesting, though, if it turns out that the genome could be understood as a 'program', and a specially coded interpreter could process it... ... what would the binaries do? -
Re:This looks like a lie
Not if you use the highly-efficient LenPEG compression algorithm!
- RG> -
Re:Might as well write a web app
-
Re:Experiences
technically, there is nothing Python can do that Whitespace can't. That doesn't mean you have to use Whitespace..
trueineverusewhitespaceanditneverdidmeanyharm
(yes, I know about the programming language Whitespace. And, for good measure, let's throw in Brainfuck and its Pratchettesque dialect Oook)
-
Odd solutions = work for the rest of us
Why, the ability to say, "Nope, we don't confine our employee's choice of languages." Well that and a morass of code based as much on individual whim as any logical need.
At least it means permanent work for the rest of us. I spent most of 2003 cleaning up a project where every tool had been used in the worst of all possible ways. CVS for local copies of source code at every workstation. Java for procedural programming and plain c for processing... plain text files. Of course.
I felt like one of those guys cleaning sewers, but I also got paid well, so I guess I am in debt to my predecessor who wrote the code.
In other words: keep up the good work and consider using a handful of esoteric languages! (Including Flip.)
-
Re:Oh great, even cheaper labor. But can they code
-
Recursive macros in POV-Ray
I was playing with POV-Ray macros a while back and came up with this example of a fractal using recursion, which is a trivial thing to do. POV-Ray has a fairly simpleminded macro system where the preprocessor keeps running, pass after pass, replacing all occurrences of any macro with its inlined definition, until no more macros (aside from their declarations) appear in the output. So you can easily create structures that replicate themselves at smaller scales.
The "FRACTAL" macro here references itself with a lower "order" variable each time, until zero is reached. It ends up rendering a huge scene with 4687 sphere primitives arranged so that each sphere has six (or more normally, five) smaller spheres attached to it, until you get to the tiniest (order==0) spheres. The resulting shape is a "spongy" octahedron that meets the definition of a fractal (at least until you reach the scale of the smallest spheres).
If you raise HIGHEST_ORDER, the load on the raytracer increases exponentially as the preprocessor produces more scene objects. (The "relationToParent" variable and the six "if" statements testing for it are there to control the exponential object explosion during preprocessing; without them, starting from order==5, the final number of spheres goes up to 9331 from 4687, as invisible/embedded spheres are included, and the rendering time for more complex scenes rises more quickly.)
You can make a Sierpinski gasket this way too. Recursive macros were also used in this image to render trees, albeit at a distance.
#include "colors.inc"
#declare SCALING_FACTOR = 0.50;
#declare DISPLACEMENT = 1.0 + SCALING_FACTOR;
#declare HIGHEST_ORDER = 5;
#declare NO_ORIGIN = 0;
#declare POS_X = 1;
#declare NEG_X = 2;
#declare POS_Y = 3;
#declare NEG_Y = 4;
#declare POS_Z = 5;
#declare NEG_Z = 6;
#macro FRACTAL (order, relationToParent)
#if (order)
union {
sphere {<0,0,0>, 1 TEXTURE(order)}
#if (relationToParent != NEG_X)
object {FRACTAL(order-1, POS_X) scale SCALING_FACTOR translate DISPLACEMENT * x}
#end
#if (relationToParent != POS_X)
object {FRACTAL(order-1, NEG_X) scale SCALING_FACTOR translate -DISPLACEMENT * x}
#end
#if (relationToParent != NEG_Y)
object {FRACTAL(order-1, POS_Y) scale SCALING_FACTOR translate DISPLACEMENT * y}
#end
#if (relationToParent != POS_Y)
object {FRACTAL(order-1, NEG_Y) scale SCALING_FACTOR translate -DISPLACEMENT * y}
#end
#if (relationToParent != NEG_Z)
object {FRACTAL(order-1, POS_Z) scale SCALING_FACTOR translate DISPLACEMENT * z}
#end
#if (relationToParent != POS_Z)
object {FRACTAL(order-1, NEG_Z) scale SCALING_FACTOR translate -DISPLACEMENT * z}
#end
}
#else //the order==0 case
sphere {<0,0,0>, 1 TEXTURE(order)}
#end
#end
#macro TEXTURE (order)
texture {
pigment { rgb (<1, 1, 1> * (1-(order/(1+HIGHEST_ORDER)))) }
finish {ambient 0.3 diffuse 0.7 phong 1 phong_size 80 brilliance 2}
}
#end
//camera {location <-0.15, 0.2, -3.5> look_at <-0.6, 0.2, 1>}
camera {location <-1, -1, -6> up <0, 1, 0> right <4/3, 0, 0> look_at <0, 0, 1>}
//camera {location <0.0, 0.0, -4.3> up <0, 1, 0> right <4/3, 0, 0> look_at <0, 0, 1> rotate <0, 0, 45>}
light_source {<10, 12, -15> color White}
light_source {<0, 20,0> color White}
light_source {<-4,-5,-8> color White}
background{color MidnightBlue}
FRACTAL(HIGHEST_ORDER, NO_ORIGIN)
-
Re:Other uses?
reminds me of Chef.
-
Re:It's always amused me...> It's always amused me...
> that such a f'ugly language should be named with an homonym of such a beautiful thing as a pearl.Huh? I just finished converting my codebase from Brainfuck to Perl, because I found Perl to be a little bit more readable.
And that guy muttering to himself in the corner isn't crazy. He's just our Ook porting lead.