output
element's exposed and announced accessible name.
Published:
Note: review additional tests.
Important note concerning TalkBack:
If output
elements are given an accessible name, or contain content by default, TalkBack paired with Chrome will auto-announce the accessible name, any default content, and role (status) of at least one, if not all, instances of output
s on initial document load or refresh.
output
with aria-label
Expectation: aria-label
provides accessible name when output
is empty, or has injected content.
output
with aria-label
and label
element.Expectation: aria-label
will overwrite label
and provide accessible name when output
is empty, or has injected content.
label
associationExpectation: label
provides accessible name when output
is empty, or has injected content.
output
ignored by VO when empty. When content is injected announcement of label text and output text combined. "label:" exposed as accName.output
ignored by VO when empty. When content is injected announcement of label text and output text is separate. "label:" exposed as accName.title
attributeExpectation: title
provides accessible name when output
is empty, or has injected content.
title
produces accessible name. With injected content title
ignored by VO and title
value exposed as AX "Help".output
with default text, label
association, and title
attributeExpectation: title
provides accessible name to output
.


Health Meters
Relevant Health Meters
Next Appointments / Events
Filter By:
| Select | Date | Description |
|---|---|---|
| {{event.date}} | {{event.event}} |
| Select | Date | Description |
|---|---|---|
| {{event.date}} | {{event.event}} |


&$556;
Dark Elven Village - 1 Newbie Travel Token
Talking Island - 1 Newbie Travel Token
Elven Village - 1 Newbie Travel Token
Orc Village - 1 Newbie Travel Token
Kamael Village - 1 Newbie Travel Token


Busters's label apologizes for causing misunderstanding with Minji's parents
by beansssOn November 20, JTG Entertainment released a statement of apology for causing misunderstandings surrounding former leader Minji's deaparture from the label's girl group, Busters.
JTG Entertainment stated, "We apologize for causing concerns due to our statement which was released abruptly without thorough checkup. We would also like to apologize to the parents whose SNS posts caused a stir online recently. The reason that Minji decided to leave Busters was not due to any issues she had with the company, but because she wanted to pursue other activities. We have come to an agreement with Minji to maintain our relations with her in her future promotions."
Minji also said to fans via Busters's official fan cafe, "Thank you for all of the love I've received until now. It was so much fun, and I'm proud." Meanwhile, Minji will be attending a press conference soon for her film 'I Killed My Wife Today'.


Adds object to draw.
Adding DOM element upper game engine canvas.
Clear canvas
Draws image on canvas. Read about addImage
Removes element from drawing function.
Generated using TypeDoc


Nick Leoni
Portfolio
Contact
Portfolio
Random Tech Quote
Browser
Repo
Day Planner
Browser
Repo
Weather Dashboard
Browser
Repo
Project Manager
Browser
Repo


Device status: CONNECTED DISCONNECTED
Orientation: alpha {{device.orientation.alpha | number:1}}, beta {{device.orientation.beta | number:1}}, gamma {{device.orientation.gamma | number:1}}, face down {{device.orientation.isFaceDown}}
IMPORTANT To calibrate your smartphone leave it vertical and position it in front of the screen, then click "Reset alpha orientation" button on your smartphone. Not all orientation are supported...


{% include career-objective.html %}
{% include experience.html %}
{% include personal-project.html %}
{% include qualifications.html %}
{% include skills.html %}
{% include achievements.html %}
{% include certifications.html %}
{% include personal.html %}
{% include signature.html%}


SKYNET
Sign Up
Login
About
Rooms
Fast Reservations
Other offers
Make your search easier!
Choose what will your room offer:
×
×
Username:
Password:


Sergio Aguero injury: Pep Guardiola says Manchester City will be without star striker for a few weeks with injury
by Press AssociationPep Guardiola says Sergio Aguero will be out for "a few weeks" after picking up an injury during Manchester City's win against Chelsea at the weekend.
The nature of the injury was not made clear by Guardiola in his pre-match press conference for their midweek Champions League game, but he confirmed Aguero would be out for a few games.
That timescale would appear to rule him out of the Manchester derby against United, which takes place on December 7, and even Guardiola admitted that it would be a miracle if Aguero recovered in time.
The Argentinian limped out of Saturday's 2-1 win against Chelsea, and he will definitely miss Tuesday night's Champions League clash with Shakhtar Donetsk, but his return date is unknown.
"Sergio will be out for a few games, a few weeks. I don't know exactly," said Guardiola. "(The injury) is at the front."
Asked about the United game, the Spaniard added: "Maybe we will have a miracle but I don't think so."
City will qualify for the last 16 of the Champions League if they avoid defeat against Shakhtar, and Guardiola added: "The position we have is good but we have not qualified yet.
"Tomorrow is a chance."
Jesus to step in for Aguero
Gabriel Jesus will be the man to step into Aguero's shoes up front, and the Brazilian added: "I am not happy Sergio is injured.
"I don't like it when my friends are injured, but every day I work hard and I am ready."
Guardiola's assistant Mikel Arteta has been linked with the Arsenal job should Unai Emery leave, while Everton could also be in the hunt if Marco Silva is sacked.
Guardiola backed his fellow Spaniard to be a successful manager when it happens, saying: "For sure he will be a manager.
"I want him to stay here as long as possible but personal life is personal life, professional desire is professional."


