Yup, ran across this one, which to the popular believe as the errors which every .net programmer should face. The problem arise when i tried to compile a new assembly version, and then when i compile/build old project, the project complains about The located assembly's manifest definition does not match the assembly reference. Tried to delete the assemblies, removing the references but to no avail.
Finally, i tried to modify app.config and then changes this line (yours might be similar)
<bindingRedirect oldVersion="0.0.0.0-1.4.0.0" newVersion="1.2.0.0"/>
Now the program compiles successfully. Hope to help someone else ;)
Ciaoo!
Kamis, 06 September 2012
Selasa, 04 September 2012
Win7 XAMPP, port 80 problem. Could not start xampp
I could not start xampp on my computer, i think i need to put the findings here. Just in case i need them again, or someone else having the same problem as i had
- Open your comand prompt and type netstat -ano
- Search for the line which is listening to port 80, note the PID
- If the PID is not 4 then you may have the solution right away. Go back to command and type tasklist
- Search for the PID, if it's Skype, you need to change the port by using the advanced configuration panel, if any other program, re-check if you need the program, if you don't need it, you may simply do a taskkill -pid [pid]
- You may restart your xampp now.
- Other area you might want to check :
- Disable IIS Service: World Wide Web Publishing
- Disable BranchCache Service
- SQL Server 2008 R2, turn of the Error Reporting Feature - If the PID mentioned earlier was 4, as the last resort you might want to do the following
- Open Device Manager
- View » Show hidden devices
- Under the tree-view, Expand Non - Plug and Play Drivers
- Search for HTTP and then disable it
- Do a reboot
**If you have trouble with printer spooling after this steps, you might want to change the default port by modifying the httpd.conf file and change the port 80 to something more unique to yourself , but after you change the port, say for example port 98 you need to access the local site using this : "http://localhost:98"
Update:
another way to try which one is using the port 80, use telnet
- If telnet client is not installed, install it by opening cmd prompt and then run it as administrator then type "optionalfeatures" without the quotes, and then find telnet client and then install it.
- Run telnet
- open host: o 127.0.0.1 80
- type : GET
- read the information there
Good luck All!! :)
Selasa, 26 Juni 2012
Some Library to ease your web-app development
I read some website, and i think i'm going to make my own note here, hope someone or someday we will find this usefull. This is a list of 'commonly' used javascript library when developing business application
- jQuery
Yep.. the famous jQuery.. hhe - jQuery treeTable plugin
A plugin which will render a tree-like table, table rows which have child for them.. that's a tree-table - jQuery contextMenu
Just do a "right click", and there you have it, a customized contextMenu for your web app - BeutyTips
The name says it all.. i guess.. - Editable and AutoComplete
Editable : any area of your web page is editable by clicking them. AutoComplete : FB/twitter like auto complete when you tag your friend - Color Picker
- jQuery numberFormatter
Entering the edit box makes the number goes normal, and leaving the edit box makes the number pretty.. 60000 => 60,000 - iScroll
IOS like scrolling? hmm eye candy.. - Mustache
Template-ing by using Javascript - Quicksand
Another eye candy.. i think iOS made some revolution here!! Shuffling ordering the divs! - JQGRID
Yep.. the mighty grid we all see everyday on our business application - Hotkeys
If you are here.. you should press cntrl-d (bookmark cubei pleaseee.. hhe) - jsTree
- Raphael
Small but powerful library to help you working with your vector drawings - gRaphael
do you need some chart? :)
That's it guys.. now go and invent an app! :D
c ya and God Bless!
Sabtu, 09 Juni 2012
KPR Bank Jabar :)
Tanggal 8 Juni 2012 merupakan tanggal akad kredit saya di Bank JABAR :) saya sungguh bersyukur karena 1 dari 3 dari target janji saya(Atap, Kendaraan, Tabungan) bisa saya penuhi buat keluarga saya.. hoho..
Nah, yang menjadi kejutan untuk saya adalah perhitungan bunga (walaupun sy tahu bahwa perhitungan bunga "floating" merupakan salah satu perhitungan yang cukup 'mengerikan') karena di tahun ke-2 cicilan KPR saya adalah (mungkin) sebesar 13.5%, dan lonjakan kredit bulanan menjadi agak sedikit 'lumayan besar' oleh karena itu, saya membuat sebuah excell spereadsheet yang mungkin bisa membantu rekan-rekan sekalian yang ingin menghitung cicilan KPR rekan (dikhususkan untuk bank JABAR)
Download file excell untuk menghitung KPR Bank Jabar - Prime Lending Rate (metode anuitas bulanan) bersangkutan, rekan-rekan bisa mendownload dari link berikut ini :
Semoga bermanfaat :D
Nah, yang menjadi kejutan untuk saya adalah perhitungan bunga (walaupun sy tahu bahwa perhitungan bunga "floating" merupakan salah satu perhitungan yang cukup 'mengerikan') karena di tahun ke-2 cicilan KPR saya adalah (mungkin) sebesar 13.5%, dan lonjakan kredit bulanan menjadi agak sedikit 'lumayan besar' oleh karena itu, saya membuat sebuah excell spereadsheet yang mungkin bisa membantu rekan-rekan sekalian yang ingin menghitung cicilan KPR rekan (dikhususkan untuk bank JABAR)
Download file excell untuk menghitung KPR Bank Jabar - Prime Lending Rate (metode anuitas bulanan) bersangkutan, rekan-rekan bisa mendownload dari link berikut ini :
Semoga bermanfaat :D
Kamis, 29 Maret 2012
Win7: Virus cause the folders to be hidden
Yep, a virus attacked my USB drive, it hide the folders, and replace them to a link which execute the naughty virus, using AV program, i manage to clean the virus, now the problem would be removing hidden attribute on the hidden folder..
I manage to enter the hidden folder using the path, but right-clicking and entering the properties doesn't allow me to change the hidden attribute for the folder
Fortunately, i come across this post here is a step by step guide :
I manage to enter the hidden folder using the path, but right-clicking and entering the properties doesn't allow me to change the hidden attribute for the folder
Fortunately, i come across this post here is a step by step guide :
- Open your command prompt, enter your path, as for my case it's H:
- run the command "attrib /s /d -r -s -h" without the double quotes
- wait for it..
A little explanation from the original author :
- /s apply the command to all files
- /d apply the command to all folders
- -h will clear the hidden attribute
- -s will clear the system file attribute
- -r will clear the read only attribute
Hope this helps someone ;)
Rabu, 28 Maret 2012
c++: Boost "Bind" and "Functions" snippet
This is a personal note on using the boost library, since i come from a Delphi background, been trying to figure out the callback method which is simple to use in c++.. and then i come across useful boost library functions.. well the code should tell you more.. so here is the snippet :
pretty neat doesn't it? :)
//Using bind with Boost.Function class button { public: boost::functiononClick; }; class player { public: void play(); void stop(); }; button playButton, stopButton; player thePlayer; void connect() { playButton.onClick = boost::bind(&player::play, &thePlayer); stopButton.onClick = boost::bind(&player::stop, &thePlayer); }
pretty neat doesn't it? :)
Selasa, 27 Maret 2012
3d: Rotations, Axes, Local Space, Parent Space, World Space
The biggest factor i need to overcome with 3d programming was the math-side of 3d programming, there are many terms, such as vector, matrix, gimbals, local space, world space, projections, quaternions, euclidean, eulers etc.. We need to understand those terms so that i could position my objects correctly
If you are like me, you will be thrilled to read this page : opengl transforms, great article, made me understand the concept of local space and the world space
If you work with 3dsmax, blender, autocad, lightwave, etc you will likely works with axes, you use this axes to translate, rotate, scale your models, even per-element base(vertices, faces, polygons, edges).
There is a concept which helps me a lot to program transformation, and that is the local axes, the forward, up, and left axes which is locally for our object. If you put your matrix data using OpenGL conventions (column major) and you save your transformation to your object, then the elements :
If you are like me, you will be thrilled to read this page : opengl transforms, great article, made me understand the concept of local space and the world space
If you work with 3dsmax, blender, autocad, lightwave, etc you will likely works with axes, you use this axes to translate, rotate, scale your models, even per-element base(vertices, faces, polygons, edges).
There is a concept which helps me a lot to program transformation, and that is the local axes, the forward, up, and left axes which is locally for our object. If you put your matrix data using OpenGL conventions (column major) and you save your transformation to your object, then the elements :
- local-x (default 1,0,0) would be (m0, m1, m2)
- local-y (default 0,1,0) would be (m4, m5, m6)
- local-z (default 0,0,1) would be (m8, m9, m10)
- and your object translation would be (m12, m13, m14)
But remember this matrix represents your modelview (that is your model matrix * view matrix)
okayh, now, what is this model matrix, and view matrix?
Rabu, 21 Maret 2012
Cygwin Note: Accessing your local drive
cygwin is a project where you will feel the linux-like environment, you could compile using makefiles using the command make..
This is a note to my self, to access your drive, type cd cygdrive/e/...
nice..
This is a note to my self, to access your drive, type cd cygdrive/e/...
nice..
Minggu, 18 Maret 2012
ProtonSDK: Having trouble with the 2d coordinates?
Err.. this post would be some kind of my own personal notes..
I had trouble tracking the TouchHandler component, there's something that i could not understand, why does when we setup the screen to become 320(width) * 420(height) - in pixels, when i click on the bottom of the screen, the point interpreted by TouchHandler component is larger than 420..
Tracking through the source code, i found that we should be cautious when choosing the video mode, locked landscape, setup fake screen procedures
You could trace that problem on file "RenderUtils.cpp" the procedure "ConvertCoordinatesIfRequired" .. this would be a good place for your breakpoints :)
You haven't tried ProtonSDK? developed by Seth. A. Robinson - www.protonsdk.com try them! they are free and powerful!
If you stumbled across problems, there is the IRC channel, and the forum.. the creator (Seth) actively maintains and answer your question..
Kudos to you Seth! ;)
Owkayh.. untill next time
I had trouble tracking the TouchHandler component, there's something that i could not understand, why does when we setup the screen to become 320(width) * 420(height) - in pixels, when i click on the bottom of the screen, the point interpreted by TouchHandler component is larger than 420..
Tracking through the source code, i found that we should be cautious when choosing the video mode, locked landscape, setup fake screen procedures
You could trace that problem on file "RenderUtils.cpp" the procedure "ConvertCoordinatesIfRequired" .. this would be a good place for your breakpoints :)
You haven't tried ProtonSDK? developed by Seth. A. Robinson - www.protonsdk.com try them! they are free and powerful!
If you stumbled across problems, there is the IRC channel, and the forum.. the creator (Seth) actively maintains and answer your question..
Kudos to you Seth! ;)
Owkayh.. untill next time
Senin, 12 Maret 2012
Exporting Blender file(Collada) for Irrlicht
I'm using the built-in Collada exporter for the time being, and i have never face any trouble of doing so
For those of you who are like me, which is a beginner to blender, this guide might help you a bit :)
ah yes, here it is :
**** Source : Irrlicht Forum
posted by Mel :
Basically, whatever you export from 3DSMAX (it may be extended to other software as well):
********** Ent of Message *********
Hmm.. do i need to add something more.. i will post when found something useful hehehe that's a promise.. i guess.. Err... i wanted to make a game, yet i stumbled learning things, let's enjoy the ride shall we?
For those of you who are like me, which is a beginner to blender, this guide might help you a bit :)
- When you export a model and load it from your Irrlicht Project, but it did not show the dimension (width, height, length bounding box aabb) which you designed, go back to blender, try to open up the transform panel (using the n key on your blender's 3d view), check if you have a rotation / scale which is applied at the object level? if yes,press ctrl+a and apply those transformation
- Dunno if i'm doing this right, but to compose your scene, you need to benchmark / do a repeat trial to compose(positioning, scaling, targeting) your scene, your camera, etc
- You need to assign material(s) and texture(s) if you need to colorize / make something out of that 'clay' look..
ah yes, here it is :
**** Source : Irrlicht Forum
posted by Mel :
Basically, whatever you export from 3DSMAX (it may be extended to other software as well):
- It should be either an editable mesh or editable poly without modifiers. You should collapse the stack of modifiers. At most, the only modifier supported is the skin modifier, for skinned objects.
- It should be a single object, as it will be loaded as a single object by the engine. For instance, the wheels and the body of a car should be 2 different exported objects.
- place the object, so its pivot is on the origin of coordinates. Again, to export a wheel correctly, it should have the origin of coordinates at the center.
- Use at most 2 channels of UVW mapping coordinates, and make sure that the exporter will write both correctly. For this is good that you understand how to use the unwrap uvw modifier. And for most models, use just one channel of mapping coordinates, The usage of 2 channels is more for the stage models.
- Vertex colors are supported by irrlicht, and they help a lot, learn how to use the vertex paint utilities. -Use square textures with power of 2 resolutions, or at least, textures whose dimensions are power of 2. (1024x1024, 512x1024, 64x256...)
- Use the least material ID's posible, those translate almost directly into meshbuffers, you want to have the least meshbuffers posible. -
- Skinned objects are supported, Use Skin instead of Physique, not that physique won't work, but the Skin modifier behaves closer to what Irrlicht does. And export just a single skinned mesh. Irrlicht only supports displacement mapping via geometry shaders, and those are only supported in Open GL,discard the modifier or collapse the mesh, and export the high resolution object.
********** Ent of Message *********
Hmm.. do i need to add something more.. i will post when found something useful hehehe that's a promise.. i guess.. Err... i wanted to make a game, yet i stumbled learning things, let's enjoy the ride shall we?
Jumat, 24 Februari 2012
Bermain dengan Irrlicht 1.71, Blender 2.6x = Game 3D
Akhirnya, sya mulai merujuk pada game 3d, setidaknya mulai untuk bermain-main dengan coding 3d.
- Sebagai engine playground saya, saya memilih irrlicht 1.71
- Untuk mengenal tentang transformasi, maupun pergerakan dalam dunia 3d, saya memilih menggunakan Blender 2.62 sebab kebenaran.. tutorial yang banyak saya temukan adalah tutorial untuk blender.. dan ada satu proyek add-on "irrb 0.6" yang bisa meng-export dari blender ke file "irr"
- Irr merupakan file yang berisi layouting dari object-object untuk game yang kita rancang
- Irrmesh merupakan file xml berbentuk text yang mendefinisikan suatu benda (mesh, cube, sphere, dst)
- Irrbmesh, sama dengan irrmesh, hanya bentuknya adalah binary, menurut sang pembuat library ini, loading time irrbmesh dibanding dengan yang lain adalah yang paling cepat.. konon katanya demikian :)
Ok, untuk post ke depan, mungkin saya akan mulai posting tentang game programming (yep, my passion..) untuk bisa game programming ada baiknya kita menguasai dulu editor 3d, setidaknya menguasai basic dari editor yang kita pilih, untuk mengenal apa itu vertex, vertices, cull, depth of field, face, edge, concave, polygon, normals, vectors, global coordinate, local coordinate, physics, soft body, rigid, static, dand seterusnya.. untungnya mas brow.. :) ini semua bisa kita temukan di software tangguh nan open-source bernama blender, dan blender yang saya gunakan adalah versi 2.62 dan sesuatu yang bisa di kagumi, renderer engine codename : cycles (bila dipergunakan dengan baik dan benar) akan memberikan suatu hasil yang fantastis gituu.. reality..
Dibawah ini adalah skill2 dasar yang saya kejar sebagai arsenal untuk 3d game programming
Minggu, 06 November 2011
ubuntu: Installing php apache mysql
Steps to install the webserver to your ubuntu ;)
open firefox and type this address : http://localhost/phpmyadmin
Well done and congratulation, you basic server (local) configuration is ready! ;)
basic information :
your local website storage located in "/var/www" if you would like to configure for other location, you should do it within the apache virtual hosts.. and that's another topics i will try to cover next time..
- sudo apt-get install apache2
- sudo apt-get install mysql-server
- sudo apt-get install php5-mysql
- sudo /etc/init.d/apache2
- gksudo gedit /etc/apache2/httpd.conf
insert this line(without the quotes) : "ServerName localhost" - sudo apt-get install phpmyadmin
- If you do not specify password for your mysql installation, you need to modify the phpmyadmin config file. open gedit and edit the phpmyadmin configuration file "/etc/phpmyadmin/config.inc.php" and uncomment those line similar to this one :
$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
open firefox and type this address : http://localhost/phpmyadmin
Well done and congratulation, you basic server (local) configuration is ready! ;)
basic information :
your local website storage located in "/var/www" if you would like to configure for other location, you should do it within the apache virtual hosts.. and that's another topics i will try to cover next time..
Rabu, 02 November 2011
Packet Sniffer
When you are working with the internet / network, you need to make sure that the packet you sent/receive is what you are planning to get / send
This open source packet sniffer is a very great project. It could even sniff your password when you even though you send them using ssl/encryptions
Here is the link to that wonderfull project : http://code.google.com/p/ospy/
Very nice!!
This open source packet sniffer is a very great project. It could even sniff your password when you even though you send them using ssl/encryptions
Here is the link to that wonderfull project : http://code.google.com/p/ospy/
Very nice!!
Rabu, 26 Oktober 2011
Delphi : Working with path, file name, directory
From time to time, you would need file manipulations integrated with your software(s), and you usually needs the library for working with your directory, these are couples of directory routines which is very much usefull
- ExtractFilePath : this will returns the directory for a file, including a backslash("\" ~ Env. Windows)
- ExpandFileName: Example : "c:\program files\yohan\is\cool\..\.." will returns "c:\program files\yohan\"
Two very handy functions! :)
Kamis, 20 Oktober 2011
Share : Palm Pre as a USB modem
Have the usb cable? have the data plan? have the thing to try out your palm pre as a modem? fear not as webosinternals once again provide us with the most sophisticated solution for Free, "Tethering" your palm pre as a modem..
you could tether using Wifi, Bluetooth, even USB connection..
without further ado.. let's get some do.., here is what you need to do..
cool rhyme isn't it? hehehe
you could tether using Wifi, Bluetooth, even USB connection..
without further ado.. let's get some do.., here is what you need to do..
cool rhyme isn't it? hehehe
- Download your driver, you could download it here.. (64bit driver) or (32bit driver)
note : after you downloaded the file, remove the txt extension from the downloaded file - Download FreeTether (look for it on preware, or using your webosquickinstall 4.x) or better yet, using google ;)
- Now plug your pre to the computer
- Open and run FreeTether, turn on the USB tethering
- Go to your windows device manager, look for the device.. something called "RNDIS gadget" with an exclamation mark on it's side
- Update your driver, navigate to where you store your download( ~ step 1 )
- Choose to manually look and install your driver
- After you install the driver, windows will automatically detected new network and tries to connect with it
- Wait for it..
- Enjoy surfing the internet :)
Have a great and blessed day everyone!
Selasa, 11 Oktober 2011
Security Descriptor using delphi
Come across a wonderful website which shows the beauty of a TSecurityDescriptor
come and get some from the programmer :
http://disprein.blogspot.com/2009/04/creating-win32-security-descriptor-with.html
come and get some from the programmer :
http://disprein.blogspot.com/2009/04/creating-win32-security-descriptor-with.html
Sabtu, 24 September 2011
Delphi:runtime TDBGrid change default row height
type TyourHackGrid = class(TDBGrid); TyourHackGrid(yourDBGrid).RowHeights[0] := 50;Nice indeed ;)
Delphi : Load png to TBitmap
HI there good friends, for those of you who would like to get load a jpeg image and then load the data to a TBitmap object, here is a neat good trick to get it done :
Have fun dear friends! ;)
procedure TForm1.btn1Click(Sender: TObject); var bmp : TBitmap; begin if(dlgOpenPic1.Execute()) then begin img1.Picture.LoadFromFile(dlgOpenPic1.FileName); bmp := TBitmap.Create; try bmp.Width := img1.Picture.Width; bmp.Height := img1.Picture.Height; bmp.Canvas.Draw(0, 0, img1.Picture.Graphic); Canvas.Draw(btn1.Left, btn1.Top + btn1.Height + 20, bmp); finally bmp.Free; end; end; end;Just dont forget to include the jpeg unit if you want to work with the jpegs, and for delphi 2009 and up you could add the PNGImage to work with png files on your delphi project
Have fun dear friends! ;)
Jumat, 23 September 2011
Playing with linux
Downloading file : use wget http://blabla.com/bla.zip
working with a tar.gz : tar -zxvf arcieve.tar.gz
since i like to play with installing the development.. this will include the header file XLib.h, XUtil.h
apt-get install xorg-dev
finding some file?
find / -name filename.ext -print
working with a tar.gz : tar -zxvf arcieve.tar.gz
since i like to play with installing the development.. this will include the header file XLib.h, XUtil.h
apt-get install xorg-dev
finding some file?
find / -name filename.ext -print
Rabu, 14 September 2011
WEBOS : Google map doesn't recognize your location?
A simple solution to that but might be not permanent is because of the latitude mode problem on the native google map application, me too had those similar problem, and browsing the web give me one solution that worked like charm ;)
Open your browser, clear your cache
hen go to the following address : http://maps.google.com/maps/m? mode=latitude
Google map application will open automaticly
and voila..
we had our location detected flawlessly.
Hints for the geek :
our palm pre phone is very much capable of the gps
try running this..
##DEBUG and you will find numerous wonderfull information there :)
Nice..
I love this phone..
Open your browser, clear your cache
hen go to the following address : http://maps.google.com/maps/m?
Google map application will open automaticly
and voila..
we had our location detected flawlessly.
Hints for the geek :
our palm pre phone is very much capable of the gps
try running this..
##DEBUG and you will find numerous wonderfull information there :)
Nice..
I love this phone..
Langganan:
Postingan (Atom)