Wikipedia:Reference desk/Archives/Computing/2022 October 22

= October 22 =

Website on a home Dell server?
I've got a domain name and soon I will have the software to erect a website. The issue of porting will be next. I wonder If porting can be done at a Dell Server that I will have on my desktop? AboutFace 22 (talk) 14:12, 22 October 2022 (UTC)


 * Are you well and truly prepared for an onslaught of DDOS, zero-day, brute-force hammering every port and service you're running, spiders both well-mannered and foul indexing your site 24/7? Running a public web server is a thankless job even for a Cybersecurity-minded Linux admin. Most of us got out while the getting was goood. Do yourself a favor, toss the Dell into salvage and sign up with CloudFlare, AWS, or better a dedicated turnkey web host. You'll be saved so many headaches. Elizium23 (talk) 18:52, 23 October 2022 (UTC)

Understood! Many, many thanks. AboutFace 22 (talk) 19:33, 23 October 2022 (UTC)
 * Other issue: home Internet connections generally prohibit using them to "host" stuff. You generally need business Internet service, which is more costly and may or may not be available for the premises. Home Internet connections also frequently use dynamic IP address assignment, which can cause issues with connectivity. I echo the suggestion to use a hosting company. A small website will not cost much, and this lets you mess around with it at leisure. The hosting company may also provide support that can assist with things. If you start doing serious stuff with it you can step up to more expensive hosting and possibly eventually dedicated hardware. If the Dell Server is a blade server you should be able to buy space at a colocation center to host it if that becomes something you want. --47.147.118.55 (talk) 05:29, 25 October 2022 (UTC)

Thank you AboutFace 22 (talk) 20:35, 29 October 2022 (UTC)

Using VBA for Word to insert a lot of text and equations
Hello! I'm a complete beginner at programming VBA for Word, but I would like to use VBA in Word to mix equations and text. I read the documentation at https://learn.microsoft.com/en-us/office/vba/api/word.omath, but the problem is that when I try to use Selection.TypeText to write normal text after the equation, I'm still inside the equation editor - I can't "get out" of the equation back to normal text insertion. I tried to record a macro and manually enter a equation and then insert more normal text afterwards, but the macro record function doesn't seem to be able to handle the equation editor. What I would like to do in pseudo code is this: Selection.TypeText Text:="How to solve this equation?" Selection.TypeEquation "1/2 + 1/3" Selection.TypeText Text:="First you have to make the denominators equal by extending the fractions" Selection.TypeEquation "1*3/2*3 + 1*2/3*2" Selection.TypeText Text:="Now you can...." Any ideas? 83.252.180.61 (talk) 15:38, 22 October 2022 (UTC)


 * What is VBA? I do have experience of trying to enter mathematical notations in MS Word for my patents. It was extremely difficult but I did it. There is a collection of symbols at the very right margin of the open document. If you are not married to the Word you may try to use Wikipedia. You start with acquiring a Sandbox. I forgot how I did it. You might need help but it is simple. There are files with instructions how to enter formulas. I do have a sandbox, actually two, with a few hundred math formulas with spherical harmonics. If you are desperate, I might somehow send to you the edit page of the first couple of pages of one of the sandboxes. I don't know how to do it.
 * You may also get useful instructions by posting in the Help Desk. Ask them to point to you the files with how to do formulas, but it is all for sandbox, not the Word. After so many years I forgot the files' names. Be bold AboutFace 22 (talk) 17:17, 23 October 2022 (UTC)


 * Try this

Dim objRange As Range Dim objEq As OMath Set objRange = Selection.Range objRange.Text = "Celsius = (5/9)(Fahrenheit - 32)" Set objRange = Selection.OMaths.Add(objRange) Set objEq = objRange.OMaths(1) objEq.BuildUp Selection.EndOf Unit:=wdLine, Extend:=wdMove Selection.TypeParagraph Selection.TypeText Text:="Some text"
 * El sjaako (talk) 10:56, 26 October 2022 (UTC)