Hey…

What are you looking up here for?

About John L

I am a homeschooled boy living in New York City.

Ember.js

emberjs-logo

Ember.js is another JavaScript library. You can write less code with the Handlebar templates, it has very useful APIs. Ember.js is built for productivity, and it automatically updates when some JS data changes. It works well with jQuery. Next post is on JSON and Ajax.

By | November 6th, 2014|Uncategorized|0 Comments

Twitter Bootstrap

bootstrap

Bootstrap is a CSS,JS, and HTML framework that makes responsive and mobile webpages. It comes with jQuery plugins, custom HTMLand CSS elements, and fonts. It is very useful for web designing and applications. It is used in dozens of sites. Next code week post is on Ember.js

By | November 5th, 2014|Uncategorized|0 Comments

The Every Tube Station Song

The Every Tube Station Song is a song to help you memorize all 270 Tube Stations on the London Underground (excluding the DLR and Overground stations).

The lyrics are this:

EVERY TUBE STATION
by Jay Foreman and Jon Gracey (it took us AGES!)

(spoken)
Hornchuch, Ickenham, Hainult, Cockfosters, Ravenscourt Park, Bromley-By-Bow
Morden, Monument, Mornington Crescent, Paddington, Plaistow, Pimlico.
Dagenham Heathway, Elephant & Castle, Richmond, Sloane Square, Becontree,
Brixton, Barbican, Chorleywood, Amersham, Eastcote, Alperton, East Finchley.

Kenton, Kennington, Fairlop, Farringdon, Mile End, Barons Court, Maida Vale,
Barking, Barkingside, Debden, Hammersmith, Vauxhall, Wembley Park, Tottenham Hale.
Northwood, Oakwood, Wood Green, Woodford, Colliers Wood and then Croxley,
Charing CROSS, King’s Cross St. Pancras, Brent Cross, Hatton Cross, Osterley.

Balham, Borough, Chesham, Hampstead, Loughton, Leyton, Leytonstone,

Stanmore, Snaresbrook, Greenford, Northolt, Northfields, Southfields, Marylebone.

Kingsbury, Queensbury, Queensway, Queen’s Park, Park Royal, Royal Oak, Burnt Oak then,
Aldgate, Southgate, Highgate, Moorgate, Notting Hill Gate, St. Paul’s, Neasden.
Oxford Circus, Piccadilly Circus, Lambeth North and Northwick Park,
Upton Park and Westbourne Park and Wimbledon Park and Stonebridge Park,
Warwick Avenue, Waterloo, Watford, Walthamstow Central with Wanstead,

Hounslow West and Hounslow East and East Ham, West Ham, West Hampstead.
Putney Bridge, Knightsbridge, Redbridge, London Bridge, Uxbridge, Perivale, Leicester Square,
Goodge Street, Baker Street, Bond Street, Warren Street, Old Street, Liverpool Street, Edgware.

(up a key)
West Acton, West Harrow, West Finchley, Kew Gardens and Lancaster Gate and Gunnersbury,
Westminster, Upminster, Russell Square, Euston Square, Totteridge & Whetstone, East Putney.

Ealing Broadway, Fulham Broadway, Tooting Broadway, Arsenal,

Stockwell, Chigwell, Seven Sisters, Blackhorse Road, Blackfriars, Temple,

East Acton, Oval, Bow Road, Colindale, Archway, Angel, Upminster Bridge,

Clapham Common, Clapham North and Clapham South and Swiss Cottage.

Acton Town and Camden Town and Chalk Farm and West Kensington,

Canning Town and Kentish Town and Sudbury Town and West Brompton.

Theydon Bois and Tooting Bec and Stamford Brook, South Kensington,

Rickmansworth and Mansion House and Marble Arch, South Wimbledon.

Dollis Hill, Gants Hill, Grange Hill, Sudbury Hill, Tower Hill, Hillingdon, Aldgate East,

Southwark, High Barnet, Earls Court, Bayswater, Pinner, Victoria, Mill Hill East.

High Street Kensington, Kensington Olympia, Ealing Common, Bermondsey,

