--- layout: post status: publish published: true title: Check Multiple Mercurial Repositories for Incoming Changes author: display_name: Geoff Lane login: admin email<EMAIL_ADDRESS>url: http://www.zorched.net author_login: admin author_email<EMAIL_ADDRESS>author_url: http://www.zorched.net date: '2011-08-26 09:16:44 -0400' date_gmt: '2011-08-26 15:16:44 -0400' categories: - Automation tags: - version-control - Automation - hg - bash ---
Currently I have a whole bunch of Mercurial repositories in a directory. All of these are cloned from a central repository that the team pushes their changes to. I like to generally keep my local repositories up-to-date so that I can review changes. Manually running hg incoming -R some_directory on 20 different projects is a lot of work. So I automated it with a simple shell script.
This script will run incoming (or outgoing) on all of the local repositories and print the results to the console. Then I can manually sync the ones that have changed if I want.
I called this file hgcheckall.sh and run it like: ./hgcheckall.sh incoming {% highlight bash %} #!/bin/bash
# Find all the directories that are mercurial repos dirs=(`find . -name ".hg"`) # Remove the /.hg from the path and that's the base repo dir merc_dirs=<EMAIL_ADDRESS>)
case $1 in incoming) for indir in ${merc_dirs[@]}; do echo "Checking: ${indir}" hg -R "$indir" incoming done ;; outgoing) for outdir in ${merc_dirs[@]}; do echo "Checking: ${outdir}" hg -R "$outdir" outgoing done ;; *) echo "Usage: hgcheckall.sh [incoming|outgoing]" ;; esac {% endhighlight %}
I guess the next major improvement would be to capture the output and then automatically sync the ones that have changed, but I haven't gotten around to that yet.


Hi, I'm Arpan, a Full stack Software Engineer based in Sydney currently working for A2B Australia. Please find me on any of my socials listed below, or visit my Blog where I cover a wide range of topics about Software Engineering from topics including (but not limited to) Software engineering, Node.js, Rust, ReactJs, Cloud Services and Devops


| Home | Trees | Indices | Help |
|
|---|
|
|
object --+ | list --+ | mmCIFData
Contains all information found under a data_ block in a mmCIF file. mmCIF files are represented differently here than their file format would suggest. Since a mmCIF file is more-or-less a SQL database dump, the files are represented here with their sections as "Tables" and their subsections as "Columns". The data is stored in "Rows".
|
|||
| new empty list |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|
|||
|
Inherited from |
|
|||
| file | |||
| name | |||
|
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
str(x)
|
x==y
|
x[y]
|
x[i]=y
|
Remove a mmCIFTable by index or table name.
|
Append a mmCIFTable. This will trigger the removal of any table with the same name.
|
insert object before index
|
remove first occurrence of value. Raises ValueError if the value is not present.
|
Looks up and returns a stored mmCIFTable class by its name. This name is the section key in the mmCIF file. |
Creates and returns a mmCIFTable object with the given name. The object is added to this object before it is returned. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Jun 27 14:43:16 2011 | http://epydoc.sourceforge.net |


{% extends "base/layout.html" %} {% import "macros/pagination.html" as macros %} {% block content %} {% include "base/posts.html" %} ← Previous Previous results Next results Previous → {% endblock %}


dvd+rw-format(1) dvd+rw-format(1) NAME dvd+rw-format - format DVD+-RW/-RAM disk SYNOPSIS dvd+rw-format [-force[=full]] [-lead-out | -blank[=full]] [-ssa[=none | default | max]] /dev/dvd DESCRIPTION The dvd+rw-format command formats dvd disk in the specified dvd drive (e.g. /dev/dvd). OPTIONS -force[=full] This forces to format dvd as new while wiping any existing data. -blank[=full] This blanks dvd while changing to sequential mode. -lead-out This relocates the lead-out next to outermost written sector as well as makes sure there is no virgin surface before it. Previ‐ ously written data is not affected by this operation. Useful for addressing DVD-ROM compatibility, or playability of already recorded media in legacy units. SEE ALSO Most up-to-date information on dvd+rw-tools is available at http://fy.chalmers.se/~appro/linux/DVD+RW/. The manpage for genisofs(8), growisofs(1), dvd+rw-mediainfo(1), dvd+rw-booktype(1). AUTHOR dvd+rw-format was written by Andy Polyakov<EMAIL_ADDRESS>This manual page was written by Osamu Aoki<EMAIL_ADDRESS>for the Debian project. September 2004 dvd+rw-format(1)


Home
About Me
My Projects
Contact me
Do you want to contact me?
Fill the form below and send me a message:
First Name
Last Name
County
Nairobi
Mombasa
Kisumu
Others
Subject


Friday, October 27, 2017
(Afternoon rehearsal meetup for wedding party members)
Unofficial gathering, all welcome:
- 5:00 pm Happy hour at The ABGB, Austin, Texas
Saturday, October 28, 2017
The ceremony and reception are at the same venue:
Pearl Snap Hall, Georgetown, Texas
- 5:00 pm Ceremony
- 5:30 pm Cocktail hour and apps
- 7:00 pm Dinner
- 8:00 pm Music and dancing
- 10:00 pm Doors close
Afterparty, Location TBD
- 10:30 pm afterparty in Downtown Austin
Sunday, October 29, 2017
Unofficial Brunch, Veracruz All Natural at Radio Coffee


WELCOME TO BANKA
your number 1 digital banking platform
Sign Up
Sign In
Existing User Sign in
New user Sign up


W. H. Bell, The MagPi, Issue 29
Adding natural physics processes to games can make them more real and thrilling to play. In Issue 17, a simple projectile motion game was introduced. The game included gravity and initial velocity. These concepts can be used for other types of games too.
This month's game introduces the simulation of a spaceship landing on a remote planet, where the landing craft obeys the normal laws of physics. In this case, the Lander has rocket motors to change its direction.
The idea of the game is to land the spacecraft on the landing pad. If the spacecraft lands on the surrounding ground, then it will explode. If the spacecraft does not touch down on the landing platform correctly, then it will explode too. The spacecraft must be travelling slowly when it touches down or it will be destroyed.
The Lander sprite has three costumes, to show the Lander with its engines on, when crashed, and when the engines are off. The costume with the engines off was copied and then modified to form the other costumes. The costumes were drawn on their sides, such that an angle of zero degrees corresponds to the spacecraft pointing straight upwards. (More details of the Scratch system of angles are given in Issue 17.)
Two backgrounds were created for the Stage, where the size of the landing pad and the amount of surrounding red rock was chosen to be different. Once the background images had been drawn, the Lander sprite was resized to match landing pad by the right clicking the mouse on the Lander sprite. The colours used for the surrounding ground and the landing pad for the two backgrounds were chosen to be the same, to allow tests based on the colours of the sprite and the background. Then a simple script was written to select a random Stage background when the green flag is pressed.
The Lander is controlled with the left and right arrow keys and the space bar. To prevent the controls from moving the lander when the game is not taking place, a local variable was created called flying. If the flying variable is set to one, then the controls will change the angle of the Lander sprite.
Tapping on the left arrow causes the Lander to turn 15 degrees to the left and tapping on the right arrow causes the lander to turn 15 degrees to the right.
The space bar is used to fire the thrusters, to slow down the Lander and manoeuvre it to the landing pad. When the space bar is pressed, the costume of the Lander changes to the version that shows the engines burning. The costume continues to show the engines burning, while the space bar is pressed. When the space bar is released, the costume changes back to show the engines as being off.
While the space bar is pressed the velocity of the Lander is increased, according to its current direction. The sine and cosine operators are used to calculate the increase of the x and y velocity components using the direction, where the velocity components are stored in local variables vx and vy respectively. The direction is zero, when the Lander points straight upwards, 180 when it points straight downwards, positive when it points to the right and negative when it points to the left.
The Lander requires one more script block, to control the flight of the Lander and to check to see if it has crashed or landed. The script on the left performs this functionality.
When the green flag is pressed, the Lander is reset to point straight upwards, the engines are turned off and its position is chosen at random along the top of the screen. The local variables for the x and y velocity components and the flight status are also reset. The main repeat until loop continues to run until the flying status has been reset to zero. The first step within the loop is to reduce the vertical velocity component by a small amount. This reduction of velocity is present to simulate the effect of gravity on the Lander. The next block within the loop checks to see if the Lander has touched the surrounding ground. If it has touched it, then the costume is changed to the crashed version and the flying status is set to zero. If it has not touched the surrounding ground, then the program checks to see if the landing feet have touched the landing pad or not. If they have touched the landing pad, then the vertical velocity component and the direction of the Lander is checked. If the touch down is not successful, the Lander will be shown as crashed. If the landing is successful, then the Lander will say "Landed!". While the Lander is not in contact with the ground, the position of the Lander is updated using the velocity components. In this program, the speed of the loop regulates how fast time is passing in the simulation.
To make the game harder or easier, try changing the reduction of the vertical velocity in the loop (the effect of gravity) or try changing the effect of the thrusters. The lander could be given a limited amount of fuel, by counting the number of times the space bar is pressed.


