News for hackers. Stuff that matters.

mcdaid

Re:AI and Robotics in Agriculture in Japan [video] on Thursday June 08, 2017 @11:07AM (#14514676)
Unfortunately this is no longer true. In the wake of recent islamist attacks, it is now routine to seen armed police patrolling around cities.
If the transformations/transitions are handled by the graphics card the faster js becomes irrelevant. For example js performance on IPad is not amazing, but it will run many transitions smoothly.

As far as WebGL, it clearly is important for any serious 3d. But adding a slight 3d effect to a UI element should not require a detailed knowledge of shaders and 3d geometry.

Re:The Benefits of Bilingualism on Sunday March 18, 2012 @02:07PM (#3720314)
You make a fair point, but learning Italian or Portugese after Spanish is easy because they all share the same root language Latin.

An eastern language such as mandarin won't be much easier because you have learnt a second European language.

Computer languages have much more in common and have often copied earlier programming languages.

Re:Why we need Python in the Browser on Thursday March 15, 2012 @08:35AM (#3708101)
The language in the browser is not the problem to me. If I could use python it wouldn't change the fact that you still need to deal with the DOM, CSS and browser differences.
Re:No, really, pi is wrong: The Tau Manifesto on Wednesday March 14, 2012 @04:34PM (#3705212)
Hi posted this earlier, but it didn't get any traction. I guess the people here might be interested.

http://www.visnos.com/demos/pi#launch

Brilliant!
Re:4th State of Water on Friday November 11, 2011 @01:55PM (#3225692)
Celsius please, or at least have both.This is supposed to be science not a localised weather report.
Re:Codify: native coding environment for iPad on Thursday October 27, 2011 @05:49PM (#3165762)
Just finished porting a javascript fractal tree generator, the javascript version is at

http://www.mcdaid.eu/labs/codify1

and the code to run in codify is in the textarea (small)

I wonder what effect this could have on the local climate. Pumping out hot air into cool air at height of 800 metres has got to have some affect.

Now if the base is used area is used for growing plants then the air emitted at the top would be moist, which I imagine would cause cloud formation as it meets the cold air.

Re:Living life in 25min increments on Tuesday June 21, 2011 @09:35AM (#2678659)
Actually I have been using a similar technique for the last six months. However 30mins intervals and I only do it on days when I feel tired or unmotivated.

At the end of the period I go for a walk, or on an exercise bike for 5-10 mins. The best part is physically leaving the computer stop the eyes getting tired and drifting into a zombie state of zero productivity.

When I start a session I usually jot down a particular task to work on and review at the end. It does not guarantee productivity, but the short periods with reviews helps keep focus.

Re:Why should anyone ever use a Google API again? on Friday May 27, 2011 @04:01PM (#2592866)
See

https://groups.google.com/forum/#!topic/google-appengine/ob-...

Clarifies that you will be paying per instance hour, instead of cpu.

Nothing is in concrete yet, if there is enough outrage amongst users maybe they will change their tune.

Re:What Really Keeps Poor People Poor on Friday May 27, 2011 @04:07AM (#2590779)
The latest attempt in the UK to deal with the problem

http://www.telegraph.co.uk/education/8540055/Schools-win-rig...

This is not exactly shocking. The quality of education has to be a factor as well. I am sure for most people an hour of one on one tuition, is more effective than a number of hours in a large class. Even more so if the rest in the large class are not interested in learning.
I was blown away by the google IO session. The idea of writing a game in Java and then having it converted to multiple formats, javascript/canvas/webgl, flash, android.

Quite amazing!

If they could add conversion to run on apple devices then this could well be a glimpse of the future.

Re:SVG vs Canvas, what format to choose? on Monday May 23, 2011 @05:08AM (#2575394)
On the topic of SVG and Canvas, I think it would be really useful if Canvas had a method similar to drawImage but instead could draw svg.

for example

var circle = document.createElementNS("http://www.w3.org/2000/svg, "circle"); circle.setAttribute("style", "fill:green"); circle.setAttribute("cx", 50); circle.setAttribute("cy", 50); circle.setAttribute("r", 25);

ctx.drawSvg(circle,x,y,w,h);

I think then we could have the best of both worlds, define complex shapes in svg, but use canvas for rendering. The advantage over just using svg is that every shape is in the dom, so if you want to draw 1000 similar shapes the dom gets cluttered.

Re:32 Javascript Alternatives with Pure CSS – Updated on Thursday May 19, 2011 @04:29PM (#2565302)
This is only the case if the user has not got a cached version of jQuery, which is likely if something like google's hosting service. In this case the jQuery code may well be shorter than the css especially with all the browser specific rules. In addition the jQuery version will work in all browsers.

Older »