Heathrow Terminals 4 and 5 and Heathrow Terminals 1, 2, 3.

Epping, Euston, Kilburn, Kilburn Park, Chalfont & Latimer,

Cannon Street and Canons Park, Embankment, Canada Water.

South Ealing, South Harrow, South Kenton, South Woodford, Canary Wharf, Harrow and Wealdstone,

North Acton, North Ealing, North Greenwich, North Harrow, North Wembley and Highbury & Islington.

Caledonian Road and Edgware Road and Finchley Road and Gloucester Road,

and Goldhawk Road and Holloway Road and Latimer Road and Preston Road.

Elm Park, Regent’s Park, Green Park, Holland Park, Hyde Park Corner, and Upney,

Moor Park, Tufnell Park, Chiswick Park, Newbury Park, Finsbury Park, Roding Valley.

Hendon Central, Hounslow Central, Wembley Central, Belsize Park,

Finchley Central, Covent Garden, Tottenham Court Road, Woodside Park.

Wood Lane, Hanger Lane, Chancery Lane, Rayners Lane, Turnpike Lane, Turnham Green, Buckhurst Hill,

Golders Green, Kensal Green, Parsons Green, Stepney Green, Willesden Green, Bethnal Green, Harrow-On-The-Hill

Arnos Grove, Ladbroke Grove, Boston Manor, Manor House, St. James’s Park and St. John’s Wood,

Shepherd’s Bush Market, Shepherd’s Bush, Harlesden, Holborn, Northwood Hills, Stratford.

Ruislip, Ruislip Gardens, South RuiSLIP, West Ruislip, Ruislip MAnor, Great Portland Street, Dagenham East, Bounds Green…

Bank.

(All credit to Jay Foreman for the song lyrics)

I memorized the whole thing and can play it on the piano!

 

 

By | November 4th, 2014|Uncategorized|0 Comments

Angular.js

angularjs

Angular.js is a Javascript library that connects HTML and JavaScript, like jQuery. Angular has these neat things called expressions. Let’s say this was my JavaScript: var test = “test”; To print that out on the page, you use an expression  in your index.html that looks like this: {{test}} When your page loads, it would display the contents of  the test variable. There is something called two-way data binding. When a variable inside an expression changes, so doeswhat the expression prints to the screen. Angular is a very nice library. Next post in Code Week is Twitter Bootstrap.

By | November 4th, 2014|Uncategorized|0 Comments

jQuery

jquery-logo

jQuery is a JavaScript library that allows interaction with the HTML and CSS. Every good site uses jQuery, espcially ones that use buttons and animation. Let’s say when you click this , some content would slide out. The jQuery code would look like this:$(document).ready(function(){
$('button').on('click',function(){
$(this).append('Some Text');
});
});

What happens is this: When the HTML code is ready, watch for the event of clicking the button. When that event happens, add some text. It is a lot quicker than using Angular or something else.

By | November 3rd, 2014|Uncategorized|0 Comments

Horrible Histories

Horrible-Histories-logo

Horrible Histories is a British book and TV series. The motto is “History with the horrible bits left in!”. It goes from the Awful Egyptians to the Woeful Second World War, with specials like 20th Century. I have Smashing Saxons, Vile Victorians, Terrible Tudors, Terrifying Tudors, Slimy Stuarts, Rotten Romans, Scotland, London, Stratford-Upon-Avon, 20th Century, Frightful First World War, and Woeful Second World War. I have even seen the Barmy Britain West End play. There is a magazine, which you can subscribe to on the site. You can find the TV series on YouTube.

By | November 2nd, 2014|Uncategorized|0 Comments

The Tube Challenge

tc_logo_small

The Tube Challenge is a challenge where you have to visit every tube stop in London. The record is 16 hours and 29 minutes. The winning route started at Chesham and ended at Heathrow Terminal 5. If I can do it, then I am the youngest person to do it. If I can break the record, then I will have two Guiness World Records. Of course, it will take nonstop planning, memorizing timetables, and luck. I hope to do it on Halloween.