{%extends "base/page.html"%} {%block title%}{%if success%}Email changed{%else%}Change email{%endif%}{%endblock%} {%block contents%} {%if success%}
Your email has successfully been changed to {{user.email}}.
Please note that if you are using your account from a different community site than www.postgresql.org, you may need to log out and back in again for the email to be updated on that site.
{%else%}
The token {{token}}
was not found.
This can be because it expired (tokens are valid for approximately 24 hours), or because you did not paste the complete URL without any spaces.
Double check the URL, and if it is correct, restart the process by clicking "change" in your profile to generate a new token and try again.
{%endif%}Return to your profile.
{%endblock%}


Create a tda-api.properties in your classpath with the following properties:
TdaClient tdaClient = new HttpTdaClient(); Quote quote = tdaClient.fetchQuote("msft"); EquityQuote equityQuote = (EquityQuote) quote; System.out.println("Current price of MSFT: " + equityQuote.getAskPrice());


{% extends "main.html" %} {% block content %} Resources API is a collection of multiple sources and entity types. Sources include: source | details documents entity type(s) Give Feedback Try It resource (all entities combined) Try It See Document Structure Clear Submit Select a query Example Queries Generate New Write My Own Query Nothing to see here... is not an API {% endblock %} {% block extra_scripts %} {% endblock %}
Resources API is a collection of multiple sources and entity types. Sources include:
See Document Structure


Our global reach
VIRTUALITY is the leading global marketplace for teaching and learning, connecting students everywhere to the world’s best instruction anywhere.
We’ve built the world’s leading platform for online learning,
and our greatest opportunities lie ahead. As a member of our team,
you’ll elevate your career, join an inclusive community, and
transform lives through access to the world’s best education.
"
Our technology powers courses and degree programs that push
the boundaries of what’s possible in higher education. We’re
backed by some of Silicon Valley’s most successful investors,
and we were named on Forbes’ 2018 list of Next Billion-Dollar Startups.
"
Coursera is proud to be an equal opportunity employer:
we celebrate, support, and thrive on our diversity.
No matter who you are, or where you’re from, we encourage
you to consider making a difference by joining the team
at Coursera.
Coursera team members have created employee resource groups (ERGs)
to support each other’s personal & career development:
It's easier to change the world when you’re happy,
healthy, rested, and fed. To support you, we provide:
Competitive salary and
meaningful equity.
Comprehensive medical,
dental and vision coverage.
Delicious lunch, dinner,
and snacks every day.
Open vacation policy —
take time off when you need it.


To enter the examination portal, upload your signature.
Please follow the instructions below:
- Click the upload button and select the signature that was used for registering into the portal.
- Upon uploading, click proceed to start your exam.
- Be aware that this software detects forged signatures.
If it still doesnt recognize your signature, your session will be cancelled and you will be redirected to the login page.


