473,405 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

when memory_get_usage() isn't available to you...?

I wrote my own version of memory_get_usage() if that function is not
available:

[PHP]
if (!function_exists('memory_get_usage')) {
/**
* Determine the amount of memory you are allowed to have
*
* @access public
* @return long
* @link
http://us2.php.net/manual/en/function.memory-get-usage.php#64156
* @see link regarding usage of memory_get_usage() homegrown function
* @see DBActionPerformer
*/
function memory_get_usage() {
// NEW 1/15/2007: EMERGENCY PATCH TO REINTRODUCE DBActionPerformer
if (!class_exists('DBActionPerformer')) {
global $basePath;
if (!class_exists('MethodGeneratorForActionPerformer' ))
require_once("$basePath/include/classes.inc.php");
require_once("$basePath/include/db_action.inc.php");
}
$dbAP =& new DBActionPerformer(); // NO DB ACTION REQUIRED HERE JUST
THE CLASS OBJECT INSTANCE FOR getKommandOSArray() METHOD
list($memKommand, $memRedirect) =
@array_values($dbAP->getKommandOSArray('allowed-memory'));
$outputArray = array();
exec("$memKommand $memRedirect", $outputArray);
if ($_ENV['windir'] || $_SERVER['windir']) {
return preg_replace( '/[\D]/', '', $outputArray[5]) * 1024;
} else {
$outputArray = @explode(' ', $outputArray[0]);
return $outputArray[1] * 1024;
}
}
}
[/PHP]

This function works in *nix and Win XP Pro and Win 2003 Server with no
problems.

However, the dev environment is using Win XP Home with PHP 5.2.0 and
the function is not only not available, my homegrown version breaks as
well because "tasklist" is a DOS program only available to Win XP Pro
and Win 2003 Server, definitely not to XP Home.

Because of this I need another variation of my function but don't have
any idea where to begin to look. "pslist" is also not an option
because the business requirement for the app is that it must be a
dual-functioning (Windows and *nix) PHP PORTABLE web application, so
you have to pack it up and go every time, so having executables along
like "pslist" is not always a viable option.

Suggestions?

Thanx
Phil

Jan 15 '07 #1
4 2485
If you were willing to include pslist inside your app's directory, you
could use it only when necessary, thus preserving portability. For
example:

if (substr(PHP_OS,0,3) == 'WIN') {
// Only run pslist on windows
exec(dirname(__FILE__) . '/win/pslist -m ' . getmypid(),
$lines, $rc);
[...]
} else {
// Something else for unix
}

Another way might be to use the win32 API functions and call
GetProcessMemoryInfo from psapi.dll. Here's an example of calling a
win32 function:

http://us2.php.net/manual/en/ref.w32api.php#39181

If you have the php_win32ps.dll extension loaded, you can could call
win32_ps_stat_proc(getmypid()).

comp.lang.php wrote:
I wrote my own version of memory_get_usage() if that function is not
available:

[PHP]
if (!function_exists('memory_get_usage')) {
/**
* Determine the amount of memory you are allowed to have
*
* @access public
* @return long
* @link
http://us2.php.net/manual/en/function.memory-get-usage.php#64156
* @see link regarding usage of memory_get_usage() homegrown function
* @see DBActionPerformer
*/
function memory_get_usage() {
// NEW 1/15/2007: EMERGENCY PATCH TO REINTRODUCE DBActionPerformer
if (!class_exists('DBActionPerformer')) {
global $basePath;
if (!class_exists('MethodGeneratorForActionPerformer' ))
require_once("$basePath/include/classes.inc.php");
require_once("$basePath/include/db_action.inc.php");
}
$dbAP =& new DBActionPerformer(); // NO DB ACTION REQUIRED HERE JUST
THE CLASS OBJECT INSTANCE FOR getKommandOSArray() METHOD
list($memKommand, $memRedirect) =
@array_values($dbAP->getKommandOSArray('allowed-memory'));
$outputArray = array();
exec("$memKommand $memRedirect", $outputArray);
if ($_ENV['windir'] || $_SERVER['windir']) {
return preg_replace( '/[\D]/', '', $outputArray[5]) * 1024;
} else {
$outputArray = @explode(' ', $outputArray[0]);
return $outputArray[1] * 1024;
}
}
}
[/PHP]

