Which one of the following new lisp implementations is more likely to gain the momentum and more mainstream acceptance, arc by Paul Graham or clojure by Rich hickey?
They both launched at the same time, but seems there is more community interest in clojure so far, from both lisp and java folks.
...
Arc, if you don't know, is Paul Graham's "100 year language", or, more prosaically, new version of Lisp. It was heavily trailed on reddit (back when reddit was interesting), and an early version was released in January last year.
But nothing much seems to have happened since then - the forum is virtually dead, and there's nothing new o...
I would like to add this code on my arc projects to reload automatically the sourcecode when a files changes. Where is the best place to put this code?
http://arclanguage.org/item?id=2739
...
I'm searching an answer for this question and all I found on
http://postgis.refractions.net/documentation/manual-1.3/ch04.html#id2572194
is
SELECT road_id, road_name
FROM roads
WHERE roads_geom && GeomFromText('POLYGON((...))',-1);
should I put the boundary vertexes in this SQL replacing the '...' ?
...
I need a JavaScript library, or flash as well, which allows to connect events to "click" over "arcs" in graphics, see this picture:
I've implemented my graphic through the JS-Graphs library but I can only intercept the "click" event on "nodes", not on "arcs".
Can anybody help me??
Thanks.
...
What are examples of well designed functional (as opposed to object oriented) web apps that make their source code available? I am currently studying the Hacker News source but I'd like to see some other non-trivial examples, ideally in clojure.
For MVC there are lots of Rails and PHP apps, frameworks, and tutorials to study - what is t...
Does Google's go-language (http://golang.org/) address the problems with languages addressed in Paul's Graham's post 'Why Arc isn't Especially Object Oriented'? (http://www.paulgraham.com/noop.html)
...
Hi, can anyone help me to figure out how to get query results back in json or xml etc when using the Arc sparql endpoint?
I am using the following code to get the result of my query:
$endPoint->handleQueryRequest($query);
$result = $endPoint->getResult();
I have looked through the code and tried passing some paramaters - trial and...
Hi, In a silverlight 3 project I have to draw an arc programatically and I have radius of circle and inner angle of the arc. Could you please direct me to some related articles.
Thanks in anticipation!
Haris
...
I'm just started on playing around with the canvas HTML5-object. For the sake of performance tests, I have made a little ping pong game.
Are there any performance improvements I could use?
The ball seems to be blue with a touch of red, but my declaration it should be yellow. How can I fix this?
...
Hi, I need to draw an arc using GraphicsPath and having initial, median and final points. The arc has to pass on them.
I tried .DrawCurve and .DrawBezier but the result isn't exactly an arc.
What can I do?
SOLUTION:
After a couple of hours of code writing I managed to draw what I wanted with this algorithm (give 3 Point a,b,c and a G...
Does anyone know how to define an animated arc / circle in SVG, such that the arc starts at 0 degrees and ends at 360 degrees?
...
Hey,
I'm trying to figure out an algorithm for finding a random point a set distance away from a base point. So for example:
This could just be basic maths and my brain not working yet (forgive me, haven't had my coffee yet :) ), but I've been trying to work this out on paper and I'm not getting anywhere.
Thanks,
Niall.
...
I have a square canvas with a width of 100 and a height of 100.
Within that square I draw an arc like so:
var canvas = document.getElementById('myCanvas');
var ctx = canvas.getContext('2d');
ctx.clearRect(0,0,100,100) // clears "myCanvas" which is 100pixels by 100 pixels
ctx.beginPath();
ctx.arc( 50, 50, 30, 0, Math.PI*2/6 , false )...
I have the following custom view:
This I have achieved by using the Canvas' drawArc() method. However, with this drawArc() method I cannot limit the arc's inner radius.
What I'd like to have is something like this:
where there is only an outer ring left.
What I need is an drawArc() function where I can set the inner radius of the...
this is the hacker news ranking algorithm, which i think is a simple way of ranking things, espcially if users are voting on items, but i really dnt understand this, can this be converted to php, so i can understand it fully?
; Votes divided by the age in hours to the gravityth power.
; Would be interesting to scale gravity in a sli...