The JEE Web Application Deployment Descriptor, web.xml, provides declarative mechanisms to enable encryption and authentication. restSQL's web.xml may be configured to match application needs. See the default web.xml. For a complete tutorial, see Web Application Security using Deployment Descriptors.
The <login-config> element defines the HTTP authentication method (BASIC or DIGEST) and the realm. Here is an example of BASIC authentication with Tomcat's file-based realm, UserDatabase:
<login-config> <auth-method>BASIC</auth-method> <realm-name>UserDatabase</realm-name> </login-config>
The UserDatabase realm is configured using the $TOMCAT_HOME/conf/tomcat-users.xml file. The file defines the roles, user names, passwords and role assignments. File-, RDBMS- and LDAP-backed implementations are also available in most JEE containers. See your container's documentation for instructions.
The Deployment Descriptor's <security-role> element defines the roles. For example:
<security-role> <role-name>all</role-name> </security-role> <security-role> <role-name>limited</role-name> </security-role> <security-role> <role-name>readonly</role-name> </security-role> <security-role> <role-name>admin</role-name> </security-role>
The <security-constraint> element defines URLs to be protected, the roles that may access them and the transport guarantee (NONE = HTTP, CONFIDENTIAL = HTTPS). Following is an example that declares the "all", "limited", and "readonly" roles may access /res/*, or all SQL Resources. (The next section will describe how those roles are mapped to SQL Resources and operations). The example also coerces all connections to HTTPS, i.e. HTTP over SSL/TLS.
<security-constraint> <web-resource-collection> <web-resource-name>SQL Resources</web-resource-name> <url-pattern>/res/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>all</role-name> <role-name>limited</role-name> <role-name>readonly</role-name> </auth-constraint> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint>
The following <security-constraint> requires the "admin" role for all administrative URLs and no encryption:
<security-constraint> <web-resource-collection> <web-resource-name>Admin Resources</web-resource-name> <url-pattern>/conf/*</url-pattern> <url-pattern>/log/*</url-pattern> <url-pattern>/stats/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>admin</role-name> </auth-constraint> <user-data-constraint> <transport-guarantee>NONE</transport-guarantee> </user-data-constraint> </security-constraint>
Role to SQL Resource and request type assignments (privileges) are provided via a simple configuration file. The restsql.properties defines the absolute path to the privileges configuration file. Here is an example:
# security.privileges=/absolute/path security.privileges=/etc/opt/business/restsql/privileges.properties
The privileges.properties file concisely defines the operations on SQL Resources available to each role. Here is an example file:
# SQL Resource Privilege definitions # [SqlResource,*].[requestType,*]=[*,role] Note: comma-separate multiple roles Country.select=* select on all Country to all roles *.select=all,limited,readonly select on all SQL Resources to "all", "limited" and "readonly" roles *.insert,update,delete=all insert, update and delete methods on all SQL Resources to the "all" role Film.insert=creator insert method on Film to the "editor" role Film.insert,update,delete=editor insert, update and delete methods on Film to the "editor" role
Privileges properties control access to /res/* URLs only. Authorization of admin resources (/conf/*, /log/*, /stats/*) is controlled solely by the Deployment Descriptor (web.xml) constraints.
Invalid Definitions: Any invalid definitions are discarded, with a warning in the internal.log. If no valid definitions are found, or the file is is not found, an error appears in the internal.log and no operations are permitted on an any SQL Resources.
Disabling Authorization: If
security.privileges
is missing from the restsql.properties, authorization is disabled and all operations are permitted regardless of user role.
Access http://yourhost:port/restsql for links to the effective runtime configuration.
In restSQL WAR mode, authorization is implicit in HTTP requests. In restSQL Jar mode, authorization is explicit. Neither Request nor SQL Resource methods are protected. The app must create a
SecurityContext
implementation and pass it as well as the
Request
to the
Authorizer
, as in
Authorizer.isAuthorized(securityContext, request)
.
Following is an example of the UserDatabase realm configuration in $TOMCAT_HOME/conf/tomcat-users.xml file:
<tomcat-users> <role rolename="all"/> <role rolename="limited"/> <role rolename="readonly"/> <role rolename="admin"/> <user username="all" password="all" roles="all"/> <user username="limited" password="limited" roles="limited"/> <user username="readonly" password="readonly" roles="readonly"/> <user username="admin" password="admin" roles="admin"/> </tomcat-users>
File-, RDBMS- and LDAP-backed implementations are also available in most JEE containers. See your container's documentation for instructions.
Server-side input validation (data types, values, etc.) may be provided by application-provided, Java-based Triggers.
restSQL protects against SQL Injection with input parameter type checking and prepared statements for database access. The value portion of an SQL expression is set as a question mark (and with PostgreSQL a type case, e.g.
?::integer
) and a JDBC method setXxx() is called with the value. The database will process column values as values. Harmful execution statements cannot be injected into restSQL parameter values. Addtionally the framework now converts all String input parameter values for numeric and boolean column type to Inter, Long, Float, Double or Boolean. An exception is thrown if the value cannot be converted.


Dutch Smoushond
| Dutch Smoushond Picture | |
| Breed Information | |
|---|---|
| Popularity | # |
| Name | Dutch Smoushond |
| Other names | Dutch Ratter, Hollandse Smoushond |
| Origin | Netherlands |
| Breed Group | Terrier |
| Size | Small |
| Type | Purebred |
| Life span | 12-15 years |
| Temperament | AffectionateFriendlyLively |
| Height | 14-17 inches (35-42 cm) |
| Weight | 20-22 pounds (9-10 kg) |
| Colors | Yellow |
| Litter Size | 2-5 puppies |
| Puppy Price | Average $500 - $700 USD |
| Breed Characteristics | |
| Adaptability | 3 stars |
| Apartment Friendly | 4 starsThe Dutch Smoushond will do okay in an apartment as long as it gets adequate exercise. The Smoushond should live indoors. It prefers cooler climates. |
| Barking Tendencies | 2 starsOccassional |
| Cat Friendly | 4 stars |
| Child Friendly | 4 starsGood with Kids: This is a suitable breed for kids and is known to be playful, energetic, and affectionate around them. |
| Dog Friendly | 2 stars |
| Exercise Needs | 3 starsThis untiring breed needs daily, long walks where the dog is made to heel beside or behind the human holding the lead, as instinct tells a dog the leader leads the way, and that leader needs to be the human. They love to go swimming. Enrolling it in agility skills or ball playing courses would be a rewarding experience for both you and your dog. |
| Grooming | 2 starsThis is basically an easy care breed. The coat should have a shaggy unkempt look. Depending upon the quality of the coat, the Dutch Smoushond generally requires the hair to be plucked by hand about twice a year, leaving the hair on the head alone as much as possible. You can take your dog to a professional groomer to have this done or learn to do it yourself. Between these grooming sessions, remove any excess hair from inside the ears and between the pads of the feet. |
| Health Issues | 2 starsHypoallergenic: No |
| Intelligence | 3 starsRanking: (#). (See All Rankings) |
| Playfulness | 2 stars |
| Shedding Level | 2 stars |
| Stranger Friendly | 2 stars |
| Trainability | 3 stars |
| Watchdog Ability | 3 stars |
| Dutch Smoushond Puppy Picture | ||
| Puppy Names | ||
|---|---|---|
| Rank | Male | Female |
| 01 | Buddy | Molly |
| 02 | Charlie | Bella |
| 03 | Toby | Coco |
| 04 | Cooper | Ella |
| 05 | Rocky | Lady |
| 06 | Oliver | Ellie |
| 07 | Jake | Zoey |
| 08 | Milo | Stella |
| 09 | Zeus | Lexi |
| 10 | Bailey | Izzy |
| See All Names › |
| Overview |
|---|
|
The Dutch Smoushond has a long, double coat of protective, rugged, coarse, wiry hair giving the dog a carefree, untidy appearance. The color is straw-yellow. Long, straight, wiry hair forms a beard, mustache and eyebrows. The back of the forelegs are thinly feathered. The small eyes are bright with black-pigmented lids.  The feet are small and rounded. The ears are triangular, set high on the head. The firm, straight forelegs and flexible hind legs are well-muscled. The skull is slightly rounded, with a distinct stop and a moderately long muzzle. The jaws are strong. When the dog is relaxed, the tail hangs limply. The cat-like feet are compact and covered with long hair. The forehead is strong and slightly rounded. The body is well balanced and close to the ground. This easy care, obedient house-dog is a friendly and charming companion. The Smoushond tends to be quiet with those he does not know, but is loving with those that he does know. This skillful, intelligent dog has considerable adaptability. It is alert with a sense of humor. Dependent, sober and sensitive, it makes a good watchdog. Do not allow this dog to become yappy. They need to be corrected if their barking becomes obsessive. They get along well with children and happily accept the family cat. Most Dutch Smoushond get along well with other dogs. The Dutch Smoushond is eager to please, which means training it is not hard. It is important, though, to ensure that you are consistent toward it because some can try to take over if they get an idea that their handler is rather easy-going. Proper human to canine communication is essential. |
| History |
| The exact origins of the Smoushond are unknown. The breed was popular in the late 1800’s as a gentleman’s companion, but World War II pushed it near extinction. In the 1970’s a Mrs. H.M. Barkman began collecting information on the breed and was able to recreate it through selective breeding. Today it breeds true for both type and temperament. The breed is hardly known outside of the Netherlands. The Dutch Smoushond was recognized by the United Kennel Club in 2006. |


Russian tanks, armour and troops are lined up in battle formation facing west in the forests and fields of Belarus. Warships in the Baltic Sea are conducting combat manoeuvres. Aircraft loaded with paratroopers are primed for take-off. The enemy? The belligerent state of Veishnoria, infiltrated by western-funded terrorists seeking to


Peter Brooke's Fragments
Feb 12, 2008
I make no secret of my admiration for Peter Brook and his life's work. I think he is a gifted artist with an exceptional mind. I've referred to his seminal work, The Empty Space in a previous post and it has deeply influenced my own philosophies on Theatre.
When I learned that his staging of five of Samuel Beckett's short plays (entitled Fragments would be making its only US stop on a World Tour, it was a given that I wanted to see it. My wife and I attended the February 8th performance at Chicago Shakespeare and, I'm very happy to say, I wasn't disappointed. It's one thing to watch Beckett staged a University or Regional level, it's another entirely to watch it staged by actors who are truly transformational in their abilities and a director who was close to the playwright.
After seeing Brook's staging I am convinced that where most directors miss the boat when staging a work by Samuel Beckett, is focusing far too much on the existentialist philosophy which flows through his plays and not enough on the absurdist comedy which is so well written with a mind for the environment of the theatre. Beckett published works for Television, Radio, and Theatre as well as essays for periodicals, but it is the theatre and it's communal audience which provides the most powerful vehicle for his body of work.
In addition to the outstanding performances from the actors, one of the things I found most interesting, in restrospect, was his choice for the order of the plays to be performed. The playing order was as follows:
- Rough for Theatre I
- Rockaby
- Act Without Words II
- Neither
- Come and Go
Rough for Theatre, Act Without Words and Come and Go are all very light and funny pieces, while Rockaby and Neither are dark and disturbing. Brooke's choice of order ensures that the audience is drawn in through comedy before taking a trip to some of the darkest material that Beckett has to offer. Doing so Brook avoids alienation by opening with an accessible, understandable piece which allows the audience to "get their feet wet" before being moved to the core by the alienating death knell of Rockaby (powerfully performed by Kathryn Hunter of Harry Potter movie fame).
Brook repeats the process with the uplifting Act Without Words II and the endless closing doors of Neither before finally closing on the warm and light Come and Go. When staging a group of short plays over the course of an evening, the timing of the works as they are presented is crucial to both the actors and the audience getting their best from each other. Those staging festivals of short plays would do well to learn from Brook's example.
Share


Quick setup
You have installed browser extension Dr.Web Link Checker.
Do you want to setup it for your needs or want to leave default settings?
Do you want to setup it for your needs or want to leave default settings?
Leave default settings
Let's setup it
Do not check the links


Configuring interface VPC endpoints for Lambda
If you use Amazon Virtual Private Cloud (Amazon VPC) to host your AWS resources, you can establish a connection between your VPC and Lambda. You can use this connection to invoke your Lambda function without crossing the public internet.
To establish a private connection between your VPC and Lambda, create an interface VPC endpoint. Interface endpoints are powered
by AWS PrivateLink
Each interface endpoint is represented by one or more elastic network interfaces in your subnets. A network interface provides a private IP address that serves as an entry point for traffic to Lambda.
Considerations for Lambda interface endpoints
Before you set up an interface endpoint for Lambda, be sure to review Interface endpoint properties and limitations in the Amazon VPC User Guide.
You can call any of the Lambda API operations from your VPC. For example, you can
invoke the Lambda function by
calling the Invoke
API from within your VPC. For the full list of Lambda APIs, see Actions in the Lambda API
reference.
Keep-alive for persistent connections
Lambda purges idle connections over time, so you must use a keep-alive directive to maintain persistent connections. Attempting to reuse an idle connection when invoking a function results in a connection error. To maintain your persistent connection, use the keep-alive directive associated with your runtime. For an example, see Reusing Connections with Keep-Alive in Node.js in the AWS SDK for JavaScript Developer Guide.
Billing Considerations
There is no additional cost to access a Lambda function through an interface endpoint.
For more Lambda pricing
information, see AWS Lambda Pricing
Standard pricing for AWS PrivateLink applies to interface endpoints for Lambda. Your
AWS account is billed for
every hour an interface endpoint is provisioned in each Availability Zone and for
data processed through the
interface endpoint. For more interface endpoint pricing information, see AWS PrivateLink pricing
VPC Peering Considerations
You can connect other VPCs to the VPC with interface endpoints using VPC peering. VPC peering is a networking connection between two VPCs. You can establish a VPC peering connection between your own two VPCs, or with a VPC in another AWS account. The VPCs can also be in two different AWS Regions.
Traffic between peered VPCs stays on the AWS network and does not traverse the public internet. Once VPCs are peered, resources like Amazon Elastic Compute Cloud (Amazon EC2) instances, Amazon Relational Database Service (Amazon RDS) instances, or VPC-enabled Lambda functions in both VPCs can access the Lambda API through interface endpoints created in the one of the VPCs.
Creating an interface endpoint for Lambda
You can create an interface endpoint for Lambda using either the Amazon VPC console or the AWS Command Line Interface (AWS CLI). For more information, see Creating an interface endpoint in the Amazon VPC User Guide.
To create an interface endpoint for Lambda (console)
-
Open the Endpoints page
of the Amazon VPC console. -
Choose Create Endpoint.
-
For Service category, verify that AWS services is selected.
-
For Service Name, choose com.amazonaws.
region
.lambda. Verify that the Type is Interface. -
Choose a VPC and subnets.
-
To enable private DNS for the interface endpoint, select the Enable DNS Name check box.
-
For Security group, choose one or more security groups.
-
Choose Create endpoint.
To use the private DNS option, you must set the enableDnsHostnames
and
enableDnsSupportattributes
of your VPC. For more information, see Viewing and updating DNS support for your VPC
in the Amazon VPC User Guide. If you enable private DNS for the interface endpoint, you can make
API requests to Lambda using its default DNS name for the Region, for example,
lambda.us-east-1.amazonaws.com
. For more service endpoints, see Service endpoints and quotas in the
AWS General Reference.
For more information, see Accessing a service through an interface endpoint in the Amazon VPC User Guide.
For information about creating and configuring an endpoint using AWS CloudFormation, see the AWS::EC2::VPCEndpoint resource in the AWS CloudFormation User Guide.
To create an interface endpoint for Lambda (AWS CLI)
Use the create-vpc-endpoint
command and specify the VPC ID, VPC endpoint type (interface),
service name, subnets that will use the endpoint, and security groups to associate
with the endpoint's network
interfaces. For example:
aws ec2 create-vpc-endpoint --vpc-id vpc-ec43eb89 --vpc-endpoint-type Interface --service-name \ com.amazonaws.us-east-1.lambda --subnet-id subnet-abababab --security-group-id sg-1a2b3c4d
Creating an interface endpoint policy for Lambda
To control who can use your interface endpoint and which Lambda functions the user can access, you can attach an endpoint policy to your endpoint. The policy specifies the following information:
-
The principal that can perform actions.
-
The actions that the principal can perform.
-
The resources on which the principal can perform actions.
For more information, see Controlling access to services with VPC endpoints in the Amazon VPC User Guide.
Example: Interface endpoint policy for Lambda actions
The following is an example of an endpoint policy for Lambda. When attached to an
endpoint, this policy
allows user MyUser
to invoke the function my-function
.
{ "Statement":[ { "Principal": { "AWS": "arn:aws:iam::123412341234:user/MyUser" }, "Effect":"Allow", "Action":[ "lambda:InvokeFunction" ], "Resource": [ "arn:aws:lambda:us-east-2:123456789012:function:my-function” ] } ] }


Semantic is a UI framework designed for theming.
Key Features
Semantic UI 2.0
is now available. Read up on what’s new in the docs.
Migration info from 1.x
can be found in the 2.0 release notes
npm install semantic-ui # Use themes, import build/watch tasks into your own gulpfile.
Semantic UI includes an interactive installer to help setup your project
| Environment | Install Script | Repo | ||
|---|---|---|---|---|
| CSS Only | npm install semantic-ui-css |
CSS Repo | ||
| LESS Only | npm install semantic-ui-less |
LESS Repo | ||
| LESS plugin | npm install less-plugin-semantic-ui |
LESS Plugin Repo | ||
| EmberJS | ember install:addon semantic-ui-ember |
Ember Repo | ||
| Meteor - LESS | meteor add semantic:ui |
Meteor Repo | ||
| Meteor - CSS | meteor add semantic:ui-css |
CSS Repo | ||
| Bower | bower install semantic-ui |
Check out our integration wiki for more options.
Although some components will work in IE9, grids and other flexbox components are not supported by IE9 and may not appear correctly.
Please do not post usage questions to GitHub Issues. For these types of questions use StackOverflow or join our Gitter chatroom.
GitHub Issues is for suggesting enhancements and reporting bugs. Before submiting a bug make sure you do the following:
When adding pull requests be sure to merge into next branch. If you need to demonstrate a fix in next
release, you can use this jsfiddle
rtl
from the install script| Resource | Description |
|---|---|
| Bugs & Feature Requests | All bug submission require a link to a test case, and a set of steps to reproduce the issue. You can make a test case by forking this jsfiddle, then submit your bug report on GitHub Issues |
| Live Chat | Join our Gitter.im Room |
| Newsletter Updates | Sign up for updates at semantic-ui.com |
| Additional Resources | Submit a question on StackOverflow or ask our Google Group |
| Project | How To Help | Next Step |
|---|---|---|
| Localization | Help us translate Semantic UI into your language | Join our Translation Community |
| SCSS | SASS needs PR to support variables inside @import |
Add Pull Request for #739 |
| Angular | Help develop angular bindings | Reach Out on GitHub Issues |
| Guides & Tutorials | Help write guides and tutorials | Join the discussion |
If you’d like to start a conversation about Semantic feel free to e-mail me at jack@semantic-ui.com


Things I Love about SONIA
She loves memes more than I do. She shares good content with me almost 10 times a day (or even more). I still remember the day when I was about to start the workout while we were talking, and her last text was "Accha yeh meme dekhte jao". I laughed and found myself lucky to have a girl who has a good understanding of memes.
She's so innocent and pure soul, that after looking at others, she mis-categorizes herself as d*mb. I get hurt when I hear this word from her. I really feel like worshipping her innocence, and at the same time feel lucky to have so simple girl in my life. Deep inside, she fights with herself regularly to be better at the things she feels shy about.
Her carefree attitude and patience towards uncontrollable things prove her to be even more matured than me. I might be making 100 lists and planning stuff but at the end, it's GOD who finally executes things. I knew this before also, but got a much deeper realization of it after meeting her.
She's putting a lot of efforts in making me look better. Even I like to have variety in my wardrobe (just like I ensure variety in everything else), but I never prioritized. Sonia is doing this for me - Yayy!!!
Despite being shy in private, she still submits herself, shows trust and gives me the best of memories. Even an hour spent like this becomes so special that we are able to talk about it for hours, and live those memories for days.
PURITY IS SONIA


from __future__ import absolute_import import time import logging from collections import namedtuple from itertools import takewhile import email import re from ..exceptions import ( ConnectTimeoutError, MaxRetryError, ProtocolError, ReadTimeoutError, ResponseError, InvalidHeader, ) from ..packages import six log = logging.getLogger(__name__) # Data structure for representing the metadata of requests that result in a retry. RequestHistory = namedtuple( "RequestHistory", ["method", "url", "error", "status", "redirect_location"] ) class Retry(object): """ Retry configuration. Each retry attempt will create a new Retry object with updated values, so they can be safely reused. Retries can be defined as a default for a pool:: retries = Retry(connect=5, read=2, redirect=5) http = PoolManager(retries=retries) response = http.request('GET', 'http://example.com/') Or per-request (which overrides the default for the pool):: response = http.request('GET', 'http://example.com/', retries=Retry(10)) Retries can be disabled by passing ``False``:: response = http.request('GET', 'http://example.com/', retries=False) Errors will be wrapped in :class:`~urllib3.exceptions.MaxRetryError` unless retries are disabled, in which case the causing exception will be raised. :param int total: Total number of retries to allow. Takes precedence over other counts. Set to ``None`` to remove this constraint and fall back on other counts. It's a good idea to set this to some sensibly-high value to account for unexpected edge cases and avoid infinite retry loops. Set to ``0`` to fail on the first retry. Set to ``False`` to disable and imply ``raise_on_redirect=False``. :param int connect: How many connection-related errors to retry on. These are errors raised before the request is sent to the remote server, which we assume has not triggered the server to process the request. Set to ``0`` to fail on the first retry of this type. :param int read: How many times to retry on read errors. These errors are raised after the request was sent to the server, so the request may have side-effects. Set to ``0`` to fail on the first retry of this type. :param int redirect: How many redirects to perform. Limit this to avoid infinite redirect loops. A redirect is a HTTP response with a status code 301, 302, 303, 307 or 308. Set to ``0`` to fail on the first retry of this type. Set to ``False`` to disable and imply ``raise_on_redirect=False``. :param int status: How many times to retry on bad status codes. These are retries made on responses, where status code matches ``status_forcelist``. Set to ``0`` to fail on the first retry of this type. :param iterable method_whitelist: Set of uppercased HTTP method verbs that we should retry on. By default, we only retry on methods which are considered to be idempotent (multiple requests with the same parameters end with the same state). See :attr:`Retry.DEFAULT_METHOD_WHITELIST`. Set to a ``False`` value to retry on any verb. :param iterable status_forcelist: A set of integer HTTP status codes that we should force a retry on. A retry is initiated if the request method is in ``method_whitelist`` and the response status code is in ``status_forcelist``. By default, this is disabled with ``None``. :param float backoff_factor: A backoff factor to apply between attempts after the second try (most errors are resolved immediately by a second try without a delay). urllib3 will sleep for:: {backoff factor} * (2 ** ({number of total retries} - 1)) seconds. If the backoff_factor is 0.1, then :func:`.sleep` will sleep for [0.0s, 0.2s, 0.4s, ...] between retries. It will never be longer than :attr:`Retry.BACKOFF_MAX`. By default, backoff is disabled (set to 0). :param bool raise_on_redirect: Whether, if the number of redirects is exhausted, to raise a MaxRetryError, or to return a response with a response code in the 3xx range. :param bool raise_on_status: Similar meaning to ``raise_on_redirect``: whether we should raise an exception, or return a response, if status falls in ``status_forcelist`` range and retries have been exhausted. :param tuple history: The history of the request encountered during each call to :meth:`~Retry.increment`. The list is in the order the requests occurred. Each list item is of class :class:`RequestHistory`. :param bool respect_retry_after_header: Whether to respect Retry-After header on status codes defined as :attr:`Retry.RETRY_AFTER_STATUS_CODES` or not. :param iterable remove_headers_on_redirect: Sequence of headers to remove from the request when a response indicating a redirect is returned before firing off the redirected request. """ DEFAULT_METHOD_WHITELIST = frozenset( ["HEAD", "GET", "PUT", "DELETE", "OPTIONS", "TRACE"] ) RETRY_AFTER_STATUS_CODES = frozenset([413, 429, 503]) DEFAULT_REDIRECT_HEADERS_BLACKLIST = frozenset(["Authorization"]) #: Maximum backoff time. BACKOFF_MAX = 120 def __init__( self, total=10, connect=None, read=None, redirect=None, status=None, method_whitelist=DEFAULT_METHOD_WHITELIST, status_forcelist=None, backoff_factor=0, raise_on_redirect=True, raise_on_status=True, history=None, respect_retry_after_header=True, remove_headers_on_redirect=DEFAULT_REDIRECT_HEADERS_BLACKLIST, ): self.total = total self.connect = connect self.read = read self.status = status if redirect is False or total is False: redirect = 0 raise_on_redirect = False self.redirect = redirect self.status_forcelist = status_forcelist or set() self.method_whitelist = method_whitelist self.backoff_factor = backoff_factor self.raise_on_redirect = raise_on_redirect self.raise_on_status = raise_on_status self.history = history or tuple() self.respect_retry_after_header = respect_retry_after_header self.remove_headers_on_redirect = frozenset( [h.lower() for h in remove_headers_on_redirect] ) def new(self, **kw): params = dict( total=self.total, connect=self.connect, read=self.read, redirect=self.redirect, status=self.status, method_whitelist=self.method_whitelist, status_forcelist=self.status_forcelist, backoff_factor=self.backoff_factor, raise_on_redirect=self.raise_on_redirect, raise_on_status=self.raise_on_status, history=self.history, remove_headers_on_redirect=self.remove_headers_on_redirect, respect_retry_after_header=self.respect_retry_after_header, ) params.update(kw) return type(self)(**params) @classmethod def from_int(cls, retries, redirect=True, default=None): """ Backwards-compatibility for the old retries format.""" if retries is None: retries = default if default is not None else cls.DEFAULT if isinstance(retries, Retry): return retries redirect = bool(redirect) and None new_retries = cls(retries, redirect=redirect) log.debug("Converted retries value: %r -> %r", retries, new_retries) return new_retries def get_backoff_time(self): """ Formula for computing the current backoff :rtype: float """ # We want to consider only the last consecutive errors sequence (Ignore redirects). consecutive_errors_len = len( list( takewhile(lambda x: x.redirect_location is None, reversed(self.history)) ) ) if consecutive_errors_len <= 1: return 0 backoff_value = self.backoff_factor * (2 ** (consecutive_errors_len - 1)) return min(self.BACKOFF_MAX, backoff_value) def parse_retry_after(self, retry_after): # Whitespace: https://tools.ietf.org/html/rfc7230#section-3.2.4 if re.match(r"^\s*[0-9]+\s*$", retry_after): seconds = int(retry_after) else: retry_date_tuple = email.utils.parsedate(retry_after) if retry_date_tuple is None: raise InvalidHeader("Invalid Retry-After header: %s" % retry_after) retry_date = time.mktime(retry_date_tuple) seconds = retry_date - time.time() if seconds < 0: seconds = 0 return seconds def get_retry_after(self, response): """ Get the value of Retry-After in seconds. """ retry_after = response.getheader("Retry-After") if retry_after is None: return None return self.parse_retry_after(retry_after) def sleep_for_retry(self, response=None): retry_after = self.get_retry_after(response) if retry_after: time.sleep(retry_after) return True return False def _sleep_backoff(self): backoff = self.get_backoff_time() if backoff <= 0: return time.sleep(backoff) def sleep(self, response=None): """ Sleep between retry attempts. This method will respect a server's ``Retry-After`` response header and sleep the duration of the time requested. If that is not present, it will use an exponential backoff. By default, the backoff factor is 0 and this method will return immediately. """ if self.respect_retry_after_header and response: slept = self.sleep_for_retry(response) if slept: return self._sleep_backoff() def _is_connection_error(self, err): """ Errors when we're fairly sure that the server did not receive the request, so it should be safe to retry. """ return isinstance(err, ConnectTimeoutError) def _is_read_error(self, err): """ Errors that occur after the request has been started, so we should assume that the server began processing it. """ return isinstance(err, (ReadTimeoutError, ProtocolError)) def _is_method_retryable(self, method): """ Checks if a given HTTP method should be retried upon, depending if it is included on the method whitelist. """ if self.method_whitelist and method.upper() not in self.method_whitelist: return False return True def is_retry(self, method, status_code, has_retry_after=False): """ Is this method/status code retryable? (Based on whitelists and control variables such as the number of total retries to allow, whether to respect the Retry-After header, whether this header is present, and whether the returned status code is on the list of status codes to be retried upon on the presence of the aforementioned header) """ if not self._is_method_retryable(method): return False if self.status_forcelist and status_code in self.status_forcelist: return True return ( self.total and self.respect_retry_after_header and has_retry_after and (status_code in self.RETRY_AFTER_STATUS_CODES) ) def is_exhausted(self): """ Are we out of retries? """ retry_counts = (self.total, self.connect, self.read, self.redirect, self.status) retry_counts = list(filter(None, retry_counts)) if not retry_counts: return False return min(retry_counts) < 0 def increment( self, method=None, url=None, response=None, error=None, _pool=None, _stacktrace=None, ): """ Return a new Retry object with incremented retry counters. :param response: A response object, or None, if the server did not return a response. :type response: :class:`~urllib3.response.HTTPResponse` :param Exception error: An error encountered during the request, or None if the response was received successfully. :return: A new ``Retry`` object. """ if self.total is False and error: # Disabled, indicate to re-raise the error. raise six.reraise(type(error), error, _stacktrace) total = self.total if total is not None: total -= 1 connect = self.connect read = self.read redirect = self.redirect status_count = self.status cause = "unknown" status = None redirect_location = None if error and self._is_connection_error(error): # Connect retry? if connect is False: raise six.reraise(type(error), error, _stacktrace) elif connect is not None: connect -= 1 elif error and self._is_read_error(error): # Read retry? if read is False or not self._is_method_retryable(method): raise six.reraise(type(error), error, _stacktrace) elif read is not None: read -= 1 elif response and response.get_redirect_location(): # Redirect retry? if redirect is not None: redirect -= 1 cause = "too many redirects" redirect_location = response.get_redirect_location() status = response.status else: # Incrementing because of a server error like a 500 in # status_forcelist and a the given method is in the whitelist cause = ResponseError.GENERIC_ERROR if response and response.status: if status_count is not None: status_count -= 1 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) status = response.status history = self.history + ( RequestHistory(method, url, error, status, redirect_location), ) new_retry = self.new( total=total, connect=connect, read=read, redirect=redirect, status=status_count, history=history, ) if new_retry.is_exhausted(): raise MaxRetryError(_pool, url, error or ResponseError(cause)) log.debug("Incremented Retry for (url='%s'): %r", url, new_retry) return new_retry def __repr__(self): return ( "{cls.__name__}(total={self.total}, connect={self.connect}, " "read={self.read}, redirect={self.redirect}, status={self.status})" ).format(cls=type(self), self=self) # For backwards compatibility (equivalent to pre-v1.9): Retry.DEFAULT = Retry(3)


TODO
title: Discriminating those who discriminate author: David Bruant layout: post permalink: /?p=306 categories:
- Uncategorized
Let’s start with a Mozilla drama
Some time ago, a Mozillian expressed his opinion on gay marriage. This post has been relayed on Planet Mozilla, an aggragator of blogs of a lot of mozillians. Planet includes technical stuffs as well as personal stuff. It’s not curated, so everthing shows up, regardless of what it’s about and regardless of endorsement by Mozilla or even the community. Anyway. Since the position isn’t the politically correct one, it became a drama.
It has generated a lot of comments. I’ve been surprised by some: Gay marriage isn’t far left wing. It’s good for everyone. Looking forward to the day when this is obvious in the Mozilla community.
. What does it have to do with the Mozilla community? It was the opinion of one person!
A lot of my thoughts on people’s reaction is well summed up by Kairo:
Being open is to a large degree about accepting that other people have different views, even on controversial topics, tolerating their views, and requiring other people to change those to be able to work in the same community with them.
I am seeing this very often. Those who call for accepting differences, who are against discriminations are shockingly discriminating towards those who disagree on that point, having the exact attitude they reproach others to have.
Unfortunately, it’s is often those who insist most to call themselves “open” who seem to not be able to accept that.
Discrimination and work
Today was publish a post on RudeBaguette on recruiting a developer. Some parts are rather disturbing. With work, the equation of how to handle discrimination is becoming harder to solve.
Raw response
People can have gaps in their CV. They will always try to cover these up. The causes can be very different – from drug abuse, unemployment (especially in France), sickness, laziness, failed relationships. Without trying to pry into their personal lives, try to get an idea of these gaps if you see them. Obviously the drug abuse is a red flag…
So now, to be hired somewhere, you have to not have touched drug of your entire life? And maybe no parking ticket as well? How is it the business of an employer if someone did drug and is now clean?
Obvious Red Flags – Offensive behavior: Any racist remark or female-bashing, is a no-no for me. In theory I don’t care about what people think about this stuff, but if they need to air it during a job interview, they can keep looking for that perfect job position at the Front National.
Ok, so now, expressing political opinion makes you not being hired. That’s just plain recrutment discrimination. Aren’t there laws against that?
The grey area
I strongly disagree with the above quotes especially with how radical (“red flag”) they are. I however understand the underlying intention. It is definitely easier to work with people you agree with. It probably looks better for the company to not have an ex-junky as employee. But are those reasons to not hire someone.
I strongly disagree with all form of extremism, both discrimination and positive actions and I think a middleground should be looked for.
Going back to Mozilla, I do not know Gerv that much, but before his post appeared on Planet, what I knew of him was his action among Mozilla, the work he was doing. And as far as I know, he works hard, he fights for the same Mozilla mission.  Caring for the same mission and working towards it is what made Mozilla the meritocracy it is.
I think what is true for Mozilla is also for any human group. People are not all the same, they disagree on some things, agree on other. It doesn’t prevent them to be able to work together on the same projects. There is no reason this couldn’t be true in a startup. There is no reason being an ex-junky or ex-alcoholic makes someone less reliable or efficient for a developer job.


It is no secret that using Facebook is detrimental to one’s privacy. However, not everyone is in a position to quit the platform. In this post, I look into some steps that I took while attempting to use Facebook with minimal intrusion to my privacy. Your mileage may vary.
Facebook mobile app
I used the Facebook Android app for a long time and for some startling reason, I realized that I had granted it several permissions. My first step towards setting things right was to revoke every single permission that I had granted it.
What does this mean in practice though?
- I can no longer upload pictures to FB directly from my phone. Which is actually a blessing in disguise. I use my laptop for that.
- … that is all!!!
Facebook had a bazillion permissions, including Contacts, camera, storage and what not. And the single gain it brought me was the ability to upload photos! I can live without that!
For some time I also used the Facebook Lite app - it is a slimmed down version and uses less storage space and data. Still, I made sure to not give it any permissions
Getting rid of the app
But just having the app installed is enough to compromise on your privacy. In slightly older verisons of Android, any app can know what other apps are installed on a phone (without any permission). Using this, it is possible to “fingerprint” a device. You can read more about fingerprinting here.
So, I decided to get rid of the app altogether. This comes with some minor inconveniences:
- I no longer get notifications when someone sends me a friend request or comments on my posts. This is actually a good thing (I’ll probably write a separate post about taming notifications some day)
- I can no longer share something directly to Facebook. I often come across interesting articles and use Android’s Share functionality to share it on Twitter and Facebook. This requires the app to be installed and after getting rid of the app, I have to log in on a browser and paste the link manually. This is something I’m ready to live with.
Browsing on the desktop: Firefox
Unfortunately, it is still possible for Facebook to track me on the web. Even if I’m not logged in to Facebook. All I need to do is visit a website that includes a “Like” or “Share” button.
To really make it difficult for Facebook to track me while I’m browsing, I use Mozilla Firefox with the dedicated “Facebook container” plugin. This is an official plugin from Mozilla. What it does is, it tries to isolate my Facebook activity on the web from my non-Facebook activity. I’ve been using it for a couple of months now and it just works.
Browsing on Android: Firefox Focus
On my phone, I use Firefox Focus browser, which is a browser by Mozilla, but is different from Firefox itself. This browser is also available for iOS and even for desktop.
It is somewhat like Incognito mode in Chrome, except it is better. It not only deletes all cookies as soon as you close the browser, it also blocks several trackers by default.
So, how do I use it?
- Whenever I want to browse Facebook on my phone, I just browse to the website on Firefox Focus.
- Since I’m in the EU, I’m first presented with some cookie consent - which I accept (because the cookies will be deleted anyway). This step will not apply if I’m outside the EU.
- Then I login with my username and password (I use Android’s auto-fill for this purpose).
- After browsing, I logout and hit the big “delete” button. Done.
This is marginally more work than having the app installed, but it has actually benefited me. I spend way less time on Facebook now.
Conclusion
It is possible to use Facebook without entirely letting go of my privacy. It introduces some friction but in my personal experience, it has only resulted in a net gain for me.
This is a post in my series related to digital privacy. You can read more posts in this series here. For more advanced information and inspiration about digital privacy, you can visit the Privacy Tools page.


CameraFogMode camera,mode
Parameters:
| camera - sets camera fog mode mode - fog mode 0: no fog 1: linear fog |
Description:
| Sets the camera fog mode. This will enable/disable fogging, a technique used to gradually fade out graphics the further they are away from the camera. The can be used to avoid 'pop-up', the moment at which 3D objects suddenly appear on the horizon. The default fog color is black and the default fog range is 1-1000, although these can be changed by using CameraFogColor and CameraFogRange respectively. Each camera can have its own fog mode, for multiple on-screen fog effects. |
| ; CameraFogMode Example ; --------------------- Graphics3D 640,480 SetBuffer BackBuffer() camera=CreateCamera() PositionEntity camera,0,1,0 CameraFogRange camera,1,10 light=CreateLight() RotateEntity light,90,0,0 plane=CreatePlane() grass_tex=LoadTexture( "media/mossyground.bmp" ) EntityTexture plane,grass_tex While Not KeyDown( 1 ) ; Toggle camera fog mode between 0 and 1 when spacebar is pressed If KeyHit( 57 )=True Then fog_mode=1-fog_mode : CameraFogMode camera,fog_mode If KeyDown( 205 )=True Then TurnEntity camera,0,-1,0 If KeyDown( 203 )=True Then TurnEntity camera,0,1,0 If KeyDown( 208 )=True Then MoveEntity camera,0,0,-0.05 If KeyDown( 200 )=True Then MoveEntity camera,0,0,0.05 RenderWorld Text 0,0,"Use cursor keys to move about the infinite plane" Text 0,20,"Press spacebar to toggle between CameraFogMode 0/1" If fog_mode=False Then Text 0,40,"CameraFogMode 0" Else Text 0,40,"CameraFogMode 1" Flip Wend End |


Mobile Development Toolkit (MDT) is a collection of tools to aid development of web sites and web applications for mobile devices.
resolution
media feature.device-pixel-ratio
media feature.orientation
media feature.(device-)width/height
media feature.


Walmart's 2019 Black Friday Ad is out
Sale starts at 6 p.m. on Thanksgiving
by John MatareseOne of the last major Black Friday ads for 2019 is now out.
Walmart has unveiled the deals shoppers can snag in its sale, which starts at 6 p.m. on Thanksgiving Day — one hour after Best Buy's sale begins.
Walmart says it will allow shoppers to wait inside the store before the sale begins, which prevents a mob scene at the front doors when the store opens and keeps shoppers warm. It also allows shoppers to line up at specific stations inside the store, depending on what type of items they want to buy.
Walmart's system stands in stark contrast to Target, Best Buy and Kohl's, where some shoppers will wait outside in lines for hours before the store opens.
Walmart's best deals
Among the hottest deals for Thanksgiving night, according to BF Ads.net:
Lenovo Smart Clock - $39.00
4K Movies - $7.96
50 inch Roku 4KTV - $148
Apple Watch 38mm Series 3 GPS - $129.00
Apple AirPods w/ Charging Case - $129.00
PlayStation 4 1TB Console + 3 Games Bundle - $199.00
Instax Mini 7S Bundle (Various Colors) - $50.00
Kodak Mini 2 HD Wireless Mobile Instant Photo Printer (KODMP2B) - $49.00
Rubbermaid Easy Find Lids 38-pc. Storage Set (Red or Blue) - $7.00
Apple 10.2" 32GB iPad (7th Gen) - $249.00
See the complete ad scan from BF Ads.net here.
Unlike Best Buy, Walmart is not actively pushing 65- and 70-inch name-brand TVs from Samsung, LG, and Sony. Walmart specializes more in smaller, budget TV's, as well as toys and household items.
But at least you won't have to stand out in the rain and possibly cold to get those deals. As always, don't waste your money.
Don't Waste Your Money" is a registered trademark of Scripps Media, Inc. ("Scripps").
Like" John Matarese Money on Facebook
Follow John on Twitter (@JohnMatarese)
For more consumer news and money-saving advice, go to www.dontwasteyourmoney.com


Hashes and Arrays
1/26/2016
Arrays
You can think of an array as a list of data points. Let's look at the array below:
This array is a list of my favorite things in order of favoriteness! All of the items in this array are strings but we could have an array of numbers or we could have an array with strings and numbers. The important thing to note is that this array is defined list of data in a particular order.
In order to access the a piece of data in the array, we can simply "call it." The first piece of data is in the 0th position, the second piece is in the 1st position and so on. In the array of my favorite things, we have four pieces of data and they are listed in order of my preference. Let's assume we want the console to display my second favorite thing. We can very easily access that piece of data by simply entering the following:
Hashes
A hash is a list of pairs of data points. Let's look at the hash below:
In this hash, we see a list of pairs. The first item in the pair is called a key. Each key in a hash is unique - I can only have one favorite animal! We use the key to access the data later on. (Remember how we used a number position to get data from an array?) The pairs in the hash are not in a specific order which is why we acess the value via the key as opposed to the position. This is useful because I'm able to list my favorite things in relation to category instead of listing my favorite things in order of favoriteness. Here's how we can use a key to display my favorite drink in the console:


SheetJS
Spreadsheets simplified
Read, edit, and export spreadsheets
Works in web browsers and servers
Trusted by Microsoft in Office 365
Visit SheetJS.com


Project Display
Number of employees of some tech companies
Bar
Circle
Stock volume of companies
FaceBook
Apple
Amazon
Microsoft
Salesforce
Tesla
Line
Area
World display
Map
Globe
Flat-Globe
Globe-Map
Graph representation of tech company relationships


The plugin manager which hosts all plugins.
An plugin should be created like this:
(function (Plugins) {
Plugins.fn.plugin_name = function (args) {
var elm = this; // the function is called in the context of the current DOM Element
// do preprocessing of parameters here (determine DOM Elements, calculate values, define helper functions)
return {
enable: function () {
// enable the plugin
},
disable: function () {
// undo everything the enable function does
}
}
// return null if the args are invalid
}
Plugins.fn.plugin_name.args = { // default arguments
required_param: Plugins.REQUIRED, // required param
param2: value, // default value
param3: value
};
Plugins.fn.plugin_name.key = ["required_param","param1"]; // list of arguments to identify an instance
}(blue.Plugins));
A plugin is a function with parameters and returns an object with an enable and disable function. An argument list and a key definition as seen in the example is required, too.
The plugin manager makes sure that the plugin instance (identified by the key) is not applied twice to a DOM Element. The returned object is created when a plugin is enabled an an Element end will be destroyed after it has been disabled.
The disable function must not assume that the current DOM Element is inserted in the DOM tree.
Whenever a DOM Element is moved in the DOM tree, the library using the Plugin API has to disable and re-enable the plugin; so the plugins and the Plugin Manager do not care about this.
The args parameter of the factory function is used one time only. Default values are automatically added if keys are undefined. The Plugin Manager throws an error if required parameters are not set. Each used argument must be defined in the arguments list.
A plugin can be used like this:
blue.Plugins.use(elm,plugin_name,args_obj,true); // enable
blue.Plugins.use(elm,plugin_name,args_obj,false); // disable
Sets the plugin with the given args for elm enabled or disabled depending on setEnabled.
| Arguments: |
|
|---|
An object containing all plugins.
Constant for marking an argument as required.


Contact Information: Name: Email Address: Phone: Artwork Information Pick a medium for your artwork: Colored Pencil Charcoal Pastels Acrylic Paint Oil Paint Mixed Media Pick a size for your artwork: 8 x 10 11 x 14 16 x 20 24 x 36 36 x 38 Describe what you want:


IFBluetoothManager Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | IFBluetoothManager.h |
Overview
‘IFBluetoothManager’ provide interface for bluetooth operations.
Usage
- Set delegate to recive manager “events”.
- Start discovering Bluetooth devices by call [IFBluetoothManager startManager].
- When you done using bluetooth, be nice and stop BluetoothManager with [IFBluetoothManager stopManager]
delegate
IFBluetoothManagerDelegate responsible for passing all the events from the manager
@property (nonatomic, weak) id<IFBluetoothManagerDelegate> delegate
Discussion
IFBluetoothManagerDelegate responsible for passing all the events from the manager
Declared In
IFBluetoothManager.h
nearRSSI
Parameter describing transmitter as near (is in near proximity), default is -30
@property (nonatomic) NSInteger nearRSSI
Discussion
Parameter describing transmitter as near (is in near proximity), default is -30
Declared In
IFBluetoothManager.h
useOnlyNearbyBeacons
When useOnlyNearbyBeacons is equal YES, we’re adding only beacons within the range of aprox. 1m - it’s good for proximity mode, for the navigation it should be disabled!
@property (nonatomic) BOOL useOnlyNearbyBeacons
Discussion
When useOnlyNearbyBeacons is equal YES, we’re adding only beacons within the range of aprox. 1m - it’s good for proximity mode, for the navigation it should be disabled!
Declared In
IFBluetoothManager.h
centralManagerState
The current state of the CBCentralManager
@property (nonatomic, readonly) CBCentralManagerState centralManagerState
Discussion
The current state of the CBCentralManager
Declared In
IFBluetoothManager.h
+ sharedManager
Each manager is a singleton, they are accessible by the sharedManager method
+ (IFBluetoothManager *)sharedManager
Return Value
IFBluettothManager object
Discussion
Each manager is a singleton, they are accessible by the sharedManager method
Declared In
IFBluetoothManager.h
– transmitters
The most recent information about all the bacons nearby
- (NSDictionary *)transmitters
Return Value
Beacons array
Discussion
The most recent information about all the bacons nearby
Declared In
IFBluetoothManager.h
– startManager
Start looking for beacons and instatiate the bluetooth manager
- (void)startManager
Discussion
Start looking for beacons and instatiate the bluetooth manager
Declared In
IFBluetoothManager.h
– startManagerWithLocationManager:
Start looking for beacons, instatiate the bluetooth manager and set object manager
- (void)startManagerWithLocationManager:(CLLocationManager *)manager
Parameters
manager |
location manager |
|---|
Discussion
Start looking for beacons, instatiate the bluetooth manager and set object manager
Declared In
IFBluetoothManager.h
– stopManager
When we don’t need the manager any more
- (void)stopManager
Discussion
When we don’t need the manager any more
Declared In
IFBluetoothManager.h
– resetTransmitters
Removes all beacons from the cache
- (void)resetTransmitters
Discussion
Removes all beacons from the cache
Declared In
IFBluetoothManager.h
– startVirtualBeacon
Tourns our device into a beacon with name “virtualbeacon” proximity uuid=“2FF70926-AAD1-4710-BCEA-2E48CA4A4655” major=“01” minor=“02”
- (void)startVirtualBeacon
Discussion
Tourns our device into a beacon with name “virtualbeacon” proximity uuid=“2FF70926-AAD1-4710-BCEA-2E48CA4A4655” major=“01” minor=“02”
Declared In
IFBluetoothManager.h
– stopVirtualBeacon
Stops sending virtual beacon data
- (void)stopVirtualBeacon
Discussion
Stops sending virtual beacon data
Declared In
IFBluetoothManager.h
– setOutsideBeaconName:
Set the name of the beacon that will cause output from the venue.
- (void)setOutsideBeaconName:(NSString *)name
Parameters
name |
out beacon name |
|---|
Discussion
Set the name of the beacon that will cause output from the venue.
Declared In
IFBluetoothManager.h


Generic clocks are configurable clocks which run outside the system clock domain.
More...
Generic clocks are configurable clocks which run outside the system clock domain.
They are often connected to peripherals which have an asynchronous component running independently of the bus clock, e.g. USB controllers, low-power timers and RTCs, etc.
Note that not all platforms have support for generic clocks; on such platforms, this API will not be available.
§ GENCLK_PCK_0
§ GENCLK_PCK_1
§ GENCLK_PCK_2
§ genclk_divider
| Enumerator |
|---|
| GENCLK_PCK_PRES_1 | Set PCK clock prescaler to 1.
|
| GENCLK_PCK_PRES_2 | Set PCK clock prescaler to 2.
|
| GENCLK_PCK_PRES_4 | Set PCK clock prescaler to 4.
|
| GENCLK_PCK_PRES_8 | Set PCK clock prescaler to 8.
|
| GENCLK_PCK_PRES_16 | Set PCK clock prescaler to 16.
|
| GENCLK_PCK_PRES_32 | Set PCK clock prescaler to 32.
|
| GENCLK_PCK_PRES_64 | Set PCK clock prescaler to 64.
|
§ genclk_source
Generic clock source ID.
Each generic clock may be generated from a different clock source. These are the available alternatives provided by the chip.
| Enumerator |
|---|
| GENCLK_PCK_SRC_SLCK_RC | Internal 32kHz RC oscillator as PCK source clock.
|
| GENCLK_PCK_SRC_SLCK_XTAL | External 32kHz crystal oscillator as PCK source clock.
|
| GENCLK_PCK_SRC_SLCK_BYPASS | External 32kHz bypass oscillator as PCK source clock.
|
| GENCLK_PCK_SRC_MAINCK_8M_RC | Internal 8MHz RC oscillator as PCK source clock.
|
| GENCLK_PCK_SRC_MAINCK_16M_RC | Internal 16MHz RC oscillator as PCK source clock.
|
| GENCLK_PCK_SRC_MAINCK_24M_RC | Internal 24MHz RC oscillator as PCK source clock.
|
| GENCLK_PCK_SRC_MAINCK_XTAL | External crystal oscillator as PCK source clock.
|
| GENCLK_PCK_SRC_MAINCK_BYPASS | External bypass oscillator as PCK source clock.
|
| GENCLK_PCK_SRC_PLLACK | Use PLLACK as PCK source clock.
|
| GENCLK_PCK_SRC_MCK | Use Master Clk as PCK source clock.
|
§ genclk_config_defaults()
| static void genclk_config_defaults |
( |
struct genclk_config * |
p_cfg, |
|
|
uint32_t |
ul_id |
|
) |
| |
|
inlinestatic |
§ genclk_config_read()
| static void genclk_config_read |
( |
struct genclk_config * |
p_cfg, |
|
|
uint32_t |
ul_id |
|
) |
| |
|
inlinestatic |
§ genclk_config_set_divider()
| static void genclk_config_set_divider |
( |
struct genclk_config * |
p_cfg, |
|
|
uint32_t |
e_divider |
|
) |
| |
|
inlinestatic |
§ genclk_config_set_source()
Select a new source clock src in configuration cfg.
§ genclk_config_write()
| static void genclk_config_write |
( |
const struct genclk_config * |
p_cfg, |
|
|
uint32_t |
ul_id |
|
) |
| |
|
inlinestatic |
§ genclk_disable()
| static void genclk_disable |
( |
uint32_t |
ul_id | ) |
|
|
inlinestatic |
§ genclk_enable()
| static void genclk_enable |
( |
const struct genclk_config * |
p_cfg, |
|
|
uint32_t |
ul_id |
|
) |
| |
|
inlinestatic |
§ genclk_enable_config()
| static void genclk_enable_config |
( |
unsigned int |
id, |
|
|
enum genclk_source |
src, |
|
|
unsigned int |
divider |
|
) |
| |
|
inlinestatic |
Enable the configuration defined by src and divider for the generic clock identified by id.
- Parameters
-
| id | The ID of the generic clock. |
| src | The source clock of the generic clock. |
| divider | The divider used to generate the generic clock. |
§ genclk_enable_source()
Enable the source clock src used by a generic clock.


--- layout: post title: "C.F. Gauss 1777 - 1855" date: 2016-10-16 comments: true quotes: true tags: quotes excerpt: Favourite quotes from C.F.Gauss ---


This page is generated using JavaScript. If you see this text, your browser doesn't support JavaScript.


How To Get Outside Responsibly During COVID-19
Written by Nicolas Cnudde on 03/04/2021
Let’s commit to social distancing in the outdoors
We understand not everyone is permitted outside right now, and for those who can’t, our hearts go out to you. For those of us who are fortunate enough to make it outdoors, we all need to commit to social distancing before more of the parks we love are closed for public safety. Please check out the below information from our team of medical advisors on how to responsibly get outside during this time. It’s up to us to take care of each other. Let’s keep the one place we all look to for solace – the great outdoors – safe for all.
What is social distancing?
According to Johns Hopkins’ Senior Director of Infection Prevention, Lisa Lockerd Maragakis, M.D., M.P.H., social distancing is deliberately increasing the physical space between people to avoid spreading illness. Staying at least six feet away from other people lessens your chances of catching COVID-19. This also means no congregating, and only being around those in your household. It is of the utmost importance we practice social distancing at all times – including when outdoors.
My trails and outdoor spaces are so crowded it’s difficult to practice social distancing.
With more downtime, more and more people are heading outdoors these days, making it difficult to responsibly keep 6 feet of separation. The trails are filled with new hikers, runners, and cyclists, so let’s set a positive example of how we can responsibly play outside, even in times like these. Here are a few ideas on how to avoid traffic on the trail and in nature.
- If you can, try to head out during off-hours.
- Stay local, and avoid driving to major recreation areas that are attractions for large groups.
- Look for less popular trails in your community. Maybe you’ll stumble upon a hidden gem!
- If the trailhead parking lot is full, the trail likely will be too. Consider finding another route if the lot is overcrowded.
- Avoid single track trails, as it will be difficult to keep 6 feet separation when passing others. Instead, opt for wide fire roads that can accommodate more people.
- Look for loop trails over out-and-back trails. Not everyone will necessarily be headed in the same direction but there’s a good chance you’ll encounter less return traffic than on an out-and-back.
- Only venture out with people in your household or by yourself.
- Over-communicate while on the trail, and announce yourself to others when passing to help maintain at least 6 feet of separation.
- Be safe, but be kind. Some trail goers may be slower than you. Some may not be as familiar with the trail. Let’s be patient with one another, but help remind our community of the importance of social distancing while outdoors.


A SELF MADE HERO (UN HEROS TRES DISCRET) A film review by Steve Rhodes Copyright 1997 Steve Rhodes
RATING (0 TO ****): * 1/2
As World War II draws to a close, Albert Dehousse (Mathieu Kassovitz), a simple salesman in occupied France, dreams of having been something more important. And turning dreams into reality, he convinces his countrymen that he was actually a valiant member of the French Resistance. With a few facts and a lot of chutzpah, he succeeds beyond his wildest dreams. He becomes such an enormous and mysterious hero that people begin doting on his every word.
If A SELF MADE HERO (UN HEROS TRES DISCRET) sounds like a hundred other films (Tony Curtis's THE GREAT IMPOSTOR and Peter Sellers's BEING THERE come immediately to mind), it is. The difference is in the execution. The script by Jacques Audiard and Alain Le Henry, based on the novel by Jean-Francois Deniau, confuses the viewers by swirling a host of supporting characters past them in a blur. The first half of the film is hopelessly muddled with the latter half being relatively better.
Exacerbating the problems of the narrative, Jean-Marc Fabre's cinematography pans the camera in a constant twirl, and most of the first half is so dark that it is hard to see the expressions on the actors' faces. Juliette Welfling's erratic editing adds to the overall obfuscation. Even the editing of the newsreel footage is so choppy that it becomes difficult ascertaining what is happening.
All of this notwithstanding, the premise of the show has great promise. The film, which garnered many French cinematic awards last year, has taken over a year to get a U.S. distributor.
Although the film spends much of the time trying to be humorous, it rarely succeeds. It works better in its serious moments, but its attempts at poignancy are muted by the chaos of the storyline.
In the later part of the film, Albert emerges from the story's cloudy beginning. But by then, your interest in this much told tale may have waned.
A SELF MADE HERO runs 1:47. It is in French with English subtitles. The movie is not rated but would be an R for war carnage, brief nudity, and a little profanity. The film would be fine for teenagers.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Server browser -- separate sort and extra info options - Better Battlelog Forums #114144
Sitemap
26. January 2014 14:45
Topicstarter
GROG
Please separate the sort and extra info options for the server browser enhancement. I'd like to keep using the sort option, but without the extra info option. Please separate these into two distinct options.
26. January 2014 15:51
BrainFooLong
Administrator
Will be considered.


PLMIX: Bayesian Analysis of Finite Mixtures of Plackett-Luce Models for
Partial Rankings/Orderings
Fit finite mixtures of Plackett-Luce models for partial top rankings/orderings within the Bayesian framework. It provides MAP point estimates via EM algorithm and posterior MCMC simulations via Gibbs Sampling. It also fits MLE as a special case of the noninformative Bayesian analysis with vague priors. In addition to inferential techniques, the package assists other fundamental phases of a model-based analysis for partial rankings/orderings, by including functions for data manipulation, simulation, descriptive summary, model selection and goodness-of-fit evaluation.
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=PLMIX
to link to this page.


Dart Documentation
›
dancer
dancer
library
A high level audio API for HTML5 with a Flash fallback. (dancer.js wrapper)
Classes
Dancer
DancerAdapter
FFTOptions
Kick
KickOptions
WaveformOptions
Typedefs
DancerBindCallback
DancerCallback
KickOnOffCallback


Here are some of the fields of technologies I have experience with.
I am experienced with tools such as Figma, Adobe Pro CC and Adobe After Effects. Also Ms Office and Google suite. Created UI/UX for Mobile and Web.
I love creating applications using flutter and dart. I use django framework which uses python for web application development. I love AWS as well for it's web services.
I am very comfortable with python programming language. I've used Java ,SQL ,C and dart along with html5, css3 and js. Also comfortable with unix distro.
I use opencv for processing images in computer vision. I've used tensorflow and keras for my regression based models. Used AWS to create API.
A short reviews from my clients and peers.
Outstanding is a phrase that comes to my mind when I think of Bipin. I have worked on two projects with him and it has been a pleasure. He is very diligent and hard working to work with.
Bipin Karki is a very talented and sophisticated human being. He loves his work and his passion inspires others. I feel very blessed to be able to work with him. Very satisfied with his work.
Working with bipin is always an awesome experience. He has very good knowledge of technology and management the project very well. Moreover he is a keen learner ,he learn new technology every day.
Send me a message or enquiry if you have any (:


---
layout: post
title: ClinEpiDB 10 includes new study variable search
category: [ClinEpiDB]
---
We are pleased to announce the release of ClinEpiDB 10!
New Features in this Release
We have included a new search across different variables types in the Search Wizard. To use it, click on a participant, household, observation or light-trap icon to launch the Search Wizard and you will see a search box at the top of the page. Now, clicking in this box and typing in text of your choice will identify any variables within the datset that contain that text string. If there is a match, a drop-down menu will appear, clicking on the variable will jump to that step in the Search Wizard and allow you to view the variable details. You can watch a brief video tutorial of this feature on our YouTube page:


SDN SENSE End Site Monitoring
Topology
Frontend Configuration
Models
Deltas
Debugging tools
Request new debug action
Debug history
Dashboard
Filter switch
Filter Server


{% extends 'layouts/main.html' %} {% block title %}Home{% endblock %} {% block content %}
In the current pandemic of Coronavirus (COVID-19), it's important to stay informed and up-to-date with all of the latest information about Coronavirus. This website gives you just that, including a daily 1-minute digest of the news, coronavirus trends and plots, health tips, and financial information. We can beat coronavirus together by learning about the Coronavirus, because knowledge is power.
See the current status of coronavirus throughout the world, powered by modern visualization tools.
View our predictions of the latest coronavirus outbreaks and other related trends using advanced statistical models.
Keep track of the newest financial data and statistics during this unique financial period


The Evolving Specification
Working Draft
Candidate Recommendation
Recommendation
* Regions and Exclusions are currently in the Working draft stage.
* The goal of the working draft stage is to generate a specification that is ready for implementation and testing across multiple browsers.
* Formally, when the specification is ready enough, it goes through a last call for comments, and then becomes a CR.
* Moving is like handing a paper in for publication. It can be accepted, or returned for further work. But you don't get to change the actual submission.
* A CR is when the spec is ready for implementation and testing.
* After two working browser implementations, a spec may move from CR to R.
* Theoretically, the WD stage does not require any implementation.
* From our experience, however, the only way to know your specification can be implemented in browsers is to implement it.
Specification Implementation
* Now, if you remember, we've been working with Microsoft on Regions and Exclusions.
* We implement the feature functionality in WebKit, they implement it in IE, and we compare notes.
* During this implementation process, we actually learn a lot about the specification.
* Most of the time, it's just polishing out edge cases and making clarifications where necessary.
* For example...
Shape Inside Overflow
* If you recall shape-inside, this circle on the left
* We have content flowing inside the circle
* What happens when content overflows?
Overflow Proposals
* The exclusions specification did not originally detail what should happen to content if it is too large for its shape-inside.
* The spec editors knew about the issue, and had filed a bug to resolve it (which included a suggested algorithm).
* However, when we started working on shape inside, we realized we needed to implement it pretty early.
* And, having implemented parts of shape-inside, we had some ideas about what might work best.
* We proposed a couple solutions in the case of overflow:
* Push all overflow outside the shape
* This didn't seem optimal to us, because content would appear to vertically "jump" outside the shape on the last line.
* Use the width at the top of the line.
* This, again, didn't seem optimal. The line would overflow the shape horizontally.
* Use the width remaining in the shape
* We recommended option 3 because it made the text continuous, but still generally respect the bounds of shape-inside.
Regions OM
interface Region {
readonly attribute DOMString regionOverset
throws DOMException;
readonly attribute DOMString flowFrom
throws DOMException;
sequence<Range>? getRegionFlowRanges()
throws DOMException;
CSSStyleDeclaration getComputedStyle(Element elt);
CSSStyleDeclaration getComputedStyle(Element elt,
DOMString pseudoElt);
};
Element implements Region;
* Sometimes you find a couple surprises as well.
* Regions included some OM work to make it accessible to JavaScript.
* For a region, regionOverset lets you know if the content is overflowing the region chain.
* Flow from gave you the named flow a region was pulling content from.
* getRegionFlowRanges gave the offsets into the content that this region contained, and
* getComputedStyle gave the computed style for content within the region.
* Initially, these were added to all elements that could become regions.
* But we thought there was no valid value for these if the elements were not regions, and
* so we thought throwing an exception would be best.
var element = document.getElementById("region1");
try {
/* handle region cases */
switch(element.regionOverset) {
case "overset":
case "fit":
case "empty": break;
}
} catch (err) {
/* handle non-region case */
}
* One thing we noticed pretty early was that exceptions uglified code.
* For example, if you were testing regionOverset, you would need to surround your code with a try/catch.
var element = document.getElementById("region1");
/* handle all cases */
switch(element.regionOverset) {
case "overset":
case "fit":
case "empty":
default: break;
}
* When what you'd rather do is this.
var element = document.createElementById("div");
for (var property in element) {
console.log(property + ":" + element[property]);
}
* But, when we wound up implementing the behavior, we found out
* WebKit had a whole battery of tests that iterated through element properties.
* And was enforcing the assumption that accessing these properties did not throw exceptions.
Regions OM (Updated)
interface Region {
readonly attribute DOMString regionOverset
throws DOMException ;
readonly attribute DOMString flowFrom
throws DOMException ;
sequence<Range>? getRegionFlowRanges()
throws DOMException ;
CSSStyleDeclaration getComputedStyle(Element elt);
CSSStyleDeclaration getComputedStyle(Element elt,
DOMString pseudoElt);
};
Element implements Region;
* So we changed it. We wound up simplifying out some properties that we didn't need (flowFrom)
* And changing the properties to return undefined when they were unspecified, rather than throwing and exception.


