I, Vinit Santani, am a first semester full time graduate student for Business and Information Systems. I have completed my undergraduate degree from Mumbai, India.
The purpose of this assignment is to teach us how to create and develop a fully functioning website.
I did not have any previous coding experience until last time so naturally web development with html and bootstrap was a scary task for the first time, but after watching Professor Williams's demo videos and doing some additional research I was able to successfully complete the task at hand!
I got a chance to solidify the git collaboration skills from the previous project and am now more comfortable using PyCharm and utilizing some of is unique features for web development. Taking the time to learn about html and bootstrapping will pay dividends in the future as the internet becomes more and more prevalent. It is impossible to escape using such a core language as html and bootstrapping enhances the webpages that we develop.
In addition to learning how to use these languages, I also learned about the how the internet works. This gave a crucial background that helped put into context how we got to where we are today. I also learned how different transmission media is used for global communication like wires, cables and Wi-Fi, computers connecting via IP addresses, requesting web pages via DNS, how does routing packets helps in reliability, about HTTP and HTML and various encryption systems to keep us safe.
In all, this project was a great opportunity to get hands on experience with web development. It has taught us lessons about how we can build webpages easily. Previously, we had this stigma around coding in html, but once we realized that there are templates that we can utilize for everything and that we don’t need to memorize every bit of code, we were able to move much quicker by picking and choosing specific parts of a webpage that we like and incorporating that into our own.


The case_when
function is useful for vectorizing conditional statements. It is similar to ifelse
but can output any number of values, as opposed to just TRUE
or FALSE
. Here is an example splitting numbers into negative, positives and 0:
x <- c(-2, -1, 0, 1, 2)
case_when(x < 0 ~ "Negative", x > 0 ~ "Positive", TRUE ~ "Zero")
#> [1] "Negative" "Negative" "Zero" "Positive" "Positive"
A common use for this function is to define categorical variables based on existing variables. For example, suppose we we want compare the murder rates in in three groups of states: New England, West Coast, South, and other. For each state, we need to ask if it is in New England, if it is not we ask if it is in the West Coast, if not we ask if it is in the South and if not we assign other. Here is how we use case_when
to do this:
data(murders)
murders %>%
mutate(group = case_when(
abb %in% c("ME", "NH", "VT", "MA", "RI", "CT") ~ "New England",
abb %in% c("WA", "OR", "CA") ~ "West Coast",
region == "South" ~ "South",
TRUE ~ "other")) %>%
group_by(group) %>%
summarize(rate = sum(total) / sum(population) * 10^5) %>%
arrange(rate)
#> # A tibble: 4 x 2
#> group rate
#> <chr> <dbl>
#> 1 New England 1.72
#> 2 other 2.71
#> 3 West Coast 2.90
#> 4 South 3.63
Run the sample code to see how case_when() function works.
library(dplyr)
library(dslabs)
data(heights)
data(murders)
murders <- murders %>% mutate(rate = total/population*100000)
us_murder_rate <- murders %>%
summarize(rate = sum(total) / sum(population) * 100000)
# Adding categorical column called group based on the region
data(murders)
murders %>%
mutate(group = case_when(
abb %in% c("ME", "NH", "VT", "MA", "RI", "CT") ~ "New England",
abb %in% c("WA", "OR", "CA") ~ "West Coast",
region == "South" ~ "South",
TRUE ~ "other")) %>%
group_by(group) %>%
summarize(rate = sum(total) / sum(population) * 10^5) %>%
arrange(rate)


--- layout: page title: "About" description: "IT Consultant, developer" header-img: "img/4.png" ---
Computer enthusiast since fourteen years old, I work as IT Consultant / Developer using Springboot and Angular 2+ frameworks. GNU/Linux and BSD are my favourite operating systems.
Graduated in Computer Science at Università degli Studi di Firenze.
My hobbies are UAV/drones, Arduino & IoT devices. I'm a Tinker and Isaac Asimov's fan too.


