Corona SDK vs Gideros in Performance test

To compare this two platforms, I performed a simple test – how many object can Corona and Gideros SDK handle. Application is very simple, just draw the objects on screen and attach physical body. Afterwards measures FPS. I launched this application for testing performance on simulator and on device( Samsung Galaxy S2). For simulator i used 3000 object and for my device just 1000.

FPS configuration in Corona and Gidero was set on 60fps. With blank screen Gideros runs with 60fps, but Corona with 64fps. So there was a slight difference in begging. Otherwise performance is almost the same for both on simulator. Average fps difference was 1.28fps.

On device there was a small bit bigger difference. Average fps difference on device 4fps.

So, at the end Coronas performance is a little bit better.

Advertisements

To find an adventure, you must be unprepared.

 Somebody asked me a question:” To which part of France you are going?” I said – don’t know.

When I was booking ticket, I wanted to go to Paris, so I looked up flights to France. I booked ticket to airport, which isn’t even near Paris. In first second I was surprised, because nothing like that happened with me before.

Next thought was – as I did this mistake I need to compensate, I must study some roads and transports, to be able quickly get back on the road. But that time I was overloaded with work, so I left it.

Couple days left till departure, and I’m getting more excited, as I don’t have a clue what I will do there and how I will find a way to Paris. The only thing what I did, to be better prepared for this trip – I bought the camcorder. Never tried before, but always wanted. So I will give a try.

What is adventure? – An unusual and exciting, typically hazardous, experience or activity.

Being unprepared is the same as walking in ‘unknown’ dark room. You can’t expect anything – you can trip, hurt some body part, meet somebody/thing, etc. As my experience shows, people tend to live in illuminated room. People like to live, in some way, for future. Living at present is considered as danger. Who like dangerous situations? I know that I don’t.

Blindness comes together with the preparation. As you are prepared for some activity, you can see and predict some part of things what may happen, you have a main road – to target. But what happens with all side roads, back roads? When mind is occupied with all that “right stuff for you”, there is no space for side roads.  For most possible activities there is already a solution prepared. Running out of cash, no worries there is saving account for this type of cases. In case of boredom I have my Gameboy with me. We are fulfilling our lives with things, so there is no space for unknown therefore there is no danger – adventures. Life turns in to do list – just follow these simple steps and you will be fine.

So this type of life style excludes adventures. Maybe we don’t need them?

Imagine cave men – he is living adventures life. When you are hunting with primitive tools, you are putting yourself in danger. You can only be prepared for very little things.

So is it evolution? As nowadays human don’t hunt – there is no danger. Tools are so advanced, that you could take out a country with one button press.

Nowadays it’s possible to simulate many things, so soon maybe all extreme sports will disappear one day, similar to gladiators.

So in future our environment may be soft, warm and without unknown.

Free tool for PE file analyze.

A freeware package with tools.
CFF Explorer is powerful PE editor. Which has a support for PE32/64 and .net is supported as well.

List of futures:

  • Features
  • Process Viewer
  • Drivers Viewer
  • Windows Viewer
  • PE and Memory Dumper
  • Full support for PE32/64
  • Special fields description and modification (.NET supported)
  • PE Utilities
  • PE Rebuilder (with Realigner, IT Binder, Reloc Remover, Strong Name Signature Remover, Image Base Changer)
  • View and modification of .NET internal structures
  • Resource Editor (full support for Windows Vista icons)
  • Support in the Resource Editor for .NET resources (dumpable as well)
  • Hex Editor
  • Import Adder
  • PE integrity checks
  • Extension support
  • Visual Studio Extensions Wizard
  • Powerful scripting language
  • Dependency Walker
  • Quick Disassembler (x86, x64, MSIL)
  • Name Unmangler
  • Extension support
  • File Scanner
  • Directory Scanner
  • Deep Scan method
  • Recursive Scan method
  • Multiple results
  • Report generation
  • Signatures Manager
  • Signatures Updater
  • Signatures Collisions Checker
  • Signatures Retriever

http://www.ntcore.com

[lua] Check if Sudoku puzzle row, column, box is valid

function checkRow(row, numb)
	local hit = {}
	for coll = 1, 9, 1 do
		if not inTable(hit, numb[row][coll]) then		
			if not (numb[row][coll] == 0) then
				table.insert(hit, numb[row][coll])
			end
		else
			return false
		end
	end
return true
end

function checkColl(coll, numb)
	local hit = {}
	for row = 1, 9, 1 do
		if not inTable(hit, numb[row][coll]) then	
			if not (numb[row][coll] == 0) then
				table.insert(hit, numb[row][coll])
			end
		else
			return false
		end
	end
return true
end

function checkBox(row, coll, numb)
	local hit = {}
	for i = row, row+2, 1 do
		for j = coll, coll+2, 1 do
		
			if not inTable(hit, numb[i][j]) then	
				if not (numb[i][j] == 0) then
					table.insert(hit, numb[i][j])
				end
			else
				return false
			end
		end
	end
	return true
end

function isValid()
	for i = 1, 9, 1 do
		if not checkRow(i, numberTable) then
			return false
		end
	end
	
	for i = 1, 9, 1 do
		if not checkColl(i, numberTable) then
			return false
		end
	end
	
	for i = 1, 9, 3 do
		for j = 1, 9, 3 do
			if not checkBox(i, j, numberTable) then
				return false
			end
		end
				
	end
	return true
	
end

function inTable(tbl, item)
    for key, value in pairs(tbl) do
        if value == item then return true end
    end
    return false
end

numberTable is two dimensional table.