Hey…

What are you looking up here for?

About John L

I am a homeschooled boy living in New York City.

Zermatt

My second winter trip was to Zermatt, a tiny little town tourist attraction. People ride around on exalted golf carts, unless you’re going to a very expensive hotel where they take you there on a horse.

Thursday

We took a train from Zurich to Visp, where we took a train to Zermatt. We stayed at a Best Western with an awesome pool, ping pong table, fooseball, and much more. It was late in the day, so we didn’t do much. We just floated around in the pool. Dad went to a supermarket and bought some food for dinner that night.

Friday

Friday was our big day. We got up early, ate a delicious breakfast (pound cake) and went to a ski lift that would bring us up the mountains. The first stop was Furi, which was a stepping stone up 1000 feet. Then the next main stop was Schwarzee, where there actually was a hotel. The next stop was Trockener Steg, where we got off and boarded another lift to the Matterhorn Glacier Paradise, or Klein Matterhorn. I had serious altitude sickness at the top, and only Haribo Coca Cola gummies and hot chocolate could make me feel better. We ate at the Cafe DuPont, and then just drifted around the hotel for the rest of the day.

Saturday
Today we took a cog railway up to Gornergrat, then went sledding on a sledge run at Rotenboden for most of the day. My mom was a good driver, but whenever she turned snow blowed into my face. Dad didn’t learn how to break until the fifth and final run, but he went extra slow, so it wasn’t as exciting. When we went back we ate dinner at this really awesome place. I got a raclette. We then went back to the hotel.

Sunday

Today we toted a couple plastic sleds, in search of hills. We followed a path to Zum See, but the restuarant was full, so Dad made us walk to Furi, where we ate a good pizza (we were very close to the border). But we found a good sledding hill, which we did until I went over a bump and hurt my butt. So then we went to the Matterhorn Museum, which was nice.

So after 4 days we headed back to London. I really liked Zermatt. It ranks number 2# on my favorite countries (Number 1# is probably either Scotland or Poland, and in last place is probably either Milan or Istanbul).

By | February 12th, 2015|Uncategorized|0 Comments

In the Days of King Alfred the Great

alfred

I recently read a book called In the Days of King Alfred the Great by Eva Tappan. It was about King Alfred the Great (duh!). This book told me about his life, family, and friends. It was informative, instructive, and fun. King Alfred was a Saxon king who fought off the Dane invaders. He was most famous for the story of the cakes. King Alfred was hiding from the Danes, and he had to stay in a poor man’s house. The man’s wife didn’t know Alfred was king, and told him to watch the cakes while she was gone. King Alfred just thought about how he would counterattack the Danes. He saw burning ships in his mind, which were really burning cakes! Some think this story isn’t true, and it’s very likely it isn’t. King Alfred finally shook the Danes off of England, and everyone was happy. Overall, I think I learned a lot from this book.

By | February 5th, 2015|Uncategorized|0 Comments

1 Year In London

2015

1 year in London… What have I accomplished? For starters, I have lots of stamps in my passport (England, USA, Netherlands, France, Poland, Germany,I really should have Austria but I don’t). I made Homeschoolson. I started to take coding seriously. I started taking history seriously. Really seriously. Half the books that I read are Horrible History books. Other than my IQ growth,
I started playing more soccer/football. When I go go back to the States, I’ll be dancing the ball into the goal! I’ve also seen new cultures, new people, new food, and new tastes. 2014 has been an important year for me. So, what am I going to accomplish in 2015? Well, my goal is to earn 2000 dollars by the end of the year. So far I’ve been procrastinating and I haven’t earned a single penny. (Oh well, we always break those resolutions anyway.) I’ve achieved 39481 hits on this blog. I’ve read new books, made new friends, homeschooled myself with the piano (the 2 teachers either quit or got fired), memorized new things(the Tube), and had new expieriences. I don’t know what’s in store for me this year. I’ve done a lot last year. I hope this year will be the same.

By | January 19th, 2015|Uncategorized|0 Comments

Report on Galileo

Justus_Sustermans_-_Portrait_of_Galileo_Galilei,_1636

Galileo Galilei by John

Galileo was a scientist who asked questions. He was the first “real” scientist. He believed in experimenting. Galileo was born in 1564 and died in 1642. He lived in Venice most of his life. He studied math, science, and astrology. He studied in Pisa. He became a professor at Pisa, even though he flunked out of college. His ideas were considered OUTRAGEOUS at the time. He was popular with the students and hated by the other professors. His most famous discovery was that the sun was the centre of the universe. Galileo invented a balance called the Hydrostatic Balance. He also made a better version of the telescope.

  • His most outrageous idea was that the sun was the centre of the universe. Aristotle thought that the Earth was the centre of the universe. Galileo proved this wrong using a pendulum.
  • He proved that heavier objects fell the same speeed as lighter objects as long as the objects have the same density.
  • Galileo liked to look out of his telescope. When he had the idea to look up, he discovered Jupiter’s moons.

Galileo was put unjustly put on trial for saying things against the church. He was only put on trial because the bishop was losing power, and needed to do something to show his power, even if it meant losing a friend. Galileo had to spend the rest of his life on a farm in the italian countryside.

Galileo was a great man. His discoveries were vital to today’s scientists. He led the way to many important discoveries.

By | January 18th, 2015|Uncategorized|0 Comments

Express.js

express_0

Express is a Node.js framework. I like it because it is great for making requests and flexible web apps. I am making a cool app with Express that I will add a link as soon as I deploy it to Heroku.

By | January 15th, 2015|Uncategorized|0 Comments

Reading List

readinglist

