This subpart prescribes policy and procedures for giving preference to U.S.-flag vessels when transportation of supplies by ocean vessel is required. This subpart does not apply to the Department of Defense (DoD). Policy and procedures applicable to DoD appear in DFARS Subpart 247.5.
As used in this subpart—
“Dry bulk carrier” means a vessel used primarily for the carriage of shipload lots of homogeneous unmarked nonliquid cargoes such as grain, coal, cement, and lumber.
“Dry cargo liner” means a vessel used for the carriage of heterogeneous marked cargoes in parcel lots. However, any cargo may be carried in these vessels, including part cargoes of dry bulk items or, when carried in deep tanks, bulk liquids such as petroleum and vegetable oils.
“Foreign-flag vessel” means any vessel of foreign registry including vessels owned by U.S. citizens but registered in a nation other than the United States.
“Government vessel” means a vessel owned by the U.S. Government and operated directly by the Government or for the Government by an agent or contractor, including a privately owned U.S.-flag vessel under bareboat charter to the Government.
“Privately owned U.S.-flag commercial vessel” means a vessel—
(1) Registered and operated under the laws of the United States,
(2) Used in commercial trade of the United States,
(3) Owned and operated by U.S. citizens, including a vessel under voyage or time charter to the Government, and
(4) A Government-owned vessel under bareboat charter to, and operated by, U.S. citizens.
“Tanker” means a vessel used primarily for the carriage of bulk liquid cargoes such as liquid petroleum products, vegetable oils, and molasses.
“U.S.-flag vessel” when used independently means either a Government vessel or a privately owned U.S.-flag commercial vessel.
(a) The policy of the United States regarding the use of U.S.-flag vessels is stated in the following acts:
(1) The Cargo Preference Act of 1904 (10 U.S.C. 2631), which requires the Department of Defense to use only U.S.-flag vessels for ocean transportation of supplies for the Army, Navy, Air Force, or Marine Corps unless those vessels are not available at fair and reasonable rates.
(2) The Merchant Marine Act of 1936 (46 U.S.C. 1101), which declares it is the policy of the United States to foster the development and encourage the maintenance of its merchant marine.
(3) The Cargo Preference Act of 1954 (46 U.S.C. 1241(b), which is Section 901(b) of the Merchant Marine Act). Under this Act, Government agencies acquiring, either within or outside the United States, supplies that may require ocean transportation shall ensure that at least 50 percent of the gross tonnage of these supplies (computed separately for dry bulk carriers, dry cargo liners, and tankers) is transported on privately owned U.S.-flag commercial vessels to the extent that such vessels are available at rates that are fair and reasonable for U.S.-flag commercial vessels. This applies when the supplies are—
(i) Acquired for the account of the United States;
(ii) Furnished to, or for the account of, a foreign nation without provision for reimbursement;
(iii) Furnished for the account of a foreign nation in connection with which the United States advances funds or credits, or guarantees the convertibility of foreign currencies; or
(iv) Acquired with advance of funds, loans, or guaranties made by or on behalf of the United States.
(b) Additional policies providing preference for the use of U.S.-flag vessels are contained in—
(1) 10 U.S.C. 2634 for the transportation of privately-owned vehicles belonging to service members when making permanent change of station moves;
(2) 46 U.S.C. 1241(a) for official business travel by officers and employees of the United States and for the transportation of their personal effects; and
(3) 46 U.S.C. 1241(e) for the transportation of motor vehicles owned by Government personnel when transportation is at Government expense or otherwise authorized by law.
(c) The provisions of the Cargo Preference Act of 1954 may be temporarily waived when the Congress, the President, or the Secretary of Defense declares that an emergency justifying a temporary waiver exists and so notifies the appropriate agency or agencies.
(a) Except as stated in paragraph (b) of this section and in 47.504, the Cargo Preference Acts of 1904 and 1954 described in 47.502(a) apply to the following cargoes:
(1) Supplies owned by the Government and in the possession of—
(i) The Government;
(ii) A contractor; or
(iii) A subcontractor at any tier.
(2) Supplies for use of the Government that are contracted for and require subsequent delivery to a Government activity but are not owned by the Government at the time of shipment.
(3) Supplies not owned by the Government at the time of shipment that are to be transported for distribution to foreign assistance programs, but only if these supplies are not acquired or contracted for with local currency funds (see 47.504(b)).
(b) Government-owned supplies to be shipped commercially that are—
(1) In the possession of a department, a contractor, or a subcontractor at any tier and
(2) For use of military departments shall be transported exclusively in privately owned U.S.-flag commercial vessels if such vessels are available at rates that are fair and reasonable for U.S.-flag commercial vessels.
(c) The 50-percent requirement shall not prevent the use of privately owned U.S.-flag commercial vessels for transportation of up to 100 percent of the cargo subject to the Cargo Preference Act of 1954.
The policy and procedures in this subpart do not apply to the following:
(a) Shipments aboard vessels as required or authorized by law or treaty.
(b) Ocean transportation between foreign countries of supplies purchased with foreign currencies made available, or derived from funds that are made available, under the Foreign Assistance Act of 1961 (22 U.S.C. 2353).
(c) Shipments of classified supplies when the classification prohibits the use of non-Government vessels.
(d) Subcontracts for the acquisition of commercial items or commercial components (see 12.504(a)(1) and (a)(11)). This exception does not apply to—
(1) Grants-in-aid shipments, such as agricultural and food-aid shipments;
(2) Shipments covered under 46 U.S.C. App. 1241-1, such as those generated by Export-Import Bank loans or guarantees;
(3) Subcontracts under—
(i) Government contracts or agreements for ocean transportation services; or
(ii) Construction contracts; or
(4) Shipments of commercial items that are—
(i) Items the contractor is reselling or distributing to the Government without adding value (see FAR 12.501(b)). Generally, the contractor does not add value to the items when it subcontracts items for f.o.b. destination shipment; or
(ii) Shipped in direct support of U.S. military—
(A) Contingency operations;
(B) Exercises; or
(C) Forces deployed in connection with United Nations or North Atlantic Treaty Organization humanitarian or peacekeeping operations.
(a) Except as stated in paragraph (b) of this section, construction contractors, including subcontractors and suppliers, engaged in overseas work shall comply with the policies and regulations in this subpart.
(b) These requirements shall not apply to military assistance, foreign aid, or similar projects under the auspices of the U.S. Government when the recipient nation furnishes, or pays for, at least 50 percent of the transportation, in which event foreign-flag vessels may be used for a portion not to exceed 50 percent of the gross tonnage for the project.
(a) The contracting officer shall obtain assistance from the transportation activity (see 47.105) in developing appropriate shipping instructions and delivery terms for inclusion in solicitations and contracts that may involve ocean transportation of supplies subject to the requirements of the Cargo Preference Act of 1954 (see 47.502(a)(3)).
(b) When the contractor notifies the contracting officer that a privately owned U.S.-flag commercial vessel is not available, the contracting officer shall seek assistance from the transportation activity.
(c) For purposes of determining the availability of privately owned U.S.-flag commercial vessels at fair and reasonable rates, rates filed and published in accordance with the requirements of the Federal Maritime Commission may be accepted as fair and reasonable. When applicable rates for charter cargoes are not in published tariffs, a determination as to whether the rates are fair and reasonable shall be obtained from the Maritime Administration.
(d) The Maritime Administration has issued regulations (46 CFR 381) that require agencies to submit reports regarding ocean shipments. Contracting officers shall follow agency regulations when preparing, or furnishing information for, these reports.
(a)(1) Insert the clause at 52.247-64, Preference for Privately Owned U.S.-Flag Commercial Vessels, in solicitations and contracts that may involve ocean transportation of supplies subject to the Cargo Preference Act of 1954. (For application of the Cargo Preference Act of 1954, see 47.502(a)(3), 47.503(a), and 47.504.)
(2) If an applicable statute requires, or if it has been determined under agency procedures, that the supplies to be furnished under the contracts must be transported exclusively in privately owned U.S.-flag commercial vessels (see 47.502(a)(1) and 47.503(b)), use the clause with its Alternate I.
(3) Except for contracts or agreements for ocean transportation services or construction contracts, use the clause with its Alternate II if any of the supplies to be transported are commercial items that are shipped in direct support of U.S. military—
(i) Contingency operations;
(ii) Exercises; or
(iii) Forces deployed in connection with United Nations or North Atlantic Treaty Organization humanitarian or peacekeeping operations.
(b) The contracting officer may insert in solicitations and contracts, under agency procedures, additional appropriate clauses concerning the vessels to be used.


