Computing desk | ||
---|---|---|
< August 25 | << Jul | August | Sep >> | August 27 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Is there a way to connect to Wikipedia securely (HTTPS)? — Preceding unsigned comment added by Rant-in-E-Minor ( talk • contribs) 04:22, 26 August 2013 (UTC)
I understand the difference between what it means to have const char * and char *. However, behind the scenes in C or conceptually, why does printf require a const char * instead of a char *? — Preceding unsigned comment added by 70.173.127.106 ( talk) 04:47, 26 August 2013 (UTC)
Is there any way to implement efficiently bit arrays in JavaScript, I wouldn't like an Uint8Array because then I would have to deal with bit masks, and in some algorithms for example base64, it's easier than using bit masks. In the base 64 algorithm you could simply append all bits then split by 6 and you get the result, instead using bit shifting, you must take care of the offset of each byte, add, rest, add shifts, and memorize the offset and offsetlength too, it just might be inefficient and probably more complicated, so what do you recommend? 190.157.115.179 ( talk) 06:26, 26 August 2013 (UTC)
every time i check the event log on my router, there's alot of entrys like this, "Monday, August 26, 2013 1:57:15 AM Unrecognized attempt blocked from x.x.x.x:port to 70.114.248.114 TCP:36117". i'm wondering what that means. (levelone wbr-6001.) thank you, 70.114.248.114 ( talk) 09:08, 26 August 2013 (UTC)
Hello. I'm planning to upgrade my laptop's 4570M to 4650M (around twice the performance). Both cards use MXM3 Type A connector, so they can be replaced with ease. However I am worry about the power consumption. From what I've heard, desktop video card upgrade depends on the PSU -- you cannot upgrade if your PSU cannot handle the power consumption of the new hardware. But I don't know whether or not a laptop has PSU. I cannot find official document from AMD, but from a quick search:
Is that possible to perform the upgrade? And does the TDP have anything to do with the heat dissipated? I'm afraid my laptop's cooling is not enough to withstand the new video card if its heat to be dissipated is much more than the old one's. I need some advices! -- Livy ( talk) 09:35, 26 August 2013 (UTC)
The TDP of the 4570 and 4650 is 15W and 25W respectively according to notebookcheck.net (they say AMD publishes that info). So the 4650M is only 10 Watt more. My laptop's cooling system is designed to handle a CPU of 35W and a GPU of 15W -- a total of 50W under full load. However when gaming, the CPU load is 70% at worst (maybe 30W I think) while the GPU is at full load (25W). My laptop is not sold with an upgrade option available, but I hope it can handle 55 - 60W, which is only 10 -> 20% more. I will perform the upgrade tomorrow, and check the temperature to see if things go well. Thanks for your answer. -- Livy ( talk) 16:55, 26 August 2013 (UTC)
I've been told that strings in Java are immutable. But you can change a string by adding or taking characters away. So what does it mean for strings to be immutable? Thanks, Dismas| (talk) 10:10, 26 August 2013 (UTC)
public class s{
public static void main(String[] args){
String t = args0]+"hello";
System.out.println(t);
}
}
If I do a Google search for "Crush the Castle", the first hit returned is to
http://armorgames.com/play/3614/crush-the-castle. The Flash window is black, and the game (presumably) never loads. If however, I go to
http://armorgames.com and search for that string, I get sent to
http://armorgames.com/play/3614/crush-the-castle and can play the game without problem.
What gives? Exactly the same URL, different behaviour. I can click on either of the links above and it works, so it's something about the route via Google that screws it up. I'm using Win7 and, ironically, the latest version of Chrome
Rojomoke (
talk) 13:04, 26 August 2013 (UTC)
http://enterprisesuite.intuit.com/products/enterprise-solutions/?qbes_info-b=pricing
I want to buy the quickbook enterprise 10 user license. Anybody with any idea where I can get it? Probably a second hand or maybe a site with a better price maybe like a used one. Or just the cheapest but genuine deal I can get. Please help. — Preceding unsigned comment added by 41.215.119.10 ( talk) 14:48, 26 August 2013 (UTC)
I know Intel's "Haswell" chip design has vastly improved energy savings for laptops which lead to better battery life. But what benefits does Haswell bring a desktop computer over the previous Ivy Bridge design? -- 208.185.21.102 ( talk) 17:13, 26 August 2013 (UTC)
use Data::Dumper; my %hash = ( 'list1' => ( 1, 2 ), 'list2' => ( qw( a b c ) ) ); print Dumper(\%hash);
I thought this would create two key-value pairs for %hash.
$hash{'list1'} = ( 1, 2 )
and
$hash{'list2'} => ( qw( a b c ) )
However, what I get is some kind of mess that looks like:
$VAR1 = { 'list1' => 1, '2' => 'list2', 'a' => 'b', 'c' => undef };
Perl actually thinks I am creating a hash that contains following key-value pairs:
my %hash = ('list1', 1, '2', 'list2', 'a', 'b', 'c');
I tried to create two lists and put them in the hash as keys' values. It doesn't work.
my @list1 = ( 1, 2 ); my @list2 = ( qw( a b c ) ); my %hash = ( 'list1' => @list1, 'list2' => @list2 );
I then tried this way ....
my @list1 = ( 1, 2 ); my @list2 = ( qw( a b c ) ); my %hash = (); $hash{'list1'} = @list1; $hash{'list2'} = @list2;
Perl gives me:
$VAR1 = { 'list1' => 2, 'list2' => 3 };
Dear Santa, I promise I'll be a good boy for the rest of my life. Please forgive me!
How do I create this hash correctly? -- Toytoy ( talk) 20:26, 26 August 2013 (UTC)
use Data::Dumper; my %hash = ( 'list1' => [ 1, 2 ], 'list2' => [ qw( a b c ) ] ); print Dumper(\%hash);
my new acer laptop overheats how do i fix it without a new computer thx 65.175.255.68 ( talk) 23:01, 26 August 2013 (UTC)
Computing desk | ||
---|---|---|
< August 25 | << Jul | August | Sep >> | August 27 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Is there a way to connect to Wikipedia securely (HTTPS)? — Preceding unsigned comment added by Rant-in-E-Minor ( talk • contribs) 04:22, 26 August 2013 (UTC)
I understand the difference between what it means to have const char * and char *. However, behind the scenes in C or conceptually, why does printf require a const char * instead of a char *? — Preceding unsigned comment added by 70.173.127.106 ( talk) 04:47, 26 August 2013 (UTC)
Is there any way to implement efficiently bit arrays in JavaScript, I wouldn't like an Uint8Array because then I would have to deal with bit masks, and in some algorithms for example base64, it's easier than using bit masks. In the base 64 algorithm you could simply append all bits then split by 6 and you get the result, instead using bit shifting, you must take care of the offset of each byte, add, rest, add shifts, and memorize the offset and offsetlength too, it just might be inefficient and probably more complicated, so what do you recommend? 190.157.115.179 ( talk) 06:26, 26 August 2013 (UTC)
every time i check the event log on my router, there's alot of entrys like this, "Monday, August 26, 2013 1:57:15 AM Unrecognized attempt blocked from x.x.x.x:port to 70.114.248.114 TCP:36117". i'm wondering what that means. (levelone wbr-6001.) thank you, 70.114.248.114 ( talk) 09:08, 26 August 2013 (UTC)
Hello. I'm planning to upgrade my laptop's 4570M to 4650M (around twice the performance). Both cards use MXM3 Type A connector, so they can be replaced with ease. However I am worry about the power consumption. From what I've heard, desktop video card upgrade depends on the PSU -- you cannot upgrade if your PSU cannot handle the power consumption of the new hardware. But I don't know whether or not a laptop has PSU. I cannot find official document from AMD, but from a quick search:
Is that possible to perform the upgrade? And does the TDP have anything to do with the heat dissipated? I'm afraid my laptop's cooling is not enough to withstand the new video card if its heat to be dissipated is much more than the old one's. I need some advices! -- Livy ( talk) 09:35, 26 August 2013 (UTC)
The TDP of the 4570 and 4650 is 15W and 25W respectively according to notebookcheck.net (they say AMD publishes that info). So the 4650M is only 10 Watt more. My laptop's cooling system is designed to handle a CPU of 35W and a GPU of 15W -- a total of 50W under full load. However when gaming, the CPU load is 70% at worst (maybe 30W I think) while the GPU is at full load (25W). My laptop is not sold with an upgrade option available, but I hope it can handle 55 - 60W, which is only 10 -> 20% more. I will perform the upgrade tomorrow, and check the temperature to see if things go well. Thanks for your answer. -- Livy ( talk) 16:55, 26 August 2013 (UTC)
I've been told that strings in Java are immutable. But you can change a string by adding or taking characters away. So what does it mean for strings to be immutable? Thanks, Dismas| (talk) 10:10, 26 August 2013 (UTC)
public class s{
public static void main(String[] args){
String t = args0]+"hello";
System.out.println(t);
}
}
If I do a Google search for "Crush the Castle", the first hit returned is to
http://armorgames.com/play/3614/crush-the-castle. The Flash window is black, and the game (presumably) never loads. If however, I go to
http://armorgames.com and search for that string, I get sent to
http://armorgames.com/play/3614/crush-the-castle and can play the game without problem.
What gives? Exactly the same URL, different behaviour. I can click on either of the links above and it works, so it's something about the route via Google that screws it up. I'm using Win7 and, ironically, the latest version of Chrome
Rojomoke (
talk) 13:04, 26 August 2013 (UTC)
http://enterprisesuite.intuit.com/products/enterprise-solutions/?qbes_info-b=pricing
I want to buy the quickbook enterprise 10 user license. Anybody with any idea where I can get it? Probably a second hand or maybe a site with a better price maybe like a used one. Or just the cheapest but genuine deal I can get. Please help. — Preceding unsigned comment added by 41.215.119.10 ( talk) 14:48, 26 August 2013 (UTC)
I know Intel's "Haswell" chip design has vastly improved energy savings for laptops which lead to better battery life. But what benefits does Haswell bring a desktop computer over the previous Ivy Bridge design? -- 208.185.21.102 ( talk) 17:13, 26 August 2013 (UTC)
use Data::Dumper; my %hash = ( 'list1' => ( 1, 2 ), 'list2' => ( qw( a b c ) ) ); print Dumper(\%hash);
I thought this would create two key-value pairs for %hash.
$hash{'list1'} = ( 1, 2 )
and
$hash{'list2'} => ( qw( a b c ) )
However, what I get is some kind of mess that looks like:
$VAR1 = { 'list1' => 1, '2' => 'list2', 'a' => 'b', 'c' => undef };
Perl actually thinks I am creating a hash that contains following key-value pairs:
my %hash = ('list1', 1, '2', 'list2', 'a', 'b', 'c');
I tried to create two lists and put them in the hash as keys' values. It doesn't work.
my @list1 = ( 1, 2 ); my @list2 = ( qw( a b c ) ); my %hash = ( 'list1' => @list1, 'list2' => @list2 );
I then tried this way ....
my @list1 = ( 1, 2 ); my @list2 = ( qw( a b c ) ); my %hash = (); $hash{'list1'} = @list1; $hash{'list2'} = @list2;
Perl gives me:
$VAR1 = { 'list1' => 2, 'list2' => 3 };
Dear Santa, I promise I'll be a good boy for the rest of my life. Please forgive me!
How do I create this hash correctly? -- Toytoy ( talk) 20:26, 26 August 2013 (UTC)
use Data::Dumper; my %hash = ( 'list1' => [ 1, 2 ], 'list2' => [ qw( a b c ) ] ); print Dumper(\%hash);
my new acer laptop overheats how do i fix it without a new computer thx 65.175.255.68 ( talk) 23:01, 26 August 2013 (UTC)