from today.com
In this practical you’ll practice plotting data with the amazing ggplot2
package. By the end of this practical you will know how to:
BernRBootcamp
R project. It should already have the folders 1_Data
and 2_Code
. Make sure that the data files listed in the Datasets
section above are in your 1_Data
folder.# Done!
Open a new R script. At the top of the script, using comments, write your name and the date. Save it as a new file called plotting_practicalI.R
in the 2_Code
folder.
Using library()
load the set of packages for this practical listed in the Functions section above.
## NAME
## DATE
## Plotting Practical
library(XX)
library(XX)
#...
library(tidyverse)
mcondalds.csv
data set, which contains nutrition information about items from McDonalds. Using read_csv()
, load the data into R and store it as a new object called mcdonalds
.mcdonalds <- read_csv("1_Data/mcdonalds.csv")
mcdonalds
# A tibble: 260 x 24
Category Item `Serving Size` Calories `Calories from … `Total Fat`
<chr> <chr> <chr> <dbl> <dbl> <dbl>
1 Breakfa… Egg … 4.8 oz (136 g) 300 120 13
2 Breakfa… Egg … 4.8 oz (135 g) 250 70 8
3 Breakfa… Saus… 3.9 oz (111 g) 370 200 23
4 Breakfa… Saus… 5.7 oz (161 g) 450 250 28
5 Breakfa… Saus… 5.7 oz (161 g) 400 210 23
6 Breakfa… Stea… 6.5 oz (185 g) 430 210 23
7 Breakfa… Baco… 5.3 oz (150 g) 460 230 26
8 Breakfa… Baco… 5.8 oz (164 g) 520 270 30
9 Breakfa… Baco… 5.4 oz (153 g) 410 180 20
10 Breakfa… Baco… 5.9 oz (167 g) 470 220 25
# … with 250 more rows, and 18 more variables: `Total Fat (% Daily
# Value)` <dbl>, `Saturated Fat` <dbl>, `Saturated Fat (% Daily
# Value)` <dbl>, `Trans Fat` <dbl>, Cholesterol <dbl>, `Cholesterol (% Daily
# Value)` <dbl>, Sodium <dbl>, `Sodium (% Daily Value)` <dbl>,
# Carbohydrates <dbl>, `Carbohydrates (% Daily Value)` <dbl>, `Dietary
# Fiber` <dbl>, `Dietary Fiber (% Daily Value)` <dbl>, Sugars <dbl>,
# Protein <dbl>, `Vitamin A (% Daily Value)` <dbl>, `Vitamin C (% Daily
# Value)` <dbl>, `Calcium (% Daily Value)` <dbl>, `Iron (% Daily
# Value)` <dbl>
mcdonalds
data frame has many column names with spaces and ‘bad’ characters like parentheses. Run the following code to fix that!# Clean up the names of mcdonalds
mcdonalds <- mcdonalds %>%
select(-contains("% Daily Value")) %>% # Remove all '% Daily Value' columns
rename_all(.funs = ~ gsub(" ", "", .)) # no more spaces!
# Clean up the names of mcdonalds
mcdonalds <- mcdonalds %>%
select(-contains("% Daily Value")) %>% # Remove all '% Daily Value' columns
rename_all(.funs = ~ gsub(" ", "", .)) # no more spaces!
mcdonalds
# A tibble: 260 x 14
Category Item ServingSize Calories CaloriesfromFat TotalFat SaturatedFat
<chr> <chr> <chr> <dbl> <dbl> <dbl> <dbl>
1 Breakfa… Egg … 4.8 oz (13… 300 120 13 5
2 Breakfa… Egg … 4.8 oz (13… 250 70 8 3
3 Breakfa… Saus… 3.9 oz (11… 370 200 23 8
4 Breakfa… Saus… 5.7 oz (16… 450 250 28 10
5 Breakfa… Saus… 5.7 oz (16… 400 210 23 8
6 Breakfa… Stea… 6.5 oz (18… 430 210 23 9
7 Breakfa… Baco… 5.3 oz (15… 460 230 26 13
8 Breakfa… Baco… 5.8 oz (16… 520 270 30 14
9 Breakfa… Baco… 5.4 oz (15… 410 180 20 11
10 Breakfa… Baco… 5.9 oz (16… 470 220 25 12
# … with 250 more rows, and 7 more variables: TransFat <dbl>,
# Cholesterol <dbl>, Sodium <dbl>, Carbohydrates <dbl>, DietaryFiber <dbl>,
# Sugars <dbl>, Protein <dbl>
In this section, you’ll build the following plot step by step.
ggplot(mcdonalds, aes(x = Calories, y = SaturatedFat, col = Category)) +
geom_point() +
geom_smooth(col = "black") +
labs(title = "McDonalds Nutrition",
subtitle = "Each point is a menu item",
caption = "Source: Kaggle.com") +
xlim(0, 1250) +
theme_minimal()
ggplot()
, create the following blank plot using the data
and mapping
arguments (but no geom). Use Calories
for the x aesthetic and SaturatedFat
for the y aestheticggplot(data = mcdonalds,
mapping = aes(x = XX, y = XX))
ggplot(mcdonalds, aes(x = Calories, y = SaturatedFat))
geom_point()
, add points to the plotggplot(data = mcdonalds,
mapping = aes(x = XX, y = XX)) +
geom_point()
ggplot(mcdonalds, aes(x = Calories, y = SaturatedFat)) +
geom_point()
color
aesthetic mapping, color the points by their Category
.ggplot(mcdonalds, aes(x = XX, y = XX, col = XX)) +
geom_point()
ggplot(mcdonalds, aes(x = Calories, y = SaturatedFat, col = Category)) +
geom_point()
geom_smooth()
.ggplot(mcdonalds, aes(x = XX, y = XX, col = XX)) +
geom_point() +
geom_smooth()
ggplot(mcdonalds, aes(x = Calories, y = SaturatedFat, col = Category)) +
geom_point() +
geom_smooth()
"black"
. When you do, you should then only see one line.ggplot(mcdonalds, aes(x = XX, y = XX, col = XX)) +
geom_point() +
geom_smooth(col = "XX")
ggplot(mcdonalds, aes(x = Calories, y = SaturatedFat, col = Category)) +
geom_point() +
geom_smooth(col = "black")
labs()
function.ggplot(mcdonalds, aes(x = XX, y = XX, col = XX)) +
geom_point() +
geom_smooth(col = "XX") +
labs(title = "XX",
subtitle = "XX",
caption = "XX")
ggplot(mcdonalds, aes(x = Calories, y = SaturatedFat, col = Category)) +
geom_point() +
geom_smooth(col = "black") +
labs(title = "McDonalds Nutrition",
subtitle = "Each point is a menu item",
caption = "Source: Kaggle.com")
0
and 1250
using xlim()
.ggplot(mcdonalds, aes(x = XX, y = XX, col = XX)) +
geom_point() +
geom_smooth(col = "XX") +
labs(title = "XX",
subtitle = "XX",
caption = "XX") +
xlim(XX, XX)
ggplot(mcdonalds, aes(x = Calories, y = SaturatedFat, col = Category)) +
geom_point() +
geom_smooth(col = "black") +
labs(title = "McDonalds Nutrition",
subtitle = "Each point is a menu item",
caption = "Source: Kaggle.com") +
xlim(0, 1250)
theme_minimal()
. You should now have the final plot!ggplot(mcdonalds, aes(x = XX, y = XX, col = XX)) +
geom_point() +
geom_smooth(col = "XX") +
labs(title = "XX",
subtitle = "XX",
caption = "XX")+
xlim(XX, XX) +
theme_minimal()
ggplot(mcdonalds, aes(x = Calories, y = SaturatedFat, col = Category)) +
geom_point() +
geom_smooth(col = "black") +
labs(title = "McDonalds Nutrition",
subtitle = "Each point is a menu item",
caption = "Source: Kaggle.com") +
xlim(0, 1250) +
theme_minimal()
ggplot(data = mcdonalds, aes(x = XX, y = XX, fill = XX)) +
geom_violin() +
guides(fill = FALSE) +
labs(title = "XX",
subtitle = "XX")
ggplot(data = mcdonalds, aes(x = Category, y = Calories, fill = Category)) +
geom_violin() +
guides(fill = FALSE) +
labs(title = "McDonalds",
subtitle = "Calorie distribution by menu category")
+ stat_summary(fun.y = "mean", geom = "point", col = "white", size = 4)
to include points showing the mean of each distributionggplot(data = mcdonalds, aes(x = Category, y = Calories, fill = Category)) +
geom_violin() +
guides(fill = FALSE) +
stat_summary(fun.y = "mean", geom = "point", col = "white", size = 4) +
labs(title = "McDonalds",
subtitle = "Calorie distribution by menu category")
+ geom_jitter(width = .1, alpha = .5)
to your plot, what do you see?ggplot(data = mcdonalds, aes(x = Category, y = Calories, fill = Category)) +
geom_violin() +
geom_jitter(width = .1, alpha = .5) +
guides(fill = FALSE) +
stat_summary(fun.y = "mean", geom = "point", col = "white", size = 4) +
labs(title = "McDonalds",
subtitle = "Calorie distribution by menu category")
stat_summary()
from "mean"
to "median"
.stat_summary()
to something much bigger (or smaller).width
argument in geom_jitter()
to width = 0
.geom_violin()
, try geom_boxplot()
.fill = Category
aesthetic entirely.ggplot(XX, aes(x = XX, y = X)) +
stat_summary(geom = "bar",
fun.y = "mean") +
labs(title = "XX",
subtitle = "XX")
ggplot(mcdonalds, aes(x = Category, y = Calories)) +
stat_summary(geom = "bar",
fun.y = "mean") +
labs(title = "Calories by McDonalds menu category",
subtitle = "Bars represent means")
"mean"
, show the "median"
.geom_point()
, geom_count()
or geom_jitter()
.Let’s create the following plot with additional point labels using geom_text()
:
ggplot(mcdonalds, aes(x = Sugars,
y = Calories,
col = Category,
label = Item)) +
geom_point() +
geom_text(data = mcdonalds %>%
filter(Calories > 1100),
col = "black",
check_overlap = TRUE,
hjust = "left") +
xlim(0, 150) +
ylim(0, 2000) +
theme_minimal() +
labs(title = "Adding labels to a plot with geom_text()")
ggplot(mcdonalds, aes(x = XX,
y = XX,
col = XX)) +
geom_point() +
xlim(XX, XX) +
ylim(XX, XX) +
theme_minimal() +
labs(title = "XX")
Try adding labels to the plot indicating which item each point represents by adding + geom_text()
.
Where are the labels? Ah, we didn’t tell ggplot
which column in the data represents the item descriptions. Fix this by specifying the label
aesthetic in your first call to the aes()
function. That is, include label = Item
underneath the line col = XX
. Now you should see lots of labels!
Customize your geom_text()
by including the arguments: geom_text(col = "black", check_overlap = TRUE, hjust = "left")
.
Using the data
argument in geom_text()
, specify that the labels should only apply to items over 1100 calories (hint: geom_text(data = mcdonalds %>% filter(XX > XX))
)
Play around!
size
aesthetic.theme_excel()
included in the ggthemes
package.# ggplot2 -----------------------
library(tidyverse) # Load tidyverse (contains ggplot2!)
mpg # Look at the mpg data
# Just a blank space without any aesthetic mappings
ggplot(data = mpg)
# Now add a mapping where engine displacement (displ) and highway miles per gallon (hwy) are
# mapped to the x and y aesthetics
ggplot(data = mpg,
mapping = aes(x = displ, y = hwy)) # Map displ to x-axis and hwy to y-axis
# Add points with geom_point()
ggplot(data = mpg,
mapping = aes(x = displ, y = hwy)) +
geom_point()
# Add points with geom_count()
ggplot(data = mpg,
mapping = aes(x = displ, y = hwy)) +
geom_count()
# Again, but with some additional arguments
# Also using a new theme temporarily
ggplot(data = mpg,
mapping = aes(x = displ, y = hwy)) +
geom_point(col = "red", # Red points
size = 3, # Larger size
alpha = .5, # Transparent points
position = "jitter") + # Jitter the points
scale_x_continuous(limits = c(1, 15)) + # Axis limits
scale_y_continuous(limits = c(0, 50)) +
theme_minimal()
# Assign class to the color aesthetic and add labels with labs()
ggplot(data = mpg,
mapping = aes(x = displ, y = hwy, col = class)) + # Change color based on class column
geom_point(size = 3, position = 'jitter') +
labs(x = "Engine Displacement in Liters",
y = "Highway miles per gallon",
title = "MPG data",
subtitle = "Cars with higher engine displacement tend to have lower highway mpg",
caption = "Source: mpg data in ggplot2")
# Add a regression line for each class
ggplot(data = mpg,
mapping = aes(x = displ, y = hwy, color = class)) +
geom_point(size = 3, alpha = .9) +
geom_smooth(method = "lm")
# Add a regression line for all classes
ggplot(data = mpg,
mapping = aes(x = displ, y = hwy, color = class)) +
geom_point(size = 3, alpha = .9) +
geom_smooth(col = "blue", method = "lm")
# Another fancier example
ggplot(data = mpg,
mapping = aes(x = cty, y = hwy)) +
geom_count(aes(color = manufacturer)) + # Add count geom (see ?geom_count)
geom_smooth() + # smoothed line without confidence interval
geom_text(data = filter(mpg, cty > 25),
aes(x = cty,y = hwy,
label = rownames(filter(mpg, cty > 25))),
position = position_nudge(y = -1),
check_overlap = TRUE,
size = 5) +
labs(x = "City miles per gallon",
y = "Highway miles per gallon",
title = "City and Highway miles per gallon",
subtitle = "Numbers indicate cars with highway mpg > 25",
caption = "Source: mpg data in ggplot2",
color = "Manufacturer",
size = "Counts")
| File | Rows | Columns |
|---|---|---|
| mcdonalds.csv | 260 | 24 |
| Package | Installation |
|---|---|
tidyverse |
install.packages("tidyverse") |
ggthemes |
install.packages("ggthemes") |
The main ggplot2
webpage at http://ggplot2.tidyverse.org/ has great tutorials and examples.
Check out Selva Prabhakaran’s website for a nice gallery of ggplot2 graphics http://r-statistics.co/Top50-Ggplot2-Visualizations-MasterList-R-Code.html
ggplot2
is also great for making maps. For examples, check out Eric Anderson’s page at http://eriqande.github.io/rep-res-web/lectures/making-maps-with-R.html
from R Studio


The "drag and drop" feature turned out to be incredibly difficult to implement on Android. However, here are some sketches of the control flow and the handles affording the dragging.
The handles. The control flow.
The width of the buttons has been expanded to fill the screen. This ensures that they are easy to hit, however does add the fear of accidentally hitting the wrong button. You can also see that the colors of the buttons have been changed to keep the design paradigm of color unitiy among individual song controls.
Since the text on the buttons was removed last phase, we were worried that first time users wouldn't initally understand what each icon implied the button did. As a result, we added something called Toast notifications. They are a non-interactive, semi-transparent text boxes that can show the user a simple line of text. They will show automatically for new users. However, the user can easily disable these notifications in the settings as they get used to the application.
We also added the pitch slider. Notice how it leaves both the left and right volume sliders accessable, while blocking the controls for the right side. Since this is a multitouch application, ideally the DJ would be able to control the left volume, the left pitch, and the right pitch all at the same time. Unfortunately, it turns out the Droid X doesn't support more than 2 simultanious touches. The pitch slider can be dismissed via the standard Android method of hitting the "Back" button, or touching any area that isn't a volume slider or the slider itself.
The rabbit and the turtle icons are used to show which direction the slider increases versus decreases pitch. We choose the rabbit because when the pitch of the song goes up, the song also gets faster, and the inverse for lowering the pitch. We felt that the rabbit and the turtle are common icons that afford a connotation about speed. One downside is that we weren't positive that this connotation would be universal around the world.
Lastly, the background of the pitch slider is different from that of our volume sliders. Why? Because we wanted to further distinguish that although they both slide, it will not impact the actual song volume. This is because we felt that if the volume of the song were to suddenly decrease, it would be a terrible error for the DJ.
Overall, we feel that these additions bring the usability of our interface to an enjoyable level for our client-base. We feel that if implemented on fully multi-touch hardware, the implications of 3 or even 4 finger touch could be easily utilized in cool new ways by our application.


Kumpula Humanitarian Mapathon Statistics
Some statistics of our effort for the
#1343 - Missing Maps: Northern Tete province, Mozambique
task.
Data Created on 27th November 2015 from 16:00 to 24:00 (in Finnish Time)
Unclassified roads, total length
Residental roads, total length
Residential areas, total count
Residential areas, total area
Residential areas, average area


Explore a timeline of significant events and discoveries in the development of the internet.
The first ARPANET connection was established between the University of California and the Stanford Research Institute.
Effort to merge networks through creation of internetwork protocol begins.
Term Internet is coined and Specification of Internet Transmission Control Program is created.
TCP/IP is created.
Tim Berners-Lee invents the World Wide Web.
Tim Berners-Lee develops first web server and browser called WorldWideWeb which will later be renamed Nexus.
Mosaic, the first browser targeted toward non-technical users is created. The browser is later renamed Netscape. This browser is largly attributed with fueling the internet boom of the 1990s.
The Internet can be accessed regularly by mobile devices, which would lead to the development of Apps.
The first tweet from space is made by astronaut TJ Creamer from the International Space Station.


Source localization in complex listening situations...
...mark breneman's
interpretation
Whats this Paper All About?
In the simplest terms this paper proposes a way to determine where sound is coming from
So hows it work?
So hows it work?
Well lets be honest for a moment this is super complicated.
So hows it work?
In order to determine where sounds are coming from you have to;
- Determine what sound your looking for
- Ignore other sounds
- Ignore reflections of sound
- Ignore superposition of sounds(effect of one sound on another)
So hows it work?
...And most importantly understand how sound is perceived physiologically.
The authors of the paper point to this commonly accepted spatial model of hearing
...this makes it easy to understand...sort of
So hows it work?
Looking at the model the bottom three section(the ear parts) are all well understood physiologically
So hows it work?
Where this paper applies is at the binaural processing layer...where the sounds gets analyzed.
So hows it work?
In order to understand how sound is analyzed two key terms are used
So hows it work?
Interaural Time Difference (ITD) is the difference in arrival time of a sound between two ears
a
With sound A it the ITD is equal where as with sound B there is a difference
So hows it work?
Interaural Level Difference (ILD) is the difference sound level(db) of a sound between two ears
The sound level in right ear will be less than that of left as the head will absorb some of the sound(high frequencies have greater difference)
So hows it work?
Using the concepts of ITD, and ITL the authors propose a modeling mechanism (a way of analyzing ITD's and ITLs) which can determine sound location in complex listening situations.
So hows it work?
The modeling mechanism is uses a bunch of math....
So hows it work?
...but all that breaks down to the following
By considering only ITD and ILD cues occurring at time instants when they represent the direction of the of the selected sources and ignoring other cues, they can explain various aspects of source localization in complex listening situations.
So hows it work?
Okay but what does that mean?
Instead of paying attention to every "cue" or sound, the authors propose a filter of sorts called interaural coherence(IC). IC is basically the maximum of the interaural cross-correlation function for values of lag within limits, e.g., +-1 or +-2 ms...this is basically the hearing response time of humans(1/3 octave band).
So hows it work?
"By selecting ITD's and ILD cues which coincide with IC cues larger than a certain threshold, one can...obtain a set of ITS and ILD cues similar to corresponding cues of a source in free field( a sound in isolation or anechoic chamber)." parenthesis mine.
.....Okay I'll take your word for it.
Thanks...
So whats the use of this "mechanism"?
Well...
So whats the use of this "mechanism"?
In most physical phenomena, an action correlates to sound, so this understanding could lead to a greater sensitivity, and understanding of what happens where.
So whats the use of this "mechanism"?
How about some "real" applications?
- You could identify singers in a chorus who are off key and shame them...or praise those with perfect pitch
- Imagine being able to pinpoint in nature where a bird is at based off of their chirps(real life twitter)
- Knowing where sounds come from could allow audio engineers and artist the ability to create personalized sound experiences in environments.(tailored to the individual)
Cool so what the catch?
- Well all this research doesn't consider any of the physiological influences of the ear (assumes perfect signal transmission)
- It relies on "critical" bands of sound...and honestly I'm not sure what critical is really based off of, but if a sound was outside of this critical band of frequencies the response might not identifiable.
- It also assumes that at some point there is a verifiable sound sample, without reflection, or superpositions.
Ok...So what are your thoughts on this paper?
While this paper presents an interesting idea it does a terrible job of explaining it's application, and its internal workings. It seems to be focused purely towards acoustical engineers. I really wish they would have included more imagery, and more discussion on how the technology could be applied, as the idea and philosophy of identifying sounds location has a lot of great applications.


Overview of Stratified Plume Model Module¶
- Release
2.1
- Date
Jun 05, 2020
Stratified Plume Model¶
Simulate a buoyant plume in stratification dominate or quiescent conditions
This module defines the classes, methods, and functions necessary to simulate the buoyant plume behavior in stratification dominant conditions, where the effects of crossflows are negligible. The ambient water properties are provided through an ambient.Profile class object, which contains a netCDF4-classic dataset of CTD data and the needed interpolation methods. The dbm class objects dbm.FluidParticle and dbm.InsolubleParticle report the properties of the dispersed phase during the simulation, and these methods are provided to the model through the objects defined in dispersed_phases.
Notes¶
This model is a double plume integral model following the approach in Socolofsky et al. (2008), but including the capability to have an arbitrary number of dispersed phases, each with its own particle size distribution.
Detrainment to for subsurface intrusions follows the approach in Crounse (2000).
See Also¶
- single_bubble_modelTracks the trajectory of a single bubble, drop or
particle through the water column. The numerical solution used here, including the various object types and their functionality, follows the pattern in the single_bubble_model. The main difference is the more complex state space and governing equations.
Class Objects and Methods¶
The Model
object is the main interface to the stratified_plume_model
.
Its definition and methods are as follows:
|
Master class object for controlling and post-processing the simulation |
|
Simulate the plume dynamics from given initial conditions |
|
Save the current simulation results |
|
Save the state space in ascii text format for exporting |
|
Load in a saved simulation result file for post-processing |
|
Plot the simulation state space |
|
Plot a comprehensive suite of simulation results |
All of the model parameters are contained in the ModelParams
object. This
object is described in the following:
|
Fixed model parameters for the stratified plume model |
Local variables defined for each slice of the inner plume are stored in an
InnerPlume
object. Its definition and methods are as follows:
|
Manages the inner plume state space and derived variables |
|
Update the InnerPlume object with the current local conditions |
Likewise, local variables defined for each slice of the outer plume are
stored in an OuterPlume
object. Its definition and methods are as follows:
|
Manages the outer plume state space and derived variables |
|
Update the OuterPlume object with the current local conditions |
Module Functions¶
Utility Functions¶
The stratified plume model objects defined above use several utilities to perform their numerical tasks. These are generally not intended to be called directly by the user and are summarized below:
|
Manage the integration of the inner plume |
|
Manage the integration of the outer plume segments |
|
Computes the error between two solutions of the state space. |
|
Plot the state space for interrogation during model convergence |
|
Plot the complete variable suite for model validation and interpretation |
There are also some functions designed to help create initial conditions for the model. These are:
|
Create a dispersed_phases.PlumeParticle object from volume flux |
|
Create a dispersed_phases.PlumeParticle object from the mass flux |
Numerical Model Functions¶
The main numerical modeling functions for the stratified plume model are
stored in the smp
module. These functions could be ported to Fortran or
another language, but are not intended for the user to call directly.
Instead, these are used by the objects defined above. The functions contained
in the smp
module are:
|
Calculate the derivatives for the system of ODEs for the inner plume |
|
Calculate the derivatives for the system of ODEs for the outer plume |
|
Integrate an inner or outer plume segment from z0 to zf |
|
Make sure the correct temperature is stored in the state space solution |
|
Continuous peeling model of Crounse (2000) |
|
Compute the initial conditions for the inner plume state space |
|
Build the inner plume state space given the initial conditions |
|
Compute the initial condition for the outer plume at the sea surface |
|
Compute the initial condition for the outer plume at the DMPR |
|
Compute the initial condition for the outer plume at depth |
|
Compute the outer plume initial width and velocity |


AI Lead Dev
Working with iwi group TeHiku.NZ in 2019 I led the machine learning effort to train models and build an API for the world's most accurate automated speech recognition (ASR) system for Te Reo Māori. When presented at language conferences in Oxford and Cambridge senior developers from Mozilla described themselves as "shocked and amazed" at the high accuracy of our model. I am now with Te Hiku full time.
Technical co-founder
Mutual Credit Services envision a global Credit Commons underpinning a collaborative economy that has become 'business as usual'. We have a large goal but we're building this one community at a time.
Co-founder
Together is a project that asks the question - what if we could actually see the network of connections showing who has been acknowledged by who in a community?
We're building a high fidelity, open source, mobile experience and aim to become the foundation platform whenever people want to build communities based on reciprocity and open exchange.


AUT Script Wizard
This form will produce a scala script based on the selection of filters. You can copy the code to your clipboard and run it using :paste in the spark shell.
What would you like to collect?
plain text
script generator for networks coming soon...
Would you also like them grouped by...?
Dates
Domains
Urls (inside the text)
Insert the relative path to your files:
add filter
by domain
by date
by url pattern
by language
keyword
remove boilerplate
In what format would you like your output?
Output to Screen
Output to TextFile
Take this many:
create script


Connecting...
home
|
puzzles
|
new puzzle
Hello,
. Score:
..
|
logout
Connection Failed. Refresh to try again.
We Puzzle It!
Solve The Puzzle
time left:
--
Loading...please wait.
Who's Playing


Basic Compression Library
by Marcus Geelnard
Release 1.2.0
2006-07-22
Introduction
The Basic Compression Library is a library of well known compression
algorithms implemented in portable ANSI C code.
For more information about the Basic Compression Library, please read
the manual (doc/manual.pdf) and, of course,
the source code.
Version History
1.2.0 (2006.07.22)
- As Tomasz Cichocki kindly pointed out, the Huffman coder that was
implemented in versions 1.1.3 and earlier was actually a Shannon-Fano
coder. The coder was accordingly renamed.
- A new, true Huffman coder was created. It is very similar to the
Shannon-Fano coder, but it compresses slightly better. The new Huffman
decoder is not compatible with the Huffman decoder in version 1.1.3,
so it can not handle compressed data generated with older versions of
the library.
- Fixed a compilation warning for Visual C++ in the LZ coder
(thanks Yuval Ofer!).
1.1.3 (2006.07.06)
- Improved the Huffman decompression speed with about 400%, and at
the same time made the source code easier to understand (hopefully).
1.1.2 (2006.06.26)
- The "fast" LZ compression algortihm is now even faster, since the
search window is limited, just as it is in the standard LZ
compression algorithm.
- The test application (bcltester) now measures the compression and
decompression speeds.
- Removed the -Wtraditional flag from the Makefile.
- Updated some paragraphs in the documentation.
- Changed the readme-file from text to HTML.
- Moved from CVS to Subversion revision control system.
1.1.1 (2004.12.25)
- Bugfix in rle.c: When exactly three sequential bytes equal to the
marker byte occured in the input stream, the coder output one byte too
many.
1.1.0 (2004.12.14)
- Bugfix in rice.c: Changed internal signed magnitude format in order to
support all possible signed values. As a result, data that has been
compressed with rice.c in v1.0.6 is no longer compatible with v1.1.0!
- Bugfix in huffman.c: The Huffman tree was not optimally balanced, so
incompressible data would overflow the output buffer (effectively
rendering the compressed data invalid). The fixed Huffman coder should
compress slightly better than the old 1.0.6 coder.
- A new faster LZ77 coder (LZ_CompressFast).
- Added a compression test utility (bcltester.c).
1.0.6 (2004.05.22)
- Bugfix in the LZ77 decoder.
1.0.5 (2004.05.09)
- Added a LZ77 coder/decoder.
1.0.4 (2004.04.21)
- Bugfix in rle.c: Long runs would be truncated (thanks Steve!).
1.0.3 (2004.02.17)
- The project was moved to Sourceforge.
- Changed license to the zlib license.
1.0.2 (2003.10.04)
- Improved Rice compression.
1.0.1 (2003.10.01)
- Added Rice compression.
- Added bfc, the Basic File Compressor :)
1.0.0 (2003.09.29)
- Initial release.
- RLE and Huffman compression


About Us
The Alliance of Hope for Suicide Loss Survivors, a 501(c)3 charitable nonprofit, provides healing support for people who have lost loved ones to suicide. It was founded in 2008 by Ronnie Walker, a licensed clinical mental health counselor who lost her stepson to suicide in 1995.
The Alliance of Hope is a non-denominational and non-discriminating non-profit that recognizes and appreciates each contribution to the quality of life. Our staff, volunteers, community members and clients are survivors from diverse cultures and faith traditions, bound together by similar loss. We are committed to providing an environment that is free from discrimination in employment and opportunity because of race, color, religion, creed, national origin, ancestry, disability, gender, sexual orientation, or age.
Our Mission: Kindness matters. For those who've lost a loved one to suicide, it matters a lot. We exist to provide healing, compassionate support to those who are suffering through the lonely and tumultuous aftermath of suicide. Our services help people survive and go beyond just surviving, to lead productive lives filled with meaning and joy.
According to the World Health Organization, approximately one million people die by suicide annually. For each of those victims, six to eight other people are profoundly affected by a devastating grief.
In the U.S. alone, 4.7 million people are dealing with the aftermath of suicide. Those left behind —husbands, wives, parents, children, siblings, friends — grapple with debilitating emotions, and complex personal challenges. Many who have gone through the experience say they never knew such pain existed.
It is our aim to ensure that no survivor goes without the support they need. Since our founding, we have helped thousands of survivors from many cultures and faith traditions all over the world.
Our Website and Forum:
Our website contains information to help survivors understand the complex emotional aftermath of suicide. It also features a blog, bookstore, and memorials.
Our community forum hosts over 8,500 members from around the world and more than 200,000 commentaries describing the survivor experience. It is supervised by a mental health counselor and trained team of survivor moderators who provide information and hope. Many members tell us it is their “lifeline.”
We have been recommended by major international organizations such as the American Association of Suicidology, American Foundation of Suicide Prevention, Canadian Mental Health Association, Survivors of Bereavement by Suicide (SOBS) and many others.
For the last four years, we have been rated a “Top Health Nonprofit” by GreatNonprofits.
For original and official website please visit AllianceOfHope.org Site Redesign by Daniel Solsman email<EMAIL_ADDRESS>Last updated August, 2016
Please visit my personal blog and portfolio atDannySolsman.com


This extension manages the funds of the DAO. The funds can be ETH or any ERC-20 token.
It also manages internal tokens such as units and loot (but could be anything else).
On top of that, it implements balance checkpoints so it is possible to retrieve prior balance at a certain block number. The balance is managed for the member address (not the delegate key).
availableTokens
and availableInteralTokens
, are tokens that have been whitelisted for use with the DAO. A token goes from tokens
or internalTokens
to availableTokens
and availableInternalTokens
respectively when the function registerPotentialNewToken
or registerPotentialNewInternalToken
is called.
List of all the external tokens that are whitelisted in the bank.
List of all the internal tokens that have been whitelisted / created.
Same as the list of tokens but accessible in a random way.
Same as the list of internal tokens but accessible in a random way.
Checkpoints for each token / member.
Checkpoint counts for each token / member.
This function can be called only once and only by the creator of the DAO. It registers the internal token UNITS, and gives 1 unit to the creator.
This function is only accessible if you have extension access WITHDRAW
.
The function subtracts from the account the amount and then transfers the actual tokens to the account address.
Returns true if the token address is a registered internal token.
Returns true if the token address is a registered external token.
Sets the maximum number of external tokens managed by the Bank. It is possible to set that only if the Bank extension has not been initialized, otherwise it will fail. By default the extension can not handle more than 200 tokens - to prevent issues with block size limit.
Whitelists a token if it is not already the case.
Whitelists an internal token if it is not already the case.
Gets the token at index in tokens.
Return the length of tokens.
Gets the internal token at index in internalTokens.
Return the length of internalTokens.
Adds to the member balance the amount in token. This also updates the checkpoint for this member / token.
Subtracts from the member balance the amount in token. This also updates the checkpoint for this member / token.
Subtracts from the from
address and then adds to the to
address the amount in token.
This also updates the checkpoint for the addresses / token.
This function updates the internal bank accounting by calling the balance of the bank at the given token address.
If the real total is higher than the internal total, the internal total is updated and the difference is added to the guild bank. If the real total is lower than the internal total then we have two cases:
Usually, the second case should not happen. A proper ERC-20 should not remove tokens without a direct action from the bank extension (and we have no way to approve the token either). But it is possible that some ERC-20 tokens are dynamically changing the balance and we need to take that into account. If too many tokens are being removed from the bank by a third party, keeping it out of sync seems to make sense to avoid getting into very complex accounting and trying to figure out who should get slashed too.
If the balance changes again, calling updateToken can fix the issue.
Returns the balance of a certain account for a certain token.
Returns the balance of a certain account for a certain token at a certain point in time (block number).
Internal function to create a new amount checkpoint (if a balance has been updated).


Project Structure
This topic considers the concept of projects based on the IntelliJ Platform and related subjects, such as modules, facets, libraries, and SDK. The project structure and Java classes available to manage projects and modules are discussed.
Project and Its Components
This section briefly discusses the IDEA project structure, project components and related terms.
For more information about projects and their components, refer to Project, Module, Library, Facet in the IntelliJ IDEA Web Help.
Project
In the IntelliJ Platform, a project encapsulates all of a project’s source code, libraries, and build instructions into a single organizational unit. Everything done using the IntelliJ Platform SDK is done within the context of a project. A project defines collections referred to as modules and libraries. Depending on the logical and functional requirements for the project, you can create a single-module or a multi-module project.
Module
A module is a discrete unit of functionality that can be run, tested, and debugged independently. Modules include such things as source code, build scripts, unit tests, deployment descriptors, etc. In a project, each module can use a specific SDK or inherit the SDK defined at the project level (see the SDK section below in this document). A module can depend on other modules of the project.
Library
A library is an archive of compiled code (such as JAR files) on which modules depend. The IntelliJ Platform supports three types of libraries:
- Module Library: the library classes are visible only in this module and the library information is recorded in the module’s
.iml
file. - Project Library: the library classes are visible within the project and the library information is recorded in the project’s
.ipr
file or in.idea/libraries
. - Global Library: the library information is recorded in the
applicationLibraries.xml
file in the~/.IntelliJIdea/config/options
directory. Global libraries are similar to project libraries, but are visible for different projects.
For more information about libraries, refer to Library.
SDK
Every project uses a Software Development Kit (SDK). For Java projects, SDK is referred to as JDK (Java Development Kit).
The SDK determines which API library is used to build the project. If a project is multi-module, the project SDK is common for all modules within the project by default. Optionally, a project can configure an individual SDK for each module.
For more information about SDKs, see Working with SDKs in the IntelliJ IDEA Web Help.
Facet
A facet represents a certain configuration, specific for a particular framework/technology associated with a module. A module can have multiple facets. E.g. Spring specific configuration is stored in a Spring facet.
Facets are documented under Facet and Language and Framework Specific Guidelines in the IntelliJ IDEA Web Help.
Additional Information
For more information on each of these entities, see:
- Project
- Module
- SDK
- Library
- External system integration (for projects imported from Gradle or similar build systems)


Security¶
Windows and sliding doors¶
The building has a small number of windows and sliding doors that can be opened. They are not to be used.
Tornado¶
We experience an average of more than 20 tornadoes a year in Indiana, and the best way to protect yourself should one strike your location is to be prepared. Knowing the difference between a watch and warning can help you determine the risks you may face. A tornado “watch” means that weather conditions have the potential to create a tornado in the area, while a “warning” means that a tornado has been sighted.
Things you should do¶
- When you find out there is a tornado warning for your location, get inside a building, get away from exterior walls and windows, and go down as far as you can.

- Instructors will have a weather radio and ensure it has full batteries in it.
- Instructors will take the weather radio with them to where you seek shelter to stay updated on the situation.
Things you should NOT do¶
- Never wait for a siren to be sure if the danger is real; always head for shelter as soon as you get an alert from the National Weather Service. IU-Notify, or an Instructor or other IU employees.
- Don’t rely on IU-Notify for weather warnings. Your instructors will be paying attention to the weather radio and/or the National Weather Service apps on their phones.
- Don’t leave your shelter until an all clear has been given.
- Never seek shelter under a bridge; the bridge will act as a funnel and strengthen the winds underneath.
Fire¶
Evacuate if
- A fire alarm is sounding
- There is the presence of fire, smoke, or the odor of burning in the building
- If you discover a fire, explosion or smoke in a building, inform your instructor who will activate the nearest fire alarm and proceed to evacuate, following the evacuation procedures here.
Drills¶
- Instructors will inform students of the location to meet in a case of a Tornado.
- Instructors will inform students how to leave the building in case of a fire and where to meet. Be prepared for a headcount and let an isntructor know if one of your classmates is missing.
Workspace Security¶
Workplace Organization¶
Tools and other equipment may be shared with the class. After use they must be returned to the tools section.
Scissors, Knifes and other Sharp tools¶
Students are not allowed to use scissors, knifes, or other sharp tools including screwdrivers without supervision. Such tools must not be used inappropriately. Failure to use them appropriately can result in expulsion from the camp.
Soldering¶
For the robot camp soldering will be conducted by a qualified instructor.
Knowledge of Electricity¶
As we are using ele tricuty and the devices we may use are expensive no device may be used in a form so that they are broken on purpose. THe experiment needs to be understood. If not, read the manuals, work with the assistnts, and get informed. Do the experimen in theory before “hacking”. THe same is valid with the code.
Robot Car Security¶
Robot Floor¶
Robots are run on white boards in the middle of the room. You are not allowed to walk without permission across these boards as they need to be kept clean for the robots. If you need to pick up a robot please make sure to have clean shoes. If you do leave marks on the board we may ask you to clean them up yourself.
Robot Table Frames¶
Before running robots on the table you will get a table frame so that the robots is prevented to fall off the table.
Robot Tripods¶
A number of tripods are placed in the room. The tripods have a positioning sensor mounted on them and moving or touching the tripots will affect the sensors. The tripods are not to be touched. Failure may result in expulsion from the camp.
Drone Security¶
Drone Tripods¶
A number of tripods are placed in the room. The tripods have a positioning sensor mounted on them and moving or touching the tripots will effect the sensors. The tripods are not to be touched. Failure may result in expulsion from the camp.
Drone Nets¶
In case drones will be used in the camp, drones must not be flown in the open areas. Instead they will be positioned behind a net. In case you experiment with drones on your desk, they must be secured with a fishing line and you must wear safety goggles. These nets are not climbing nets. They should also not be used to hang on them. They present a safety barrier between you and the area where the drones fly. Other than opening the dedicated entry points to the flying area the nets must not be touched. Failure to do so may result in expulsion from the lab.
Recreational Recess Activities¶
As part of the camp, instructors may decide to do some recreational indoor and outdoor activities. Camp participants are required to follow instructions from instructors and avoiding dangerous activities. The same recess rules as in your school apply. If in doubt, ask.
Rules and expectations:
- No physical contact (i.e., pushing, hitting, fighting, kicking) or tackle sports.
- No carrying others on your back.
- Keep sticks, rocks, and snow on the ground and do not throw them.
- There will be NO jumping off of equipment, tables, benches.
- Soccer balls, kickballs, footballs, etc. may be brought onto the field. Be carefull not to hurt others.
- Enjoy playing in the green space around the rugby are, but stay close to the building and in sight.
- No climbing on the fences and trees or running through plants/ trees.
Character expectations:
- Students need to follow the teacher’s/associate’s directions
- Use only acceptable language–swearing, name-calling is not allowed. Give put-ups instead!
- Invite and include all when playing on the playground – “Don’t say, you can’t play!”
- No bullying


Rationale
To address BCIT’s requirement for an updated and enhanced “Intermediate Web Design and Development - COMP1950”, we have produced a small but functional prototype site. This site outlines some of core design concepts we intend to deploy if we are selected as the chosen developer.
Looking at the existing COMP1950 course site, we identified some specific areas that could be improved upon to help modernise and unify the site to tie in with BCIT’s current branding. Other areas have been added to increase usability and overall function of the existing site Below are the areas that we have identified for improvement.
- More modern styling across all site pages
- Unify the site with BCIT’s main website styling
- Create an easy to navigate course site, including the use of landing pages, navigation bars & menus.
- Creation of quiz/exam functionality that allows users to perform quizzes directly on the COMP1950 website.
- Creation of homework upload functionality
We have created four pages as part of this proposal which outline the functional and stylistic enhancements we are recommending to the COMP1950 site.
Landing Page
When users arrive at the Intermediate Web Design and Development - COMP1950 webpage they land on a page which has been specifically designed to easily identify the course and the individual lessons. We decided to build this page with a course description at the top making it easy for users to understand where they are and what the course is about.
Below the description users are presented with a series of boxes which act as links to the appropriate lessons. By placing the lesson navigation directly in the middle of the landing page it makes it very easy for users to identify and understand where they need to go.
Lessons are colour coded with completed or active lessons styled in “BCIT blue”. Other lessons are white to designate that these lessons are not currently available. Each active lesson has a hover transition applied to update the general aesthetics and enhance usability by providing a clear indication of active lessons. Non-active lessons are applied with a CSS cursor icon that indicates the link is unavailable.
Styling
One of the main enhancements that we identified was to update the aesthetics of the site to provide a more modern look and feel. We decided that as the COMP1950 was a course that is delivered through BCIT’s current curriculum it would be beneficial to tie the styling with the existing main BCIT site (bcit.ca). To do this we have used the colour pallet on the main BCIT website on the COMP1950 site making it very clear to users how this course is linked to the institution.
The navigation header bar at the top of the page is also styled to reflect the BCIT styling. Menu items & the search bar mirror the existing BCIT site and in a production version would provide the same functionality as the BCIT main site. This menu has an “Email Instructor” button which allows the learner to easily communicate with their lecturer. As the navigation header bar is present on all pages of the site, users would be familiar with its features and be provided with access to other BCIT resources from any page.
Fonts & background colours have been selected ensure the site is accessible and suitable for all types of user. Distinct contrasts between font and background colours has been established and font styles are simple and legible.
To further enhance the styling, we will add logos and other BCIT branding into the production version of the site. This will help tie the course site in with the institution’s overall design even further.
Lesson 3 Page
From the landing page, users can navigate to the lesson pages. For the purpose of this mock-up we have only built the Lesson 3 page. This is a representation of how the design and function of the lessons will work throughout the site within a fully developed production system.
The lesson pages are core pages within the COMP1950 course site. These pages have been designed to give the learner access to the appropriate content for the lesson. Course content is delivered directly in the centre of the page via an expandable menu system. This design allows for content to be expanded when it is applicable and allows the learner to only show information that is required at that time. Lesson sections can be clicked on to easily gain access to the relevant content. By default, the Agenda section is open as this is usually the first area students will need to view. Plus and minus icons make it easy for users to identify whether a section is open or closed.
This menu system utilises a javascript function that is easy to modify if other enhancements are required.
The content within the lesson follows the same layout as the current COMP1950 course but <code> areas and hyperlinks are styled to fit in with the new prototype site aesthetics. Exercises and resources can all be access from the content page directly through the content body.
Further enhancements to the course content could allow for an area to store resource files. This would allow for all supplementary documentation to be collected within a single area giving users quick access to these files. Exercises could be separated from the main content and added to the menu navigation bar on the left so users do not have to search within the lessons body these activities.
Navigation
Throughout the prototype, we have deployed a variety of navigation techniques which are designed to make for easy and elegant navigation across the site. The navigation header bar allows for quick access to general BCIT features. This aligns with the current main BCIT website and unifies the user experience across all BCIT pages.
In addition to this we have deployed a collapsible menu bar, which is located on the left hand site of the screen. The menu bar provides access to all of the lessons that are currently available on the course. This menu utilizes a javascript function which allows it to expand upon a click action. By clicking on a specific lesson title, users can gain access to the lesson content and also the quiz and homework areas. This makes for easier navigation so users can get to the appropriate area simply through the navigation menu. Clicking on another lesson from the menu opens the new lesson options but closes the other lessons, keeping the view tidy and easy to read.
To allow for easier navigation within a course we have included a bookmark style link, which appears in the bottom right hand corner of the page. If a user has scrolled to the bottom of a page the arrow icon will appear in this location. This icon acts as a quick link back to the top of the page so users do not need to scroll back to the top. This is helpful if there is a lot of content on the page and would require a long scroll back to the top. This link utilises a javacript function which makes it visible only when the bottom of the site has been reached.
As a final piece to aid with navigation, we have included an HTTP 404 error page. This is a working page and can be accessed by typing in an incorrect URL. The page was designed to replicate the style and experience of the BCIT main website further tying in the user experience with the institutions branding.
Quiz
An essential part of the lesson, in general, is the quiz. This is a valuable tool for the learner and instructor to identify how competent a user is with the course’s material. By delivering this feature directly through the course site instead of in class, quizzes can be performed throughout the course and even as homework. Grades could be directly calculated and fed into BCIT’s grading system (not available in this demonstration). This would allow for marking and grading to be performed quickly and automatically, saving time for the teaching staff. Including the examination features directly within the course site can help tie together the user’s experience of the lesson, providing a more interesting and engaging system.
Quizzes can be accessed directly from the menu bar, under their menu item. This system would only allow for the quiz to be available when the appropriate start time was reached.
Once the user has moved to the quiz screen they are presented with a variety of questions which make up the exam. The questions are built using HTML form components which allows for a variety of different question styles to be constructed. This quiz that we have built demonstrates the use of long answer, short answer, multiple choice and true or false style questions. Each of these questions can be answered and submitted using the appropriate submit buttons at the end. In the production system the response the user’s responses will be validated and checked for correctness. Users can receive immediate feedback from how they responded. Grades can be automatically calculated and applied to a user’s overall grade.
Homework
In addition to the quiz page, we have developed a homework submission page. As homework is required weekly, making the homework assignments easily accessible from the menu bar was an obvious choice in usability.
Users can load the homework assignment and are taken to a page which explains the exercise. At the bottom of the homework page is an area where the user can submit their assignment. The aim of this page is to provide the user, functionality that allows them to submit their homework assignments directly through the course system.
In the completed version, users will be able to select their completed assignment file, using the file picker function and then submit it to the system. This submission is then directly associated with a user’s profile and grade.
The homework page is a great way of keeping the user engaged on the site. It provides the user with easy access to their previous submissions directly through the course site and in a production version could provide additional grade or user information to best display a user’s progress within a course.
Mobile
Optimising courses for mobile device viewing is a growing trend and one that we adopted as part of the prototype development. The site has been built using Bootstrap which allows for easy and dynamic web page creation with an emphasis on mobile optimisation. All the pages are responsive, with navigation bars and menus collapsing to best fit the user’s device. Bootstrap javascript and css libraries have been imported into all the pages to allow for responsive functionality.
Conclusion
By combining a modernised style, with new quiz & homework functionality and a responsive design we believe that the COMP1950 site can be enhanced to provide a more engaging and interactive place to learn web development.


How many calls are their to the MergeSort method? (include the first method call)
Look at when Merge is actually called.
Is there a pattern to the number of Merge calls?
The pattern to the merge calls has to be related to the size of the input list.


{% extends 'base.html' %} {% block title %} YouTube Download - Workers {% endblock %} {% block header %} Workers Status {% endblock %} {% block content %}
| PID | Hostname | State | Video Title | Last Heartbeat | Successful Job Count | Failed Job Count |
| {{ worker['pid'] }} | {{ worker['hostname'] }} | {{ worker['state'] }} | {{ worker['video_title'] }} | {{ worker['last_heartbeat'] }} | {{ worker['successful_job_count'] }} | {{ worker['failed_job_count'] }} |


Tuscan Style Pork Roast
An herbaceous pancetta stuffed pork roast with a crispy exterior. Finished with a lemon vinaigrette.
Adapted from Binging With Babish whose instructions are notoriously bad.
- ⏲ Prep time: 30 minutes
- 🍳 Cook time: 2 hours
- 🍽 Servings: 6-8 people
Equipment
- Food processor
- Fine mesh strainer
- Cast iron skillet
- Butchers twine
Ingredients
- 1 pork Roast
- 2-3 Tbsp fresh rosemary
- 8 cloves garlic, minced
- ⅓ cup high quality olive oil
- 1 lemon
- 4 oz pancetta or bacon
- 1 tsp fresh parsley
Directions
- Preheat oven to 275°F (135°C)
- Butterfly the roast by cutting into three parts by cutting into the side starting a third of the way up the roast. When you get to the end of the roast open it up and repeat for the remaining roast. You’re opening it up like a pamphlet. Refer to the video linked above if you’re confused.
- Cover with plastic wrap and beat with meat mallet to pound the pork to an even levelness.
- Mince garlic cloves(8) with the rosemary(2 Tbsp). Place into a cold pan with olive oil(⅓ cup) and zest of lemon(1). Keep lemon for later.
- Bring to slow simmer on medium low heat for 2-3 minutes. Strain the herbs making sure to squeeze all excess oil. Reserve oil for later.
- Add pancetta/bacon(4 oz) to food processor. Pulse a few times before adding the garlic/rosemary mixture. Process until a smooth paste forms.

- Roll tightly towards the 2 inch gap and use butchers twine to secure the roll. Place a knot every inch or so.
- Bake at 275°F (135°C) for 2 hours or until internal temperature reads 135°F (57°C) in the thickest part.
- Add vegetable oil to cast iron skillet and heat on high until ripping hot. Cut remaining lemon in half. Brown all sides of pork roast and lemon using tongs.
- Juice the lemon into the remaining oil from the garlic/rosemary herb spread. Add freshly chopped parsley. Whisk with fork until emulsified. Season with salt and pepper.
- Slice roast into ½ inch thick slices and top with lemon herb vinaigrette.
A note on ingredient snootiness
I point out that ingredients need to be fresh, the olive oil high quality, the salt needs to be kosher, and the pepper freshly ground not because I’m some rich snob but because it actually matters. The olive oil is one of the main flavors in this dish and it will taste significantly worse if you cheap out. Herbs, especially rosemary, don’t even taste the same when comparing dried to fresh.
Contribution
Recipe tags:
italian
pork


{{Infobox prepared food | name = Canadian white bread | image = | caption = J.J. Nissen Canadian White Bread Loaf | alternate_name = | country = Canada | region = | creator = | course = | type = Bread | served = | main_ingredient = | variations = | calories = | other = }}
Canadian white bread is a style of bread produced by several bread companies including Pepperidge Farm, Trader Joes, and J.J. Nissen. It has a thicker consistency than the regular white bread familiar in the United States. J.J. Nissen also offers other Canadian style breads. The term Canadian white bread is not used at all in Canada; similar to usage of the term Canadian bacon, Canadian white is referred to as "white bread" in Canada, and only called "Canadian white bread" when it is exported.
Because the Canadian Grain Commission requires relatively high protein amounts in Canadian wheat, Canadian white flour usually has a protein content of 12-13%.<ref>{{cite web | url = http://www.grainscanada.gc.ca/pubs/bread/bread-make-buy-e.htm | title = Canadian flour and the breads we consume | author = Canadian Grain Commission}}</ref><ref>{{cite web | url = http://www.grainscanada.gc.ca/Regulatory/Regulations/cgregs-e.asp | title = Canada Grain Regulations | author = Canadian Grain Commission}}</ref> This contributes to the hearty consistency of Canadian bread.
Notes {{reflist}}
{{bread-stub}}


top
|
up
|
prev
|
next
ModuleTag Struct
Definition at line
35
of
Module.hpp
Constructors
ModuleTag
()
Member Functions
void
Read
(
SymbolReader
& reader)
void
Write
(
SymbolWriter
& writer)
Constructor Details
ModuleTag Constructor
cmajor::symbols::ModuleTag::ModuleTag()
Definition at line
165
of
Module.cpp
:
166
{
167
bytes
[
0
]
=
cmajorModuleTag
[
0
]
;
168
bytes
[
1
]
=
cmajorModuleTag
[
1
]
;
169
bytes
[
2
]
=
cmajorModuleTag
[
2
]
;
170
bytes
[
3
]
=
currentModuleFormat
;
171
}
Declaration at line
37
of
Module.hpp
Member Function Details
Read Member Function
void
cmajor::symbols::ModuleTag::Read(
SymbolReader
& reader)
Definition at line
181
of
Module.cpp
:
182
{
183
bytes
[
0
]
=
reader
.
GetBinaryReader
(
)
.
ReadByte
(
)
;
184
bytes
[
1
]
=
reader
.
GetBinaryReader
(
)
.
ReadByte
(
)
;
185
bytes
[
2
]
=
reader
.
GetBinaryReader
(
)
.
ReadByte
(
)
;
186
bytes
[
3
]
=
reader
.
GetBinaryReader
(
)
.
ReadByte
(
)
;
187
}
Declaration at line
39
of
Module.hpp
Calls:
cmajor::symbols::SymbolReader::GetBinaryReader
Called by:
cmajor::symbols::Module::ReadHeader
,
cmajor::symbols::SystemModuleVersionTagVerifier::VerifyModuleVersionTag
Write Member Function
void
cmajor::symbols::ModuleTag::Write(
SymbolWriter
& writer)
Definition at line
173
of
Module.cpp
:
174
{
175
writer
.
GetBinaryWriter
(
)
.
Write
(
bytes
[
0
]
)
;
176
writer
.
GetBinaryWriter
(
)
.
Write
(
bytes
[
1
]
)
;
177
writer
.
GetBinaryWriter
(
)
.
Write
(
bytes
[
2
]
)
;
178
writer
.
GetBinaryWriter
(
)
.
Write
(
bytes
[
3
]
)
;
179
}
Declaration at line
38
of
Module.hpp
Calls:
cmajor::symbols::SymbolWriter::GetBinaryWriter
Called by:
cmajor::symbols::Module::Write
top
|
up
|
prev
|
next


convlab.modules.dst package¶
Subpackages¶
Submodules¶
convlab.modules.dst.state_tracker module¶
-
class
convlab.modules.dst.state_tracker.
Tracker
[source]¶ Bases:
object
Base class for dialog state tracker models.
-
update
(user_act=None)[source]¶ Update dialog state based on new user dialog act. :param sess: (for models implemented using tensorflow) The Session Object to assist model running. :type sess: Session Object :param user_act: The dialog act (or utterance) of user input. The class of user_act depends on
the method of state tracker. For example, for rule-based tracker, type(user_act) == dict; while for MDBT, type(user_act) == str.Returns: - Updated dialog state, with the same form of previous state. Note that the dialog state is
- also a private data member.
Return type: new_state (dict)
-


Welcome to CVXPortfolio¶
CVXPortfolio is a package for simulating and optimizing multi-period investment based on the framework outlined in the paper Multi-Period Trading via Convex Optimization.
The simulator is able to simulate the evolution of a portfolio, taking into account asset returns, transaction costs, and holding costs. The package includes simple but reasonable models of transaction cost based on asset bid-ask spread, volume, and volatility.
CVXPortfolio provides functionality for implementing trading strategies using the convex optimization package CVXPY.
The package relies on Pandas for data handling (e.g., prices, returns, volumes). Our simple examples show how Quandl can be used to import open source financial data, but any other source can be used instead.
CVXPortfolio is released under a permissive open source license. It includes basic functionality for simulation and simple or complex optimization based trading. Users can easily extend the package with additional trading strategies.
CVXPortfolio was designed and implemented by Enzo Busseti and Steven Diamond, with input from Stephen Boyd and the authors of the paper.
CVXPortfolio is not quite ready yet, but if you want to jump into the development branch feel free.


Preparation time
less than 30 mins
Cooking time
30 mins to 1 hour
Serves
Serves 10
Dietary
Make an American classic with James Martin's easy baked cheesecake that cleverly uses a ready-made sponge base.
Preheat the oven to 180C/350F/Gas 4. Butter a 25cm/10in loose-bottomed cake tin.
Cut the sponge horizontally into 2 discs. Use one to line a buttered cake tin.
In a bowl mix together the sugar, lemon zest, cornflour and sultanas using a wooden spoon, then beat in the cream cheese. Add the eggs one by one, also add the vanilla essence, beating constantly until all the eggs are well incorporated.
Slice open the vanilla pod, remove the seeds with a sharp knife and place the seeds into the cream mixture, add a splash of bourbon (about 4 tbsp), if using, and mix everything together well. Add the cream and beat well until the mixture is smooth. Pour gently over the sponge base in the cake tin.
Sit the tin in a baking tray filled with 2-3mm of warm water to help create steam during cooking. Place into the preheated oven and bake for 50 minutes until the top is golden. Remove from the oven and leave to cool and set completely before removing from the tin.
Just before serving, peel the bananas and pan fry in the butter and sugar until brown and slightly caramelised.
Serve, cut into wedges, with the bananas and a drizzle of caramel sauce or maple syrup.


Halo: Reach joins Master Chief Collection next month
Headed to PC then, too.
News by Tom Phillips, News Editor Updated on 14 November 2019
We've known for a while Halo: Reach would join Microsoft's big Master Chief Collection. Now, we know exactly when: on 3rd December.
This is the same date the compilation will arrive on PC, via either Steam or the Microsoft Store.
The collection now contains every major game from the series to date: Halo: Combat Evolved Anniversary, Halo 2: Anniversary, Halo 3, the Halo 3: ODST Campaign and Halo 4.


Library: Foundation
Package: Threading
Header: Poco/Thread.h
Inheritance
Direct Base Classes: Poco::Runnable
All Base Classes: Poco::Runnable
Member Summary
Member Functions: run
Inherited Functions: run
Constructors
FunctorRunnable
FunctorRunnable(
const Functor & functor
);
Destructor
~FunctorRunnable
~FunctorRunnable();
Member Functions
run
void run();
See also: Poco::Runnable::run()


Before Change
return ComparisonRegressionPipeline(self.config)
def _target_model(self, *, config, featurizer_state, targets, n_outputs, train=False, reuse=None, **kwargs):
super(ComparisonRegressor, self)._target_model(
config=config, featurizer_state=featurizer_state, targets=targets, n_outputs=n_outputs,
train=train, reuse=reuse, **kwargs)
featurizer_state["sequence_features"] = tf.abs(tf.reduce_sum(featurizer_state["sequence_features"], 1))
featurizer_state["features"] = tf.abs(tf.reduce_sum(featurizer_state["features"], 1))
return regressor(
hidden=featurizer_state["features"],
After Change
featurizer_state["features"] = tf.abs(tf.reduce_sum(featurizer_state["features"], 1))
if "context" in featurizer_state:
featurizer_state["context"] = tf.abs(tf.reduce_sum(featurizer_state["context"], 1))
self._add_context_embed(featurizer_state)
return regressor(
hidden=featurizer_state["features"],
targets=targets,
n_targets=n_outputs,


Don't postpone that thing you want to do. Start anyway. Start where you are. Use what you have. Do what you can.


Plug-Notify
Preferences
Notification on new music playing
Notification on all tchat message
Notification on mention
Auto woot
Mode debug
Save
Cover template from
Bootstrap
, by
@mdo
.
Add on Chrome source:
GitHub


Install¶
Install FIWARE server¶
Use the following page to install FIWARE: FIWARE Install
Install EPCIS server¶
- Option 1:
- Make sure you have installed mongodb/mysql whichever you are using
- Download epcis war file from mediation github
- Download apache tomcat 8 from apchage page
- After extracting the apache tomcat file put the epcis war file in to path/to/your_tomcat_download/apache-tomact-8.x.xx/webapps
- On terminal go path/to/your_tomcat_download/apache-tomact-8.x.xx/bin/
- [for Linux] sh ./catalina.sh run
- [for Window] use .bat file
- Option 2:
- Follow the instruction the original EPCIS GitHub
Mediation gateway¶
A jar file is included in the github. To run the mediation gateway the following command can be used
java -jar path/to/the_jar_file/fiware_oiliot_mediation-1.0.0.jar
A ‘Dockerfile’ is also availble in the github jar file. The following code can be used build and run the mediation gateway
docker build -t fiware_oiliot_mediation .
docker run -p 8081:8081 fiware_oiliot_mediation
Provide the following information after you run the mediation gateway:
Enter FIWARE server URL (e.g localhost:2016) :
#localhost:1026
Enter FIWARE server URL (e.g localhost:8080) :
#localhost:8080
Mediation Gateway Port (e.g 8083):
#8081
Note
- After that, the mediation gateway will run and you can access the interface through any browser
localhost:Mediation_Gateway_Port/home
From the above example the url should be: localhost:8081/home
After that you will see the interfaces presented below
Main page {IP}:{PORT} /home
Fiware Data List {IP}:{PORT} /FiwareDataModel


menu
subscriptions
Challenger
file_upload
playlist_play
apps
refresh
Login
account_circle
settings
Manage Account
exit_to_app
Log Out
subscriptions
Challenger
Login
Username
Password
Not a member?
Register
Login
arrow_drop_down
Login
settings
Manage Account
exit_to_app
Log Out
home
Home
playlist_play
Playlist
file_upload
Add Video
apps
Challenger's Apps
search
Search
close
{{searchQuery.snippet.title}}


A Short Presentation
Evaluation and observation.
What I have learned in my first few weeks.
What I have learned...
-
ASM as the operations
I learned about the workflow, the clients, and how we prepare and deliver our services to the clients
-
Permit application
I learned about how we apply for clearances for specific countries, how to apply directly via e-mail, website, SITA and AFTN.
-
Operator point of view
I am slowly learning how an operator works in the charter industry
-
The Technology
I learned the programs, applications and systems that we utilize to provide services for internal and external clients
Difficulties I encountered...
-
Learning and catching up
I had difficulty in learning because it was always busy, there were no guidelines to follow and there was no established training flow. I had to learn as I go.
-
Adjusting with the workflow
Majority of the work involved operations support tasks
-
System Limitation
It takes awhile to get used to ERP because it's slow and not user friendly.
Things I would like to improve...
-
File organization
Operations Folder -
Procedure
Establish standards and create checklists -
Maintenance of data
Create a database
Suggestions and ideas
-
Checklists
Establish checklists for each client and their preferences
-
Training
Create training guidelines for new-hires and stricly commit to it. 2-3 weeks with Raheel, 2 weeks with Lexter, 3-4 weeks with everyone
-
Interpersonal communication
Occasional 1-on-1 talk with employees to discuss suggestions and/or concerns. (at least once or twice a yr)
-
Separate Departments for different tasks
As the company grows, it would be beneficial to have departments focused on specific tasks
-
Ergonomics
Replace old and broken chairs, old keyboards, and have 2 instead of 1 large monitor to boost productivity.
--ERP SUGGESTIONS--
If it can't be replaced...
...always push for its improvement. Fix errors at the earliest and hopefully add/modify features to make it easier to use.
If it can be replaced...
...hire a programmer/web developer/software engineer to create a system tailor-fitted to ASM.
How can the company help me/us achieve my/our goals...
-
Support and guidance
Be the colleague when needed, give challenges for growth, provide credit/recognition where it's due.
-
Listen
Keep an open-mind and be open to suggestions.
-
Culture
Set a tone for positive work culture.


|
IVT
|
Calculation of stereo depth (disparity) maps. More...
#include <StereoVision.h>
Public Member Functions | |
| CStereoVision () | |
| ~CStereoVision () | |
| bool | Process (const CByteImage *pLeftImage, const CByteImage *pRightImage, CByteImage *pDepthImage, int nWindowSize, int d1, int d2, int d_step, int nErrorThreshold=50) |
| bool | ProcessFast (const CByteImage *pLeftImage, const CByteImage *pRightImage, CByteImage *pDepthImage, int nWindowSize, int d1, int d2, int d_step, int nErrorThreshold=50) |
Calculation of stereo depth (disparity) maps.
Definition at line 65 of file StereoVision.h.
| CStereoVision::CStereoVision | ( | ) |
Definition at line 69 of file StereoVision.cpp.
| CStereoVision::~CStereoVision | ( | ) |
Definition at line 73 of file StereoVision.cpp.
| bool CStereoVision::Process | ( | const CByteImage * | pLeftImage, |
| const CByteImage * | pRightImage, | ||
| CByteImage * | pDepthImage, | ||
| int | nWindowSize, | ||
| int | d1, | ||
| int | d2, | ||
| int | d_step, | ||
| int | nErrorThreshold = 50 |
||
| ) |
Definition at line 82 of file StereoVision.cpp.
| bool CStereoVision::ProcessFast | ( | const CByteImage * | pLeftImage, |
| const CByteImage * | pRightImage, | ||
| CByteImage * | pDepthImage, | ||
| int | nWindowSize, | ||
| int | d1, | ||
| int | d2, | ||
| int | d_step, | ||
| int | nErrorThreshold = 50 |
||
| ) |
Definition at line 169 of file StereoVision.cpp.


Tests 'Should Not Begin With Should'
Every time I contribute to open source software, the first task to complete is reading the unit tests. I love code testing and advocate unit testing.
After reading a few thousand tests you develop your own spidy sense. You inherently know good tests from bad tests. You become an English professor grading high school English papers. You've read so many, you know who has spent time on the paper and who hasn't.
If your own spidy sense isn't fully developed, don't worry, smart people decided to help and created a site to help Ruby developers write better unit tests. The whole site is hosted on github and has issue tickets around each of the best practices. It's a living document, which anyone can contribute to. BetterSpecs describes, through example, the most common mistakes when writing rspec tests and ways to refactor them.
One best practice in particular stood out. Not beginning tests with the word should. Unit tests too often use the word should when describing the test. Should is used because it seems natural. It seems like it should go there.
The challenge with writing tests without should is because you don't think like that. Your natural tendency is to use the word should. Programmers have many words for positive logic statements: acceptance, affirmation, assertion. Programmers brains think in true and false.
It logically makes sense to begin a test with "it should" or "it shouldn't " rather than "it punches me in the face when I start tests with unnecessary words". Remember, You imply should or shouldn't using the verb. Should isn't the verb you're looking for.
Let's use an example. If we have an application that allows users to log in through a form, the test may look something like this:
describe "login form" it
it "should allow users to login" do
..code goes here..
end
end
That reads nice. It should do this. However, you can remove should. It isn't the right verb to use. Should isn't describe what the test does. The word allow does. You can refactor like so:
describe "login form" it
it "allows users to login" do
..code goes here..
end
end
This test is much easier to read, removes an unnecessary word, and describes the test much better. Rather than the test saying, "The login form should allow users to login," it now reads: "login form allows users to login."
Perfect.
You are now better prepared to write better tests. But, what about that huge code base you've already written. The code base that has 10,000 starting with the word should.
Have no fear. There is a gem for that. should_clean finds instances of rspec tests that begin with "should", "shouldn't", and "should not" and changes the test to use a verb which semantically make sense. It's pretty awesome and I've already contributed a patch to it.
What are your thoughts? What other languages have you noticed the verbs should and shouldn't popping up where they shouldn't be. Do you have tools for other languages that do similar things?


If you feel like relaxing, play around with this 16x16 sketchpad! You can change the grid size by pressing the button below. Have fun!


ttrace - Trace-based interpreter initialization
This package creates a framework for on-demand replication of the interpreter state across threads in an multithreading application. It relies on the mechanics of Tcl command tracing and the Tcl unknown command and mechanism.
The package requires Tcl threading extension but can be alternatively used stand-alone within the AOLserver, a scalable webserver from America Online.
In a nutshell, a short sample illustrating the usage of the ttrace with the Tcl threading extension:
% package require Ttrace 2.8.1 % set t1 [thread::create {package require Ttrace; thread::wait}] tid0x1802800 % ttrace::eval {proc test args {return test-[thread::id]}} % thread::send $t1 test test-tid0x1802800 % set t2 [thread::create {package require Ttrace; thread::wait}] tid0x1804000 % thread::send $t2 test test-tid0x1804000
As seen from above, the ttrace::eval and ttrace::update commands are used to create a thread-wide definition of a simple Tcl procedure and replicate that definition to all, already existing or later created, threads.
This section describes user-level commands. Those commands can be used by script writers to control the execution of the tracing framework.
This command concatenates given arguments and evaluates the resulting Tcl command with trace framework enabled. If the command execution was ok, it takes necessary steps to automatically propagate the trace epoch change to all threads in the application. For AOLserver, only newly created threads actually receive the epoch change. For the Tcl threading extension, all threads created by the extension are automatically updated. If the command execution resulted in Tcl error, no state propagation takes place.
This is the most important user-level command of the package as it wraps most of the commands described below. This greatly simplifies things, because user need to learn just this (one) command in order to effectively use the package. Other commands, as described below, are included mostly for the sake of completeness.
Activates all registered callbacks in the framework and starts a new trace epoch. The trace epoch encapsulates all changes done to the interpreter during the time traces are activated.
Deactivates all registered callbacks in the framework and closes the current trace epoch.
Used to clean-up all on-demand loaded resources in the interpreter. It effectively brings Tcl interpreter to its pristine state.
Used to refresh the state of the interpreter to match the optional trace ?epoch?. If the optional ?epoch? is not given, it takes the most recent trace epoch.
Returns a synthesized Tcl script which may be sourced in any interpreter. This script sets the stage for the Tcl unknown command so it can load traced resources from the in-memory database. Normally, this command is automatically invoked by other higher-level commands like ttrace::eval and ttrace::update.
A word upfront: the package already includes callbacks for tracing following Tcl commands: proc, namespace, variable, load, and rename. Additionally, a set of callbacks for tracing resources (object, classes) for the XOTcl v1.3.8+, an OO-extension to Tcl, is also provided. This gives a solid base for solving most of the real-life needs and serves as an example for people wanting to customize the package to cover their specific needs.
Below, you can find commands for registering callbacks in the framework and for writing callback scripts. These callbacks are invoked by the framework in order to gather interpreter state changes, build in-memory database, perform custom-cleanups and various other tasks.
Registers Tcl callback to be activated at ttrace::enable. Registered callbacks are activated on FIFO basis. The callback definition includes the name of the callback, cmd, a list of callback arguments, arglist and the body of the callback. Effectively, this actually resembles the call interface of the standard Tcl proc command.
Registers Tcl callback to be activated at ttrace::disable. Registered callbacks are activated on FIFO basis. The callback definition includes the name of the callback, cmd, a list of callback arguments, arglist and the body of the callback. Effectively, this actually resembles the call interface of the standard Tcl proc command.
Registers Tcl callback to be activated for tracing the Tcl cmd command. The callback definition includes the name of the Tcl command to trace, cmd, a list of callback arguments, arglist and the body of the callback. Effectively, this actually resembles the call interface of the standard Tcl proc command.
Registers Tcl callback to be activated for building a Tcl script to be passed to other interpreters. This script is used to set the stage for the Tcl unknown command. Registered callbacks are activated on FIFO basis. The callback definition includes the name of the callback, name and the body of the callback.
Registers Tcl callback to be activated by the overloaded Tcl unknown command. Registered callbacks are activated on FIFO basis. This callback is used to resolve the resource and load the resource in the current interpreter.
Registers Tcl callback to be activated by the trace::cleanup. Registered callbacks are activated on FIFO basis.
Adds one entry to the named in-memory database.
Returns the value of the entry from the named in-memory database.
Returns names of all entries from the named in-memory database.
Deletes an entry from the named in-memory database.
Registers the Tcl command to be loaded in the interpreter. Commands registered this way will always be the part of the interpreter and not be on-demand loaded by the Tcl unknown command.
Common introspective state-replication approaches use a custom Tcl script to introspect the running interpreter and synthesize another Tcl script to replicate this state in some other interpreter. This package, on the contrary, uses Tcl command traces. Command traces are registered on selected Tcl commands, like proc, namespace, load and other standard (and/or user-defined) Tcl commands. When activated, those traces build an in-memory database of created resources. This database is used as a resource repository for the (overloaded) Tcl unknown command which creates the requested resource in the interpreter on demand. This way, users can update just one interpreter (master) in one thread and replicate that interpreter state (or part of it) to other threads/interpreters in the process.
Immediate benefit of such approach is the much smaller memory footprint of the application and much faster thread creation. By not actually loading all necessary procedures (and other resources) in every thread at the thread initialization time, but by deferring this to the time the resource is actually referenced, significant improvements in both memory consumption and thread initialization time can be achieved. Some tests have shown that memory footprint of an multithreading Tcl application went down more than three times and thread startup time was reduced for about 50 times. Note that your mileage may vary. Other benefits include much finer control about what (and when) gets replicated from the master to other Tcl thread/interpreters.
thread, tpool, tsv
command tracing, introspection


|
Shopify SDK for Unity
|
Represents a media interface. More...
Public Member Functions | |
| string | alt () |
| A word or phrase to share the nature or contents of a media. More... | |
| MediaContentType | mediaContentType () |
| The media content type. More... | |
| Image | previewImage () |
| The preview image for the media. More... | |
Represents a media interface.
| string Shopify.Unity.Media.alt | ( | ) |
A word or phrase to share the nature or contents of a media.
Implemented in Shopify.Unity.Video, Shopify.Unity.Model3d, Shopify.Unity.MediaImage, Shopify.Unity.UnknownMedia, and Shopify.Unity.ExternalVideo.
| MediaContentType Shopify.Unity.Media.mediaContentType | ( | ) |
The media content type.
Implemented in Shopify.Unity.Video, Shopify.Unity.Model3d, Shopify.Unity.MediaImage, Shopify.Unity.UnknownMedia, and Shopify.Unity.ExternalVideo.
| Image Shopify.Unity.Media.previewImage | ( | ) |
The preview image for the media.
Implemented in Shopify.Unity.Video, Shopify.Unity.Model3d, Shopify.Unity.MediaImage, Shopify.Unity.UnknownMedia, and Shopify.Unity.ExternalVideo.


Moderator: Karl G.
Stick Stickly wrote:Why no FFA? That was one of the best things xentales had going for it. The most hilarious threads were brought up in there. Is casual supposed to be a watered down FFA or something?
Glorfindelus wrote:I just had an idea I wanted to put past y'all before I put it in the list: How about a forum(s) for old/large/respected guilds?
Users browsing this forum: No registered users and 0 guests


Indiana
I'm a Junkie-Monkey!
Registered: Oct 2001
Location: Incommincado Tyler Durden says: Do we really need another women?
Posts: 3087 |
New Mods
Just letting you know we have two new mods to help us out. President Doc (who will no doubt gloat about it in his status, sig or location bit) and Chameleon. Welcome to the real world!
__________________
"Now I'm cleaning up and I'm moving on, going straight and choosing life. I'm looking forward to it already.  The washing machine, the car, the compact disc and electric tin opener, good health, low cholesterol, dental insurance, mortgage, starter home, leisure wear, luggage, three piece suite, DIY, game shows, junk food, children, walks in the park, nine to five, good at golf, washing the car, choice of sweaters, family Christmas, indexed pension, tax exemption clearing gutters, getting by, looking ahead, the day you die."
Report this post to a moderator | ? + *
|


#BazaarLogic
03 Mar 2015####Bibi had barely finished speaking before the criticism came rolling in:
“He said nothing new!” Complain those who previously were going crazy at the prospect that Bibi might reveal classified information about the deal.
“He gave talking points but no alternative to the deal,” say others with blinders on. “The prime minister didn’t offer any viable alternatives,” Obama said after skipping the speech and not even turning on the TV to listen.
Nancy Pelosi said she was so insulted by the “condescension,” that she was near tears. I would like to take a second remind her of Bibi’s actual words:
Israel is grateful for the support of American — of America’s people and of America’s presidents, from Harry Truman to Barack Obama… We appreciate all that President Obama has done for Israel. Now, some of that is widely known. And some of what the president has done for Israel might never be known, because it touches on some of the most sensitive and strategic issues that arise between an American president and an Israeli prime minister. But I know it, and I will always be grateful to President Obama for that support.
That doesn’t sound condescending to me. It sounds incredibly respectful and appreciative. Later, as Bibi got into specifics, he was all policy, unlike his critics who leveled personal, ad hominem attacks against him (cough J Street cough).
But the most striking criticism was “he wants us to go to war,” or “he wants to stop the diplomatic processes.”
Nothing could be further from the truth. So what did he really say?
Now we’re being told that the only alternative to this bad deal is war. That’s just not true. The alternative to this bad deal is a much better deal.
Now, if Iran threatens to walk away from the table — and this often happens in a Persian bazaar — call their bluff. They’ll be back, because they need the deal a lot more than you do. And by maintaining the pressure on Iran and on those who do business with Iran, you have the power to make them need it even more.
While Obama sticks to his bizarre logic of offering concession after concession, Bibi understands #BazaarLogic.
He knows that whether you’re in a Persian Bazaar, Arab Souk, or Hebrew Shuk, your strongest weapon is the threat that you might walk away. The second the seller thinks you won’t leave his stall without the item in question, you’ve already lost. You also need to be careful not to overplay this card or you end up like Abbas, who threatens to dismantle the PA every few months so no one takes the threat seriously. But if you haggle and go back and forth but make little progress, that’s when you say you’re done and start to walk. Before you know it, the seller is chasing you with a much better price.
There are obviously limits. If you offer a dollar for an intricate, hand-woven Persian rug, it doesn’t matter if you walk away because the seller would never accept such a paltry sum for his work. This is exactly what the Obama administration has been saying, “we can’t get a deal with complete disarmament or one that includes curbs on the ballistic missile program because Iran will never agree to one.” But if such restrictions are considered to be “too much” (something Obama didn’t agree with when he promised a nuclear-free Iran during the 2012 campaign), then Iran was never interested in negotiating to begin with.
This is the opening of a bait and switch. You see a beautiful carpet hanging in a bazaar and the seller says he will only part with it in exchange for your first-born son, but if you’re interested, he has other carpets (lower quality, no doubt) in his shop if you’ll just step inside. Before you know it you’re caught up by the smells, vibrant colors, and fast talking merchant, remembering that you promised your wife you’d bring home a carpet no matter what, and instead of negotiating over the carpet you actually wanted, you’re haggling over one that you were never interested in to begin with.
The Iranians understand #BazaarLogic very well. It was their threats to walk away from negotiations that made the Obama administration run back to them with concession after concession. It was this threat that made Obama backtrack on his commitment to a nuclear-free Iran. It was this constantly looming threat to walk away, to leave Obama without his must-have deal, that excised any connection to the ballistic missile program and that caused Iranian hegemony to be spun as an asset rather than the greatest act of destabilization in the Middle East since the fall of the Ottoman Empire.
Prime Minister Netanyahu was right on the money when he said:
My friends, for over a year, we’ve been told that no deal is better than a bad deal. Well, this is a bad deal. It’s a very bad deal. We’re better off without it.
It’s time we let the Iranians know we’re done negotiating a bad deal (not any deal, but a bad deal) and if they are interested in real negotiations, they should tell us.
But until then, the sanctions will increase and strengthen as we turn around and walk out of their Bazaar.


Thousands of Land Surveyors from all parts of planet Earth discuss surveying in the forum. Learn something new everyday and become abetter surveyor.
An place where you can tell your surveying stories that only other surveyor understand and comment.
Earth's Largest database of Land Surveying Photos
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, incidunt blanditiis rem dolorum pariatur reprehenderit.
Your Personal Surveying Connections Widget Coming Soon
Our jobs board is the only international land surveying jobs board- it is corwdsouced and community driven..