Computing desk | ||
---|---|---|
< August 7 | << Jul | August | Sep >> | August 9 > |
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. |
Do any existing T9 predictive text entry systems take previous words into account to help decide which word is most likely (e.g. interpret 46 as "in" if the previous word is "come", but as "go" if it's "let's")? Neon Merlin 06:03, 8 August 2009 (UTC)
I understand that Lotus Improv, Javelin of Javelin Software, and Quantrix could do this, although Quantrix is the only one still available. Are there any freeware or other no-cost spreadsheets that can do this please? 84.13.197.233 ( talk) 15:02, 8 August 2009 (UTC)
When I create a 10 page document in CS3 for the PC, I place a text frame into the master page. I want to see an editable text field in each of the pages I can flow text into. However, when I go to the document, although the pages pallette tells me each page has a text frame (the little blue dotted line) none of the text boxes are selectable. Obviously I can select them in the master page, but if I type anything in, the text will appear on each page.
So how do I get editable text boxes. The master page text frames were created in the Doc Setup dialogue with the Master Text Frame option, so don't bother suggesting that!
Thanks
80.229.160.127 ( talk) 17:05, 8 August 2009 (UTC)
I'm looking for a way to convert a string into a html self link using the php "ereg_replace" expression. So for example, if I wanted to convert:
--link
into
<font color="red"><a href="#link">--link</a>
where "link" can be anthing, such as
--cats
and it will convert to:
<font color="red"><a href="#cats">--cats</a>
Thanks so much for your help! —Preceding unsigned comment added by 82.43.91.128 ( talk) 17:12, 8 August 2009 (UTC)
s,--(\w+),<font color="red"><a href="#$1">--$1</a>,g;
while ( ereg ( "--(\w+)" , string$ ) ) { string% = ereg_replace ( "--(\w+)" , "<font color=\"red\"><a href=\"\\1\">--\\1</a>" , string$ ); }
ereg_replace ( "--(\w+)" , "<font color=\"red\"><a href=\"\\1\">GG\\1</a>" , string$ )
for all instances of --name, followed by a second loop of:
ereg_replace ( "GG(\w+)" , "--\\1" , string$ )
for all instances of GGname (if you don't do this you can see why it can go wrong)
OK, I'll be the "someone who knows PHP", since I program it for a living.
Using the PCRE function ( preg_replace), your code would be something like this:
$foo = 'a b c --link d --foo e';
echo preg_replace('/--(\w+)/', '<a href="#$1">--$1</a>', $foo);
Where the pattern /--(\w+)/
means "match 2 dashes, then 1 or more
'word' characters, capturing the word characters" and the replacement string '<a href="#$1">--$1</a>'
references the captured characters as $1
.
The equivalent using ereg_replace
would be this:
$foo = 'a b c --link d --foo e';
echo ereg_replace('--([0-9A-Za-z_]+)', '<a href="\\1">--\\1</a>', $foo);
Where the only real differences are that there's no handy "word" short-hand, so I've put in the equivalent [0-9A-Za-z_]
(which would work for PCRE as well), and the format for backreferences is \\1
rather than $1
.
Hope this helps. -- IMSoP ( talk) 18:14, 9 August 2009 (UTC)
Yes, thanks, it was starting to niggle me what the answer was too :) I've added a resolved tag
I use the Windows OpenGL function wglUseFontOutlines
to create characters to display in my three-dimensional world. However, it takes more than one second for the function to return. Is there any faster way to draw three-dimensional text in OpenGL in Windows? --
Andreas Rejbrand (
talk) 17:33, 8 August 2009 (UTC)
I have forgotten the BIOS logon password on my HP Pavilion dv6386 computer. I have tried to disconnect the CMOS battery for a few seconds, but then I was surprised to learn that the computer's BIOS still remembered the password. Perhaps the password is stored in a non-volatile memory, or there might be third power source somewhere. Or, perhaps it wasn't the CMOS battery I disconnected, after all (although it sure looked like a battery...). Is there anything I can do? I am afraid that HP has been careful to design a secure system, so there might not be much to do. -- Andreas Rejbrand ( talk) 17:45, 8 August 2009 (UTC)
I'm running Windows Vista and I have the .NET Framework v3.5 with SP1. I seen a lot of sites talk about different tools and resources in C:\Program Files\Microsoft.NET\FrameworkSDK or some location like that. The thing is though I cannot find it. Can someone tell me where it is located, if I need to install something extra, or if the location of the resources has been changed and they've been moved. -- Melab±1 ☎ 20:13, 8 August 2009 (UTC)
Please resolve a dispute between friends! Rixxin ( talk) 22:53, 8 August 2009 (UTC)
Computing desk | ||
---|---|---|
< August 7 | << Jul | August | Sep >> | August 9 > |
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. |
Do any existing T9 predictive text entry systems take previous words into account to help decide which word is most likely (e.g. interpret 46 as "in" if the previous word is "come", but as "go" if it's "let's")? Neon Merlin 06:03, 8 August 2009 (UTC)
I understand that Lotus Improv, Javelin of Javelin Software, and Quantrix could do this, although Quantrix is the only one still available. Are there any freeware or other no-cost spreadsheets that can do this please? 84.13.197.233 ( talk) 15:02, 8 August 2009 (UTC)
When I create a 10 page document in CS3 for the PC, I place a text frame into the master page. I want to see an editable text field in each of the pages I can flow text into. However, when I go to the document, although the pages pallette tells me each page has a text frame (the little blue dotted line) none of the text boxes are selectable. Obviously I can select them in the master page, but if I type anything in, the text will appear on each page.
So how do I get editable text boxes. The master page text frames were created in the Doc Setup dialogue with the Master Text Frame option, so don't bother suggesting that!
Thanks
80.229.160.127 ( talk) 17:05, 8 August 2009 (UTC)
I'm looking for a way to convert a string into a html self link using the php "ereg_replace" expression. So for example, if I wanted to convert:
--link
into
<font color="red"><a href="#link">--link</a>
where "link" can be anthing, such as
--cats
and it will convert to:
<font color="red"><a href="#cats">--cats</a>
Thanks so much for your help! —Preceding unsigned comment added by 82.43.91.128 ( talk) 17:12, 8 August 2009 (UTC)
s,--(\w+),<font color="red"><a href="#$1">--$1</a>,g;
while ( ereg ( "--(\w+)" , string$ ) ) { string% = ereg_replace ( "--(\w+)" , "<font color=\"red\"><a href=\"\\1\">--\\1</a>" , string$ ); }
ereg_replace ( "--(\w+)" , "<font color=\"red\"><a href=\"\\1\">GG\\1</a>" , string$ )
for all instances of --name, followed by a second loop of:
ereg_replace ( "GG(\w+)" , "--\\1" , string$ )
for all instances of GGname (if you don't do this you can see why it can go wrong)
OK, I'll be the "someone who knows PHP", since I program it for a living.
Using the PCRE function ( preg_replace), your code would be something like this:
$foo = 'a b c --link d --foo e';
echo preg_replace('/--(\w+)/', '<a href="#$1">--$1</a>', $foo);
Where the pattern /--(\w+)/
means "match 2 dashes, then 1 or more
'word' characters, capturing the word characters" and the replacement string '<a href="#$1">--$1</a>'
references the captured characters as $1
.
The equivalent using ereg_replace
would be this:
$foo = 'a b c --link d --foo e';
echo ereg_replace('--([0-9A-Za-z_]+)', '<a href="\\1">--\\1</a>', $foo);
Where the only real differences are that there's no handy "word" short-hand, so I've put in the equivalent [0-9A-Za-z_]
(which would work for PCRE as well), and the format for backreferences is \\1
rather than $1
.
Hope this helps. -- IMSoP ( talk) 18:14, 9 August 2009 (UTC)
Yes, thanks, it was starting to niggle me what the answer was too :) I've added a resolved tag
I use the Windows OpenGL function wglUseFontOutlines
to create characters to display in my three-dimensional world. However, it takes more than one second for the function to return. Is there any faster way to draw three-dimensional text in OpenGL in Windows? --
Andreas Rejbrand (
talk) 17:33, 8 August 2009 (UTC)
I have forgotten the BIOS logon password on my HP Pavilion dv6386 computer. I have tried to disconnect the CMOS battery for a few seconds, but then I was surprised to learn that the computer's BIOS still remembered the password. Perhaps the password is stored in a non-volatile memory, or there might be third power source somewhere. Or, perhaps it wasn't the CMOS battery I disconnected, after all (although it sure looked like a battery...). Is there anything I can do? I am afraid that HP has been careful to design a secure system, so there might not be much to do. -- Andreas Rejbrand ( talk) 17:45, 8 August 2009 (UTC)
I'm running Windows Vista and I have the .NET Framework v3.5 with SP1. I seen a lot of sites talk about different tools and resources in C:\Program Files\Microsoft.NET\FrameworkSDK or some location like that. The thing is though I cannot find it. Can someone tell me where it is located, if I need to install something extra, or if the location of the resources has been changed and they've been moved. -- Melab±1 ☎ 20:13, 8 August 2009 (UTC)
Please resolve a dispute between friends! Rixxin ( talk) 22:53, 8 August 2009 (UTC)