SAPPORO
SAPPORO is a job execution system for always reproducing Batch Jobs. In SAPPORO, the concept of CI/CD is introduced to management of batch jobs. In other words, SAPPORO is intended to test wheter "batch jobs are always executable" and "output by batch job is always reproduced". SAPPORO can be deployed to various environments (on-premises, cloud, cluster. etc.) and can work with various job schedulers. SAPPORO can be easily deployed and maneged.


Welcome to Jekyll!
An h1 header
Paragraphs are separated by a blank line.
2nd paragraph. Italic, bold, and monospace
. Itemized lists
look like:
- this one
- that one
- the other one
Note that — not considering the asterisk — the actual text content starts at 4-columns in.
Block quotes are written like so.
They can span multiple paragraphs, if you like.
Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., “it’s all in chapters 12–14”). Three dots … will be converted to an ellipsis. Unicode is supported. ☺
hover An h2 header ————
Here’s a numbered list:
- first item
- second item
- third item
As you probably guessed, indented 4 spaces. By the way, instead of indenting the block, you can use delimited blocks, if you like:
(which makes copying & pasting easier). You can optionally mark the delimited block for Pandoc to syntax highlight it:
An h3 header
Now a nested list:
-
First, get these ingredients:
- carrots
- celery
- lentils
-
Boil some water.
-
Dump everything in the pot and follow this algorithm: <!– find wooden spoon uncover pot stir cover pot balance wooden spoon precariously on pot handle wait 10 minutes goto first step (or shut off burner when done)
Do not bump wooden spoon or it will fall. –>
Notice again how text always lines up on 4-space indents (including that last line which continues item 3 above).
Here’s a link to a website, to a local doc, and to a section heading in the current doc. Here’s a footnote 1.
Tables can look like this:
size material color —- ———— ———— 9 leather brown 10 hemp canvas natural 11 glass transparent
Table: Shoes, their sizes, and what they’re made of
(The above is the caption for the table.) Pandoc also supports multi-line tables:
keyword text ——– ———————– red Sunsets, apples, and other red or reddish things.
green Leaves, grass, frogs and other things it’s not easy being. ——– ———————–
A horizontal rule follows.
Here’s a definition list:
- apples
- Good for making applesauce. oranges
- Citrus! tomatoes
- There’s no “e” in tomatoe.
Again, text is indented 4 spaces. (Put a blank line between each term/definition pair to spread things out more.)
Here’s a “line block”:
| Line one |
| Line too |
| Line tree |
and images can be specified like so:
And note that you can backslash-escape any punctuation characters which you wish to be displayed literally, ex.: `foo`, *bar*, etc.
-
Footnote text goes here. ↩


Episode IV A NEW HOPE
It is a period of civil war. Rebel spaceships, striking from a hidden base, have won their first victory against the evil Galactic Empire.

Pursued by the Empire’s sinister agents, Princess Leia races home aboard her starship, custodian of the stolen plans that can save her people and restore freedom to the galaxy...
start: "top center"
pins this element when the
top
of the red element hits the
center
of the viewport, and remains pinned for 200px because its
end
is defined as
"+=200"


