WITNESS LIST
Water & Rural Affairs
March 25, 2019 3:30 PM
FOR:
Murphy, James Lee Attorney at Law (also providing written testimony) (Self; America
First Committee PAC), Alamo Heights, TX
Registering, but not testifying:
FOR:
Wingert, Chris (West Central Texas Municipal Water District), Abilene, TX
ON:
Whiteman, Randy General Manager (Red River Authority), Wichita Falls, TX
FOR:
Oney, Tom General Counsel (Lower Colorado River Authority (LCRA)), Austin, TX
Wilson, Phil General Manager (Lower Colorado River Authority (LCRA)), Austin, TX
AGAINST:
Brown, Hugh (Self), Lexington, TX
Brown, Travis (Self; Neighbors for neighbors), Lexington, TX
Cook, Phil (also providing written testimony) (Self), Cedar creek, TX
Gangnes, Michele Director (also providing written testimony) (Self; Simsboro Aquifer
Water Defense Fund), Lexington, TX
Heaton, Kermit (Self), Paige, TX
Hilburn, Peggy Jo Property owner (also providing written testimony) (Self), Bastrop, TX
Jessup, Jeannie (Self; Simsboro aquifer water defense fund), Bastrop, TX
Marousek, Doug (Self; Circle D Civic Association), Bastrop, TX
Murphy, James Lee Attorney at Law (also providing written testimony) (Self; America
First Committee PAC), Alamo Heights, TX
Wier, Andrew (also providing written testimony) (Self; Simsboro Aquifer Water Defense
Fund), Bastrop, TX
ON:
Box, Steve Executive director (also providing written testimony) (Self; Environmental
Stewardship), Bastrop, TX
Registering, but not testifying:
FOR:
Hodges, Mike Executive Director (Texas Press Association), Austin, TX
Kelman, Clemence (TexPIRG), Austin, TX
AGAINST:
Babin, David (Self), Austin, TX
Babin, Elizabeth Mrs. (Self), Austin/TX, TX
Curtis, Linda (Self), Bastrop, TX
Harper, Jeff (Self; League of Independent Voters), Texas, TX
Hilburn, Marshall Property owner (Self), Bastrop, TX
Villarreal, Beverly (Self), Austin, TX
Wier, Mary (Self), Bastrop, TX
WITNESS LIST
Water & Rural Affairs
March 25, 2019 3:30 PM
ON:
Fajardo, Erick Policy Analyst (Sunset Advisory Commission staff), Austin, TX
Providing written testimony:
FOR:
Reed, Cyrus Conservation director (Sierra club lone star chapter), Austin, TX
AGAINST:
Wunderlin, Claire (Self), Bastrop, TX
ON:
Mims, Con (also providing written testimony) (Nueces River Authority), Uvalde, TX
Registering, but not testifying:
ON:
Nasr, Danielle Project manager (Sunset), Austin, TX
FOR:
Patillo, Dennis (Guadalupe Blanco River Authority), Seguin, TX
AGAINST:
Murphy, James Lee Attorney at Law (also providing written testimony) (Self; America
First Committee PAC), Alamo Heights, TX
ON:
Nasr, Danielle Project manager (Sunset), Austin, TX
Poe, Sherry (also providing written testimony) (Self; Friends of Lakewood), Gonzales, TX
Registering, but not testifying:
FOR:
Miller, Scott (Alliance Regional Water Authority), Austin, TX
Stinson, Jonathon (Guadalupe Blanco River Authority), Seguin, TX
ON:
Whiteman, Randy General Manager (Red River Authority), Wichita Falls, TX
Registering, but not testifying:
ON:
Nasr, Danielle Project manager (Sunset), Austin, TX
FOR:
Profilet, Chuck President (Southwest Water Company), Sugar Land, TX
Young, Shelley (Self; Texas Alliance of Water Providers), Cypress, TX
Registering, but not testifying:
FOR:
Bentley, Matthew (San Jose Water Group dba Canyon Lake Water Service Company),
Austin, TX
Emerson, Jennifer (Texas Rural Water Association), Austin, TX
Garcia, Buddy (Aqua Texas), Austin, TX
WITNESS LIST
Water & Rural Affairs
March 25, 2019 3:30 PM
Sequeira, Simon Mr (Self; TAWP), Magnolia texas, TX
Wright, Eric (Aqua America), Austin, TX
ON:
Hunter, Tom Special council (PUC), Austin, TX
FOR:
Sequeira, Simon Mr (Self; TAWP), Magnolia texas, TX
Williams, C.E. General Manager (Self; Panhandle Groundwater Conservation District),
White Deer, TX
AGAINST:
Brown, Hugh (Self), Lexington, TX
Ellis, Gregory (Bandera County River Authority and Groundware District, Blanco
Pedernales GCD, Brazoria County GCD, Calhoun County GCD, Central Texas GCD,
Coastal Bend GCD, and 11 other clients of the firm.), League City, TX
ON:
Blount, Amber (Texas Alliance of Groundwater Districts), Plains, TX
Embrey, Ty (Middle Trinity GCD, Clearwater UWCD), Austin, TX
French, Larry Director of Groundwater Division (TWDB), Austin, TX
Gangnes, Michele Director (Self; Simsboro Aquifer Water Defense Fund), Lexington, TX
Harden, Bob (also providing written testimony) (Texas Association of Groundwater
Owners and Producers), Austin, TX
Murphy, James Lee Attorney at Law (Self; America First Committee PAC), Alamo
Heights, TX
Wier, Andrew (Self; Simsboro Aquifer Water Defense Fund), Bastrop, TX
Registering, but not testifying:
FOR:
Harward, Heather (Brazos Valley GCD), Austin, TX
Howe, Billy Associate Director Government Affairs (Texas Farm Bureau), Austin, TX
Hutchens, Mia Manager of Government Affairs (Texas Association of Business), Austin,
TX
Miller, Scott (Alliance Regional Water Authority), Austin, TX
Oney, Tom General Counsel (Lower Colorado River Authority (LCRA)), Austin, TX
Schumann, Peyton Director of Government Affairs (Texas and Southwestern Cattle Raisers
Association), Austin, TX
Tredway, CJ (Texas Oil and Gas Association), Austin, TX
Whitehead, Victoria General Counsel (High Plains Underground Water Conservation
District No. 1), Lubbock, TX
AGAINST:
Babin, David (Self), Austin, TX
Babin, Elizabeth Mrs. (Self), Austin/TX, TX
Box, Steve Executive director (Self; Environmental Stewardship), Bastrop, TX
Villarreal, Beverly (Self), Austin, TX
WITNESS LIST
Water & Rural Affairs
March 25, 2019 3:30 PM
Registering, but not testifying:
ON:
Walker, Jeff Executive Administrator (Texas Water Development Board), Austin, TX


Hello!
My name is Rizky Agung Saputro!
This page is my first weekly task in hacktiv8!
Good Luck and Have fun! :)


Multiple Ajax/Requests with JavaScript Promises
20 Jul 2016We have multiple ajax requests that need to be executed one by one. Each of the ajax requests is run after the success of the previous ajax. This usually happens when we want to get something from API, display some information and do another action and so on in multi nested levels.
Problem one:
We can write the code with ajax calls in the success function of the previous ajax call and that would work just fine and as expected. We also want to put pop-ups between the calls that the user can choose an action, like a confirm dialog that would trigger the next ajax call or cancel the whole chain. This code might look very long and messy, that’s how I started, it sure works but I didn’t like it a bit.
Problem two:
Since I am using jQuery for ajax requests, jQuery itself offers promises solution, but in case of an reject(error from the ajax) instead of jumping to the catch part it goes to the next then in the chain. Probably you’ve come across blog posts regarding this, I’ve also tried it and I could manage the passed resolved data in the next then chain (where it shouldn’t go in in case of reject) with another if, but that’s not really the way to go.
Solution:
Instead, what I wanted to do is have a promise for each ajax call, but without using the all() or race() that would fire the requests in parallel or get the fasted one. It’s more of a solution that would allow me to configure listeners and dispatch them at the end. I continue using jQuery for ajax calls, but put each of the ajax into a promise with passed in object for configurations.
I create an object from PromiseHandler, which will be explained after this configuration.
I register the first AJAX with an object that has the name of the module whose controller to be called and the action to be run for this request. jQuery ajax expects data to be passed and in this case I pass in a function with data_after_resolve as input argument. That would be the object that I get from resolving the previous ajax call, that data I would normally json_encode from server side. If this is the first ajax than no passed object is needed. In case of a resolve I would display the successMsg, in case of reject the errorMsg. I put the listeners in an array and fire them one by one and check if i should fire the next ajax call using the lenght of the listeners array and the current count, if so then display a pop-up with two buttons, one for triggering the next ajax call and one cancel for dropping the whole thing.
The input for the second AJAX is the output(data_after_resolve) from the first AJAX. In my case this is the final AJAX and I put onFinalSuccessFunction that returns a function that should reload the parent window (this can be anything) when click the button on the popup after the second and final AJAX.
The idea is that I can have as many AJAX requests as I want, at the end I should just dispatch them and have this whole ajax-popup-ajax-popup-ajax…. in motion. This means that the dispatch function is called recursively executing the listeners with output data from the previous as input data in the next request.
So, like this I could just copy/paste the above configuration skeleton, put as many ajax requests as I need, put the module/controller name, action name, input data with messages. I could do that, but I couldn’t copy/paste the whole nested ajax calls otherwise.
How it’s made:
This is my Handler that can be extended if needed. For example for popups I am using another widget I’ve made that is also based on jQuery and if I need something else for popups I can extend from this object and override regularPopUpWithMsg and popUpWithFunc methods or any other method if needed.
addAjaxListener method accepts the passed objects and creates listeners with that configuration object and a function that returns a promise. The promise is being resolved or rejected based on data.status field. That is the field I am using as a success or failure from AJAX from server side which is part of my json_encode data.
The popup methods:
The dispatch method is called recursively for each of the listeners that has a promise. I see the configuration of the listener, if the length of the listeners array is larger than the current order this method calls itself again with previously showing a popup for the user to choose to fire the next request or cancel, but if it isn’t than a regular popup with just ok button or ok button with attached function that reloads the parent window. In case of success ajax, resolve data is passed and in the popup I show successMsg and set the data_after_resolve that will be input for the next ajax/promise. If the first AJAX fails, meaning it is rejected it goes to catch block, it doesn’t go into the then block and displays a popup with the errorMsg in which function the rejected data from the promise is being passed.