Yesterday I made a Reading List Application from a video on Code School. My reading list app is going to be uploaded on to this site and I will add books I recommend. It was made with Ember.js, an awesome Javascript library. It allows you to add books, but not save them on the server. I will add a link soon (if I can get my ftp to work).

By | January 13th, 2015|Uncategorized|0 Comments

Brill.js Info

The source code is here. Here it is on npm. Here is some example brill code: get("package.json",function(){}); This code would send a get request to package.json and return it. The main library is pretty buggy, and I have to refactor it.

By | January 9th, 2015|Uncategorized|0 Comments

What I Got For Christmas 2014

I got a lot of loot this Christmas. This post will show you my highlights starting with:

high-elves

  • High Elves Army Book
  • Victorinox Swiss Army Knife
  • swissarmyknife

  • 20 Horrible Sciences, 4 HOrrible Histories, 10 HOrrible geographies.
  • But the winner has to be….

  • Benny’s Spaceship, Spaceship, SPACESHIP!
  • SPACESHIP!!

    I got tons of presents this year, so many, it would take a long time to list them all. Merry Christmas and a Happy New Year!

    By | December 25th, 2014|Uncategorized|0 Comments

    Brill.js

    Brill.js

    is a javascript library that I made. It is like jQuery but feels like Rails because of how the data feels. I will make a video on how to use it.

    By | December 16th, 2014|Uncategorized|0 Comments

    Creating A Rails App – Views

    Ruby_on_Rails.svg

    Views are the part of the app that users see. To make one, go to this path: /app/views. You will see a folder called layouts. This contains your templates. If you made a model, then you should see a folder named after it. To use the views, make 2 files: index.html.erb and show.html.erb. Erb stands for Embedded Ruby. To use embeded Ruby, write <% @e = Example.find(1) %>. This doesn’t print out, so you have to write this to print it out: <%= @e.title %> . THe equals sign is very important. But this feels dirty, writing this logic in erb. This should go inside a controller instead. We will discuss controllers in part 3.

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

    Creating A Web App With Rails – Models

    Untitled

     

     

     

     

     

     

     

     

     

     

    Your previous app is great on the client side, but not on the server side. I am going to cover on how to make a rails app. The first thing you need, is rails. Once you have rails installed, go to your command line and write $ rails new 'your app name goes here' . Then cd into the new folder you just created. Most rails apps are centered around a database, so let’s start there. In the app you see in the picture, there are 2 models. A model is a class for the data you send in. To make these models, write rails generate model ModelName *properties go here*. An example of the property syntax looks like this: name:string number:integer boolean:boolean. So you made the model, but you don’t have any instances of the model. To make one, write $ rails console. When that loads, write ModelName.create(exampleProperty:"Hi"). This saves to the database,but doesn’t do anything yet. Your user doesn’t see anything, and there’s no server. To solve the last problem, write $ rails s. But when you visit localhost:3000, it will throw an error. This is because you need to rake the databse by writing $ rake db:migrate. As for the first problem, we will cover that in part 2, Controllers and Views.

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

    How to Create a Web App Part 4

    git

    When creating a web app, you will always need a backup. This is where Git comes in. First you have to download git (if you don’t have it). Then (with your command line) you cd into your folder. Write git init. Then look in your newly created .git folder. Once you’ve found your newly created repository, go back in to your command line and write git clone all *repository name*. There are your backups! Now for some best practices. It is always good to minify your js files. Also, put your script tags at the bottom of your body. Here are some CSS best practices: When you want to change the content of an item when the mouse clicks, don’t use jQuery. Use some pseudo classes instead. For example:

    p{
    color:red;
    }
    p:hover{
    content:'';
    color:blue;
    }

    Is better than using jQuery. If you use this, make sure you add the content value!

    By | December 1st, 2014|Uncategorized|0 Comments

    How to Create a Web App Part 3

    server

    If you need to make a server for your app, you have to use Node.js. The first thing you need to do is install node and npm. Then, go into your Node command prompt. Then you have to change your directory. It sometimes helps to move your app into a different directory. Using the command cd you have to go into your App folder. To go up a directory, use cd..
    Then, when you are in your App folder, write npm install http and press enter. Then write http-server and hit enter. Wait for it to finish and you have your server! This is all you need to know to create a web app.

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

    How to Create a Web App Part 2

    myapp

    The picture above shows an example of a web app I am producing. It is a Christmas store I made with Angular.js. In order to add these libraries, make a folder called libs and download your libraries from the web. Save the libraries into libs. Then, in your index.html, add more of those script tags linking to those libraries. As your js starts to get complicated, you need something to debug it. This is where Google Chrome DevTools come in. Simply press F12 on your keyboard and it comes up. You can see your errors in the console. There is a lot of stuff in DevTools, but there is a course on Code School that’s free and helpful. You may need to save data on a server. This is where Node comes in, and a story for Part 3…

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

    How To Create a Web App Part 1

    demo1

    I’m assuming you have fair knowledge of HTML and CSS.
    A good text editor is Notepad.

    The first step to creating a web app is to make a folder called App and put a index.html file in that folder using Notepad. Make sure the index.html has a .html extension! Then edit your index.html. Right click on the index.html and open with Google Chrome (or whatever your browser is). The next step is to create your stylesheets and add your Javascript. Make a folder inside your App folder and call it css. Inside css, create a style.css using Notepad and put some styles into it. In your index.html, make a link to your style.css. Then make another folder in your app called js. This will store all of your Javascript (Javascript is completely optional, but is recommended). Add a script tag to index.html containing a link to your js (You should know how to do this). You may notice that jQuery doesn’t work! This because you need the jQuery library, which you can get at jquery.com. I will discuss how to add libraries in the next part.

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