Basically, it is just another YikYak (for now)
ComMi: a Hyperlocal Social Network
*Cơm Mì means rice and noodle
Features
-
→ Beautiful UI
built with love and Flutter. -
Quite Secure
Argon2 + JWT -
Fast
Kotlin + PostgreSQL + Apache Ignite -
Location based chat
PostGIS + GeoHash -
Simple full text search
do -> does, did, done -
18k+ WebSocket
with only 500mb RAM
Backend
Traditional MVC but with...
Clean (Enough) Architecture
Dependent and Independent of Frameworks
Thank to OOP and dependency injection, swapping out a database, injecting a cache layer, or changing an api is easy
-
Functional programming
Less bug-prone, more concise -
DSL for SQL
Safer queries, easy to maintain
Message class(es)
Room Repository
(SQL queries are type-safe)
More DSL
WebSocket
You are not limited to stay in one room only
enum class PayloadTypes {
MESSAGE, NOTIFICATION, MESSAGE_LIST, UPDATE_LOCATION, UPDATE_BY_CID, USER_MESSAGE_INTERACTION, UPDATE_MESSAGE
}
data class TransportPayload(val type: PayloadTypes = PayloadTypes.MESSAGE, val payload: T)
Flutter (Dart)
MVVM Architecture with Reactive Programming
Stream
No threading hassle. Easy to debug because of immutability. No callback hell. No need to pass the whole props to children.
(and I don't like Redux)
Component (Widget) based
Everything is composed of Widgets. UI components either extend stateless widget or stateful widget
It looks like this
@override
void initState() {
super.initState();
WebSocketStreamStore().messagesSubscription
..resume()
..onData((data) => _received(data));
WebSocketStreamStore().updateMessageSubscription
..resume()
..onData((data) => _updateMessage(data));
WebSocketStreamStore().isLoadedSubscription
..resume()
..onData((changed) {
if (mounted && isLoaded != changed)
setState(() {
isLoaded = changed;
});
if (changed) {
WebSocketService.updateLocation(context);
}
});
UIStreamStore.gradientStream.add(UIStreamStore.isPublic ? GradientStyles.aqua : GradientStyles.fuchsia);
}
No reflection in Flutter
So I have to use good old day singleton pattern instead.
Services, Stores, Utils, Configs are singletons
In layman's terms: static
methods and members
Demo
Just download it pleassse !
Future development
A lot of things need to be implemented
Current focus: tasks on demand and token system
One more thing...
Thanks
Lương Thế Minh Quang


{% extends 'base.html' %} {% block title %}q2-coordinates : {{ title }}{% endblock %} {% block content %}
Download results as tsv
Download as PDF


Filter Options
Option 1
Option 2
Option 3
Number of Customers Selected: xxxx
Submit Request
Message Type:
Message Cost:
Message Promotion Cost:
Sending Time Window:
Sending Date:
Submit a Request


Understanding the development directory structure helps to quickly understand the system and facilitate further expansion of development.
├── docs # User manual documentation
├── etc # Configuration directory
│ ├── clients.json
│ ├── dictionarys # Radius protocol dictionary file directory
│ ├── logger.json
│ ├── radiusd.conf
│ └── radiusd.json
└── toughradius # Main source code package
├── setup.py # Package script
├── debug.py # Local development, debugging, running scripts
├── requirements.txt # A list of Python modules used in the development environment
├── Changelog.md # Change logs
├── LICENSE # Software license agreement file
├── Makefile # Software system description
├── README.md


---
layout: post
title: Meego Conference, day 1
categories:
- KDE
- Software Libre
tags: []
status: publish
type: post
published: true
meta:
_edit_last: '2'
_wp_old_slug: ''
dsq_thread_id: '2244589020'
author:
login: afiestas
email<EMAIL_ADDRESS>display_name: afiestas
first_name: Àlex
last_name: Fiestas
---
As you may guess, I'm in Ireland like a lot of other hackers attending the MeeGo conference. I've been here since Saturday and so far I love the city and the people in here, lovely place.
Today (Monday 15) has been the first day of the conference and it has been great, good organization and a good general mood provoked by a mix of "enthusiasm and desire change things". Maybe the worst part of the day has been discovering how little bit people know about us (KDE), many people know more or less what we are (A Desktop), but nothing solid, even some of them got surprised when I told them that the entire KDE SC is made by using Qt, definitely we've room for improvement in spreading our community and our software.
As a final note, today I've got a N900 from Nokia (Thanks!), can't wait to hack on it and try to run Kamoso in there, would be awesome, wouldn't it?
Time to sleep, cyap!


Accessibility Fails: Empty elements and attributes
last updated: 17 February 2016
Language of content
html element has an empty lang attribute
This page has an empty lang attribute on the html element
Page Title
Empty page title
This page has an empty page title
Headings
Empty H1
This page has an empty h1
Implicit heading
This page has a div which is being styled to look like an H1


General
GET /api/groups
Returns a list of groups.
The following query string parameters can be used to filter, sort and paginate the returned list:
| Query String Parameter | Type | Description |
|---|---|---|
filter |
string |
A comma-separated list of filters to limit the results with (see Filtering). See the below table for the list of available filters |
sort |
string |
A comma-separated list of sort criteria (see Sorting). See the below table for the list of available sort criteria |
limit |
integer |
The maximum number of results to return (see Pagination) |
offset |
integer |
The index of the first result to return (see Pagination) |
The following filters are available:
| Filter Name | Description |
|---|---|
name |
Groups where the name specified in the metadata field match |
The list can be sorted by the following criteria:
| Sort Criteria | Description |
|---|---|
name |
By the group name |
description |
By the group description |
role |
By the group role |
members |
By the group members |
roles |
By the group roles |
Sample request
https://opencast.domain.com/api/groups?sort=name:ASC&limit=2&offset=1
Response
200 (OK)
: A (potentially empty) list of groups as JSON array of groups wheres the JSON objects representing groups
have the following fields:
| Field | Type | Description |
|---|---|---|
identifier |
string |
The identifier of the group |
role |
string |
The role of the group |
organization |
string |
The tenant identifier |
roles |
string |
The roles assigned to the group (comma-separated list) |
members |
string |
The list of users that belong to this group (comma-separated list of usernames) |
name |
string |
The name of the group |
description |
string |
The description of the group |
Example
[
{
"identifier": "MH_DEFAULT_ORG_SYSTEM_ADMINS",
"role": "ROLE_GROUP_MH_DEFAULT_ORG_SYSTEM_ADMINS",
"organization": "mh_default_org",
"roles": "ROLE_OAUTH_USER,ROLE_SUDO,ROLE_ADMIN,ROLE_ANONYMOUS",
"members": "admin,admin2",
"name": "Opencast Project System Administrators",
"description": "System administrators of 'Opencast Project'"
},
{
"identifier": "MH_DEFAULT_ORG_EXTERNAL_APPLICATIONS",
"role": "ROLE_GROUP_MH_DEFAULT_ORG_EXTERNAL_APPLICATIONS",
"organization": "mh_default_org",
"roles": "ROLE_EXAMPLE1,ROLE_EXAMPLE2,ROLE_EXAMPLE3",
"members": "apiuser",
"name": "Opencast Project External Applications",
"description": "External application users of 'Opencast Project'"
}
]
GET /api/groups/{group_id}
Returns a single group.
Response
200 (OK)
: The group is returned as JSON object with the following fields:
| Field | Type | Description |
|---|---|---|
identifier |
string |
The identifier of the group |
role |
string |
The role of the group |
organization |
string |
The tenant identifier |
roles |
string |
The roles assigned to the group (comma-separated list) |
members |
string |
The list of users that belong to this group (comma-separated list of usernames) |
name |
string |
The name of the group |
description |
string |
The description of the group |
404 (NOT FOUND)
: The specified group does not exist.
Example
{
"identifier": "MH_DEFAULT_ORG_SYSTEM_ADMINS",
"role": "ROLE_GROUP_MH_DEFAULT_ORG_SYSTEM_ADMINS",
"organization": "mh_default_org",
"roles": "ROLE_OAUTH_USER,ROLE_SUDO,ROLE_ADMIN,ROLE_ANONYMOUS",
"members": "admin,admin2",
"name": "Opencast Project System Administrators",
"description": "System administrators of 'Opencast Project'"
}
POST /api/groups
Creates a group.
| Form Parameters | Required | Type | Description |
|---|---|---|---|
name |
yes | string |
Group Name |
description |
no | string |
Group Description |
roles |
no | string |
Comma-separated list of roles |
members |
no | string |
Comma-separated list of members |
Response
This request does not return data.
201 (CREATED)
: A new group is created.
400 (BAD REQUEST)
: The request is invalid or inconsistent.
409 (CONFLICT)
: The group could not be created because a group with the same name already exists.
PUT /api/groups/{group_id}
Updates a group.
| Form Parameters | Required | Type | Description |
|---|---|---|---|
name |
yes | string |
Group Name |
description |
no | string |
Group Description |
roles |
no | string |
Comma-separated list of roles |
members |
no | string |
Comma-separated list of members |
If any of form parameters are ommited, the respective fields of the group will not be changed.
Response
This request does not return data.
200 (OK)
: The group has been updated.
404 (NOT FOUND)
: The specified group does not exist.
DELETE /api/groups/{group_id}
Deletes a group.
Response
This request does not return data.
204 (NO CONTENT)
: The group has been deleted.
404 (NOT FOUND)
: The specified group does not exist.
Members
POST /api/groups/{group_id}/members
Adds a member to a group.
| Form Parameters | Required | Type | Description |
|---|---|---|---|
member |
yes | string |
The username of the member to be added |
Response
200 (OK)
: The member has been added or was already member of the group.
If the member has been added, the request does not return data. In case that the member already was in the group, the following message is returned as string:
Member is already member of group
404 (NOT FOUND)
: The specified group does not exist.
DELETE /api/groups/{group_id}/members/{member_id}
Removes a member from a group
Response
200 (NO CONTENT)
: The member has been removed.
404 (NOT FOUND)
: The specified group or member does not exist.


The US airport network
THe North American airport network is an interesting graph to examine. The source for this data was a file on Brendan Frey's affinity propagation website. A(i,j) is the negative travel time between two airports. Although the data didn't include the airport locations, I used the Yahoo! Geocoding API to generate a latitude and longitude for each airport.
Contents
The data
load_gaimc_graph('airports');
Plot a histogram for all route time estimates
[si, ti, rt] = find(A);
hist(-rt,100); % times are stored as negative values
Find the lengthiest route
[val,ind] = max(-rt) {labels{si(ind)} labels{ti(ind)}}
val = 2855 ind = 63478 ans = 'Honolulu, HI' 'St. Johns, NL'
Some of the routes include stop overs, so it's probable that is what we find in this case.
Graph analysis: connected?
One of the first questions about any graph should be if it's connected or not.
max(scomponents(A))
ans = 1
There is only one connected component, so the graph is connected.
Distance instead of time
Let's see how the edges correlate distance with estimated travel time.
[ai aj te] = find(A); de = distance(xy(ai,:), xy(aj,:)); plot(de,-te,'.'); xlabel('distance (arclength)'); ylabel('time (?)');
Wow! It's all over the place, but there is a lower bound. Some of these routes can include stop
Minimum spanning tree
This section repeats and extends some analysis in the overall gaimc demo. First, let's recompute the minimum spanning tree based on travel time.
load_gaimc_graph('airports') A = -A; % we store the negative travel time A = max(A,A'); % travel time isn't symmetric T = mst_prim(A); clf; gplot(T,xy); % These next lines plot a map of the US with states colored. ax = worldmap('USA'); load coast geoshow(ax, lat, long,... 'DisplayType', 'polygon', 'FaceColor', [.45 .60 .30]) states = shaperead('usastatelo', 'UseGeoCoords', true); faceColors = makesymbolspec('Polygon',... {'INDEX', [1 numel(states)], 'FaceColor', polcmap(numel(states))}); geoshow(ax, states, 'DisplayType', 'polygon', 'SymbolSpec', faceColors) set(gcf,'Position', [ 52 234 929 702]);
That's the US, now we need to plot our data on top of it.
[X,Y] = gplot(T,xy); % get the information to reproduce a gplot plotm(Y,X,'k.-','LineWidth',1.5); % plot the lines on the map
Let's just look at the continential US too.
clf; ax = usamap('conus'); states = shaperead('usastatelo', 'UseGeoCoords', true, 'Selector',... {@(name) ~any(strcmp(name,{'Alaska','Hawaii'})), 'Name'}); faceColors = makesymbolspec('Polygon',... {'INDEX', [1 numel(states)], 'FaceColor', polcmap(numel(states))}); geoshow(ax, states, 'DisplayType', 'polygon', 'SymbolSpec', faceColors) framem off; gridm off; mlabel off; plabel off set(gcf,'Position', [ 52 234 929 702]); plotm(Y,X,'k.-','LineWidth',1.5); % plot the lines on the map
One interesting aspect of this map is that major airline hubs (Chicago, New York, etc. are not well represented. One possible explaination is that they have larger delays than other regional airports.
Honolulu to St. Johns?
Before, we saw that the lengthiest route was between St. John's and Honolulu. But, does the network have a better path to follow between these cities? Let's check using Dijkstra's shortest path algorithm!
% Reload the network to restore it. load_gaimc_graph('airports') A = -A; % find the longest route again [si, ti, rt] = find(A); [val,ind] = max(rt); % we've already negated above, so no need to redo it start = si(ind); dest = ti(ind); [d pred] = dijkstra(A,start); % compute the distance to everywhere from St. Johns d(dest)
ans = 735
That value is considerably shorter than the direct time. How do we find this awesome route?
path =[]; u = dest; while (u ~= start) path=[u path]; u=pred(u); end fprintf('%s',labels{start}); for i=path; fprintf(' --> %s', labels{i}); end, fprintf('\n');
Honolulu, HI --> Chicago, IL --> Montreal, QC --> St. Johns, NL
All pairs shortest paths
At this point, the right thing to do would be to recompute each edge in the network using an all-pairs shortest path algorithm, and then look at how distance correlates with time in that network. However, I haven't had time to implement that algorithm yet.


|
l8w8jwt
|
#include <decode.h>
Public Attributes | |
| char * | jwt |
| size_t | jwt_length |
| int | alg |
| char * | validate_iss |
| size_t | validate_iss_length |
| char * | validate_sub |
| size_t | validate_sub_length |
| char * | validate_aud |
| size_t | validate_aud_length |
| char * | validate_jti |
| size_t | validate_jti_length |
| int | validate_exp |
| int | validate_nbf |
| int | validate_iat |
| uint8_t | exp_tolerance_seconds |
| uint8_t | nbf_tolerance_seconds |
| uint8_t | iat_tolerance_seconds |
| unsigned char * | verification_key |
| size_t | verification_key_length |
| char * | validate_typ |
| size_t | validate_typ_length |
Struct containing the parameters to use for decoding and validating a JWT.
| int l8w8jwt_decoding_params::alg |
The signature algorithm ID.
[0;2] = HS256/384/512 | [3;5] = RS256/384/512 | [6;8] = PS256/384/512 | [9;11] = ES256/384/512
This affects what should be the value of verification_key
| uint8_t l8w8jwt_decoding_params::exp_tolerance_seconds |
Small inconsistencies in time can happen, or also latency between clients and servers. That's just life. You can forgive a few seconds of expiration, but don't exaggerate this!
Only taken into consideration if validate_exp is set to 1
.
| uint8_t l8w8jwt_decoding_params::iat_tolerance_seconds |
The amount of seconds to subtract from the current time when comparing the "issued at" claim, to allow for a small tolerance time frame. Only taken into consideration if validate_iat is set to 1
.
| char* l8w8jwt_decoding_params::jwt |
The token to decode and validate.
| size_t l8w8jwt_decoding_params::jwt_length |
The jwt string length.
| uint8_t l8w8jwt_decoding_params::nbf_tolerance_seconds |
The amount of seconds to subtract from the current time when comparing the "not before" claim, to allow for a small tolerance time frame. Only taken into consideration if validate_nbf is set to 1
.
| char* l8w8jwt_decoding_params::validate_aud |
[OPTIONAL] The audience claim (who is the JWT intended for? Who is the intended JWT's recipient?).
Set to NULL
if you don't want to validate the audience.
The JWT will only pass verification if its aud
matches this string.
| size_t l8w8jwt_decoding_params::validate_aud_length |
validate_aud string length.
| int l8w8jwt_decoding_params::validate_exp |
Should the expiration claim be verified? If this is set to 1
, the exp
claim will be compared to the current date and time + exp_tolerance_seconds
| int l8w8jwt_decoding_params::validate_iat |
Should the "issued at" claim be verified? If this is set to 1
, the iat
claim will be compared to the current date and time + iat_tolerance_seconds
| char* l8w8jwt_decoding_params::validate_iss |
[OPTIONAL] The issuer claim (who issued the JWT?).
Set to NULL
if you don't want to validate the issuer.
The JWT will only pass verification if its iss
claim matches this string.
| size_t l8w8jwt_decoding_params::validate_iss_length |
validate_iss string length.
| char* l8w8jwt_decoding_params::validate_jti |
[OPTIONAL] The JWT ID. Provides a unique identifier for the token.
Set to NULL
if you don't want to validate the jti claim.
The JWT will only pass verification if its jti
matches this string.
| size_t l8w8jwt_decoding_params::validate_jti_length |
validate_jti claim length.
| int l8w8jwt_decoding_params::validate_nbf |
Should the "not before" claim be verified? If this is set to 1
, the nbf
claim will be compared to the current date and time + nbf_tolerance_seconds
| char* l8w8jwt_decoding_params::validate_sub |
[OPTIONAL] The subject claim (who is the JWT about?).
Set to NULL
if you don't want to validate the subject claim.
The JWT will only pass verification if its sub
matches this string.
| size_t l8w8jwt_decoding_params::validate_sub_length |
validate_sub string length.
| char* l8w8jwt_decoding_params::validate_typ |
[OPTIONAL] The typ claim (what type is the token?).
Set to NULL
if you don't want to validate the "typ" claim.
| size_t l8w8jwt_decoding_params::validate_typ_length |
validate_typ string length.
| unsigned char* l8w8jwt_decoding_params::verification_key |
The key to use for verifying the token's signature (e.g. if you chose HS256 as algorithm, this will be the HMAC secret; for RS512 this will be the PEM-formatted public RSA key string, etc...).
| size_t l8w8jwt_decoding_params::verification_key_length |
Length of the verification_key


|
QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.30
|
#include <ql/experimental/credit/randomdefaultlatentmodel.hpp>
Public Member Functions | |
| simEvent (unsigned int n, unsigned int d) | |
| bool | operator< (const simEvent &evt) const |
Public Attributes | |
| unsigned int | nameIdx: 16 |
| unsigned int | dayFromRef: 16 |
Definition at line 792 of file randomdefaultlatentmodel.hpp.
| simEvent | ( | unsigned int | n, |
| unsigned int | d | ||
| ) |
Definition at line 793 of file randomdefaultlatentmodel.hpp.
| bool operator< | ( | const simEvent< RandomDefaultLM< copulaPolicy, USNG > > & | evt | ) | const |
Definition at line 797 of file randomdefaultlatentmodel.hpp.
| unsigned int nameIdx |
Definition at line 795 of file randomdefaultlatentmodel.hpp.
| unsigned int dayFromRef |
Definition at line 796 of file randomdefaultlatentmodel.hpp.


About
Portfolio
Contact
My Apps and Projects
Park Finder
Jump to the repo
Tech Blog
Jump to the repo
Weather Dashboard
Jump to the repo


pnmscale(1) pnmscale(1) NAME pnmscale - scale a portable anymap SYNOPSIS pnmscale scale_factor [pnmfile] pnmscale -reduce reduction_factor [pnmfile] pnmscale [{-xsize=cols | -width=cols | -xscale=factor}] [{-ysize=rows | -height=rows | -yscale=factor}] [pnmfile] pnmscale -xysize cols rows [pnmfile] pnmscale -pixels n [pnmfile] Miscellaneous options: -verbose -nomix Minimum unique abbreviation of option is acceptable. You may use double hypens instead of single hyphen to denote options. You may use white space in place of the equals sign to separate an option name from its value. DESCRIPTION Reads a PBM, PGM, or PPM image as input, scales it by the specified fac‐ tor or factors and produces a PGM or PPM image as output. If the input file is in color (PPM), the output will be too, otherwise it will be grayscale (PGM). This is true even if the input is a black and white bitmap (PBM), because the process of scaling can turn a combination of black and white pixels into a gray pixel. If you want PBM output, use pgmtopbm to convert pnmscale's output to PBM. Also consider pbmreduce. You can both enlarge (scale factor > 1) and reduce (scale factor < 1). When you specify an absolute size or scale factor for both dimensions, pnmscale scales each dimension independently without consideration of the aspect ratio. If you specify one dimension as a pixel size and don't specify the other dimension, pnmscale scales the unspecified dimension to preserve the aspect ratio. If you specify one dimension as a scale factor and don't specify the other dimension, pnmscale leaves the unspecified dimension unchanged from the input. If you specify the scale_factor parameter instead of dimension options, that is the scale factor for both dimensions. It is equivalent to -xscale=scale_factor -yscale=scale_factor . Specifying the -reduce reduction_factor option is equivalent to specify‐ ing the scale_factor parameter, where scale_factor is the reciprocal of reduction_factor. -xysize specifies a bounding box. pnmscale scales the input image to the largest size that fits within the box, while preserving its aspect ratio. -pixels specifies a maximum total number of output pixels. pnmscale scales the image down to that number of pixels. If the input image is already no more than that many pixels, pnmscale just copies it as output; pnmscale does not scale up with -pixels. If you enlarge by a factor of 3 or more, you should probably add a pnmsmooth step; otherwise, you can see the original pixels in the result‐ ing image. When the scale factor is not an integer (including all cases of scaling down), there are two ways to do the scaling. Which one pnmscale does is controlled by its -nomix option. By default, pnmscale mixes the colors of adjacent pixels to produce out‐ put pixels that contain information from multiple input pixels. This makes the image look more like it would if it had infinite resolution. Note that it means the output may contain colors that aren't in the input at all. But if you specify -nomix, pnmscale never mixes pixels. Each output pixel is derived from one input pixel. If you're scaling up, pixels get duplicated. If you're scaling down, pixels get omitted. Note that this means the image is rather distorted. If you scale up by 1.5 horizon‐ tally, for example, the even numbered input pixels are doubled in the output and the odd numbered ones are copied singly. When the scale factor is an integer (which means you're scaling up), the -nomix option has no effect -- output pixels are always just N copies of the input pixels. In this case, though, consider using pamstretch instead of pnmscale to get the added pixels interpolated instead of just copied and thereby get a smoother enlargement. pnmscale with -nomix is faster than without, but pnmenlarge is faster still. pnmenlarge works only on integer enlargements. A useful application of pnmscale is to blur an image. Scale it down (without -nomix ) to discard some information, then scale it back up using pamstretch. Or scale it back up with pnmscale and create a "pixelized" image, which is sort of a computer-age version of blurring. PRECISION pnmscale uses floating point arithmetic internally. There is a speed cost associated with this. For some images, you can get the acceptable results (in fact, sometimes identical results) faster with pnmscalefixed, which uses fixed point arithmetic. pnmscalefixed may, however, distort your image a little. See pnmscalefixed's man page for a complete discus‐ sion of the difference. SEE ALSO pnmscalefixed(1), pamstretch(1), pbmreduce(1), pnmenlarge(1), pnmsmooth(1), pnmcut(1), pnm(5) AUTHOR Copyright (C) 1989, 1991 by Jef Poskanzer. 04 November 2000 pnmscale(1)


I am trying really hard to get this theme or template, call it whatever you want, to work! The plan is to make this text appear in a card on homepage, and also the image! I am going to try to put the image before and after text, and test what does the content variable take… Also plan is to truncate this text, so that the card stays the same height always!


MasteringLync is the home of the SkypeValidator Website, The Validator Teams App and general information and community blog.
SkypeValidator can be found at https://skypevalidator.com and was created for the planning, documenting and validation of your Skype and Lync deployments.
The Validator Teams App is a soon to be released (we hope) application that brings the power of the SkypeValidator SDK to Microsoft Teams.
The blog is dedicated to Skype for Business 2019/2015 , Microsoft Lync Server 2013/2010 and occasionally Exchange 2013/2010. Our goal is to try to cover everything from the basics to deep dive into the guts of Lync. All content is written by Microsoft Certified Masters and since we know we aren’t the only blog on the planet, we will make sure to link to all of our MCM friends.
All apps and blog are maintained by Richard Brynteson, Teams/Skype/Lync MVP, Microsoft Certified Solutions Master: Lync Server 2013, Microsoft Certified Master: Lync Server 2010 and Senior Systems Architect at Time2Market.


Server
CTServer
public abstract class ToyServer extends Node implements Server
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
f |
|
protected int |
n |
|
protected java.util.concurrent.atomic.AtomicBoolean |
stopped |
| Constructor | Description |
|---|---|
ToyServer(java.lang.String addr,
int wrbPort,
int id,
int channel,
int f,
int maxTx,
boolean fastMode,
WrbNode wrb,
RBrodcastService panic,
RBrodcastService sync) |
Toy server constructor.
|
ToyServer(java.lang.String addr,
int wrbPort,
int id,
int channel,
int f,
int tmo,
int tmoInterval,
int maxTx,
boolean fastMode,
java.util.ArrayList<Node> cluster,
java.lang.String bbcConfig,
java.lang.String panicConfig,
java.lang.String syncConfig,
java.lang.String serverCrt,
java.lang.String serverPrivKey,
java.lang.String caRoot) |
Toy server constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
toy.proto.Types.txID |
addTransaction(toy.proto.Types.Transaction tx) |
Add a transaction to the transaction pool.
|
toy.proto.Types.Block |
deliver(int index) |
Deliver the index_th block and blocks the calling thread
|
void |
gc(int index) |
Clear the data of block i from all layers of the algorithm, leaving only its header in the Blockchain.
|
abstract Blockchain |
getBC(int start,
int end) |
Get sub-blockchain between indexes start and end
|
int |
getBCSize() |
Get the current Blockchain size.
|
int |
getTxPoolSize() |
Get the transaction pool size
|
abstract Blockchain |
initBC(int id,
int channel) |
Initiate the Blockchain of this server
|
int |
isTxPresent(java.lang.String txID) |
Check the state of the transaction with the given txID.
|
toy.proto.Types.Block |
nonBlockingDeliver(int index) |
Deliver the i_th block of the Blockchain.
|
void |
serve() |
Start the server.
|
void |
shutdown() |
Shutting down the server.
|
void |
shutdown(boolean group) |
shutdown the server as either part of Toys (e.g as with Top) or a single server
|
void |
start() |
Initiates the underlying protocols of a Toy based server (i.e bft-SMaRt).
|
void |
start(boolean group) |
Starts the server as either part of Toys (e.g as with Top) or a single server
|
getAddr, getID, getRmfPort
protected int f
protected int n
protected java.util.concurrent.atomic.AtomicBoolean stopped
public ToyServer(java.lang.String addr, int wrbPort, int id, int channel, int f, int maxTx, boolean fastMode, WrbNode wrb, RBrodcastService panic, RBrodcastService sync)
addr
- the ip of the serverwrbPort
- the port on which it receives new blocksid
- server IDchannel
- the number of channels (with single Toy group it is always 1)f
- an upper bound on the number of faulty nodesmaxTx
- max transactions per blockfastMode
- indicates to run a single communication step protocol (rhater than two) by piggybacking
the next block to the first BBC messagewrb
- an instance of wrb servicepanic
- an instance of panic servicesync
- an instance of sync servicepublic ToyServer(java.lang.String addr, int wrbPort, int id, int channel, int f, int tmo, int tmoInterval, int maxTx, boolean fastMode, java.util.ArrayList<Node> cluster, java.lang.String bbcConfig, java.lang.String panicConfig, java.lang.String syncConfig, java.lang.String serverCrt, java.lang.String serverPrivKey, java.lang.String caRoot)
addr
- the ip of the serverwrbPort
- the port on which it receives new blocksid
- server IDchannel
- the number of channels (with a single Toy group it is always 1)f
- an upper bound on the number of faulty nodestmo
- the initial time-out to wait in wrb-delivertmoInterval
- the interval to add to tmo in case wrb was failed to deliver the message
in a single roundmaxTx
- max transactions per blockfastMode
- indicates to run a single communication step protocol (rhater than two) by piggybacking
* the next block to the first BBC messagecluster
- a list of Nodes that compose the networkbbcConfig
- a path to the configuration directory of wrbpanicConfig
- a path to the configuration directory of panicsyncConfig
- a path to the configuration directory of syncserverCrt
- a path to the server certificateserverPrivKey
- a path to the server ssl private keycaRoot
- a path to the ca certificate. If equals to "" the server will trust any certificatepublic void start()
Server
public void start(boolean group)
group
- indicates if this server is part of group of Toys that collaborate
wrb, panic and sync servicespublic void serve()
Server
public void shutdown()
Server
public void shutdown(boolean group)
group
- indicates if this server is part of group of Toys that collaborate
wrb, panic and sync servicespublic void gc(int index)
index
- the block to evacuatepublic abstract Blockchain initBC(int id, int channel)
id
- the server IDchannel
- the channel ID (with a single Toy group this is always 0)public abstract Blockchain getBC(int start, int end)
start
- the index to start with the sub-blockchainend
- the index to end with the sub-blockchainpublic int getTxPoolSize()
public toy.proto.Types.txID addTransaction(toy.proto.Types.Transaction tx)
Server
addTransaction
in interface Server
tx
- the transaction to be addedpublic int isTxPresent(java.lang.String txID)
Server
isTxPresent
in interface Server
txID
- the ID of the transaction to be checkedpublic toy.proto.Types.Block deliver(int index) throws java.lang.InterruptedException
index
- the index of the block to returnjava.lang.InterruptedException
public toy.proto.Types.Block nonBlockingDeliver(int index)
Server
nonBlockingDeliver
in interface Server
index
- the index of the block to be deliveredCopyright © 2018. All rights reserved.


Abstract
This paper investigate how gender and income affect the 2019 election and find that the party should care more about women’s requests since they participate more in the election than men. in addition, the income of people who participate in the election is normally distributed.
Introduction
The objective of the paper is to study how gender and income affect the election via some statistical analysis.
We give the histogram of income and bar chart of gender and find that the income is normally distributed and more women than men participate in the election.
Data
The data set used here is the 2019 Canadian Election Study online survey data with 37882 observations and 22 variables. Here we only consider two of them: gender and income and see the distribution of them. In addition, for the variable income, we only consider people with income of less than $100000.
decon <-
decon%>%
select(education,province_territory)
decon%>%
ggplot(aes(x=province_territory))+
geom_bar()
table(decon$province_territory)
##
## Alberta British Columbia Manitoba
## 4481 4354 1691
## New Brunswick Newfoundland and Labrador Northwest Territories
## 858 633 25
## Nova Scotia Nunavut Ontario
## 1001 26 14808
## Prince Edward Island Quebec Saskatchewan
## 168 8399 1340
## Yukon
## 38
We first give the distribution of gender as above shows. We see more women than men in this plot and we in this way conclude that women are more likely to participate in the election and if the party want to iwn in the election, they should care more about the requests from women.
decon%>%
ggplot(aes(x=education))+
geom_bar()
table(decon$education)
##
## No schooling
## 48
## Some elementary school
## 87
## Completed elementary school
## 288
## Some secondary/ high school
## 1649
## Completed secondary/ high school
## 5865
## Some technical, community college, CEGEP, College Classique
## 4394
## Completed technical, community college, CEGEP, College Classique
## 7702
## Some university
## 3716
## Bachelor's degree
## 9192
## Master's degree
## 3207
## Professional degree or doctorate
## 1575
## Don't know/ Prefer not to answer
## 99
We then give the distribution of income less than $100000. Here we only consider people with income less than $100000 since only those people are representative and people with too high salaries are not representative. From the distribution, the income is closed to be normally distributed centred at about $5000 even a little left skewed.
Discussion
weakness and next steps
Here the data set is derived via online survey and in this way, there may be non-response error. In addition, there may be some other factors that may also affect the election but are not included in the 22 variables. In the further studies, we should include as many as the related factors.
Reference
Paul A. Hodgetts and Rohan Alexander (2020). cesR: Access the CES Datasets a Little Easier.. R package version 0.1.0.
Wickham et al., (2019). Welcome to the tidyverse. Journal of Open Source Software, 4(43), 1686, https://doi.org/10.21105/joss.01686


|
GPGPU-Sim
|
#include <power_stat.h>
Public Member Functions | |
| power_core_stat_t (const struct shader_core_config *shader_config, shader_core_stats *core_stats) | |
| void | visualizer_print (gzFile visualizer_file) |
| void | print (FILE *fout) |
| void | init () |
| void | save_stats () |
Private Attributes | |
| shader_core_stats * | m_core_stats |
| const shader_core_config * | m_config |
| float | average_duty_cycle |
Definition at line 74 of file power_stat.h.
| power_core_stat_t::power_core_stat_t | ( | const struct shader_core_config * | shader_config, |
| shader_core_stats * | core_stats | ||
| ) |
Definition at line 128 of file power_stat.cc.
| void power_core_stat_t::init | ( | ) |
Definition at line 177 of file power_stat.cc.
| void power_core_stat_t::print | ( | FILE * | fout | ) |
Definition at line 145 of file power_stat.cc.
| void power_core_stat_t::save_stats | ( | ) |
Definition at line 237 of file power_stat.cc.
| void power_core_stat_t::visualizer_print | ( | gzFile | visualizer_file | ) |
Definition at line 140 of file power_stat.cc.
|
private |
Definition at line 85 of file power_stat.h.
|
private |
Definition at line 84 of file power_stat.h.
|
private |
Definition at line 83 of file power_stat.h.


Washington DC An Event Apart
July 30- August 1st
Day 1
- Beyond Engagement: the Content Performance Quotient Jeffrey Zeldman, Founder, A Book Apart and A List Apart
- Digital Marketing Strategies for the Busy “Web Master” Sarah Parmenter, Founder, You Know Who
- Scenario-Driven Design Systems Yesenia Perez-Cruz, Design Director, Vox Media
- Graduating to Grid Rachel Andrew, Co-founder, Perch
- Fit For Purpose: Making Sense of the New CSS Eric Meyer, Author, CSS: The Definitive Guide
Day 2
- Tech Humanism: Data, Meaning, and Human Experience Kate O'Neil, CEO, KO Insights
- Why Design Systems Fail Una Kravets, Director of Product Design, Bustle Digital Groups
- Til Launch Do Us Part Dan Mall, Founder & Design Director, SuperFriendly
Find all the slides for this talk
Slide for this conference Day 2 Talk-6 Tech Humanism


about us
When you work with us, you are part of a team of committed collaborators. All aspects of our software development process are integrated, iterative and agile.
Our approach unifies design, development and product management to create exceptional products. We start each project by understanding your business goals, the user’s needs and the product requirements. Then we help translate them into effective and elegant solutions.
services
Before we sign a contract or write a line of code our team will spend the necessary time needed to understand your product vision. The outcome of this scoping session is a proposal or high-level statement of work.
Based on your requirements, we can provide a complete offering or just the pieces you need.
what we do
Design
Our design practice offers a full range of services including branding strategy, interaction and visual design and user experience testing. Throughout your project, our designers create and implement visual designs and workflows, solicit user feedback, and work with you to make sure what gets built is what is needed.
Development
All engineers are fluent in the latest enterprise, mobile and web development technologies. They collaborate with your team to write, test, and improve code on a daily basis, using proven practices such as test-driven development and pair programing.
Product managment
Planning and development is iterative. Because we are constantly coding and testing, the products we build are always ready to go live. This iterative process allows for changes as business requirements evolve.
topworkz
joint
market
worktop
lable
kyiv
contacts
Planning and development is iterative. Because we are constantly coding and testing, the products we build are always ready to go live. This iterative process allows for changes as business requirements evolve.


Flat Icon
Generator
Upload an Icon
Pick an Icon
Icon
Shape:
Circle
Square
Color:
#
Padding:
0
100%
Shadow
Angle:
0
90°
Opacity:
0
100%
Length:
0
100%
Download
×
Select an Icon


The following document contains the results of Checkstyle 8.4 with checkstyle.xml ruleset.
| Category | Rule | Violations | Severity |
|---|---|---|---|
| imports | CustomImportOrder
|
12 | Warning |
| indentation | CommentsIndentation | 1 | Warning |
Indentation
|
1 | Warning | |
| javadoc | JavadocMethod
|
3 | Warning |
| JavadocParagraph | 75 | Warning | |
| JavadocTagContinuationIndentation | 2 | Warning | |
| NonEmptyAtclauseDescription | 16 | Warning | |
SummaryJavadoc
|
8 | Warning | |
| naming | ParameterName
|
1 | Warning |
| sizes | LineLength
|
24 | Warning |
| whitespace | OperatorWrap
|
1 | Warning |
WhitespaceAround
|
1 | Warning |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | imports | CustomImportOrder | Wrong lexicographical order for 'java.util.function.Supplier' import. Should be before 'org.apache.ibatis.logging.Log'. | 20 |
| Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 47 |
| Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 53 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | naming | ParameterName | Parameter name 'aClass' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'. | 27 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 31 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 23 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 62 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 135). | 76 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 128 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 138 |
| Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 144 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 159 |
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 285 |
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 307 |
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 310 |
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 332 |
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 343 |
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 385 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 124). | 409 |
| Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 468 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 49 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 49 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 54 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 54 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 57 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 57 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 91 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 103 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 104 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 122 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 123 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 124 |
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 407 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 183). | 408 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 124). | 416 |
| Warning | indentation | CommentsIndentation | Block comment has incorrect indentation level 4, expected is 2, indentation should be the same level as line 425. | 419 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 140). | 446 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 57 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 155). | 84 |
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 106 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 121). | 128 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 140). | 133 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 134). | 136 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 134). | 140 |
| Warning | indentation | Indentation | 'method def rcurly' has incorrect indentation level 0, expected level should be 2. | 143 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 127). | 149 |
| Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 160 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 165 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 166 |
| Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 182 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 121). | 288 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 121). | 304 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | imports | CustomImportOrder | Wrong lexicographical order for 'java.lang.annotation.Documented' import. Should be before 'org.springframework.context.annotation.Import'. | 20 |
| Warning | imports | CustomImportOrder | Wrong lexicographical order for 'java.lang.annotation.ElementType' import. Should be before 'org.springframework.context.annotation.Import'. | 21 |
| Warning | imports | CustomImportOrder | Wrong lexicographical order for 'java.lang.annotation.Retention' import. Should be before 'org.springframework.context.annotation.Import'. | 22 |
| Warning | imports | CustomImportOrder | Wrong lexicographical order for 'java.lang.annotation.RetentionPolicy' import. Should be before 'org.springframework.context.annotation.Import'. | 23 |
| Warning | imports | CustomImportOrder | Wrong lexicographical order for 'java.lang.annotation.Target' import. Should be before 'org.springframework.context.annotation.Import'. | 24 |
| Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 43 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 39 |
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 41 |
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 44 |
| Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 47 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 123). | 111 |
| Warning | whitespace | OperatorWrap | '+' should be on a new line. | 132 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | javadoc | SummaryJavadoc | Summary javadoc is missing. | 32 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 121). | 35 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 34 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 34 |
| Warning | javadoc | JavadocTagContinuationIndentation | Line continuation have incorrect indentation level, expected level should be 4. | 78 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | imports | CustomImportOrder | Wrong lexicographical order for 'java.util.Map' import. Should be before 'org.mybatis.spring.batch.MyBatisCursorItemReader'. | 21 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | imports | CustomImportOrder | Wrong lexicographical order for 'java.util.Map' import. Should be before 'org.mybatis.spring.batch.MyBatisPagingItemReader'. | 21 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | imports | CustomImportOrder | Wrong lexicographical order for 'org.mybatis.spring.mapper.ClassPathMapperScanner' import. Should be before 'org.mybatis.spring.mapper.MapperFactoryBean'. | 21 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 127). | 66 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 124). | 89 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | imports | CustomImportOrder | Wrong lexicographical order for 'java.lang.annotation.Annotation' import. Should be before 'org.springframework.util.StringUtils'. | 34 |
| Warning | imports | CustomImportOrder | Wrong lexicographical order for 'java.util.Arrays' import. Should be before 'org.springframework.util.StringUtils'. | 35 |
| Warning | imports | CustomImportOrder | Wrong lexicographical order for 'java.util.Set' import. Should be before 'org.springframework.util.StringUtils'. | 36 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 44 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 44 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 140). | 158 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 122). | 183 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 129). | 192 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 124). | 194 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 129). | 198 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 29 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 29 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 47 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 47 |
| Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 116 |
| Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 125 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 143 |
| Warning | javadoc | JavadocTagContinuationIndentation | Line continuation have incorrect indentation level, expected level should be 4. | 153 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 46 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 46 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 50 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 50 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 53 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 53 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 60 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 60 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 68 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 68 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 74 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 74 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 76 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 76 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 143). | 94 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 122 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 122 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 124 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 124 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 136 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 145 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 145 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 148 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 148 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 159 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 159 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 162 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 162 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 175 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 175 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 178 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 189 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 189 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 206 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 206 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 209 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 220 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 220 |
| Warning | javadoc | SummaryJavadoc | Summary javadoc is missing. | 233 |
| Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 237 |
| Warning | sizes | LineLength | Line is longer than 120 characters (found 129). | 317 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 28 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 28 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 31 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 31 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 57 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 99 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 36 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 36 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 39 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 39 |
| Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 76 |
| Warning | javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 76 |