html(" The Definition Factory model
Like the Graph Prototype model the Definition Factory model is still at an early stage of development, and uses JS-EDEN in a somewhat experimental way. In its present form, it has limitations, especially where the interface is concerned! It is nonetheless instructive to understand the motivation for the model and to study the code, and and some of the issues involved in its construction. Note that the model may be useful as a web resource even in the construction of traditional EDEN models.
To load the model, you should first load a plugin from the emile library:
include(\"library/greek.js-e\");To load the definition factory, you ideally should then enter:
include(\"models/defnfactory/defnfact_v1.js-e\");into the EDEN Interpreter Window.
For some as yet unknown reason, the layout of the interface is incorrect if the file is included in this manner. You should instead - or if you prefer, in addition! - enter the input by cutting-and-pasting the contents of the file at:
http://jseden.dcs.warwick.ac.uk/emile/models/defnfactory/defnfact_v1.js-e
The use of the definition factory will be illustrated with reference to the extending the graph prototype model by enabling nodes to be moved using the mouse. For the node a, this can be achieved using the following code:
proc mouseMove: mousePressed { if(((mouseX-pax)*(mouseX-pax)<100 )&&((mouseY-pay)*(mouseY-pay)<100)) { if(mousePressed) { pax is mouseX; pay is mouseY; } else { pax = mouseX; pay = mouseY; } } }With patience, the definition factory can be used to generate many instances of this segment of code, so that in principle it is possible to add the moving functionality to all the nodes of the graph constructed using the graph prototype model. Further exploration, comprehension and refinement of the definition factory is left as an (optional) exercise to the interested reader. ");


{% extends "base.html" %} {% load i18n %} {% block content %}
{% trans "Password reset failed. You haven't set security questions, so we cannot reset your password." %}


Prologue
Why are we talking about this?
Automated Tests
- ensure software works as it should.
- Helps team move fast
- Helps us understand how change impacts the larger system.
- Helps ensures customer quality
Continuous Integration
- ensures a codebase's health is continuously monitored with each change
- scientific, consistent, and easily repeatable
- as fast and cheap as possible, while still honoring its responsibilities
- feedback cycle!
Servers are cheap!
Virtualization, Containers, the Cloud, etc.
Headless testing helps!
- phantomjs
- EnvJS
- Rhino
- RubyRacer
- Nodejs
What if your technology can't run in one of these headless runtimes?
- Flash
- NW.js
- Google Polymer web-component-tester
Let's focus on Google Polymer
Google Polymer
Google technology for authoring web components (see Chris Lorenzo's talk!)
web-component-tester
github.com/Polymer/web-component-tester
But...
web-component-tester assumes a GUI
and virtualized CI build agents don't have a display
Candidate Solutions
Travis CI
Sauce Labs
Sauce Labs CI
saucelabs.com
- Selenium cloud
- Access to over 100 device/OS/browser combos
But...
What if your team can't use these?
Enter X Virtual Frame Buffer
AKA Xvfb
run GUI applications (like web browsers) with no GUI!
Sidebar: let's talk about the X Window System
how GUI displays are rendered on UNIX-like systems
X11 Display Server
- current release of the X Window System
- windowing system for bitmap displays used to build GUIs
- how visual elements are rendered on a screen and available for user interaction via GUI in Mac OS and Linux
X Virtual Frame Buffer
- behaves like any other X server, yet no graphical output is shown
- performs graphical operations in memory without showing screen output
- does not require the computer running it to have a screen
Core technologies
- Xvfb
- ansible
- Google Chrome (with Flash!)
- Firefox
- Node.js
- bower
- web-component-tester
Demo Time!
- provision a Vagrant Ubuntu box
- ansible will install and configure all necessary dependencies
- we'll run some tests against a Polymer web component
Vagrant
(not JavaScript)
- built on VirtualBox
- tool to spin up lightweight, headless VMs
## Vagrantfile
...
config.vm.network 'forwarded_port', guest: 5900, host: 5901
config.vm.provision :ansible do |ansible|
ansible.playbook = 'playbook.yml'
end
...
ansible playbook.yml
(not JavaScript)
- install and run Xvfb on display port 0
- install Node.js, bower, web-component-tester
- Install Google Chrome and Firefox
Provision the box
ssh into the box
## clone core-ajax
$ cd /vagrant
$ git clone https://github.com/Polymer/core-ajax.git
## install bower components
$ cd /core-ajax
$ git checkout 0.5.6
$ bower install
But...
How do we know Chrome and Firefox really ran?
What about debugging?
VNC!
The Ubuntu box has no GUI but your Mac does!
## On the Ubuntu box
$ sudo apt-get install x11vnc
$ x11vnc -display :0 &
## On your Mac
$ brew install Caskroom/cask/tigervnc-viewer
# Start Tiger VNC Viewer on `localhost:5901`
The code
- github.com/mdb/polymer-testing-box
- github.com/mdb/nw-testing-box
Next steps
- spin up an cloud instance during your builds?
- AWS, Digital Ocean, OpenStack?
- as-testing-box?
- advanced web scraping?
- headless functional testing?
Thanks!
- twitter.com/clapexcitement
- github.com/mdb


$def with ()
This is your Igor home automation server, version ${DATABASE.getValue('/data/services/igor/version')}, running on host ${DATABASE.getValue('/data/services/igor/host')}, port ${DATABASE.getValue('/data/services/igor/port')}. Welcome!
It has been running since ${DATABASE.getValue('/data/environment/introspection/lastActivity/reboot')}, and was rebooted ${DATABASE.getValue('/data/environment/introspection/rebootCount')} times during its lifetime.
For a general overview of the health of the various systems monitored by Igor see /systemHealth.html.
Your raw database in XML can be found at /data/. You can append a path (technically: an XPath expression that resolves to a single node) to view a subsection of the database.
You can also run general XPath expressions by appending them to /evaluate/.
You can run individual actions by prefixing with /action/ (for example /action/save), plugins by prefixing with /plugin/ and a specific script for a specific plugin by constructing the url /pluginscript/pluginname/scriptname.
For testing purposes you can run internal commands by prefixing them with /internal/, for example:


Back To Basics - Review notes on Database System Implementation I
Database is essentially a specialised file system that is exclusively designed for easily storing and retrieving data, especially for the latter, quickly getting the correct data that users want is critial. And on top of that, it defines the SQL language (best example of the domain specific language) to easily manipulate the data.
Database Implementation Layers
It typically has a couple of layers for the database system implementation, as the following figure shows:
Look it from the bottom up, I'll briefly talk about what each layer does.
- Stored Data: This is the hardware that really keep the data, nothing exciting for us here.
- Disk/File Management: This is usually done by the underlying Operating system's file system, in Postgres, it just directly uses the OS's readPage and writePage method when it needs to read/write data to the Disk. But some database vendor implements their own mechanism to the back-end directly, for example, Oracle has implemented one.
- Buffer Management: This is the middleman of database manipulating the disk, basically the database reads/writes a Tuple(record) from the Disk/File via the BufferManager.
- Access Method: This offers the methods like: get_tuple, next_tuple.
- Relational Operator: It is the implementation of operations like: Selection, Projection, Join, Set, Scanning, Sorting, Gropuing, Aggreation etc.
- Query Evaluation: It maps the SQL into its interal representation (Relational Algebra), and then rewritten the rules according to the Relational Algebra's law, pick up an optimised access method (e.g Plan) based on the Cost model, and then execute the plan.
overview
Before we go any further, we might need to introduce some terminologies that are used in the database field.
DB: database; Rel: Table; Page: content of disk block; Tuple: a record, or a row in the table.
Once users issue an SQL, the database will return a tuple (or a set of tuples) that are satisfied the SQL to the client. Two imporant Ids in the database are: PageId and TupleId
DBMS File Organisation
- A single very large file containing all DB data (e.g. SQLite)
- Multiple-file Disk Manager for DB data. (most of DBs). If system uses one file per table, PageId contains relation identifier(which can be mapped to filename) + page number (to identify page within file)
Buffer Pool
The aim of DBMS buffer pool is to reduce the number of disk reads and disk writes by holding many pages in memory for reuse, it sits between the 'Acess Method' and 'Disk/File Management' layer.
Page/Tuple Management
Database applications view data as a collection of records(tuples), and records can be accessed via a TupleId (aka RecordId or RID).
The Disk and buffer manager provides: 1) data is a sequence of fixed-size blocks(pages) 2) blocks can be (random) accessed via a PageId. 3) each block contains zero or more tuple values.
Relational Operations
Relational operations are the implmentations of selection, project, join, set operations and scanning, sorting, grouping, aggregation etc.
There are two "dimension of variation" here, one is relational operation (e.g. Selection, Projection, Join, Sort etc) and the other one is file structures (e.g. heap, indexed, hashed etc). Each query method involves an operator and a file structure: like primary-key selection on hashed file or indexed file, sort-merge join on ordered heap files, and two-dimensional range query on R-tree indexed file.
An important aspect of the Database is the analysis of cost of various query methods. Cost can be measured in terms following two:
- Time Cost: total time taken to execute method
- Page Cost: number of pages read and/or written
Three simple example of file structures:
- heap file: tuples added to any page which has space
- sorted file: tuple arranged in file in key order
- hash file: tuples placed in pages using hash function
Gone through the following operations:
- Scanning:
- Sorting: 2 way Merge Sort, N-way Merge Sort.
- Projection: Sort based Projection(needs only buffers, used by default), Hash based Projection(need buffers and good hash function), Index-only Projection (needs an appropriate index)
- Selection:
- Join:
Selection Relational Operation
- one dimensional selection(condition uses only 1 attribute)
- multi-dimensional selection (condition uses > 1 attribute)
- similarity selection (approximate matching, with ranking)
Two basic approaches for implementing the 'Select' efficiently:
- Physical arrangement of tuples. (sorting, hashing) There are Heap Files, Sorted Files and Hash Files. For hash files, we see both the simple Hash and Linear Hashing.
- additional indexing information (index files, signatures - superimposed, disjoint)
Indexing
Indexing is a very important feature in Database, because it can improve the time cost of selection dramatically, esepcially for the big data in each row. Indexes are stored in separate files to data.
A relation/file may have:
- A index on single attribute. (useful for handling primary/secondary key queries e.g. one, range)
- Separate indexes on many attributes. (useful for handling queries involving several fields)
- A combined index incorporating many attributes. (multi-dimensional indexing for e.g. spatial, multimedia databases)
Two types of index, one is Dense: one index entry per data tuple, the other one is Sparse: one index entry per data page (requires sorted data file).
The Index data structure could be one of the following:
- B-Tree Indexes
- Bitmap Indexes
- Tree indexes (kd-Trees, Quad Trees, R-Tree) Note: PostgreSQL is using GiST implemented the R-Tree since version 8.2
- Indexing with Signatures.
Join Relational Operation
Join is important and potentially expensive operation, many methods have been developed for its implementation. Some implementations are:
- Nested Loop Join
- Block Nested Loop Join
- Sort Merge Join
- Hash Join (variations: Simple Hash Join, Grace Hash Join, Hybrid Hash Join )
No single join algorithm is superior in some overall sense. Which algorithm is best for a given query depends on:
- sizes of relations being joined, size of buffer pool
- any indexing on relations, whether relations are sorted
- which attributes and operations are used in the query
- number of tuples in S matching each tuple in R
- distribution of data values (uniform, skew ...)
Choosing the "best" join algorithm is critical because the cost difference between best and worst case can be very large.
Query Processing/Evaluation
A query evaluator typically taking the declarative description of query (in SQL), determines plan for answering query and then executes method via DBMS engine to produce the result tuples. Following fingure is an internals of the query evaluation "black-box":
It parses the SQL into Relational Algebra, which is the internal representation, and then uses the algebraic laws on RA expression rewritten, use the cost based model to pick up a optimised plan as the access method, and then execute the plan and return the result tuples to the client.
Summary
From this course, I've mostly studied various data structures and algorithms to evalute the cost model of queries. As I said at the begining, the most important thing in database system is to keep the data in oder, while making the query as quick as possible. I didn't touch the transaction area in this one, and I'll write another dedicated entry for that topic.


The C++ Standard Library provides a set of classes for reporting errors. These classes use the exception handling facility of the language. The library implements a particular error model, which divides errors in two broad categories: logic errors and runtime errors.
Logic errors are errors caused by problems in the internal logic of the program. They are generally preventable.
Runtime errors, on the other hand, are generally not preventable, or at least not predictable. These are errors generated by circumstances outside the control of the program, such as peripheral hardware faults.
Programs that use the exception handling classes must include the following header file:
#include <stdexcept>


Rebar.CompositeView Class
Most of the time Backbone views need to be able to contain other views. When you do this you run into situations where you need to add the view then render and when you go to destroy the parent view, you want to make sure you properly dispose of its children. The composite view makes managing child parent relationships a bit easier by adding recursive destroy functionality as well as making it possible to quickly add and remove child views.
Constructor
Rebar.CompositeView
()
Example:
var composite = new Backbone.Rebar.CompositeView({
...
});
var view = new Backbone.Rebar.View({
...
});
composite.addSubView(view);
Item Index
Methods
addSubView
-
view
Adds a sub view to a container BaseView
Parameters:
-
view
View
addSubViews
-
views
Adds an array of sub views to a container BaseView
Parameters:
-
views
ArrayArray of subviews
destroy
()
This method is a great helper method to call when the subclass view is about to be removed. It recursively will call destroy on any subviews reference in the sub views array. It also handles removing any event listeners that may have been added to the subViews array.
destroySubView
-
view
Checks to see if the passed view has destroy functionality and then if it does not calls the prototype destroy functionality and passes the reference
Parameters:
-
view
View
removeAllSubViews
()
Removes all sub views from view
removeSubView
-
view
Removes a sub view from the container view
Parameters:
-
view
ObjectA base view or a cid of the sub view


Numbers 22:21
And Balaam rose up in the morning, and saddled his ass, and went with the princes of Moab.


Class: Innsights::Config::Model
- Inherits:
-
Base
- Object
- Base
- Innsights::Config::Model
- Defined in:
- lib/innsights/config/model.rb
Overview
Uses a DSL to configure a report in a Model and prepares it to run on a given callback the default callback is after create but it can be any kind of active record callback
Instance Attribute Summary (collapse)
-
- (Class) klass
class watched to configure a report upon a certain event.
Attributes inherited from Base
#condition, #created_at_method, #metrics, #name, #report_group, #report_user
Instance Method Summary (collapse)
-
- (Class) commit
Records the configuration of the report within the model and sets up for call after the event.
-
- (Model) initialize(klass)
constructor
Sets the defaults of the report * created_at: #created_at method * event: after_create callback.
- - (Object) upon
-
- (Boolean) valid?
Says if the given report is valid.
-
- (Boolean) valid_for_push?
Says if the given report is valid to push only works for after_create methods.
Methods inherited from Base
#created_at, #group, #measure, #report, #run, #setup, #user
Methods included from Helpers::Config
Constructor Details
- (Model) initialize(klass)
Sets the defaults of the report * created_at: #created_at method * event: after_create callback
13 14 15 16 17 18 19 |
# File 'lib/innsights/config/model.rb', line 13 def initialize(klass) @klass = klass @name = klass.name @created_at_method = :created_at @event = :after_create @metrics = {} end |
Instance Attribute Details
- (Class) klass
class watched to configure a report upon a certain event
6 7 8 |
# File 'lib/innsights/config/model.rb', line 6 def klass @klass end |
Instance Method Details
- (Class) commit
Records the configuration of the report within the model and sets up for call after the event
27 28 29 30 31 32 33 34 35 |
# File 'lib/innsights/config/model.rb', line 27 def commit if valid? callback_process = setup(klass) klass.send(event, callback_process) klass else Innsights::ErrorMessage.log("#{klass} doesn't respond to callback event #{event}") end end |
- (Object) upon
8 |
# File 'lib/innsights/config/model.rb', line 8 dsl :upon, :event |
- (Boolean) valid?
Says if the given report is valid
48 49 50 |
# File 'lib/innsights/config/model.rb', line 48 def valid? klass.respond_to?(event) end |
- (Boolean) valid_for_push?
Says if the given report is valid to push only works for after_create methods
61 62 63 |
# File 'lib/innsights/config/model.rb', line 61 def valid_for_push? [:after_create].include? self.event.to_sym end |


View on GitHub
CPU Raymarcher Demo
This is a simple demo of my CPU-based raymarcher. You can find the GPU-based version
here
.
64x64
128x128
256x256
512x512
400x300


Some Helpful Information to Make Your Movie Going Experience Better
If your theater has reserved seating and it is one of the busier days (Friday, Saturday, Sunday or discount Tuesdays) reserve your seating ahead of time. It will make sure you and your group will definitely get those seats instead of showing up and not getting seats to a showtime or movie you wanted.
While you are standing in line, please look at the menu and the prices. I cannot tell you how many times I have had people who have standed in line for 10 minutes and still don't know what they want when they get to the register. This will not only move things faster for the cashier, but it will also move things along for the people who are waiting in line./li>
The prices on Google may not be correct. For the most accurate information, look on your theater's website, or if you are not sure, call the theater.
The longer a movie has been out, the less show times it has.
On busy nights, show up early just in case concession lines are long, that way you don't have to worry about missing the beginning of the movie.
If you have a large group, consider getting a large popcorn and splitting it. Most theaters offer containers to split popcorn. Most even have refills on large popcorns, which in the end will save you more money.
When the movie is finished, please take your large garbage (popcorn containers, candy boxes, cups, etc.) with you and throw it out. If the ushers have to spend time throwing away trash, they sacrifice a better clean on the theater.


Watch: Disney Plus’ THE MANDALORIAN Chapter 2 Has Arrived + Here’s Every Easter Egg You Might’ve Missed
by Team SOHHDisney Plus isn’t making subscribers wait around too long. Fresh off launching Tuesday, November 12 with a must-watch Star Wars “The Mandalorian” premiere, the streaming powerhouse has now released its second episode. Peep the teaser below and check out some of the key easter eggs you might’ve missed!


ISI Matrix Color Space Conversion RGB to YCrCb. More...
#include <isi.h>
Public Attributes | |
| uint8_t | C0 |
| Color Space Conversion Matrix Coefficient C0. More... | |
| uint8_t | C1 |
| Color Space Conversion Matrix Coefficient C1. More... | |
| uint8_t | C2 |
| Color Space Conversion Matrix Coefficient C2. More... | |
| uint8_t | Roff |
| Color Space Conversion Red Component Offset. More... | |
| uint8_t | C3 |
| Color Space Conversion Matrix Coefficient C3. More... | |
| uint8_t | C4 |
| Color Space Conversion Matrix Coefficient C4. More... | |
| uint8_t | C5 |
| Color Space Conversion Matrix Coefficient C5. More... | |
| uint8_t | Goff |
| Color Space Conversion Green Component Offset. More... | |
| uint8_t | C6 |
| Color Space Conversion Matrix Coefficient C6. More... | |
| uint8_t | C7 |
| Color Space Conversion Matrix Coefficient C7. More... | |
| uint8_t | C8 |
| Color Space Conversion Matrix Coefficient C8. More... | |
| uint8_t | Boff |
| Color Space Conversion Blue Component Offset. More... | |
ISI Matrix Color Space Conversion RGB to YCrCb.
| uint8_t ISI_R2Y::Boff |
Color Space Conversion Blue Component Offset.
| uint8_t ISI_R2Y::C0 |
Color Space Conversion Matrix Coefficient C0.
| uint8_t ISI_R2Y::C1 |
Color Space Conversion Matrix Coefficient C1.
| uint8_t ISI_R2Y::C2 |
Color Space Conversion Matrix Coefficient C2.
| uint8_t ISI_R2Y::C3 |
Color Space Conversion Matrix Coefficient C3.
| uint8_t ISI_R2Y::C4 |
Color Space Conversion Matrix Coefficient C4.
| uint8_t ISI_R2Y::C5 |
Color Space Conversion Matrix Coefficient C5.
| uint8_t ISI_R2Y::C6 |
Color Space Conversion Matrix Coefficient C6.
| uint8_t ISI_R2Y::C7 |
Color Space Conversion Matrix Coefficient C7.
| uint8_t ISI_R2Y::C8 |
Color Space Conversion Matrix Coefficient C8.
| uint8_t ISI_R2Y::Goff |
Color Space Conversion Green Component Offset.
| uint8_t ISI_R2Y::Roff |
Color Space Conversion Red Component Offset.


Desktop Page Optimization Suggestions
Instructions
- Step 1. Enter URLs in the text box below. One URL per line. Formatted as: https://www.exampleurl.com
- Step 2. Press the Image button to get suggestions for image optimizations, JS button for JS optimization tips and CSS button for CSS optimization tips.
- Step 3. The page may take a few minutes to load. The results will appear below the text box.
- Step 4. Use the button at the very bottom of the page to download an XML results file.
- Step 5. Import the XML file into Excel for easier to understand results.


Relocation could be very stressful. Today, you need to choose between traditional Packers and movers or Private transporters
Movekaro.in is the answer to all problems. We are solution to set you free from all these problems and make your relocation stressfree and happy.
Why you should choose us!You don't have to tell us your plans in advance. Just use our app/call us 24/7 and we will be ready at your doorstep in 60 minutes. Oh Something changed? No Problem! Just cancel reservation anytime using our mobile app!
Don't worry about your stuff reaching in time. Using our state of art technology, you can track our vehicles in realtime through our mobile app.
Don't worry about being cheated or overcharged. Our transaperant pricing system is based is based on distance travelled and time taken to reach the destination.
Only pay for what you need. We let you choose what you need for relocation needs. Packing and Unpacking Service, Vehicle, Labour, Insurance, Packing materials.


Here are some of the things we can help with
We make sure you're in the know, so you can plan what you want to do, when you want to do it.
Tell us what you'd like to hear about and we'll make sure you know about anything exciting going on near you.
We'll let you know about great offers based on your interests, so they're always relevant. We use your location to make sure these offers are always appropriate for the context.
Your information is held securely. We will never share your data with anyone, our offers are delivered first-hand so your information never touches third-parties.


| Triangle Numbers | ||
|---|---|---|
| Rows | Triangle(Rows) | Formula |
| 1 | 1 | base case |
| 2 | 3 | 2 + Triangle(1) |
| 3 | 6 | 3 + Triangle(2) |
| 4 | 10 | 4 + Triangle(3) |
| 5 | 15 | 5 + Triangle(4) |
| 6 | 21 | 6 + Triangle(5) |
| 7 | 28 | 7 + Triangle(6) |
The table shows values of the Triangle()
function.
For example, Triangle(4) = 10
.
But it stops at seven. What is Triangle(12)
?
We have already figured out that the following is true:
total number of pins in N rows = number of pins in row N + total number of pins in N-1 rows = N + total number of pins in N-1 rows
This can be written as a formula:
Triangle( N ) = N + Triangle( N - 1 )
So the number of pins in a


An unforgettable headline…
Porpoises rescue Dick Van Dyke
and the standfirst is also a thing of beauty…
Mary Poppins star feared death after apparently falling asleep on his surfboard but friendly sea creatures pushed him to shore


http://www.speakers-podium.com/susangranger.
Susan Granger's review of "GUINEVERE' (Miramax Films)
What do you do when you're 20 years old, the youngest in a wealthy San Francisco family of over-achieving attorneys, and you've just been accepted at Harvard Law School? If you're awkward, insecure and confused like Harper Stone, played by Sarah Polley ("The Sweet Hereafter"), you run off with a passionate photographer more than twice your age. Especially if he's a carefree, charming, ruggedly attractive Irish bohemian like Stephen Rea ("The Crying Game"). But Harper's not the first naive young girl he's seduced. No, there are a bevy of "Guineveres," as he dubs them. But this is not the usual May-September romance in which the worldly guy boosts his sagging ego by recapturing his youth with an inexperienced girl - despite what Harper's urbane mother (Jean Smart) says in a scathing, devastating, accusatory encounter. Instead, it offers a sensitive insight into what the nubile girl gets out of such a rite-of-passage relationship - things like self-confidence, knowledge, and experience, even if the mentor's an alcoholic. Writer Audrey Wells ("The Truth about Cats and Dogs") makes her directing debut with this $2.6 million independent feature that juxtaposes the formal elegance of snobbish Pacific Heights with the impoverished yet exuberant existence of the grungy inner city with its scruffy intellectual and artistic community. While it's hard to take an aspiring photographer-who-never-takes-a-picture seriously, the conclusion, which contrives to reunite the Guineveres, seems too fanciful and out of context. On the Granger Movie Gauge of 1 to 10, "Guinevere" is a fresh, vibrant and engaging 8, commanding attention from start to finish.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


?6
7
8
9
10
T
XT
v
The
New
York
copyright
reserved
botanical
Garden
N.¤.yy.y?B!5.?P-IAN,CA*-
garden
01443493
ST.
JOHN,
U.S.
Virgin
Islands.
Coral
Bay
Quarter,
Private
Road
off
of
Centerline
Road
(approx.
11.5
km.
from
Cruz
Bay).
Elev.
00120m.
Secondary
vegetation
along
roadside.
Tree.
18.0m.
Bark
gray;
inner
bark
yellowish;
producing
little
milky
sap;
fruits
green.
P.
Acevedo-Rodriguez,
A.
Reilly
September
1,
1987
ST.
JOHN
FLORA
The
New
York
Botanical
Garden
No.
2114
SAPO
~yy“asti
chod-ev\dywv\
o-?t<
dissi
mu
w\
(Jac^Cvo
01443493
Legend -
Level of confidence that token is an accurately-transcribed word
extremely low
very low
low
undetermined
medium
high
very high


| DOSE: |
15 mg |
oral |
2C-D |
(liquid) |
A moderately large supply of 2C-D HCl was obtained yesterday. The crystals were white and fluffy, and were found to be soluble in distilled water, 75% ethanol, and 95% ethanol.
I am a full time university student in the sciences, and decided to try this compound for its reported 'smart drug' potential. I didn't really have any great expectations for this drug, but figured I would test it out over a range of doses and try to characterize its effects as best as possible. If it turned out to be successful at increasing cognitive ability, I would try using it for studying for some of my final exams at the end of the month.
100mg of the compound was weighed out on a scale accurate to 0.1mg, and dissolved in 20mL of non-denatured, 95% ethanol, resulting in a 5mg/mL solution.
Trial 1:
1mL (5mg) of the 2C-D solution was taken orally, at my research lab at school. I didn't expect much from this dosage; it was more just to confirm that I wasn't going to have an anaphylactic reaction to it. Dose was taken 2 hours following a light breakfast.
Some apparent effects emerged around 45min after ingestion. I found it was a little difficult to concentrate, and I felt a touch lightheaded. I felt a little spaced out and anxious for about an hour, following which I felt fine again. No real mental alterations were noticed, and within an hour and half to two hours of feeling spacey, I was back to normal again.
Trial 2:
3mL (15mg) ingested about 6 hours following the previous 1mL dose. Stomach completely empty.
Within 15 to 20 minutes, I began feeling slightly intoxicated, and by one hour the effects of the 2C-D were definitely noticeable.
I was sitting with a group of friends, one of which who had also taken the same dosage as myself. Conversations were extremely difficult to understand and follow. I had no problem relaying my thoughts, but I found other peoples conversations extremely confusing. I noticed extreme distortions in my sense of time. Conversations would seem to go on for 20 or 30 minutes, but looking at the clock, I would find that only 1 or 2 minutes had gone by.
Slight visual distortions were apparent. I would frequently notice shimmering disturbances in my peripheral vision, but as soon as I focused on them, they would disappear. It definitely seemed like I was on the verge of breaking into mild hallucinations. At one point I tried watching a television set that was present in the room, and the images on the TV kept alternating between being sped up or slowed down. After a few minutes, it made me feel kind of nauseous, so I got up and went somewhere else.
I ran into a professor whom I work for, and started talking to him about a recent set of experiments. I felt as though I was speaking on autopilot, as though one part of my brain was doing the talking, but the conscious part of my brain was off in some other place. My professor then proceeded to outline a new experiment to try. I nodded as though I understood, but again, had an extremely difficult time registering and comprehending what he was trying to say. The next day, I found that I could only recall fragments of what he had said, and had to go and ask him to repeat himself (luckily, he’s very absentminded, and forgot even talking to me the day before).
A moderate degree of pleasurable body sensations was present as well.  I also seemed to have a high degree of 'mental restlessness'; thoughts in my head were jumping around from topic to topic.
The effects would come in waves. With each wave, the effects, confusion, body sensations, etc., would build until a peak, then would gradually diminish leaving me feeling almost normal. Then the next wave would come, with a slightly higher peak then the last.
It had been two hours since ingestion, and so far found 2C-D to be lacking as a 'smart drug'. Although fun, it seemed to just be scrambling my thoughts, and making it very difficult to understand spoken conversation. I made my way off to an afternoon seminar in molecular biology, and figured I was in for more of the same.
As the lights dimmed in the lecture hall, and the instructor's PowerPoint presentation began, I found my concentration to be extremely focused on the written words on the projection screen. The instructor's voice was hard to focus on, but the figures and text being presented on the projector screen seemed to burn themselves into my head.
Normally, I find the content in this seminar course very difficult. I need to take extremely detailed notes, which I then typically follow up with detailed background reading on the topic being covered before I can fully understand the material. On 2C-D however, I found myself extremely attuned to the visual material being presented. I took no notes, and was able to comprehend everything, which really surprised me.
Near the end of the lecture, (t=3hrs) the effects began to fade, and by t=3.5 or t=4 hours, I was completely sober with no apparent after effects (except for a mild headache which I attribute to not having eaten for 10 hours). Overall, I saw some potential with this drug in being able to enhance my ability to comprehend and understand written words. At times however it was extremely difficult to focus, and I found conversation hard to understand. I decided that I would try repeating this dosage again at a later date.
Trial 3:
3mL (15mg) of 2C-D ingested one week following my last trial. Stomach completely empty, and I’m alone in my apartment.
I had been trying to read a paper published in an academic science journal for the past three hours, and was having a very difficult time understanding the content of it. To make things worse, I had to give a short talk on the paper in less than two days. I decided to try taking the 2C-D to see if I would have any more luck trying to understand the paper, and perhaps starting to put together my presentation.
The experience, time of onset, duration and sensations were identical to the previous trial, so I won’t bother discussing them. About an hour after I had taken the drug, I tried to tackle the paper again. To my amazement, I was able to read and comprehend a good majority of the paper after spending only twenty minutes on it. I pulled out my laptop and started taking jotting down notes on the paper, but within ten or fifteen minutes, my concentration broke, and I went off to do something else. I tried returning to the paper numerous times the remainder of the time I felt the effects of the drug, but found concentration impossible. Of note, I again found I had a mild headache after the drug wore of.
The next day though, I still remembered my “insights” into the article from the night before, and with about an hour of re-reading and looking into a few of the articles references, I felt confident enough to make my presentation right then and there.
Conclusions:
Overall, the high from the 2C-D is light, enjoyable, and not too hard on the psyche or body. Comedown and after-effects were non-existent for me, with the exception of a mild headache. This drug is fun to use recreationally, and I can see myself using it again for such purposes.
In terms of being a smart drug, I found some potential for 2C-D. The primary ways that it seemed to improve me mentally were my abilities to process, remember, and understand visual information such as text or pictures. I found that in other ways however that it was very cognitively impairing. My conversational ability was horrible while high, and I had a very hard time communicating thoughts to others. It was also very difficult to process conversation, and I found myself not remembering lots of what had been said to me. In addition, it seriously impaired my ability to concentrate on things. The drug gave me mental speediness that resulted in really noticeable ADD.
In conclusion, I definitely won’t be using this substance for any of my serious studying for my final exams at the end of April. I found that for me, the only real benefit was finding ways to understand and remember new and old visual stimuli, including written text. The volume of information that I need to learn for my final exams requires the ability to focus for hours at a time. I would use this drug again both recreationally, and perhaps to get across temporary roadblocks in my understanding of things, but not as a study aid.
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.


We sell networks!
- incubate back-end e-markets
- scale open-source partnerships
- benchmark B2B e-commerce
- brand revolutionary systems
- engineer killer deliverables
- scale impactful architectures
- iterate end-to-end web services
- maximize 24/365 e-commerce
- envisioneer cutting-edge convergence


Facebook is
great
.
Apple.
Microsoft.
Swap content of facebook and apple.
Swap content of apple and microsoft.


jquery.multiadder.js provides a generic markup pattern to prototype "multi adders". Click the "add" buttton to add an option. A data attribute (data-maxrows
) limits the amount.
This can be used independent of Twitter Bootstrap, just make to include the necessary .hide
CSS class.
©2013, Wolf's Little Store - Free to use under the MIT license.


DiDi TTI Data¶
We are especially grateful for the data provided by the DiDi Chuxing GAIA Initiative.
This dataset provides travel time index data for cities in Shenzhen, Chengdu, Xi’an, Suzhou, Ji’nan and Haikou in 2018, including city level, district level, road level, and average driving speed.
Step 1, select the 城市交通指数(新)
dataset from https://outreach.didichuxing.com/app-vue/DataList, download TTI data for Shenzhen, Chengdu, Xi’an, Suzhou, Ji’nan and Haikou, and unzip the data(including road.zip in every subdirectory) into the DiDiData dir.
After step1, you will have the following file-tree:
├─DiDiData
│ ├─成都市
│ │ .DS_Store
│ │ boundary.txt
│ │ city_district.txt
│ │ readME.txt
│ │ 成都市.txt
│ │
│ ├─济南市
│ │ .DS_Store
│ │ boundary.txt
│ │ city_district.txt
│ │ readME.txt
│ │ 济南市.txt
│ │
│ ├─海口市
│ │ .DS_Store
│ │ boundary.txt
│ │ city_district.txt
│ │ readME.txt
│ │ 海口市.txt
│ │
│ ├─深圳市
│ │ .DS_Store
│ │ boundary.txt
│ │ city_district.txt
│ │ readME.txt
│ │
│ ├─苏州市
│ │ .DS_Store
│ │ boundary.txt
│ │ city_district.txt
│ │ readME.txt
│ │ 苏州市.txt
│ │
│ └─西安市
│ .DS_Store
│ boundary.txt
│ city_district.txt
│ readME.txt
│ 西安市.txt
│
└─release_data_dir
│ README.md
│
│ DiDiTTI_utils.py
│ processingDiDiTTI.ipynb
│ README.md
│ StrictDataFormat.py
Step 2, use jupyter notebook to open processingDiDiTTI.ipynb, and follow the instructions in the notebook.
Following are the details to note:
For missing values in the dataset, we use the data from the previous week or the next week to fill.
According to TTI Calculation, when the road is congested, the actual speed is very slow and TTI value will become abnormally large, so we take the reciprocal of TTI value to make the pattern more obvious.
You will see the .pkl
data in release_data_dir
after step 2.


Since Puppet 4, the space between a variable and a left bracket is significant. Indeed, Puppet outputs different results if there is a space:
$var [3]
outputs first the value of $var
, then a literal array with the single value 3 in it.$var[3]
outputs index 3 of the array referenced by $var.$var [3]
$var[3]


|
by seagull
Team of Artists hires C++ programmer
|
|
|
|
[no replies]
|
|
by X1Zezeri
X1Software looking for C++ (Game) Programmers
|
|
|
|
[no replies]
|
|
by aamirkhan
C++ tutor
|
|
|
|
[4 replies] Last: Hello, I do appreciate your offer. when can we start this? (by AamirKhan75)
|
|
by dark ninjuh
Help with c++ please?
|
|
|
|
[2 replies] Last: Hi, I am a C++ tutor with experience in tutoring children, high schoo... (by Little Captain)
|
|
by buerolersch
Senior C++ Developer for Media Group, Zürich - Switzerland. Visa sponsorship - only EU candidates please!
|
|
|
|
[no replies]
|
| Software Engineer C/C++, Linux (video server) |
|
|
|
[no replies]
|
| Software Developer C++/Qt - London, UK |
|
|
|
[no replies]
|
|
by eyetracker
C++ for app interaction
|
|
|
|
[2 replies] Last: Hi It should be an html document in order to be accessed from the int... (by eyetracker)
|
|
by buerolersch
SOFTWARE ENGINEER - FACE RECOGNITION (JAVA, C++) DRESDEN GERMANY, VISASPONSORING
|
|
|
|
[no replies]
|
| I need a c++ tutor (willing to pay) |
|
|
|
[6 replies] Last: Sorry, all: $15 if you are 14 years old or younger no matter how long... (by Little Captain)
|
|
by Austin J
Video Game - Aeldyr
|
|
|
|
[2 replies] Last: Hey Austin! Ive got some allegro knowledge and proficiency with c++, ... (by axtyax)
|
|
by glassegg
Junior Mobile Game Developer
|
|
|
|
[no replies]
|
|
by glassegg
Graphic Designer
|
|
|
|
[no replies]
|
|
by rmarsh221
Senior C++ Software Engineer
|
|
|
|
[no replies]
|
|
by Nell34
C++-beginner searching for (paid) help
|
|
|
|
[2 replies] Last: Hi, i sent PM. regards @cronopio (by cronopio)
|
|
by Glork
Brain Teasers - an android app for training (by a recruiter)
|
|
|
|
[no replies]
|
|
by kaspi
Contribution to Divine Warfare, an MMOARPG on top of Unreal Engine
|
|
|
|
[no replies]
|
|
by buerolersch
C++ Developer/C++ Software Engineer (OpenGL GLSL 3D Rendering C/C++ VFX) – Munich - Visasponsoring
|
|
|
|
[no replies]
|
|
by buerolersch
C++ Developer for top company in Berlin (m/f). Visa sponsorship!
|
|
|
|
[no replies]
|
|
by aslan10
C++ programmer needed!
|
|
|
|
[12 replies] Last: I am also interested, currently I am C++, C# and web programmer now. I... (by CodeSlayer)
|


The Diff add-on allows you to compare 2 requests or responses.
It is typically accessed via right click menu items.


Welcome
Please load this Add-in in Excel.
Here's what the GitHub Add-in can do!
Access the GitHub API with Custom Functions
Get issue counts with GitHub.ISSUECOUNTFORREPO(repo, param1, ...)


meet
ubuntu
Ubuntu does every thing,
simply
stay connected
play, edit and share your files
choose your favorite games
it works
right out of the box
Manage all your projects
exchange files with PCs and Macs
connects with all your devices
Run ubuntu on all your devices
and for all your needs
Get your PC to the
next level
make your Tablet
full usable
Even Smarter Phones
Enjoy your
Smart TV
Ubuntu Server
for scale out computing
Build with Cloud computing on mind
thanks to:
For daily use
Web browsing
Office applications
Social and email
Music and mobile
Photos and videos
More apps
Personal cloud
by Developers, for Developers
“When choosing an OS to pre-install on the Dell XPS-13, our new developer-oriented laptop, Ubuntu was a natural choice. Ubuntu's overwhelming popularity among developers and its cloud capabilities made it a no brainer.”
Barton George, Director, Web Vertical, Dell
Busniess as usual
widely supported
easy to manage
no hidden costs, no lock-in
full support
So, why choose ubuntu?
Fast, Robust, Compatible
Free and open source software
Secure to its core
Always up to date


public class StateMachine extends State
A state machine takes in states and runs them in a controlled order.
By default the states will run in a linear fashion and the next state will start when the
previous state has finished.
State machines can be used for controlling auto modes, but can also be ran in teleop modes for
pre coded instructions that make driving easier.
State machines are also states themselves so a state machine can run another state machine. This allows for the reuse of auto code
debug, description
| Constructor and Description |
|---|
StateMachine(State... states) |
StateMachine(java.lang.String name,
int finalState,
State... states) |
StateMachine(java.lang.String name,
java.lang.String description,
int finalState,
State... states) |
| Modifier and Type | Method and Description |
|---|---|
void |
addState(State state)
Adds a state to the state machine.
|
double |
getTimeInLastState()
Gets the time in the most recently completed state
|
boolean |
isDone()
determine if the state machine is done
|
void |
run()
The run method takes care of actually running the states
|
void |
setFinalState(java.lang.Integer finalState) |
void |
setName(java.lang.String name) |
void |
start()
Read out that the state has started and reset the timer
|
void |
stop()
When the state machine is finished, read out it has finished
|
debugInfo, getNextState, verboseDebug
public StateMachine(java.lang.String name, int finalState, State... states)
public StateMachine(State... states)
public StateMachine(java.lang.String name, java.lang.String description, int finalState, State... states)
public void setFinalState(java.lang.Integer finalState)
public void setName(java.lang.String name)
public void start()
public void run()
public void stop()
public boolean isDone()
public void addState(State state)
state
- state that will be added to the state machinepublic double getTimeInLastState()


Previous Excel Table
Type something in the input field to search the table :
| Last Name | First Name | Date | Branch | Time | Notes | Banned Start | Banned Ending | Additional Notices |
|---|---|---|---|---|---|---|---|---|
| John | Doe | 2017/2/11 | APLH | 4:17pm | with J. Peppers boxing in the library. Told to stop and leave for the day | |||
| John | Doe | 2017/1/31 | APLH | 12:27pm | Got splinter in finger from restroom key tag - refused any treatment. | |||
| July | Dooley | 2015/1/14 | APLD | Being loud, asked to quite down | ||||
| Anja | Ravendale | 2015/3/19 | APLM | 2:45pm | Engaged in a fight with another unknown male patron, threw a chair | 2019/1/22 | 2019/7/22 | |
| K | Zong | 2018/3/1 | APLM | 2:09pm | knocking books and magaines off shelf - APD called - she left and threw things at building (Now enrolled in LEAD program) | |||
| Macy | J | 2018/9/28 | APLD | Created a series of disturbances, including making loud and abusivly racist statements to an Asian family that included small children, yelling and then starting a fight. |


AccuWeather: Clouds break, temps turn milder
by WABCNEW YORK (WABC) -- Clouds will give way to some sun on Tuesday and temperatures will turn milder in the afternoon.
This, after some precipitation moved across the region overnight. Northern parts of the viewing area, including Dutchess County, saw up to 4 inches of snow.
After dawn, traffic cameras along Interstate 84 showed snow covering grassy medians in towns including Fishkill, East fishkill, Lake Carmel and Brewster.
WATCH: Early snowfall in Dutchess County
Here is the 7-day forecast for the Tri-State area:
Tuesday
Clouds break, not as chilly with a high of 53.
Wednesday
Breezy blend with a high of 47.
Thursday
Sun to clouds with a high of 50.
Friday
A few showers with a high of 58.
Saturday
Brisk and chillier with a high of 45.
Sunday
Still chilly with a high of 47.
Monday
Chance of rain with a high of 50.
WATCH: Sam Champion has the 7-day forecast
Join Sam Champion for live updates during Eyewitness News This Morning and at Noon and join meteorologist Lee Goldberg during Eyewitness News at 4:00, 5:00, 6:00 and 11:00 p.m.
Check the weather any time at abc7NY.com/weather. For weather updates wherever you go, please download the AccuWeather app.
Click here for the latest watches and warnings from the National Weather Service.


--- products: new: limit: {{theme_settings.homepage_new_products_count}} featured: limit: {{theme_settings.homepage_featured_products_count}} top_sellers: limit: {{theme_settings.homepage_top_products_count}} carousel: {{theme_settings.homepage_show_carousel}} blog: recent_posts: limit: {{theme_settings.homepage_blog_posts_count}} --- {{#partial "hero"}} {{{region name="home_below_menu"}}} {{#and carousel carousel.slides.length}} {{> components/carousel arrows=theme_settings.homepage_show_carousel_arrows play_pause_button=theme_settings.homepage_show_carousel_play_pause_button}} {{/and}} {{{region name="home_below_carousel"}}} {{/partial}} {{#partial "page"}} {{#each shipping_messages}} {{> components/common/alert/alert-info message}} {{/each}}


|
Team 302 Swerve Robot
|
#include <SwerveChassis.h>
Public Member Functions | |
| SwerveChassis (std::shared_ptr< SwerveModule > frontLeft, std::shared_ptr< SwerveModule > frontRight, std::shared_ptr< SwerveModule > backLeft, std::shared_ptr< SwerveModule > backRight, units::length::inch_t wheelBase, units::length::inch_t track, units::velocity::meters_per_second_t maxSpeed, units::radians_per_second_t maxAngularSpeed, units::acceleration::meters_per_second_squared_t maxAcceleration, units::angular_acceleration::radians_per_second_squared_t maxAngularAcceleration) | |
| Construct a swerve chassis. More... | |
| void | ZeroAlignSwerveModules () |
| Align all of the swerve modules to point forward. More... | |
| void | Drive (units::velocity::meters_per_second_t xSpeed, units::velocity::meters_per_second_t ySpeed, units::angular_velocity::radians_per_second_t rot, bool fieldRelative) |
| Drive the chassis. More... | |
| void | Drive (double drivePercent, double steerPercent, double rotatePercent, bool fieldRelative) |
| Drive the chassis. More... | |
| void | Drive (frc::ChassisSpeeds speeds, bool fieldRelative) |
| Drive the chassis. More... | |
| void | UpdateOdometry () |
| update the chassis odometry based on current states of the swerve modules and the pigeon More... | |
| frc::ChassisSpeeds | GetChassisSpeeds () const |
| Provide the current chassis speed information. More... | |
| void | SetEncodersToZero () |
| Sets of the motor encoders to zero. More... | |
| double | GetEncoderValues (std::shared_ptr< SwerveModule > motor) |
| Get encoder values. More... | |
| void | ResetPosition (const frc::Pose2d &pose, const frc::Rotation2d &angle) |
| Reset the current chassis pose based on the provided pose and rotation. More... | |
| void | ResetPosition (const frc::Pose2d &pose) |
| Reset the current chassis pose based on the provided pose (the rotation comes from the Pigeon) More... | |
| units::length::inch_t | GetWheelBase () const |
| units::length::inch_t | GetTrack () const |
| units::velocity::meters_per_second_t | GetMaxSpeed () const |
| units::radians_per_second_t | GetMaxAngularSpeed () const |
| units::acceleration::meters_per_second_squared_t | GetMaxAcceleration () const |
| units::angular_acceleration::radians_per_second_squared_t | GetMaxAngularAcceleration () const |
| std::shared_ptr< SwerveModule > | GetFrontLeft () const |
| std::shared_ptr< SwerveModule > | GetFrontRight () const |
| std::shared_ptr< SwerveModule > | GetBackLeft () const |
| std::shared_ptr< SwerveModule > | GetBackRight () const |
| frc::SwerveDrivePoseEstimator< 4 > | GetPose () const |
| void | SetDriveScaleFactor (double scale) |
Definition at line 41 of file SwerveChassis.h.
| SwerveChassis::SwerveChassis | ( | std::shared_ptr< SwerveModule > | frontLeft, |
| std::shared_ptr< SwerveModule > | frontRight, | ||
| std::shared_ptr< SwerveModule > | backLeft, | ||
| std::shared_ptr< SwerveModule > | backRight, | ||
| units::length::inch_t | wheelBase, | ||
| units::length::inch_t | track, | ||
| units::velocity::meters_per_second_t | maxSpeed, | ||
| units::radians_per_second_t | maxAngularSpeed, | ||
| units::acceleration::meters_per_second_squared_t | maxAcceleration, | ||
| units::angular_acceleration::radians_per_second_squared_t | maxAngularAcceleration | ||
| ) |
Construct a swerve chassis.
| [in] | std::shared_ptr<SwerveModule> | frontleft: front left swerve module |
| [in] | std::shared_ptr<SwerveModule> | frontright: front right swerve module |
| [in] | std::shared_ptr<SwerveModule> | backleft: back left swerve module |
| [in] | std::shared_ptr<SwerveModule> | backright: back right swerve module |
| [in] | units::length::inch_t | wheelBase: distance between the front and rear wheels |
| [in] | units::length::inch_t | track: distance between the left and right wheels |
| [in] | units::velocity::meters_per_second_t | maxSpeed: maximum linear speed of the chassis |
| [in] | units::radians_per_second_t | maxAngularSpeed: maximum rotation speed of the chassis |
| [in] | double | maxAcceleration: maximum acceleration in meters_per_second_squared |
Definition at line 46 of file SwerveChassis.cpp.
| void SwerveChassis::Drive | ( | double | drive, |
| double | steer, | ||
| double | rotate, | ||
| bool | fieldRelative | ||
| ) |
Drive the chassis.
| [in] | double | drivePercent: forward/reverse percent output (positive is forward) |
| [in] | double | steerPercent: left/right percent output (positive is left) |
| [in] | double | rotatePercent: Rotation percent output around the vertical (Z) axis; (positive is counter clockwise) |
| [in] | bool | fieldRelative: true: movement is based on the field (e.g., push it goes away from the driver regardless of the robot orientation), false: direction is based on robot front/back |
Definition at line 172 of file SwerveChassis.cpp.
| void SwerveChassis::Drive | ( | frc::ChassisSpeeds | speeds, |
| bool | fieldRelative | ||
| ) |
Drive the chassis.
| [in] | frc::ChassisSpeeds | speeds: kinematics for how to move the chassis |
| [in] | bool | fieldRelative: true: movement is based on the field (e.g., push it goes away from the driver regardless of the robot orientation), false: direction is based on robot front/back |
| void SwerveChassis::Drive | ( | units::velocity::meters_per_second_t | xSpeed, |
| units::velocity::meters_per_second_t | ySpeed, | ||
| units::angular_velocity::radians_per_second_t | rot, | ||
| bool | fieldRelative | ||
| ) |
Drive the chassis.
| [in] | units::velocity::meters_per_second_t | xSpeed: forward/reverse speed (positive is forward) |
| [in] | units::velocity::meters_per_second_t | ySpeed: left/right speed (positive is left) |
| [in] | units::angular_velocity::radians_per_second_t | rot: Rotation speed around the vertical (Z) axis; (positive is counter clockwise) |
| [in] | bool | fieldRelative: true: movement is based on the field (e.g., push it goes away from the driver regardless of the robot orientation), false: direction is based on robot front/back |
|
inline |
Definition at line 135 of file SwerveChassis.h.
|
inline |
Definition at line 136 of file SwerveChassis.h.
| ChassisSpeeds SwerveChassis::GetChassisSpeeds | ( | ) | const |
Provide the current chassis speed information.
Definition at line 229 of file SwerveChassis.cpp.
| double SwerveChassis::GetEncoderValues | ( | std::shared_ptr< SwerveModule > | motor | ) |
Get encoder values.
Definition at line 222 of file SwerveChassis.cpp.
|
inline |
Definition at line 133 of file SwerveChassis.h.
|
inline |
Definition at line 134 of file SwerveChassis.h.
|
inline |
Definition at line 131 of file SwerveChassis.h.
|
inline |
Definition at line 132 of file SwerveChassis.h.
|
inline |
Definition at line 130 of file SwerveChassis.h.
|
inline |
Definition at line 129 of file SwerveChassis.h.
|
inline |
Definition at line 137 of file SwerveChassis.h.
|
inline |
Definition at line 128 of file SwerveChassis.h.
|
inline |
Definition at line 127 of file SwerveChassis.h.
| void SwerveChassis::ResetPosition | ( | const frc::Pose2d & | pose | ) |
Reset the current chassis pose based on the provided pose (the rotation comes from the Pigeon)
| [in] | const | Pose2d& pose Current XY position |
| void SwerveChassis::ResetPosition | ( | const frc::Pose2d & | pose, |
| const frc::Rotation2d & | angle | ||
| ) |
Reset the current chassis pose based on the provided pose and rotation.
| [in] | const | Pose2d& pose Current XY position |
| [in] | const | Rotation2d& angle Current rotation angle |
| void SwerveChassis::SetDriveScaleFactor | ( | double | scale | ) |
Definition at line 91 of file SwerveChassis.cpp.
| void SwerveChassis::SetEncodersToZero | ( | ) |
Sets of the motor encoders to zero.
set all of the encoders to zero
Definition at line 214 of file SwerveChassis.cpp.
| void SwerveChassis::UpdateOdometry | ( | ) |
update the chassis odometry based on current states of the swerve modules and the pigeon
Definition at line 202 of file SwerveChassis.cpp.
| void SwerveChassis::ZeroAlignSwerveModules | ( | ) |
Align all of the swerve modules to point forward.
Definition at line 83 of file SwerveChassis.cpp.


Local dancer to be in Macy's parade
by Kyle GraingerPIGEON FORGE, Tenn (WVLT) -- A local dancer is taking her talents to one of the biggest stages. Pigeon Forge High School student Megan Fee has been wowing people with her dance for years. Now, she'll be performing during the Macy's Thanksgiving Day Parade in New York!
Fee was one of 600 people specially selected from around the country as part of the Spirit of America dance team.
"I sent in a video audition and a few weeks later I heard I was accepted, which I was not expecting and so I am just so thrilled and it is an honor to dance," said Fee.
You can see her dance in person soon, during the Nutcracker at Country Tonite in Pigeon Forge.