Dashboard
Welcome to your Dashboard! You are now logged in as {{ auth.user.displayName }}.
You need to complete the {{ reminder.checklistName }} for {{ reminder.propertyName }}.
Need to add another property? Click
You don't have any properties yet! Let's add one
here


+++ title = "The mushroom man" slug = "the-mushroom-man" date = 2007-03-12T14:00:00+10:00 tags = ["locals", "eccentric-encounters", "naughty"] locations = ["mexico/palenque"] draft = false summary = """
Do you know the mushroom man,
The mushroom man, the mushroom man;
Do you know the mushroom man,
He lives beside the road.
Do you know the mushroom man,
The mushroom man, the mushroom man;
Do you know the mushroom man,
He lives beside the road.
Finding the mushroom man in Palenque isn't very hard. All you have to do is walk down the road for a bit — from El Panchán to the ruins — and he pops out of the jungle when he sees you. It's a hilarious setup: he's obviously keeping out of sight of the police — because he's selling illegal hallucinogenic mushrooms — but he's also obviously got some sort of "arrangement", because he's always there, and he's only really making a token effort to keep hidden.
I ran into the mushroom man a few times, when I was walking to the mystic waterfalls and back. He's a really nice guy, very friendly — about as far removed as you can get from the stereotypical, violent, threatening, hardened Western drug dealer. It's quite surreal, to just stop and have a pleasant roadside chat with someone in that line of business. He acts more like what he really is: a greengrocer.


See How CR7 Made A Pitch Invader's Dream Come True
by SL SocialCristiano Ronaldo was in inspired form for Portugal this week, managing an impressive hat-trick for his national team. While putting smiles on the thousands of fans watching the game, he made one pitch invader the happiest supporter out there. Check it out!
Ronaldo, who yet again proved his worth at international level, was at the forefront of Portugal's 6-0 thrashing of Lithuania in a 2020 European Championship qualifier on Thursday night.
The former Manchester United great took home the match ball after scoring his 55th career hat-trick, and at the same time, took his tally with his national team to an astonishing 98 goals.
Download The Soccer Laduma Social Media App & Earn Airtime for Selfies!
In awe of Ronaldo's performance, during the game, a supporter was spotted running on to the field. Dressed in Juventus' colours, "CR7" heartwarmingly proceeded to take a selfie with the fan, who was visibly overwhelmed by the whole experience.
Check it out:
Do you think Ronaldo is the greatest player of all time?


You need to subscribe to some market data in order to calculate indicator values.
var qb = new QuantBook(); var symbol = qb.AddEquity("SPY").Symbol;
qb = QuantBook() symbol = qb.AddEquity("SPY").Symbol


get_cluster_recommendations.Rd
Get recommendations prescribed by doctors to patients from given clusters. The categories of recommendation terms can be specified.
get_cluster_recommendations(recom_descriptions, clusters, category = "all", recom_table)
| recom_descriptions | A vector of descriptions of recommendations, named by visits' IDs; terms in the descriptions are separated by ", " |
|---|---|
| clusters | An output of the function cluster_visits |
| category | A vector of categories of the terms to be returned or |
| recom_table | (necessary if
|
A list of data frames. For each cluster there is a data frame with columns:
recommendation
A term of recommendation
count
A number of occurrences of the recommentadion in the cluster
frequency
A percentage of visits containing the reccomentation
#> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 1, expected cost 0.1702 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 2, expected cost 0.0983 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 3, expected cost 0.0628 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 4, expected cost 0.0421 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 5, expected cost 0.0293 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 6, expected cost 0.0209 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 7, expected cost 0.0154 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 8, expected cost 0.0116 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 9, expected cost 0.0088 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 10, expected cost 0.0069 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 11, expected cost 0.0054 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 12, expected cost 0.0042 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 13, expected cost 0.0033 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 14, expected cost 0.0027 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 15, expected cost 0.0021#> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 1, expected cost 0.0729 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 2, expected cost 0.0370 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 3, expected cost 0.0243 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 4, expected cost 0.0180 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 5, expected cost 0.0142 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 6, expected cost 0.0118 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 7, expected cost 0.0100 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 8, expected cost 0.0087 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 9, expected cost 0.0076 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 10, expected cost 0.0068 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 11, expected cost 0.0061 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 12, expected cost 0.0054 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 13, expected cost 0.0049 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 14, expected cost 0.0044 #> INFO [2020-06-05 12:42:06] 2020-06-05 12:42:06 - epoch 15, expected cost 0.0040visits_vectors <- embed_list_visits(interviews, examinations, inter_term_vectors, exam_term_vectors) clusters <- cluster_visits(visits_vectors, visits, spec = "internist", cluster_number = 2L) get_cluster_recommendations(recommendations, clusters, recom_table = terms_categories)#> [[1]] #> # A tibble: 4 x 3 #> recommendation count frequency #> <fct> <int> <dbl> #> 1 hospital 2 1 #> 2 endocrinologist 1 0.5 #> 3 ophthalmologist 1 0.5 #> 4 treatment 1 0.5 #> #> [[2]] #> # A tibble: 3 x 3 #> recommendation count frequency #> <fct> <int> <dbl> #> 1 hospital 1 0.333 #> 2 internist 1 0.333 #> 3 sleep 1 0.333 #>get_cluster_recommendations(recommendations, clusters, recom_table = terms_categories, category = "anatomic")#> [[1]] #> # A tibble: 0 x 3 #> # … with 3 variables: recommendation <fct>, count <int>, frequency <dbl> #> #> [[2]] #> # A tibble: 0 x 3 #> # … with 3 variables: recommendation <fct>, count <int>, frequency <dbl> #>get_cluster_recommendations(recommendations, clusters, recom_table = terms_categories, category = "all")#> [[1]] #> # A tibble: 4 x 3 #> recommendation count frequency #> <fct> <int> <dbl> #> 1 hospital 2 1 #> 2 endocrinologist 1 0.5 #> 3 ophthalmologist 1 0.5 #> 4 treatment 1 0.5 #> #> [[2]] #> # A tibble: 3 x 3 #> recommendation count frequency #> <fct> <int> <dbl> #> 1 hospital 1 0.333 #> 2 internist 1 0.333 #> 3 sleep 1 0.333 #>


Two spacious floors of a former Victorian warehouse on Leonard Street have been kitted out for daytime eating, drinking, thinking & meeting. The interior blends the raw, pared-down character of the factory building with layers of bespoke furniture, mosaics and graphic lighting features, as well as the constantly evolving exhibitions that adorn the walls. Its open, airy, drowning in natural light and the perfect environment for meetings, lunches, an afternoon cocktail or a quick game of ping pong!


Reliance on Allah
List of features
- Aboundace Provission:1
- Total Security:2
- Hope for the Hopeless:3
These are the interpretations! The only one who provide for all is Allah(SWA), His holy messanger atested to that!
- First wisdom: No one like him.
- Second wisdom: He is everlasting.
- Third wisdom: His knowledge upon all.


Provides hovercard information when authenticated through basic auth or OAuth
with the repo
scope. You can find out more about someone in
relation to their pull requests, issues, repositories, and organizations.
GET /users/:username/hovercard
| Name | Type | Description |
|---|---|---|
subject_type |
string |
Identifies which additional information you'd like to receive about
the person's hovercard. Can be organization ,
repository , issue , pull_request .
Required when using subject_id .
|
subject_id |
string |
Uses the ID for the subject_type you specified.
Required when using subject_type .
|
The subject_type
and subject_id
parameters provide
context for the person's hovercard, which returns more information than
without the parameters. For example, if you wanted to find out more about
octocat
who owns the Spoon-Knife
repository via
cURL, it would look like this:
curl -u username:token https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192
{
"contexts": [
{
"message": "Owns this repository",
"octicon": "repo"
}
]
}


This RESTful API document is generated by Wisdom Tool
Content-Type : application/json; charset=UTF-8 Accept : application/json Cookie : JSESSIONID=0A33A5D69D17DFA7EA4190449000F8AC
model
example
successful operation


Speak to change the world!
Speak
publicly about others, yourself, your knowledge, and presentation slides.
Create
a talk proposal and slides for a presentation.
- strategies for starting and improving from experienced speakers
- what conference organizers look for when selecting speakers
- creating powerful slides
- oppurtunities for speaking
- generate potential topics
- create a talk proposal
- prepare slides
- give a presentation individually and with group
-
analyze a video of yourself speaking
(will not be shared publicly)
Own your expertiseShare knowledgeCreate visibility
Each day will be tailored to the experience and expertise of each attendee and will include:
- giving and receiving feedback from peers and experts
- talks or panels from experienced women developers
- group and individual workshops
- creation of a usable prototype for the day's milestones
- a concrete, next-steps action plan
Speak to change the world day will give you all the tools necessary to speak powerfully at conferences from choosing a topic and creating slides to writing a proposal and public speaking. By the end of the day day you'll have written a talk proposal and given a technical presentation!
Speak to Change the World Day is being crafted by:
-
Celia La is a .Net/SQL Server developer at MediaRadar. She co-organizes the Tongue-Tied Techs meetup, is the technical co-chair for the NYC Chapter of UN Women, US National Committee and volunteers for CoderDojo NYC. Celia also is an accomplished jazz vocalist, loves to dance bhangra and volunteer for RightRides.org.
-
Rachel Ober is a developer at Paperless Post in New York City. She helps co-organize NYC Ruby Women, teaches Ruby and Ruby on Rails at General Assembly in Manhattan and volunteers her time organizing workshops for RailsBridge NYC. Rachel is an avid scrapbooker and loves to talk about her Pembroke Welsh Corgi, Isabella.
-
Rebecca Miller-Webster is currently a Ruby and Javascript developer at How About We. She spent the last 10 years building software in a variety of languages for large corporations, non-profits, and start-ups, including as VP of Engineering for an early-stage start up in NYC. Rebecca founded Write/Speak/Code, co-organizes GORUCO and makes Patterned. She also makes music and jewelry and loves cupcakes, pizza, and crab rangoon. Rebecca lives in Sunnyside, Queens with her husband and black pug. And she changes her hair. A lot.


Once signing in, the app gets an accessToken which is used to subscribe me/mailFolders('Inbox')/messages.


Pompeo slams Iran 'intimidation' of IAEA inspector as 'outrageous'
by AFPWASHINGTON: US Secretary of State Mike Pompeo on Friday slammed Tehran’s treatment of an inspector with the UN’s nuclear watchdog agency last week as “an outrageous and unwarranted act of intimidation.”
The top US diplomat said Iran “detained” the inspector, who the International Atomic Energy Agency has said had been briefly prevented from leaving Iran.
Iran said Thursday it had cancelled the inspector’s accreditation after she triggered an alarm last week at the entrance to the Natanz uranium enrichment plant.
The alarm during a check at the entrance to the plant in central Iran had raised concerns that she could be carrying a “suspect product” on her, Iran’s Atomic Energy Organization said in a statement posted online.
As a result, she was denied entry, it added, without specifying whether or not anything had been found in her possession.
Iran’s ambassador to the IAEA Kazem Gharib Abadi told reporters after a special agency meeting in Vienna that after setting off the alarms on October 28, the woman “sneaked out” to the bathroom while waiting for a more thorough inspection with a detector that can find a range of explosive materials.
After her return, the alarms did not go off again, but authorities found contamination in the bathroom and later on her empty handbag during a house search.
Iran said IAEA officials were present for all the searches.
The IAEA has not publicly commented on the incident with the inspector so far.
“The United States fully supports the IAEA’s monitoring and verification activities in Iran, and we are alarmed at Iran’s lack of adequate cooperation,” Pompeo said in a statement.
“IAEA inspectors must be allowed to conduct their critical work unimpeded. We call on Iran to immediately resolve all open issues with the IAEA and to afford Agency inspectors the privileges and immunities to which they are entitled.”
Iran has been progressively scaling back its commitments under a landmark 2015 deal aimed at reining in Tehran’s nuclear program in exchange for sanctions relief.
The US left the agreement last year and re-imposed sanctions, leaving remaining world powers — Britain, China, France, Germany and Russia — trying to save the agreement and mitigate the sanctions.


If you are seeing this message, then you are probably running this example file offline. Loading the audio files offline requires running your browser in a special mode. See this Q&A for examples of how to get this working with Chrome. Other browsers have similar features that you can find more information on via Google.


Game
问题描述 :
Alice and Bob are playing game. Firstly, Alice drew a regular polygon with n vertices, then assigned each vertex a number.
Then Bob’s goal is to change all the numbers to non-negative numbers. He can do following operation in each step: choose one vertex i, supposed Ai is the number on vertex i, then add Ai to it’s left and right adjacent vertex, and turn Ai into -Ai.
Now you are to help Bob to find out the minimum step to reach his goal.
Then Bob’s goal is to change all the numbers to non-negative numbers. He can do following operation in each step: choose one vertex i, supposed Ai is the number on vertex i, then add Ai to it’s left and right adjacent vertex, and turn Ai into -Ai.
Now you are to help Bob to find out the minimum step to reach his goal.
输入:
Multiple test cases ended with EOF.
Each test case begins with one integer n, followed a line consist of by n integers representing the numbers on the vertices clockwise.
Each test case begins with one integer n, followed a line consist of by n integers representing the numbers on the vertices clockwise.
2<n≤105
|Ai| ≤ 105
|sum{Ai}| ≤ 10
输出:
Multiple test cases ended with EOF.
Each test case begins with one integer n, followed a line consist of by n integers representing the numbers on the vertices clockwise.
Each test case begins with one integer n, followed a line consist of by n integers representing the numbers on the vertices clockwise.
2<n≤105
|Ai| ≤ 105
|sum{Ai}| ≤ 10
样例输入:
3 1 -2 3
样例输出:
2HintIn the sample, first turn -2 to 2, then the sequences became -1 2 1, then choose -1, the result is 1 1 0, all the numbers are non-negative, so the minimum step would be 2.
Description
Flip game is played on a rectangular 4×4 field with two-sided pieces placed on each of its 16 squares.  Each round you flip 3 to 5 pieces, thus changing the color of their upper side from black to white and vice versa. The pieces to be flipped are chosen every round according to the following rules:
- Choose any one of the 16 pieces.
- Flip the chosen piece and also all adjacent pieces to the left, to the right, to the top, and to the bottom of the chosen piece (if there are any).
 If we choose to flip the 1st piece from the 3rd row (this choice is shown at the picture), then the field will become:
bwbw
bwww
wwwb
wwwb
The goal of the game is to flip either all pieces white side up or all pieces black side up. You are to write a program that will search for the minimum number of rounds needed to achieve this goal.
Input
The input consists of 4 lines with 4 characters “w” or “b” each that denote game field position.
Output
Write to the output file a single integer number – the minimum number of rounds needed to achieve the goal of the game from the given position. If the goal is initially achieved, then write 0. If it’s impossible to achieve the goal, then write the word “Impossible” (without quotes).
Sample Input
bwwb bbwb bwwb bwww
Sample Output
4
/* * flipgame.cpp * * Created on: 2015年2月23日 * Author: xk */ #include<iostream> using namespace std; int main(){ char input[16]; int mm[16]; int cc[16]; int num=16; int in=0,res=0; for(int i=0;i<num;i++){ cin>>input[i]; mm[i]=1; } for(int i=0;i<num;i++){ in*=2; if(input[i]=='b') in+=1; mm[i]=mm[i]<<(num-i-1); } for(int j=0;j<num;j++){ int temp=j; cc[temp]=mm[temp]; if(temp/4!=0) cc[temp]+=mm[temp-4]; if(temp/4!=3) cc[temp]+=mm[temp+4]; if(temp%4!=0) cc[temp]+=mm[temp-1]; if(temp%4!=3) cc[temp]+=mm[temp+1]; } int *com=new int[num]; for(int i=0;i<num;i++){ com[i]=0; } int rr=0,flag=0; if(in!=0&&in!=(1<<16)-1){ for(int i=0;i<num;i++){ for(int j=0;j<i+1;j++){ com[j]=j; } com[i]=com[i]-1; do{ res=in; int cha=0; for(int j=i;j>=0;j--){ if(com[j]!=num-(i-j)-1){ cha=j; break; } } com[cha]+=1; for(int j=cha+1;j<i+1;j++){ com[j]=com[cha]+j-cha; } for(int j=0;j<i+1;j++){ int temp=com[j]; res=res^cc[temp]; } if(res==0||res==(1<<16)-1){ flag=1; rr=i+1; break; } if(com[0]==num-i-1&&com[i]==num-1){ break; } }while(1); if(flag==1) break; } }else{ flag=1; } if(flag==1){ cout<<rr<<endl; }else{ cout<<"Impossible"<<endl; } return 0; }
参考：http://www.cnblogs.com/sdxk/p/4298238.html
(adsbygoogle = window.adsbygoogle || []).push({});
为什么还不更啊，不要发展的那么快好不
为什么还不更啊，不要发展的那么快好不
为什么还不更啊，不要发展的那么快好不
为什么还不更啊，不要发展的那么快好不
为什么还不更啊，不要发展的那么快好不
为什么还不更啊，不要发展的那么快好不
为什么还不更啊，不要发展的那么快好不
为什么还不更啊，不要发展的那么快好不
为什么还不更啊，不要发展的那么快好不
为什么还不更啊，不要发展的那么快好不
为什么还不更啊，不要发展的那么快好不


Today I want to write about my open source contributions and why I think it was the turning point in my software career.
It was December 2017, I was in my second year of my undergraduate degree in Applied mathematics taking a C++ course. The final evaluation consisted in a huge team project related to 3D geometry and intersecating objects.
While working on it, I started to realize how much I liked writing software, as opposed to studying theoretical math. At that time, I was day dreaming about doing Applied math research. Then, I told myself I could combing my math skills with my newly found coding hobby.
Still, I was painfully aware that the academia career is a really hard one that does not pay off most of the times, so I started working towards an alternative plan: why not use math and software in industry? I realized that I neede to showcase my coding abilities if I wanted to do that, and a silly undocumented 3D geometry project might not be enough.
I was too scared (read: underprepared) to apply to big tech internships, so I had to find something else that could still be combined with my studies. On reddit, I read about the “Google summer of code” (GSOC) program. It seemed the perfect fit!
I also found a really interesting project related to speeding up matrix computations using C++. Withouth knowing any better, I started writing my proposal and I submitted it. Unfortunately, I was rejected 💔! In hindsight, this is really not surprising:
Who in their right mind would have taken me on?
I started investigating the hidden tips and tricks needed to increase my chances next year.
December 2018 comes around, this time I knew how to play the game a little better. I chose “Julia programming language” as a project (v0.7, how time flies). It seemed a really promising language, suited for a wannabe Applied mathemtician. I knew this was it!
I was interested in a project concerned surrogate models to approximate expensive solutions of differential equations. They required math, optimization techniques and numerical computing knowledge. It was the perfect fit for me!
I applied again. This time, I felt more confident about my chances! Again, I was rejected! 💔💔
This time, I was really down.
I was on the phone with my girlfriend venting about this, when I got an email from the Julia organization:
I will always remember that evening! Julia was willing to sponsor me with their own funds because they did not get the number of slots they hoped for in the GSOC. I still feel grateful to this day.
I have worked on Surrogates.jl that summer and in the next summer under the “Google summer of code” and in my own free time as well. Thanks to this experiences, I got my internship at the Alan turing institute, still using Julia.
The common advice for students that want to bulk up their CV for applications is to do projects. This is fine advice, but most of the time the project is not that impressive or, worse, a slight variation of some tutorial. In such cases, It becomes hard to differentiate yourself from other applicants. Moreover, these projects do not usually have any users, It’s just a github repository with some README.md description.
Having an open source project is a totally different story.
You have users: documenting software is as important as writing it. ✅
You must write tests to avoid nasty bugs. ✅
You are collaborating with other developers working alongside you on the library. ✅
This is as close as it gest to a real SWE job! If you like working on open source projects with other people, there is a good chance you are going to like your career as a SWE. This was especially important to me coming from an Applied Mathematics background: I needed to make sure this is something I enjoy doing!
It is my hope that this post convinced eager students craving real work experience to start working on open source software. There are many opportunities in the space, namely:
The key is to pick an organization within this frameworks that aligns closely with your interests, so you can produce your best work!
Feel free to message me if you need some sort of guidance to make the process less intimidating!
Ludo


Gnip PowerTrack Rules API
Create, delete and list rules of a powetrack stream.
Retrive counts with a provided rule
Classes and Modules
Constants
| VERSION | = | "1.2.2" |
Attributes
| configuration | [R] |
Public Class methods
adapter_class?
()
[show source]
# File lib/gnip_api.rb, line 55 def adapter_class? @configuration.adapter_class ? true : false end
configure
()
[show source]
# File lib/gnip_api.rb, line 38 def configure yield(configuration) self.configuration end
credentials?
()
[show source]
# File lib/gnip_api.rb, line 51 def credentials? @configuration.user && @configuration.password && @configuration.account end


Free & Reduced Price School Meals Application
Begin
Background
Children
Adults
Review
Done
tell us about the children
who live in your household, even if they are not related to you
THIS INCLUDES CHILDREN:
18 or younger AND supported with the household's income
OR
in your care under foster arrangements
OR
homeless, migrant, runaway, or Head Start
OR
attending high school or below, regardless of age
Back
Next


How to display an image?
By using <img> tag, we could display an image. Here an example:
Image from current directory:


--- layout: post title: "Civil Wardrobe in stores on Oct 18th!" ---
In stores on Wednesday Oct 18th! (Next week for Europe!) $3.50! From the mind of CBR's Rich Johnston! Kaare Andrews, Ashley Wood, Darick Robertson, Ilya, Fred Hembeck, Billy Dallas Patton, Mike Netzer, Lea Hernandez, Frazer Irving, Natalie Sandalls, Sam Hart, Thomas Mauer and more! Exclamation marks! Visit the Civil Wardrobe website for more info.


Slowly learning to not hate Visual Studio's Error List tab. Seems far more stable on 2008 version than last time I tried it (2003?)
2/24/2009, 2:36:58 PM
Favs: 0
Retweets: 0
link--- layout: tweet ---
Slowly learning to not hate Visual Studio's Error List tab. Seems far more stable on 2008 version than last time I tried it (2003?)
2/24/2009, 2:36:58 PM
Favs: 0
Retweets: 0
link