1. Tutorial Overview
The goals of this tutorial are to:
- Provide an overall understanding of the Pantheon project.
- Show a workflow as designed to run on Summit.
- Provide hands-on examples of a workflow adapted to run in the tutorial VM.
- During this we will run the workflow, change files, and re-run the workflow. This will demonstrate the different steps, and how easy it is to experiment with a Pantheon workflow.
Tutorial Instructions
The tutorial is organized as a set of web pages with code examples and commands that are
to be pasted into the shell as you work. Code snippets look like this:
# this is some code
a = b
Things that are to be cut and pasted into the shell look like this:
this is to be cut and pasted into the shell
Please note that copy and paste are different in Firefox and the shell:

|
| copy
| paste
|
| Firefox |
Ctrl+C |
Ctrl+V |
| Shell |
Shift+Ctrl+C |
Shift+Ctrl+V |


We exchange cats!
- seize clicks-and-mortar mindshare
- architect ubiquitous schemas
- synthesize best-of-breed communities
- exploit scalable technologies
- architect B2B methodologies
- embrace web-enabled action-items
- reintermediate ubiquitous e-business
- redefine proactive relationships


Driver of stolen car wanted in fatal hit-and-run of woman outside Jamaica Station
by Eyewitness NewsJAMAICA, Queens (WABC) -- Police say a pedestrian was killed when she was struck by a stolen vehicle in Queens Tuesday night.
The crash happened at about 9:15 p.m. on Archer Avenue and Sutphin Boulevard in Jamaica.
According to police, the driver traveling in a stolen Hyundai Sonata jumped a curb and hit the woman, who was pinned under the vehicle.
 His injury was minor, but the victim died at the hospital.