This function works in *nix and Win XP Pro and Win 2003 Server with no
problems.

However, the dev environment is using Win XP Home with PHP 5.2.0 and
the function is not only not available, my homegrown version breaks as
well because "tasklist" is a DOS program only available to Win XP Pro
and Win 2003 Server, definitely not to XP Home.

Because of this I need another variation of my function but don't have
any idea where to begin to look. "pslist" is also not an option
because the business requirement for the app is that it must be a
dual-functioning (Windows and *nix) PHP PORTABLE web application, so
you have to pack it up and go every time, so having executables along
like "pslist" is not always a viable option.

Suggestions?

Thanx
Phil
Jan 15 '07 #2

petersprc wrote:
If you were willing to include pslist inside your app's directory, you
could use it only when necessary, thus preserving portability. For
example:

if (substr(PHP_OS,0,3) == 'WIN') {
// Only run pslist on windows
exec(dirname(__FILE__) . '/win/pslist -m ' . getmypid(),
$lines, $rc);
[...]
} else {
// Something else for unix
}
I tried your first suggestion and while it found and installed
pslist.exe with no problems at all, I never retrieved the memory usage,
or any memory usage:

if (!function_exists('memory_get_usage')) {
/**
* Determine the amount of memory you are allowed to have
*
* @access public
* @return long
* @see actual_path
* @link
http://us2.php.net/manual/en/functio...sage.php#64156 How to
use memory_get_usage() function in this context
* @link
http://groups.google.com/group/comp....35b76328c2bab1
Upgrade to client status of memory_get_usage() for use within Windows
XP Home
*/
function memory_get_usage() {
global $clientFolderPath;
$outputArray = array();
if (($_SERVER['windir'] || $_ENV['windir']) &&
@is_dir(actual_path(realpath("$clientFolderPath/win"))) &&

@is_file(actual_path(realpath("$clientFolderPath/win/pslist.exe")))
) {
exec('"' . actual_path($clientFolderPath) . '/win/pslist" -m ' .
getmypid(), $outputArray, $rc);
print_r(trim(substr($outputArray[8], 38, 10)) . " is your memory\n");

return trim(substr($outputArray[8], 38, 10));
} elseif ($_SERVER['windir'] || $_ENV['windir']) {
exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST',
$outputArray);
return preg_replace( '/[\D]/', '', $outputArray[5] ) * 1024;
} else {
exec('ps -o rss -p ' . getmypid(), $outputArray);
return $outputArray[1] * 1024;
}
}
}

Another way might be to use the win32 API functions and call
GetProcessMemoryInfo from psapi.dll. Here's an example of calling a
win32 function:

http://us2.php.net/manual/en/ref.w32api.php#39181
What do I need to be able to do this? This one lost me.
>
If you have the php_win32ps.dll extension loaded, you can could call
win32_ps_stat_proc(getmypid()).
Sorry, no can do here either. win32ps.dll is only available for PHP
5.1.2 and PHP 6.0, there is no version for PHP 5.2.0 publically
available, thus, there is no match and PHP won't install the DLL file
as a result.

if (!function_exists('memory_get_usage')) {
/**
* Determine the amount of memory you are allowed to have
*
* @access public
* @return long
* @see actual_path
* @link
http://us2.php.net/manual/en/functio...sage.php#64156 How to
use memory_get_usage() function in this context
* @link
http://groups.google.com/group/comp....35b76328c2bab1
Upgrade to client status of memory_get_usage() for use within Windows
XP Home
*/
function memory_get_usage() {
global $clientFolderPath;
$outputArray = array();
if (($_SERVER['windir'] || $_ENV['windir']) &&
extension_loaded('win32ps')) {
return win32_ps_stat_proc(getmypid());
} elseif (($_SERVER['windir'] || $_ENV['windir']) &&
@is_dir(actual_path(realpath("$clientFolderPath/win"))) &&

@is_file(actual_path(realpath("$clientFolderPath/win/pslist.exe")))
) {
print_r(trim(substr($outputArray[8], 38, 10)) . " is your memory\n");

return trim(substr($outputArray[8], 38, 10));
} elseif ($_SERVER['windir'] || $_ENV['windir']) {
exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST',
$outputArray);
return preg_replace( '/[\D]/', '', $outputArray[5] ) * 1024;
} else {
exec('ps -o rss -p ' . getmypid(), $outputArray);
return $outputArray[1] * 1024;
}
}
>
comp.lang.php wrote:
I wrote my own version of memory_get_usage() if that function is not
available:

[PHP]
if (!function_exists('memory_get_usage')) {
/**
* Determine the amount of memory you are allowed to have
*
* @access public
* @return long
* @link
http://us2.php.net/manual/en/function.memory-get-usage.php#64156
* @see link regarding usage of memory_get_usage() homegrown function
* @see DBActionPerformer
*/
function memory_get_usage() {
// NEW 1/15/2007: EMERGENCY PATCH TO REINTRODUCE DBActionPerformer
if (!class_exists('DBActionPerformer')) {
global $basePath;
if (!class_exists('MethodGeneratorForActionPerformer' ))
require_once("$basePath/include/classes.inc.php");
require_once("$basePath/include/db_action.inc.php");
}
$dbAP =& new DBActionPerformer(); // NO DB ACTION REQUIRED HERE JUST
THE CLASS OBJECT INSTANCE FOR getKommandOSArray() METHOD
list($memKommand, $memRedirect) =
@array_values($dbAP->getKommandOSArray('allowed-memory'));
$outputArray = array();
exec("$memKommand $memRedirect", $outputArray);
if ($_ENV['windir'] || $_SERVER['windir']) {
return preg_replace( '/[\D]/', '', $outputArray[5]) * 1024;
} else {
$outputArray = @explode(' ', $outputArray[0]);
return $outputArray[1] * 1024;
}
}
}
[/PHP]

This function works in *nix and Win XP Pro and Win 2003 Server with no
problems.

However, the dev environment is using Win XP Home with PHP 5.2.0 and
the function is not only not available, my homegrown version breaks as
well because "tasklist" is a DOS program only available to Win XP Pro
and Win 2003 Server, definitely not to XP Home.

Because of this I need another variation of my function but don't have
any idea where to begin to look. "pslist" is also not an option
because the business requirement for the app is that it must be a
dual-functioning (Windows and *nix) PHP PORTABLE web application, so
you have to pack it up and go every time, so having executables along
like "pslist" is not always a viable option.

Suggestions?

Thanx
Phil
Jan 16 '07 #3
Try running it from the command line first, you may need to click the
license dialog on the first run. Then try printing the $outputLines to
see what you got.

comp.lang.php wrote:
petersprc wrote:
If you were willing to include pslist inside your app's directory, you
could use it only when necessary, thus preserving portability. For
example:

if (substr(PHP_OS,0,3) == 'WIN') {
// Only run pslist on windows
exec(dirname(__FILE__) . '/win/pslist -m ' . getmypid(),
$lines, $rc);
[...]
} else {
// Something else for unix
}

I tried your first suggestion and while it found and installed
pslist.exe with no problems at all, I never retrieved the memory usage,
or any memory usage:

if (!function_exists('memory_get_usage')) {
/**
* Determine the amount of memory you are allowed to have
*
* @access public
* @return long
* @see actual_path
* @link
http://us2.php.net/manual/en/functio...sage.php#64156 How to
use memory_get_usage() function in this context
* @link
http://groups.google.com/group/comp....35b76328c2bab1
Upgrade to client status of memory_get_usage() for use within Windows
XP Home
*/
function memory_get_usage() {
global $clientFolderPath;
$outputArray = array();
if (($_SERVER['windir'] || $_ENV['windir']) &&
@is_dir(actual_path(realpath("$clientFolderPath/win"))) &&

@is_file(actual_path(realpath("$clientFolderPath/win/pslist.exe")))
) {
exec('"' . actual_path($clientFolderPath) . '/win/pslist" -m ' .
getmypid(), $outputArray, $rc);
print_r(trim(substr($outputArray[8], 38, 10)) . " is your memory\n");

return trim(substr($outputArray[8], 38, 10));
} elseif ($_SERVER['windir'] || $_ENV['windir']) {
exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST',
$outputArray);
return preg_replace( '/[\D]/', '', $outputArray[5] ) * 1024;
} else {
exec('ps -o rss -p ' . getmypid(), $outputArray);
return $outputArray[1] * 1024;
}
}
}