2D constant-density acoustic frequency-domain modeling, linearized modeling and imaging: Testing
This script presents some basic tests of the modeling code.
Contents
Analytic solution for constant medium
We test the code against the analytic solution for a constant velocity and plot the error as a function of the gridspacing to verify the order of accuracy of the discretization. The 9-point mixed-grid discretization of [1] uses a regular and rotated 5-point discretization of the Laplace operator, which makes it technically a second-order scheme. It is optimized to minimize numerical dispersion, though, and hence expected to be more accurate than a regular 5-point discretization.
% velocity [m/s] v0 = 2000; % size of domain LxL m L = 1000; % sponge boundary size B m B = 250; % frequency [1/s] f = 10; % gridspacings h = [20:-2:2]; e = 0*h; % loop for k = 1:length(h) % grid paramets model.o = [0 0]; model.d = [h(k) h(k)]; model.n = [floor(L/h(k)) + 1 floor(L/h(k)) + 1]; % source and receiver setup model.zsrc = 500; model.xsrc = 500; model.zrec = 0:h(k):L; model.xrec = 0:h(k):L; % absorbing boundary model.nb = [floor(B/h(k)) + 1 floor(B/h(k))]; % frequency model.freq = f; % ricker wavelet model.f0 = 0; model.t0 = 0; % source matrix Q = 1; % slowness-squares model [km^2/s^2] m = 1e6*ones(prod(model.n),1)./v0.^2; % analytic solution D1 = G([v0;0],Q,model); % numerical solution D2 = F(m,Q,model,1); % error e(k) = norm(D1 - D2); end
The figure below confirms that the scheme is second order.
% plot error figure; loglog(h,e,h,h.^2,'k--'); xlabel('h');ylabel('error');legend('error','h^2'); % plot z = 0:h(k):1000; x = 0:h(k):1000; D1 = reshape(D1,model.n); D2 = reshape(D2,model.n); iz = floor(length(z)/2) + 1; figure; plot(x,real(D1(iz,:)),'k',x,real(D2(iz,:)),'r',x,imag(D1(iz,:)),'k--',x,imag(D2(iz,:)),'r--'); legend('Re(numerical)','Re(analytic)','Im(numerical)','Im(analytic)'); xlabel('x [m]');ylabel('z [m]'); title(['solutions at z = ' num2str(z(iz)) 'm']);
Analytic solution for linear velocity profile
The analytic Greens function for a linear velocity profile \(v = v_0 + \alpha z\) is presented by [2]. An example is shown below.
% velocity profile v0 = 2000; alpha = 0.7; % grid z = 0:10:1000; x = 0:10:5000; [o,d,n] = grid2odn(z,x); % gridded slowness-squared m = vec((1e6./(v0+alpha*z').^2)*ones(size(x))); % frequency f = 10; % modeling parameters model.o = o; model.d = d; model.n = n; model.nb = [50 50]; model.freq = f; model.f0 = 0; model.t0 = 0; model.zsrc = 10; model.xsrc = mean(x); model.zrec = z; model.xrec = x; % source Q = 1; % analytic solution G1 = G([v0;alpha],Q,model); % numerical solution G2 = F(m,Q,model,1); % plot figure; imagesc(x,z,reshape(real(G1),n),[-10 10]);axis equal tight; title('Real part of analytic solution'); xlabel('x [m]');ylabel('z [m]'); figure; imagesc(x,z,reshape(real(G2),n),[-10 10]);axis equal tight; title('Real part of numerical solution'); xlabel('x [m]');ylabel('z [m]');
Jacobian test
The Jacobian of the modeling operator is derived by linearizing the discretized system. We can test the accuracy by considering the Taylor approximation
\(F(\mathbf{m} + h\delta\mathbf{m}) = F(\mathbf{m}) + hJ\delta\mathbf{m} + \mathcal{O}(h^2).\)
% setup model parameters model.o = [0 0]; model.d = [10 10]; model.n = [101 101]; model.nb = [20 20]; model.freq = [10 15]; model.f0 = 10; model.t0 = 0.01; model.zsrc = 15; model.xsrc = 0:100:1000; model.zrec = 10; model.xrec = 0:5:1000; % source matrix Q = speye(length(model.xsrc)); % constant velocicty v0 = 2000; m = 1e6/v0.^2*ones(prod(model.n),1); % random perturbation, set values close to the edge to zero. dm = randn(model.n); dm([1:20 end-20:end],:) = 0; dm(:,[1:20 end-20:end]) = 0; dm = dm(:); % data and Jacobian [D0, J0] = F(m,Q,model); % linearized data dD = J0*dm; % stepsizes h = 10.^[0:-1:-6]; e = 0*h; for k = 1:length(h) D1 = F(m+h(k)*dm,Q,model); e(k) = norm(D1 - D0 - h(k)*dD); end % plot error figure; loglog(h,e,h,h.^2,'k--'); xlabel('h');ylabel('error');legend('error','h^2');
The figure confirms the error decreases as \(h^2\).
Adjoint test
The adjoint test will ensure that our implementation of the adjoint satisfies the formal definition of the adjoint:
\(\langle A\mathbf{x},\mathbf{y}\rangle = \langle \mathbf{x},A^*\mathbf{y}\rangle\)
% setup model parameters model.o = [0 0]; model.d = [10 10]; model.n = [51 51]; model.nb = [10 10]; model.freq = [10 15]; model.f0 = 10; model.t0 = 0.01; model.zsrc = 15; model.xsrc = 0:100:1000; model.zrec = 10; model.xrec = 0:5:1000; % source matrix Q = speye(length(model.xsrc)); % constant velocicty v0 = 2000; m = 1e6/v0.^2*ones(prod(model.n),1); % Jacobian operator J = oppDF(m,Q,model); % test for 10 random vectors for k = 1:10 x = randn(prod(model.n),1); y = J*x; left(k) = gather((J*x)'*y); right(k) = gather(x'*(J'*y)); end
The quantities left and right should be the same up to numerical precision, which we can easily verify by looking at the relative error:
% error
abs(left - right)./max(abs(left),abs(right))
ans = 1.0e-15 * Columns 1 through 7 0.1689 0.1655 0 0 0 0.2010 0.1802 Columns 8 through 10 0.1255 0.5508 0.1557
References
[1] C-H Jo,* C. Shin,* and J.H. Suh, 1996. An optimal 9-point, finite-difference, frequency-space, 2-D scalar wave extrapolator Geophysics 61(2), 529-537.
[2] B.N. Kuvshinov, W.A. Mulder. The exact solution of the time-harmonic wave equation for a linear velocity profile Geophysical Journal International 167(2), 659–662, 2006.


Key Pairs are how you login to your instance after it is launched. Choose a key pair name you will recognize. Names may only include alphanumeric characters, spaces, or dashes.


<< Show your application's title bar here. >>
The title bar is located along the top of a window. It contains the name of the application and document.
To move the window, drag the title bar. Note: You can also move dialog boxes by dragging their title bars.
A title bar may contain the following elements:
Application Control menu button
Document Control menu button
Maximize button
Minimize button
Name of the application
Name of the document
Restore button


Match Play. Red leads 2-0 to 7. How should Red play 11?
pips Red=112 White=155
(CorrectAnswer= 0/0, ErrorScore= 0)
Another easy one! Red’s priority is escape and not security. This is prime versus prime battle.
Bar/21 is very clear. Everything else is at least a double blunder.
Bar/21 is very clear. Everything else is at least a double blunder.
1. Cubeful 2-ply bar/21 Eq.: +0.170 0.552 0.208 0.009 - 0.448 0.105 0.005 2. Cubeful 2-ply bar/22 13/12 Eq.: +0.033 (-0.138) 0.521 0.170 0.006 - 0.479 0.110 0.003 3. Cubeful 2-ply bar/23 22/21 13/12 Eq.: +0.027 (-0.143) 0.513 0.194 0.008 - 0.487 0.114 0.005 4. Cubeful 0-ply bar/24 22/21 13/11 Eq.: -0.035 (-0.205) 0.495 0.192 0.009 - 0.505 0.122 0.007 5. Cubeful 0-ply bar/23 13/11 Eq.: -0.063 (-0.233) 0.489 0.179 0.008 - 0.511 0.121 0.006


BitGo Says It’s Now Processing 20% of Bitcoin Transactions
by Danny NelsonBitGo is processing more than 20 percent of bitcoin transactions, the company said at CoinDesk’s Invest: NYC conference today.
The announcement by the crypto custodian and issuer of hot and cold storage wallets means that a sizable share of on-chain transactions pass through its services, a sign of consolidation, and power, in the crypto space.
It also raises questions about market collapse: If BitGo goes down, would those assets be at risk? But when asked that question directly, BitGo CEO Mike Belshe, on stage at “The Shape of Things to Come: Crypto Custody in a Proof-of-Stake World” panel, said there was nothing to fear.
“The big thing we do is try to remove single points of failure,” Belshe said. BitGo’s multi-signature key system secures assets, even if one layer gets breached – the clients hold the keys, he said.
Belshe credited BitGo’s growth to customers’ value of their multi-sig security.
In a statement, he said:
“It is a great assurance to our clients that they are always in control of their own assets no matter the circumstances. BitGo is their trusted partner that is focused on making the market for digital assets bigger, stronger and more secure every day.”
BitGo has invested recently in off-chain settlement systems, launching one aimed at institutional clients in May.
Mike Belshe image via CoinDesk archives


“Her father is very rich and stingy. He lives in the country. He is the well-known Prince Bolkónski who had to retire from the army under the late Emperor, and was nicknamed ‘the King of Prussia.’ He is very clever but eccentric, and a bore. The poor girl is very unhappy. She has a brother; I think you know him, he married Lise Meinen lately. He is an aide-de-camp of Kutúzov’s and will be here tonight.”
“Listen, dear Annette,” said the prince, suddenly taking Anna Pávlovna’s hand and for some reason drawing it downwards. “Arrange that affair for me and I shall always be your most devoted slave-slafe with an f, as a village elder of mine writes in his reports. She is rich and of good family and that’s all I want.”
And with the familiarity and easy grace peculiar to him, he raised the maid of honor’s hand to his lips, kissed it, and swung it to and fro as he lay back in his armchair, looking in another direction.
“Attendez,” said Anna Pávlovna, reflecting, “I’ll speak to Lise, young Bolkónski’s wife, this very evening, and perhaps the thing can be arranged. It shall be on your family’s behalf that I’ll start my apprenticeship as old maid.”
Anna Pávlovna’s drawing room was gradually filling. The highest Petersburg society was assembled there: people differing widely in age and character but alike in the social circle to which they belonged. Prince Vasíli’s daughter, the beautiful Hélène, came to take her father to the ambassador’s entertainment; she wore a ball dress and her badge as maid of honor. The youthful little Princess Bolkónskaya, known as la femme la plus séduisante de Pétersbourg*, was also there. She had been married during the previous winter, and being pregnant did not go to any large gatherings, but only to small receptions. Prince Vasíli’s son, Hippolyte, had come with Mortemart, whom he introduced. The Abbé Morio and many others had also come.
* The most fascinating woman in Petersburg.


UCET LIBRARY!
The College provides adequate library facilities for the students and staff. The library is established in over 432.21 Sqm areas with a reading hall which has a seating capacity of approximately 200 students. It works from 8 A.M. to 6 P.M. Selected valuable books recommended by the experts in their relevant fields are available in the Reference hall. The library is fully automated. The issues, returns and database of books in library are maintained using EzSchool Software. Three books are issued to a student at a time for period of 15days. Five books are issued to staff. The college has subscribed to various technical and non-technical magazines and also to well known journals and periodicals in the fields of Electronics, Electrical, Computers, Information Technology, Civil, and M.B.A. University college of Engineering and Technology aims to increase library stock every Semester by allotting annual budget.
ISSUE SECTION
The library is fully computerized with database search & cataloging and offers borrowing facilities @ 3 books/ student member for a period of 15 days and @ 5 books staff member for a period of a semester.
OPEN BOOK BANK
Apart from the stipulated Borrowers Books offered by the Library; it has started lending books through Open Book Bank facility from the year 2008. Subscription is open during admission, through nominal payment, where a student is offered 6 books relevant to the subject in each semester, which is returnable at the end of the semester
REFRENCE SECTION
Reference Section has Handbooks, Encyclopedias, Journals & Magazines, CD-ROM and several rare books. Library has hordes of Indian & International Journals and Magazines in the reference section.


About Us
Login
register
Featured Articles
Post an article
Register on Nature Net
Email address
Password
{{errorMessage}}
{{successMessage}}
Register
Register with Google
Already have an account?
Login
About Us


Go to the source code of this file.
Functions | |
| void | dr_init (int screen_x_max, int screen_y_max, double xmin, double ymin, double xmax, double ymax) |
| Initialize the drawing module. | |
| void | dr_close (void) |
| Close the drawing window. | |
| void | dr_line (double x1, double y1, double x2, double y2, const char *color) |
| Plot a line between [x1,y1] and [x2,y2] using color. | |
| void | dr_marker (double x, double y, int type, const char *color) |
| Place a marker to (x,y). Possible markers are: DR_MARKER_CIRCLE, DR_MARKER_TRIANGLE, DR_MARKER_CROSS. | |
| void | dr_text (double x, double y, int hz_al, int vr_al, const char *text, const char *color) |
| Place a text to (x,y). | |
| void | dr_text_pix (int px, int py, const char *text, const char *color) |
| Temporary code to output text to screen coordinates. | |
| void | dr_scale (double xmin, double ymin, double xmax, double ymax) |
| Scale the shown area. Prior rescaling, the area is normalized to keep the aspect ratio. | |
| void | dr_replot (void) |
| Redraw the screen content. | |
| void | dr_erase (void) |
| Clear the screen and erase the drawn objects from memory. | |
| void | dr_circle (double x, double y, double r, const char *color) |
| Plot a circle of radius r at [x,y] using color. | |
| void | dr_cov_ellipse (double x, double y, double c11, double c12, double c22, const char *color) |
| Plot a covariance ellipse to depict uncertainty. | |
| void | dr_zoom (void) |
| Interactive zooming until enter, space or 'q' is pressed. | |
| void | dr_fit (void) |
| Scale all drawn objects to fit the screen. | |
| void | dr_save (const char *filename) |
| Save the screen into a PNG image (needs extra packages). | |
| void | dr_equal (int equal) |
| Enable or disable equal drawing unit per pixel ratio for both axis. | |
Variables | |
| char * | dr_COLORS [] |
| int | dr_COLORS_CNT |
| void dr_circle | ( | double | x, | |
| double | y, | |||
| double | r, | |||
| const char * | color | |||
| ) |
Plot a circle of radius r at [x,y] using color.
| x | X coordinate of the center of the circle. | |
| y | Y coordinate of the center of the circle. | |
| r | Radius of the circle. | |
| color | The color of the circle as "red", "green",... see dr_COLORS. |
| void dr_close | ( | void | ) |
Close the drawing window.
| void dr_cov_ellipse | ( | double | x, | |
| double | y, | |||
| double | cxx, | |||
| double | cxy, | |||
| double | cyy, | |||
| const char * | color | |||
| ) |
Plot a covariance ellipse to depict uncertainty.
The covariance ellipse is drawn by breaking it up into line segments.
Acknowledgement: the core equations are from Lindsay's kzoom.
| x | X coordinate of the mean of the distribution. | |
| y | Y coordinate of the mean of the distribution. | |
| cxx | The variance of the X coordinate. | |
| cxy | The XY covariance. | |
| cyy | The variance of the Y coordinate. | |
| color | The color of the ellipse as "red", "green",... see dr_COLORS. |
| void dr_equal | ( | int | equal | ) |
Enable or disable equal drawing unit per pixel ratio for both axis.
| equal | 1 - enabled, 0 - disabled |
| void dr_erase | ( | void | ) |
Clear the screen and erase the drawn objects from memory.
| void dr_fit | ( | void | ) |
Scale all drawn objects to fit the screen.
| void dr_init | ( | int | screen_x_max, | |
| int | screen_y_max, | |||
| double | xmin, | |||
| double | ymin, | |||
| double | xmax, | |||
| double | ymax | |||
| ) |
Initialize the drawing module.
| screen_y_max | [pixel] The height of the drawing screen in pixels. | |
| screen_x_max | [pixel] The width of the drawing screen in pixels. | |
| xmin | Minimum x coordinate of the drawing area in drawing units. | |
| ymin | Minimum y coordinate of the drawing area in drawing units. | |
| xmax | Maximum x coordinate of the drawing area in drawing units. | |
| ymax | Maximum y coordinate of the drawing area in drawing units. |
| void dr_line | ( | double | x1, | |
| double | y1, | |||
| double | x2, | |||
| double | y2, | |||
| const char * | color | |||
| ) |
Plot a line between [x1,y1] and [x2,y2] using color.
| x1 | x coordinate of the first point. | |
| y1 | y coordinate of the first point. | |
| x2 | x coordinate of the second point. | |
| y2 | y coordinate of the second point. | |
| color | The color of the line as "red", "green",... see dr_COLORS. |
| void dr_marker | ( | double | x, | |
| double | y, | |||
| int | type, | |||
| const char * | color | |||
| ) |
Place a marker to (x,y). Possible markers are: DR_MARKER_CIRCLE, DR_MARKER_TRIANGLE, DR_MARKER_CROSS.
| x | X coordinate of the marker. | |
| y | Y coordinate of the marker. | |
| type | The type of the marker. One of DR_MARKER_CIRCLE, DR_MARKER_TRIANGLE, DR_MARKER_CROSS. | |
| color | The color of the marker as "red", "green",... see dr_COLORS. |
| void dr_replot | ( | void | ) |
Redraw the screen content.
| void dr_save | ( | const char * | filename | ) |
Save the screen into a PNG image (needs extra packages).
| filename | The name of the file under which the image is saved. |
| void dr_scale | ( | double | xmin, | |
| double | ymin, | |||
| double | xmax, | |||
| double | ymax | |||
| ) |
Scale the shown area. Prior rescaling, the area is normalized to keep the aspect ratio.
| xmin | Minimum X coordinate of the shown area. | |
| ymin | Minimum Y coordinate of the shown area. | |
| xmax | Maximum X coordinate of the shown area. | |
| ymax | Maximum X coordinate of the shown area. |
| void dr_text | ( | double | x, | |
| double | y, | |||
| int | hz_al, | |||
| int | vr_al, | |||
| const char * | text, | |||
| const char * | color | |||
| ) |
Place a text to (x,y).
| x | X coordinate of the text. | |
| y | Y coordinate of the text. | |
| hz_al | Horizontal alignment. - CURRENTLY NOT USED. | |
| vr_al | Horizontal alignment. - CURRENTLY NOT USED. | |
| text | The text to be shown. | |
| color | The color of the marker as "red", "green",... see dr_COLORS. |
| void dr_text_pix | ( | int | px, | |
| int | py, | |||
| const char * | text, | |||
| const char * | color | |||
| ) |
Temporary code to output text to screen coordinates.
| px | [Pixel] X coordinate of the text. | |
| py | [Pixel] Y coordinate of the text. | |
| text | The text to be shown. | |
| color | The color of the marker as "red", "green",... see dr_COLORS. |
| void dr_zoom | ( | void | ) |
Interactive zooming until enter, space or 'q' is pressed.
Use mouse or numeric keypad to pan/zoom. On the numeric keypad 9,3 will zoom in/out, 2,8 will move the drawing up/down, 4,6 will move left/right. Push r to redraw and c to reset to initial zoom level and view position.
When using the mouse, left click on figure top/bottom will move the drawing down/up, clicking on the left or right side of the figure will move the drawing right or left. Moving the wheel will zoom in and out.
| char* dr_COLORS[] |
| int dr_COLORS_CNT |


---
title: Shameless Plug
date: 2008-05-06 00:00:00 -06:00
categories:
- whats-blooming
layout: post
blog-banner: whats-blooming-now-spring.jpg
post-date: May 6, 2008
post-time: 4:04 PM
blog-image: wbn-default.jpg
---
It's Finally Here!!
After many hours of research and a few edits, its ready....and it's perfect!! Red Butte finally has its own Pocket Naturalist to accompany you through the garden. It's conveniently sized to fit in your back pocket and packed with information about the various plants in the garden. There is even a map on the back so you don't get lost. They are available for purchase at the Visitor Center Gift Shop.


|
SimpleITK
1.2.4
|
A deformable transform over a bounded spatial domain using a BSpline representation for a 2D or 3D coordinate space. More...
#include <sitkBSplineTransform.h>
Classes | |
| struct | MyVisitor |
Public Types | |
| typedef BSplineTransform | Self |
| typedef Transform | Superclass |
| Public Types inherited from itk::simple::Transform | |
| typedef Transform | Self |
Public Member Functions | |
| BSplineTransform (unsigned int dimensions, unsigned int order=3) | |
| BSplineTransform (std::vector< Image > &coefficientImages, unsigned int order=3) | |
| BSplineTransform (const BSplineTransform &) | |
| BSplineTransform (const Transform &) | |
| std::vector< Image > | GetCoefficientImages () const |
| Get a vector of the coefficient images representing the BSpline. More... | |
| std::string | GetName () const |
| unsigned int | GetOrder () const |
| std::vector< double > | GetTransformDomainDirection () const |
| std::vector< unsigned int > | GetTransformDomainMeshSize () const |
| std::vector< double > | GetTransformDomainOrigin () const |
| std::vector< double > | GetTransformDomainPhysicalDimensions () const |
| BSplineTransform & | operator= (const BSplineTransform &) |
| Self & | SetTransformDomainDirection (const std::vector< double > &) |
| Self & | SetTransformDomainMeshSize (const std::vector< unsigned int > &) |
| Self & | SetTransformDomainOrigin (const std::vector< double > &) |
| Self & | SetTransformDomainPhysicalDimensions (const std::vector< double > &) |
| virtual | ~BSplineTransform () |
| Public Member Functions inherited from itk::simple::Transform | |
| Self & | AddTransform (Transform t) |
| Self & | FlattenTransform () |
| Remove nested composite transforms. More... | |
| unsigned int | GetDimension (void) const |
| Transform | GetInverse () const |
| Return a new inverse transform of the same type as this. More... | |
| unsigned int | GetNumberOfFixedParameters (void) const |
| unsigned int | GetNumberOfParameters (void) const |
| virtual bool | IsLinear () const |
| void | MakeUnique (void) |
| Performs actually coping if needed to make object unique. More... | |
| virtual void | SetIdentity () |
| virtual bool | SetInverse () |
| Try to change the current transform to it's inverse. More... | |
| std::string | ToString (void) const |
| Transform (void) | |
| By default a 3-d identity transform is constructed. More... | |
| template<unsigned int NDimension> | |
| Transform (itk::CompositeTransform< double, NDimension > *compositeTransform) | |
| Construct a SimpleITK Transform from a pointer to an ITK composite transform. More... | |
| Transform (itk::TransformBase *transform) | |
| Transform (unsigned int dimensions, TransformEnum type) | |
| Construct a specific transformation. More... | |
| Transform (Image &displacement, TransformEnum type=sitkDisplacementField) | |
| Use an image to construct a transform. More... | |
| std::vector< double > | TransformPoint (const std::vector< double > &point) const |
| std::vector< double > | TransformVector (const std::vector< double > &vector, const std::vector< double > &point) const |
| void | WriteTransform (const std::string &filename) const |
| virtual | ~Transform (void) |
| Transform & | operator= (const Transform &) |
| Copy constructor and assignment operator. More... | |
| Transform (const Transform &) | |
| Copy constructor and assignment operator. More... | |
| itk::TransformBase * | GetITKBase (void) |
| const itk::TransformBase * | GetITKBase (void) const |
| void | SetParameters (const std::vector< double > ¶meters) |
| std::vector< double > | GetParameters (void) const |
| void | SetFixedParameters (const std::vector< double > ¶meters) |
| std::vector< double > | GetFixedParameters (void) const |
Protected Member Functions | |
| virtual void | SetPimpleTransform (PimpleTransformBase *pimpleTransform) |
| Protected Member Functions inherited from itk::simple::Transform | |
| Transform (PimpleTransformBase *pimpleTransform) | |
Private Member Functions | |
| void | InternalInitialization (itk::TransformBase *transform) |
| template<typename TransformType > | |
| void | InternalInitialization (TransformType *transform) |
Static Private Member Functions | |
| static PimpleTransformBase * | CreateBSplinePimpleTransform (unsigned int dimension, unsigned int order) |
| template<unsigned int ND> | |
| static PimpleTransformBase * | CreateBSplinePimpleTransform (unsigned int order) |
Private Attributes | |
| nsstd::function< std::vector< Image >)> | m_pfGetCoefficientImages |
| nsstd::function< unsigned int()> | m_pfGetOrder |
| nsstd::function< std::vector< double >)> | m_pfGetTransformDomainDirection |
| nsstd::function< std::vector< unsigned int >)> | m_pfGetTransformDomainMeshSize |
| nsstd::function< std::vector< double >)> | m_pfGetTransformDomainOrigin |
| nsstd::function< std::vector< double >)> | m_pfGetTransformDomainPhysicalDimensions |
| nsstd::function< void(std::vector< Image > &)> | m_pfSetCoefficientImages |
| nsstd::function< void(const std::vector< double > &)> | m_pfSetTransformDomainDirection |
| nsstd::function< void(const std::vector< unsigned int > &)> | m_pfSetTransformDomainMeshSize |
| nsstd::function< void(const std::vector< double > &)> | m_pfSetTransformDomainOrigin |
| nsstd::function< void(const std::vector< double > &)> | m_pfSetTransformDomainPhysicalDimensions |
A deformable transform over a bounded spatial domain using a BSpline representation for a 2D or 3D coordinate space.
Definition at line 35 of file sitkBSplineTransform.h.
Definition at line 39 of file sitkBSplineTransform.h.
Definition at line 40 of file sitkBSplineTransform.h.
|
virtual |
|
explicit |
|
explicit |
Construct a BSpline from a set of coeefficientImages
The coefficient images must be of pixel type sitkFloat64, the number of images must equal the dimension of the transform ( 2 or 3 ), all must be the same dimensions. The image's spacing, origin, size and direction cosine matrix are used to define the transform domain. The transform domain is reduced by the spline order.
| itk::simple::BSplineTransform::BSplineTransform | ( | const BSplineTransform & | ) |
|
explicit |
|
staticprivate |
|
staticprivate |
| std::vector<Image> itk::simple::BSplineTransform::GetCoefficientImages | ( | ) | const |
Get a vector of the coefficient images representing the BSpline.
A lazy shallow copy of the images from ITK is performed. If they are modified in SimpleITK a deep copy will occur. However, if the coefficient images are modified in ITK, then no copy will occur and the images held by SimpleITK may unexpectedly change.
|
inlinevirtual |
Name of this class
Reimplemented from itk::simple::Transform.
Definition at line 64 of file sitkBSplineTransform.h.
| unsigned int itk::simple::BSplineTransform::GetOrder | ( | ) | const |
| std::vector<double> itk::simple::BSplineTransform::GetTransformDomainDirection | ( | ) | const |
| std::vector<unsigned int> itk::simple::BSplineTransform::GetTransformDomainMeshSize | ( | ) | const |
| std::vector<double> itk::simple::BSplineTransform::GetTransformDomainOrigin | ( | ) | const |
| std::vector<double> itk::simple::BSplineTransform::GetTransformDomainPhysicalDimensions | ( | ) | const |
|
private |
Referenced by itk::simple::BSplineTransform::MyVisitor::operator()().
|
private |
| BSplineTransform& itk::simple::BSplineTransform::operator= | ( | const BSplineTransform & | ) |
|
protectedvirtual |
Reimplemented from itk::simple::Transform.
| Self& itk::simple::BSplineTransform::SetTransformDomainDirection | ( | const std::vector< double > & | ) |
parameters fixed parameter
| Self& itk::simple::BSplineTransform::SetTransformDomainMeshSize | ( | const std::vector< unsigned int > & | ) |
| Self& itk::simple::BSplineTransform::SetTransformDomainOrigin | ( | const std::vector< double > & | ) |
| Self& itk::simple::BSplineTransform::SetTransformDomainPhysicalDimensions | ( | const std::vector< double > & | ) |
|
private |
Definition at line 133 of file sitkBSplineTransform.h.
|
private |
Definition at line 134 of file sitkBSplineTransform.h.
|
private |
Definition at line 124 of file sitkBSplineTransform.h.
|
private |
Definition at line 126 of file sitkBSplineTransform.h.
|
private |
Definition at line 128 of file sitkBSplineTransform.h.
|
private |
Definition at line 130 of file sitkBSplineTransform.h.
|
private |
Definition at line 136 of file sitkBSplineTransform.h.
|
private |
Definition at line 125 of file sitkBSplineTransform.h.
|
private |
Definition at line 127 of file sitkBSplineTransform.h.
|
private |
Definition at line 129 of file sitkBSplineTransform.h.
|
private |
Definition at line 131 of file sitkBSplineTransform.h.