Where no default value is indicated, there is none.
By default, you will get results from a Brightcove sample account.
Use My Account Instead
Get Playlists
API Request
Submit Request
In the Summary portion of the response, you will find average values for the playlist.
Response will appear here...


A graphical representation of the data collected from the COVID 19 and the Future Survey. This project is a colaborative effort of University of Illinois at Chicago, Arizona State University and The National Science Foundation.
The visualizations provide a detailed analisys on the effects on Employment, Productivity and Job changes due ro COVID 19.
Instructions:
- Use the filters above the map to select the preferable population and category.
- Interact by hovering and clicking on the map to see state specific data.
- Use the graph below the map for an overall comparion of the changing trends.
- Use the timeline on the right to analize monthly data and compare between states.


Stephen Hickson
The latest technological innovations in media are frequently purported to supplant books. More than a century before the appearance of e-readers and audiobooks, the fervent French bibliophile Octave Uzanne (1851–1931) wrote a short story predicting that sound technology would soon render printed text obsolete. This publication recounts Uzanne’s story alongside modern speculation on the future of books. It is available as a free digital download via the Internet Archive and can be purchased as a print-on-demand book from Blurb. An audio version can also be heard on Soundcloud.


| Phase | Elapsed Time |
|---|---|
| Module Analysis | 14.921 s |
| Precompile (may include Module Analysis) | 18.313 s |
| Compile | 9.932 s |
| Description | References | ||
|---|---|---|---|
Source files
|
3,103 | ||
Initial Type Oracle Types
|
3,829 | ||
Final Type Oracle Types
|
3,872 | ||
GeneratedTypes
|
43 | ||
AST Referenced Types
|
766 | ||
Unreferenced Types
|
3,561 |


