The (probably and hopefully) last beta versions of XAMPP for
Windows and Linux are available for public download in our
XAMPP BETA area. New in this version are: Apache
2.2.3, MySQL 5.0.24a, PHP 4.4.4 and 5.1.6, and phpMyAdmin
2.8.2.4.
Beta releases are only for testing purposes. We would very much
appreciate it if you could test this release and let us know if
you run into any problems.
If no problems are found the final version will follow this
weekend.
Follow me to the XAMPP BETA area
By nat
We build our conferences to reflect our Radar, and EuroOSCON is no different. Here's who'll be keynoting in Brussels in two weeks' time:
- Tim O'Reilly
- Tim's going to talk more about the challenges facing open source. From services as an alternative to the distribution that triggers open source licenses, to software that's useless without its accompanying data, and other facets of the 2006 software world that weren't issues in 1996.
- Tor Norretranders
- The conference focuses on user-generated content, applying the skills and lessons of open source beyond software. Tor has written about generosity, which appears to be a key part of open source.
- Steve Coast
- Steve wowed people at Where …
InnoDB uses its own mutexes and read-write locks instead of
POSIX-mutexes pthread_mutex*, the main reason for that is
performance, but InnoDB's implementation isn't ideal and on
modern SMP boxes can cause serious performance problems.
Let's look on InnoDB mutex (schematic for simplification):
PLAIN TEXT CODE:
- spin_loop:
- for (i=0; i<innodb_spin_locks;i++)
- if (mutex_try_lock()) return; // success
- // we are here if spin loop was not successful
- reserve_cell in array of cell;
- wait on condition_variable in reserved cell;
innodb_spin_locks is configurable via system variable innodb_sync_spin_loops (default value is 20)
There we have:
1. Spin-loop - InnoDB uses spin-loop in hopes thread locked mutex
is very fast and will release mutex while current thread runs in …
(See bigger version with better quality at https://chorizo-scanner.com/flash_morcilla )
This video shows you how Morcilla, our brand new PHP extension, lets Chorizo! have a look inside your application on the server.
We are able to hook into every PHP function and trace the payloads of Chorizo!. By default, Morcilla hooks into the whole MySQL function family, fopen, mail, include/require/include_once/require_once, preg_* and others. With a ZendEngine patch, we are able to trace unset variables and a lot more.
See the video how it works (Google Video, YouTube). Check out the …
[Read more]The (probably and hopefully) last beta versions of XAMPP for Windows and Linux are available for public download in our XAMPP BETA area. New in this version are: Apache 2.2.3, MySQL 5.0.24a, PHP 4.4.4 and 5.1.6, and phpMyAdmin 2.8.2.4.
Beta releases are only for testing purposes. We would very much appreciate it if you could test this release and let us know if you run into any problems.
If no problems are found the final version will follow this weekend.
I’ve just improved the MySQL duplicate index checker I whipped together a few days ago. As I guessed, my hasty coding left some things to be desired. I’ve fixed some bugs, added support for finding duplicate foreign keys, and switched to a command-line parsing library that comes standard with Perl, so it’s more convenient to run without needing to fetch modules from CPAN. You can download it from the original article.
This is another bugfix release with only a couple of module-related new features.
The news for this release are:
* “fixed a bug with using the alternate search backend. database search was still done while it shouldn’t.”
* MFH: addon.php allows for addon scripts that are implemented using a module
* Added extra hook ‘posting_custom_action’ to the posting editor code
* MFH: Added signing of editor form data to prevent data tampering
* Added a simple general purpose private key based signature system
* redirect back to vroot if mark-read is used (fixing #403)
For users running 5.1.15 we recommend to replace at least search.php to lessen the load on searching. A couple of smaller fixes were also implemented therefore we recommend every user running phorum 5.1.x to upgrade to this version.
If you want to see the full changelog you can find it here …
[Read more]This is probably well known issue for everyone having some MySQL experience or experience with any other SQL database. Still I see this problem in many production applications so it is worth to mention it, especially as it is connected to MySQL Performance. No it might not affect MySQL Performance per say but it limits our ability tune MySQL Performance as queries become fragile - changing execution plan leads to different query results.
So what I'm speaking about ?
Lets say you have query something like SELECT A,B,MAX(C) FROM TBL GROUP BY A - what would you expect from such query ? Column A is part of group by so its value is same for whole group. MAX(C) is also particular value for each group, while B is not part of GROUP BY and may well correspond to different values. Which one are you looking to get ? In fact this is where results becomes non-deterministic and fragile - any B from the group could be returned, …
[Read more]
My conversion tool is getting better, soon time to release.
What makes it possible is really that T-SQL is such a poor
language, not much to take care of. But that is also the problem,
since som features are far from perfect, T-SQL code contains a
lot of complicated constructs, like error handling with goto's,
and checking @@error efter every SQL statement. Converting that
to MySQL would make horrible code, in a system where much better
error handling is available. But there is currently no GOTO in
MySQL...
So that will be unsolved, GOTO's and labels etc. Also references
to SQL Server specific system tables, views, procedures and
varibles will be largely unconverted.
Given the following scenario:
Addresses | ||
---|---|---|
name | group | city |
Johnny | Friends | Cambridge |
Kevin | Friends | Allston |
Justin | Coworkers | Easton |
Aya | Coworkers | North Andover |
Josh | Family | Groton |
Connie | Family | Easton |
In a database, that could be represented as such:
CREATE TABLE GroupNum (
…