L'Histoire d'Adele H (1975)
(The Story of Adele H, French with English subtitles)
Seen on 22 October 1997 for $8 at Symphony Space (part of a double feature with *Vanina Vanini*)
Perhaps what is most shocking about this movie is its statement that "this story is true." Adele H is Adele Hugo, the daughter of French poet and novelist Victor Hugo, one of the most famous men of his time. Having read a bit about the true story, it is interesting to actually see its dramatization.
The story begins in 1863 in Halifax, Nova Scotia. Adele (Isabelle Adjani) arrives looking for that object of her affection, Lt. Albert Pinson, who is stationed there as part of Her Majesty's armed forces. The two met on the Channel Island of Guernsey, where her father lived in exile after Napoleon III overthrew the French Republic.
Albert, a ladies' man, gets more than he bargained for when he trifles with Adele's heart. She is determined to get him to return her affections. She goes by a pseudonym, living as a boarder of the kind Mrs. Saunders (Sylvia Marriott), and using it as a base for her machinations. There is very little Adele will not put herself and ALbert through--spying, blackmail, public humiliation, even procuring young women for Albert if he will not have her.
At night, Adele paces the floors and prays to a shrine with Albert's photo enclosed within. She rapidly deteriorates as she pursues Love as religion. It is painful to watch her beg Albert "Keep me!"
Adele suffers a complete identity crisis. She is named after her (living) mother; her father is larger than life. Making matters worse is the drowning death of her sister Leopoldine, the family favorite. A desire to make an impression and stand out as an individual in such a family would be understandable; but the depths of her tragedy are unimaginable.
Adele Hugo's diaries were not discovered until the 1960s. She wrote in her own secret language of her obsessive desire to make the Lieutenant love her. It is easy to see why Francois Truffaut would be so fascinated that he would make a movie about it.
It is also easy to see why Isabelle Adjani won a Cesar for her performance -- it *is* the movie. It is hard to believe that the beautiful young woman we first see coming off the boat is the bleak spectre that unravels before us. Her obsession blinds her to the many kind people around her and the family imploring her to come home.
*L'Histoire d'Adele H* is not always that easy to find on video or on TV, so getting to see it for the first time as it was originally intended--in its cinematic glory--was a real treat.
More movie reviews by Seth Bookey, with graphics, can be found at http://www.geocities.com/Athens/2679/kino.html
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Our Company produces cold press machines by using newest technologies in our modern production facility. As a result of intense R&D studies, our machines that we have produced give service to our domestic and international Customers.
As a result of intense R&D studies, we have different color options for our machines and wide range of spare parts. However, we can build cold press custom oil machines according to the needs of our customers so we can answer all needs of our customers.
Our spare parts are adaptable to all other machines in the market. Our company gives you a faster, more disciplined and more effective service about spare parts.


