Facebook, is it evil?

Just testing system to spam facebook with my weblog posts. It is simple WP plugin and Facebook aplication.
Aplication is working from http://apps.facebook.com/braindump

Posted in Anything | Leave a comment

WordPress 3 bug

I don’t know very well about php and advanced wordpress technology. But new and clean install of wordpress 3 on my computer failed.
When I go to admin page I see error, that website didn’t respont. Apache returned zero byte answer… it was strange.
In Apache log there are lines like this:

[Fri Jul 16 21:53:27 2010] [error] [client x.x.x.x] ALERT - canary mismatch on efree() - heap overflow detected (attacker 'x.x.x.x',
file '/home/testing/public_html/wordpress/wp-admin/includes/template.php', line 3553), referer: http://blog.savel.org/

It is php crash.

So I commented 3553 line and everything is working fine… Now I can see dashboard, users, but I can not see links and other admin pages…

What this fucking line for?

$screen = (object) array('id' => $screen, 'base' => $screen);

My computer is running Linux Debian current stable version. No fancy configurations.
(Server version: Apache/2.2.9 (Debian), Server built: Apr 19 2010 19:57:58.
PHP 5.2.6-1+lenny8 with Suhosin-Patch 0.9.6.2 (cli) (built: Mar 14 2010 08:14:04)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies)

Posted in Anything | 1 Comment

Pentium 4 cube

What interesting you can do with needless Pentium 4 or similar Celeron processors?

First of all you need to find 6 processors of one type. I wanted to use AMD processor, but dimensions of its housing are a little bit different. Thus I chose 6  Pentium 4 processors, the old ones with small legs.

pentium 4

The following processors were used for the experiment:
Pentium 4, 1.9GHz/256/400/1.75V
Celeron 2.8MHz/256/533
Pentium 4, 1.5GHz/256/400/1.75V
Celeron 1.7GHz/128/400/1.75V
Pentium 4, 2.4GHz/512/533/1.5V
Celeron 2GHz/128/400/1.525V.

pentium 4

All models were quite old. All covers were simply removed for the exception of one. Its crystal was soldered to housing with special solder. This special solder made me some troubles when I soldered the final product:

pentium 4

The cube came out a little bit crooked, but it can roll out several gigahertz and megahertz 🙂

It’s quite heavy, as housings are made form red copper and nickeled. When you heat one side of it, the other became unsoldered… 🙂

Posted in Anything | 2 Comments

Cyclone III

After various financial speculations on the Internet and in real life, I gathered some money and bought through eBay auction Altera Cyclone III Starter Board. Another “starter board” is rambling somewhere in the post.

Cyclone III

I appreciate deeply all my countrymen who bought text mode LCD monitors and thereby sponsored my FPGA studies.

Posted in Anything, FPGA | Tagged | Leave a comment

Graphic LCD-pinout

I have gathered graphic LCD monitors from old devices (mostly from copiers). That’s simple monochromatic LCD monitors without controllers. An image should be dynamically tranferred from controller for these monitors. There are SED1351 or similar graphic controllers mostly. Maybe it’s possible to find a datasheet of SED, but not to find the monitors. I’ll try to look into several LCD monitors with the help of an active board.

Grafiniai LCD

By the way, these monitors often need negative voltage supply. The main logic is powered from 5V.

LCD monitor named “EDMMPU3BDF”, the white blue monochromatic graphic monitor 320×240, mostly has a touch screen.

1. screen_on (0-off, 5V- on)
2. nc
3. VSync
4. HSync
5. pixel clock
6. Vcc, +5V
7. GND
8. Vee, -25V (the same as pin 13)
9. D3
10. D2
11. D1
12. D0
13. Vee, -25V
14. contrast, ~-18V

Standard protocol is shown graphically (oscillogram):

protokolas LCD
Big picture for printing.
WF signal is used in several LCD circuits to generate the alternating current through LCD crystals in order to protect metallization from erosion. Not all LCD monitors use this signal. There is simple logic signal, which changes to each picture.

Posted in Anything | 8 Comments

Mouse = scanner