By | October 24th, 2014|Uncategorized|0 Comments

CoffeeScript vs. JavaScript

coffeescript

Yesterday I watched some videos on CoffeeScript. CoffeeScript is a coding language that compiles in to JavaScript (JavaScript is an extremely powerful coding language that is used all over the web). I shall show you a block of CoffeeScript code:
function = ->
alert “Hi”

The JavaScript code would be:

var function = function(){
return alert(“Hi”);
}

Yet when you run the CoffeeScript code, the compiler translates the code to JS, then runs the JS. CoffeeScript is a powerful language!

By | October 22nd, 2014|computer programming|0 Comments

How a Keyboard Works

keyboard

The computer keyboard is very simple. You push a key, and it puts a letter on the screen. But how does it work? When you push a key, the metal part connects 2 wires which allows a current to flow to the computer. The computer measures the voltage and transforms the amount of volts in to binary. The computer compiler reads the binary, and a letter appears on a screen. Very simple.

By | October 20th, 2014|Uncategorized|0 Comments

How Hot Lightbulbs are

hottttttttttt

Once in New York, my lamp shade was tilted against the light bulb. I didn’t notice it at first, but it burned a hole through my lampshade! And if you think that’s hot, a halogen light burned my sock last night! Yikes! My dad once threw a wet rag at a halogen light bulb, in 1 second it dried, then it burst in to flames. Never touch a light bulb when it is on! LED lights are safer.

By | October 19th, 2014|Uncategorized|0 Comments

Liverpool

albertdock

Two days ago I went to Liverpool in England. It was very cool! After I took a train from London Euston, I stayed at a very nice hotel at 30 James Street. On the first day, I stayed at the hotel the whole day and ate dinner at Gusto on the Albert Dock. The second day, I got on a tour bus, and took it to the Albert Dock and I did the Big Wheel and then I took the tour bus to the World Museum, which was fun. Then I walked to the Cavern Pub and had lunch there. Then I took the bus to the Philharmonic bar and got a hot chocolate. Then I walked to Lime Street station and got my train back to London. Liverpool is very fun. You should definitely go!

By | October 17th, 2014|Uncategorized|0 Comments

Charlie and the Chocolate Factory

charlieandthechocolatefactory

Last night I saw the Charlie and the Chocolate Factory musical with my grandmother. It was by Covent Garden, so I got dinner and some sweets. Then I went to the Royal Drury Lane Theatre and saw the show. The special effects were amazing, and the songs were great. There was free ice cream in the intermission. And I got a seat in the Royal Circle! It was a great play! You should see it if you are in London.

By | October 14th, 2014|Uncategorized|0 Comments

Windsor Castle

WindsorCastle

Today I went to Windsor Castle in England. I first took the Tube to Paddington, got a train to Slough, and took another train to Windsor and Eton Central rail station. Then I walked to the castle. I walked around the center of the castle and I went to the North Terrace and saw the Doll House, which was pretty overrated and it was not worth the queue. I went to the apartments first, which was really cool and nice. The audio tours were great, so definitely get those. Windsor Castle is very big, but lots of it is closed. It took me about 2 hours. You should go one day!

By | October 12th, 2014|Uncategorized|0 Comments

Kew Gardens

kew-gardens

Today I went to Kew Gardens in Surrey,London with my grandparents. When I got there, I went to the Xstrata and Rhizotron Treetop Walk. It was very scary! Then I started walking towards Queen Mary’s Cottage. But my sister started complaining she was hungry, so I had to walk back to the Cafe at Victoria Gate. Then I went to the huge glasshouse and saw the plants and the marine exhibit. Then I walked up to the Log Trail. I got stuck in the rain for a short time, but I got there in the end. Then I walked to the Pagoda. Then I left. You should go to Kew Gardens!

By | October 10th, 2014|Uncategorized|0 Comments

Chopin’s 5th Etude

That is the song I want to learn to play. It is also called Black Key due to the Gb major key signature. It is very fast and the R.H. is hard to play. It will take me about 2 months to learn.

By | October 7th, 2014|Uncategorized|0 Comments