Archive | May 2014

A huge machine to do a Rubik’s Cube.

This video shows a machine made with Lego bricks and controlled with an iPhone to manipulate and solve a Rubik’s Cube.

Very impressive stuff.

 

 

 

 

RockMarc

@DebuggingWorld

Science at Jimmy Kimmel show.

For once I will post a Jimmy Kimmel video. It has students bringing a incredibly complex machine that does an incredibly simple thing.

That’s a Rube Goldberg machine.

https://www.rubegoldberg.com/rube-tube/jimmy-kimmel-live/

 

Links:

http://www.rubegoldberg.com/

http://en.wikipedia.org/wiki/Rube_Goldberg

 

RockMarc

@DebuggingWorld

Webmasters, beware of the user inputs.

Dear webmasters, I know you’re probably aware that users can do a lot of things with the forms you let them fill on your websites.

But in case you didn’t know here is a really simple way to modify html content of the page you’re on.
With Google Chrome, open the developer tools (F12 on Windows operating systems). Click on the “Source” tab.
Double click on any value or code you want to change. Type whatever you want. That’s it

GoogleHack2

Of course it’s harmless if you just change text in the page for example. All the modifications will be gone on the next refresh of the page.

But if you have an HTML drop-down list on a page, asking you how many items you want to create, you can just change the value of the <select><option> and click on submit.
Unless the webmaster double check what you entered, you will be able to create 1000 items instead of the 5,10,15 or 20 planned by the webmaster.
My advice, double check with conditions all the values you get from users.

 

 

RockMarc

@DebuggingWorld

I wish I could show a new build of Shootius

But it isn’t done yet. There are many new improvements in my current build including the ability to launch it without having Visual C++ redistributable.

I’m stuck on some bugs which are stopping me from finishing the new features.
Maybe I’m aiming too high with this one, but I’m having fun coding it anyway.
My little shoot’em up is getting better and better. 🙂

Meanwhile I’ve started learning ColdFusion. It’s a programming language made by Adobe. It’s a server language just like PHP, ASP.NET and JSP.
It’s based on markups. Everything you do is with markups. There are the usual loop structures, conditional structures, and equivalent of classes and objects.

What I like about it, is the fact that it seems thought from the beginning for the actual technologies.
You see great tools already existing for dealing with databases for example.

It’s a little bit hard to get used to this new language because of that kind of syntax:

<cfinvoke 
    method = "method name" 
    returnVariable = "variable name" 
    argumentCollection = "argument collection" 
    ...>

Which would mean that in other usual languages:
variablename = methodname(argument1,argument2,argument3);

Apparently it’s Java based and it’s cleaner(code-wise) than PHP.

 

 

RockMarc

@DebuggingWorld

Fighting viruses, defending the net

Mikko Hypponen shows some viruses, their effects, how you can sometimes track their makers and what could happen if we didn’t fight them.

 

 

RockMarc

@DebuggingWorld