I found the information about optical mouse hacking on the Internet (http://spritesmods.com/?art=mouseeye). I had been looking for such mouse for a long time. The first which I found, had defective optical chip. But the second was more succsessful. 

You need to find an optical mouse of the older model, where the optical chip has 8 legs. A mouse of the new model has only one chip, where all interfaces (USB or PS/2) have already been integrated into the same chip.

mouse=scanner

The program was not written by me. However everything is quite clear. All data – change of coordinates and even the view under the mouse pad are read out through 2 wires. Here is an image got “through mouse eyes”:

mouse=scanner

Here is a scanner mode:
mouse=scanner

A connection scheme is very simple – the mouse is powered from 5V. Connect SDIO pin and LED’s anode (+) to the 12th leg of printer port, LED’s katode (-) – to the 5th leg and SCK – to the 9th leg. You need to check if mica and LED (mouse elements) are connected. Then disconnect SCK and SDIO pins coming into mouse controller. The collocation of optical chip (ADNS-2610, A1610 or like) is  following: 1 and 2 – mica, 3-SDIO, 1-SCK, 5-LED controll, 6-GND, 7-Vcc(+5V), 8-RefA (here a small capacitor is connected).

The software is the same as in original post. As my LPT1 port has burned out, I added additional I/O addresses of PCI board.

You can download source code and compiled MS Visual Basic program. There is one dll file (inpout32.dll) which you should copy to windows/system32 folder.

Mouse scanner software (binaries + source code).

Posted in Anything | 4 Comments

Cyclone 1

I have torn a board with Altera Cyclone chip from a defective plasma television. That’s EP1C3T100C8  chip: one hundred legs, but only 65,2910 logic elements, 59904 bits of memory and one PLL are intended for users. While my board production technology is not perfect and I still not have concept of the final product, I use a universal factory mounted adapter. I mounted the power, program and  configuration board to the adapter. I used simple wires for connection of both boards. As there was the single layer board, Kynar wires were necessary.

The right side:
Cyclone I
I shaded unusable legs and their numbers with black colour, as they distracted my attention. The inside marks do not disturb, but I think I’ll shade them too.

Here is the worse side (made by ironing technology, thus the quality is not enough):

Cyclone I
Here are mounted: two stabilizers VccIO-3.3V, VccINT-1.5V, several capacitors, oscillator 25 MHz, connected to 10th leg of the cyclone, several pull-up and pull-down resistors. A configuration chip is also soldered. I haven’t tested it yet, as my ByteBlaster, connected to printer port, is not able to reconfigure the chip. There is a way to force the cyclone to rewrite this chip itself, but I have not “grown up” to that yet. Two connector also are here: one for JTAG and the other for EPCS1 reconfiguration. 

Here are  Black and White PCB image and Cadsoft Eagle files. They differ from the bord in a photo as photo version has many mistakes. Theoretically, I corrected mistakes in the archive but probably made the new ones.

You can also find FPGA/CPLD chips in the oldest models of routers and servers, DSL modems, telecommunications equipment, “more exotic” PCI boards, i.e. in more expensive equipment of less circulation. Good hunting!

Posted in Anything, FPGA | Tagged | Leave a comment

Online Casino- how to find best

Do you want to try your luck? Or just want to have good time? Or just the boring evening? Why not to try online casino?

Sometime is very difficult to find good online casino. There are lots of Casino web sites, but how to find the best or how to filter fake ones. First of all check reviews in various web sites. Try to read some forums online to find real users reviews. Use your own brain- check all the fine print about the payout policies, check if casino have some independant financial auditors. Also, check if the game rules are not modified. Some modifications seams not very significant, but be very carefull- it may change your final results. Caveat emptor!

Rulete

There is one site I found. It differs from other sites that it have short descriptions and instructions about available games. For example, in page Online Roulette there is full description of clasic roulette game. This site even have small tips for begginner- this will not help you to get big bucks, but it will help you not to loose your money from silly errors. Mathematically it is very simple: The single-zero roulette game has 37 possible cases (36 numbers, plus 0). The double-zero roulette game has 38 possible cases (36 numbers, plus 0, plus 00). The odds vary with the type of bet. For example, the even-money bet: black/red, odd/even, high/low. There are 18 red numbers and 18 black numbers. The odds are calculated as 18 / 37 = 48.65% or 18 / 38 = 47.37%. The odds are not to be confused with the house edge or house advantage. But who cares about mathematics- there is luck and there is fun! 🙂

Blackjack

Roulette is a bit random game, but more advanced users can try Black Jack. There are more rules, more calculations, more chances to win and more fun. Just read review at BlackJack Online. It is mandatory reading for new player. In short words, you can understand how to play black jack game from this review. And not only in online casino, but even in real life casino. While there are many types of blackjack, all the basic rules apply for the most part. If you can master one, you can master them all. 🙂

Don’t forget- different Casino can use different blackjack rules. And there are lots of variants.

Posted in Advert, Anything | Leave a comment

GPS

I bought a new toy – GPS receiver (WBT300). It’s very simple  with USB and Bluetooth ports. I do not need it at all, but it’s very curious to play.

GPS

Some Chinese software is provided with this device. It shows already decoded information.  I checked, that coordinates remain quite stable. However, sometimes it’s seems to the device, that it goes somewhere at 0.16km/h speed. 

GPS

I was disappointed in height showing results. The height of my room varies from 60 till 170 m above sea level. I thought, that my house is stably fastened to the ground.

I haven’t demounted this device yet, but theoretically it should has some receiver, transmitter and RS232-USB adapter. The idee fixe appeared to bypass this USB port…

By the way, if you install virtual COM port of Windows,  the Hyper terminal program will help you to see all data “flowing” out of the device. Here is a sample:

$GPGSA,A,3,25,20,02,04,,,,,,,,,3.5,2.8,2.1*3E
$GPGSV,3,1,12,25,67,177,25,23,39,086,19,20,11,140,20,02,35,276,38*7C
$GPGSV,3,2,12,16,27,057,,29,06,344,17,27,49,200,14,13,83,064,13*75
$GPGSV,3,3,12,04,30,232,29,06,04,011,,08,19,208,,10,13,308,*75
$GPRMC,183101.000,A,5453.5577,N,02356.2293,E,0.00,214.57,120208,,,A*67
$GPGGA,183101.000,5453.5577,N,02356.2293,E,1,04,2.8,66.1,M,28.9,M,,0000*65
$GPGSA,A,3,25,20,02,04,,,,,,,,,3.5,2.8,2.1*3E
$GPGSV,3,1,12,25,67,177,25,23,39,086,19,20,11,140,19,02,35,276,38*76
$GPGSV,3,2,12,16,27,057,,29,06,344,16,27,49,200,14,13,83,064,12*75
$GPGSV,3,3,12,04,30,232,29,06,04,011,,08,19,208,,10,13,308,*75
$GPRMC,183102.000,A,5453.5577,N,02356.2293,E,0.00,214.57,120208,,,A*64
$GPGGA,183102.000,5453.5577,N,02356.2293,E,1,04

Smarter people can identify the place and time of the experiment from that rubbish. I also understood several rows. But others remain mysterious.

Posted in Anything | 2 Comments

Dread

Here I introduce Dread to you. Her nickname is “Skurokas”. 

Skurokas

Click here for more details: http://www.gwaten.com/. 🙂

Posted in Anything | Leave a comment