Profile cover photo
Profile photo
Richard Cosgrove
Screenwriter • Script reader • Copy editor
Screenwriter • Script reader • Copy editor


Post has attachment
I want a freebie. OK?

Post has attachment

Post has attachment
An overview of the Rotherham child abuse scandal report, which I wrote for International Business Times UK.

#rotherham   #journalism   #unitedkingdom  

Post has attachment

Post has attachment
I wrote this: a look at the military equipment Ferguson police are using, and how it could be making the situation worse.

#ferguson   #policemilitarization  

Post has shared content
More people need to be like this granddad.

Post has attachment
Help with newcomer to coding and Javascript
Creating a grid of dots

I've decided to start learning how to code, and have settled with taking my first steps with Javascript. The reason is that Javascript is used to write scripts for software I use at work, which can help speed up my workflow.

I've found that OpenTechSchool is starting free training courses in my area, so I'm trying out its intro to Javascript course:

I have now started on a section about loops. You are required to write a Javascript program that'll draw a 20x20 grid of circle, using the following sandbox page:

We're instructed to use two loops, two variables, and that loops can go inside loops.

My idea was to write two loops: one to draw a line of circles, and another to move the origin point up 10 pixels, and for both loops to cut after 19 runs.

This is the code I came up with. All it seems to do is crash its tab (I'm using Chrome for these exercises).

function drawing() {
//counts along the horizontal to create the line of circles
var xcount = 0;
//counts vertically to stack the lines
var ycount = 0;
//counts the number of stacked lines, and increases ycount after origin moved.
while (ycount < 20) {
    moveTo(0, ycount+10);
    ycount +1;
//draws a row of 20 circles, 4 pixels in diameter)
           while (xcount < 20) {
                circle(xcount * 10, 0, 4);
                xcount = xcount + 1;

I've tried various different versions of this code, but I can't get rows to appear: I can get columns or arcs made of circles, but not a grid.

Can anyone suggest where I may be going wrong? 

This is the first piece of coding I've attempted in decades. The last time I did coding I used BASIC on my Acorn Electron, and I was 10 years old. 

Post has shared content
Google+ showing off again.
50 Google+ Tips by +Rick Eliason 
1. Create A Killer Hovercard:
2. Sharing to Circles vs. Publicly:
3. Google+ Communities:
4. Share Your G+ Posts on Other SM :
5. Report Issues With G+ or Suggest Ideas:
6. Create A "Save For Later" Circle:
7. Add A Large Image To Your Post:
8. The Various G+ Keyboard Shortcuts :
9. Share Someone Else's G+ Post :
10. Create A Mini Blog on G+:
11. Host A Google+ Hangout:
12. Leave A Wake of Value-Add In Your Path:
13. Take Control Of Your G+ Notifications:
14. SEO Your Google+ Posts:

15. How To Find Things On G+:
16. Formatting For Beautiful, Engaging Posts:
17. How To Disable Comments & Shares:
18. Attract More Comments With Gifs & Image Posts:
19. Start A Conversation With Someone :
20. Create An Event Using G+:
21. Enable Automatic Hash-tagging:
22. Don’t Give Up At The First Hurdle:
23. The Benefits of Link Shorteners:

More to come...

Post has shared content
One for RPGers of a certain generation.


Post has attachment
Painfully accurate and very funny look at independent British films cliches.

#britishfilm   #filmmaking  
Wait while more posts are being loaded