Another way might be to use the win32 API functions and call
GetProcessMemoryInfo from psapi.dll. Here's an example of calling a
win32 function:

http://us2.php.net/manual/en/ref.w32api.php#39181

What do I need to be able to do this? This one lost me.

If you have the php_win32ps.dll extension loaded, you can could call
win32_ps_stat_proc(getmypid()).

Sorry, no can do here either. win32ps.dll is only available for PHP
5.1.2 and PHP 6.0, there is no version for PHP 5.2.0 publically
available, thus, there is no match and PHP won't install the DLL file
as a result.

if (!function_exists('memory_get_usage')) {
/**
* Determine the amount of memory you are allowed to have
*
* @access public
* @return long
* @see actual_path
* @link
http://us2.php.net/manual/en/functio...sage.php#64156 How to
use memory_get_usage() function in this context
* @link
http://groups.google.com/group/comp....35b76328c2bab1
Upgrade to client status of memory_get_usage() for use within Windows
XP Home
*/
function memory_get_usage() {
global $clientFolderPath;
$outputArray = array();
if (($_SERVER['windir'] || $_ENV['windir']) &&
extension_loaded('win32ps')) {
return win32_ps_stat_proc(getmypid());
} elseif (($_SERVER['windir'] || $_ENV['windir']) &&
@is_dir(actual_path(realpath("$clientFolderPath/win"))) &&

@is_file(actual_path(realpath("$clientFolderPath/win/pslist.exe")))
) {
print_r(trim(substr($outputArray[8], 38, 10)) . " is your memory\n");

return trim(substr($outputArray[8], 38, 10));
} elseif ($_SERVER['windir'] || $_ENV['windir']) {
exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST',
$outputArray);
return preg_replace( '/[\D]/', '', $outputArray[5] ) * 1024;
} else {
exec('ps -o rss -p ' . getmypid(), $outputArray);
return $outputArray[1] * 1024;
}
}

comp.lang.php wrote:
I wrote my own version of memory_get_usage() if that function is not
available:
>
[PHP]
if (!function_exists('memory_get_usage')) {
/**
* Determine the amount of memory you are allowed to have
*
* @access public
* @return long
* @link
http://us2.php.net/manual/en/function.memory-get-usage.php#64156
* @see link regarding usage of memory_get_usage() homegrown function
* @see DBActionPerformer
*/
function memory_get_usage() {
// NEW 1/15/2007: EMERGENCY PATCH TO REINTRODUCE DBActionPerformer
if (!class_exists('DBActionPerformer')) {
global $basePath;
if (!class_exists('MethodGeneratorForActionPerformer' ))
require_once("$basePath/include/classes.inc.php");
require_once("$basePath/include/db_action.inc.php");
}
$dbAP =& new DBActionPerformer(); // NO DB ACTION REQUIRED HERE JUST
THE CLASS OBJECT INSTANCE FOR getKommandOSArray() METHOD
list($memKommand, $memRedirect) =
@array_values($dbAP->getKommandOSArray('allowed-memory'));
$outputArray = array();
exec("$memKommand $memRedirect", $outputArray);
if ($_ENV['windir'] || $_SERVER['windir']) {
return preg_replace( '/[\D]/', '', $outputArray[5]) * 1024;
} else {
$outputArray = @explode(' ', $outputArray[0]);
return $outputArray[1] * 1024;
}
}
}
[/PHP]
>
This function works in *nix and Win XP Pro and Win 2003 Server with no
problems.
>
However, the dev environment is using Win XP Home with PHP 5.2.0 and
the function is not only not available, my homegrown version breaks as
well because "tasklist" is a DOS program only available to Win XP Pro
and Win 2003 Server, definitely not to XP Home.
>
Because of this I need another variation of my function but don't have
any idea where to begin to look. "pslist" is also not an option
because the business requirement for the app is that it must be a
dual-functioning (Windows and *nix) PHP PORTABLE web application, so
you have to pack it up and go every time, so having executables along
like "pslist" is not always a viable option.
>
Suggestions?
>
Thanx
Phil
Jan 16 '07 #4