LinksModules
|
Module
|
| GameNetwork.init (providerName, params) | Initializes an app with the parameters (e.g., product key, secret, display name, etc.) |
| GameNetwork.request (command, ...) | Send or request information to/from the game network provider: |
| GameNetwork.show (command, ...) | Shows (displays) information from game network provider on the screen. |
Initializes an app with the parameters (e.g., product key, secret, display name, etc.) required by the game network provider.
Syntax:
-- OpenFeint
framework.client.api.GameNetwork.init("openfeint", {
productKey = ...,
secret = ...,
displayName = ...,
})
-- GameCenter
framework.client.api.GameNetwork.init("gamecenter", {
listener = ...
})
Example:
require("framework.client.api.GameNetwork")
framework.client.api.GameNetwork.init("openfeint", {
productKey = ...,
secret = ...,
displayName = ...
})
--
local achievements = framework.client.api.GameNetwork.request("getAchievements")
dump(achievements, "All achievements")
local leaderboards = framework.client.api.GameNetwork.request("getLeaderboards")
dump(leaderboards, "All leaderboards")
local score = math.random(100, 200)
local displayText = string.format("My score is %d", score)
framework.client.api.GameNetwork.request("setHighScore", "916960912", score, displayText)
local i = math.random(#achievements)
framework.client.api.GameNetwork.request("unlockAchievement", achievements[i].id)
framework.client.api.GameNetwork.show("dashboard")
Note:
GameNetwork only supports one provider at a time (you cannot call this API multiple times for different providers).
@param providerName String of the game network provider. ("openfeint" or "gamecenter", case insensitive)
@param params Additional parameters required by the "openfeint" provider.
If using GameCenter, the params.listener allows you to specify a callback function. (Instead of secret keys, your bundle identifier is used automatically to identify your app.) On successful login, event.data will be 'true'. On unsuccessful init, event.data will be false. When problems such as network errors occur, event.errorCode (integer) and event.errorString (string) will be defined.
Also be aware that iOS backgrounding will cause your app to automatically log out your user from Game Center. When the app is resumed, Game Center will automatically try to re-login your user. The callback function you specified here will be invoked again telling you the result of that re-login attempt. Thus, this callback function exists for the life of your application. With Game Center, it is advisable to avoid calling other Game Center functions when the user is not logged in.
@return Nothing.
Send or request information to/from the game network provider:
Syntax:
GameNetwork.request( command [, params ...] )
Example:
-- For OpenFeint:
-- setHighScore, leaderboard id, score, display text
GameNetwork.request("setHighScore", "abc123", 99, "99 sec")
-- unlockAchievement, achievement id
GameNetwork.request("unlockAchievement", "1242345322")
OpenFeint
Command supported by the OpenFeint provider:
getAchievements:
local achievements = framework.client.api.GameNetwork.request("getAchievements")
for achievementId, achievement in pairs(achievements) do
-- achievement.id (string)
-- achievement.title (string)
-- achievement.description (string)
-- achievement.iconUrl (string)
-- achievement.gameScore (integer)
-- achievement.isUnlocked (boolean)
-- achievement.isSecret (boolean)
end
unlockAchievement: achievement id
framework.client.api.GameNetwork.request("unlockAchievement", "1242345322")
getLeaderboards:
local leaderboards = framework.client.api.GameNetwork.request("getLeaderboards")
for i, leaderboard = ipairs(leaderboards) do
-- leaderboard.id (string)
-- leaderboard.name (string)
-- leaderboard.currentUserScore (integer)
-- leaderboard.currentUserScoreDisplayText (string)
-- leaderboard.descendingScoreOrder (boolean)
end
setHighScore: leaderboard id, score, display text
framework.client.api.GameNetwork.request("setHighScore", "abc123", 99, "99 sec")
GameCenter
Coming soon.
@param command Command string supported by the provider (case insensitive).
@param ... Parmeters used in the commands.
@return Nothing.
Shows (displays) information from game network provider on the screen.
For OpenFeint provider, launches the OpenFeint dashboard in one of the following configurations: leaderboards, challenges, achievements, friends, playing or high score.
Syntax:
framework.client.api.GameNetwork.show(command [, params] )
Example:
framework.client.api.GameNetwork("leaderboards")
OpenFeint:
Command supported by the OpenFeint provider.
leaderboard: leaderboard id
framework.client.api.GameNetwork.show("leaderboard", "abc123")
leaderboards:
framework.client.api.GameNetwork.show("leaderboards")
achievements:
framework.client.api.GameNetwork.show("achievements")
challenges:
framework.client.api.GameNetwork.show("challenges")
friends:
framework.client.api.GameNetwork.show("friends")
playing:
framework.client.api.GameNetwork.show("playing")
dashboard:
framework.client.api.GameNetwork.show("dashboard")
GameCenter:
Coming soon.
@param command Strings supported by provider.
@param ... Parameters used by command.
@return Nothing.


Using Ubuntu
sudo service apache2 stop
dpkg -l | grep apache2
sudo apt-get purge -y apache2 apache2-bin apache2-data
dpkg -l | grep apache2
ls -l /etc/apache2 /var/www/html/
sudo rm -rf /var/www/html /etc/apache2
Alternative
sudo dpkg -r apache2 apache2-bin apache2-data
dpkg -l | grep apache2
Detailed Version
$ sudo apt-get purge apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaprutil1-dbd-sqlite3 libaprutil1-ldap ssl-cert
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
apache2*
0 upgraded, 0 newly installed, 1 to remove and 132 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 62968 files and directories currently installed.)
Removing apache2 (2.4.7-1ubuntu4.1) ...
Purging configuration files for apache2 (2.4.7-1ubuntu4.1) ...
dpkg: warning: while removing apache2, directory '/etc/apache2/conf-enabled' not empty so not removed
dpkg: warning: while removing apache2, directory '/var/www/html' not empty so not removed
$ dpkg -l | grep apache2
rc apache2 2.4.7-1ubuntu4.1 amd64 Apache HTTP Server