PLANET SICK-BOY: http://www.sick-boy.com "We Put the SIN in Cinema"
Laurent Cantet's Human Resources is an interesting working-class drama set in a small French town where most of the citizens are employed by one factory. Home from a Parisian college, Franck (Jalil Lespert, Sade) lands a summer internship in the factory's personnel department. His father (Jean-Claude Vallod) is proud of his son, but Franck's friends see him as a sellout.
Franck quickly finds himself in the middle of a battle between management and the union. At issue is the implementation of a 35-hour workweek, an issue vehemently despised by the union but hailed by the bosses as an end to the factory's financial troubles. In an attempt to appease both sides, Franck suggests a referendum be given directly to the factory's employees, drawing the ire of the union and their firecracker representative, Danielle Arnoux (Danielle Mélador).
Franck is caught between a rock and a hard place. He has strong ties to the blue-collar community (his dad has been a factory employee for 30 years), but at the same time, he wants to please his new bosses, and even feels a twinge of embarrassment about his working-class roots. Human Resources is about Franck's internal struggle, which is akin to Bud Fox's ordeal in Wall Street.
The only professional actor in Resources is Lespert – the rest of the cast were actual factory workers found in the town Resources used as its gloomy backdrop (it's the town upon which the sun forgot to shine). The film was co-written by Gilles Marchand, who penned the America-bound French blockbuster, Harry, He's Here to Help.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


A list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore.
View the Project on GitHub chaffeqa/Front-end-Developer-Interview-Questions
cookie
, sessionStorage
and localStorage
.<link>
s between <head></head>
and JS <script>
s just before </body>
? Do you know any exceptions?translate()
instead of absolute positioning, or vice-versa? And why?function Person(){}
, var person = Person()
, and var person = new Person()
?Write the commands to clone the repository git@github.com:chaffeqa/nuthin.git
, add a file file.txt
with contents Hello
, commit it, and push it back up to origin/master
.
Answer:
|
|
|
|
|
|
|
Question: What is the value of foo
?
var foo = 10 + '20';
Question: What is the value of window.foo
?
( window.foo || ( window.foo = "bar" ) );
Question: What is the outcome of the two alerts below?
var foo = "Hello";
(function() {
var bar = " World";
alert(foo + bar);
})();
alert(foo + bar);
Question: What is the value of foo.length
?
var foo = [];
foo.push(1);
foo.push(2);
Question: What is the value of foo.x
?
var foo = {n: 1};
var bar = foo;
foo.x = foo = {n: 2};
Question: What does the following code print?
console.log('one');
setTimeout(function() {
console.log('two');
}, 0);
console.log('three');
Question: What is the result of the following code?
var fullname = 'John Doe';
var obj = {
fullname: 'Colin Ihrig',
prop: {
fullname: 'Aurelio De Rosa',
getFullname: function() {
return this.fullname;
}
}
};
console.log(obj.prop.getFullname());
var test = obj.prop.getFullname;
console.log(test());
Question: What will be printed on the console?
(function() {
var a = b = 5;
})();
console.log(b);
Question: What will be printed on the console?
function meth1(){
return 1;
}
function meth2(input){
return 2 + input;
}
function result(arg1, cb){
var result = typeof(cb) == "function" && cb(arg1)
return result
}
console.log('a'+result(1,meth1()))
console.log('b'+result(1,meth1))
console.log('C'+result(1,meth2))
Question: What will be printed on the console?
var d = (function f(f, d){
return {f: typeof f(), d: typeof(d) };
})(function(){ return 1; });
console.log(d)


My Library
Remove
Edit
One Piece Vol. 1
Eiichiro Oda
200 pages
Finished reading
Mark as read:
×
Search book
Title:
Author:
Pages read:
Page count:
Book cover link:


Rapid Development with TierDeveloper 2.0
Here. From Zahid Iqbal: TierDeveloper is an object to relational mapping and code generation tool that lets you map middle-tier objects to your database tables, embed powerful SQL in them, and generate fully-working .NET (C# and VB.NET), Java and EJB components. It also generates a fully-functional ASP.NET and JSP application to let you test generated components, and design documents in HTML to cut down your learning curve.


Projects
Aug 2015 - Sept 2015
-
Motivation: A lot of students prepare from GeeksForGeeks (GFG) for placements and
preparing for GATE. GFG lacked the feature where students could have quiz from multiple topics,
which proves to be very helpful during the end of preparations.
-
Execution and Result: Made a chrome extension, which prepared a random quiz of 20 questions from
user-selected topics anbd helped students analyse their tests.
It attracted attention in the first week of launch and had more than 1000 users in the first week.
The project received appreciation from GeeksForGeeks team and an offer to work with them.
Aug 2014 - Oct 2014
- Motivation: With 8086 being a dying microprocessor, there was a need for a web-based interpreter for students to learn.
-
Execution and Result:
Wrote a web app which interpreted 8086 assembly language in JS with backend state saving.
It got proposed to be used as a replacement of current kits in DTU by our department.


--- layout: post status: publish published: true title: '"Losing a fella named Frandy" - Episode 7.70' author: display_name: Corey Fineran login: Corey email<EMAIL_ADDRESS>url: '' author_login: Corey author_email<EMAIL_ADDRESS>wordpress_id: 11572 wordpress_url: http://ivyenvy.com/?p=11572 date: '2015-11-22 22:47:21 +0000' date_gmt: '2015-11-23 04:47:21 +0000' categories: - Podcast tags: [] comments: [] ---
On this episode of the podcast, we talk about some of the pitchers that the Cubs have acquired in the last week. The Cubs also move a few minor league players to the 40-man roster to avoid other teams picking them in the upcoming Rule 5 Draft.
We spend the rest of the episode answering listener questions. Some questions are Cubs related and some definitely are not.
One of the questions involved each of us putting our five favorite songs into a mix-tape. Here's the playlist:


The width (in pixels) of the spacer between columns. Changing this value will require you to make various changes in the CSS styling to compensate for the additional space.
(integer): Default 1.
(integer)
1
{columnSpacing: 2}


Search:
All
Go
Reset
{{searchResultIndex + 1}} of {{searchResults.length}} search results
Highlighted Index Trail
No search performed.
User-selected Index Trail
Click any title to view its index trail.
User-selected Search
No search performed.


Toggle navigation
Eboard Evals
Admin
Evals are not open at this time.
Name (Optional)
Position (Required)
Eboard in General
Chairman
Evals
Financial
R&D
House Imps
Opcomm
History
Social
Secretary
What You Like?
What do you like about this director?
What You Dislike?
What do you dislike about this director?
Any Comments?
Any other comments for this director?


Setting up Shopyo¶
Shopyo requires Python. Be sure to have it before!
👟 The easy way¶
[Important] create a virtual environment and activate it
install shopyo
pip install shopyo
create new project, for example
blog
mkdir blog
cd blog
create new shopyo project for
blog
shopyo new
See new for more details.
cd into path of the newly create project.
cd blog # path should now /path/to/blog/blog
initialise
shopyo initialise
run
shopyo run
The app should now be running on IP <IP_ADDRESS>
at port 5000
. You can go to http://localhost:5000/ or http://<IP_ADDRESS>:5000/. For the home page it will say SITE UNDER CONSTRUCTION
. Go to http://localhost:5000/login/. Login with email<EMAIL_ADDRESS>and password pass
Note
If the shopyo command is not recognized make sure you are in blog/blog`
for this example
🔧 Install from Github¶
See the Setup Instructions


My favorite things
These are a few of my favorite things
peeps
these are some of my
peeps!
this one
guy
this lady
my family, i guess:
my parents
my siblings
test li
dat's enough


My Fair Lady http://www.ram.org/ramblings/movies/my_fair_lady.html
/My Fair Lady/, released in 1964, is hailed as one of the greatest films ever made and I had the opportunity to watch the remastered 30th anniversary edition for the first time while spending Christmas at Yosemite National Park.
The film is based on the story /Pygmalion/ (1912) by George Bernard Shaw (the name refers to the King of Cyprus who fell in love with a statue of his own making). Henry Higgins (Rex Harrison) is an English Linguistics Professor who takes on Eliza Doolittle (a beautiful Audrey Hepburn) under his tutelage to change her from an unrefined flower girl with a Cockney accent to a genteel who brings forth the majesty and grandeur of the English language (which hasn't been used in America for years) with every utterance. Higgins is a misogynistic bachelor who pushes Eliza day and night, while wondering why a woman can't be more like a man, so she can learn to speak properly. Riding on Eliza's success is a bet Higgins makes with his friend, Colonel Hugh Pickering (Wilfred Hyde-White), wherein Higgins claims he will be able to pass Eliza off as a Duchess in six months. As Eliza and Higgins train together, they become accustomed to each other even though it is an abusive relationship on Higgins' part. Finally the inevitable confrontation occurs: Eliza has surpassed the teacher's expectations, but the teacher still considers her a common flower girl. How does one move forward in such a situation?
The script, by Alan Jay Lerner, retains Shaw's acerbic wit and delicious irony and succeeds for that reason. Both the dialogue and the song lyrics are crafted extremely well. The music itself has a few high points but there are plenty of low ones as well. The acting is impeccable: Rex Harrison's role as a happy-but-cynical misanthrope (his excuse for treating Eliza badly is that he doesn't treat anyone any better) is played out extremely well. Audrey Hepburn's transformation from a common girl to a cultured lady is extremely convincing, particularly in terms of her accent (although her songs were dubbed by Marni Nixon). The supporting cast is excellent: Eliza's father Alfred P. Doolittle is played in a irreverent and charismatic manner by Stanley Holloway who gets some of the coolest lines in the film and was my favourite character; Jeremy Brett shows a bit of the talent that would later come in handy when he played Sherlock Holmes; and Gladys Cooper as Henry Higgins' mother also gets to deliver a few barbed lines of her own ("Henry, what a disagreeable surprise").
Even though the film's tongue is firmly in its cheek, the degree of social commentary that occurs amidst the happy songs and the straight-forward story is amazing. The film comments about the British class system, class systems in general, and the notion of language being the reason for there being a class division (an almost Universal concept prevalent in any culture). Further the movie addresses the virtues of being "civilised" (when Eliza becomes a lady, all she can do is sell herself), the virtues of morality when one has nothing to left to lose (as Eliza's father says, he can't afford it), and the repressed nature of British society in general.
The direction by George Cukor is amazing: the use of pausing characters, the fantasy of Eliza thinking about Higgins' death, the detached race track scene (with the classic "move your bloomin' arse" line), and the use of novel devices to measure Eliza's speech, which is a tangent on its own and done as a throwaway, are brilliant. The remastered audio and video brings the film to a vibrant life, with the latter presenting an extremely colourful and bright Technicolour look that is not seen in movies today.
I still think Higgins gets away too easily considering the poor way he treats Eliza, reflecting the mentality of the era the movie was made. At about three hours, the movie is a little too long, but is great to watch with a date or as a group event. I highly recommend it.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Heartbeat |
A small project |
Making a very real and tangible difference |
In the lives of vulnerable children |
Around the world |
Heartbeat |
{% extends 'generic/base.html' %} {% load thumbnail %} {% load i18n %} {% load static %} {% block content %} {% comment %}
Heartbeat |
A small project |
Making a very real and tangible difference |
In the lives of vulnerable children |
Around the world |
Heartbeat |


World Of Pixels is an (almost) infinite canvas where you can draw online with other people, or explore many user created worlds.
But to use the website, you first need to enable javascript!


Career Map is a project by a group of MIMS students to bridge the gap between intended future careers of iSchoolers and the selection of appropriate courses that will lead to them. We realise that course selection can be really hard, so we'd like to ease the process by collecting course ratings and reviews by current and past students.
We want to ensure the quality of the ratings and reviews. We believe that we can minimize bad behavior by ensuring that everyone's activities are tied to their professional identity on Linkedin.
Yackle only accesses your profile information (name, title, profile pic, etc.) and email address. We don't do anything with your data other than simply display it to our members. We don't sell your data, or use it for targetting / ads etc.


13.2. The Appearance of the histogram interface
Learning objectives
After completing this module, you will know
how to:
·
Create a histogram, appearance of the
histogram interface
·
Manipulate the plot from tabs in the
interface
·
Work with stack and none stack
function in the histogram
There are three
ways to create a Histogram (multi-well)
·
Select
a curve in log track, right-click on them and then select Create Histogram
option
Figure 13‑1 Create histogram from log-plot
·
From
the Plot tab on the menu bar, go to the Histogram section. You
can select choose Blank Histogram to build your own
Figure 13‑2 Create histogram from Tool Bar
·
From
the Project Browser, go to the Histogram section. You can right-click
and choose Blank Histogram option
Figure 13‑3 Create histogram from Data tree
The
histogram interface has a central viewing area in which the histogram displays
and a right-hand side area on which histogram tabs will be displayed.
Figure 13‑4 Histogram interface
The
histogram has several buttons that make it easy to perform common operations:
Table 13‑1 Buttons in the histogram
|
Buttons |
Description |
|
|
Rereads
the original data |
|
|
Save the
histogram |
|
|
Save the
histogram as a new version |
|
|
Open
the Print Preview form, for printing the chart |
There
are seven primary tabs in the histogram tab that help you display the
histogram: Well, Configuration, Zone, Assistive lines, Statistic, Layers, and
Print Setting.
·
On
this tab, you can drag and drop wells from Project Browser to the histogram
area. The wells will be displayed on this tab. You place curves to be displayed
by specifying the X-Axis.
·
Top
of the tab, you can filter variables by the group family, family and curve
name.
·
After
variables are selected, you have to click on the Update button at the
bottom of the tab to display data over the histogram
Figure 13‑5 Well tab in a histogram
This
tab allows you to modify histogram display after settings curves selection in
the Well tab.
·
Configuration tab allows you to set up the scale of the X-axis,
left scale and right scale is automatically set from curve family and you can
manually change by typing preferred value. You can also define by typing a
positive number of grid lines for major and minor.
·
Color Mode is used to view data color. You can choose to view
color by zone or well.
Tips: You can also change the data
display by using Stack Mode options. The Stack Mode options
include No Stack, Well, Zone, and All (Figure
2.6).
Figure 13‑6 Configuration tab in a histogram
By default, Histogram will display the
ZonationAll. You can also define another zone set by click on the zone set
dropbox to choose one
Figure 13‑7 Zone tab in a histogram
This
tab allows you to view data as Gaussian and Cumulative by clicking on each
layer. A layer can be zone or well depend on display setting
Figure 13‑8 Assistive line tab in a histogram
I2G
supports a lot of statistic information, for example, P10, P50, P90, Min, Max,
Average…
Figure 13‑9 Statistic tab in a histogram
This tab allows you to filter data display on a histogram. Layers can
be zones or wells. You click on each layer to turn them on/off
Figure 13‑10 Layer tab in a histogram
I2G supports user two types of output including image and PDF
Figure 13‑11 Print Setting tab in a histogram


Reports comparison of the name()
function with a string that contains a colon (:
). Such usages
usually indicate a hardcoded namespace prefix in the comparison. As a result, the code will break when run against XML that
uses another prefix for the same namespace.
Example:
<xsl:if test="name() = 'xlink:href'">...<xsl:if>


Example_02:We create a simple simulation of an object falling under gravity and bouncing off of a floor.For the object we use an EMObject, the teal.physics.em.PointCharge object. The point charge is given a positive charge (which is why it is orange), but since there are no other electromagnetic objects to interact with, the dynamics of the object are simply determined by gravity. The collision with the floor is perfectly elastic, and there is no friction in the model, so the motion repeats indefinitely.
|


Hey, I'm Julia. A Twitch streamer by night, who knows a thing or two on user interfaces and user experiences.
You can find me live on twitch, talk business at<EMAIL_ADDRESS>or @me on twitter
You can find me live on twitch,
talk business at<EMAIL_ADDRESS>or @me on twitter


---
title: "Practical Introduction"
menutitle: "Practical"
mainfont: Arial
fontsize: 12pt
urlcolor: blue
weight: 30
---
Package and Data Loading
As mentioned during the session setup, load the following packages using the library()
function. Additionally, as we will be using a data set which contains large numbers, set scipen to 999, within the options()
function.
library(tidyverse)
library(caret)
library(tree)
library(rpart)
library(rpart.plot)
options(scipen = 999)
Furthermore, for the purpose of this session, we will be using data from UC Irvine Machine Learning Repository and in particular the Red Wine Quality Dataset. This can be downloaded from the site directly, or contained in the .zip file.
winequality_red <- read_csv("data/winequality-red.csv")
This data set contains 1599 observations across the following variables:
- Fixed Acidity (‘fixed acidity’) - fixed & nonvolatile acid in the wine.
- Volatile Acidity (‘volatile acidity’) - the amount of acetic acid in the wine, related to vinegar flavours.
- Citric Acid (‘citric acid’) - amount of citric acid in the wine, related to “freshness”.
- Residual Sugar (‘residual sugar’) - the amount of sugar remaining after fermentation.
- Chlorides (‘chlorides’) - the amount of salt in the wine.
- Free Sulfur Dioxide (‘free sulfur dioxide’) - A free form of SO2, preventing microbial growth and oxidation.
- Total Sulfur Dioxide (‘Total Sulfur Dioxide’) - Total SO2 amount, calculated from both free and bound forms.
- Density (‘density’) - The density of water, depending on the percent of alcohol and sugar content.
- pH (‘pH’) - Describes how acidic or basic the wine is (between 0, very acidic, and 14, very basic).
- Sulphates (‘sulphates’) - A wine additive which contributes to SO2 levels, acts as an antimicrobial and antioxidant.
- Alcohol (‘alcohol’) - The percent alcohol content of the wine.
- Quality (‘quality’) - The output variable, based upon sensory data (0 - 10).


What Do We Do?
We develop, compile and integrate different modules based on our domains to form projects that deal with real world problems supporting both public and private sectors, in turn, helping the economy to grow.
Whom Do We Serve?
Because the domains we specialize in form the basic building blocks of technology, we tend to serve everyone and everything related to technology.
How Do We Serve Them?
We serve them by any means possible, in the form of projects, seminars, etc.


%inherit file="/layout/wizard.html"/> <%namespace file="/lib.html" import="manager_save_search_link,wizard_ok"/>
${_('View dashboard')} ${dashboard.label | h}.
${_('Modify the saved search at Settings » Searches, reports, and alerts »')} ${manager_save_search_link(saved_search.namespace, saved_search.id, saved_search.name)}


bool mysql_ping ([ resource $link_identifier ] )
Checks whether or not the connection to the server is working. If it has gone down, an automatic reconnection is attempted. This function can be used by scripts that remain idle for a long while, to check whether or not the server has closed the connection and reconnect if necessary. Note: Since MySQL 5.0.13, automatic reconnection feature is disabled.
Returns TRUE if the connection to the server MySQL server is working, otherwise FALSE.


The FCS directive
is used to store ASCII command strings into consecutive bytes of memory. Command
strings are special as the assembler will automatically set the high bit of the
last character in the string. The byte storage begins at the current program
counter. If a label is present it will be assigned address of the first byte in
the string. Any of the printable ASCII characters can be contained in the
string. The string is specified between two identical delimiters which can be
any printable ASCII character. The first non-blank character after the FCS
directive is used as the delimiter.
Examples:
fcs "some string here"
fcs /another string here/
Additionally KASM
supports the ability to include trailing byte declarations similar to FCB
statements to the end of the FCS declaration.


Simple HTML parser
Intro
well, since I started working on this page, I noticed that writing HTML tags pisses me off
It's annoying. Since I don't like to be annoyed I figured I will write a small script to ease writing HTML code.
obviously, I am not going to write a huge program to actually handle the entire language restrictions. there are enough IDE to handle writing and managing HTML code.
No, I just want to be able to write the textual parts of the page easily, so I don't need to hang on writing all the tags when writing.
the script
definitions
As a starting point I decided to support easy writing of just a few textual tags
i.e. p, h1, h2, h3, ul and li.
The idea is being able to write naturally as possible and letting the script parse the text file and create the needed tags
I decided on the most easy to implement method, a simple line based parsing where each line will be:
PARAM text content
where PARAM is
- p - a start paragraph definition
- h1 - a header-1 definition
- h2 - a header-2 definition
- h3 - a header-3 definition
- ul - an unordered list definition
- li - a list item
design restrictions
the script should be able to support multi-line paragraphs
the writing should remain as natural as possible
the script
the script is based on
read and a simple string
case
GitHub link
GitHub
the code explained


Bodies of seven migrants on capsized boat found off Italy
by Agency ReportRescue authorities found the bodies of seven migrants, including five women, after their boat capsized off the Italian island of Lampedusa, coastguard officials said Sunday.
A patrol boat recovered the bodies of three of the women and customs workers found two more washed ashore after a vessel with some 150 people aboard went down Saturday, the coastguard said.
Another two bodies were found Saturday on the beach at Cala Galera on the south side of the island.
Survivors had said late Saturday around 20 people were missing after coast guards reported rescuing nearly 150 migrants when their vessel overturned around 1.5 miles (1.8 kilometres) off the coast.
The coastguard said rescue operations had been complicated by rough seas “but also owing to a large number of people who fell into the water simultaneously.”
Italian media reported one Eritrean man and a Libyan man as saying they had lost their wives.
The public prosecutor in the Sicilian port of Agrigento announced an investigation had been opened into the incident.
Spanish NGO Open Arms, which Thursday rescued 73 migrants in a separate operation, meanwhile urged European governments to authorise “immediately” the migrants’ disembarkation in a safe port, citing a “critical” situation.
“We continue to demand that people’s rights, established under international conventions and maritime law, be respected,” tweeted Open Arms’ chef de mission Riccardo Gatti.
(AFP)


THE LEGEND OF BAGGER VANCE
Reviewed by Harvey Karten DreamWorks Pictures/20th Century Fox Director: Robert Redford Writer: Jeremy Leven, novel by Steven Pressfield Cast: Matt Damon, Will Smith, Charlize Theron, J. Michael Moncrief, Joel Gretsch, Bruce McGill, Lane Smith, Michael O'Neill, Thomas Jay Ryan
Nothing aids meditation about life better than having a heart attack on the golf course.  In this case, Old Hardy (Jack Lemmon), dropping to his knees and then his back while suffering his fifth or sixth coronary assault, allows his mind to drift to two seminal events in his life: one involves a brief scene recalling a World War One battle engaged in by his childhood hero, Rannulph Junuh (Matt Damon) in which Junuh's witnessing the death of his battlefield buddies causes him to be shellshocked. The other, which Old Hardy narrates from time to time and which takes up the bulk of this story, involves his role as onlooker to dramatic events in Junuh's life--his romance with the drop-dead gorgeous Adele Invergordon (Charlize Theron) and his Prozac-like revival from the long depression emanating from his trauma on the field of carnage.
When a guy says that golf is a game that no one wins but one which you can only play (as Old Hardy one once learned from a most unusual fellow), you wonder what he means by that: after all, there are winners in the sport, aren't there?  Indeed, life is a game, and no one gets out alive. Ultimately we all lose. But how you play the game is what counts. To demonstrate this, "The Legend of Bagger Vance," directed with Robert Redford's restrained hand, turns what could have been a fortune-cookie story into a lovely tale which skirts the borders of the maudlin but remains as solidly authentic as the counsel it preaches. "The Legend of Bagger Vance" has added, mythic resonance since (as the splendid online critic Edward Johnson-Ott points out) the film is nothing short of a retelling from the Indian epic "The Mahabharata," in which Bhagavan (meaning "Lord" or "spiritual master") aids Arjuna thorugh a spiritual crisis. The name "Bagger Vance" sounds an awful lot like "Bhagavan" and "R. Junuh" is not unlike "Arjuna."
"The Legend of Bagger Vance" is situated in one of the most touristic cities, Savannah, Georgia, just as the Depression was to put thousands of its citizens out of work and would lead to the suicide of Adele's father--who had built a magnificent golf course only to see the land go unused. Adele, refusing to sell, takes a chance on attracting national publicity by announcing a competition between two of the world's great golfers, the strikingly handsome Bobby Jones (Joel Gretsch) and a fellow known to put on a good show as well as belt out a great game, Walter Hagen (Bruce McGill). To attract the ardent interest of the locals, she also invites a man with whom she enjoyed a pre-war romance, Rannulph Junuh (Matt Damon), who has "lost his swing" and spends his time holed up with his heavy-drinking, card- playing pals.
While Junuh has to be roped into the joining the game given his utter lack of confidence, who better able to do the convincing than Hollywood's most strikingly attractive performer? As the bold entrepreneur impresario, Charlize Theron's Adele could probably convince hell to freeze over, though she is unable to get her depressed boy friend to do much on the golf course--not until the mysterious Bagger Vance emerges from the nocturnal mist insisting that with a little help from a concerned caddy, Junuh can get his groove back.
Redford's movie, scripted by Jeremy Leven from Steven Pressfield's nostalgic novel, follows the trajectory of Frank Coraci's "The Waterboy"--in-the-dumps guy finds his authentic self and emerges as hero--but oh, what a difference. While "The Waterboy" is a pathetic, dumbed down attempt at comedy, "Bagger Vance" turns what could have been fortune-cookie maudlin into a tender, well-acted, and most of all controlled and adult yarn whose mythic roots could scarcely be lost on any viewer. The expressive J. Michael Moncrief in the role of young Hardy Greaves is not a cutesy-putesy sitcom kid in the game to attract the ahhhs and ohhs and look-how-darling crowd but is as genuine an idol- worshipping kid can be, a sight to be seen by today's youth who are allegedly bereft of real heroes. As Adele, Theron shows us that saving her golf course is important but even more consequential is revving up and saving her relationship with her true love. Will Smith is the perfect spirit, giving advice like an ordinary human being, a caddy in fact, and not with the lighting bolts and special effects visions so often used to designate supernatural elements. Even the crowds, as well-behaved as they are enthusiatic, give testament to Robert Redford's vision, the belief that you need no blaring soundtracks or melodramatic brushes to represent the broad spectrum of human emotion. This is the way to tell a story.
Rated PG-13. Running time: 127 minutes. (C) 2000 by Harvey Karten<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Sony Placement Paper
The placement procedure of Sony India comprises of 2 sections:
1. Written Examination
2. HR Interview which covers group discussion
Written examination of Sony generally comprises of 4 sections:
1. Verbal Reasoning
2. Logical Reasoning and Aptitude
3. Quantitative Aptitude
4. Technical Questions
Verbal Reasoning:
1. Which of the two statements together prove that
KATIE HAS BROWN HAIR
1. Katie has long hair
2. Monica has brown hair
3. Monica is 10 years old
4. Katie and Monica have same hair color
5. Monica has short hair
A. 1 and 2
B. 1 and 5
C. 2 and 4
D. 1 and 4
2. In a particular code
MISD KUMP GOTH translates to HAPPY DIWALI BROTHER
GOTH WIUM FREK KUMP translates to BROTHER IS HAPPY TODAY
KOMP WIUM FREK KUMP translates to SISTER IS HAPPY TODAY
In this code find out which word has the meaning DIWALI?
A. GOTH
B. KUMP
C. MISD
D. WIUM
3. AIRCRAFT: TRANSPORT:: NEWSPAPER: ?
A. Publishing
B. Media
C. Newsroom
D. Typing
4. Which of the words mentioned below means the same as OUTGOING?
A. Extrovert
B. Contain
C. Exit
D. Introvert
5. 3 of the four words mentioned here are alike in some way or other. Find the odd word.
A. Petrified
B. Terrified
C. Scared
D. Crooked
6. Mentioned are 4 words which are alike in some form or other:
Felony/ Wrongdoing /Sin/ Offence
Which of these words will not fill along with these words?
A. Prison
B. Immoral
C. Crime
D. Misconduct
7. Assuming that all the mills are hills, some hills are jills, and some tills are rills.
Answer the following question:
A. All mils are jils
B. Some hils are mils
C. Some mils are hils
D. Some jils are hils
E. All tils are hils
8. Motion: Run:: Emotion:
A. Emotional
B. Emotive
C. Feeling
D. Heart
E. Furious
9. Police arrested the criminal. Change the voice.
A. Police has the criminal arrested
B. He is being arrested by Police
C. He has been arrested by Police
D. He was arrested by Police
10. Hedge Hog is a what?
A. Planet
B. Country
C. Animal
D. City
11. Words of language English mainly originate from which language?
A. Roman
B. Hebrew
C. Italian
D. Arabic
12. Alas, I shot the albatross In which poets popular poem will you find this quote?
A. Bryon
B. William Shakespeare
C. Samuel Taylor Coleridge
D. William Wordsworth
13. Most common example of a marsupial is?
A. Lizard
B. Kangaroo
C. Snake
D. Kiwi
14. What does effluent mean?
A. Fast
B. Wealthy
C. Liquid Waste
D. Halo Effect
15. What is the meaning of the saying, A stitch a time saves nine
A. One should do his own stitching
B. Regular acts of trouble management save massive trouble afterwards.
C. Nine people may be saved only if you stitch properly
D. None
Look carefully at the series and deduce which pair of numbers will come next?
16. 7 9 45 12 14 45 17 19 __ __
A. 66 22
B. 22 24
C. 66 19
D. None of the above
17. 17 32 19 29 21 26 23 __ __
A. 23 25
B. 27 32
C. 20 22
D. 25 25
18. J14, __, __, P20, R22
A. M18
B. N18
C. S24
D. T24
Mentioned below is a sentence with two blanks, one word is mentioned below and the other word forms the necessary part of that sentence. Choose the second word from options mentioned below:
A _______ is not possible without _______.
19. Championship
A. Fixing
B. Swimming
C. Winning
D. Talking
20. Dome
A. Curve
B. Geodesic
C. Croppery
D. Government
21. Glacier
A. History
B. River
C. Ice
D. Sea
22. Statement 1: Frames of eyewear cost between Rs 499 to 10999.
Statement 2: Some of the frames are made of titanium
Statement 3: Some of the frames are made of plastic.
If all of the three statements mentioned are proven to be facts which of the below mentioned statements must also be considered a fact on the basis of given data.
I. Glasses containing Titanium frames are higher in price than plastic frames
II. Very less eye glasses cost below Rs 499
III. Costly glasses have longer life than cheap ones.
A. Only I
B. Only II
C. I and III
D. None
23. Statement I: Islands are pieces of lands surrounded by water bodies on all sides.
Statement II: Hawaii is an island
Statement III: Formation of Hawaii took place because of a volcano.
If all of the three statements mentioned are proven to be facts which of the below mentioned statements must also be considered a fact on the basis of given data.
I. Hawaii is surrounded by water on all sides.
II. All the islands are masses formed because of volcanic eruptions
III. Volcanoes can only be found on islands.
A. Only I
B. Only II
C. II and III
D. None
24. Four defenders in the FIFA World Cup are chasing Lionel Messi, who currently has the ball. Hummels is just behind Messi. Boatang and Mertesacker are running side by side behind Hummels. Philip Lahm is behind Boatang and Mertesaker. Hummels goes for the tackles but fails and as a result Boatang trips and falls down. Eventually ball is stolen by a tackle, who is most likely to tackle Messi after the fall?
A. Hummels
B. Mertesacker
C. Lahm
D. Boatang
Directions for Q 25. Both questions mentioned below contain a statement mentioned which is followed by 2 assumptions which are numbered I and II. Read the statement carefully decide which of the assumptions are implicit to the statement mentioned above:
25. Government of XYZ country has decided to levy a 2 % tax which is payable for social cause of helping all the flood victims of the country.
Assumptions:
Assumption I: XYZ Government does not have the financial means to help flood victims on their own.
Assumption II: Amount collected by this tax may well be enough for funding of flood victims and running flood relief programme.
A. Only option I can be considered Implicit
B. Only option II can be considered Implicit
C. Either I or II is implicit
D. None of the assumptions are implicit
E. Both the assumptions are implicit.


| F_1_panel.dotplot {lattice} | R Documentation |
Default panel function for dotplot
.
panel.dotplot(x, y, horizontal = TRUE, pch, col, lty, lwd, col.line, levels.fos, groups = NULL, ..., identifier = "dotplot")
x,y |
variables to be plotted in the panel. Typically y is the ‘factor’ |
horizontal |
logical. If FALSE, the plot is ‘transposed’
in the sense that the behaviours of x and y are switched. x is now
the ‘factor’. Interpretation of other arguments change
accordingly. See documentation of |
pch, col, lty, lwd, col.line |
graphical parameters |
levels.fos |
locations where reference lines will be drawn |
groups |
grouping variable (affects graphical parameters) |
... |
extra parameters, passed to |
identifier |
A character string that is prepended to the names of grobs that are created by this panel function. |
Creates (possibly grouped) Dotplot of x
against y
or
vice versa
Deepayan Sarkar Deepayan.Sarkar@R-project.org


public interface STVicinityConfigInterface
| Modifier and Type | Method and Description |
|---|---|
byte[] |
checkEHEn()
Check EHEn command as defined in M24LR specification.
|
byte[] |
readCfg()
readCfg command as defined in M24LR specification.
|
byte |
setRstEHEn(byte data)
Set RstEHEn command as defined in M24LR specification.
|
byte |
writeDOCfg(byte data)
Write DOCfg command as defined in M24LR specification.
|
byte |
writeEHCfg(byte data)
Write EHCfg command as defined in M24LR specification.
|
byte[] readCfg() throws STException
STException
byte writeEHCfg(byte data) throws STException
data
- Data to write.STException
byte writeDOCfg(byte data) throws STException
data
- Data to write.STException
byte setRstEHEn(byte data) throws STException
data
- Data to write. 0=Reset 1=SetSTException
byte[] checkEHEn() throws STException
STException
COPYRIGHT 2017 STMicroelectronics. All rights reserved.


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nemo doloremque accusantium, repellendus ex debitis molestias, recusandae dignissimos delectus.
Book nowTogether, with Alaska Airlines, we are launching more new routes from the west coast.
Learn More


It was during a winter season that the idea of Duotone was conceived. Lewis had called in John to sing a jingle for him.
The restless Lewis began crooning something while strumming on his guitar, John felt inspired to jam with an alaap, and the result: the seamless fusion of Eastern and Western sounds that has become the quintessential characteristic of the Raaga.
We are singers and musicians from the different part of theworld united to make wonderful music experiences for everyone in the world.
Appropriately implement cross-unit services after next-generation human capital.
Distinctively coordinate team building architectures rather than flexible growth strategies. Appropriately implement cross-unit services after next-generation human capital.
Distinctively coordinate team building architectures rather than flexible growth strategies. Appropriately implement cross-unit services after next-generation human capital.
Appropriately implement cross-unit services after next-generation human capital.
Distinctively coordinate team building architectures rather than flexible growth strategies. Appropriately implement cross-unit services after next-generation human capital.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis sed nibh pharetra, congue lectus at, malesuada augue. Donec tincidunt faucibus lacus. Curabitur vitae euismod lectus send me voulpalt.
 Duis sed nibh pharetra, congue lectus at, malesuada augue. Donec tincidunt faucibus lacus. Curabitur vitae euismod lectus send me voulpalt.
BUY MP3 ALBUM BUY CD ALBUMHere’s a list of upcoming events by our band in different locations. Please choose a location near to you. We’re thrilled to see you there. Let’s rock!
United Kingdom
A curated selection of best songs from duotone. Listen and enjoy these album songs. It contains audios from mp3, soundcloud and spotify. Let’s play!
Love to see our show near your location? or just want to say hello? or something else? Send us an email below. We’d love to hear from you.


"The strict definition of hoisting suggests that variable and function declarations are physically moved to the top of your code."
This means that every function
declaration or even var
declaration would result in hoisting.
So, what would happen in the following snnipets?Open your Chrome Dev Tools
function catName(name) {
console.log("My cat's name is " + name);
}
catName("Tigger");
And this one?
dogName("Chloe");
function dogName(name) {
console.log("My dog's name is " + name);
}


Cookies Needed By Location Each Day
Tossers Needed Hourly Per Location
Store Name:
Store Abbreviation:
Minimum Customers:
Maximum Customers:
Average Cookies:


pragma solidity ^0.5.6;
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>contract RewardsPool is Initializable, Ownable {
using SafeMath for uint256;
IERC20 public tokenALN;
/**
* @dev Rewards Pool Deposit Complete Event
* @param sender The address who is making the payment
* @param amount ALN token amount
*/
event DepositComplete(address indexed sender, uint256 amount);
/**
* @dev Rewards Pool Withdrawal Complete Event
* @param receiver The address of teh reward receiver
* @param amount The value of the reward
*/
event RewardComplete(address indexed receiver, uint256 amount);
/**
* ZeppelinOS Initializer Function
* @param _tokenAddress address of ALN token
* @param _owner contract owner
*/
function initialize(address _owner, address _tokenAddress) public initializer {
tokenALN = IERC20(_tokenAddress);
_transferOwnership(_owner);
}
/**
* @dev Deposits ALN tokens in Rewards Pool
* @param from The address of the sender
* @param value Amount of tokens
*/
function deposit(address from, uint256 value) public {
tokenALN.transferFrom(from, address(this), value);
emit DepositComplete(from, value);
}
/**
* @dev Send the rewards for a group of addresses
* @param receivers The addresses of the rewards receivers
* @param values The value in tokens to be sent to each receiver
*/
function sendRewards(address[] memory receivers, uint256[] memory values) public onlyOwner {
Erequire(receivers.length == values.length, "RewardsPool: Invalid length of receivers and values");
for (uint i = 0; i < receivers.length; i++) {
tokenALN.transfer(receivers[i], values[i]);
emit RewardComplete(receivers[i], values[i]);
}
}
}
|


---
layout: default
title: 'Syllabus'
---
Syllabus
This syllabus is subject to change! All changes will be announced in class.
Course Information
Instructor: Bryan Martin (bmartin6 at uw dot edu)
Class Times: Mondays & Wednesdays, 1:10–2:50pm, remote
Office Hours: Thursdays & Fridays, 1:00–2:00pm, remote (Zoom link on Canvas)
Note: When emailing either the instructor or grader,
please include "[STAT 302]" at the beginning of the email header!
It will help us respond to you faster.
Overview and Course Philosophy
Computational and data analysis skills are beneficial in any field where data exists (basically all of them!),
and are absolutely essential to modern statistics.
This course aims to help you build a foundation for these skills and develop them to a level that allows you to use them in practice.
This can be challenging because real world data are usually not as straightforward as what we see in classrooms.
Properly tackling analyses of such data often requires that we develop and build our own tools,
and do so in a way that others are able to use and even extend our methods.
The ability to properly understand, summarize, visualize, model, and analyze complex data, and to do so in a reproducible way, is fundamental in the toolbox of statisticians and data scientists.
These are the skills you will gain throughout this course.
Students are assumed to have an introductory knowledge of statistics, but no formal computational training.
All material is taught using the R statistical programming language. This course emphasizes:
Application over theory:
There is a plethera of great courses at UW that will teach you statistical theory; this course is not among them.
We will briefly touch on and review statistical concepts to the extent that they are needed,
but it is important to be able to transition from the classroom to the workplace.
This course aims to help you do that by moving from statistical theory to statistical practice.
It's been a long time since anyone was paid to look up a p-value in a table in the back of a book!
Coding best practices:
Whenever you code, whether it be for a class, job, or anything else,
you will save yourself a lot of time and trouble by learning and using modern best practices from the beginning.
If anyone else ever interacts with your code, you will save them a lot of pain as well.
We will dedicate a substantial amount of course time to concepts such as commenting,
style, documentation, version control, and related topics.
These skills might seem tedious at first, but it is much, much easier to learn them straightaway rather than
build a habit of doing things the quick and easy way and then having to change your habits later!
"Real world" experience:
Of course, this a class, and you will be in a classroom,
so we cannot possibly replicate all aspects of data analysis in the "real world".
However, we will practice working with messy data, debugging, and collaboration.
The course projects will emphasize taking the tools we learn and develop throughout the course and
applying them to realistic data scenarios.
A well-designed and well-implemented project is something that can boost a resume
and demonstrate to potential employers that you have practical experience and training.
You can see this small example from my own undergraduate resume as an example.
Learning Objectives:
In this course, we will learn fundamental concepts related to programming, statistical computing, and data analysis. Points of emphasis include:
Programming fundamentals
Data visualization
Data cleaning/manipulation
Version control and git
Debugging
Computation for statistical inference
Computation for statistical prediction
Course Structure
Typically, each 100 minute class session will be broken up into a 55 minute lecture, 5 minute break, and 40 minute lab.
Lab time is an opportunity for you to regularly practice your coding, work on assigments collaboratively,
and get help from me.
Short Labs:
On most Mondays, you will be assigned Short Labs. These are designed for you to be able to complete, or nearly complete,
during class hours. They will be due at the start of the next class and will be graded on the following 2 point scale:
0: indicates incomplete or unacceptable work
1: indicates a good faith effort towards completing >75% of the assignment
2: indicates a good faith effort towards completing the entire assignment.
At the end of the quarter, your lowest Short Lab grade will be dropped.
Labs:
On most Wednesdays, you will be assigned Labs. These are more involved assignments that you likely will not be able to
complete during class hours. They will be due at the start of the next class.
Projects:
Instead of exams, you will be assigned two projects throughout the course. Both projects will include at least two lab sessions.
Project 1 focuses on data manipulation and visualization. You will be given 1 week to complete this project.
Project 2 focuses on a statistical application to reinforce real-world data analysis skills. You will be given 1 week to complete this project.
Project 3 focuses on version control, data analysis pipelines, and a cumulative application of course material.
You will be given 2 weeks to complete this project.
Late Work:
Any assignment that is received late but less than 24 hours late will receive a grade penalty of 25%.
Any assignment that is received 24–48 hours late will receive a grade penalty of 50%.
Assignments will not be accepted more than 48 hours late.
Laptop:
This class requires a laptop, like all courses these days!
If you do not have a laptop, you can borrow one for free
from UW through the Student Technology Loan Program.
Classroom Environment
I am absolutely committed to fostering a friendly and inclusive classroom environment in which all students have
an equal opportunity to learn and succeed.
Names & Pronouns:
Everyone deserves to be addressed respectfully and correctly.
You are welcome to send me your preferred name and correct gender pronouns at any time.
Expectations this quarter:
You are taking this course during an unprecedented time. This time is difficult for all of us, including myself.
Your number one priority should be taking care of yourself. I promise to you to do what I can to facilitate this.
In return, my expectation for you is that you:
put into this course the time, effort, and energy that your circumstances reasonably allow.
Those circumstances are going to be unique to each of you, and they might change throughout the quarter. That is okay.
For some of you, your circumstances will allow you to put in a lot of effort. That is fantastic; please recognize the privilege that this represents. For others, your circumstances won't allow you to put in as much effort as you otherwise would like to for a college course. That is perfectly fine too.
You never need to apologize to me for:
Anything pandemic or COVID related
Making a mistake or not knowing something
being absent or late
wi-fi, connectivity, or technology issues
childcare or other home responsibilities
taking care of yourself
normal, everyday stuff
Instead, explain your situation and, if necessary, say "thank you for understanding".
Extraordinary Circumstances Quarter:
As you may or may not know, Summer 2021 is has been deemed an "extraordinary circumstances quarter" by UW (details here). Thus, you can decide to switch to S/NS grading without fee until the deadline. After the deadline, and through the point that your degree is posted, you may still change to S/NS grading for a $20 fee using the Extraordinary Circumstances Quarter Late Grade Option Change form. You will receive an S (Satisfactory) if you receive a 2.0 or higher, and this grade will count towards graduation/major requirements. I am not able to see whether or not you opt in to S/NS grading. This is a university policy I wholeheartedly support, and so I would like to be explicit about sufficient conditions for you to receive a 2.0:
If you obtain a 60% in the course, you are guaranteed to receive a minimum grade of 2.0.
Note that this is a sufficient condition, not a necessary condition. Thus, it is possible for you to receive a grade of 2.0 or higher even without a grade of 60% or higher, as grades may be curved. As mentioned in the grading policy, I will only ever curve grades to help you, not to hurt you! Consistent and excellent work will always be rewarded with an excellent grade, regardless of the performance of the rest of the class.
Feedback:
I encourage and appreciate your feedback throughout the quarter.
You are welcome to provide feedback on any aspect of the course at any time via email or in person.
If you would prefer to do so confidentially,
you can do so through the link I will provide on the Canvas page.
Collaboration:
On most assignments, collaboration is allowed and encouraged.
You may discuss problems, approaches, and solutions with your classmates.
Acceptable collaboration is limited to your classmates,
and you must clearly include on any collaborative work the name(s) of anyone with whom you collaborated!
Additionally, all submitted work must be your own.
This means no copying code or written answers from any resource including your classmates.
Plaigarism and cheating is easy for us to detect and will have serious negative consequences for you
(see Academic Integrity below).
If you have any questions regarding this policy, please ask for clarification.
Piazza Discussion:
You are encouraged to participate on the Piazza discussion forum. You are welcome to post questions about assignments,
as well as to answer questions from other students. Posts may not include substantial amounts of code that can be used for a
solution to any problem, but may include code snippets within reason. Participation, both in the form of questions and
answers, will allow you to earn up to 2% extra credit for your final grade! Posts will be evaluated based on how
substantive and helpful they are to the class.
Diversity:
Diverse backgrounds, embodiments, and experiences are essential to the critical thinking endeavor at the heart of
university education. Therefore, I expect you to follow the UW Student Conduct Code in your interactions with your
colleagues and me in this course by respecting the many social and cultural differences among us, which may include,
but are not limited to: age, cultural background, disability, ethnicity, family status, gender identity and
presentation, citizenship and immigration status, national origin, race, religious and political beliefs, sex,
sexual orientation, socioeconomic status, and veteran status.
Accessibility & Accommodations:
Your experience in this class is important to me.
If you have already established accommodations with Disability Resources for Students (DRS),
please communicate your approved accommodations to me at your earliest convenience so we can
discuss your needs in this course. If you have not yet established services through DRS,
but have a temporary health condition or permanent disability that requires accommodations
(conditions include but not limited to; mental health, attention-related, learning, vision,
hearing, physical or health impacts), you are welcome to contact DRS at<PHONE_NUMBER><EMAIL_ADDRESS>or through their website.
DRS offers resources and coordinates reasonable accommodations for students with disabilities
and/or temporary health conditions. Reasonable accommodations are established through an interactive
process between you, your instructor(s) and DRS. It is the policy and practice of
the University of Washington to create inclusive and accessible learning environments
consistent with federal and state law.
Academic Integrity:
Academic integrity is essential to this course and to your learning.
On certain assignments, collaboration is allowed and encouraged when following the collaboration policy outlined above.
Violations of the academic integrity policy include but are not limited to:
copying from a peer, collaborating where it is not allowed, copying from an online resource, using a solutions manual,
and using resources from a previous iteration of the course.
Anything found in violation of this policy will be automatically given a score of 0 with no exceptions.
If the situation merits, it will also be reported to the UW
Student Conduct Office,
at which point it is out of my hands.
If you have any questions about this policy, please do not hesitate to reach out and ask.
Religious Accommodations:
Washington state law requires that UW develop a policy for accommodation of student absences or significant hardship due to reasons of faith or conscience, or for organized religious activities. The UW’s policy, including more information about how to request an accommodation, is available at Religious Accommodations Policy. Accommodations must be requested within the first two weeks of this course using the Religious Accommodations Request form.
Grading
Your final grade will be calculated as follows:
15%: Short Labs
25%: Labs
10%: Minimum grade from Project 1 and Project 2
20%: Maximum grade from Project 1 and Project 2
30%: Project 3
2% (extra credit): Piazza discussion participation. Both questions and answers will be considered,
so long as they are substantive and helpful.
The final grades will be curved, but only to help you!
Consistent and excellent work will always be rewarded with an excellent grade,
regardless of the performance of the rest of the class.
Prerequisites
The prerequisite for this course is any one of the following:
STAT 311: Elements of Statistical Methods,
STAT 390: Statistical Methods in Engineering and Science, or
QSCI 381: Introduction to Probability and Statistics.
Course Links
Course Syllabus
Canvas Page
Download R
Download RStudio
Download R Markdown
RStudio Cheat Sheets


A small project using images and the HTML5 audio tag. Hover over each image to hear the sounds!
This site uses Bootstrap for the main framework, using the Starter template. It uses CSS3 transform
for the animations, the HTML5 audio
element, and Javascript for the mouseover
and mouseout
. I also found answers on StackOverflow extremely helpful.
Color Scheme
The color scheme was created at Coolers.co.
Background
The background pattern is called One in a Million at Subtle Patterns.
Favicon
The favicon was downloaded from Flaticon.
Fonts
The h1
and h2
fonts are Lobster and Passion One, respectively.
Custom Navbar
The Bootstrap navbar was colorized with TWBSColor.
Sounds
Some I found on sound effects websites. Some I converted from YouTube to mp3.
This is my Twitter. I follow web and coding people, news sites, sewing people, 10 Downing Street, the White House, the Asia Society (Houston), and an English shepherd raising Herdwick sheep.
Copyright 2016 by Allison Walker


s6
Software
skarnet.org
The s6-setuidgid program
s6-setuidgid executes a program as another user.
Interface
s6-setuidgid account prog...
- If account is the empty string, then s6-setuidgid directly execs
into prog... without any state changes.
- If account contains a colon, it is interpreted as uid:gid,
else it is interpreted as a username and looked up by name in the account
database.
- If account is unknown, s6-setuidgid exits 1.
- s6-setuidgid sets its (real and effective) uid and gid to those of account.
It also sets the list of supplementary groups to the correct one for account
according to the group database.
- Then it executes into prog....
Notes
- Unless account is empty, s6-setuidgid can only be run as root. Its main use
is to drop root privileges before starting a daemon.


https://blog.netspi.com/tokenvator-a-tool-to-elevate-privilege-using-windows-tokens/
https://github.com/0xbadjuju/Tokenvator
Basic Usage
Tokenvator can be run in an interactive prompt, or commands can be provided as command line arguments. In the interactive mode, base commands will tab complete, with double tabs providing context specific help.
C:\Users\badjuju>Tokenvator.exe
(Tokens) > help
Name Optional Required
---- -------- --------
GetSystem Command -
GetTrustedInstaller Command -
Steal_Token Command ProcessID
BypassUAC ProcessID Command
List_Privileges ProcessID -
Set_Privilege ProcessID Privilege
List_Processes - -
List_Processes_WMI - -
Find_User_Processes - User
Find_User_Processes_WMI - User
List_User_Sessions - -
WhoAmI - -
RevertToSelf - -
Run - Command
(Tokens) > WhoAmI
Name Optional Required
---- -------- --------
WhoAmI - -
(Tokens) > WhoAmI
[*] Operating as LAB\badjuju
Steal_Token
At it’s most basic level, Tokenvator is used to access and manipulate Windows authentication tokens. To appropriate the token of another process, we can run the Steal_Token command with the target process’s PID.
GetSystem
The most common token I need to steal is for the NT AUTHORITY\SYSTEM account. The GetSystem command was created as a wrapper for Steal_Token to automatically find and access SYSTEM tokens. It works with the same syntax as Steal_Token. Note: This needs to be run from an elevated context.
GetTrustedInstaller
It is common for the files in the SYSTEM32 folder or parts of the registry to be owned by the TRUSTEDINSTALLER group. To manipulate the contents of these locations, we can either take ownership or get an access token that has membership in the TRUSTEDINSTALLER group. Similar to GetSystem, GetTrustedInstaller is a wrapper for Steal_Token that starts the TrustedInstaller service and appropriates it’s token.
List_Privileges and Set_Privilege
Sometimes our process doesn’t have the particular access right that we need in order to complete a task. For instance, to access a process that your current user doesn’t own, the SeDebugPrivilege is required. Shown below is a split token in a high integrity process (UAC Elevated – TokenElevationTypeFull)
BypassUAC
UAC bypasses have become plentiful that this point, however one of the more interesting ones comes from manipulating tokens. FuzzySecurity has done some very interesting work on a UAC bypass method utilizing Windows tokens. Tokenvator includes an implementation of the technique he published. Below, our unprivileged token can be used to access an elevated process our current user owns and spawn an elevated shell.
Finding User Processes
For finding a user on a system there are multiple methods for identification.