|
omg
3.1.0
Open Machinery for Graphics
|
Integrator based on Blinn Phong. More...
#include <BlinnPhongIntegrator.h>
Public Member Functions | |
| BlinnPhongIntegrator (int spp) | |
| RGBColor | li (const Ray &ray, const Scene &scene, const std::shared_ptr< Sampler > sampler=nullptr, int depth=0) override |
| Incidence radiance computation for a given ray acting on a scene. More... | |
| Public Member Functions inherited from omg::SamplerIntegrator | |
| SamplerIntegrator (int spp=1) | |
| void | render (const Scene &scene) override |
| Render a given scene. More... | |
| Public Member Functions inherited from omg::Integrator | |
| virtual void | preprocess (const Scene &scene, Sampler *sampler) |
| Execute after parsing the scene, to do specific implementations. More... | |
| Camera * | get_camera () const |
| void | set_suffix (const std::string &suff) |
| std::string | get_suffix () |
Additional Inherited Members | |
| Protected Attributes inherited from omg::SamplerIntegrator | |
| int | _spp |
| std::shared_ptr< Sampler > | _sampler |
| samples per pixel | |
| Protected Attributes inherited from omg::Integrator | |
| std::shared_ptr< Camera > | _camera |
| std::string | _suffix = "" |
Integrator based on Blinn Phong.
|
inlineoverridevirtual |
Incidence radiance computation for a given ray acting on a scene.
| ray | the ray |
| scene | the scene |
| sampler | pointer to a sampler |
Implements omg::Integrator.


--- layout: post title: 'Rails ActiveRecord: difference between size and length when using DISTINCT' date: '2012-09-19T00:16:09+02:00' tags: [rails, active-record] category: 'Rails' tumblr_url: http://andywenk.tumblr.com/post/31819637862/rails-activerecord-difference-between-size-and-length ---
Moin Moin,
actually I had a somehow strange behaviour in a quite costly SQL query. I am using pagination and there fore have to fire the query two times. One time without LIMIT and OFFSET and the second time with both of them. The full code can be found here:
https://gist.github.com/3746191
I was wondering why the pagination is not correct. So I examined it. As you can see in row 16 and 17, I figured out that there is a difference between using size and length for the result of select_printer without LIMIT and OFFSET. So how does the SQL query look like. First I show the query for size:
=# SELECT COUNT(*) FROM "printers" INNER JOIN "manufacturers" ON "manufacturers"."id" = "printers"."manufacturer_id" INNER JOIN "printer_cartridges" ON "printer_cartridges"."printer_id" = "printers"."id" WHERE "manufacturers"."shortname" = 'brother' AND "printer_cartridges"."printer_group_id" = 19; count ------- 104 (1 row)
The result is 104 records. So Rails is simply not using my originally provided DISTINCT statement but instead using COUNT(*). Actually this is not what I want.
Let’s see the difference when using length:
=# SELECT DISTINCT printers.id, printers.name FROM "printers" INNER JOIN "manufacturers" ON "manufacturers"."id" = "printers"."manufacturer_id" INNER JOIN "printer_cartridges" ON "printer_cartridges"."printer_id" = "printers"."id" WHERE "manufacturers"."shortname" = 'brother' AND "printer_cartridges"."printer_group_id" = 19 ORDER BY printers.name; id | name -----+------------ [...] (25 rows)
25 records is the correct result! I have no clue, why there is this difference. Do you have an idea?
Btw - if you are calculating pages like I did it in line 26 using ceil, be aware that you have to cast both total and per_page to a float because 25 / 20 is 1 when both are integers ;-).
Cheers


FACT CHECK: Did Gambhir say commentary is more important than meetings?
by Times Fact CheckHighlights
- Trimmed version of Gambhir's video is being shared to claim that he said “Doing commentary is more important than attending meetings to discuss pollution crisis”.
- In the original video, he is talking about the work he has done as MP to tackle pollution.
- Among those making the false claim were AAP leaders and media coordinator.
CLAIM
A short video clip of East Delhi MP and former Indian opener Gautam Gambhir is being shared to claim that he said “Doing commentary is more important than attending meetings to discuss pollution crisis”.
A Twitter user by the name of Aarti shared the clip from her verified handle with the same claim and cautioned people against voting for celebrities in elections.
In the 8-second-long clip shared by Aarti, one can hear a news reporter telling Gambhir that he didn’t attend the pollution meet for which he was invited. Gambhir retorts, “What is more important, work or meetings?”
The same clip was shared on Facebook by Vikas Yogi, national media coordinator of Aam Aadmi Party (AAP), along with a caption saying, “For Gambhir, his work is more important than attending meetings to tackle pollution”.
Another AAP leader Sunny Upadhyay shared the clip accusing Gambhir of becoming an MP only to attack Delhi CM Arvind Kejriwal.
TRUTH
The claim made by these users is false. The 8-second-long clip of Gambhir is a trimmed version of a longer video. The trimmed version of Gambhir’s byte to news agency ANI is being shared to make the false claim. In the original, full video, Gambhir is talking about doing ground work as an MP. He was neither referring to his personal work or giving commentary.
VERIFICATION AND METHODOLOGY
Since an ANI mic can be seen in the video frame, we used keywords ‘Gautam Gambhir ANI pollution’ and found a tweet by ANI, which had the complete quote given by the cricketer-turned-politician.
In the 91-second-long byte, Gambhir can be heard saying he can “Leave eating jalebis if it reduces pollution.”
He then adds, “In the five months I have been an MP, I have worked a lot to tackle pollution, be it buying 70 EDMC vehicles worth 90 crores, sprinkling machines, vacuum cleaners or initiation of work at Ghazipur landfill.”
“Like me, many other Delhiites have small daughters; We all are serious about fighting pollution except for AAP. You should ask Kejriwal what he has done in the last five years to control pollution in the city,” he said.
Then at 0:53 seconds, the portion that is now being clipped and shared with false claims can be heard. At this point, Gambhir asks the reporter if meetings are more important than the work he has done in the last five months.”
“I have already told you the number of measures I have taken to curb pollution, but what has Kejriwal done in the last five years? On the 11th itself, when I was invited, I had intimated that I would not be able to make it as I was contractually bound. Instead of wasting time on trolling me, distributing jalebis, putting up posters against me, I wish the same efforts were put to fight pollution and to make the city breathable,” he said.
VERDICT
Times Fact Check has found that a small portion of Gambhir’s entire quote to ANI is being circulated to falsely claim that he prioritizes commentary over attending pollution-related meetings.


| Annuity Benefit | Rs. {{row1 | number}} paid monthly for a period of 3 years on the demise of the member |
|---|---|
| Death Benefit | Rs. {{row2 | number}} paid on the demise of the member |
| Accidental Death Benefit | Rs. {{row3 | number}} paid death of Policyholder if death is an accident |
| Total and Permanent Disability | Rs. {{row4 | number}} paid if policyholder has a Total and Permenent Disability |
| Partial and Permanent Disability | Rs. {{row5 | number}} paid if policyholder has a Partical and Permenent Disability |
| Critical Illness | Rs. {{row6 | number}} paid on event of a critical illness |
| Hospitalization Benefit | Rs. {{row7 | number}} per day hospitalization benefit |
| Funeral Expenses | Rs. {{row8 | number}} paid death of Policyholder if death for funeral expenses |


{{ total.mapping }}
Video Mapping
{{ total.guest }}
Guest Book
{{ total.category }}
Travelling Category
{{ total.special }}
Special Interest
{{ total.seasonality }}
Seasonality
{{ total.budget }}
Budget Wise
{{ total.parties }}
Number of Parties
{{ total.food }}
Food Interest


Weekend of sport: Get out and support your team
by Jacob PageWith a busy weekend of sport ahead, Jacob Page look at what's in store for Canterbury representative and club teams.
Football
The Canterbury United Pride will welcome WaiBop United to English Park on Saturday at noon for week 11 of the national women's league.
The Pride sit three points clear at the top of the table with eight wins and one loss, while WaiBop are one place off the wooden spoon, having just two wins and eight losses from 10 games.
Meanwhile, the Canteburry Dragons are currently sixth in the men's premiership. with a win, a loss and a draw from three games. They will host Hawkes Bay United on Sunday at English Park with kick-off at 2pm.
Cricket
Canterbury will host Otago in a Ford Trophy one-day cricket contest at Hagley Oval on Monday from 11am.
Canterbury won their opening round clash against Northern Districts by 84 runs on Thursday at Hamilton's Seddon Park, thanks to 126 from opener Jack Boyle.
It is semi-final time in the Christchurch metro premier one-day cricket competition.
In the premiership, defending champions St Albans have qualified top with a six-win, one-loss record, and will play Old Boys Collegians - which finished the round robin in fourth place - on Sunday at Hagley Park.
Lancaster Park finished in second and will host Sydenham in the other semi-final at Garrick Park on Sunday.
The Canterbury country premier twenty20 competition also gets under way with each team playing two matches on Saturday,
Bowls
The Bowls Canterbury will hold round six of the men's sevens competition on Friday night.
Christchurch will host Woolston Park, Bowls Papanui will welcome Parklands, Canterbury 2017 will host Elmwood Park, Belfast will travel to Papanui Club and Burnside will host Redcliffs-Mt Pleasant.


Post Issues to GitHub
Choose a Repo
Attach Conversation
Compose Response Email
Click an Issue to View
Sign In


*** User 2017-04-20 14:13:07.940 ***
14:13:07.939 [info] Disabling blocking sync...
*** User 2017-04-20 14:13:07.943 ***
14:13:07.943 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'node-1@antoine-PC'
*** User 2017-04-20 14:13:09.281 ***
14:13:09.280 [info] Enabling membership...
*** User 2017-04-20 14:13:09.282 ***
14:13:09.281 [info] Disabling blocking sync...
*** User 2017-04-20 14:13:09.285 ***
14:13:09.285 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'node-2@antoine-PC'
*** User 2017-04-20 14:13:10.619 ***
14:13:10.618 [info] Enabling membership...
*** User 2017-04-20 14:13:10.620 ***
14:13:10.620 [info] Disabling blocking sync...
*** User 2017-04-20 14:13:10.623 ***
14:13:10.623 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'node-3@antoine-PC'
*** User 2017-04-20 14:13:10.788 ***
Joining node: 'node-3@antoine-PC' to 'runner@antoine-PC' at port 39519
*** User 2017-04-20 14:13:10.788 ***
Joining issued: 'node-3@antoine-PC' to 'runner@antoine-PC' at port 39519
*** User 2017-04-20 14:13:10.788 ***
Joining node: 'node-2@antoine-PC' to 'runner@antoine-PC' at port 38051
*** User 2017-04-20 14:13:10.789 ***
Joining issued: 'node-2@antoine-PC' to 'runner@antoine-PC' at port 38051
*** User 2017-04-20 14:13:10.789 ***
Joining node: 'node-1@antoine-PC' to 'runner@antoine-PC' at port 56513
*** User 2017-04-20 14:13:10.789 ***
Joining issued: 'node-1@antoine-PC' to 'runner@antoine-PC' at port 56513
*** User 2017-04-20 14:13:10.850 ***
Waiting for join to complete with manager: partisan_default_peer_service_manager
*** User 2017-04-20 14:13:10.851 ***
Finished.
*** CT 2017-04-20 14:13:10.851 *** COVER INFO
Adding nodes to cover test: ['runner@antoine-PC']
*** CT 2017-04-20 14:13:10.856 *** COVER INFO
Successfully added nodes to cover test: []
*** User 2017-04-20 14:13:10.856 ***
Case finished: sql_simple_uncontracted_latency_test
*** User 2017-04-20 14:13:17.912 ***
14:13:17.912 [info] Application lasp exited with reason: stopped
*** User 2017-04-20 14:13:17.913 ***
14:13:17.913 [info] Application partisan exited with reason: stopped
=== Ended at 2017-04-20 14:13:17
=== successfully completed test case
=== Returned value: ok
Test run history
| Top level test index


