Better HN
topnewbestaskshowjobs
Log inSign up

mcdaid

58 karma · joined Mar 31, 2011 (15y ago) · 54 submissions

Submissions

comment 9y ago · link · parent

Unfortunately this is no longer true. In the wake of recent islamist attacks, it is now routine to seen armed police patrolling around cities.

2.

Unleash the power of HTML 5 Canvas for gaming – Part 1(blogs.msdn.com ↗)

1 points · by mcdaid · 14y ago · discuss

3.

Music helps children learn maths(telegraph.co.uk ↗)

1 points · by mcdaid · 14y ago · discuss

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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

8.

Happy Pi Day(visnos.com ↗)

2 points · by mcdaid · 14y ago · discuss

comment 14y ago · link · parent

Brilliant!

10.

Original drawings and blueprints from Brunel, Stephenson and Wren(networkrail.co.uk ↗)

1 points · by mcdaid · 14y ago · discuss

11.

The march of technological progress doesn't create jobs: it destroys them(blogs.telegraph.co.uk ↗)

2 points · by mcdaid · 14y ago · discuss

12.

Secondary schools fail teenagers over computer lessons, says Ofsted(guardian.co.uk ↗)

3 points · by mcdaid · 14y ago · discuss

13.

Darwin censored by the Turkish government's porn filter(blogs.telegraph.co.uk ↗)

4 points · by mcdaid · 14y ago · discuss

14.

Computing classes don't teach programming skills(telegraph.co.uk ↗)

2 points · by mcdaid · 14y ago · discuss

15.

You are Facebook's product: that's why you don't pay to use it(blogs.telegraph.co.uk ↗)

2 points · by mcdaid · 14y ago · discuss

comment 15y ago · link · parent

Celsius please, or at least have both.This is supposed to be science not a localised weather report.

comment 15y ago · link · parent

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)

18.

Ralph Fiennes blames Twitter for 'eroding' language(telegraph.co.uk ↗)

2 points · by mcdaid · 15y ago · 1 comment

19.

Failed fire project wasted £469m, says committee of MPs(bbc.co.uk ↗)

1 points · by mcdaid · 15y ago · discuss

20.

Public data: Government should get out of the way of innovation(telegraph.co.uk ↗)

3 points · by mcdaid · 15y ago · discuss

comment 15y ago · link · parent

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.

22.

Braben labels UK one of the least attractive places in world for games companies(cabume.co.uk ↗)

2 points · by mcdaid · 15y ago · discuss

comment 15y ago · link · parent

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.

24.

Facebook's photo app: an earthquake for Mark Zuckerberg's rivals(blogs.telegraph.co.uk ↗)

1 points · by mcdaid · 15y ago · discuss

comment 15y ago · link · parent

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.

comment 15y ago · link · parent

The latest attempt in the UK to deal with the problem

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

comment 15y ago · link · parent

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.

comment 15y ago · link · parent

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.

comment 15y ago · link · parent

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.

comment 15y ago · link · parent

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.
12