The driver apparently ran away from the scene.
Police had at first detained a 38-year-old neighborhood man, but later determined he was not involved in the crash.
Officials are now examining surveillance cameras in the area to try to find video of the person behind the wheel.


Fortnite Stat Tracker
Home
(current)
About
Services
Contact
Stat Tracker
Username
Platform
PC
PS4
Xbox
Find user
{% print(accountName) %}
Account Stats:
{% for stat in stats %}
{{ stat }}
{% endfor %}


The Basics of Creating Rails Plugins¶ ↑
A Rails plugin is either an extension or a modification of the core framework. Plugins provide:
-
A way for developers to share bleeding-edge ideas without hurting the stable code base.
-
A segmented architecture so that units of code can be fixed or updated on their own release schedule.
-
An outlet for the core developers so that they don't have to include every cool new feature under the sun.
After reading this guide, you will know:
-
How to create a plugin from scratch.
-
How to write and run tests for the plugin.
This guide describes how to build a test-driven plugin that will:
-
Extend core Ruby classes like Hash and String.
-
Add methods to
ActiveRecord::Base
in the tradition of theacts_as
plugins. -
Give you information about where to put generators in your plugin.
For the purpose of this guide pretend for a moment that you are an avid bird watcher. Your favorite bird is the Yaffle, and you want to create a plugin that allows other developers to share in the Yaffle goodness.
Setup¶ ↑
Currently, Rails plugins are built as gems, gemified plugins. They can be shared across different rails applications using RubyGems and Bundler if desired.
Generate a gemified plugin.¶ ↑
Rails ships with a rails plugin new
command which creates a
skeleton for developing any kind of Rails extension with the ability to run
integration tests using a dummy Rails application. Create your plugin with
the command:
$ rails plugin new yaffle
See usage and options by asking for help:
$ rails plugin new --help
Testing Your Newly Generated Plugin¶ ↑
You can navigate to the directory that contains the plugin, run the
bundle install
command and run the one generated test using
the rake
command.
You should see:
1 runs, 1 assertions, 0 failures, 0 errors, 0 skips
This will tell you that everything got generated properly and you are ready to start adding functionality.
Extending Core Classes¶ ↑
This section will explain how to add a method to String that will be available anywhere in your rails application.
In this example you will add a method to String named
to_squawk
. To begin, create a new test file with a few
assertions:
# yaffle/test/core_ext_test.rb require 'test_helper' class CoreExtTest < ActiveSupport::TestCase def test_to_squawk_prepends_the_word_squawk assert_equal "squawk! Hello World", "Hello World".to_squawk end end
Run rake
to run the test. This test should fail because we
haven't implemented the to_squawk
method:
1) Error: CoreExtTest#test_to_squawk_prepends_the_word_squawk: NoMethodError: undefined method `to_squawk' for "Hello World":String /path/to/yaffle/test/core_ext_test.rb:5:in `test_to_squawk_prepends_the_word_squawk'
Great - now you are ready to start development.
In lib/yaffle.rb
, add require
'yaffle/core_ext'
:
# yaffle/lib/yaffle.rb require 'yaffle/core_ext' module Yaffle end
Finally, create the core_ext.rb
file and add the
to_squawk
method:
# yaffle/lib/yaffle/core_ext.rb String.class_eval do def to_squawk "squawk! #{self}".strip end end
To test that your method does what it says it does, run the unit tests with
rake
from your plugin directory.
2 runs, 2 assertions, 0 failures, 0 errors, 0 skips
To see this in action, change to the test/dummy directory, fire up a console and start squawking:
$ bin/rails console >> "Hello World".to_squawk => "squawk! Hello World"
Add an “acts_as” Method to Active Record¶ ↑
A common pattern in plugins is to add a method called
acts_as_something
to models. In this case, you want to write a
method called acts_as_yaffle
that adds a squawk
method to your Active Record models.
To begin, set up your files so that you have:
# yaffle/test/acts_as_yaffle_test.rb require 'test_helper' class ActsAsYaffleTest < ActiveSupport::TestCase end
# yaffle/lib/yaffle.rb require 'yaffle/core_ext' require 'yaffle/acts_as_yaffle' module Yaffle end
# yaffle/lib/yaffle/acts_as_yaffle.rb module Yaffle module ActsAsYaffle # your code will go here end end
Add a Class Method¶ ↑
This plugin will expect that you've added a method to your model named
last_squawk
. However, the plugin users might have already
defined a method on their model named last_squawk
that they
use for something else. This plugin will allow the name to be changed by
adding a class method called yaffle_text_field
.
To start out, write a failing test that shows the behavior you'd like:
# yaffle/test/acts_as_yaffle_test.rb require 'test_helper' class ActsAsYaffleTest < ActiveSupport::TestCase def test_a_hickwalls_yaffle_text_field_should_be_last_squawk assert_equal "last_squawk", Hickwall.yaffle_text_field end def test_a_wickwalls_yaffle_text_field_should_be_last_tweet assert_equal "last_tweet", Wickwall.yaffle_text_field end end
When you run rake
, you should see the following:
1) Error: ActsAsYaffleTest#test_a_hickwalls_yaffle_text_field_should_be_last_squawk: NameError: uninitialized constant ActsAsYaffleTest::Hickwall /path/to/yaffle/test/acts_as_yaffle_test.rb:6:in `test_a_hickwalls_yaffle_text_field_should_be_last_squawk' 2) Error: ActsAsYaffleTest#test_a_wickwalls_yaffle_text_field_should_be_last_tweet: NameError: uninitialized constant ActsAsYaffleTest::Wickwall /path/to/yaffle/test/acts_as_yaffle_test.rb:10:in `test_a_wickwalls_yaffle_text_field_should_be_last_tweet' 4 runs, 2 assertions, 0 failures, 2 errors, 0 skips
This tells us that we don't have the necessary models (Hickwall and Wickwall) that we are trying to test. We can easily generate these models in our “dummy” Rails application by running the following commands from the test/dummy directory:
$ cd test/dummy $ bin/rails generate model Hickwall last_squawk:string $ bin/rails generate model Wickwall last_squawk:string last_tweet:string
Now you can create the necessary database tables in your testing database by navigating to your dummy app and migrating the database. First, run:
$ cd test/dummy $ bin/rake db:migrate
While you are here, change the Hickwall and Wickwall models so that they know that they are supposed to act like yaffles.
# test/dummy/app/models/hickwall.rb class Hickwall < ActiveRecord::Base acts_as_yaffle end # test/dummy/app/models/wickwall.rb class Wickwall < ActiveRecord::Base acts_as_yaffle yaffle_text_field: :last_tweet end
We will also add code to define the acts_as_yaffle
method.
# yaffle/lib/yaffle/acts_as_yaffle.rb module Yaffle module ActsAsYaffle extend ActiveSupport::Concern included do end module ClassMethods def acts_as_yaffle(options = {}) # your code will go here end end end end ActiveRecord::Base.send :include, Yaffle::ActsAsYaffle
You can then return to the root directory (cd ../..
) of your
plugin and rerun the tests using rake
.
1) Error: ActsAsYaffleTest#test_a_hickwalls_yaffle_text_field_should_be_last_squawk: NoMethodError: undefined method `yaffle_text_field' for #<Class:0x007fd105e3b218> activerecord (4.1.5) lib/active_record/dynamic_matchers.rb:26:in `method_missing' /path/to/yaffle/test/acts_as_yaffle_test.rb:6:in `test_a_hickwalls_yaffle_text_field_should_be_last_squawk' 2) Error: ActsAsYaffleTest#test_a_wickwalls_yaffle_text_field_should_be_last_tweet: NoMethodError: undefined method `yaffle_text_field' for #<Class:0x007fd105e409c0> activerecord (4.1.5) lib/active_record/dynamic_matchers.rb:26:in `method_missing' /path/to/yaffle/test/acts_as_yaffle_test.rb:10:in `test_a_wickwalls_yaffle_text_field_should_be_last_tweet' 4 runs, 2 assertions, 0 failures, 2 errors, 0 skips
Getting closer… Now we will implement the code of the
acts_as_yaffle
method to make the tests pass.
# yaffle/lib/yaffle/acts_as_yaffle.rb module Yaffle module ActsAsYaffle extend ActiveSupport::Concern included do end module ClassMethods def acts_as_yaffle(options = {}) cattr_accessor :yaffle_text_field self.yaffle_text_field = (options[:yaffle_text_field] || :last_squawk).to_s end end end end ActiveRecord::Base.send :include, Yaffle::ActsAsYaffle
When you run rake
, you should see the tests all pass:
4 runs, 4 assertions, 0 failures, 0 errors, 0 skips
Add an Instance Method¶ ↑
This plugin will add a method named 'squawk' to any Active Record object that calls 'acts_as_yaffle'. The 'squawk' method will simply set the value of one of the fields in the database.
To start out, write a failing test that shows the behavior you'd like:
# yaffle/test/acts_as_yaffle_test.rb require 'test_helper' class ActsAsYaffleTest < ActiveSupport::TestCase def test_a_hickwalls_yaffle_text_field_should_be_last_squawk assert_equal "last_squawk", Hickwall.yaffle_text_field end def test_a_wickwalls_yaffle_text_field_should_be_last_tweet assert_equal "last_tweet", Wickwall.yaffle_text_field end def test_hickwalls_squawk_should_populate_last_squawk hickwall = Hickwall.new hickwall.squawk("Hello World") assert_equal "squawk! Hello World", hickwall.last_squawk end def test_wickwalls_squawk_should_populate_last_tweet wickwall = Wickwall.new wickwall.squawk("Hello World") assert_equal "squawk! Hello World", wickwall.last_tweet end end
Run the test to make sure the last two tests fail with an error that contains “NoMethodError: undefined method `squawk'”, then update 'acts_as_yaffle.rb' to look like this:
# yaffle/lib/yaffle/acts_as_yaffle.rb module Yaffle module ActsAsYaffle extend ActiveSupport::Concern included do end module ClassMethods def acts_as_yaffle(options = {}) cattr_accessor :yaffle_text_field self.yaffle_text_field = (options[:yaffle_text_field] || :last_squawk).to_s include Yaffle::ActsAsYaffle::LocalInstanceMethods end end module LocalInstanceMethods def squawk(string) write_attribute(self.class.yaffle_text_field, string.to_squawk) end end end end ActiveRecord::Base.send :include, Yaffle::ActsAsYaffle
Run rake
one final time and you should see:
6 runs, 6 assertions, 0 failures, 0 errors, 0 skips
NOTE: The use of write_attribute
to write to the field in
model is just one example of how a plugin can interact with the model, and
will not always be the right method to use. For example, you could also
use:
send("#{self.class.yaffle_text_field}=", string.to_squawk)
Generators¶ ↑
Generators can be included in your gem simply by creating them in a lib/generators directory of your plugin. More information about the creation of generators can be found in the Generators Guide
Publishing Your Gem¶ ↑
Gem plugins currently in development can easily be shared from any Git repository. To share the Yaffle gem with others, simply commit the code to a Git repository (like GitHub) and add a line to the Gemfile of the application in question:
gem 'yaffle', git: 'git://github.com/yaffle_watcher/yaffle.git'
After running bundle install
, your gem functionality will be
available to the application.
When the gem is ready to be shared as a formal release, it can be published to RubyGems. For more information about publishing gems to RubyGems, see: Creating and Publishing Your First Ruby Gem.
 Luckily, writing documentation for your plugin is easy.
The first step is to update the README file with detailed information about how to use your plugin. A few key things to include are:
-
Your name
-
How to install
-
How to add the functionality to the app (several examples of common use cases)
-
Warnings, gotchas or tips that might help users and save them time
Once your README is solid, go through and add rdoc comments to all of the methods that developers will use. It's also customary to add '#:nodoc:' comments to those parts of the code that are not included in the public API.
Once your comments are good to go, navigate to your plugin directory and run:
$ bin/rake rdoc


I'm Dimpu Aravind Buddha
- I work for Media Systems
- I do HTML
- I do CSS
- I do JavaScript
- I do php,perl,node.js
What are we gonna see?
- Understanding JavaScript
- JavaScript call Stack
- Understanding Events
- Meet the Queue
- Serial vs Parallel codeing
- The Event Loop
What are you?
A simple
- Single threaded
- Non-blocking
- Asynchronous
- Concurrent
- Runtime
How do you work?
I have
- Call Stack
- a Heap
- An Event Loop
- a callback queue
- some other apis
Stacks?
Stacks are basic data strictures. JavaScript use it at runtime.
//stack.js
function msg(str){
console.log(str)
}
function foo(msg){
msg(msg)
}
function bar(){
foo("im bar");
}
bar();
setTimeout is a async function
//timerloop.js
for (var i = 1; i < 9; i++) {
setTimeout(function(){
document.write(i +"
"); //expect 1 2 3 ...
}, 0);
};
Why?
- There’s only one variable named i, scoped by the declaration var i
- After the loop, i === 4, having been incremented until it failed the condition i <= 3
- JavaScript event handlers don’t run until the thread is free.
One more with perfect time value
//timer loop
var start = new Date;
setTimeout(function(){
var end = new Date;
document.write('Time elapsed:', end - start, 'ms');
}, 500);
while (new Date - start < 1000) {};
Meet the Queue
Why Queue?
- JavaScript is a single thred.
- It will stores the event handler function in Queues
- When event is eligible it will be fired if the thread is free
Serial vs Parallel code
code blocking
for(var i=1; i < 100; i++){
var result=db.query("SELECT * FROM users WHERE id= ?",i);
console.log(result);
};
non-blocking
function queryHandle(res){
console.log(res)
}
for(var i=1; i < 100; i++){
db.query("SELECT * FROM users WHERE id="+i,queryHandle);
};
The Event Loop
What does it do?
- Event loop engine is responsible for watch over all event in environment.
- It will look for two things events and there call back.
- When an event occors it will fire the corresponding callback.
- We can remove any event any time.
What's Next?
- Distributing Events(PubSub)
- Promises
- Deferreds
- Flow Control
- The Web Workers
- Async Script Loading
Questions?
Bye....


This diagram illustrates how content may overflow a box.
Two boxes are shown. The first one has a red border and is labeled DIV. The upper left corner of the second box, labeled BLOCKQUOTE, is positioned in the middle of the DIV box. The BLOCKQUOTE box has a black dashed border and contains the following text, attributed to Groucho Marx: "I didn't like the play, but then again I saw it under adverse conditions - the curtain was up." The BLOCKQUOTE box overflows the DIV box to the right and below it. Since the 'overflow' property on BLOCKQUOTE is 'visible', the overflowing text remains visible.


--- layout: post title: Rails Rspec total test time error date: 2013-03-04 19:04:29.000000000 -06:00 type: post published: true status: publish categories: - Ruby on Rails tags: [] meta: _edit_last: '15714693' _zemanta_has_recommendations: '1' publicize_reach: a:2:{s:7:"twitter";a:1:{i:482036;i:240;}s:2:"wp";a:1:{i:0;i:27;}} publicize_twitter_user: broberts_az _wpas_done_482036: '1' _publicize_done_external: a:1:{s:7:"twitter";a:1:{i:199393780;b:1;}} _wpas_skip_482036: '1' author: login: broberts65 email<EMAIL_ADDRESS>display_name: Bob Roberts first_name: '' last_name: '' ---
So I was getting this crazy value for the total time to run my Rspec tests. It was like a bizarre decimal. I never really cared until I started to try to speed up my tests.
It took me longer to find the solution than it took to fix it. If you are not getting a actual positive number in Rspec tests it might be Timecop. We are using Timecop and the time was frozen, hence the crazy total time. After running a test using Timecop, just add Timecop.return.
Piece of cake!!


This page will update automatically every {{=update_speed}} seconds until your file has been processed.
Next update in {{=update_speed}} seconds.


None
Low
Medium
High
Question #2: Which audience are you the most interested in reaching?
Faculty or Researchers
Students
Librarians or Colleagues
Public, Community or Wide Audience
Question #3: Choose the strengths that best describe you.
Connecting to others and working together
Enthusiasm and learning from experiments
Knowledge and Experience
New ideas and learning new things
Question #4: How much do you partner with others for open access week?
It's mostly me
Primarily me, with some help from others
It's a team effort!
Working with partners outside my organization
Question #5: What kind of materials do you have access to now?
None
Pre-made items from professional organizations
I have a budget from my organization
No materials, but the help of others
Question #6: What kind of activity are you interested in working on the most?
Virtual
Workshops
Activism or Advocacy
Events
Your result is:


Drop image here.
What is this?
Resemble.js analyses and compares images with HTML5 canvas and JavaScript.
Try it for yourself.
Resemble.js analyses and compares images with HTML5 canvas and JavaScript.
Try it for yourself.


We examined the competitor landscape and as a result of this we modernised the logo and then went on to look at the brand imagery and layout.
The large rotating images that we designed really communicate Coffee Seller’s range of products. What’s more, by increasing the size of the images on the product listing pages we were able to increase the chance of sales.
The website was built in an ecommerce content management system called Magento. We used the existing framework and re-skinned the site with the new design. We also fixed some of the bugs in the system, made the navigation more intuitive and responsive and made the overall site faster to use.
Site address: www.coffeeseller.com
"From start to finish I have been extremely impressed by the service provided by say web design. From day one they were willing to listen to my ideas and suggest their own. Along the way we had a few issues with the website, but they were willing to fix these straight away to ensure the site suffered little down time. For a professional and quick service, I would defiantly recommend say web design."
Ross Wright, Marketing Manager


Family says dog euthanized after being crushed by FedEx package
by Johari CantyLOS ANGELES (WSVN) — A Los Angeles family said they had to euthanize their beloved dog after she was severely injured by a FedEx package.

“I immediately picked up the box, and Cooper was in a puddle of blood,” Galin told the station.
The family took Cooper to the vet where the doctor determined she had suffered serious injuries to her lungs and liver. The family ultimately made the decision to have Cooper euthanized.
FedEx released a statement to KCBS saying they would investigate the incident.
“We extend our deepest sympathies to the family of the pet involved in this incident,” FedEx said. “We take this matter very seriously and are working directly with those involved to determine the circumstances behind this event. Based on the outcome of our investigation, we will take the appropriate action.”
However, the family said that’s not enough, and they want FedEx to implement a policy change prohibiting drivers from throwing packages.


| {{publication.id}} |
{{publication.pub_med_id}}
|
{{publication.User.fullName}}
|
{{publication.pub_date}}
|
{{publication.e_pub_date}}
|
{{publication.pub_med_date}}
|
{{publication.source}}
|
{{publication.authors | truncate:110}}
|
{{publication.last_author}}
|
{{publication.title | truncate:110}}
|
{{publication.volume}}
|
{{publication.issue}}
|
{{publication.pages}}
|
{{publication.languages}}
|
{{publication.nlm_unique_id}}
|
{{publication.issn}}
|
{{publication.essn}}
|
{{publication.pub_types}}
|
{{publication.record_status}}
|
{{publication.pub_status}}
|
{{publication.full_journal_name}}
|
|
|


This is the original version of my homepage
Try to type cd example; flavor apply apple in your command line!


We would like to automate the way our team captures donations in real time and send
receipts, current process is manual and not smooth, we'd like to be able to build
a mobile app for our volunteers so they can capture in an easy and intuitive way
a given donors details and also capture any donations they may have. Volunteers
should also be able to send/resend the reciepts via whatsapp, email and text messages.
https://smiles.care/
[X]
We would like to automate the way our new joinees are onboarded via a very easy
to use mobile app integrated tightly with our google drive account that helps us
on board the new joinee by auto creating their email id, capturing their contact
information and helps them upload all of their employment verification documents
electronically and organize automatically in google drive in a folder dedicated
to the new employee.
https://simbaquartz.com/
[X]
Hoverrobotix is a hoverboard selling company. We would like to re-design the
front-end of our website i.e www.hoverrobotix.com.
The website should be mobile
friendly and should be able to load efficiently on less bandwidth.
We would like to have a mobile version (Android and iOS) of our web-app i.e
www.hoverrobotix.com. Note:- It should be a native app.
[X]
This a open problem presented by the
OWASP THAPAR STUDENT CHAPTER
Under this category you are allowed to present any original innovative idea.
The idea must solve general problem faced by citizens of the India.
The project will be judged based on the level of innovation and uniquness of the idea.
[X]


Learning Journal
Code Fellows: Python Development Accelerator
Seattle, Summer 2015
- a project by tanner lake -
Home
New Entry
Entry Title:
Entry Content:


Welcome To Laptop Brands Website
Register
This website has more advance features that makes it looks batter, also they use more colors and advance styling by using CSS and javascript classes.I did recognized some HTML elements like 'div' and 'header' and the 'a tag'.


Second arrest after reports of two men entering pub 'with a firearm and assaulting staff member'
A 29-year-old man had previously been arrested and remains in police custody
by Ben ReidA second man has been arrested on suspicion of robbery following reports of two men entering a pub 'with a firearm'.
Nottinghamshire Police were called just before 6.45am on Saturday, November 24 to a report that two men had entered The Woodend pub in Chesterfield Road, Huthwaite with a firearm and assaulted a member of the pub’s cleaning staff.
It was reported that two bottles of spirits and a charity collection box were stolen in the incident.
A 29-year-old man had previously been arrested and remains in police custody.
And now a 26-year-old man has also been arrested in connection with the incident.
If you saw what happened, you should call Nottinghamshire Police on 101, quoting incident number 195 of 23 November 2019.


Clinical Benzema Inspires Real To Thumping WIn
by SL InternationalLaLiga
Result: Eibar 0-4 Real Madrid
Date: 09 November 2019
Venue: Ipurua Municipal Stadium
Karim Benzema continued his impressive start to the season after netting a brace as Real Madrid thumped Eibar 4-0 in LaLiga on Saturday evening.
Los Blancos got the ball rolling on 17 minutes when as Federico Valverde did well to tee up Karim Benzema, who made no mistake from close range for his eighth league of the season.
Three minutes later, the visitors were awarded a penalty after Eden Hazard was brought down in the box. Sergio Ramos stepped up, just as he did earlier this, and converted from 12-yards out to double the lead.
Los Blancos were awarded a second penalty in the 29th minute as Cote was judged to have brought down Lucas Vazquez. However, Benzema took responsibility this time and calmly slotted home for his second and Real's third.
Choose the right midfielder for SA's Real Madrid Dream Team & win a replica shirt!
At the other end, Real shot-stopper Thibaut Courtois enjoyed a quiet opening 45 minutes between the sticks, despite Eibar's late forays in the latter stages of the half.
Zinedine Zidane's troops picked up from where they left off in the first after bagging a fourth goal on the hour mark as a superb pass from Luka Modric found Valverde, who slotted into the bottom corner.
With the visitors' comfortably leading, Zidane opted to withdraw Hazard and Valverde for the final 20 minutes as Vinicius Junior and Isco made their way onto the pitch.
Eibar were unable to trouble the Los Blancos goal in the latter stages of the half as Zidane's changes ran out comfortable winners on the night.


Robert Harris (Arrow)
Paris, 1895: an army officer, Georges Picquart, watches a convicted spy, Alfred Dreyfus, being publicly humiliated in front of a baying crowd. Dreyfus is exiled for life to Devil’s Island; Picquart is promoted to run the intelligence unit that tracked him down.
Mo Hayder (Bantam)
Night is falling as murder detective Jack Caffrey arrives to interview the distraught victim of a car-jacking. What he hears horrifies him. The car was taken by force, and on the back seat was a passenger. An eleven-year-old girl. Who is still missing. Before long the jacker starts to communicate with the police.


| DOSE: |
18 mg |
oral |
2C-B |
(powder / crystals) |
Sucks that the Trivials Have Traveled Not Unscathed By Our Dangerous Drug Laws
Being a lonesome lad in the coveted halls of the chemically deranged, I decided to make some 2-cb, otherwise known by the knowledgeable as 4-bromo-2,5-dimethoxyphenethylamine, in the same manner as Leminger saw fit to make vicarious phenethylamines from nitrostyrenes (nitrovinylbenzenes)…ahhhhh, isn’t zinc such a wonderfully simple reducing reagent?
So, 2,5-dimethoxyphenethylamine was brominated ala Shulgin, this reaction went terrifically, however, my attempt to convert to and isolated the HCl salt fell short of adequate. But, in the end a modest amount of 2-cb was obtained and due to its potency (~18mg a hit!) the overall feeling was one of pleasure.
I first tried 15.6mg while at work, incidentally this was the day that I had to train a young woman who began working on the synthetic project I had been developing for four months. I weighed out the amount while fellow coworkers were walking and talking around me…who could possibly know that a chemical made illegal by our inept legislation was being weighed and not some chemical that would be working towards an awesome JACKS publication…yeahs its spelled wrong but who gives an eff?
I started training the woman on how to cook like I do; she seemed very new to the whole make a molecule thing and I could tell that I was in for a long summer, but nonetheless I made myself have patience with her this day and began to train. About an hour after taking 2-cb I began to feel a bit of something, but what I could not tell. About this time I got another colleague to help the woman and I use an HPLC instrument. As he was explaining the ins and outs of the instrument, I began to feel the compound come on in a distinct way. I felt a bit like I wanted to salivate and well you know the feeling…maybe you don’t.  But, I did none of those things except listen to how the pressure of the column must not change rapidly for that would surely damage it.
While this was going on, I experienced noticeable trails and a quickening and broadening of thought all the while maintaining clarity and confidence that I had never experienced before while on psychedelics in a social environment. Like most phenethylamines/amphetamines it gave me loads of energy and interest in whatever I was doing and of course make me feel pretty darn good. But at this dosage it was easily handled even in populated areas.
One thing I will give this chemical is its renowned ability to spark the libido if that has not been sparked in a while. I work next to another woman (one of the very few women on our floor…science has the effect of attracting few women and even fewer attractive women) and while on this substance I felt a horniness that was almost uncontrollable!  UNBELIEVABLE!
When the compound finally began to wane, a little over 5 hours, I experienced a euphoric afterglow for another 3-4 hours even though all visual and somatic effects were long gone. An irresistible urge to smile was ever present.
I tried this compound again numerous times, but the most memorable was my hike to a wonderful lake in the mountains (9000ft!, and 18mg) in the wilderness that is my city’s playground…the lake by the way is called Lake Blanche and was carved out by a receding glacier many many years ago. So, I took about 18mg of the compound and went to pick up my rental car to transport me to the mountains. I ran some errands first and then arrived at the beginning of the trail about 45 minutes after consuming.
[Erowid Note: Driving while intoxicated or tripping is dangerous and irresponsible because it endangers other people. Don't do it!]
What a tough hike! This was done in the middle of May and believe it or not there was still snow packed tight once I got to certain altitude. But until I had to slip and slide through the snow there was nature of utmost beauty surrounding me including slide rock of great magnitude, fields of wild flowers, and wonderful aspen groves that had the names and professions of love for others carved in their bark. About the time that I got to the snow (2 hours), I could not really feel the effects of the compound and contributed this to the strong exertion that I was making to get to the final destination.
One thing that I noticed was a marked lack of fatigue. This hike is a very popular one due to the extremely scenic views one will experience while transversing it, but here I was a skinny, out of shape, emaciated, chemistry fool, outpacing what seemed to me to be experienced hikers or otherwise very fit and health conscious people, and I contributed it to the fatigue reducing chemical I had taken.
Finally, after much scrambling I reached the destination known as Lake Blanche and what a destination it was indeed! The lake was partially frozen and I could see birds going for a midday swim or bath. And the Sundial Peak amidst the lake…incredible! I sat there on the red rock cliffs looking at this marvel. I took off my shoes and socks for they had gotten wet on the ascent and I wanted to dry them out. The tactile sense of my feet on the red rock was exquisite! I lay down on the rock where the contours of it fit my frame well (who was it that made the reply that his bones were harder than any rock which was why he slept not on any cushioning in the mountains…Muir?)
As I lay there experiencing the vivid blue sky with little UV protection and admiring the amazing peak before me I squirmed on the rock like some kind of crazy body…but it was amazing. I sat there thinking of wonderful things like how to make my life complete and full and how to be admirable to my family and how to be just a downright wonderful human being. But after about half an hour of sitting there in the snow capped highlands I realized that like most inexperienced hikers I had forgotten to bring the clothing necessary for vast changes in temperature and I began to shiver up there in the cold weather even though I had started out in warmer lands. I quickly made my way back to civilization and got home safely, took a shower and felt goddamn renewed all around. John Muir was right, the wild rejuvenates you now matter where it is…as long as it is wild.
I have also taken this compound at 19mg and lay in bed for the whole experience, just with my eyes closed and having great imagery and fantasy abound all the while thinking clearly and coherently about what was to be done in the lab the next day. This is a great compound. It allows me to experience the psychedelic soup but have my mental processes relatively unaffected so that I can still perform normal duties without interruption.
Overall I give 2-cb two thumbs up and cherish it as an ally forever.
Keep Traveling,
Johnny
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


BottomCenterUI is a Child of ConsoleUI, but Quite big and important. The BottomCenterUI shows only one Panel at a Time. Based on the current need the panel is choosen, ("SimpleInventoryBar",0) & ("SimpleInventoryBar",0) are not part of the swaped panels.
[0] Single Unit "SimpleInfoPanelUnitDetail" [0] "SimpleHeroLevelBar",0 [0] visual bar [1] The Exp-Tooltipbox [1] "SimpleProgressIndicator",0 [0] visual Box [2] "SimpleBuildTimeIndicator",0 [0] [3] "SimpleUnitStatsPanel",0 [x] "SimpleClassValue",0 [4] "SimpleInfoPanelIconDamage",0 [0] Mouse Listener [5] "SimpleInfoPanelIconDamage",1 [0] Mouse Listener [6] "SimpleInfoPanelIconArmor",2 [0] Mouse Listener [7] "SimpleInfoPanelIconRank",3 [0] Mouse Listener [8] "SimpleInfoPanelIconFood",4 [0] Mouse Listener [9 "SimpleInfoPanelIconGold",5 [0] Mouse Listener [10] "SimpleInfoPanelIconHero",6 [0] "SimpleInfoPanelIconHeroText",6 [1] Mouse Listener [11] "SimpleInfoPanelIconAlly",7 [0] Gold - Mouse Listener [1] Lumber - Mouse Listener [2] Food - Mouse Listener [3] UpKeep - Mouse Listener [12] ORIGIN_FRAME_UNIT_PANEL_BUFF_BAR [0 to 7] BuffIcons + mouse Listeners [x] ORIGIN_FRAME_UNIT_PANEL_BUFF_BAR_LABEL [13] [x] "SimpleNameValue", 0 [x] "SimpleBuildingActionLabel", 0 [1] Trainer "SimpleInfoPanelBuildingDetail",1 [0] "SimpleBuildTimeIndicator",1 [0] Bar Border [1] Que Button Backgrounds [2] Que Button next to the Progressbar [3] Que Bottom Button Container [0 to 5] Button [4] [x] "SimpleBuildingNameValue", 1 [x] "SimpleBuildingDescriptionValue", 1 [x] "SimpleBuildingActionLabel", 1 [x] "SimpleBuildQueueBackdrop", 1 [2] Transporter "SimpleInfoPanelCargoDetail",2 [0] CargoContainer [0 to 9] Cargo Button Container (includes Box, pos themself the first time a Transporter with content is selected) [0] Button [1] Life Bar [2] Mana Bar [x] "SimpleHoldNameValue",2 [x] "SimpleHoldDescriptionValue",2 [3] Item on Ground "SimpleInfoPanelItemDetail",3 [x] "SimpleItemNameValue", 3 [x] "SimpleItemDescriptionValue", 3 [4] selectable Gate/tree/etc "SimpleInfoPanelDestructableDetail",4 [x] "SimpleDestructableNameValue", 4 [5] multiple unit group selection [0] ContainerGroupButtons [0 to 11] ButtonContainer [0] Highlighter Background [1] Button [2] Life Bar [3] Mana Bar [6] "SimpleInventoryBar",0 [0 to 5] "InventoryButton_0",0 to "InventoryButton_5",0 [0] [7] "SimpleInventoryCover",0 (covers the inventory buttons when no inventory)