| Home | Trees | Indices | Help |
|
|---|
|
|
pyparsing module - Classes and methods to define and execute parsing grammars
The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. With pyparsing, you don't need to learn a new syntax for defining grammars or matching expressions - the parsing module provides a library of classes that you use to construct the grammar directly in Python.
Here is a program to parse "Hello, World!" (or any greeting
of the form "<salutation>,
<addressee>!"
):
from pyparsing import Word, alphas # define grammar of a greeting greet = Word( alphas ) + "," + Word( alphas ) + "!" hello = "Hello, World!" print (hello, "->", greet.parseString( hello ))
The program outputs the following:
Hello, World! -> ['Hello', ',', 'World', '!']
The Python representation of the grammar is quite readable, owing to the self-explanatory class names, and the use of '+', '|' and '^' operators.
The parsed results returned from parseString()
can be
accessed as a nested list, a dictionary, or an object with named
attributes.
The pyparsing module handles some of the problems that are typically vexing when writing text parsers:
Version: 2.0.2
Author: Paul McGuire<EMAIL_ADDRESS>| Classes | |
|
ParseBaseException base exception class for all parsing runtime exceptions |
|
|
ParseException exception thrown when parse expressions don't match class; supported attributes by name are: |
|
|
ParseFatalException user-throwable exception thrown when inconsistent parse content is found; stops all parsing immediately |
|
|
ParseSyntaxException just like ParseFatalException , but thrown internally
when an ErrorStop ('-' operator) indicates that
parsing is to stop immediately because an unbacktrackable syntax
error has been found
|
|
|
RecursiveGrammarException exception thrown by validate() if the grammar could be
improperly recursive
|
|
|
ParseResults Structured parse results, to provide multiple means of access to the parsed data: |
|
|
ParserElement Abstract base level parser element class. |
|
|
Token Abstract ParserElement subclass, for defining atomic
matching patterns.
|
|
|
Empty An empty token, will always match. |
|
|
NoMatch A token that will never match. |
|
|
Literal Token to exactly match a specified string. |
|
|
Keyword Token to exactly match a specified string as a keyword, that is, it must be immediately followed by a non-keyword character. |
|
|
CaselessLiteral Token to match a specified string, ignoring case of letters. |
|
| CaselessKeyword | |
|
Word Token for matching words composed of allowed character sets. |
|
|
Regex Token for matching strings that match a given regular expression. |
|
|
QuotedString Token for matching strings that are delimited by quoting characters. |
|
|
CharsNotIn Token for matching words composed of characters *not* in a given set. |
|
|
White Special matching class for matching whitespace. |
|
|
GoToColumn Token to advance to a specific column of input text; useful for tabular report scraping. |
|
|
LineStart Matches if current position is at the beginning of a line within the parse string |
|
|
LineEnd Matches if current position is at the end of a line within the parse string |
|
|
StringStart Matches if current position is at the beginning of the parse string |
|
|
StringEnd Matches if current position is at the end of the parse string |
|
|
WordStart Matches if the current position is at the beginning of a Word, and is not preceded by any character in a given set of wordChars (default=printables ).
|
|
|
WordEnd Matches if the current position is at the end of a Word, and is not followed by any character in a given set of wordChars
(default=printables ).
|
|
|
ParseExpression Abstract subclass of ParserElement, for combining and post-processing parsed tokens. |
|
|
And Requires all given ParseExpression s to be found in the
given order.
|
|
|
Or Requires that at least one ParseExpression is found.
|
|
|
MatchFirst Requires that at least one ParseExpression is found.
|
|
|
Each Requires all given ParseExpression s to be found, but
in any order.
|
|
|
ParseElementEnhance Abstract subclass of ParserElement , for combining and
post-processing parsed tokens.
|
|
|
FollowedBy Lookahead matching of the given parse expression. |
|
|
NotAny Lookahead to disallow matching with the given parse expression. |
|
|
ZeroOrMore Optional repetition of zero or more of the given expression. |
|
|
OneOrMore Repetition of one or more of the given expression. |
|
|
Optional Optional matching of the given expression. |
|
|
SkipTo Token for skipping over all undefined text until the matched expression is found. |
|
|
Forward Forward declaration of an expression to be defined later - used for recursive grammars, such as algebraic infix notation. |
|
|
TokenConverter Abstract subclass of ParseExpression , for converting
parsed results.
|
|
|
Upcase Converter to upper case all matching tokens. |
|
|
Combine Converter to concatenate all matching tokens to a single string. |
|
|
Group Converter to return the matched tokens as a list - useful for returning tokens of ZeroOrMore and OneOrMore expressions.
|
|
|
Dict Converter to return a repetitive expression as a list, but also as a dictionary. |
|
|
Suppress Converter for ignoring the results of a parsed expression. |
|
|
OnlyOnce Wrapper for parse actions, to ensure they are only called once. |
| Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
| Variables | |
alphas =
|
|
nums =
|
|
hexnums =
|
|
alphanums =
|
|
printables =
|
|
empty = empty
|
|
lineStart = lineStart
|
|
lineEnd = lineEnd
|
|
stringStart = stringStart
|
|
stringEnd = stringEnd
|
|
opAssoc = _Constants()
|
|
dblQuotedString = string enclosed in double quotes
|
|
sglQuotedString = string enclosed in single quotes
|
|
quotedString = quotedString using single or double quotes
|
|
unicodeString = Combine:({"u" quotedString using single or dou
|
|
alphas8bit =
|
|
punc8bit =
|
|
commonHTMLEntity = Combine:({"&" Re:('gt|lt|amp|nbsp|quot') ";"})
|
|
cStyleComment = C style comment
|
|
htmlComment = Re:('<!--[\\s\\S]*?-->')
|
|
restOfLine = Re:('.*')
|
|
dblSlashComment = // comment
|
|
cppStyleComment = C++ style comment
|
|
javaStyleComment = C++ style comment
|
|
pythonStyleComment = Python style comment
|
|
commaSeparatedList = commaSeparatedList
|
|
anyCloseTag = </W:(abcd...,abcd...)>
|
|
anyOpenTag = <W:(abcd...,abcd...)>
|
| Function Details |
Returns current column within a string, counting newlines as line separators. The first column is number 1. Note: the default parsing behavior is to expand tabs in the input
string before starting the parsing process. See ParserElement.parseString for more information on
parsing strings containing |
Returns current line number within a string, counting newlines as line separators. The first line is number 1. Note: the default parsing behavior is to expand tabs in the input
string before starting the parsing process. See ParserElement.parseString for more information on
parsing strings containing |
Helper to define a delimited list of expressions - the delimiter
defaults to ','. By default, the list elements and delimiters can have
intervening whitespace, and comments, but this can be overridden by
passing |
Helper to define a counted list of expressions. This helper defines a pattern of the form: integer expr expr expr... where the leading integer tells how many expr expressions follow. The matched tokens returns the array of expr tokens as a list - the leading count token is suppressed. |
Helper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example: first = Word(nums) second = matchPreviousLiteral(first) matchExpr = first + ":" + second will match |
Helper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example: first = Word(nums) second = matchPreviousExpr(first) matchExpr = first + ":" + second will match |
Helper to quickly define a set of alternative Literals, and makes sure
to do longest-first testing when there is a conflict, regardless of the
input order, but returns a Parameters:
|
Helper to easily and clearly define a dictionary by specifying the
respective patterns for the key and value. Takes care of defining the
|
Helper to return the original, untokenized text for a given
expression. Useful to restore the parsed fields of an HTML start tag
into the raw tag text itself, or to revert separate tokens with
intervening whitespace back to the original matching input text. Simpler
to use than the parse action If the optional |
Helper to decorate a returned token with its starting and ending locations in the input string. This helper adds the following results names:
Be careful if the input text contains |
Helper to easily define string ranges for use in Word construction. Borrows syntax from regexp '[]' string range definitions: srange("[0-9]") -> "0123456789" srange("[a-z]") -> "abcdefghijklmnopqrstuvwxyz" srange("[a-z$_]") -> "abcdefghijklmnopqrstuvwxyz$_" The input string must be enclosed in []'s, and the returned string is the expanded character set joined into a single string. The values enclosed in the []'s may be: a single character an escaped character with a leading backslash (such as \- or \]) an escaped hex character with a leading '\x' (\x21, which is a '!' character) (\0x## is also supported for backwards compatibility) an escaped octal character with a leading '\0' (\041, which is a '!' character) a range of any of the above, separated by a dash ('a-z', etc.) any combination of the above ('aeiouy', 'a-zA-Z0-9_$', etc.) |
Helper method for common parse actions that simply return a literal
value. Especially useful when used with |
Helper parse action for removing quotation marks from parsed quoted strings. To use, add this parse action to quoted string using: quotedString.setParseAction( removeQuotes ) |
DEPRECATED - use new helper method |
Helper to create a validating parse action to be used with start tags
created with Call
For attribute names with a namespace prefix, you must use the second form. Attribute names are matched insensitive to upper/lower case. To verify that the attribute exists, but without specifying a value,
pass |
Helper method for constructing grammars of expressions made up of operators working in a precedence hierarchy. Operators may be unary or binary, left- or right-associative. Parse actions can also be attached to operator expressions. Parameters:
|
Helper method for constructing grammars of expressions made up of operators working in a precedence hierarchy. Operators may be unary or binary, left- or right-associative. Parse actions can also be attached to operator expressions. Parameters:
|
Helper method for defining nested lists enclosed in opening and closing delimiters ("(" and ")" are the default). Parameters:
If an expression is not provided for the content argument, the nested expression will capture all whitespace-delimited content between delimiters as a list of separate values. Use the |
Helper method for defining space-delimited indentation blocks, such as those used to define block statements in Python source code. Parameters:
A valid block must contain at least one
|
| Variables Details |
alphanums
|
printables
|
unicodeString
|
alphas8bit
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Apr 13 12:08:30 2014 | http://epydoc.sourceforge.net |


--- layout: archive title: "Talk map" permalink: /talkmap.html author_profile: true ---
This map is generated from a Jupyter Notebook file in /_talks/talkmap.ipynb, which mines the location fields in the .md files in _talks/.


|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityResolver2
Extended interface for mapping external entity references to input
sources, or providing a missing external subset. The
XMLReader.setEntityResolver()
method
is used to provide implementations of this interface to parsers.
When a parser uses the methods in this interface, the
EntityResolver2.resolveEntity()
method (in this interface) is used instead of the older (SAX 1.0)
EntityResolver.resolveEntity()
method.
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY.
If a SAX application requires the customized handling which this
interface defines for external entities, it must ensure that it uses
an XMLReader with the
http://xml.org/sax/features/use-entity-resolver2 feature flag
set to true (which is its default value when the feature is
recognized). If that flag is unrecognized, or its value is false,
or the resolver does not implement this interface, then only the
EntityResolver
method will be used.
That supports three categories of application that modify entity resolution. Old Style applications won't know about this interface; they will provide an EntityResolver. Transitional Mode provide an EntityResolver2 and automatically get the benefit of its methods in any systems (parsers or other tools) supporting it, due to polymorphism. Both Old Style and Transitional Mode applications will work with any SAX2 parser. New style applications will fail to run except on SAX2 parsers that support this particular feature. They will insist that feature flag have a value of "true", and the EntityResolver2 implementation they provide might throw an exception if the original SAX 1.0 style entity resolution method is invoked.
XMLReader.setEntityResolver(org.xml.sax.EntityResolver)
| Method Summary | |
|---|---|
InputSource |
getExternalSubset(String name,
String baseURI)
Allows applications to provide an external subset for documents that don't explicitly define one. |
InputSource |
resolveEntity(String name,
String publicId,
String baseURI,
String systemId)
Allows applications to map references to external entities into input sources, or tell the parser it should use conventional URI resolution. |
| Methods inherited from interface org.xml.sax.EntityResolver |
|---|
resolveEntity |
| Method Detail |
|---|
InputSource getExternalSubset(String name, String baseURI) throws SAXException, IOException
startDTD()
method as if
the document text had originally included the external subset;
this callback is made before any internal subset data or errors
are reported.
This method can also be used with documents that have no DOCTYPE declaration. When the root element is encountered, but no DOCTYPE declaration has been seen, this method is invoked. If it returns a value for the external subset, that root element is declared to be the root element, giving the effect of splicing a DOCTYPE declaration at the end the prolog of a document that could not otherwise be valid. The sequence of parser callbacks in that case logically resembles this:
... comments and PIs from the prolog (as usual) startDTD ("rootName", source.getPublicId (), source.getSystemId ()); startEntity ("[dtd]"); ... declarations, comments, and PIs from the external subset endEntity ("[dtd]"); endDTD (); ... then the rest of the document (as usual) startElement (..., "rootName", ...);
Note that the InputSource gets no further resolution.
Implementations of this method may wish to invoke
resolveEntity()
to gain benefits such as use
of local caches of DTD entities. Also, this method will never be
used by a (non-validating) processor that is not including external
parameter entities.
Uses for this method include facilitating data validation when interoperating with XML processors that would always require undesirable network accesses for external entities, or which for other reasons adopt a "no DTDs" policy. Non-validation motives include forcing documents to include DTDs so that attributes are handled consistently. For example, an XPath processor needs to know which attibutes have type "ID" before it can process a widely used type of reference.
Warning: Returning an external subset modifies the input document. By providing definitions for general entities, it can make a malformed document appear to be well formed.
name
- Identifies the document root element. This name comes
from a DOCTYPE declaration (where available) or from the actual
root element.baseURI
- The document's base URI, serving as an additional
hint for selecting the external subset. This is always an absolute
URI, unless it is null because the XMLReader was given an InputSource
without one.
SAXException
- Any SAX exception, possibly wrapping
another exception.
IOException
- Probably indicating a failure to create
a new InputStream or Reader, or an illegal URL.InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws SAXException, IOException
EntityResolver
interface, supporting implementations of more complex catalogue
schemes such as the one defined by the OASIS XML Catalogs specification.
Parsers configured to use this resolver method will call it
to determine the input source to use for any external entity
being included because of a reference in the XML text.
That excludes the document entity, and any external entity returned
by getExternalSubset()
.
When a (non-validating) processor is configured not to include
a class of entities (parameter or general) through use of feature
flags, this method is not invoked for such entities.
Note that the entity naming scheme used here is the same one
used in the LexicalHandler
, or in the ContentHandler.skippedEntity()
method.
name
- Identifies the external entity being resolved.
Either "[dtd]" for the external subset, or a name starting
with "%" to indicate a parameter entity, or else the name of
a general entity. This is never null when invoked by a SAX2
parser.publicId
- The public identifier of the external entity being
referenced (normalized as required by the XML specification), or
null if none was supplied.baseURI
- The URI with respect to which relative systemIDs
are interpreted. This is always an absolute URI, unless it is
null (likely because the XMLReader was given an InputSource without
one). This URI is defined by the XML specification to be the one
associated with the "<" starting the relevant declaration.systemId
- The system identifier of the external entity
being referenced; either a relative or absolute URI.
This is never null when invoked by a SAX2 parser; only declared
entities, and any external subset, are resolved by such parsers.
SAXException
- Any SAX exception, possibly wrapping
another exception.
IOException
- Probably indicating a failure to create
a new InputStream or Reader, or an illegal URL.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.


Hello There!
Hello, I am
having fun
my project is not working
and still bad
Map of Berlin
Hello
Gay bs


What's your share?
Calculate how much you and your partner should contribute towards shared expenses.
Annual income
Monthly expenses
Description
Payer
Cost
Divide our expenses
Great! Here's your expense breakdown:
Individual
% of total
Amount due
Total:
100%
/mo
- / bi-weekly
- / bi-monthly
- / annually
What now?
Talk with your partner about which expense method works for you. Once you've chosen a method, consider creating a shared checking account, depositing contributions from each paycheck, and paying bills using your new account for a worry-free, streamlined financial solution.


pup
Command-line HTML parsing tool.
More information: home page
- Transform a raw HTML file into a cleaned, indented, and colored format:
cat index.html | pup --color
- Filter HTML by element tag name:
cat index.html | pup 'tag'
- Filter HTML by id:
cat index.html | pup 'div#id'
- Filter HTML by attribute value:
cat index.html | pup 'input[type="text"]'
- Print all text from the filtered HTML elements and their children:
cat index.html | pup 'div text{}'
- Print HTML as JSON:
cat index.html | pup 'div json{}'


Prices
$9.50 per ticket – Adults 5 p.m. and later
$8 per ticket – Adults before 5 p.m.
$6.50 per ticket – children 12 years old and under
Door Times
Doors open 30 minutes before the first matinee, 45 minutes before the second matinee, 60 minutes before the 7 p.m., and 30 minutes before the late show. Keep in mind, food is delivered only to the balcony seats. Just order at concessions, grab a seat in the balcony, and we'll bring it to you!


Skills
Projects
Blogs
· 7 min read
DevOps-ify your Firebase app using Github Actions 😎
One of the best ways to increase the productivity of a software developer is to automate any manual or repetitive task. In this article, I will show...
· 6 min read
How to deploy a React application using Firebase hosting 🤔
Firebase is a Backend as a service (BaaS) platform developed and maintained by Google to helps developers...
· 6 min read
How to use JSON as an Environment variable 🤔
While deploying an app into the production environment variables are the preferred approach to store sensitive credentials. In this article, I will discuss...
Connect with Me
Hello 👋
I am always excited to work on some awesome projects, drop me an email and let's discuss over coffee. 😊
contact@soumitdas.com


| Created: | 3/5/2014 12:31:45 PM |
| Modified: | 3/5/2014 1:01:01 PM |
| Project: | |
| Advanced: |
| Operation | ||
|
Public ImportControllerTree( path: string, |
||
|
Details:
Sequential
|
||
|
Public ImportControllerTree( path: string, |
||
|
Details:
Sequential
|


Pizza Time!
Please enter your name
Please enter your address
Create your own
Choose dough
Thin
Original
Glutein Free
Choose size
Medium
Large
Family
Mozzarella
$3
Pepperoni
$1
Tomato sauce
$1
Parmesan cheese
$2
Artichokes
$2
Mushrooms
$1
Olives
$2
Spinach
$1
Add to cart


services
Siatex Bangladesh Limited. Garment Production is a direct, factory owned, full service garment sourcing and production company. We specialize in managing every aspect of your product program from materials development and testing to finished product quality assurance. Siatex Bangladesh Limited. is your partner, supporting the entire process at every stage and providing competitive pricing, flexibility, and quick turn around.
- » Fabric and Trim Sourcing
- » Garment Development
- » Garment Sourcing and Production
- » Quality Control, Packing and Logistics


This blog will introduce the basics of blogging using R Markdown, using this webpage as an example. It’s a tutorial in which we will work through the following:
Let’s get started!
R Markdown is an Rstudio project built for writing reproducible notebooks that integrate R
(and possibly other) code and output. The main idea is to make this as simple as possible. This is why it was built on Markdown, the widely used, easy-to-read web markup language. It looks like this:
## Introduction
This blog will introduce the basics of blogging using R Markdown, using this webpage as an example. It's a tutorial in which we will work through the following:
1. Why would I want to blog with R Markdown?
2. How to create the blog
+ Getting started
+ How to structure your files
+ How to create a blogpost
3. How to host the webpage for free!
+ Version control
+ GitHub pages
+ Custom URL
Let's get started!
## Why???
[R Markdown](http://rmarkdown.rstudio.com/) is an Rstudio project built for writing reproducible notebooks that integrate `R` (and possibly other) code and output. The main idea is to make this as simple as possible. This is why it was built on [Markdown](http://daringfireball.net/projects/markdown/), the widely available, easy-to-read web markup language. It looks like this:
As you can see, it is easy to read in plaintext form, it’s simple to make lists, links, headers and more. Perhaps you know it from GitHub’s comment system, or StackExchange comments.
The great idea of the RStudio developers was that a markup language can be used to generate documents of many different file formats: html pages (what we will be using), articles, word documents, etc.
So why would you want to use it for blogging? Here are my reasons:
R
. May sound strange, but I feel really at home in the RStudio IDE and programming with R
has become …R
programming. Extensive


⚡ SkyMate
Search
It's a lovely day
0
Celsius
Place
Max
Min
Humidity
Wind Speed
Pressure
Get real time weather of any location with
⚡SkyMate


Fichardt earns European Tour card in Spain
Cape Town - South Africa's Darren Fichardt has earned his European Tour card for next season at the Tour's Qualifying School Final Stage at the Lumine Golf Club in Spain.
Fichardt shot a final-round 69 to finish on 13-under par to sit in 22nd position - as Denmark's Benjamin Poke ran away with the title.
Only 28 players earned their life-changing European Tour cards.
Fichardt was the only South African out of the 12-man contingent who made it through to the Final Qualifying Stage to secure his card.
Those missing out included Wilco Nienaber, Louis de Jager, Bryce Easton, Garrick Higgo, JC Ritchie, Daniel van Tonder, Neil Schietekat, Jacques Kruyswijk, Trevor Fisher Jnr, Garth Mulroy and Jake Roos.
The 2019 European Tour Qualifying School was contested over 252 holes in three stages across 14 different venues.
A record number of 1 063 entrants bid for one of the coveted European Tour cards, surpassing the previous record of 1 026 from 2017.
Fichardt is a five-time European Tour winner with his last victory coming at the Joburg Open in 2017.
Fichardt will compete on the European Tour throughout the 2020 season, starting with the Alfred Dunhill Championship from November 28-December 1.
- Compiled by Lynn Butler


Citation: S.H., France, ER editors. 'More Salvia Divinorum'.
The Entheogen Review. Autumnal Equinox 1998;7(3):57-8.
Wow! In the past I have thought that
Salvia divinorum was 'fun but interesting.' Well, it is very interesting, but also
very powerful. I smoked alone inside my home at night. I saw a whirlwind of cobras so incredible that it literally made me stop smoking for a second. I was afraid that it was going to wake up all of my neighborhood, and I'm sure that if I hadn't stopped that would have happened. I closed my eyes and the energy became two wheels of raw power, moving in opposite directions around me--even while I was locked in the most powerful position one can achieve--the lotus. I had to open my eyes and move a little bit to release energy. I closed my eyes again and fell gently into obscurity. I had the feeling that, while floating, I could try to reach friends; but I just couldn't think of what friend wouldn't have been disturbed by my apparition, whatever that would have been.
Two days later, I smoked with a friend outside in the mountains at night. The first attempt was somehow deceiving; as if, instead of bouncing on the walls back against me, the power was diluting itself among the stars. But now I look at this as if the
Salvia divinorum was preparing me for what was coming.
On the second try, everything broke into patterns--but not African, Tibetan, or Indian patterns. No, it was just
sausages--sausages everywhere. Beyond these visual effects, suddenly and without any doubt I knew that I wasn't in the same universe. While laughing, I said to my friend, 'I'm talking to you from another dimension. My voice comes to you from a different reality.' It was so clear and so incredibly simple, that I was killing myself laughing. I was in another universe and I saw a very concrete frontier between my friend and I. As time passed, I slowly reintegrated my ordinary spatial and temporal coordinates.
On the third attempt the world exploded into...
mice (why the hell sausages or mice... we've got a lot of dirt in our heads), but with eyes closed I saw that the mice, like laughs, were just flowery images that were keeping me from going deeper. I took deep breaths, concentrated on the energy, and I found myself in a
2001: A Space Odyssey universe. Larger spheres were rotating (some of them were in contact), and between them there was eternity. I said to my friend, 'It is obvious that, of course, I'm not here any more.'
Salvia divinorum is very powerful. I don't know what would happen if the effects weren't so short. I mean, this state is completely unknown. We don't have the slightest idea how to move in it. Still, it was so simple. I had two choices: acting as if I didn't know what was happening, and ranting and raving, 'What's that? What's that? What's happening to me?' or taking responsibility. And it was simple. I went to another dimension and it was so simple. In fact, the best definition I can give that some readers will understand is that I changed the place of my 'point of collection.'
A few questions: Are dried
Salvia divinorum leaves potent when chewed? If yes, how much is needed, how long does the experience last, and does anyone have a clue as to how to act with it and use it shamanically? -- S.H., France
It has been suggested that dried Salvia divinorum
can be rehydrated with hot water, chewed, and kept in the cheeks in the same manner as fresh leaves are used (Pendell 1995). This method has now been reported by numerous psychonauts as being effective. A good starting dose is probably 2-3 grams of dried leaf. As with fresh-chewed leaves, the experience should come on slower and last longer than smoked leaf--perhaps 1-2 hours.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


{% extends "base.html" %} {% block content %}
Are you sure you want to remove all users? This action cannot be reversed!


NEWTON’S SECOND LAW OF MOTION—If an unbalanced outside force acts on a body, the resulting acceleration is directly proportional to the magnitude of the force, is in the direction of the force, and is inversely proportional to the mass of the body.
POSITION SENSOR—A component in a servo system that measures position and converts the measurement into a form convenient for transmission as a feedback signal.
POSITION SERVO SYSTEM—A servo system whose end function is to control the position of the load it is driving.
POTENTIOMETER—An electromechanical device, used as a position sensor in servo systems, having a terminal connected to each end of a restrictive element, and a third connected to a wiper contact. The output is a voltage that is variable depending upon the position of the wiper contact. The potentiometer is commonly referred to as a variable voltage divider. It, in effect, converts mechanical information into an electrical signal.
PRECESSION—The rotation of the spin axis of a gyro in response to an applied force. The direction of precession is always perpendicular to the direction of applied force.
AI-4
PRECESSION VECTOR—In a gyro, a vector representing the angular change of the spin axis when torque is applied. The precession vector represents the axis about which precession occurs.
PRESTANDARD NAVY SYNCHROS—Synchros that are designed to meet Navy, rather than servicewide, specifications.
RATE GYRO—A gyro used to detect and measure angular rates of change.
RESOLVER—A rotary, electromechanical device used to perform trigonometric computations by varying the magnetic couplings between its primary and secondary windings. It is generally used in circuits that solve vector problems, such as analog computers and conversion equipment. The resolver solves three different type problems: (1) resolution— separating a vector into two mutually perpendicular components; (2) composition— combining two components of a vector to produce a vector sum; (3) combination—the process of resolution and composition taking place simultaneously.
RESULTANT MAGNETIC FIELD—The magnetic field produced in a synchro by the combined effects of the three stator magnetic fields.
RIGIDITY—The tendency of the spin axis of a gyro wheel to remain in a fixed direction in space if no force is applied to it.
ROTOR—The rotating member of a synchro that consists of one or more coils of wire wound on a laminated core. Depending on the type of synchro, the rotor functions similar to the primary or secondary winding of a transformer. In a gyro, the rotating member is sometimes called a gyro wheel.
SCALING FACTOR—The term used to describe the use of unequal resistors in a servo's summing network to compensate for differences between input and output signal levels.
SERVO AMPLIFIER—An ac or dc amplifier used in servo systems to build up signal strength. These amplifiers usually have relatively flat gain versus frequency response, minimum phase shift, low output impedance, and low noise level. The dc amplifier is subject to excessive drift and is relatively unstable. However, the ac amplifier is considered drift free and has a constant dynamic gain over a variety of operating points.
SERVO MOTOR—An ac or dc motor used in servo systems to move a load to a desired position or at a desired speed. The ac motor is usually used to drive light loads at a constant speed, while the dc motor is used to drive heavy loads at varying speeds.
SERVO SYSTEM—An automatic feedback control system that compares a required condition (desired value, position, etc.) with an actual condition and uses the difference to adjust a control device to achieve the required condition.
SIGNAL—The angle through which a synchro transmitter rotor is mechanically turned.
SPIN VECTOR—In a gyro, a vector representing the angular velocity of the gyro rotor. The spin vector lies along the spin axis of the rotor.
AI-5
STATOR—The stationary member of a synchro that consists of a cylindrical structure of slotted laminations on which three Y-connected coils are wound with their axes 120 apart. Depending on the type of synchro, the stator's functions are similar to the primary or secondary windings of a transformer.
STEP-TRANSMISSION SYSTEM—A data transmission system that operates on direct current. It consists of a step transmitter (rotary switch) and a step motor interconnected to transmit data (information) between remote locations.
STICKOFF VOLTAGE—A low voltage used in multispeed synchro systems to prevent false synchronizations.
SUMMING NETWORK—A combination of two or more parallel resistors used in servo systems as error detectors. The output of the network is the algebraic sum of the inputs.
SYNCHRO—A small motorlike device that operates like a variable transformer and is used primarily for the rapid and accurate transmission of data among equipments and stations.
SYNCHRO CAPACITOR—A unit containing three delta-connected capacitors. The synchro capacitor is used in synchro systems to increase the system's accuracy by cancelling or reducing phase shift introduced by synchro inductance.
SYNCHRO SYSTEM—Two or more synchros interconnected electrically. The system is used to transmit data among equipments and stations.
SYNCHRO TESTER—A synchro receiver with a calibrated dial. This receiver is used primarily for locating defective synchros. It can also be used for zeroing synchros.
SYNCHRO TROUBLESHOOTING—The locating or diagnosing of synchro malfunctions or breakdowns by means of systematic checking or analysis.
SYNCHRONIZING NETWORK—A circuit used in servo systems, also called a crossover or switching network, to sense how far the load is from the point of correspondence and then functions to switch the appropriate signal into control.
TACHOMETER—A small ac or dc generator, sometimes referred to as a rate generator, which converts its shaft speed into an electrical output. The tachometer is frequently used in servo systems to sense the velocity of a load.
TIME LAG—The delay in a servo system between the application of the input signal and the actual movement of the load.
TORQUE—A measure of how much load a machine can turn. This measurement is expressed either in ounce-inches for torque synchro systems or in pound-feet for heavy machinery.
TORQUE DIFFERENTIAL RECEIVER (TDR)—A type of differential synchro that takes two electrical inputs, one to the rotor and one to the stator, and produces a mechanical output. The output is the angular position of the rotor, which represents the algebraic sum or difference of the two electrical inputs.
TORQUE DIFFERENTIAL SYNCHRO SYSTEM—A synchro system containing either a TDX or a TDR. This system is used in application where it is necessary to compare two signals, add or subtract the signals, and furnish an output proportional to the sum or difference between the two signals.
AI-6
TORQUE DIFFERENTIAL TRANSMITTER (TDX)—A synchro that is functionally the same as the CDX except that it is used in torque systems rather than control systems.
TORQUE RECEIVER (TR)—A type of synchro that converts the electrical input supplied to its stator back to a mechanical angular output through the movement of its rotor.
TORQUE SYNCHRO SYSTEM—A synchro system that uses torque synchros to move light loads such as dials, pointers, and other similar devices.
TORQUE TRANSMITTER (TX)—A synchro that is functionally the same as the CX except that it is used in torque synchro systems.
TORQUE VECTOR—In a gyro, a vector representing the rotary motion applied to change the direction of the rotor axis. The torque vector represents the axis about which the applied force is felt.
TRANSLATION—In a gyro, a force acting through the center of gravity of the gyro that causes no torque on the gyro rotor. Translation forces do not change the angle of the plane of rotation but move the gyroscope as a unit.
TROUBLE INDICATORS—Signal lights used to aid maintenance personnel in locating synchro troubles quickly.
TROUBLE TABLES—Tables of trouble symptoms and probable causes furnished by many manufacturers, with their equipment, to help technicians isolate synchro problems.
VELOCITY SERVO SYSTEM—A servo system that controls the speed of the load it is driving.
X-AXIS—In a gyro, the spin axis of the gyro.
Y-AXIS—In a gyro, an axis through the center of gravity and perpendicular to the spin axis.
Z-AXIS—In a gyro, an axis through the center of gravity and mutually perpendicular to both the spin (X) and Y axes.
ZEROING—The process of adjusting a synchro to its electrical zero position.
INDEX-1
INDEX-2
INDEX-3
Information: The text pages that you are to study are provided at the beginning of the assignment questions.
1
Textbook assignment: Chapter 1, “Synchros,” pages 1-1 through 1-78. ___________________________________________________________________________________
1-1. Which of the following terms accurately describes a synchro?
1. Position-sensing 2. Electromechanical 3. Rotary 4. Each of the above
1-2. What are the two general classifications of synchro systems?
1. Torque and load 2. Torque and control 3. Load and control 4. Load and lock
1-3. What is the difference in application between the two classifications of synchros?
1. Light versus heavy load 2. Mechanical versus electrical Output 3. Circular versus straight-line motion 4. High-frequency versus low-frequency
1-4. Which of the following types of synchro devices provides a mechanical output?
1. A control transformer 2. A torque receiver 3. A torque transmitter 4. A control transmitter
1-5. A 115-volt, 400-Hz torque transmitter with a diameter of 2.36 inches will have what military standard designation code?
1. 115 V-23CT6 2. 115 V-24TT4 3. 23TD4 4. 24TX4
1-6. A 3.5-inch diameter differential receiver will have what Navy prestandard designation code?
1. 35CR 2. 35TDR 3. 5D 4. 5DG
1-7. What does the arrow on a synchro schematic symbol indicate?
1. The direction of current flow 2. The direction of rotor movement 3. The angular position of the stator 4. The angular position of the rotor
1-8. What are the two major components of a synchro?
1. The rotor and the stator 2. The housing and the stator 3. The rotor and the shaft 4. The housing and the shaft
1-9. What type of rotor can be composed of a single winding or three Y-connected windings?
1. Salient-pole 2. Drum or wound 3. Fixed 4. "H"
1-10. How does the stator of a TX receive voltage?
1. By a physical connection with the rotor
2. By a magnetic coupling with another stator
3. By a magnetic coupling with the rotor 4. By a physical connection with a
2
1-11. What part of a synchro provides a point for external connections?
1. The terminal board 2. The slip ring 3. The stator 4. The brush
1-12. Which of the following terms is defined as the amount of load a machine can turn?
1. Radian force 2. Load factor 3. Torque 4. Tension
1-13. Which of the following units should be used in measuring the amount of turning force of a synchro?
1. Ounces 2. Pounds 3. Foot-pounds 4. Ounce-inches
1-14. An overloaded synchro will probably exhibit which of the following conditions?
1. Overspeed 2. Oscillation 3. Excessive temperature 4. Noisy operation
1-15. A synchro receiver has which of the following characteristics that is NOT found in an ordinary transformer?
1. A primary that can rotate in relation to the secondary
2. A primary magnetically coupled to the secondary
3. A step-up turns ratio 4. An air core
1-16. When a synchro transmitter is in the zero-degree position, the rotor is aligned in what manner?
1. With winding S1 2. With winding S2 3. With winding S3 4. Between winding S1 and S2
1-17. Maximum voltage is induced in a stator winding of a synchro transmitter when the rotor and the stator winding have what angle between them?
1. 0 degrees 2. 30 degrees 3. 60 degrees 4. 90 degrees
1-18. Which of the following factors does NOT affect the amplitude of the voltage induced in a stator winding of a synchro transmitter?
1. The angular displacement between the rotor and stator
2. The amplitude of the primary voltage 3. The speed of data transmission 4. The turns ratio of the synchro
1-19. Damping is necessary for which of the following synchro devices?
1. Receiver 2. Transmitter 3. Control transformer 4. Differential transmitter
1-20. The primary purpose of damping is to reduce which of the following conditions in a synchro device?
1. Readings 180º out of phase 2. Overheating 3. Oscillating 4. Each of the above
3
1-21. What is the minimum number of synchro devices needed for a simple synchro transmission system?
1. One 2. Two 3. Three 4. Four
1-22. In a simple synchro system, what leads are connected to the source voltage?
1. R1 and R2 2. S1 and S2 3. S2 and S3 4. R1 and S1
1-23. When a synchro transmitter, and receiver are in correspondence, what is the relative value of the (a) current through the stators and (b) receiver torque?
1. (a) Maximum (b) maximum 2. (a) Maximum (b) minimum 3. (a) Minimum (b) minimum 4. (a) Minimum (b) maximum
1-24. What term applies to the angle through which a synchro transmitter rotor is rotated mechanically?
1. Lag 2. Lead 3. Gain 4. Signal
1-25. If a synchro receiver is required to rotate in a direction opposite to the rotation of the transmitter rotor, what leads should be reversed?
1. R1 and R2 2. S1 and S2 3. S2 and S3 4. S1 and S3
1-26. If a synchro receiver and transmitter are always 180 degrees out of phase with each other, what leads are reversed?
1. R1 and R2 2. S1 and S2 3. S2 and S3 4. S1 and S3
1-27. What type of synchro can accept two signals simultaneously and add or subtract?
1. Transmission 2. Differential 3. Automatic 4. Shiftless
1-28. What are the two types of synchro devices that will accept two inputs?
1. TR and TX 2. TR and TDX 3. TDR and TX 4. TDR and TDX
1-29. What types of synchro devices have (a) one electrical and one mechanical input and an electrical output; and (b) two electrical inputs and a mechanical outputs?
1. (a) TR (b) TX 2. (a) TX (b) TR 3. (a) TDX (b) TDR 4. (a) TDR (b) TDX
1-30. What determines whether a differential synchro device adds or subtracts its inputs?
1. The way it is connected in the system 2. The direction of rotor movement 3. The number of stator windings 4. The supply voltage polarity
4
1-31. In a TDX system, for the TR rotor to follow the TX rotor exactly, in what position must the TDX rotor be kept?
1. 0 degree position 2. 60 degree position 3. 120 degree position 4. 240 degree position
1-32. What is the angular position of a TR rotor when it is pointing to the S3 winding?
1. 0 degrees 2. 60 degrees 3. 120 degrees 4. 240 degrees
1-33. If a TDX system with standard synchro connections has the TX rotor at the 60- degree position and the TDX rotor at the 270-degree position, what is the position of the TR rotor?
1. 110 degrees 2. 150 degrees 3. 210 degrees 4. 250 degrees
1-34. For a TDX system to add its inputs rather than subtract them, what leads must be reversed between (a) the TX and TDX, and (b) the TR and TDX?
1. (a) S1 and S2 (b) R1 and R3 2. (a) S1 and S3 (b) R1 and R3 3. (a) S2 and S3 (b) R1 and R2 4. (a) S1 and S3 (b) R1 and R2
1-35. For a TDR system to add its inputs rather than subtract them, what leads must be reversed at the TDR?
1. S1 and S3 2. S1 and S2 3. R1 and R3 4. R1 and R2
1-36. If a TDR system is connected for addition and the TX rotor connected to the TDR rotor turns counterclockwise, in what direction will the TDR rotor field rotate?
1. In a direction determined by the other TX stator
2. In a direction determined by the other TX rotor
3. Counterclockwise 4. Clockwise
1-37. Which of the following types of synchros is used in a system requiring large amounts of power and high accuracy?
1. Torque 2. Control 3. Differential 4. Each of the above
1-38. What are the three types of control synchros?
1. TX, TR, CT 2. TX, CDX, CR 3. CX, CT, CR 4. CX, CT, CDX
1-39. The CX and CDX differ from the TX and TDX because the CX and CDX have which of the following characteristics?
1. Lower impedance windings 2. Higher impedance windings 3. Larger physical size 4. Smaller physical size
1-40. Which of the following is NOT a characteristic of the rotor of a control transformer (CT) rotor?
1. It is connected to a high-impedance load
2. It must be turned by an external force 3. It is connected to an ac source 4. It has a drum- or wound-type rotor
5
1-41. When a control transformer is at electrical zero, the rotor is perpendicular to what winding?
1. S1 2. S2 3. S3 4. R2
1-42. If a control transformer is held at electrical zero and the control transmitter is turned 90 degrees counterclockwise, what is (a) the amplitude of the induced voltage in the rotor of the control transformer, and (b) the phase relationship of this voltage and the excitation voltage to the control transmitter?
1. (a) Maximum (b) out-of-phase 2. (a) Maximum (b) in phase 3. (a) Minimum (b) out-of-phase 4. (a) Minimum (b) in phase
1-43. Which of the following terms applies to the output of a control transformer?
1. Mechanical movement 2. Deflection angle 3. Output voltage 4. Error signal
1-44. If the output of a control transformer is zero, what is the relationship of the rotors of the control transformer and the control transmitters?
1. In correlation 2. Out of correlation 3. In correspondence 4. Out of correspondence
1-45. Synchro capacitors are used to provide which of the following characteristics in a synchro system?
1. Improved accuracy 2. Reduced oscillations 3. Wider frequency response 4. Higher load-carrying capacity
1-46. Which of the following synchro devices uses a synchro capacitor?
1. TX 2. RX 3. TDR 4. CDX
1-47. What type of current is eliminated by synchro capacitors?
1. Loss 2. Rotor 3. Stator 4. Magnetizing Stator
1-48. In what configuration are synchro capacitors connected in a synchro circuit?
1. Wye, across the rotor windings 2. Delta, across the rotor windings 3. Wye, across the stator windings 4. Delta, across the stator windings
1-49. To maintain system accuracy, where are synchro capacitors physically placed in a synchro circuit?
1. Close to the TX or RX 2. Close to the TDX, CDX, or CT 3. Midway between the TX and CT 4. Far away from the TDR, CDX, or CT
1-50. Synchro systems that transmit data at two different speeds are referred to by which of the following terms?
1. Dual-speed 2. Two-speed 3. Twin-speed 4. Each of the above
1-51. Multispeed synchro systems have which of the following advantages over single- speed synchro systems?
1. Easier to troubleshoot and align 2. Fewer moving parts 3. Greater accuracy 4. All of the above
6
1-52. What does the gear ratio between the two transmitters in a dual-speed synchro system determine?
1. The direction of transmitter-rotation 2. The direction of receiver rotation 3. The speeds of transmission 4. The relative direction of rotation
1-53. Which of the following synchro systems, if any, should be used to transmit very large quantities?
1. Single-speed 2. Two-speed 3. Tri-speed 4. None of the above
1-54. Which of the following is a disadvantage of a double receiver as compared to two single receivers?
1. The entire unit must be replaced if one portion fails
2. It takes up much more space 3. It is much more costly 4. It is much heavier
1-55. The voltage used to prevent false synchronizations is known by what term?
1. Error voltage 2. Signal voltage 3. Source voltage 4. Stickoff voltage
1-56. What is the reference point for the alignment of all synchro units?
1. Mechanical zero 2. Electrical zero 3. Mechanical null 4. Electrical null
1-57. What is the most accurate method of aligning a synchro?
1. The dc voltmeter method 2. The ac voltmeter method 3. The synchro-tester method 4. The electric-lock method
1-58. During synchro alignment, what is the purpose of the coarse setting?
1. To ensure a setting of zero degrees rather than 180 degrees
2. To prevent the voltmeter from being overloaded
3. To keep the synchro device from overheating
4. To correct the fine setting
1-59. If a synchro receiver is properly zeroed, when do the stator windings have electrical zero voltages?
1. When the rotor is moving 2. When the rotor is stopped 3. When the rotor is at 270 degrees 4. When the rotor is at its reference
1-60. When a 115-volt synchro transmitter is set on its coarse-zero position, approximately what voltage should be read on a voltmeter?
1. 15 volts 2. 26 volts 3. 37 volts 4. 193 volts
1-61. When a 115-volt source is used during the alignment of a differential synchro, what is the maximum time the circuit can be energized without causing damage to the synchro?
1. 1 minute 2. 2 minutes 3. 15 minutes 4. 30 minutes
1-62. After a control transformer has been zeroed and clamped down, what is the final step in the zeroing procedure?
1. Replace the fuses 2. Turn it to 270 degrees 3. Recheck the zero voltage reading 4. Disconnect all wires to the control
7
1-63. The output voltage of a control transformer on electrical zero is which of the following relative values?
1. Equal to the supply voltage 2. Half the supply voltage 3. Maximum 4. Minimum
1-64. When a tri-speed synchro system is being zeroed, which synchro should be zeroed first?
1. Coarse 2. Medium 3. Largest 4. Fine
1-65. What method of zeroing a synchro is the fastest but NOT the most accurate?
1. The dc voltmeter method 2. The ac voltmeter method 3. The synchro-tester method 4. The electrical-lock method
1-66. The electrical-lock method of zeroing a synchro requires accessible leads and which of the following conditions?
1. A rotor free to turn 2. A stator free to turn 3. A supply voltage to the stators 4. A zero-volt potential between S1 and
1-67. A synchro is zeroed by the use of a synchro tester. After it is zeroed, the S1 and S3 leads are shorted together, and the synchro tester dial moves. What does this indicate?
1. The synchro is zeroed correctly 2. The synchro is not zeroed correctly 3. The supply voltage is too low 4. The supply voltage is too high
1-68. If you find that a synchro has bad bearings, which of the following actions should you take?
1. Replace the bearing 2. Lubricate the synchro 3. Replace the synchro 4. Continue to use it
1-69. Which of the following troubles is common in newly installed synchro systems?
1. Dirty brushes 2. Improper wiring 3. Worn slip rings 4. Shorted synchro windings
1-70. What type of indicating device is usually installed in the stator circuit of a torque synchro system?
1. A voltmeter indicator 2. An ohmmeter indicator 3. An overload indicator 4. A blown-fuse indicator
1-71. A synchro system with four receivers is malfunctioning. All of the receivers have incorrect readings. Which of the following is/are the most likely cause(s) of the trouble?
1. Damper failure 2. The transmitter 3. One of the receivers 4. All of the receivers
1-72. An ac voltmeter is connected between windings S1 and S3 of a synchro transmitter. Which of the following rotor positions should give a zero voltage reading?
1. 180º 2. 240º 3. 300º 4. 330º
8
1-73. When a synchro tester is used in place of a synchro transmitter, which of the following precautions will help to keep the tester from being overloaded?
1. Use a 26-volt supply only 2. Use a 115-volt supply only 3. Use only one syncho receiver 4. Use at least three synchro receivers
9
ASSIGNMENT 2 Textbook assignment: Chapter 2, “Servos,” pages 2-1 through 2-38. Chapter 3, “Gyros,” pages 3-1
through 3-27. Chapter 4, “Related Devices,” pages 4-1 through 4-12. _____________________________________________________________________________________
2-1. A servo is normally designed to move (a) what type of load to (b) what type of positions?
1. (a) Small (b) Exact 2. (a) Small (b) Approximate 3. (a) Large (b) Exact 4. (a) Large (b) Approximate
2-2. Servo systems can be found in which of the following forms?
1. Pneumatic 2. Hydraulic 3. Electromechanical 4. Each of the above
2-3. Which of the following systems are control systems?
1. Open-loop 2. Closed-loop 3. Both 1 and 2 above 4. Inductive-loop
2-4. A servo system is defined as which of the following types of control systems?
1. Open-loop 2. Closed-loop 3. Both 1 and 2 above 4. Inductive-loop
2-5. Which of the following is a basic difference between an open-loop control system and a closed-loop control system?
1. Number of loops 2. Size of the load 3. Speed of movement 4. System of feedback
IN ANSWERING QUESTIONS 2-6 THROUGH 2-8, MATCH THE FUNCTION LISTED IN COLUMN B TO THE SERVO COMPONENT LISTED IN COLUMN A THAT ACCOMPLISHES THE FUNCTION.
A. SERVO COMPONENTS
2-6. Synchro control system
2-7. Servo amplifier 2-8. Servo motor
B. FUNCTIONS
1. Moves the load 2. Provides power 3. Controls
movement 4. Converts dc to ac
2-9. In a dc position servo system, what characteristic of the error signal determines the direction in which the load is driven?
1. Amplitude 2. Frequency 3. Polarity 4. Phase
2-10. The sum point in a position servo system combines what two signals to produce an error signal?
1. Response and output 2. Feedback and Output 3. Feedback and input 4. Output and input
10
2-11. A position servo system exhibits a series of overtravels. This condition is known by which of the following terms?
1. Hunting 2. Overdamping 3. Undershooting 4. All of the above
2-12. A velocity servo has which of the following characteristics?
1. Senses position of the load; no error signal at correspondence
2. Senses position of the load; error signal present at correspondence
3. Senses speed of the load; no error signal at correspondence
4. Senses speed of the load; error signal present at correspondence
2-13. What device is usually used to provide feedback in a velocity servo loop?
1. Potentiometer 2. Tachometer 3. CT 4. CX
2-14. For a servo system to operate smoothly and efficiently, it must have balance between which of the following factors?
1. Acceleration and speed 2. Inertia and oscillation 3. Amplification and damping 4. Overshooting and feedback signal
2-15. When friction-clutch damping is used in a servo system, the first overshoot of the load may be characterized as
1. small 2. large 3. reversed 4. eliminated
2-16. Error-rate damping is considered to be better than friction or friction-clutch damping because of which of the following characteristics of the error-rate damping system?
1. A large error signal of short duration will not be damped
2. A small error signal of short duration will not be damped
3. A large change in the error signal causes maximum damping
4. A small change in the error signal causes maximum damping
2-17. Under what condition would a servo system that is properly designed and operating correctly have an oscillating load?
1. The input signal is large in amplitude 2. The input signal oscillates 3. Error-rate damping is used 4. Friction damping is used
2-18. A servo system is found to be "noisy." If the bandwidth of the servo amplifier were adjusted to reject the unwanted noise signals, which of the following characteristics of the servo system would be affected?
1. Amplifier gain 2. Power requirements 3. Correspondence position 4. Error-detection capability
2-19. Which of the following devices can be used as a position sensor in a servo system?
1. A summing network 2. An E-transformer 3. A potentiometer 4. A CT
11
2-20. Which of the following devices are magnetic error detectors?
1. CXs 2. E-transformers 3. Summing networks 4. All of the above
2-21. A dc rate generator is used in which of the following loops of a velocity servo system?
1. Prime mover 2. Feedback 3. Control 4. Error
2-22. What is the function of a modulator in a servo system?
1. To change the frequency of an ac error signal
2. To impress an ac error signal on an ac carrier
3. To convert a dc error signal to an ac error signal
4. To convert an ac error signal to a dc error signal
2-23. In a servo system that uses a modulator, what characteristic of the modulator output determines the direction of load movement?
1. Amplitude 2. Frequency 3. Polarity 4. Phase
2-24. What phase relationships between the input and reference signals are sensed by a servo demodulator?
1. 0º and 180º 2. 45º and 225º 3. 90º and 270º 4. 135º and 315º
2-25. In a properly operating servo system, what is the phase relationship between the reference voltages to the error detector and the demodulator?
1. In phase only 2. 180º out of phase only 3. Out of phase; somewhere between 0º
and 180º 4. In phase or 180º out of phase,
2-26. Which of the following should be a characteristic of a servo amplifier?
1. Narrow frequency band 2. High output impedance 3. 180º phase shift 4. Low noise level
2-27. An ac servo motor would probably be used instead of a dc servo motor in which of the following situations?
1. To move heavy loads at a constant speed
2. To move heavy loads at variable speeds
3. To move light loads at a constant speed
4. To move light loads at variable speeds
2-28. Which of the following circuits that is required in a multispeed servo system is NOT required in a single-speed servo system?
1. Position sensor 2. Error detector 3. Feedback loop 4. Synchronizer
12
2-29. In a two-speed servo system such as that described in the text, which of the following components controls the movement of the load at 2º but does NOT control the movement of the load at 10º?
1. Fine CT 2. Coarse CT 3. Synchronizer 4. Servoamplifier
2-30. In which of the following situations should a magnetic amplifier be used instead of a conventional amplifier?
1. When a small load is to be driven at high speeds
2. If great accuracy is required in positioning the load
3. If a dual-speed servo system is required
4. When a heavy load is to be moved
2-31. Most servo systems used in the Navy are of which of the following types?
1. Open-loop 2. Multi-loop 3. Single-loop 4. Summing-loop
2-32. Which of the following objects has gyroscopic properties?
1. A spinning top 2. A wheel on a moving bicycle 3. The moving blade assembly of an
electric fan 4. Each of the above
IN ANSWERING QUESTION 2-33, REFER TO FIGURE 2A.
2-33. Which of the following axes, if any, is the gyro spin axis?
1. X-X 2. Y-Y 3. Z-Z 4. None of the above
2-34. The ability of a gyro to maintain a fixed position in space is referred to by what term?
1. Precession 2. Rigidity 3. Apparent rotation 4. Gimbal-stability
2-35. A gyro will resist all forces that attempt to change its
1. location 2. spin axis direction 3. speed of rotation 4. center of gravity
13
2-36. What action takes place when an outside force attempts to tilt the spin axis of a gyro?
1. The gyro precesses in the direction of the applied force
2. The gyro precesses in a direction opposite to the applied force
3. The gyro precesses in a direction at a right angle to the applied force
4. The gyro remains fixed in its original position
2-37. For a gyro to be universally mounted, it MUST have a total of how many gimbals, if any?
1. One 2. Two 3. Three 4. None
2-38. Of the following factors, which one does NOT affect rigidity?
1. Rotor speed 2. Rotor shape 3. Rotor weight 4. Rotor position
2-39. The forces that act through the center of gravity of a gyro and do NOT cause precession are referred to by what term?
1. Forces of translation 2. Forces of induction 3. Forces of isolation 4. Forces of erection
2-40. Which of the following factors determine(s) the amount of precession that will result from a given applied force?
1. Rotor speed 2. Rotor weight 3. Rotor shape 4. All of the above
2-41. Which of the following factors determine(s) the direction a gyro will precess in response to a particular force?
1. Speed of the rotor's spin 2. Shape of the rotor 3. Direction of the rotor's spin 4. All of the above
IN ANSWERING QUESTION 2-42, REFER TO FIGURE 2B.
2-42. If all of the rotors are rotated at the same speed, which one will have the greatest rigidity?
1. A 2. B 3. C 4. D
2-43. According to the right-hand rule for gyro precession, what does the thumb indicate?
1. Spin vector and axis 2. Torque vector and axis 3. Precession vector and axis 4. Axis of rotor rotation only
14
2-44. Which of the following is a universally mounted gyro?
1. A one-degree-of-freedom gyro 2. A two-degrees-of-freedom gyro 3. A restrained gyro 4. A rate gyro
2-45. A free gyro at the Equator appears to tilt. What is the approximate total number of degrees it will tilt in 4 hours?
1. 60º 2. 90º 3. 120º 4. 180º
2-46. Which of the following factors is NOT a cause of mechanical drift?
1. Unbalance 2. Friction 3. Apparent precession 4. Gimbal inertia
2-47. Which of the following is a purpose of a gyro-erection system?
1. To precess the gyro to its operating position
2. To prevent a gyro from precessing once the rotor is up to speed
3. To establish a vertical position to which the gyro position may be compared
4. Each of the above
2-48. Which of the following is an advantage that the mercury ballistic erection system has over the mercury erection system?
1. Greater sensitivity 2. Faster response time 3. Spin axis aligns in any desired
position 4. Spin axis aligns north-south
2-49. What is the principal purpose of rate gyros?
1. To serve as gyroscopes 2. To serve as reference elements 3. To measure acceleration 4. To measure angular rates
2-50. In what maximum number of directions is a rate gyro free to precess?
1. One 2. Two 3. Three 4. Four
2-51. The amount of precession of a rate gyro is proportional to what input factor?
1. Rate of gyro case rotation 2. Amount of gyro case rotation 3. Rate of linear displacement 4. Amount of total movement
2-52. The operation of an accelerometer is based on what physical property?
1. Heat 2. Inertia 3. Gravity 4. Precession
2-53. Accelerometers find their greatest use in what type of system?
1. Navigation 2. Communication 3. Weapons control 4. Direction-indicating
2-54. Pulse-counting accelerometers are designed for use only with what type of equipment?
1. Radar sensors 2. Electronic compasses 3. Analog indicators 4. Digital computers
15
2-55. Which of the following is NOT a difference between IC synchros and standard synchros?
1. Amount of torque available 2. Construction of the stator 3. Construction of the rotor 4. Principle of operation
USE THE FOLLOWING INFORMATION IN ANSWERING QUESTIONS 2-56 AND 2-57. A SYNCHRO SYSTEM USING AN IC TRANSMITTER HAS THE REQUIREMENT THAT THE RECEIVER TURN IN THE OPPOSITE DIRECTION FROM THE TRANSMITTER. _______________________________________
2-56. If an IC receiver were used, what winding of the receiver would be connected to winding R1 of the IC transmitter?
1. R1 2. R3 3. S1 4. S1
2-57. If a standard synchro receiver were used, what winding of the receiver would be connected to winding R3 of the IC transmitter?
1. R1 2. R3 3. S1 4. S3
2-58. Angular data is to be transmitted and dc is the only power available. Which of the following systems should be used?
1. Resolver system 2. IC synchro system 3. Step-transmission system 4. Servo system using a CT and a dc
2-59. A step-transmission system is to be built in which the steps are to be smaller than the steps in the system shown on page 4- 3 of the text. What must be done to the system shown in the text to accomplish this change?
1. Increase the number of coils 2. Decrease the number of coils 3. Increase the supply voltage 4. Decrease the supply voltage
2-60. Which of the following is an advantage that a step-transmission system has over a standard synchro system?
1. Smaller changes in data can be transmitted
2. Transmitted data is "smoother" 3. Synchronizing is not needed 4. Cost is considerably less
2-61. A resolver performs which of the following mathematical functions?
1. Differentiation 2. Trigonometric 3. Integration 4. Algebraic
2-62. Resolvers are used aboard a ship to keep a gun mount steady regardless of the pitch and roll of the ship. What characteristic of the resolver makes it especially useful for this application?
1. Provides instant solutions with constantly changing inputs
2. Provides higher power gain for greater accuracy
3. Uses error-rate damping for smoother solutions
4. Uses ac for greater efficiency
16
2-63. The (a) rotor and (b) stator of a resolver are best described by which of the following?
1. (a) A single coil (b) Three coils, wye-connected
2. (a) Two coils in parallel (b) Two coils in series
3. (a) Two coils in series (b) Two coils in parallel
4. (a) Two coils at right angles (b) Two coils at right angles


Welcome
I am Nusaybah Fuad-Gafar.
I am a Frontend Web Developer(HTML & CSS).
About
Nusaybah is currently a second year student of the University of Lagos
where she studies Metallurgical & Materials Engineering. She is unique
youth who only started her tech journey in April,2020.
Since then, Nusaybah
has been learning,practising and improving day
by day. Nusaybah also doubles
as a content and technical writer.


| I l@ve RuBoard |
In this chapter, we provide an introduction to using the Microsoft Component Object Model (COM) from Python. We will present enough introductory material so you can understand the key concepts and some simple examples that use Python and COM.
COM is a technique for using or publishing objects, regardless of the language they were implemented in. Any COM-aware environment uses a COM object in a consistent and reliable way; you need to know nothing about how the object is implemented.
COM has grown from humble beginnings. Its lineage can be traced through the Object Linking and Embedding (OLE) technology that first appeared in the Microsoft Windows 3.x family. The first version of Visual Basic included a technology known as Visual Basic Extensions, or VBXs. Microsoft started merging these technologies into OLE2, which was soon renamed COM. Since then, the Microsoft marketing machine has begun to refer to the technology as ActiveX, although COM remains the mnemonic of choice in the Windows development world. Recently, COM has been extended with the ability to distribute objects across a network, and these extensions are known as Distributed COM, or DCOM. Over time, the term DCOM will slowly vanish as the capabilities it offers are considered a standard part of COM. Microsoft is already hard at work on the next major revision of COM, currently known as COM+. Although COM+ isn't discussed in this book, all the existing COM concepts will remain for the foreseeable future.
Throughout the rest of the book, we present a number of examples that use Python and COM, so the intent of this chapter is to give you the groundwork to follow the samples. In Chapter 12, we expand on all these concepts, explaining the Python COM support in greater detail.
| I l@ve RuBoard |


USMAN BELLO SECRETARY TO THE STATE GOVERNMENT(SSG) GOVERNMENT HOUSE, PMB 1004 ASABA DELTA STATE NIGERIA. DEAR SIR, MY NAME IS USMAN BELLO,I AM ONE OF THE STATE SECRETARIES TO THE GOVERNOR IN THE NIGER DELTA STATES OF NIGRIA, {OIL PRODUCING STATES} WE ARE RUNNING THE SECOND TERM IN THE OFFICE. RESENTLY, A COMMITTEE WAS SETUP TO INVESTIGATE/CORRECT AND RELEASE FUNDS AND CONTRACTS WHICH WAS RECKLIESSLY MANUPULATED BY OUR PAST MILITARYREGIME. IT MAY INTEREST YOU TO KNOW THAT I WAS APPOINTED THE CHAIRMAN OF THISCOMMITTEE. AFTER OUR INVESTIGATION, A TOTAL AMOUNT OF $800,000.000 WASDISCOVERED AND RETURNED TO THE GOVERNMENT. WE ALSO DISCOVERED CONTRACT THAT WAS NOT CONCLUDED BUT WAS LEFT BY SOME FORIEGN CONTRACTORS WHO FLEED THE COUNTRY, WE ALSO FOUND THAT THESE CONTRACTS VALUE WERE OVER INFLATED. PRESENTLY, WE ARE ABLE TO ARRANGE A TOTAL AMOUNT OF $20 MILLION FOR SOME KEY MEMBERS OF THE COMMITTTE. WE ARE READY TO MAKE THE NECCESSARY APPROVAL FOR THE RELEASE OF THE MONEY, BUT WE CANNOT DO THIS WITH OUR OWN reBANKS ACCOUNTS.  PLEASE KEEP THIS TO YOURSELF. REGARDS, USMAN BELLO


taskset
Get or set a process' CPU affinity or start a new process with a defined CPU affinity.
More information: home page
- Get a running process' CPU affinity by PID:
taskset --pid --cpu-list pid
- Set a running process' CPU affinity by PID:
taskset --pid --cpu-list cpu_id pid
- Start a new process with affinity for a single CPU:
taskset --cpu-list cpu_id command
- Start a new process with affinity for multiple non-sequential CPUs:
taskset --cpu-list cpu_id_1,cpu_id_2,cpu_id_3
- Start a new process with affinity for CPUs 1 through 4:
taskset --cpu-list cpu_id_1-cpu_id_4