Thursday, March 19, 2020

The Meanings and Variations of Sister

The Meanings and Variations of Sister The Meanings and Variations of Sister The Meanings and Variations of Sister By Mark Nichol Sister, from the Old English word sweoster and cognate with the Latin term soror, means not only â€Å"a female with one or more parents in common† but has also come, by extension, to refer to a woman with whom one has a bond or a common interest. It also applies to national or racial commonality, as in the term â€Å"soul sister,† which in American English describes a black female. In addition, it can refer loosely to a female relative or a girl or woman with whom one has an affinity, including among feminists; it is also slang for referring to a female in general. In religious contexts, it denotes a female member of a religious order. Because nuns often served as nurses, in British English, sister is still synonymous with nurse. Sis is an informal abbreviation, often used in direct address by a sibling, as is sissy, though this term acquired the pejorative connotation of an effeminate man. The quality of being a sister, literally or figuratively, is sisterhood; the term also applies to a society of sisters, such as a religious community of women. Sister-german is a technical legal term pertaining to the default definition of sister- â€Å"a woman or girl who has both of the same parents as a given person,† as opposed to a half sister, who shares only one parent, or a stepsister, the daughter of a stepparent. (The term german, from the Latin word germanus, means â€Å"having the same parents† and is unrelated to the proper noun referring to a person from Germany.) A blood sister is literally a sister by birth or figuratively someone with whom one shares a bond of loyalty; this term, inspired by â€Å"blood brother,† alludes to the ceremonial exchange of blood between two men, often by mingling blood at the point of a slight self-inflicted wound. â€Å"Big sister† refers to one’s older female sibling or to a woman who mentors a girl to whom she is not related. Phrases that include the word include â€Å"sister act,† a term from vaudeville describing a variety act consisting of two or more sisters, and â€Å"sob sister,† slang for an advice columnist or a writer of sentimental stories supposed to appeal primarily to women, alluding to the emotional reaction expected of female readers when reading such material. â€Å"Weak sister† is an allusion to the supposed inferiority of women that refers to an ineffectual, unreliable, or weak person in a group. Meanwhile, a sister language is one in the same language family, such as Spanish as compared to Portuguese and vice versa, while a sister city is a municipality that has established a cultural-exchange connection with a city in another country. In construction, to sister is to strengthen a structural element by attaching a similar component to it. Want to improve your English in five minutes a day? Get a subscription and start receiving our writing tips and exercises daily! Keep learning! Browse the Vocabulary category, check our popular posts, or choose a related post below:Spelling Test 150 Diminutive Suffixes (and a Cute Little Prefix)One "L" or Two?

Tuesday, March 3, 2020

Working With Windows Registry From Delphi Applications

Working With Windows Registry From Delphi Applications The Registry is simply a database that an application can use to store and retrieve configuration information (last window size and position, user options and information or any other configuration data). Registry also contains information about Windows (95/98/NT) and about your Windows configuration. The Registry database is stored as a binary file. To find it, run regedit.exe (Windows registry editor utility) in your Windows directory. You will see that information in Registry is organized in a similar way to Windows Explorer. We can use regedit.exe to view registry information, change it or to add some information to it. It is obvious that modifications of the registry database could lead to a ​system crash (of course if you dont know what you are doing). INI vs. Registry It is probably very well known that in the days of Windows 3.xx INI files were a popular way of storing application information and other user-configurable settings. The most terrifying aspect of INI files is that they are just text files that the user can easily edit (change or even delete them). In 32-bit Windows Microsoft recommends using Registry to store the type of information that you would normally place in INI files (users are less likely to alter registry entries). Delphi  provides full support for changing entries in the Windows System Registry: via the TRegIniFile class (same basic interface as the TIniFile class for users of INI files with Delphi 1.0) and TRegistry class (low-level wrapper for the Windows registry and functions that operate on the registry). Simple Tip: Writing to the Registry As mentioned before in this article, basic registry operations (using code manipulation) are reading information from ​Registry and writing information to the database. Next piece of code will change the Windows wallpaper and disable the screen saver using TRegistry class. Before we can use TRegistry we have to add Registry unit to the uses clause at the top of source-code. ~~~~~~~~~~~~~~~~~~~~~~~~~uses registry;procedure TForm1.FormCreate(Sender: TObject) ;varreg:TRegistry;beginreg:TRegistry.Create;with reg do begintryif OpenKey(\Control Panel\desktop, False) then begin//change wallpaper and tile itreg.WriteString (Wallpaper,c:\windows\CIRCLES.bmp) ;reg.WriteString (TileWallpaper,1) ;//disable screen saver//(0disable, 1enable)reg.WriteString(ScreenSaveActive,0) ;//update changes immediatelySystemParametersInfo (SPI_SETDESKWALLPAPER,0, nil,SPIF_SENDWININICHANGE) ;SystemParametersInfo (SPI_SETSCREENSAVEACTIVE,0, nil,SPIF_SENDWININICHANGE) ;endfinallyreg.Free;end;end;end;~~~~~~~~~~~~~~~~~~~~~~~~~ Those two lines of code that start with SystemParametersInfo ... force Windows to update the wallpaper and screen saver information immediately. When you run your application, youll see the Windows wallpaper bitmap change to the Circles.bmp image that is, if you have circles.bmp image in your Windows directory. (Note: your screen saver is now disabled.)