E
- type of elements that the fetcher iterates over.public interface Fetcher<E> extends java.rmi.Remote, AutoCloseable, TextParsable
Fetcher<Object> fetcher = ...
while(fetcher.next()) {
Object element = fetcher.pick();
}
fetcher.close();
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closing this fetcher.
|
FetcherMetadata |
getMetadata()
Getting the meta-data of this fetcher.
|
boolean |
next()
Moving to next item of associated collection.
|
E |
pick()
Retrieving the current item of associated collection.
|
void |
reset()
Resetting the fetcher.
|
parseText, toText
boolean next() throws java.rmi.RemoteException
java.rmi.RemoteException
- if any remote exception raises.E pick() throws java.rmi.RemoteException
java.rmi.RemoteException
- if any remote exception raises.void reset() throws java.rmi.RemoteException
java.rmi.RemoteException
- if any remote exception raises.FetcherMetadata getMetadata() throws java.rmi.RemoteException
FetcherMetadata
java.rmi.RemoteException
- if any remote exception raises.void close() throws java.rmi.RemoteException
AutoCloseable
interface. This close()
method is inherited from AutoCloseable
interface.
Concretely, if programmer forgets closing this fetcher after using, the finalize()
will call this method to close this fetcher before the Java garbage collector destroys this fetcher.close
in interface AutoCloseable
java.rmi.RemoteException
- if any remote exception raises.


