|
Bitshares-Core
3.0.0
BitShares blockchain implementation and command-line interface software
|
The database_api class implements the RPC API for the chain database. More...
#include <database_api.hpp>
Public Member Functions | |
| database_api (graphene::chain::database &db, const application_options *app_options=nullptr) | |
| ~database_api () | |
| fc::variants | get_objects (const vector< object_id_type > &ids) const |
| Get the objects corresponding to the provided IDs. More... | |
| void | set_subscribe_callback (std::function< void(const variant &)> cb, bool notify_remove_create) |
| Register a callback handle which then can be used to subscribe to object database changes. More... | |
| void | set_pending_transaction_callback (std::function< void(const variant &signed_transaction_object)> cb) |
| Register a callback handle which will get notified when a transaction is pushed to database. More... | |
| void | set_block_applied_callback (std::function< void(const variant &block_id)> cb) |
| Register a callback handle which will get notified when a block is pushed to database. More... | |
| void | cancel_all_subscriptions () |
| Stop receiving any notifications. More... | |
| optional< block_header > | get_block_header (uint32_t block_num) const |
| Retrieve a block header. More... | |
| map< uint32_t, optional< block_header > > | get_block_header_batch (const vector< uint32_t > block_nums) const |
| Retrieve multiple block header by block numbers. More... | |
| optional< signed_block > | get_block (uint32_t block_num) const |
| Retrieve a full, signed block. More... | |
| processed_transaction | get_transaction (uint32_t block_num, uint32_t trx_in_block) const |
| used to fetch an individual transaction. More... | |
| optional< signed_transaction > | get_recent_transaction_by_id (const transaction_id_type &id) const |
| chain_property_object | get_chain_properties () const |
| Retrieve the chain_property_object associated with the chain. More... | |
| global_property_object | get_global_properties () const |
| Retrieve the current global_property_object. More... | |
| fc::variant_object | get_config () const |
| Retrieve compile-time constants. More... | |
| chain_id_type | get_chain_id () const |
| Get the chain ID. More... | |
| dynamic_global_property_object | get_dynamic_global_properties () const |
| Retrieve the current dynamic_global_property_object. More... | |
| vector< vector< account_id_type > > | get_key_references (vector< public_key_type > key) const |
| bool | is_public_key_registered (string public_key) const |
| account_id_type | get_account_id_from_string (const std::string &name_or_id) const |
| Get account object from a name or ID. More... | |
| vector< optional< account_object > > | get_accounts (const vector< std::string > &account_names_or_ids) const |
| Get a list of accounts by ID. More... | |
| vector< limit_order_object > | get_account_limit_orders (const string &account_name_or_id, const string &base, const string "e, uint32_t limit=101, optional< limit_order_id_type > ostart_id=optional< limit_order_id_type >(), optional< price > ostart_price=optional< price >()) |
| Fetch all orders relevant to the specified account and specified market, result orders are sorted descendingly by price. More... | |
| std::map< string, full_account > | get_full_accounts (const vector< string > &names_or_ids, bool subscribe) |
| Fetch all objects relevant to the specified accounts and subscribe to updates. More... | |
| optional< account_object > | get_account_by_name (string name) const |
| vector< account_id_type > | get_account_references (const std::string account_id_or_name) const |
| vector< optional< account_object > > | lookup_account_names (const vector< string > &account_names) const |
| Get a list of accounts by name. More... | |
| map< string, account_id_type > | lookup_accounts (const string &lower_bound_name, uint32_t limit) const |
| Get names and IDs for registered accounts. More... | |
| vector< asset > | get_account_balances (const std::string &account_name_or_id, const flat_set< asset_id_type > &assets) const |
| Get an account's balances in various assets. More... | |
| vector< asset > | get_named_account_balances (const std::string &name, const flat_set< asset_id_type > &assets) const |
| Semantically equivalent to get_account_balances, but takes a name instead of an ID. More... | |
| vector< balance_object > | get_balance_objects (const vector< address > &addrs) const |
| vector< asset > | get_vested_balances (const vector< balance_id_type > &objs) const |
| vector< vesting_balance_object > | get_vesting_balances (const std::string account_id_or_name) const |
| uint64_t | get_account_count () const |
| Get the total number of accounts registered with the blockchain. More... | |
| asset_id_type | get_asset_id_from_string (const std::string &symbol_or_id) const |
| Get asset id from a symbol or ID. More... | |
| vector< optional< asset_object > > | get_assets (const vector< std::string > &asset_symbols_or_ids) const |
| Get a list of assets by ID. More... | |
| vector< asset_object > | list_assets (const string &lower_bound_symbol, uint32_t limit) const |
| Get assets alphabetically by symbol name. More... | |
| vector< optional< asset_object > > | lookup_asset_symbols (const vector< string > &symbols_or_ids) const |
| Get a list of assets by symbol. More... | |
| uint64_t | get_asset_count () const |
| Get assets count. More... | |
| vector< limit_order_object > | get_limit_orders (std::string a, std::string b, uint32_t limit) const |
| Get limit orders in a given market. More... | |
| vector< call_order_object > | get_call_orders (const std::string &a, uint32_t limit) const |
| Get call orders in a given asset. More... | |
| vector< force_settlement_object > | get_settle_orders (const std::string &a, uint32_t limit) const |
| Get forced settlement orders in a given asset. More... | |
| vector< collateral_bid_object > | get_collateral_bids (const std::string &a, uint32_t limit, uint32_t start) const |
| Get collateral_bid_objects for a given asset. More... | |
| vector< call_order_object > | get_margin_positions (const std::string account_id_or_name) const |
| void | subscribe_to_market (std::function< void(const variant &)> callback, const std::string &a, const std::string &b) |
| Request notification when the active orders in the market between two assets changes. More... | |
| void | unsubscribe_from_market (const std::string &a, const std::string &b) |
| Unsubscribe from updates to a given market. More... | |
| market_ticker | get_ticker (const string &base, const string "e) const |
| Returns the ticker for the market assetA:assetB. More... | |
| market_volume | get_24_volume (const string &base, const string "e) const |
| Returns the 24 hour volume for the market assetA:assetB. More... | |
| order_book | get_order_book (const string &base, const string "e, unsigned limit=50) const |
| Returns the order book for the market base:quote. More... | |
| vector< market_ticker > | get_top_markets (uint32_t limit) const |
| Returns vector of tickers sorted by reverse base_volume Note: this API is experimental and subject to change in next releases. More... | |
| vector< market_trade > | get_trade_history (const string &base, const string "e, fc::time_point_sec start, fc::time_point_sec stop, unsigned limit=100) const |
Returns recent trades for the market base:quote, ordered by time, most recent first. Note: Currently, timezone offsets are not supported. The time must be UTC. The range is [stop, start). In case when there are more than 100 trades occurred in the same second, this API only returns the first 100 records, can use another API get_trade_history_by_sequence to query for the rest. More... | |
| vector< market_trade > | get_trade_history_by_sequence (const string &base, const string "e, int64_t start, fc::time_point_sec stop, unsigned limit=100) const |
| Returns trades for the market base:quote, ordered by time, most recent first. Note: Currently, timezone offsets are not supported. The time must be UTC. The range is [stop, start). More... | |
| vector< optional< witness_object > > | get_witnesses (const vector< witness_id_type > &witness_ids) const |
| Get a list of witnesses by ID. More... | |
| fc::optional< witness_object > | get_witness_by_account (const std::string account_id_or_name) const |
| Get the witness owned by a given account. More... | |
| map< string, witness_id_type > | lookup_witness_accounts (const string &lower_bound_name, uint32_t limit) const |
| Get names and IDs for registered witnesses. More... | |
| uint64_t | get_witness_count () const |
| Get the total number of witnesses registered with the blockchain. More... | |
| vector< optional< committee_member_object > > | get_committee_members (const vector< committee_member_id_type > &committee_member_ids) const |
| Get a list of committee_members by ID. More... | |
| fc::optional< committee_member_object > | get_committee_member_by_account (const std::string account_id_or_name) const |
| Get the committee_member owned by a given account. More... | |
| map< string, committee_member_id_type > | lookup_committee_member_accounts (const string &lower_bound_name, uint32_t limit) const |
| Get names and IDs for registered committee_members. More... | |
| uint64_t | get_committee_count () const |
| Get the total number of committee registered with the blockchain. More... | |
| vector< worker_object > | get_all_workers () const |
| Get all workers. More... | |
| vector< optional< worker_object > > | get_workers_by_account (const std::string account_id_or_name) const |
| Get the workers owned by a given account. More... | |
| uint64_t | get_worker_count () const |
| Get the total number of workers registered with the blockchain. More... | |
| vector< variant > | lookup_vote_ids (const vector< vote_id_type > &votes) const |
| Given a set of votes, return the objects they are voting for. More... | |
| std::string | get_transaction_hex (const signed_transaction &trx) const |
| Get a hexdump of the serialized binary form of a transaction. More... | |
| std::string | get_transaction_hex_without_sig (const signed_transaction &trx) const |
| Get a hexdump of the serialized binary form of a signatures-stripped transaction. More... | |
| set< public_key_type > | get_required_signatures (const signed_transaction &trx, const flat_set< public_key_type > &available_keys) const |
| set< public_key_type > | get_potential_signatures (const signed_transaction &trx) const |
| set< address > | get_potential_address_signatures (const signed_transaction &trx) const |
| bool | verify_authority (const signed_transaction &trx) const |
| bool | verify_account_authority (const string &account_name_or_id, const flat_set< public_key_type > &signers) const |
| Verify that the public keys have enough authority to approve an operation for this account. More... | |
| processed_transaction | validate_transaction (const signed_transaction &trx) const |
| vector< fc::variant > | get_required_fees (const vector< operation > &ops, const std::string &asset_id_or_symbol) const |
| vector< proposal_object > | get_proposed_transactions (const std::string account_id_or_name) const |
| vector< blinded_balance_object > | get_blinded_balances (const flat_set< commitment_type > &commitments) const |
| vector< withdraw_permission_object > | get_withdraw_permissions_by_giver (const std::string account_id_or_name, withdraw_permission_id_type start, uint32_t limit) const |
| Get non expired withdraw permission objects for a giver(ex:recurring customer) More... | |
| vector< withdraw_permission_object > | get_withdraw_permissions_by_recipient (const std::string account_id_or_name, withdraw_permission_id_type start, uint32_t limit) const |
| Get non expired withdraw permission objects for a recipient(ex:service provider) More... | |
The database_api class implements the RPC API for the chain database.
This API exposes accessors on the database which query state tracked by a blockchain validating node. This API is read-only; all modifications to the database must be performed via transactions. Transactions are broadcast via the network_broadcast_api.
Definition at line 132 of file database_api.hpp.
| graphene::app::database_api::database_api | ( | graphene::chain::database & | db, |
| const application_options * | app_options = nullptr |
||
| ) |
Definition at line 347 of file database_api.cpp.
| graphene::app::database_api::~database_api | ( | ) |
Definition at line 350 of file database_api.cpp.
| void graphene::app::database_api::cancel_all_subscriptions | ( | ) |
Stop receiving any notifications.
This unsubscribes from all subscribed markets and objects.
Definition at line 523 of file database_api.cpp.
| market_volume graphene::app::database_api::get_24_volume | ( | const string & | base, |
| const string & | quote | ||
| ) | const |
Returns the 24 hour volume for the market assetA:assetB.
| a | String name of the first asset |
| b | String name of the second asset |
Definition at line 1458 of file database_api.cpp.
| vector< asset > graphene::app::database_api::get_account_balances | ( | const std::string & | account_name_or_id, |
| const flat_set< asset_id_type > & | assets | ||
| ) | const |
Get an account's balances in various assets.
| account_name_or_id | ID or name of the account to get balances for |
| assets | IDs of the assets to get balances of; if empty, get all assets account has a balance in |
Definition at line 1070 of file database_api.cpp.
| optional< account_object > graphene::app::database_api::get_account_by_name | ( | string | name | ) | const |
Definition at line 977 of file database_api.cpp.
| uint64_t graphene::app::database_api::get_account_count | ( | ) | const |
Get the total number of accounts registered with the blockchain.
Definition at line 1054 of file database_api.cpp.
| account_id_type graphene::app::database_api::get_account_id_from_string | ( | const std::string & | name_or_id | ) | const |
Get account object from a name or ID.
| account_name_or_id | ID or name of the accounts |
Definition at line 765 of file database_api.cpp.
| vector< limit_order_object > graphene::app::database_api::get_account_limit_orders | ( | const string & | account_name_or_id, |
| const string & | base, | ||
| const string & | quote, | ||
| uint32_t | limit = 101 , |
||
| optional< limit_order_id_type > | ostart_id = optional<limit_order_id_type>() , |
||
| optional< price > | ostart_price = optional<price>() |
||
| ) |
Fetch all orders relevant to the specified account and specified market, result orders are sorted descendingly by price.
| account_name_or_id | The name or ID of an account to retrieve |
| base | Base asset |
| quote | Quote asset |
| limit | The limitation of items each query can fetch, not greater than 101 |
| start_id | Start order id, fetch orders which price lower than this order, or price equal to this order but order ID greater than this order |
| start_price | Fetch orders with price lower than or equal to this price |
Definition at line 793 of file database_api.cpp.
| vector< account_id_type > graphene::app::database_api::get_account_references | ( | const std::string | account_id_or_name | ) | const |
Definition at line 991 of file database_api.cpp.
| vector< optional< account_object > > graphene::app::database_api::get_accounts | ( | const vector< std::string > & | account_names_or_ids | ) | const |
Get a list of accounts by ID.
| account_names_or_ids | IDs or names of the accounts to retrieve |
This function has semantics identical to get_objects
Definition at line 770 of file database_api.cpp.
| vector< worker_object > graphene::app::database_api::get_all_workers | ( | ) | const |
| uint64_t graphene::app::database_api::get_asset_count | ( | ) | const |
| asset_id_type graphene::app::database_api::get_asset_id_from_string | ( | const std::string & | symbol_or_id | ) | const |
Get asset id from a symbol or ID.
| symbol_or_id | ID or symbol of the asset |
Definition at line 1178 of file database_api.cpp.
| vector< optional< asset_object > > graphene::app::database_api::get_assets | ( | const vector< std::string > & | asset_symbols_or_ids | ) | const |
Get a list of assets by ID.
| asset_symbols_or_ids | Symbol names or IDs of the assets to retrieve |
This function has semantics identical to get_objects
Definition at line 1183 of file database_api.cpp.
| vector< balance_object > graphene::app::database_api::get_balance_objects | ( | const vector< address > & | addrs | ) | const |
Definition at line 1104 of file database_api.cpp.
| vector< blinded_balance_object > graphene::app::database_api::get_blinded_balances | ( | const flat_set< commitment_type > & | commitments | ) | const |
Definition at line 2315 of file database_api.cpp.
| optional< signed_block > graphene::app::database_api::get_block | ( | uint32_t | block_num | ) | const |
Retrieve a full, signed block.
| block_num | Height of the block to be returned |
Definition at line 575 of file database_api.cpp.
| optional< block_header > graphene::app::database_api::get_block_header | ( | uint32_t | block_num | ) | const |
Retrieve a block header.
| block_num | Height of the block whose header should be returned |
Definition at line 548 of file database_api.cpp.
| map< uint32_t, optional< block_header > > graphene::app::database_api::get_block_header_batch | ( | const vector< uint32_t > | block_nums | ) | const |
Retrieve multiple block header by block numbers.
| block_num | vector containing heights of the block whose header should be returned |
Definition at line 560 of file database_api.cpp.
| vector< call_order_object > graphene::app::database_api::get_call_orders | ( | const std::string & | a, |
| uint32_t | limit | ||
| ) | const |
Get call orders in a given asset.
| a | Symbol or ID of asset being called |
| limit | Maximum number of orders to retrieve |
Definition at line 1285 of file database_api.cpp.
| chain_id_type graphene::app::database_api::get_chain_id | ( | ) | const |
Get the chain ID.
Definition at line 643 of file database_api.cpp.
| chain_property_object graphene::app::database_api::get_chain_properties | ( | ) | const |
Retrieve the chain_property_object associated with the chain.
Definition at line 613 of file database_api.cpp.
| vector< collateral_bid_object > graphene::app::database_api::get_collateral_bids | ( | const std::string & | a, |
| uint32_t | limit, | ||
| uint32_t | start | ||
| ) | const |
Get collateral_bid_objects for a given asset.
| a | Symbol or ID of asset |
| limit | Maximum number of objects to retrieve |
| start | skip that many results |
Definition at line 1357 of file database_api.cpp.
| uint64_t graphene::app::database_api::get_committee_count | ( | ) | const |
Get the total number of committee registered with the blockchain.
Definition at line 1888 of file database_api.cpp.
| fc::optional< committee_member_object > graphene::app::database_api::get_committee_member_by_account | ( | const std::string | account_id_or_name | ) | const |
Get the committee_member owned by a given account.
| account | The ID or name of the account whose committee_member should be retrieved |
Definition at line 1845 of file database_api.cpp.
| vector< optional< committee_member_object > > graphene::app::database_api::get_committee_members | ( | const vector< committee_member_id_type > & | committee_member_ids | ) | const |
Get a list of committee_members by ID.
| committee_member_ids | IDs of the committee_members to retrieve |
This function has semantics identical to get_objects
Definition at line 1828 of file database_api.cpp.
| fc::variant_object graphene::app::database_api::get_config | ( | ) | const |
Retrieve compile-time constants.
Definition at line 633 of file database_api.cpp.
| dynamic_global_property_object graphene::app::database_api::get_dynamic_global_properties | ( | ) | const |
Retrieve the current dynamic_global_property_object.
Definition at line 653 of file database_api.cpp.
| std::map< string, full_account > graphene::app::database_api::get_full_accounts | ( | const vector< string > & | names_or_ids, |
| bool | subscribe | ||
| ) |
Fetch all objects relevant to the specified accounts and subscribe to updates.
| callback | Function to call with updates |
| names_or_ids | Each item must be the name or ID of an account to retrieve |
This function fetches all relevant objects for the given accounts, and subscribes to updates to the given accounts. If any of the strings in names_or_ids cannot be tied to an account, that input will be ignored. All other accounts will be retrieved and subscribed.
Definition at line 879 of file database_api.cpp.
| global_property_object graphene::app::database_api::get_global_properties | ( | ) | const |
Retrieve the current global_property_object.
Definition at line 623 of file database_api.cpp.
| vector< vector< account_id_type > > graphene::app::database_api::get_key_references | ( | vector< public_key_type > | key | ) | const |
Definition at line 669 of file database_api.cpp.
| vector< limit_order_object > graphene::app::database_api::get_limit_orders | ( | std::string | a, |
| std::string | b, | ||
| uint32_t | limit | ||
| ) | const |
Get limit orders in a given market.
| a | Symbol or ID of asset being sold |
| b | Symbol or ID of asset being purchased |
| limit | Maximum number of orders to retrieve |
Definition at line 1267 of file database_api.cpp.
| vector< call_order_object > graphene::app::database_api::get_margin_positions | ( | const std::string | account_id_or_name | ) | const |
Definition at line 1333 of file database_api.cpp.
| vector< asset > graphene::app::database_api::get_named_account_balances | ( | const std::string & | name, |
| const flat_set< asset_id_type > & | assets | ||
| ) | const |
Semantically equivalent to get_account_balances, but takes a name instead of an ID.
Definition at line 1099 of file database_api.cpp.
| fc::variants graphene::app::database_api::get_objects | ( | const vector< object_id_type > & | ids | ) | const |
Get the objects corresponding to the provided IDs.
| ids | IDs of the objects to retrieve |
If any of the provided IDs does not map to an object, a null variant is returned in its position.
Definition at line 448 of file database_api.cpp.
| order_book graphene::app::database_api::get_order_book | ( | const string & | base, |
| const string & | quote, | ||
| unsigned | limit = 50 |
||
| ) | const |
Returns the order book for the market base:quote.
| base | String name of the first asset |
| quote | String name of the second asset |
| depth | of the order book. Up to depth of each asks and bids, capped at 50. Prioritizes most moderate of each |
Definition at line 1477 of file database_api.cpp.
| set< address > graphene::app::database_api::get_potential_address_signatures | ( | const signed_transaction & | trx | ) | const |
Definition at line 2074 of file database_api.cpp.
| set< public_key_type > graphene::app::database_api::get_potential_signatures | ( | const signed_transaction & | trx | ) | const |
This method will return the set of all public keys that could possibly sign for a given transaction. This call can be used by wallets to filter their set of public keys to just the relevant subset prior to calling get_required_signatures to get the minimum subset.
Definition at line 2070 of file database_api.cpp.
| vector< proposal_object > graphene::app::database_api::get_proposed_transactions | ( | const std::string | account_id_or_name | ) | const |
Definition at line 2285 of file database_api.cpp.
| optional< signed_transaction > graphene::app::database_api::get_recent_transaction_by_id | ( | const transaction_id_type & | id | ) | const |
If the transaction has not expired, this method will return the transaction for the given ID or it will return NULL if it is not known. Just because it is not known does not mean it wasn't included in the blockchain.
Definition at line 590 of file database_api.cpp.
| vector< fc::variant > graphene::app::database_api::get_required_fees | ( | const vector< operation > & | ops, |
| const std::string & | asset_id_or_symbol | ||
| ) | const |
For each operation calculate the required fee in the specified asset type.
Definition at line 2196 of file database_api.cpp.
| set< public_key_type > graphene::app::database_api::get_required_signatures | ( | const signed_transaction & | trx, |
| const flat_set< public_key_type > & | available_keys | ||
| ) | const |
This API will take a partially signed transaction and a set of public keys that the owner has the ability to sign for and return the minimal subset of public keys that should add signatures to the transaction.
Definition at line 2053 of file database_api.cpp.
| vector< force_settlement_object > graphene::app::database_api::get_settle_orders | ( | const std::string & | a, |
| uint32_t | limit | ||
| ) | const |
Get forced settlement orders in a given asset.
| a | Symbol or ID of asset being settled |
| limit | Maximum number of orders to retrieve |
Definition at line 1309 of file database_api.cpp.
| market_ticker graphene::app::database_api::get_ticker | ( | const string & | base, |
| const string & | quote | ||
| ) | const |
Returns the ticker for the market assetA:assetB.
| a | String name of the first asset |
| b | String name of the second asset |
Definition at line 1424 of file database_api.cpp.
| vector< market_ticker > graphene::app::database_api::get_top_markets | ( | uint32_t | limit | ) | const |
Returns vector of tickers sorted by reverse base_volume Note: this API is experimental and subject to change in next releases.
| limit | Max number of results |
Definition at line 1522 of file database_api.cpp.
| vector< market_trade > graphene::app::database_api::get_trade_history | ( | const string & | base, |
| const string & | quote, | ||
| fc::time_point_sec | start, | ||
| fc::time_point_sec | stop, | ||
| unsigned | limit = 100 |
||
| ) | const |
Returns recent trades for the market base:quote, ordered by time, most recent first. Note: Currently, timezone offsets are not supported. The time must be UTC. The range is [stop, start). In case when there are more than 100 trades occurred in the same second, this API only returns the first 100 records, can use another API get_trade_history_by_sequence
to query for the rest.
| base | symbol or ID of the base asset |
| quote | symbol or ID of the quote asset |
| start | Start time as a UNIX timestamp, the latest trade to retrieve |
| stop | Stop time as a UNIX timestamp, the earliest trade to retrieve |
| limit | Number of trasactions to retrieve, capped at 100. |
Definition at line 1552 of file database_api.cpp.
| vector< market_trade > graphene::app::database_api::get_trade_history_by_sequence | ( | const string & | base, |
| const string & | quote, | ||
| int64_t | start, | ||
| fc::time_point_sec | stop, | ||
| unsigned | limit = 100 |
||
| ) | const |
Returns trades for the market base:quote, ordered by time, most recent first. Note: Currently, timezone offsets are not supported. The time must be UTC. The range is [stop, start).
| base | symbol or ID of the base asset |
| quote | symbol or ID of the quote asset |
| start | Start sequence as an Integer, the latest trade to retrieve |
| stop | Stop time as a UNIX timestamp, the earliest trade to retrieve |
| limit | Number of trasactions to retrieve, capped at 100 |
Definition at line 1641 of file database_api.cpp.
| processed_transaction graphene::app::database_api::get_transaction | ( | uint32_t | block_num, |
| uint32_t | trx_in_block | ||
| ) | const |
used to fetch an individual transaction.
Definition at line 585 of file database_api.cpp.
| std::string graphene::app::database_api::get_transaction_hex | ( | const signed_transaction & | trx | ) | const |
Get a hexdump of the serialized binary form of a transaction.
Definition at line 2031 of file database_api.cpp.
| std::string graphene::app::database_api::get_transaction_hex_without_sig | ( | const signed_transaction & | trx | ) | const |
Get a hexdump of the serialized binary form of a signatures-stripped transaction.
Definition at line 2041 of file database_api.cpp.
| vector< asset > graphene::app::database_api::get_vested_balances | ( | const vector< balance_id_type > & | objs | ) | const |
Definition at line 1133 of file database_api.cpp.
| vector< vesting_balance_object > graphene::app::database_api::get_vesting_balances | ( | const std::string | account_id_or_name | ) | const |
Definition at line 1151 of file database_api.cpp.
| vector< withdraw_permission_object > graphene::app::database_api::get_withdraw_permissions_by_giver | ( | const std::string | account_id_or_name, |
| withdraw_permission_id_type | start, | ||
| uint32_t | limit | ||
| ) | const |
Get non expired withdraw permission objects for a giver(ex:recurring customer)
| account | Account ID or name to get objects from |
| start | Withdraw permission objects(1.12.X) before this ID will be skipped in results. Pagination purposes. |
| limit | Maximum number of objects to retrieve |
Definition at line 2340 of file database_api.cpp.
| vector< withdraw_permission_object > graphene::app::database_api::get_withdraw_permissions_by_recipient | ( | const std::string | account_id_or_name, |
| withdraw_permission_id_type | start, | ||
| uint32_t | limit | ||
| ) | const |
Get non expired withdraw permission objects for a recipient(ex:service provider)
| account | Account ID or name to get objects from |
| start | Withdraw permission objects(1.12.X) before this ID will be skipped in results. Pagination purposes. |
| limit | Maximum number of objects to retrieve |
Definition at line 2362 of file database_api.cpp.
| fc::optional< witness_object > graphene::app::database_api::get_witness_by_account | ( | const std::string | account_id_or_name | ) | const |
Get the witness owned by a given account.
| account_id_or_name | The ID of the account whose witness should be retrieved |
Definition at line 1769 of file database_api.cpp.
| uint64_t graphene::app::database_api::get_witness_count | ( | ) | const |
Get the total number of witnesses registered with the blockchain.
Definition at line 1812 of file database_api.cpp.
| vector< optional< witness_object > > graphene::app::database_api::get_witnesses | ( | const vector< witness_id_type > & | witness_ids | ) | const |
Get a list of witnesses by ID.
| witness_ids | IDs of the witnesses to retrieve |
This function has semantics identical to get_objects
Definition at line 1752 of file database_api.cpp.
| uint64_t graphene::app::database_api::get_worker_count | ( | ) | const |
Get the total number of workers registered with the blockchain.
Definition at line 1940 of file database_api.cpp.
| vector< optional< worker_object > > graphene::app::database_api::get_workers_by_account | ( | const std::string | account_id_or_name | ) | const |
Get the workers owned by a given account.
| account_id_or_name | The ID or name of the account whose worker should be retrieved |
Definition at line 1921 of file database_api.cpp.
| bool graphene::app::database_api::is_public_key_registered | ( | string | public_key | ) | const |
Determine whether a textual representation of a public key (in Base-58 format) is currently linked to any registered (i.e. non-stealth) account on the blockchain
| public_key | Public key |
Definition at line 730 of file database_api.cpp.
| vector< asset_object > graphene::app::database_api::list_assets | ( | const string & | lower_bound_symbol, |
| uint32_t | limit | ||
| ) | const |
Get assets alphabetically by symbol name.
| lower_bound_symbol | Lower bound of symbol names to retrieve |
| limit | Maximum number of assets to fetch (must not exceed 101) |
Definition at line 1205 of file database_api.cpp.
| vector< optional< account_object > > graphene::app::database_api::lookup_account_names | ( | const vector< string > & | account_names | ) | const |
Get a list of accounts by name.
| account_names | Names of the accounts to retrieve |
This function has semantics identical to get_objects
Definition at line 1013 of file database_api.cpp.
| map< string, account_id_type > graphene::app::database_api::lookup_accounts | ( | const string & | lower_bound_name, |
| uint32_t | limit | ||
| ) | const |
Get names and IDs for registered accounts.
| lower_bound_name | Lower bound of the first name to return |
| limit | Maximum number of results to return – must not exceed 1000 |
Definition at line 1031 of file database_api.cpp.
| vector< optional< asset_object > > graphene::app::database_api::lookup_asset_symbols | ( | const vector< string > & | symbols_or_ids | ) | const |
Get a list of assets by symbol.
| asset_symbols | Symbols or stringified IDs of the assets to retrieve |
This function has semantics identical to get_objects
Definition at line 1238 of file database_api.cpp.
| map< string, committee_member_id_type > graphene::app::database_api::lookup_committee_member_accounts | ( | const string & | lower_bound_name, |
| uint32_t | limit | ||
| ) | const |
Get names and IDs for registered committee_members.
| lower_bound_name | Lower bound of the first name to return |
| limit | Maximum number of results to return – must not exceed 1000 |
Definition at line 1860 of file database_api.cpp.
| vector< variant > graphene::app::database_api::lookup_vote_ids | ( | const vector< vote_id_type > & | votes | ) | const |
Given a set of votes, return the objects they are voting for.
This will be a mixture of committee_member_object, witness_objects, and worker_objects
The results will be in the same order as the votes. Null will be returned for any vote ids that are not found.
Definition at line 1958 of file database_api.cpp.
| map< string, witness_id_type > graphene::app::database_api::lookup_witness_accounts | ( | const string & | lower_bound_name, |
| uint32_t | limit | ||
| ) | const |
Get names and IDs for registered witnesses.
| lower_bound_name | Lower bound of the first name to return |
| limit | Maximum number of results to return – must not exceed 1000 |
Definition at line 1784 of file database_api.cpp.
| void graphene::app::database_api::set_block_applied_callback | ( | std::function< void(const variant &block_id)> | cb | ) |
Register a callback handle which will get notified when a block is pushed to database.
| cb | The callback handle to register |
Definition at line 513 of file database_api.cpp.
| void graphene::app::database_api::set_pending_transaction_callback | ( | std::function< void(const variant &signed_transaction_object)> | cb | ) |
Register a callback handle which will get notified when a transaction is pushed to database.
| cb | The callback handle to register |
Note: a transaction can be pushed to database and be popped from database several times while processing, before and after included in a block. Everytime when a push is done, the client will be notified.
Definition at line 503 of file database_api.cpp.
| void graphene::app::database_api::set_subscribe_callback | ( | std::function< void(const variant &)> | cb, |
| bool | notify_remove_create | ||
| ) |
Register a callback handle which then can be used to subscribe to object database changes.
| cb | The callback handle to register |
| nofity_remove_create | Whether subscribe to universal object creation and removal events. If this is set to true, the API server will notify all newly created objects and ID of all newly removed objects to the client, no matter whether client subscribed to the objects. By default, API servers don't allow subscribing to universal events, which can be changed on server startup. |
Definition at line 484 of file database_api.cpp.
| void graphene::app::database_api::subscribe_to_market | ( | std::function< void(const variant &)> | callback, |
| const std::string & | a, | ||
| const std::string & | b | ||
| ) |
Request notification when the active orders in the market between two assets changes.
| callback | Callback method which is called when the market changes |
| a | First asset Symbol or ID |
| b | Second asset Symbol or ID |
Callback will be passed a variant containing a vector<pair<operation, operation_result>>. The vector will contain, in order, the operations which changed the market, and their results.
Definition at line 1384 of file database_api.cpp.
| void graphene::app::database_api::unsubscribe_from_market | ( | const std::string & | a, |
| const std::string & | b | ||
| ) |
Unsubscribe from updates to a given market.
| a | First asset Symbol ID |
| b | Second asset Symbol ID |
Definition at line 1399 of file database_api.cpp.
| processed_transaction graphene::app::database_api::validate_transaction | ( | const signed_transaction & | trx | ) | const |
Validates a transaction against the current state without broadcasting it on the network.
Definition at line 2186 of file database_api.cpp.
| bool graphene::app::database_api::verify_account_authority | ( | const string & | account_name_or_id, |
| const flat_set< public_key_type > & | signers | ||
| ) | const |
Verify that the public keys have enough authority to approve an operation for this account.
| account_name_or_id | the account to check |
| signers | the public keys |
Definition at line 2157 of file database_api.cpp.
| bool graphene::app::database_api::verify_authority | ( | const signed_transaction & | trx | ) | const |
Definition at line 2141 of file database_api.cpp.


Solange to perform at Mo Pop Festival in Detroit.
On July 29th and 30th, Michigan’s famous Motor City will host Mo Pop Festival at West RiverFront Park where Solo will be sharing the stage with Foster the People, Tyler, The Creator, Aminè, The Shadowboxers and many more.
Recent news and reviews
News
Lady Gaga is putting the final touches to her new album ‘Joanne’!
Lady Gaga is putting the final touches to her new album ‘Joanne’, out later this month.The singer-songwriter says she was inspired by very personal issues for this album named after her aunt who died at the age of 19
Review
Ed Sheeran capped off a chartbusting week!
British singer-songwriter Ed Sheeran capped off a chartbusting week with a place in the record books, as his new album became the fastest selling by a male solo artist in the UK.Divide sold 672,000 copies in its first week, making it the third highest selling disk of all time behind Adele’s 25 and Oasis’s Be Here Now. ` `“Wow! What a phenomenal week. I’m buzzing,“ Sheeran said.
Review
Beyonce's album 'LEMONADE', Yay or Nay?
LEMONADE is Queen Bey’s sixth album, described as “a conceptual project based on every woman’s journey of self-knowledge and healing.” It consists of twelve songs with features from artists including Kendrick Lamar, The Weeknd, and James Blake.
Review
Drake's New album 'More Life', is it a hit or miss?
Drake has followed through on his promise and his new collection of music, More Life, is streaming everywhere.


Exodus 39:18
And the two ends of the two wreathed chains they fastened in the two ouches, and put them on the shoulderpieces of the ephod, before it.


Find a Country with a Warning Using the Below Search Term
Enter values for any of the categories then click the Submit button
Enter a Search Term:


Week 1 - Week 2: Introduction of UX Design
On week 1, UX was introduced and we discussed UX and AI in daily life. The assignment was to provide 2 examples of AI in our daily life.
On week 2, we had a bit taste of everything of a UX designer and get to know what is User Experience. Here is how we applied the knowledge to analysis the good UX examples and bad UX examples.


package ner
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
class
IOBTagger extends AnnotatorModel[IOBTagger] with Licensed with HasSimpleAnnotate[IOBTagger]
Tags tokens based on entity chunks and tokens
- class MedicalNerApproach extends AnnotatorApproach[MedicalNerModel] with NerApproach[MedicalNerApproach] with Logging with ParamsAndFeaturesWritable with Licensed
- class MedicalNerModel extends AnnotatorModel[MedicalNerModel] with HasBatchedAnnotate[MedicalNerModel] with WriteTensorflowModel with HasStorageRef with ParamsAndFeaturesWritable with Licensed
- case class NamedEntityConfidence(start: Int, end: Int, entity: String, text: String, sentenceId: String, confidence: Option[Float]) extends Product with Serializable
- class NerChunker extends AnnotatorModel[NerChunker] with HasSimpleAnnotate[NerChunker]
-
class
NerConverterInternal extends AnnotatorModel[NerConverterInternal] with HasSimpleAnnotate[NerConverterInternal]
Converts IOB or IOB2 representation of NER to user-friendly.
Converts IOB or IOB2 representation of NER to user-friendly. See https://en.wikipedia.org/wiki/Inside%E2%80%93outside%E2%80%93beginning_(tagging)
- trait ReadablePretrainedMedicalNer extends ParamsAndFeaturesReadable[MedicalNerModel] with HasPretrained[MedicalNerModel]
- trait ReadsMedicalNerGraph extends ParamsAndFeaturesReadable[MedicalNerModel] with ReadTensorflowModel
Value Members
- object IOBTagger extends ParamsAndFeaturesReadable[IOBTagger] with Serializable
- object MedicalNerApproach extends DefaultParamsReadable[MedicalNerApproach] with WithGraphResolver with Serializable
- object MedicalNerModel extends ReadablePretrainedMedicalNer with ReadsMedicalNerGraph with Serializable
- object NerChunker extends DefaultParamsReadable[Chunker] with Serializable
- object NerConverterInternal extends ParamsAndFeaturesReadable[NerConverterInternal] with Serializable
- object NerTaggedInternal
-
object
NerTagsEncodingInternal
Works with different NER representations as tags Supports: IOB and IOB2 https://en.wikipedia.org/wiki/Inside%E2%80%93outside%E2%80%93beginning_(tagging)


Physical Location: J307
Lab: Gunner Lab
Department: Physics
IP: <IP_ADDRESS>
Administrator: Yanjun Wang
Home
Policies and Documentation
Computing Resources
Programming Resources
Administration
Links
|
Building Hestia
Initial installation of the cluster:
- Physically mount the hardware to the rack, and wire the power and network. This process involves the reconfiguration of a power socket to be L6 type to fit the 30Amp-250V-3-leg plug of Smartpro 5000VA UPS.
- Install RedHat Linux 9 on to the master node. The installation wizard detected no hard disk drive and prompted for driver. Choose "Add" driver option, the program actually found a driver for the LAN (BroadCom), but we still had to add driver for the SCSI interface (Ultra320) from a floppy disk. The CD came with the master node has tools to make such a floppy.
- Install everything.
- Copy RPM.
- Bring up network, eth0 for internet and eth1 for intranet.
- Download and install Oscar. Include ganglia as additional package but uncheck maui and pbs packages. One needs to power up slave nodes and manually read the MAC address in the process of assigning IP, even though the slave nodes didn't have OS at this time.
- reconfigure /etc/exports of the master node and /etc/fstab of slave nodes so that NFS shares /home, /disk2, and /disk3 with all nodes.
- Install and configure condor. This involves a lot of customization on the condor policy so that each node is two virtual machines and mcce jobs would not be suspended and preempted.
- Create user accounts.
How to add a node to an existing condor pool:
As sibyl master node often went down, I decided move the sibyl slave nodes into hestia condor pool. Why didn't I cluster the sibyl slave nodes to hestia? That's bacuse OSCAR doesn't support multi-architecture slave nodes. OSCAR requires all slave nodes share one boot image file.
Here is the procedure I expanded the condor pool to include sibyl slave nodes. At the end of the process, all sibyl nodes serve as hestia salve nodes, which may accept serial jobs via condor but lack parallel programming support. This is a good compromise in Gunner's Lab as most jobs are serial jobs. The new nodes will be named as node13, node14, ..., node20.
The nice thing is hestia and condor on hestia don't need to restart in the process described as following.
- Hardware preparation.
- The only thing I need to do is to connect the two network switchs.
- Network reconfiguration of the master node (hestia).
- Pfilter should be reconfigured and restared, otherwise new slave nodes could not mount the file systems master node exports. To do this, find line "%define nodes" in /etc/pfilter.conf and add new nodes in. Then run "/sbin/service pfilter restart" to make changes effective.
- Edit /etc/hosts to include nodes 13 to 20.
- Network reconfiguration of slave nodes (previous sibyl), one node as example.
- Configure the network interface: ifconfig eth0 <IP_ADDRESS> netmask <IP_ADDRESS> broadcast <IP_ADDRESS>. This has to be done locally because the node had a conflicting IP <IP_ADDRESS> with node3 of hestia. After assigning new IP, the node14 which was node 3 of sibyl can be accessed from hestia master node.
- Configure hostname: hostname node14
- Make network change for bootup scripts:
/etc/sysconfig/network-script/ifcfg-eth0
/etc/sysconfig/network
- Update /etc/hosts to include nodes 14 to 20. In this file node14 should not be in the same line of localhost, otherwise condor will crash (very hard to debug). The safest thing is to nickname node14 for <IP_ADDRESS> only.
- Update /etc/fstab to include /home, /disk2 and /disk3. Also make these mount points under /.
- Mount NFS:
mount /home
mount/disk2
mount/disk3
- Synchronize password to the new slave node:
scp /etc/group node14:/etc
scp /etc/passwd node14:/etc
scp /etc/shadow node14:/etc
scp /etc/gshadow node14:/etc
Note the last command requires the new password
- Install condor - master node part
- Prepare a the configuration files and directories for the new node. As we want to make the condor configuration as consistant as possible, we stick on the exactly same mechanism as what we have on hestia. One problem is we have to run the condor_install that was released for RH7.3 and glibc2.2 architecture for the new slave node. The individual installation on the new slave node has to be limited to install the binaries only, and the configuration files will be manually created on the master node.
- Backup condor_config. Go to /home/condor, cp condor_config to condor_config.bak
- Make node specific directory. Go to /home/condor/hosts, cp -r node2 node14. This creates a copy of node2. Then go to /home/condor/hosts/node14, remove everything under directory excute, log and spool.
- Update local config file. Under /home/condor/hosts/node14, rename file node2.local to node14.local, and copy /home/condor/condor_config to condor_config.local under node14 directory. Change file condor_config.local line RELEASE_DIR from /home/condor to /usr/local/condor. This is because the RH7.3/glibc2.2 condor binaries have to locate at a different place and recognized by this sepcific node. In another word, we are going to install node specific condor to mix nodes with different OS. Remember the condor_release location /usr/local/condor is the location of slave node 14. Another line needs to be updated is MEMORY, make it 2016.
- Change ownership of the node14 directory and the subdirectory to condor.
- Install condor - slave node part
- Go to slave node 14 /root directory, get a copy of condor distribution 6.6.6 or 6.7 for RH7.3/glibc2.2. Aviod doing this under /home/condor because this directory is for hestial original nodes.
- Run condor_install full installation for one machine only. Point condor release directory to /usr/local/condor. Do not allow the installation to make any soft link. However this installation will overwrite /home/condor/condor_config when it detects a user directory condor exists. If this happens, just copy the condor_config.bak back to condor_config.
- For the above step, one can take advantage of the previous successful installation on node 13. Run scp -r node13:/usr/local/condor /usr/local to create condor release directory.
- Sometimes, I need to change the owner of /var/lock/condor to condor.
- Start condor. Run /usr/local/condor_sbin/condor_master.
- Post-installation
- Edit the condor_start, condor_stop and condor_restart scripts.
|


API Access keys
Organization logo
Deleting an organization is irreversible and will delete all domain names and API keys associated with it.
If you leave an organization you cannot re-join it unless you are invited again.


James Anderson
Lorem Ipsum is simply dummy text of the printing and type setting industry.Michael Jorden
Lorem Ipsum is simply dummy text of the printing and type setting industry.Johnathan Doeting
Lorem Ipsum is simply dummy text of the printing and type setting industry.


First of all, to use most of the SDK features you'll need to be logged in as a gamer... Don't forget to check the console for actions feedback!
You should then store the credentials (check console for gamer_id and gamer_secret) obtained from the Json response to automatically log in again later as the same gamer.
Note for Facebook Login: You will need an up and running server on the "localhost" domain to make it work.
If previous login credentials are stored, use them to log in again as the same gamer and recover his data. This way, you may auto-login the gamer with stored credentials and avoid to ask the gamer to manually login again.
(Note: You may be logged into Facebook and Facebook XtraLife's app and still be logged out of the XtraLife SDK)


Lebanon parliament speaker calls for session next Wednesday: NNA
BEIRUT (Reuters) - Lebanese House Speaker Nabih Berri called on Thursday for a parliamentary session next week to discuss draft legislation on banking secrecy and returning stolen state funds, state news agency NNA reported.
Berri’s call comes after more than a month of nationwide protests against the country’s ruling elite and which have included demands for tackling rampant corruption and the looting of state resources. He said the session would be held on Nov. 27.


Check the user object for JWT claims and return a boolean indicating whether or not they are authorized to view the component.
withAuthenticationRequired(Profile, {
loginOptions: {
appState: {
customProp: 'foo'
}
}
})
Pass additional login options, like extra appState
to the login page.
This will be merged with the returnTo
option used by the onRedirectCallback
handler.
withAuthenticationRequired(Profile, {
onRedirecting: () =>
Redirecting you to the login...

})
Render a message to show that the user is being redirected to the login.
withAuthenticationRequired(Profile, {
returnTo: '/profile'
})
or
withAuthenticationRequired(Profile, {
returnTo: () => window.location.hash.substr(1)
})
Add a path for the onRedirectCallback
handler to return the user to after login.
Options for the withAuthenticationRequired Higher Order Component


The Digital Planners
How it Works
Inspiration
Dashboard
AJ
Anthony Juma
Settings
Log Out
Account Settings
Manage your account, password and more.
Your Profile
First Name
Last Name
Mobile
Email
Change Password
Old Password
New Password
Repeat Password
Manage Notifications
Contact me via email
Contact me via text message


Routing Pattern for __main__()¶
Console Apps¶
How you startup will vary based on the interface. The following are for console applications.
A Generic Workflow for __main__()¶
Parse Arguments¶
Python provides an arguments parser, argparse
, use it. Let a user know how this thing
is supposed to work. Even if it’s supposed to just start up and run, give it help.
A smart user will call your module with --help
first to see what it does.
Encourage that behavior.
c:\Python37>scripts\py_guide --help
usage: py_guide [-h] [--show_menu] [--version]
[--list_of_strings list [list ...]]
py_guide is a best practices module recommending a basic project structure for
a teams python projects. Best Practices help teams scale. Starting with it
before you scale the team is a good thing.
optional arguments:
-h, --help show this help message and exit
--show_menu When this parameter is provided the flag is set to
true. When true a console menu will be shown.
--version When this parameter is provided the version
information will be displayed.
--list_of_strings list [list ...]
The list parameter will collect, then echo a list of
strings. This demonstrates the + value of nargs when
using the parser.
Route Arguments¶
I think about a console application, parsing arguments, like routing things at a web server or firewall. Therefore I normally take my parsed arguments and toss to a method which routes them. The method, in turn, normally tosses them to an action method for that route.
Action Arguments¶
I don’t know why, action as a result of being routed to, seemed like a good set of terminology. There’s a million ways to name things, this one was mine. Therefore I create a function to handle the results of a route being called, and taking action on that.
Web Applications¶
In the future, tips for this type of user interface.
API first with Flask and OpenAPI (swagger)?
Dare I bother suggesting user interface? Is that the domain of angular?


| About Dailyrotten |
|
Feedback
If you like this page, hate it, or would like to suggest changes,
<EMAIL_ADDRESS>is listening. This page
is experimental and somewhat different from what we usually offer, so please
do send your feedback.
Adding Stories
If you are a rotten newshound and you would like to suggest a story,
visit our submit page to
send us the URL. Stories that are accepted will have your name credited.
Posting Comments
In order to post comments to stories, you will have to
create an account.
Accounts will generally be validated within 24 hours, and of
course will be disabled if there is abuse.
Viewership
On the first full day this page went live, 100,000 people visited this Rotten
News page. Of course that was the day after the WTC attacks, so that number is
somewhat distorted. Right now this page gets between 50,000 and 75,000 people
every day.
Linking
We encourage everyone to link to this page; if you like it, others probably
will as well.
Other Rotten
Rotten
Gaping Maw
Celebrity Morgue
Mugshots
Rotten Store
Rate My Poo
Rate My Kitten
Rate My Finger
Penny Postcards
Phallic
Boners
Home
Make Dailyrotten your start page
|
|
|
September 03, 2002
Mrmrmff Iraq mmrfkr mfrmgh!
Alertnet | Submitted by: Son of Benway
"Passers-by discovered the 39-year-old man from Iraq sitting on the ground
at a central Zurich square on Monday with his lips stitched together. The
man, who was foaming from his mouth, pulled a dagger on police officers who
confronted him... police did not know why the man's mouth was sewn closed,
but did not believe he was making a political protest. "He was so confused
that we had to bring him to a clinic."
|
|
Read article...
|
|
Political espionage
Atlanta Journal-Constitution | Submitted by: Incubus
"U.S. Rep. Saxby Chambliss is spying on U.S. Sen. Max Cleland. But that
doesn't surprise the senator. He's spying on Chambliss. It's a form of
out-in-the-open political espionage called "tracking," and it's become an
essential part of most high-profile political campaigns. Armed with a
video camera, a campaign staffer shadows the opponent at every public
event, documenting the candidate's every word and move, hoping to catch
the opposition saying something that can later be used against him."
|
|
Read article...
|
|
Jimmy Hoffa still dead
CNN | Submitted by: Incubus
"There have been allegations that his body is entombed in concrete near
section 107 of Giant Stadium in the New Jersey Meadowlands (almost certainly
not), or ground up and thrown to the fishes in a Florida swamp (could be),
or obliterated in a mob-owned fat-rendering plant that has since burned down
(who knows). After more than a quarter century, the Hoffa trail is a cold
one... "Maybe he took a little trip," said Anthony "Tony Jack" Giacalone,
one of the suspects behind Hoffa's disappearance, when he heard the news."
|
|
Read article...
|
|
Girl gets chipped to soothe paranoid parents
Guardian | Submitted by: Bungknuckle
"The parents of an 11-year-old girl are to take the extraordinary step of
having her fitted with a microchip so that her movements can be traced if
she is abducted... The miniature chip will apparently send a signal via
a mobile phone network to a computer, which will be able to pinpoint her
location on an electronic map." Also, If she shows up at a vet, they will
know who she belongs to and what breed she is.
|
|
Read article...
|
|
Bush's latest appointed shit-fer-brains
Seattle Times | Submitted by: Ann Onymous
"The man [Allan Fitzsimmons] chosen to head the Bush administration's
wildfire prevention program doubts the existence of ecosystems and says it
would not be a crisis if the nation's threatened and endangered species
became extinct... Fitzsimmons says ecosystems exist only in the human
imagination and cannot be delineated. Federal policies, therefore, should
not be used to try to manage or restore them, he wrote."
|
|
Read article...
|
|
Wife has fun sewing husband up
Mainichi Daily News | Submitted by: lindane
"Mr. Sato had to return to the hospital for a check-up.  "He underwent an operation immediately and they removed the
needle. When a doctor questioned him about the needle and the scars of his
beating, Mr. Sato told him that his wife was responsible."
|
|
Read article...
|
|
Girl breaks legs in two places, four times a day
Devon Western Daily News | Submitted by: Stamford
"Two-and-a-half years ago she chose to undergo complicated surgery and
months of pain to try to reach the minimum height requirement for a flight
attendant of 5ft 2in... Four times a day Emma had to turn a screw on the
fixator to stretch her legs. This meant the bone would keep being rebroken
and not be allowed to mend until it had stretched while it was growing back."
|
|
Read article...
|
|
White trash ignites teen with gasoline
Pittsburgh Post-Gazette | Submitted by: Drew
Pittsburgh Police Cmdr. Maurita Bryant said [that] Thomas F. Risko, 46,
doused Eric Hilliard, 18, of Morningside with gasoline as he sat in the
passenger seat of a black 1995 Ford Probe that was parked at a gas pump...
The incident began when Risko called the five young men from Morningside
"white trash" after some of them made fun of him for running out of gas,
the victim's brother said."
|
|
Read article...
|
|
What a long dull trip it was
Slate | Submitted by: Son of Benway
"The Deadheads gave the Grateful Dead a steady revenue stream and a safe
harbor. At first, it felt like a rear guard action, fighting for community
in a socially fragmented era. But it curdled into the last refuge for musical
conservatism and complacency... Safe within the fuzzy bubble of Deadhead-land,
the band coasted for years on end, but no matter how negligent or desultory
the performance, they always had the Deadheads to fall back on."
|
|
Read article...
|
|
A baffling hobby
New Jersey Online | Submitted by: Son of Benway
"Mohammed Budeir, a U.S. citizen, was charged with criminal trespassing and
disorderly conduct after he was found photographing Willistown Township police
vehicles last month. Budeir, 20, has said that the photos are a hobby. His
attorney, Richard Meanix, said there is a large online community of former
officers and civilians who are interested in police vehicles. "He's just a
college kid who likes to take pictures of cop cars."
|
|
Read article...
|
|
Playing with your joystick
Lexington Herald-Leader | Submitted by: Crazy Quagga
Video game designers are switching from violence to sex to snag older
consumers. "In at least one game, the female characters' tops will drop as
successful video-game companies market the sexuality that already heats up
movie screens and music videos."
|
|
Read article...
|
|
Horses kill each other in 60mph head-on collision
Western Daily Press | Submitted by: Robert Hardie
"Police investigating the deaths of two horses found lying side by side
say they were not the victims of a sickening mutilation attack but had
been "spooked" by something and galloped into each other at a combined
speed of up to 60mph... "We found them in a terrible state and at first
we thought someone must have harmed them deliberately."
 Explaining the shooting of a gangmember: "I was working undercover.
I donít want to disclose the agency because it could compromise ongoing
investigations. Iím not a member of any law enforcement agency. I signed a
confidentiality agreement. Iím not a cop now, and I wasnít being paid. I was
just doing my civic duty. What made me effective was they could put me in
drag in these gay bars and nobody thought that I was a cop."
|
|
Read article...
|
|
Female inmate on way to male jail
Cincinnati Enquirer | Submitted by: buffaloBill
"Mr. Fullers, a native of Chicago, was arrested as Carla Brenner but
maintains he is a gay male with female tendencies. He has used more than
50 aliases, some male, most female, and has served time in 11 states,
including in women's jails, for crimes such as theft and forgery."
Yet another reason to stay out of prison.
|
|
Read article...
|
|
Kill Free Willy already
CNN | Submitted by: D. Rango
The 'Free Willy' orca comes home after being set free. Experts say he is
lonely. A Norwegian whale expert is getting tired of the drama: "First they
spend millions on taming him and turning him into a movie star. Then they
spend more millions on turning him back into a wild animal... They should
put him down." You gotta be cruel to be kind.
|
|
Read article...
|
|
Cat has record 28 toes
WKMG-TV 6 Orlando | Submitted by: Rio
"A cat named Mooch has nine lives and 28 toes, according to a Local 6 News
6 report. "Usually, their first remark is, 'Oh, my God, look at that cat's
feet; what's wrong with him?'" owner Becky DuVal said. DuVal said he was
listening to the radio last week and heard about the world record for most
toes on a cat, currently held by Paddles, a black cat in Ennismore,
Ontario, who has 27.
|
|
Read article...
|
|
Le haut cuisine of Cambodia
Reuters | Submitted by: Crampon
"When people fled into the jungle to get away from Pol Pot's troops, they
found these spiders and had to eat them because they were so hungry," Sim
Yong, a 40 year old mother of five, told Reuters. "Then they discovered
they were so delicious," she said, proffering a plate piled high with
hundreds of the greasy fried arachnids. "And our spiders are by far the best
in Cambodia."
|
|
Read article...
|
|
|
|
|


Hello! Welcome to Nagger
Get Started ⏎
What's your name?

How much money do you want to spend on Saturday or Sunday?
Awesome, let's get started! :)


"I may not have much professional experience but I have skills that could match that of a professional."


The Basics of Web and HTML (Unit 1)
By Mark Celeste
I: The Basics of the Web
Overview - HTML,URLS,HTTP, and Web Applications
World Wide Web
1) You, your PC Browser 2) The Internet- The worlds largest Computer Network 3) HTTP Requests - Protocal to communitcate with servers
4) Connected to servers - hosting files in a remote location
HTML - HyperText Mark Up Language
1) Text Content - What you See!
2) Mark Up - what it looks like
3) Reference to other docs - e.g. images, pictures, or video's'
Misc - made up as tags (E.G. < NAME> Contents ) (Opening tag and closing tag, closing has an extra line, entire thing is considered an element, not adding a closing tag leaves the code open and it continues on...
Sample Tags
First Tag - "b" with an open and close e.g. contents = BOLD TEXT
Second Tag - "em" with an open and close e.g. " contents = ITALICS
Third Tag - Hyperlink " a ref " E.G. Hello APPLE - This tags creates a hyperlink to apple
Fourth Tag - break tag "br" with an open and close "- line break creates additional lines
Fifth Tag - Paragraph tag "pr" with an open and close "- Paragraph - not a void tage content, tag creates a new paragraph
HTML Reference Tag Site Common HTML Tags Reference Site (Many common tag examples)
What he said about block elements creating "invisible boxes" will be important, but you will learn more about this in the next lesson.
Container elements: elements that do nothing but contain stuff inside of them. The purpose of these elements will not be clear yet, but in the next lesson you will see how these elements can be used to create web pages with complex structures.
Lesson Summary
The five most important things to take from this lesson are the following:
1 - What a Web Page is
A web page is a text document written in a language called HTML. Web browsers read these documents, and then interpret and display them.
2 - How Coding Works
Coding happens when programmers write text in a language that a computer can understand. The computer can then follow the instructions the programmer wrote. For example, the computer might do this by making text like this:
I'm learning to code!
look like this:
I'm learning to code!
3 - Computers are Stupid
Programmers need to write exactly the way a computer understands (also known as writing with correct "syntax").
For example, if you forget to close a bold tag, the computer won't be able to figure out what you had intended to make bold. This "stupidity" can be very frustrating, but it also gives programmers incredible power: if you know how to talk to a computer than you can tell it do do anything you want.
4 - Programmers Can't Remember Everything
There are too many details to keep everything in your head. And that's okay. If you forget how to make text italic in HTML, you can always just look it up.
5 - Basic HTML Vocabulary
You will be using HTML in the next few lessons, so it will be helpful if you're comfortable with the jargon.
Tag: An HTML tag is always contained within angled brackets. Most tags have an opening tag (" p " ' for example) and a closing tag, ("p"). Some tags (called "void" tags) do not require a closing tag (like the "br" tag).
Element: An HTML element refers to everything within a set of opening and closing tags.
Attribute: This is a property of an HTML element. For example, to set the href attribute of an anchor tag to the Udacity URL, " a href="www.udacity.com"
Span and Div will be used often in this class! Span is Inline and Div is a block element
Saving HTML File
Video on how to save your code to your computer


Race World Offshore Key West Championships begin Wednesday
KEY WEST, Fla. (AP) - One of the present day’s most proficient offshore powerboat racers is aspiring to earn another world title.
The Race World Offshore Key West Championships begin Wednesday in the Florida Keys.
During his 33-year career, Miami throttleman John Tomlinson has amassed 46 national and world titles.
In the eight-entry Super Cat class, Tomlinson is teamed with Myrick Coil of Osage Beach, Missouri, in Performance Boat Center, a 41-foot catamaran with twin 800-horsepower engines that can hit speeds around 135 mph (217 kph).
Wednesday and Friday’s races each account for 25% of accumulated points. Sunday’s final races, worth the remaining 50%, are to determine world champions in various classes.
A portion of the almost 4.5 mile-per-lap (7.2 kilometer-per-lap) course runs through Key West Harbor, providing fans vantage points close to the action.
Online: Super Boat International, https://raceworldoffshore.com
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


Input:
Result: Emphasis
Input:
Result on span:
Result alone:
Without closing:
This is
true
markdown text (paragraph)
This is
true
markdown text (no paragraph)
This is
true
markdown text (block paragraph)
|
This is true markdown text. (no par) |
This is true markdown text. (par) |
The following is invalid HTML, and will generate an error:
HTML parse error:
 This is *true* markdown text. (no par)	 This is *true* markdown text. (par)

HTML parse error:


SOCIAL SECURITY ADMINISTRATION
Office of Disability Adjudication and Review
SSA ODAR Hearing Ofc
Suit 1000, 10th Floor
500 East Broward Blvd
Ft Lauderdale, FL 33394-3026
Date: April 13, 2018
Recipient Name Here
Street Address
City State ZIP code


$state
dotjem.routing
You can define states through $stateProvider's API.
To transition to another state, use goto
...
lookup
to get that object).If the state has an associated route, that route will be activated and the location with change it the address bar of the browser. It is also important that all parameters are defined for such route, however if the previous state defines any of those, they won't need to be redefined.
e.g. say the following states are defined:
$stateProvider .state('home', { route: '/home/:homeParam' }) .state('home.child', { route: '/child/:childParam' })
To activate the home
state, a call to goto must include the :homeParam
e.g:
$state.goto('home', { homeParam: 'goHome' } );
To activate the home.child
state, a call to goto must include the :homeParam
and the :childParam
e.g:
$state.goto('home.child', { homeParam: 'goHome', childParam: 'goChild' } );
To activate the home.child
state when currently in the home
state, a call to goto must include the the :childParam
and can optionally include the :homeParam
e.g:
$state.goto('home.child', { childParam: 'goChild' } ); $state.goto('home.child', { homeParam: 'goHome', childParam: 'goChild' } );
We can leave out the home param as that is already defined in the current set of params, that also means we can goto home from child without specifying any params, but if we wish to change it we must specify it, the following example will demonstrate a full flow:
$state.goto('home', { homeParam: 1 } ); // - location set to: '/home/1' $state.goto('home.child', { childParam: 1 } ); // - location set to: '/home/1/child/1' $state.goto('home'); // - location set to: '/home/1' $state.goto('home.child', { homeParam: 2, childParam: 2 } ); // - location set to: '/home/2/child/2' $state.goto('home.child', { childParam: 4 } ); // - location set to: '/home/2/child/4' $state.goto('home.child', { homeParam: 4 } ); // - location set to: '/home/4/child/4'
| Param | Type | Details |
|---|---|---|
| state | Statestring | Current state. |
| params | Object | Current state. |
Checks if the current state matches the provided state.
| Param | Type | Details |
|---|---|---|
| state (optional) | Statestring | A State or name to check against the current state. |
| basePath (optional) | Boolean | If true (default) the basePath is used when generating the url, otherwas not. |
| boolean | true if the stats mathces, otherwise false. |
To lookup a state, use lookup
...
Path is inspired by XPath and supports a subset of that syntax.
.
: current state..
: parent state/
: path separator[]
: index selector, errors on overflow$node()
: sibling selector, can overflow
Using these selectors, the following are examples of paths:
state
: Selects state
from the current node./state
: Selects state
from the root../state
: Selects state
from the current node../state/child
: Selects child
under state
from the current node.../state
: Selects state
under the parent of the current state.[0]
: Selects the first child of the current state.[-1]
: Selects the last child of the current state../state/[-1]
: Selects the last child under state
under current state.$node(1)
: Selects the next sibling of the current state.$node(-1)
: Selects the previous sibling of the current state.
Note: When using $node()
, it allows for overflow. this means if you are at the last child of a state and selects $node(1)
, it will select the first child instead.
Finally it is also possible to select states by their full name, however as state
would also be a valid relative selector, full name selection is only used when the name contains a .
, this means that if you wish to select the states directly under root by name you will have to use either the syntax above or it's full name with root included:
root.state
: Selects state
under root./state
: Selects state
under root.
Errors will be thrown in cases where the path isn't valid.
The root state it self can't be selected. (The root state is implicitly defined by the system, when defining .state('home', {...});
, the state home
isn't a root state, it is instead a child of root.
| Param | Type | Details |
|---|---|---|
| path | string | Path expression to the state that can either be relative to the current state or from the root (/). |
Clears all states and associated routes and reinitializes the state service.
To force reload a state, use reload
...
.reload()
to reload only the current leaf state..reload(true)
to reload all active states from the root state to the current leaf..reload('state.full.name')
to reload all states from state.full.name
and down to the current leaf.
state.full.name.to.here
and .reload()
is called then all views etc. will be reloaded for the leaf state here
.
.reload(true)
called, views etc. will be reloaded for all the states state
, full
, name
, to
, here
.
.reload('state.full.name')
is called, views etc. will be reloaded for the states name
, to
, here
.| Param | Type | Details |
|---|---|---|
| state (optional) | Statestringboolean | Name or State in the current hierachy or true/false |
To build a url for a particular state, use url
...
If the state defined either by state, or current state does not have an route associated with it, it will throw an error.
| Param | Type | Details |
|---|---|---|
| state (optional) | Statestring | A state to generate an URL for |
| params (optional) | Object | A set of parameters to use when generating the url |
| basePath (optional) | Boolean | If true (default) the basePath is used when generating the url, otherwas not. |
Reference to the current state loaded.
Broadcasted before a route change. At this point the route services starts resolving all of the dependencies needed for the route change to occurs.
| Param | Type | Details |
|---|---|---|
| angularEvent | Object | Synthetic event object. |
| next | State | Future state. |
| current | State | Current state. |


This is a simple demo used for creation/testing of angular2-grid, a grid-based drag/drop/resize plugin directive for Angular 2. It makes use of angular directives so that in order to include it, all you need to do is add an "[ngGrid]" attribute to your container and an "[ngGridItem]" to each of your grid items. It even works with the ngFor directive to add boxes on the fly!


Scrawl.js
- demonstration 019
Amimating a Picture entity using a sprite sheet
Extensions: images, animation
speed
loop
loop
reverse
pause
running
forward
backward
scale
roll
flip
normal
reverse
upend
both
Scenario:
???
Actions:
???
Known browser issues:
???
Result images:


| Client's name and final decision maker |
Christina Borja |
| Client's business/website name |
BB Designs |
| Redesign or brand new site |
New |
| Type of website |
Portfolio, marketing, online presence |
| Client's goal |
Gain exposure, sell work, connect with clients, industry professionals and peers |
Audience
Perspective Customers: Individuals interested in purses and other sewn goods. The age range is varied, mid twenties to sixties. They are cultured, creative and on trend. They will access the website via desktop, tablet and mobile devices via cable and wifi. Their preferred browsers will be Chrome and Safari.
Issues
- Examples of Christina's work
- How to purchase
- Learn about Christina's experience and inspiration
Approach
- Photos and descriptions of the work
- Pricing and buying information
- Resume
- Designers statement
- Contact page
|
Audience
Peers: Contemporaries searching for inspiration, to see what other designers are creating and to connect with fellow creatives. They will be in their twenties to sixties and be mostly computer saavy. They will access the website via desktop, tablet and phone using cable internet or wifi.Their preferred browsers will be Chrome and Safari. |
Issues
- Examples of Christina's work
- Learn about Christina's creative process
- Learn about Christina's process and inspirations
- Tips on living the creative life
|
Approach
- Photos of Christina's work
- Designers statement
- Resume
- Contact page
|
Audience
Industry Professionals: Shops and businesses interested in purchasing and showcasing Christina's work. They will be in their twenties to sixties and be fairly computer saavy. They will access the website via desktop or tablet using cable internet or wifi. Their preferred browsers will be Chrome and Safari. |
Issues
- Examples of Christina's work
- Education and business experience
- Christina's creative process and inspiration
|
Approach
- Photos of Christina's work
- Resume
- Desingers statement
- Contact page
|


You Don’t Say: Media Double Standards
About Black Protesters
“Wild animals burning buildings down”
“Who acts that way towards a police officer?”
About White Looters
“Young people danced on a flipped over car”
“It’s so tough to lose and unfortunately the ugly side that we sometimes see in sports”


Home
Products
Product #1
Product #2
Product #3
Services
Pricing
News
More
About
Contact
Support
FAQs
Careers


This page shows automated results of the Orionids 2008, based on visual data entered through the IMO electronic report form. Send your feedback regarding this page to Geert Barentsen or visit the project pages. Note that these automated results may not be suitable for scientific use!
Page generated: 2008 December 9 at 3:01 UT.
ZHRmax = 39 based on 3141 Orionids in 684 data intervals, assuming fixed population index r = 2.0 and zenith correction 1/sin(hR).
| Time (UT) | Solarlon | nINT | nORI | ZHR | |
|---|---|---|---|---|---|
| 2008-10-02 02:56 | 189.172 | 9 | 4 | 2 | +-1 |
| 2008-10-03 23:06 | 190.983 | 12 | 14 | 3 | +-1 |
| 2008-10-04 20:26 | 191.859 | 9 | 15 | 3 | +-1 |
| 2008-10-05 22:40 | 192.937 | 3 | 3 | 6 | +-3 |
| 2008-10-07 09:45 | 194.379 | 6 | 6 | 3 | +-1 |
| 2008-10-08 22:24 | 195.887 | 9 | 17 | 3 | +-1 |
| 2008-10-10 09:30 | 197.331 | 12 | 15 | 6 | +-2 |
| 2008-10-11 04:32 | 198.115 | 24 | 36 | 5 | +-1 |
| 2008-10-12 04:40 | 199.110 | 7 | 35 | 7 | +-1 |
| 2008-10-15 22:19 | 202.809 | 2 | 8 | 9 | +-3 |
| 2008-10-17 09:32 | 204.264 | 21 | 30 | 10 | +-2 |
| 2008-10-18 19:16 | 205.660 | 25 | 80 | 14 | +-2 |
| 2008-10-19 15:17 | 206.488 | 29 | 166 | 24 | +-2 |
| 2008-10-20 13:53 | 207.424 | 77 | 505 | 35 | +-2 |
| 2008-10-21 10:51 | 208.293 | 56 | 508 | 39 | +-2 |
| 2008-10-22 20:35 | 209.691 | 95 | 397 | 27 | +-1 |
| 2008-10-23 05:52 | 210.076 | 99 | 501 | 27 | +-1 |
| 2008-10-24 05:55 | 211.075 | 38 | 331 | 24 | +-1 |
| 2008-10-25 14:38 | 212.434 | 33 | 171 | 15 | +-1 |
| 2008-10-26 12:54 | 213.359 | 14 | 87 | 12 | +-1 |
| 2008-10-27 20:20 | 214.667 | 31 | 72 | 11 | +-1 |
| 2008-10-28 14:10 | 215.409 | 10 | 13 | 7 | +-2 |
| 2008-10-30 20:10 | 217.658 | 12 | 46 | 7 | +-1 |
| 2008-10-31 17:19 | 218.539 | 6 | 12 | 3 | +-1 |
| 2008-11-02 01:06 | 219.865 | 25 | 49 | 3 | +-0 |
| 2008-11-03 16:04 | 221.491 | 11 | 12 | 3 | +-1 |
| 2008-11-04 07:46 | 222.147 | 9 | 8 | 2 | +-1 |
For each estimation interval: time is the middle of the interval, nINT is the number of observing periods and nORI is the number of Orionids involved. ZHR = (1 + sum nORI) / sum(Teff/C) where Teff is the effective observing time and C is the total correction for limiting magnitude, clouds and zenith correction. The solar longitudes refer to equinox J2000.0.
Data has been received from 61 observers in 19 countries. Thank you for your efforts!
| Observer | Country | Teff | nORI |
|---|---|---|---|
| Salvador Aguirre | Mexico | 29.90h | 229 |
| Pierre Bader | Germany | 5.30h | 18 |
| Jean-marie Biets | Belgium | 1.82h | 14 |
| Jean-marie Biets | Belgium | 4.17h | 37 |
| Geoff Carstairs | Australia | 0.75h | 0 |
| Tibor Csorgei | Slovakia | 0.99h | 9 |
| Raka Dabhade | India | 1.50h | 9 |
| Mayuresh Desai | India | 3.00h | 1 |
| Suraj Deshpande | India | 1.50h | 16 |
| Owen Dietrich | United States | 1.00h | 5 |
| Sietse Dijkstra | Netherlands | 21.47h | 122 |
| Todor Dimitrov | Bulgaria | 7.48h | 30 |
| John Drummond | New Zealand | 1.00h | 12 |
| Paige Fronheiser | United States | 1.00h | 6 |
| William Godley | United States | 6.67h | 50 |
| Sylvie Gorkova | Czech Republic | 16.00h | 41 |
| Mitja Govedic | Slovenia | 5.58h | 17 |
| Pavol Habuda | Slovakia | 2.61h | 35 |
| Shy Halatzi | Israel | 2.78h | 15 |
| Wayne T. Hally | United States | 36.29h | 200 |
| Vilem Heblik | Czech Republic | 1.25h | 2 |
| Carl Hergenrother | United States | 2.42h | 29 |
| Kamil Hornoch | Czech Republic | 8.73h | 82 |
| Surbhi Jain | India | 1.00h | 8 |
| Carl Johannink | Netherlands | 3.70h | 25 |
| Javor Kac | Slovenia | 6.88h | 4 |
| Yann Kempf | France | 2.03h | 7 |
| Jakub Koukal | Czech Republic | 96.58h | 735 |
| Peter Van Leuteren | Netherlands | 13.28h | 87 |
| Anna S. Levina | Israel | 1.50h | 13 |
| Adam Marsh | Australia | 4.00h | 29 |
| Pierre Martin | Canada | 9.13h | 164 |
| Bruce Mccurdy | Canada | 3.00h | 22 |
| Mukul Mhaskey | India | 2.50h | 20 |
| Ivo Micek | Czech Republic | 1.83h | 15 |
| Koen Miskotte | Netherlands | 6.54h | 106 |
| Sirko Molau | Germany | 2.47h | 37 |
| Vikrant Narang | India | 1.00h | 10 |
| Martin Nedved | Czech Republic | 2.54h | 25 |
| Daniel Van Os | Netherlands | 2.42h | 22 |
| Jurgen Rendtel | Germany | 18.67h | 105 |
| Mikiya Sato | Japan | 1.00h | 7 |
| Tomoko Sato | Japan | 0.50h | 4 |
| Alex Scholten | Netherlands | 3.50h | 30 |
| Rene Scurbecq | Belgium | 3.67h | 30 |
| Hideki Seo | Japan | 1.00h | 9 |
| Nikhil Shewale | India | 3.00h | 2 |
| Rohan Shewale | India | 3.00h | 5 |
| Wesley Stone | United States | 1.96h | 35 |
| Kazumi Terakubo | Japan | 1.50h | 16 |
| Rushikesh Tilak | India | 1.00h | 6 |
| Shigeo Uchiyama | Japan | 0.92h | 12 |
| Michel Vandeputte | Belgium | 31.08h | 242 |
| Ruud Van Leuteren | Netherlands | 4.57h | 59 |
| Valentin Velkov | Bulgaria | 6.95h | 73 |
| William Watson | United States | 3.96h | 54 |
| William Watson | United States | 4.91h | 3 |
| Thomas Weiland | Austria | 23.62h | 174 |
| Lukasz Wozniak | Poland | 4.00h | 9 |
| Desislava Zhivkova | Bulgaria | 3.15h | 2 |
Create your own analysis!
Rate intervals: ori2008_rate.csv (CSV-format).
Magnitude distributions: ori2008_magn.csv (CSV-format).


Softwarearchitektur Meetup, Wien, Dezember 2018
if age < 25:
if speed > 140:
return red # young people, fast cars: high risk
else:
return yellow # young people: medium risk
if age > 75:
return red # old people: high risk
if miles_per_year > 30:
return red # a lot of driving: high risk
if miles_per_year > 20:
return yellow # a bit of driving: medium risk
return green # otherwise: low risk
Training
from sklearn.tree import DecisionTreeClassifier
clf = DecisionTreeClassifier()
clf.fit(X_train, y_train)
Prediction
y_pred = clf.predict(input)
https://scikit-learn.org/stable/modules/classes.html
Network Setup
model = keras.Sequential()
model.add(Dense(100, name='hidden1', activation='relu', input_dim=3))
model.add(Dense(100, name='hidden2', activation='relu'))
model.add(Dense(3, name='softmax', activation='softmax'))
Training Score
Test Score
Training and test scores clearly divert
Consciousness or autonomous learning
does not exit in machines
AI and machine learning is not like super-humans
Machine Learning: Das Ende der Businesslogik?
Oliver Zeigermann / @DJCordhose / embarc GmbH
http://bit.ly/wien-architectur


Instructions
-
Run V8 with
--prof --log-timer-events,
or alternatively,
Chrome with --no-sandbox --js-flags="--prof --noprof-lazy --log-timer-events to produce v8.log. - Open v8.log on this page. Don't worry, it won't be uploaded anywhere.
- Click "Start plot" to starts number crunching. This will take a while.


Patio coffee shop Young girl reads a book, the text is indecipherableTwo young men approach the table and sit down*
Tashtego: “Are we sure about this?”
Daggoo: “It’s what we planned.”
Tashtego: “It’s not too late to turn back though?”
Jessie (Scarlett) Kuang: “Hmmm” ( flipping through pages, detached from conversation)
Daggoo: “And then what?”
Tashtego: “Then nothing. We don’t do it. Nothing happens.”
<!--more-->
Daggoo: “Yes, but what do we do for money”
Tashtego: “We do what we’ve always done”
Jessie in-thought: It’s always like this with them. The constant cowardice and indecision. They can’t go forward and yet can’t go back. Now I have to intervene. And just as I was getting to the interesting bit.
Daggoo: “You want to go back to stealing credit card numbers for peanuts?”
Jessie: “We continue with the plan. Does your friend have the car?”
Daggoo: “Yes”
Jessie: “Call him and tell him to be ready out front in 15 minutes”
Jessie proceeds to finish her coffee and crosses the street into the bank. Coming up to the teller *
Jessie: “Hi. I’m looking to get into my safety deposit box”
Teller: “Yea I can get someone to help you with that. Just give me a minute.”
Teller leaves returns with bank manager*
Branch Manager: “Can I get your name, some ID, and bank card”
Jessie (smiling): “Sure”
Branch Manager: “Oh Marylyn LaFreniere?”
Jessie (still-smiling): “Well, you know. One child policy had its benefits for sad white couples.”
Branch Manager (taken-aback): “Yea, right sorry…uhm. Your box number is?”
Jessie: “1203.”
Branch Manager: “And you’re here with us today for?”
Jessie: “Oh, just wanted to store some jewellery of my grandmothers”
Branch Manager: “Ok. This way please” Gesturing towards the back of the building where the safety deposit boxes were
As Jessie and the Branch Manager walk into the back where the vaults are, Tashtego and Daggoo walk into the bank in animal masks carrying assault rifles.
Tashtego and Daggoo: “Everybody down this a robbery.”
Branch Manager turns towards the commotion and noise. Jessie removes a small handgun from her purse pointing it at the manager
Jessie: “They keys to the safety deposit boxes please”
Branch manager stunned hands over the keys
Jessie (smiling): “You may want to go to the front and deal with the new customers”
Branch Manager leaves, Jessie takes the keys proceeds to open safety deposit box number 2507 dumping the contents into her purse
Walking from the back of the bank to the front, where all the tellers and customers are now lying on the floor. Jessie walks past and out of the bank Tashtego and Daggoo following her. They enter into a grey honda civic
In the pub our heroes drink victoriously. Jess continues to read almost completely unaware of the surrounding celebration. Shot should centre on Jess with the conversation flowing around her.
Tashtego: “They didn’t see it coming.”


RemoteBunch will be ready soon! Leave your name and email to join the waiting list and be ready for lift off.
Connect with like-minded, local remote workers near you
Connect with other remote workers in your area
Create groups, events and activities around shared interests
A totally secure community where everyone is verified


| DOSE: |
20 mg |
inhaled |
Nicotine |
Well, to begin with... I'm a heavy smoker smoking about 26-33 cigarettes a day. But despite this I never realized what a powerful euphoriant nicotine can be in sufficient amounts until I had my first experience with a nicotine inhalator. I started with a cardridge which contained a 'filter' with nicotine in it (10 mg). I started to draw looong puffs for about half an hour then I thought it was time to replace the cardridge.
During the beginning I sensed some archetypal signs of ’being on something’, distant silent voices and a slight paranoia which passed. I puffed away for an hour or so. Nothing spectacular. Then I decided I’d go see my downstairs neighbour. This was the best idea! Almost immediately at her presence (puffing all the time) I began to feel euphoric. I started to smile and the smiling turned into laughter. I felt as if there was no force in the universe that could bring me down or hurt me. I thought ‘this must be better than crack!’ The high, and it definitely was one, though only lasted about 20 minutes but it was worth it. After that I tried to get back to that pleasurable feeling but no matter how hard I puffed – No effect. So that’s about it. I tried to renew my ‘best high ever’ some weeks after but puffing for about half an hour produced nothing but a pretty depressing shower of thoughts – no high whatsoever.
All in all I learned to respect the nicotine in a new way and regard the experience as one of my all time highs – ever. No paranoia or sometimes so dreadful expansion of the mind. Just pure solid euphoria - a ‘king’ feeling.
Tomi
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.


--- layout: post title: ! 'Viking Boston Bike Ride: The Trip to Norumbega' published: true date: 2011-05-07 categories: - bicycle - century - viking posterous_url: http://verdammelt.posterous.com/viking-boston-bike-ride-the-trip-to-norumbega posterous_slug: viking-boston-bike-ride-the-trip-to-norumbega ---
Norumbega is a mythical place, a sort of place holder name for unknown locations in the New England area[1]. Today I biked there, battling thunderstorms, mobs of Steampunk cosplayers[2], and mechanical failures[3], to the dark, abandoned, closed tower which is the lonely outpost of the area’s long lost Viking past.
Eben Norton Horsford[4] held the Rumford Chair of the Application of Science to the Useful Arts at Harvard in the late 1840’s[5]. He later founded the Rumford Chemical Works and produced an improved recipe for baking powder. This baking powder is still being produced as Rumford Baking Powder. He also held the controversial[6] idea that Lief Erikson[7] sailed up the Charles River, as far as Waltham (near present day Brandeis University) and ultimately building a house in Cambridge.
I decided that I would trace Leif’s trip up Charles River, Gale would be my longship and we’d brave all trials and tribulations we might find along the way.
The expedition started as all good expeditions do with a good breakfast (in this case supplied by my lovely wife Wendy who cooked some delicious pancakes[8]), and the laying in of supplies (16oz of Clover™ brewed New Guinea coffee put into my thermos from the local Starbucks). With these preliminaries completed I started my fateful trip.
Stopping first to contemplate the location of Lief Erikson’s house.
It lay just outside the back of Mt. Auburn Hospital, I wondered just what this spot must have looked like in the year 1000 BCE; probably less traffic.
From there I started the long ride up the river to my next destination. I had not before ridden so far up the river (usually just stopping at Watertown dam). I took several wrong turns because I didn’t know how the “Blue Heron”[9] path ran so I missed it in a few places; and worse turned in the wrong direction entirely when part of it turned out to be closed in Waltham. The clouds were rolling in and so was the thunder, I was worried that I was going to be caught in the rain and I had not yet found the tower. Riding through Mt. Feake Cemetery the rain caught up with me. Through the cemetery quickly and then ducking into the Brandeis-Roberts train stop I hoped to wait out the rain. I sipped some coffee and waited. The rain continued but it looked like it was brightening. Checking my map I knew I was close to the tower. I decided that the rain was lightening up so I recounted for the final stretch.
Mother Nature, that fickle woman, was up to her usual tricks and mere moments later I was soaked as the rain quickly got worse. I pressed on to the tower and was pleasantly surprised to find it much easier to find than expected.
The tower marks the location where there had been a Norse fort/city[10] according to Horsford.
At one point it seemed that the public could climb the inside of the tower to enjoy the view from the top, but now it was all blocked off with welded in gates. Some of them had been broken/pulled off but the holes were not big enough for me to enter but I could still contemplate the dark mysteries that might have been hidden within.
The rain was fluctuating in intensity and since I was already wet I decided to just start heading back. For the first five or so miles I held out the hope that the rain would stop and the sun would come back out. After that I gave up that hope. I was so wet that stopping to get out of the rain would be useless. I probably would be drying if I had jumped /into/ the Charles River. I even decided to ride /past/ home to finish this expedition.
My final stop before turning to home was the Lief Erikson statue at the beginning of the Commonwealth Avenue Mall.
Having attained pictures of the statue, I hoped back into my longship and rode it over the Harvard Bridge[11] into Cambridge and finally home.
The expedition, though wet, was a success. Total ride length: 31.21 miles. Total ride time: 3:00:22[12].
All pictures, in full size, of my ride are available on my flick account in their own set.
Footnotes:
[1] It appears on a map dating from
1570
[2] I didn’t know that it was the Steampunk Festival in Waltham. Quite surprised to turn onto Moody street and see lots of be-goggled folk. And Morris dancers! Who let the Morris dancers in?!
[3] Gale’s chain needs replacing, it is at that stage where it will jump off the rear cog if I am pedaling over hard bumps. Furthermore she has taken to shifting randomly from 1st into 2nd.
[4] http://en.wikipedia.org/wiki/Eben_Norton_Horsford
[5] He was appointed to the chair in 1847.
[6] And, frankly, silly.
[7] http://en.wikipedia.org/wiki/Lief_Erikson
[8] Thanks Wendy!
[9] http://farm6.static.flickr.com/5064/5697393836_98b183d40f.jpg
[10] http://en.wikipedia.org/wiki/Norumbega_Tower
[11] The name of “Mass Ave. Bridge” is “The Harvard Bridge”. Of course no one calls it that since it is no were near Harvard.
[12] My cyclocomputer only counts time that the wheels are spinning. So times I took a break or waited in traffic are not counted in this time.


This website shows the sitting Georgia State Senators and all the itemized contributions they've received during their time in office. It also shows their top donors. Take a look, and see where your represenative is getting their money from.
click here to view


OR
How?
It's fairly simple to use, you submit your raw HTML; get back a random generated URL,
and that's about it.
Important: The links are/will be kept alive only for 1hr. This is considering
NSFW content, legal issues etc. since everything is completely anonymous and 0% tracked.
About
If you've tried hosting a simple HTML file, be it for sharing with someone or just for the kicks. You know it's a time consuming task. There are some solutions out there but requires registration, or is just tedious and some are on the way of becoming a great experience. At least for me, none of the existing solutions worked, and I had a very specific usecase as well!
So I was out setting up custom error pages on Cloudflare. If you've used their service and have setup custom erorr pages, you know they require a URL where your template is hosted, and won't accept the HTML as is. And that's where my journey started, after searching around and trying to use some of the services, finally I hosted it as a Github page. For me it turned out to be a time consuming endeavour and I didn't think it was worth it, and thus https://hosthtml.live!
Techstack
For anyone interested in knowing the techstack behind this
And here's the sourcecode.


Dear School Nurse:
{{sillyword}} {{lastname}} will not be attending school today. They have come down with a case of {{illness}} and has horrible {{noun}} and {{adjective}} fever. We have made an appointment with the {{adjective2}} Dr. {{sillyword2}}, who studied for many years in {{place}} and has {{number}} degrees in pediatrics. He will send you all the information you need. Thank you!
Sincerely,
A {{adjective3}} parent


This is a CAS-enabled Spring Boot starter app.
Everyone is allowed to view this page, but not the protected page.