petersprc wrote:
Try running it from the command line first, you may need to click the
license dialog on the first run. Then try printing the $outputLines to
see what you got.
Sorry I can't paste it here, my terminal window is being utterly
uncooperative tonight

I do not see the 7th element, I only see 4 elements, the 4th being a
tab-delimited list of numbers

Phil
>
comp.lang.php wrote:
petersprc wrote:
If you were willing to include pslist inside your app's directory, you
could use it only when necessary, thus preserving portability. For
example:
>
if (substr(PHP_OS,0,3) == 'WIN') {
// Only run pslist on windows
exec(dirname(__FILE__) . '/win/pslist -m ' . getmypid(),
$lines, $rc);
[...]
} else {
// Something else for unix
}
>
I tried your first suggestion and while it found and installed
pslist.exe with no problems at all, I never retrieved the memory usage,
or any memory usage:

if (!function_exists('memory_get_usage')) {
/**
* Determine the amount of memory you are allowed to have
*
* @access public
* @return long
* @see actual_path
* @link
http://us2.php.net/manual/en/functio...sage.php#64156 How to
use memory_get_usage() function in this context
* @link
http://groups.google.com/group/comp....35b76328c2bab1
Upgrade to client status of memory_get_usage() for use within Windows
XP Home
*/
function memory_get_usage() {
global $clientFolderPath;
$outputArray = array();
if (($_SERVER['windir'] || $_ENV['windir']) &&
@is_dir(actual_path(realpath("$clientFolderPath/win"))) &&

@is_file(actual_path(realpath("$clientFolderPath/win/pslist.exe")))
) {
exec('"' . actual_path($clientFolderPath) . '/win/pslist" -m ' .
getmypid(), $outputArray, $rc);
print_r(trim(substr($outputArray[8], 38, 10)) . " is your memory\n");

return trim(substr($outputArray[8], 38, 10));
} elseif ($_SERVER['windir'] || $_ENV['windir']) {
exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST',
$outputArray);
return preg_replace( '/[\D]/', '', $outputArray[5] ) * 1024;
} else {
exec('ps -o rss -p ' . getmypid(), $outputArray);
return $outputArray[1] * 1024;
}
}
}

Another way might be to use the win32 API functions and call
GetProcessMemoryInfo from psapi.dll. Here's an example of calling a
win32 function:
>
http://us2.php.net/manual/en/ref.w32api.php#39181
What do I need to be able to do this? This one lost me.
>
If you have the php_win32ps.dll extension loaded, you can could call
win32_ps_stat_proc(getmypid()).
Sorry, no can do here either. win32ps.dll is only available for PHP
5.1.2 and PHP 6.0, there is no version for PHP 5.2.0 publically
available, thus, there is no match and PHP won't install the DLL file
as a result.

if (!function_exists('memory_get_usage')) {
/**
* Determine the amount of memory you are allowed to have
*
* @access public
* @return long
* @see actual_path
* @link
http://us2.php.net/manual/en/functio...sage.php#64156 How to
use memory_get_usage() function in this context
* @link
http://groups.google.com/group/comp....35b76328c2bab1
Upgrade to client status of memory_get_usage() for use within Windows
XP Home
*/
function memory_get_usage() {
global $clientFolderPath;
$outputArray = array();
if (($_SERVER['windir'] || $_ENV['windir']) &&
extension_loaded('win32ps')) {
return win32_ps_stat_proc(getmypid());
} elseif (($_SERVER['windir'] || $_ENV['windir']) &&
@is_dir(actual_path(realpath("$clientFolderPath/win"))) &&

@is_file(actual_path(realpath("$clientFolderPath/win/pslist.exe")))
) {
print_r(trim(substr($outputArray[8], 38, 10)) . " is your memory\n");

return trim(substr($outputArray[8], 38, 10));
} elseif ($_SERVER['windir'] || $_ENV['windir']) {
exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST',
$outputArray);
return preg_replace( '/[\D]/', '', $outputArray[5] ) * 1024;
} else {
exec('ps -o rss -p ' . getmypid(), $outputArray);
return $outputArray[1] * 1024;
}
}
>
comp.lang.php wrote:
I wrote my own version of memory_get_usage() if that function is not
available:

[PHP]
if (!function_exists('memory_get_usage')) {
/**
* Determine the amount of memory you are allowed to have
*
* @access public
* @return long
* @link
http://us2.php.net/manual/en/function.memory-get-usage.php#64156
* @see link regarding usage of memory_get_usage() homegrown function
* @see DBActionPerformer
*/
function memory_get_usage() {
// NEW 1/15/2007: EMERGENCY PATCH TO REINTRODUCE DBActionPerformer
if (!class_exists('DBActionPerformer')) {
global $basePath;
if (!class_exists('MethodGeneratorForActionPerformer' ))
require_once("$basePath/include/classes.inc.php");
require_once("$basePath/include/db_action.inc.php");
}
$dbAP =& new DBActionPerformer(); // NO DB ACTION REQUIRED HERE JUST
THE CLASS OBJECT INSTANCE FOR getKommandOSArray() METHOD
list($memKommand, $memRedirect) =
@array_values($dbAP->getKommandOSArray('allowed-memory'));
$outputArray = array();
exec("$memKommand $memRedirect", $outputArray);
if ($_ENV['windir'] || $_SERVER['windir']) {
return preg_replace( '/[\D]/', '', $outputArray[5]) * 1024;
} else {
$outputArray = @explode(' ', $outputArray[0]);
return $outputArray[1] * 1024;
}
}
}
[/PHP]

This function works in *nix and Win XP Pro and Win 2003 Server with no
problems.

However, the dev environment is using Win XP Home with PHP 5.2.0 and
the function is not only not available, my homegrown version breaks as
well because "tasklist" is a DOS program only available to Win XP Pro
and Win 2003 Server, definitely not to XP Home.

Because of this I need another variation of my function but don't have
any idea where to begin to look. "pslist" is also not an option
because the business requirement for the app is that it must be a
dual-functioning (Windows and *nix) PHP PORTABLE web application, so
you have to pack it up and go every time, so having executables along
like "pslist" is not always a viable option.

Suggestions?

Thanx
Phil
Jan 16 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mat | last post by:
How can I detect when a link has been clicked but the new page is still in the process of loading? The document.location.href property still displays the current location (understandably) not the...
2
by: Simon | last post by:
I have recently set up a server certificate on a web site. Under certain conditions I need to change the color of a html span element. I do this using the following javascript function called from...
2
by: Marcus | last post by:
I have seen many posts of people with the same problem as me (attached below), but I have yet to see any solutions posted. Has anyone figured out how to deploy an Asp.net web site to the webserver...
3
by: Phillip N Rounds | last post by:
I'm writing a user control which has two states: Active & InActive. I additionally am required that there to be only one active control per page, and all logic has to be contained within the...
4
by: Rik Hemsley | last post by:
Hi, Our web application impersonates a domain user when it runs. Usually, the printers visible to the application are the same as those visible to the domain user. At one installation, the...
4
by: lawrence k | last post by:
I've a jpeg image that is 514k, which doesn't strike me as very large. Yet I'm running out of error when I try to resize it: Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to...
1
by: Tom | last post by:
Alternate subject title: Shared Hosting, Resource Usage, Standards and Measures I think of myself as a developer, not a sysadmin, but a couple projects I've been working on for my small company...
102
by: sam_cit | last post by:
Hi everyone, I have been asked this question quite a few times and i wonder what could the actual reason? " When to prefer C over C++ or vice versa, of course this is for real world pratical...
3
by: Giampaolo Rodola' | last post by:
Hi, I'd like to know if there's a way to determine which is the best buffer size to use when you have to send() and recv() some data over the network. I have an FTP server application which, on...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.