Abscract class for handling the JSON and XML requests.
| Properties | |
|---|---|
|
protected
|
Internal variable for storing the API action. |
|
protected
|
Internal variable for storing the API parameter string. |
|
protected
|
Internal variable for storing the response headers. |
| Methods | |
|---|---|
|
abstract
protected
|
This is an auxiliary function for adding error messages, warnings, info messages to the response which might have been collected during handling of the request. |
|
protected
|
Adds a response header to the response. |
|
public
|
This is the main function that should be called to handle the API request. |
|
abstract
protected
|
This is an auxiliary function for parsing the incoming data. |
|
protected
|
This function is called after the processing of the request. It should be overridden if you want to perform some standard action after every API request of your library. |
|
protected
|
This function is called before the processing of the request. It should be overridden if you want to perform some standard action before every API request of your library. |
|
protected
|
This is an auxiliary function for getting request headers and parsing the API url. |
|
abstract
protected
|
This is an auxiliary function for sending the response. |
Internal variable for storing the API action.
Internal variable for storing the API parameter string.
Internal variable for storing the response headers.
This is an auxiliary function for adding error messages, warnings, info messages to the response which might have been collected during handling of the request.
Adds a response header to the response.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $header | by value | string |
The name of the response header. |
|
| $value | by value | string |
The value of the response header. |
This is the main function that should be called to handle the API request.
It detects the action, retrieves the request headers, parses the incoming JSON data and tries to call the corresponding method for the API action.
This is an auxiliary function for parsing the incoming data.
This function is called after the processing of the request. It should be overridden if you want to perform some standard action after every API request of your library.
This function is called before the processing of the request. It should be overridden if you want to perform some standard action before every API request of your library.
The usage example are - validation of the access tokens, checking maintenance mode and reporting it to the user if it is active.
This is an auxiliary function for getting request headers and parsing the API url.
It put the retrieved data into the corresponding properties.
This is an auxiliary function for sending the response.


| Package | Description |
|---|---|
| org.apache.olingo.server.api.uri.queryoption.expression |
Olingo Server API - URI - QueryOptions - Expressions
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
VisitableExpression.accept(ExpressionVisitor<T> visitor)
Method
VisitableExpression.accept(ExpressionVisitor) is called when traversing the expression tree. |
T |
ExpressionVisitor.visitAlias(String aliasName)
Called for each traversed
Alias expression |
T |
ExpressionVisitor.visitBinaryOperator(BinaryOperatorKind operator,
T left,
T right)
Called for each traversed
Binary expression |
T |
ExpressionVisitor.visitEnum(EdmEnumType type,
List<String> enumValues)
Called for each traversed
Enumeration expression |
T |
ExpressionVisitor.visitLambdaExpression(String lambdaFunction,
String lambdaVariable,
Expression expression)
Called for each traversed lambda expression
|
T |
ExpressionVisitor.visitLambdaReference(String variableName)
Called for each traversed
LambdaRef |
T |
ExpressionVisitor.visitLiteral(Literal literal)
Called for each traversed
Literal expression |
T |
ExpressionVisitor.visitMember(Member member)
Called for each traversed
Member expression |
T |
ExpressionVisitor.visitMethodCall(MethodKind methodCall,
List<T> parameters)
Called for each traversed
Method expression |
T |
ExpressionVisitor.visitTypeLiteral(EdmType type)
Called for each traversed
TypeLiteral expression |
T |
ExpressionVisitor.visitUnaryOperator(UnaryOperatorKind operator,
T operand)
Called for each traversed
Unary expression |
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.