| Computing desk | ||
|---|---|---|
| < May 25 | << Apr | May | Jun >> | May 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. |
Are there any ? If not Fortran, how about C ? I'm only talking about reading and writing a few characters per call. I'm interested both in being able to write to web pages that don't require passwords (like Wikipedia) and other sites that do. StuRat (talk) 19:06, 24 May 2011 (UTC)
My computer is a few years old. It writes things to DVD-R disks without any problem, but it finds many errors when verifying DVD+R disks. Does anyone know why please?
After reading the appropriate articles, DVD+R is the newer standard. Might my DVD drive be unaware of the DVD+R standard, or would it reject it even if the standard did not exist when it was manufactured? Thanks 2.101.10.94 (talk) 10:41, 26 May 2011 (UTC)
what is steganography? — Preceding unsigned comment added by 59.98.194.156 (talk) 12:11, 26 May 2011 (UTC)
Ha, nice try! If you look carefully, the OP's question includes embedded in the word "steganography" the cryptic signal "no ra", clearly an allusion to Ra, the ancient Egyptian sun God. Most likely, "no Ra" is a signal for a sleeper cell to initiate a devastating program, whose details, of course, we cannot know; but the fact that the signal coincides with recent news about volcanic ash possibly grounding flights is too much to ask us to attribute to chance. No Ra, because the clouds are filled with ash. And no Ra, no flights. This terrorist signal concerns airplanes - a notable, and vulnerable, terrorist target - and therefore demands the utmost urgency! I would waste no time on beginning investigations into "59.98.194.156".94.27.220.223 (talk) 23:43, 26 May 2011 (UTC)
I've seen quite a number of fake images on the net; while some of them are reasonably well-made, I could tell they were either fabricated or doctored with graphic software. I wonder if it is at least theoretically possible to create with computer graphics an image that cannot be distinguished from a "real" image? If not, what prevents such a feat? In the film industry they use cutting-edge technology to create illusory visuals but even they still can be distinguished, I think. --BorgQueen (talk) 13:31, 26 May 2011 (UTC)
For wholly synthetic images, there are two main challenges: (1) Textures. Even the best computer representations of things like skin, wood, grass, cloth, or hair still fall short of the complexity of reality. (2) Lighting. In a natural scene, every visible object contributes light to every other object, not to mention all the light that comes from things that cannot be seen. Even the best modern raytracing techniques are challenged to encompass all the possible light paths. Looie496 (talk) 23:49, 26 May 2011 (UTC)
Is there any way I could do something basic, like append a line of text to my Wikipedia user page, from there ? StuRat (talk) 16:21, 26 May 2011 (UTC)
AppendToWikiPage http://en.wikipedia.org/wiki/User_talk:StuRat "StuRat is on vacation."
If Wikipedia puts blocks in the way of automatic updates, what other sites don't ? StuRat (talk) 18:46, 26 May 2011 (UTC)
add_text.py -page:User_talk:StuRat -text:"StuRat is on vacation." -always
Not sure if that's what you're looking for or not. Avicennasis @ 16:01, 23 Iyar 5771 / 27 May 2011 (UTC)
Python |
|---|
#!/usr/bin/python
import mwclient,sys # need to install mwclient from http://sourceforge.net/projects/mwclient/
site = mwclient.Site('siteOfTheWiki') # e.g. en.wikipedia.org
site.login('myusername', 'mypassword') # my username and password; if you don't do this line, you'll edit as anon
page = site.Pages['pagetoedit'] # name of the page to edit
text = page.edit()
# one bullet item per argument; you probably want to wrap the args in quotes so the script sees only one arg
for x in sys.argv[1:]:
text += u'\n* ' + x
page.save(text, summary='some standard edit summary')
|
I use the following cURL command to retrieve data:
curl http://en.wikipedia.org/wiki/User:StuRat/cURL
It worked great the first time. However, when I updated the web page, cURL continued to retrieve the old version. Is it finding it in the cache ? How can I tell it to ignore the cache and read directly from the web site ? StuRat (talk) 19:40, 26 May 2011 (UTC)