Menu and prices are subject to change -- please call to verify.
sandwiches, wraps, soup, and quiche
Served with side of your choice.
$7.99 -- foccacia + chicken + provolone + red bell pepper + pine nuts + basil pesto
$7.29 -- smoked turkey + cheddar + sweet apple + strawberry mayo on multigrain bread
$7.49 -- roasted chicken + provolone + fresh mango + red onion + jerk sauce on pita
$7.69 -- chicken + bacon + cheddar + red pepper + red onion + ranch in a spinach tortilla
$7.49 -- pit ham + swiss + portabella mushrooms + apricot dijon mustard on multigrain bread
$7.69 -- fresh mozarella + tomato + basil pesto on a baguette
$7.69 -- house-made tuna salad + cheddar + tomato on multigrain bread
$7.69 -- portabella mushrooms + zucchini + red pepper + spring mix + balsamic dressing on foccacia
$7.49 -- cheddar + feta + bacon + red onion on foccacia
$5.99 -- (upgrade side to a cup of soup for an additional $2.)
$3.79 -- cup (served with flatbread crackers)
$5.49 -- bowl (served with baguette)
served with freshly baked bread
$7.39 -- romaine lettuce + feta + tomato + black olives + cucmber + red onion + oregano
$8.49 -- spring mix + house-made chicken salad + tomato + pecans
$7.89 -- spring mix + roasted chicken + sunflower seeds + cucumber + carrot + radish + balsamic ranch
$8.49 -- spring mix + chicken + bacon + tomato + avocado + egg + red onion + bleu cheese
$8.49 -- spinach + strawberries + apple + pecans + raspberry vinaigrette + bleu cheese
$7.39 -- spinach + cranberries + feta + toasted walnuts + cilantro dressing
$4.49 -- spring mix + red onion + carrot + flatbread crackers
served all day
$5.99 -- eggs + ham + swiss + portabella mushrooms in a spinach tortilla
$6.59 -- eggs + feta + spinach + red onion + tomato + black olives in a spinach tortilla
$6.59 -- eggs + bacon + cheddar + red onion + portabella mushrooms in a spinach tortilla
$6.59 -- eggs + ham + cheddar + red onion + portabella mushrooms + sour cream in a spinach tortilla
$6.39 -- eggs + your choice of ham or bacon + eggs + cheddar in a spinach tortilla
$6.39 -- eggs + bacon + tomato + avocado + chipotle sauce on toasted multigrain bread
$5.69 -- two eggs + avocado + cheddar + salsa
$4.79 -- new york-style bagel + eggs + your choice of cheese (see cheeses + additional toppings below)
$4.79 -- two eggs + your choice of cheese (see cheeses + additional toppings below)
cheddar, swiss, provolone, american, feta
extra cheese 75¢
Portabella mushrooms, red pepper, red onion, spinach, tomato (50¢ each)
Bacon, ham, chicken, turkey, avocado (75¢ each)
$5.99 -- choose from today’s specials. served with fresh fruit.
$5.49 -- fresh seasonal fruit + sweet yogurt dip
$3.79 -- vanilla yogurt + mixed berries + granola
$3.79 -- oatmeal + banana + pecans + brown sugar
$2.39 -- served toasted with cream cheese
$2.39 -- your choice of multigrain, white, or gluten-free
$2.39
sandwiches and wraps
Served with side of your choice.
$7.59 -- house-made chicken salad + romaine lettuce + toasted pecans on multigrain bread
$7.59 -- turkey + avocado + lettuce + tomato + red onion on toasted multigrain bread
$7.29 -- tomato + cucumber + red onion + avocado + romaine lettuce + carrot + sunflower seeds + ranch in a spinach tortilla
$7.89 -- turkey + bacon + romaine lettuce + avocado + mayo in a spinach tortilla
$7.69 -- housemade tuna salad + tomato + cucumber + spring mix in a spinach tortilla
cafe classics, house specials, teas, smoothies, and shakes
Hot sizes: 12 oz., 16 oz., or 20 oz. -- Iced sizes: 16 oz. or 24 oz.
Endless Cup of Coffee
Iced Cold Brew
Espresso
Americano
Hot Chocolate/Steamer
8 oz. size available
Cappuccino
Mocha
Café au lait
Latte
Flat White
equal parts espresso and steamed milk
White Cloud
"white" coffee with white chocolate,
macadamia nut, cinnamon, and steamed milk)
White Chocolate Raspberry Truffle
Flavored Latte
Caramel Latte
Turtle Mocha
chocolate + caramel + macadamia nut flavors
Café Miel
honey + cinnamon latte
White Mocha
Italian Soda
Chai Tea Latte
Mango Chai Latte
Red Eye Chai
Iced Mango Green Tea
Loose Leaf Tea
Black Iced Tea
free refills
Mocha Slide
Caramel Slide
Eastside Slide
our original vanilla hazelnut iced blended coffee
Peanut Butter Cup Slide
Iced Blended Chai
Iced Blended Mango Chai
Cool Beans Classic Smoothie
strawberries + banana + orange juice
Blue Cow Smoothie
blueberries + peaches + apple juice + honey
Peach Blossom Smoothie
peaches + peach nectar + guava juice
Mango Tango Smoothie
mangoes + banana + guava juice
Banana Split Protein Shake
strawberries + banana + peanut butter + soy milk + protein
powder
Espresso Recovery Protein Shake
espresso + slide mix + chocolate sauce + peanut
butter + protein powder
Go Bananas! Protein Shake
banana + soy milk + caramel + peanut butter + protein
powder
Espresso Shake
espresso + ice cream + milk + whipped cream
sandwiches served on white bread with Goldfish crackers and a juice box
$3.49 -- grilled with American cheese
$3.49 -- with your choice of strawberry or grape jelly


-
Spend less time buying makeup and more time being aI
Refillable mascara that's conveniently delivered.
Save time. Save money.+   RHEYA MASCARA
-
HOW IT WORKS
Mascara that's designed for more.
With 2 Month Refill plans starting at $10.
Your CaseRefill this with replaceable mascara pods to help you save more.
Your BrushChoose the best replaceable brush for your lashes.
Your ScheduleSkip, pause, or stop anytime.
+   HOW IT WORKS


MAAdDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | MAAdDelegate.h |
– didLoadAd:
required method
This method is called when a new ad has been loaded.
- (void)didLoadAd:(MAAd *)ad
Discussion
This method is called when a new ad has been loaded.
Declared In
MAAdDelegate.h
– didFailToLoadAdForAdUnitIdentifier:withErrorCode:
required method
This method is called when an ad could not be retrieved.
- (void)didFailToLoadAdForAdUnitIdentifier:(NSString *)adUnitIdentifier withErrorCode:(NSInteger)errorCode
Parameters
adUnitIdentifier |
Ad unit identifier for which the ad was requested. |
|---|---|
errorCode |
An error code representing the failure reason. Common error codes are defined in |
Discussion
This method is called when an ad could not be retrieved.
Common error codes: 204 - no ad is available 5xx - internal server error negative number - internal errors
Declared In
MAAdDelegate.h
– didDisplayAd:
required method
This method is invoked when an ad is displayed.
- (void)didDisplayAd:(MAAd *)ad
Discussion
This method is invoked when an ad is displayed.
This method is invoked on the main UI thread.
Declared In
MAAdDelegate.h
– didHideAd:
required method
This method is invoked when an ad is hidden.
- (void)didHideAd:(MAAd *)ad
Discussion
This method is invoked when an ad is hidden.
This method is invoked on the main UI thread.
Declared In
MAAdDelegate.h
– didClickAd:
required method
This method is invoked when the ad is clicked.
- (void)didClickAd:(MAAd *)ad
Discussion
This method is invoked when the ad is clicked.
This method is invoked on the main UI thread.
Declared In
MAAdDelegate.h
– didFailToDisplayAd:withErrorCode:
required method
This method is invoked when the ad failed to displayed.
- (void)didFailToDisplayAd:(MAAd *)ad withErrorCode:(NSInteger)errorCode
Parameters
ad |
Ad that was just failed to display. |
|---|---|
errorCode |
Error that indicates display failure. Common error codes are defined in |
Discussion
This method is invoked when the ad failed to displayed.
This method is invoked on the main UI thread.
Declared In
MAAdDelegate.h


Welcome to the random historical knowledge quiz! Answer all of the questions before the time runs out, a wrong answer will dock your remaining time! 60 seconds on the clock!


Talk to us!
Email
<EMAIL_ADDRESS>Phone Number
503-(fun-funn)
Carrier Pigeon
25.0000° N, 71.0000° W


What we do
The LSE Global Society creates possibilities to engage with global issues at local venues. It provides a variety opportunities through its events for individuals to learn about topics that concern the entangled world and how they can get involved to solve them.
We host weekly meetings that are opened by inspiring speakers on global matters and are followed by lively discussions. For our events, click here.
Besides that, weekly focus groups (projects) work on their field of interest, prepare analysis and articles on current matters. Find out more here.
Our yearly conference brings together speakers and students from all over the world. To share their visions, experiences and stories. Topic and date for next year will be announced shortly.
Are you excited about global matters? Do you want to get engaged?
We are looking forward to meeting you - Contact us!
Some Inspiration
What is a global citizen?
"An ethic of care for the world." Hannah Arendt
Our Project Meetings open with an expert giving the introduction and overview on the meeting's topic. The following exchange is supposed to question approaches, share own experiences and inspire that everyone gains new insights from them. Students from all backgrounds are welcome to join!
GLOBAL HEALTH
The Project Group Global Health is concerned with “health issues that transcend national boundaries and governments and call for actions on the global forces that determine the health of people.” (Ilona Kickbusch, 2006)
We are analysing current approaches by the international organisations such as the WHO and NGOs like MSF about the future health of the world population.
The Project Group discusses about current political developments and their impact on a globalized world.
In our Global History meetings historical case studies on the globalization of trade, ideas and people are focused. Experts present own research or leading work in their fields and set them in a global context.
Ann studies MSc International Relations at LSE. She is originally from Denmark, but studied in Berlin and Santa Barbara. She loves coding and globalization.
Michaela studies Global History in Vienna and London. She is excited about globalization, cultural exchange and travelling. Her latest passion is coding.
Anam is doing her undergraduate in Management at LSE. She loves economics and travelling.


Welcome to Athlete Coach Feedback! The place where athletes and coaches can
connect like never before.
Instant Feedback. Anytime. Anywhere.
Click here to learn more about Athlete- Coach Feedback and the services we provide.
Learn More


Free Update For Contra: Rogue Corps Adds Hardcore Missions, New Weapons And Much More
Ready up, soldier
by Liam DoolanContra: Rogue Corps was admittedly not the game the majority of fans were hoping for when Konami announced a new entry in its popular run and gun shmup series. Its combat was clunky and slow, the levels were incredibly bland, the objectives were boring, and it had low-resolution visuals and muddy textures. We could go on, but you should probably read our review if you want the full breakdown.
If you were expecting some of these areas to be improved in a future patch, you might have to wait. The first major update has just dropped since the game's release in September and instead of some much-needed quality of life improvements here and there, the game has received a sizable content update. While it may not necessarily be what we were hoping for, it's at least free to download.
This update adds new hardcore missions that are recommended for experienced players. These two new areas include Carving Adventure and Megaton Skyscraper. Check out the clips below:
A massive underground cave underneath the Damned City was discovered, and the Rogue Corps have been sent out to investigate the area.
Unknown enemies were detected in a skyscraper where several veteran teams were sent to eradicate the threat...though none came back alive. Will you seize glory or face your death? Take on this conquest mission only daredevils can handle!
In addition to this, the update has increased the Mastery Level cap to level 65, added new fiend and new medals, and adjusted the Carnage League balance and Challenge Bet Exploration Missions.
New weapons and B.A.D.s have also been added, as well as a Rogue Bonus Feature:
Defeating enemies during missions increases your Rogue Bonus gauge. A random Body Part can be obtained by maxing out this gauge. A Rogue Bonus guarantees you can get an Epic or higher rarity Body Part. The higher the Mission Rank, the higher the level of the Body Part obtained. The more powerful the defeated enemies are, the greater the gauge increases. The gauge resets every time you earn a Rogue Bonus.
Will you be returning to Contra: Rogue Corps to try out this new update? Comment down below.
[via konami.com]


3D Printer Wifi Panel
Printing:
Movement
Home all
Stop motors
X
Home
-10
-1
-0.1
0.1
1
10
Y
Home
-10
-1
-0.1
0.1
1
10
Z
Home
-10
-1
-0.1
0.1
1
10
0
10
20
30
40
50
60
70
80
90
100
0
25
50
75
100
125
150
175
200
Speed:
100%
Flow:
100%
Fan:
100%
Temperature
Bed
Nozzle
ºC
50
100
150
200
250
300
s
60
50
40
30
20
10
0
Files
Upload to SD
Name
Size
Actions
Commands
G-code:
Send
Clear
Upload


There are two ways to instantiate the tree.
NOTE: This only covers versions 0.9.6 and up. For older versions check the documentation included in the download.
Method 1
$(container_node).tree([{ options }]);
Method 2
var tree = $.tree_create();
tree.init(container_node,[{ options }]);
-
[REQ] container_node
A jQuery object or the DOM node of the tree container.
-
[OPT] options
A javascript object containing all the configurations for the tree that are different from the defaults.


You are the only user online.
You are not alone. There are @{count(admin_users->online)}@ other users online.


--- title: 'Unlocking the Power of purrr: How to Create Multiple Lags Like a Pro in R' author: Pablo Cánovas Tourné date: '2023-03-22' slug: how-to-create-multiple-lags-in-R output: blogdown::html_page: highlight: tango categories: - R - Tips tags: [Tidyverse] subtitle: 'A quick guide to creating multiple lags in R for Time Series Analysis with purrr' summary: 'While R provides functions like lag, creating multiple lags can be challenging. In this blog post, we will explore how to use the unknown partial function to create multiple lags in R for Time Series Analysis' authors: [pablo-canovas] featured: false ---
Are you tired of creating lag variables one by one? Are you ready to level up your time series analysis game? Forget everything you know about creating lag variables.
This is a good one. We’ll make use of the semi-unknown partial
function to create a useful wrapper around the lag
function. Let’s go straight to the point.
First, we create a new function called map_lag
. This function is essentially a mapped version of the lag
function from dplyr
, where we pre-fill the n
argument to create different lag functions. Then, we can apply this list of functions, each one representing a different lag length, to the desired variable.
And just like that, voila! We have multiple lag variables without breaking a sweat. To make things even better, we can change the names of our newly created lag variables on the fly to make them more meaningful.
calculate_lags <- function(df, var, lags){
map_lag <- lags %>% map(~partial(lag, n = .x))
return(df %>% mutate(across(.cols = {{var}}, .fns = map_lag, .names = "{.col}_lag{lags}")))
}
Let’s see a quick example. We’ll be using the closing prices of the TSLA stock to showcase its use. We have a data frame like this:
## # A tibble: 4 × 6
## date open high low close volume
## <date> <dbl> <dbl> <dbl> <dbl> <dbl>
## 1 2022-01-03 383. 400. 379.<PHONE_NUMBER>47
## 2 2022-01-04 397. 403. 374.<PHONE_NUMBER>58
## 3 2022-01-05 382. 390. 360.<PHONE_NUMBER>7
## 4 2022-01-06 359 363. 340.<PHONE_NUMBER>4
We simply pass the desired lags to the function, as well as the column we will apply the lags on. Note that we are also using tidyevaluation to reference the column without quotes. This way we keep the tidyverse vibe intact.
## # A tibble: 6 × 9
## date open high low close volume close_lag1 close_lag2 close_lag3
## <date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
## 1 2022-01-03 383. 400. 379.<PHONE_NUMBER>47 NA NA NA
## 2 2022-01-04 397. 403. 374.<PHONE_NUMBER>58 400. NA NA
## 3 2022-01-05 382. 390. 360.<PHONE_NUMBER>7 383. 400. NA
## 4 2022-01-06 359 363. 340.<PHONE_NUMBER>4 363. 383. 400.
## 5 2022-01-07 360. 360. 337.<PHONE_NUMBER>8 355. 363. 383.
## 6 2022-01-10 333. 353. 327.<PHONE_NUMBER>7 342. 355. 363.
It’s time to create your own lags like a pro. Embrace the power of purrr
and partial
and take your time series analysis to the next level. You will impress your colleagues with your advanced R skills and will have more time to focus on the real analysis.
Short and sweet!


Your application and everything you need to deploy
Together 💝
Package your application artifact, client tools, configuration and deployment logic together as a versioned bundle that you can distribute, and then install with a single command
What is Porter?
Take everything you need to do a deployment, the application itself and the entire process to deploy it: command-line tools, configuration files, secrets, and bash scripts to glue it all together. Package that into a versioned bundle distributed over standard Docker registries or plain tgz files.
Now anyone can install your application without deep knowledge of your deployment process, or following a step-by-step deployment doc, regardless of the tech stack.
Why Porter?
- Single command to find and deploy any application, regardless of the tech stack. No knowledge of the deployment process necessary.
- Secure handling of secrets and credentials, integrated with industry standard secret stores.
- Share the operational load of managing your team's deployments.
- Works with and improves existing tools, such as bash, cloud CLIs, terraform and helm. You don't rewrite your existing deployments to start using Porter.
- Reliable deployments because the client environment: cli versions, installed commands, configuration... is dependable and consistent.
When would I use Porter?
Porter is never a replacement for an existing tool. Think of it as doing extra nice things on top of what those great tools already do!
- 📦 Package everything you use to deploy in a single artifact that can be easily distributed over registries and across air gapped networks.
- 🔏 Sign the bundle and verify its signature before installing as part of your supply chain security solution.
- 🕑 Save time because the bundle contains the exact version of your deployment tools. Users don’t need to find and install tools or switch between versions.
- 🗂 View rich metadata about a deployment. Run porter explain to quickly see how to customize an installation with parameters, what credentials are needed by the bundle. There is no need for detailed installation documentation.
- 🧠 Reduce the operational knowledge required to manage an application. Often deployments involve multiple tools, such as terraform, AND helm, AND kubectl; all glued together with bash scripts. Bundles abstract away the details of a deployment, and provide a consistent set of commands to deploy any application.
- 💁♀ Manage deployments securely as a team. Porter uses secure just-in-time credential injection and remembers the parameters last used to deploy. Teammates don’t need to hunt down the proper values themselves, or copy sensitive credentials into local environment variables or files. Secrets remain secure in a secret store such as Hashcorp Vault or Azure Key Vault.
These are just some of the reasons why working with bundles with the tools embedded inside is helpful vs. using the same tools standalone.
Porter Features
Credentials and Secrets 🔐
Parameterized Bundles 👩🏽🔬🧬
Connect Action Inputs and Outputs🧩
Contribute a Mixin
Porter is a cloud-agnostic tool that can work anywhere and with any tool, but in order to have great support for these clouds and tools, custom-made mixins are best.
Do you know tools we don't have custom mixins for yet?
Join the Community
More information about the Porter project, and how to contribute.


Birthday: {{ datePickerForm.controls.birthday.value?.toDateString() }}
Exam Date: {{ datePickerForm.controls.examdate.value?.toDateString() }}Holiday Start Date: {{ datePickerForm.controls.holiday.value?.start?.toDateString() }}
Holiday End Date: {{ datePickerForm.controls.holiday.value?.end?.toDateString() }}Journey Start Date: {{ datePickerForm.controls.journeydate.value?.start?.toDateString() }}
Journey End Date: {{ datePickerForm.controls.journeydate.value?.end?.toDateString() }}


Underscore syntax¶
Filter, Map and other nuts that take a function as argument often use only very simple expressions. For instance, the following code extracts all number greater than five within range zero to nine:
>>> from nutsflow import *
>>> Range(10) >> Filter(lambda x: x > 5) >> Collect()
[6, 7, 8, 9]
For such simple expressions nuts-flow provides a special underscore notation, borrowed from Scala, which results in shorter, more readable code
>>> from nutsflow import _
>>> Range(10) >> Filter(_ > 5) >> Collect()
[6, 7, 8, 9]
This is equivalent to
>>> Range(10) >> Filter(lambda _: _ > 5) >> Collect()
[6, 7, 8, 9]
but eliminates the need for the lambda
keyword and its arguments.
Note that the _
must be imported explicitly, since it is also commonly
used in Python as a placeholder for unused variables.
In contrast to lambda
functions or Scala’s underscore the,
underscore notation in nuts-flow is very limited and
only supports expressions with arity one, e.g.
_ + 1
, _ <= 3
, _ == 5
, _[0]
, …
More complex or nested expressions such as _ + _
, _ > 5 and _ < 10
or len(_)
are currently not permitted.


In this tutorial we are going to use MongoDb Java Driver to access a MongoDB available over Infrastructure-as-a-Service (IaaS) on mLab. In the tutorial we will see how the use of DSLs help develop cloud systems, focussing on the persistence layer and on cloud computing. In particular, we are going to use GMongo, a groovy version of the MongoDb Java driver API
First, we need to set up our MongoDB instance. We are going to use mLab, a cloud database provider built atop Infrastructure-as-a-Service (IaaS) providers, so that we do not need to install and configure the database server locally.
Create New
.Amazon Web Services
, Google Cloud Platform
, Windows Azure
and the location. For example: Amazon Web Services
and Amazon EU (Ireland)
.Create New MongoDB Deployment
.Users
and a new user by providing a MY_USERNAME
and a MY_PASSWORD
(please choose different names but remember them).mongo ds033754.mlab.com:33754/DATABASE -u <dbuser> -p <dbpassword>
. This line contains information about your database, host and port. In this case:Pull the general git repository (clone it first if you haven't done it yet)
Copy the project mongodb
under partI
in the master repository to your private repository
Import the Gradle project into the STS using File>Import>Existing Gradle Project
The Gradle build script imports two dependencies: one for compiling groovy code and the other one for using gmongo
compile "org.codehaus.groovy:groovy-all:$groovyVersion" compile "com.gmongo:gmongo:1.5"
To connect to mLab
using eduroam
, if you are working from your laptop on campus, you will find that most of the ports are blocked.
To circumvent this problem, create a SSH tunnel to xanthus.mcscw3.le.ac.uk
which is a wired machine that will work as a local proxy to the Internet using the following command from a Bash terminal:
ssh -fNg -L $PORT:mlab.com:$PORT<EMAIL_ADDRESS>Replace $PORT
with the port used for your database connection and replace $UOL_USERNAME
with your University username. The password that you have to enter is your departmental Linux password. Once the tunnel is established there is no confirmation message but the connection should work.
This is a Groovy script containing example code showing how to implement CRUD operations using a MongoDB store.
The header is as follows:
import com.gmongo.GMongo
import com.mongodb.DBCursor
import com.mongodb.MongoURI
def USERNAME =
def PWD =
def HOST =
def PORT =
def DATABASE =
// MAKING THE CONNECTION
def connectionString = new MongoURI("mongodb://${USERNAME}:${PWD}@${HOST}:${PORT}/${DATABASE}")
def mongo = new GMongo(connectionString)
def db = mongo.getDB(DATABASE)
Please configure your credentials by looking at the URI given in the header of your dabatase on mLab.
The following code checks that the connection can be performed and you should be able to see the names of all the collections on your database:
// TESTING CONNECTION
println 'database: ' + db.getName()
db.getCollectionNames().each{ println it }
For creating documents in a database we will use the following code:
// CREATE
// these three ways are equivalent
// with db.users we are accessing the users collection
db.users.insert([id: 1, name: 'John', role: 'developer', isEmployee: true])
db.users.insert(id: 2, name: 'Luke', role: 'tester', isEmployee: true)
db.users << [id: 3, name: 'Rajesh', role: 'developer', isEmployee: true]
// inserting several documents
db.users << [[id: 4, name: 'Yi', role: 'tester', isEmployee: true], [id: 5, name: 'Pau', role: 'developer', isEmployee: true]]
For making queries:
// READ
// get the first document
println db.users.findOne()
// fetch a specific one
def user = db.users.findOne(id: 2)
user.name = 'Luke E.'
db.users.save user
assert db.users.findOne(id: 2).name == 'Luke E.'
// fetching all the elements of a collection
println db.users.find()
// fetching all elements that meet a condition
db.users.find(role: 'developer').each{ println it }
// Counting the number of documents in the collection
println "counting: " + db.users.find(role: 'developer').count()
// is equivalent to
println "counting: " + db.users.count(role: 'developer')
For applying modifications to some documents, the first parameter of the the update
operation is a filter for finding the document where to apply modifications and the second parameter indicates the type of update to be performed. For example [$set: [role: 'tester']]
expresses that the field role
will be set to 'tester'
.
// UPDATE
println "before: " + db.users.findOne(name: 'John')
db.users.update([name: 'John'], [$set: [role: 'tester']])
println "after: " + db.users.findOne(name: 'John')
The upsert operation inserts a document if it does not exist yet so duplicates can be avoided (notice the last parameter of the update operation):
// UPSERT
println "before: " + db.users.findOne(name: 'John')
db.users.update([name: 'John'], [$set: [role: 'manager']], true)
println "after: " + db.users.findOne(name: 'John')
Finally, we can delete a particular document by indicating a filter:
// DELETE
// Removing some documents
db.users.remove(name: 'John')
assert 0 == db.users.count(name: 'John')
Or we can delete all documents in a collection as follows:
// Removing all documents
db.users.remove([:])
assert 0 == db.users.count()
In the gradle build script, you will find the task
task runScript (dependsOn: 'classes', type: JavaExec) {
main = "lab2.Exercise"
classpath = sourceSets.main.runtimeClasspath
}
The main field should point to the script file. From the command line, execute:
./gradlew runScript
Create a collection 'lab2' and create the following document This is an example of a Facebook JSON file which you might see when getting data from the Facebook API. It might also be used to contain profile information which can be easily shared across your system components using the simple JSON format. source: https://www.sitepoint.com/facebook-json-example/
[
{
"id": "X999_Y999",
"from": {
"name": "Tom Brady", "id": "X12"
},
"message": "Looking forward to 2010!",
"actions": [
{
"name": "Comment",
"link": "http://www.facebook.com/X999/posts/Y999"
},
{
"name": "Like",
"link": "http://www.facebook.com/X999/posts/Y999"
}
],
"type": "status",
"created_time": "2010-08-02T21:27:44+0000",
"updated_time": "2010-08-02T21:27:44+0000"
},
{
"id": "X998_Y998",
"from": {
"name": "Peyton Manning", "id": "X18"
},
"message": "Where's my contract?",
"actions": [
{
"name": "Comment",
"link": "http://www.facebook.com/X998/posts/Y998"
},
{
"name": "Like",
"link": "http://www.facebook.com/X998/posts/Y998"
}
],
"type": "status",
"created_time": "2010-08-02T21:27:44+0000",
"updated_time": "2010-08-02T21:27:44+0000"
}
]
Update message field of document with id "X999_Y999" to "Remembering what happened in 2010".
Delete the document with id: "id": "X998_Y998"
Use JsonSlurper::parseText() to parse JSON text into objects in memory, so that there is no need to create objects manually, and use JsonOutput::toJson() to serialize objects in memory to JSON.
A document src/main/resources/facebook.json
contains the JSON documents used above. Use JsonSlurper
to parse JSON from the text directly.
© Artur Boronat, 2015-17


 The stuffing is a lovely addition that really makes the dish sing.
The day before you roast your chicken, season it inside and out with salt. Loosely wrap it in kitchen paper, then put it in a tub or wrap it securely in foil. Chill it in the fridge. An hour before you want to roast it, remove it from the fridge and allow it to come to room temperature.
Preheat the oven to 220C/200C Fan/Gas 6.
For the stuffing, melt the butter in a frying pan over a low heat, add the onion and cook until soft and translucent. Put the onion in a bowl and allow to cool, then mix in the lemon zest, sage and breadcrumbs. Season well with salt and pepper and add the egg, mixing thoroughly. (If making the sausagemeat stuffing, do exactly the same, mixing the fried onion with the sausagemeat, apple and herbs.)
Fill the cavity of the chicken with the stuffing, making sure you leave a little air between the stuffing and the top of the bird to allow the air to circulate. If you have any stuffing left over, you can stuff it into the neck end.
Rub the butter over the chicken, then squeeze the lemon juice over it and put it in a roasting tin. Mix the wine with 100ml/3½fl oz water and pour over the chicken.
Roast for 15 minutes, then turn the heat down to 180C/160C Fan/Gas 4 and roast for a further 60–80 minutes, or until the chicken is cooked through and the juices run clear when it is pierced through the thickest part with a skewer (the cooking time will depend on the size of the chicken).
Remove the bird from the tin, cover with foil and set aside to rest. Pour off the tin juices and strain off any fat, then set aside. To make the gravy, sprinkle the flour over the tin. Stir over a low heat to make a roux with the scrapings in the bottom of the tin, then pour in the wine. Let this bubble up, then gradually add the pan juices and stock. You can transfer the gravy to a saucepan if you like – the roasting tin should look clean. Simmer until you have a thin, well flavoured gravy.


i is an array value, not a key. Use directly or loop over keys instead.
i
See companion warning [[SC2302]]


Pair Programming
As part of our preparation for the course ahead, we were encouraged to organise a pair programming session with our mentors this week. As we were also invited to attend the senior class' graduation on Friday I planned to meet my mentor (Lewis) Friday afternoon. The pair programming session was great, Lewis was encouraging and we decided to try and refactor a Chris Pine exercise I had completed earlier. Working with a partner while coding is a rather strange feeling. Normally I would just think things through in my head, start typing and just chop and change the code as I went along. In a pair you have to work a bit differently, you have to try and verbalise your thought process in order for your partner to understand your thinking and what your doing.
Lewis also spoke to me about the concept of 'smelly' code, where the code may work but doesn't look quite right. This essentially comes down to making your code as readable as you can. This makes it easy for someone to jump in and understand what your program does and doesn't do and edit it if necessary. Once we'd worked through the code and made it use recursion rather than a while loop, we just chatted about the course and how things work for the first couple of weeks when you get there.
All in all it was some nice preparation for the daily pair programming I'll be doing on the course. Lewis told me I'll generally have a new partner to work with everyday and as a pair you'll revert to working on the code of the person who hasn't got as far. This makes sure everyone's on a level playing field and allows the person ahead to reinforce their learning through explaining how its done.
Senior Graduation
The senior classes graduation was a fun event and it was great to see how much they'd achieved while on the course. The graduation started with a speech from Ruben (one of the founders of Makers), in which he spoke of the journey Makers Academy had gone through and how it had overcome the doubt people had in its ability to teach people to be developers in 12 weeks. This has now culminated (in his words) with various groups knocking on their doors and asking them to replicate their success overseas. He then spoke about a scholarship fund they had been working on in order to provide a student who had fallen out of main stream education, with next to no qualifications, with a place on their course. He was proud to announce that this person was here tonight and he was actually one of the graduates.
After Rubens speech, Sam was introduced, a man dressed in full Samurai/Centurion gear (code warrior).  The final projects were very impressive and all very different. There was a memory training / tamagochi style mobile app, a music streaming website, a kids mobile game to help make sight seeing fun and even an 'Airbnb but for camping' app. All the projects were really well presented and the teams enthusiasm was clear to see. After the presentations there were representatives of some of the hiring partners there to talk to the teams about their projects in some more depth and there was plenty of beer being passed around.
All of this has made me want to really get this course going and makes me excited for what I'll be able to build once the course is over. Congrats to the graduates and good luck.
Chris


--- layout: minimal title: "About robots.ros.org" permalink: /about/index.html description: "robots.ros.org is a place to index robots which use ROS." ---
Robots.ros.org is a place to index robots which use ROS.
This site indexes both complete robots as well as some major robot components such as sensors and arms. If you would like to add a robot or robotic component please see the contributing page.


Add
Pokemon
Players
Add a Pokemon
Name:
hp:
attack:
defense:
speed:
image:
{% if name %}
Added {{name}}
{% endif %}


Innovators of the Future
We build a new robot every year to solve a challenge issued by FIRST.
Team Dynamics
Our team of high school students from the Iowa City area works together to solve engineering problems.
Sponsors
Their generous support has helped inspire hundreds of students in the Iowa City community to go on to STEM majors in college, and eventually STEM careers.
Join Us!
All students in 9th-12th grades in the Iowa City area are invited to join our team. Email us to come for a visit!


Python Developer and Content Editor
Programizprogramiz.com is one of the top online platforms that help software engineers and students learn programming languages via tutorials in the simplest way possible. Some of my tasks are: writing python scripts for web scraping, making tools in python for web, creating and editing contents on data structure and algorithms, and designing illustrations for the contents.


Swiss Army Knife¶
Swiss Army Knife of Python
Introduction¶
So, I’ve been working as a Python Ninja for 3 years now. I’ve been exposed to multiple projects and I’ve been noticing myself using some of the code over and over on some of the projects. And I’ve been copy/pasting things until I said enough, lets create a package! Because that is the essence of good code writing practice!
- KISS - Keep It Simple, Stupid!!!
- DRY - Do not Repeat Yourself!!!
We know those all too well… Anyway, this package includes mostly functions that I’ve been using all over the place. I’m pretty sure you can find tremendous value out of this if you take time to go over the package content.
To be honest, a lot of those have been taking directly from Stack Overflow and slightly modified and placed in the nicer wrapper. That is it. It has been open source before this package, now it is open source in one convenient place.
Package Content¶
This package contains modules providing following functionality (ordered in alphabetical order using module names):
AES Functions
Serial(COM) Port Functions
Database Classes
Decorator Classes
File System Functions
- File Manipulation Functions
- Directory Manipulation Functions
- File/Folder Memory Space/Size Functions
- Open/Write/Read File Functions
- Time Stamp Functions
Logger
OrderedDict Class
Python Distribution Install Functions
Python Distribution Package Utilities
Pickle/Unpickle Functions
Current Platform Detection
Web Upload Functions
Zip Archive Functions
Note
Each module has to be explicitly included.
Installation¶
Basically, you’ve got 2 options. Either download latest code from Github and execute:
python setup.py install
Alternatively, install package using pip:
pip install py_knife
During installation, py_knife
module will be added to your python site-packages.
Notes for Code Developers¶
The py_knife
package comes with some documentation. It is mostly self generated from the code itself.
There are also images giving basic overview as far as package modules and classes. Please let me know, if you end up
digging through code and willing to extend documentation.
Following link, parses html pages directly from GitHub. Pretty neat stuff! http://rawgit.com/Barmaley13/SwissArmyKnife/master/docs/index.html
Additional Info and Questions¶
Shoot me email at kirill at kbelyayev.com
if you have any questions, suggestions, improvements, additions and etc.
I would love to help you get this script going/help you with your project, just hire me as a contractor.
I might help you free of charge if you contribute to this distribution or ask politely. Beer donations are welcome too!
Good luck! Happy coding! Now you’ve got your own Swiss Army Knife of Python!


The purpose of this document is to determine the referent of the IRI http://sw-app.org/mic.xhtml#i.
It well contains contact information, refers to people I know, and activities I am involved in.
My name is Michael Hausenblas (also known as mhausenblas) and I work at DERI. If you are interested in further details, you may also want to visit my private homepage or read my blog.
My OpenID is http://mhausenblas.myopenid.com/.
Some of the people I know and had the pleasure to work with, so far:
For a more complete list see also http://semanticweb.org/wiki/Michael_Hausenblas
|
I have updated this page on 2008-11-12.
|


A live block speed measurement tool built for IOTEX
Before rendering this webpage, please firstly run the backend in the iotex-tx-speed folder by commanding node server.js
iotex-tx-speed
node server.js


Targeted Learning for Biomarker Discovery with the Moderated T-Statistic
biotmle
is an R package that facilitates biomarker discovery by generalizing the moderated t-statistic of Smyth for use with asymptotically linear target parameters. The set of methods implemented in this R package rely on the use of Targeted Minimum Loss-Based Estimation (TMLE) to transform biological sequencing data (e.g., microarray, RNA-seq) based on the influence curve representation of a particular statistical target parameter (e.g., the Average Treatment Effect). The transformed data is then used to test for group differences using the moderated t-statistic as implemented in the R package limma
.
For standard use, install from Bioconductor: r source("https://bioconductor.org/biocLite.R") biocLite("biotmle")
Install the most recent stable release from GitHub: r devtools::install_github("nhejazi/biotmle")
To contribute, install the development version: r devtools::install_github("nhejazi/biotmle", ref = "develop")
After using the biotmle
R package, please cite it:
@article{hejazi2017,
doi = {},
url = {},
year = {2017},
month = {},
publisher = {The Open Journal},
volume = {},
number = {},
author = {Hejazi, Nima S and Cai, Weixin and Hubbard, Alan E},
title = {biotmle: Targeted Learning for Biomarker Discovery},
journal = {The Journal of Open Source Software}
}
© 2016-2017 Nima S. Hejazi & Alan E. Hubbard
The contents of this repository are distributed under the MIT license. See file LICENSE
for details.
file LICENSE


Buffalo Plains [as64], plain, in Imperia, wilderness
Last updated Turn #107
Buffalo Plains [as64], plain, in Imperia, wilderness
------------------------------------------------------------------------
Routes leaving Buffalo Plains:
North, forest, to Forest of the Lost [ar64], 8 days
East, forest, to Forest of the Lost [as65], 8 days
Garrison [gh8q], garrison, Imperial Empire, with four soldiers
South, plain, to Buffalo Plains [at64], 7 days
West, forest, to Forest of the Lost [as63], 8 days
Inner locations:
Poppy field [ae0v], poppy field, 1 day, owner:
Harpie [en8r], harpies, number: 9
Faery hill [ie0o], faery hill, 1 day
Seen here:
Stack of nazgul [ed1f], nazgul, number: 4
Stack of giants [ch2c], giants, number: 10


--- layout: post status: publish published: true title: Cloud Application Platform - vFabric at VMworld 2010 author: display_name: iguy login: iguy email<EMAIL_ADDRESS>url: '' author_login: iguy author_email<EMAIL_ADDRESS>wordpress_id: 481 wordpress_url: http://itsjustanotherlayer.com/?p=481 date: !binary |- MjAxMC0wOC0zMSAwOTo1NjowOCAtMDUwMA== date_gmt: !binary |- MjAxMC0wOC0zMSAxNDo1NjowOCAtMDUwMA== categories: - VMware tags: - API - vFabric - vmworld comments: [] ---
Just announced at VMworld 2010 is the "Cloud Application Platform" layer in the new focus for VMware. This layer covers the Spring Source functionality, Hyperic monitoring solution and the new vFabric solution. The focus of this is around the New Applications that you develop or bring into the business.
The Spring framework and the Hyperic are fairly well known on the web. As such I'm not going to take much time on this. The key in this is that this layer is all about the primitives available to developers in an easy to use and reasonable standardized way. Development speed now is extremely important even more so than in the past. Part of what drives this is the popularity of the scripting/interpreted style languages. One reason is the speed of development. The other is the wide variety of libraries/APIs that are easy to use to do what is needed in the application.
The vFabric solution from VMware at its core is going to be a framework including monitoring interfaces of Cloud Friendly primitives. This API will help the development of those new applications to be Cloud ready. At this time it is broken into two different groups of services.
Spring Frameworks & Tools will include the following primitives:
The last piece of of this is that one of the design goals is to have vFabric work with Java, Ruby and other languages. This should not be limited to just one language.
vFabric offers a strong direction to improve development functionality for companies and allow IT to spend less time provisioning everything. Instead just deliver a common platform and manage the apps, not the infrastructure.


S4DS-IEM
Toggle navigation
Home
Members
Our Works
About Us
Contact Us
CONTACT
US
Always there to help you
Name
Email
Subject
Message


The secret for the API is passed as the system property "emistoolbox.api.secret" to the JVM.
| Parameter | Values | Description |
|---|---|---|
| secret | Secret value to authorize access to API. | Value used in deployment of EMIS Toolbox. |
| dataset | Name of data set. | For EMIS Toolbox installations with multiple data sets this parameter specifies which to use. |
| type | "hierarchies" | Constant value |
| Parameter | Values | Description |
|---|---|---|
| secret | Secret value to authorize access to API. | Value used in deployment of EMIS Toolbox. |
| dataset | Name of data set. | For EMIS Toolbox installations with multiple data sets this parameter specifies which to use. |
| type | "indicators" | Constant value. |
| hierarchy | hierarchy id | One of the hierarchy ids returned by the list of hierarchies call. |
| Parameter | Values | Description |
|---|---|---|
| secret | Secret value to authorize access to API. | Value used in deployment of EMIS Toolbox. |
| dataset | Name of data set. | For EMIS Toolbox installations with multiple data sets this parameter specifies which to use. |
| type | "xaxis" | Constant value. |
| hierarchy | hierarchy id | One of the hierarchy ids returned by the list of hierarchies call. |
| indicator | indicator id | One of the indicator ids returned by the list of indicators call. |
| Parameter | Values | Description |
|---|---|---|
| secret | Secret value to authorize access to API. | Value used in deployment of EMIS Toolbox. |
| dataset | Name of data set. | For EMIS Toolbox installations with multiple data sets this parameter specifies which to use. |
| type | "splitBy" | Constant value. |
| hierarchy | hierarchy id | One of the hierarchy ids returned by the list of hierarchies call. |
| indicator | indicator id | One of the indicator ids returned by the list of indicators call. |
| xaxis | xaxis data id | One of the xaxis ids returned by the list of xaxis data call. |
| Parameter | Values | Description |
|---|---|---|
| secret | Secret value to authorize access to API. | Value used in deployment of EMIS Toolbox. |
| dataset | Name of data set. | For EMIS Toolbox installations with multiple data sets this parameter specifies which to use. |
| type | "locations" | Constant value. |
| hierarchy | hierarchy id | One of the hierarchy ids returned by the list of hierarchies call. |
| indicator | indicator id | One of the indicator ids returned by the list of indicators call. |
| xaxis | xaxis data id | One of the xaxis ids returned by the list of xaxis data call. |
| splitBy | splitBy data id | One of the split by ids returned by the list of splitBy data call. |
| parentType | Location type of parent node. | Location type of parent - can be left empty to show root nodes. |
| parentId | Location id of parent node. | Location id of parent - can be left empty to show root nodes. |
| Parameter | Values | Description |
|---|---|---|
| secret | Secret value to authorize access to API. | Value used in deployment of EMIS Toolbox. |
| dataset | Name of data set. | For EMIS Toolbox installations with multiple data sets this parameter specifies which to use. |
| type | "dates" | Constant value. |
| hierarchy | hierarchy id | One of the hierarchy ids returned by the list of hierarchies call. |
| indicator | indicator id | One of the indicator ids returned by the list of indicators call. |
| xaxis | xaxis data id | One of the xaxis ids returned by the list of xaxis data call. |
| splitBy | splitBy data id | One of the split by ids returned by the list of splitBy data call. |
| location | Location path. | Location path of the currently selected Location as comma seperated path. |
| XML | JSON |
|---|---|
<info> <item>item 1</item> <item>item 2</item> ... </info> |
{ "item ", "item " ... } |
REQUEST:
| Parameter | Values | Description |
|---|---|---|
| secret | Secret value to authorize access to API. | Value used in deployment of EMIS Toolbox. |
| dataset | Name of data set. | For EMIS Toolbox installations with multiple data sets this parameter specifies which to use. |
| hierarchy | hierarchy id | One of the hierarchy ids returned by the list of hierarchies call. |
| indicator | indicator id | One of the indicator ids returned by the list of indicators call. |
| xaxis | xaxis data id | One of the xaxis ids returned by the list of xaxis data call. |
| splitBy | splitBy data id | One of the split by ids returned by the list of splitBy data call. |
| location | Location path. | Location path of the currently selected Location as comma seperated path, or location type and id (i. e. School:99999). |
| date | Date value | A date as obtained from the info call to the API for type=dates. The value 'latest' can be used to target the latest date with data in the EMIS Toolbox. |
Each of the parameters needs to specify the ID of the items retrieved through the respective info API call.
RESPONSE:
| XML | JSON |
|---|---|
<data title="..." subtitle="..."> col_header1 col_header1 col_header1 <row header="row_header1">45.5,34.4,34.4</row> <row header="row_header2">45.5,34.4,34.4</row> <row header="row_header3">45.5,34.4,34.4</row> ... </data> |
{ "title": "", "subtitle": "", "headers": ["col_header1", "col_header2", "col_header3"], "data": [ ["row_header1", 45.4, 34.4, 34.4 ], ["row_header2", 45.4, 34.4, 34.4 ], ["row_header2", 45.4, 34.4, 34.4 ], ] } |
REQUEST:
| Parameter | Values | Description |
|---|---|---|
| secret | Secret value to authorize access to API. | Value used in deployment of EMIS Toolbox. |
| dataset | Name of data set. | For EMIS Toolbox installations with multiple data sets this parameter specifies which to use. |
| report | Name of report (same as in the EMIS Toolbox UI) | |
| hierarchy | hierarchy id | One of the hierarchy ids returned by the list of hierarchies call. |
| location | Location path. | Location path of the currently selected Location as comma seperated path, or the type and id (i. e. "School:99999") |
| date | Date value | A date as obtained from the info call to the API for type=dates. The value 'latest' can be used to target the latest date with data in the EMIS Toolbox. |
| colours | Name of colour scheme | The following colour schemes are available: grays, yellows and colors. The default value is grays. |
RESPONSE:
| XML | JSON |
|---|---|
<items> <item>/emistoolbox/content?report=report451028205089454368.pdf</item> <item>School Name; 2010</item> </items> |
[ "\/emistoolbox\/content?report=report6495180054034960569.pdf", "School Name; 2010" ] |
REQUEST:
| Parameter | Values | Description |
|---|---|---|
| secret | Secret value to authorize access to API. | Value used in deployment of EMIS Toolbox. |
| dataset | Name of data set. | For EMIS Toolbox installations with multiple data sets this parameter specifies which to use. |
| credentials | One of "admin", "report", "viewer". | Specifies the user access level to grant with the token. |
| ip | IP address | Limit token to this IP address. |
RESPONSE:
| XML | JSON |
|---|---|
<token>token_value</token> |
"token_value" |
REQUEST:
| Parameter | Values | Description |
|---|---|---|
| secret | Secret value to authorize access to API. | Value used in deployment of EMIS Toolbox. |
| dataset | Name of data set. | Dataset for which to run the import. |
RESPONSE:
| XML | JSON |
|---|---|
<items> <item id="id">6</item> <item id="tasks.subTasks.count">3405</item> <item id="errors">0</item> <item id="finished">true</item> <item id="tasks.count">20</item> <item id="tasks.done.count">20</item> </items> |
{ "id": "5", "tasks.subTasks.count": "3405", "errors": "0", "finished": "true", "tasks.count": "20", "tasks.done.count": "20" } |


Currently the Supreme Court is hearing a case about gerrymandering in Wisconsin.
Let's look at a hypothetical set of districts.
Say we have a set of <%= content.example.districts.length %> districts, with a distribution of <%= _.sumBy(content.example.districts, 'p1') %> <%= content.example.p1Name %> voters and <%= _.sumBy(content.example.districts, 'p2') %> <%= content.example.p2Name %> voters. In theory we would expect <%= content.example.p1Name %> to have more seats than <%= content.example.p2Name %> in our district body.
But, we can create districts that lead to more seats for the <%= content.example.p2Name %> party.
<% _.each(content.example.districts, (d) => { %> <% }) %>This is where the efficency gap comes in, which is at the core of the Supreme Court case.
The efficency gap measures wasted votes as a way to show partisan gerrymandering.
So what is a wasted vote?
It's a vote that if left out, would not effect the outcome. It's either any vote of a losing party, or any vote that was not needed by the winning party?
How does that look in our hypothetical districts? As you can see, there are far more <%= content.example.p1Name %> wasted votes. Let's quanitify that.
<% _.each(content.example.districts, (d) => { %> <% }) %><%= content.example.p1Name %> has a total of <%= _.sumBy(content.example.districts, (d) => { return d.p2 > d.p1 ? d.p1 : d.p1 - Math.floor(((d.p1 + d.p2) / 2) + 1); }) %> wasted votes, which is <%= _.sumBy(content.example.districts, (d) => { return d.p2 > d.p1 ? d.p1 : d.p1 - Math.floor(((d.p1 + d.p2) / 2) + 1); }) / _.sumBy(content.example.districts, (d) => { return d.p1 + d.p2; }) * 100 %>% of all the votes. While <%= content.example.p2Name %> has a total of <%= _.sumBy(content.example.districts, (d) => { return d.p1 > d.p2 ? d.p2 : d.p2 - Math.floor(((d.p1 + d.p2) / 2) + 1); }) %> wasted votes, which is <%= _.sumBy(content.example.districts, (d) => { return d.p1 > d.p2 ? d.p2 : d.p2 - Math.floor(((d.p1 + d.p2) / 2) + 1); }) / _.sumBy(content.example.districts, (d) => { return d.p1 + d.p2; }) * 100 %>% of all the votes.
This gives us a <%= Math.round((_.sumBy(content.example.districts, (d) => { return d.p2 > d.p1 ? d.p1 : d.p1 - Math.floor(((d.p1 + d.p2) / 2) + 1); }) / _.sumBy(content.example.districts, (d) => { return d.p1 + d.p2; }) * 100) - (_.sumBy(content.example.districts, (d) => { return d.p1 > d.p2 ? d.p2 : d.p2 - Math.floor(((d.p1 + d.p2) / 2) + 1); }) / _.sumBy(content.example.districts, (d) => { return d.p1 + d.p2; }) * 100)) %>% pro-<%= content.example.p2Name %> efficency gap.
According to the case, anything more than 7% is significant and makes it near impossible to swing the majority of seats.
So, let's look at real numbers for Wisconsin
Minnesota Congressional districts
Minnesota state senate districts
Minnesota state house districts
So, what's the conclusion?


Angular-ts uses yeoman so to install angular-ts
you need Nodejs and NPM installed.
After you installed Node and NPM you need to install some packages needed by angular-ts
to create and build the project.
After you installed the dependencies yo can install the angular-ts
generator.
Now you have everything you need to create your angular-ts project.


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/Is.20mathlib.20too.20big.3F.html ---
https://travis-ci.org/leanprover/mathlib/builds/386048419
https://travis-ci.org/leanprover/mathlib/builds/386808487
The job exceeded the maximum time limit for jobs, and has been terminated.
See discussion in the travis caching thread: https://leanprover.zulipchat.com/#narrow/stream/113488-general/subject/travis.20caching/near/127367872
And yes, unfortunately mathlib is too successful.
curious
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


C9 GIRLZ reveals its final member, Seline
by olmalC9 GIRLZ's debut is coming and Seline is the final member of the new girl group. Seline was born on June 20, 2000, and has a height of 169cm (5'5") and a weight of 47kg (103 lbs).
Check her profile video and the rest of the images out below. Are you excited about C9 GIRLZ's impending debut?


Select the button above and enter your payment information to sign up for automatic monthly payments. Advertisers can pay through PayPal, credit card or debit card. Advertisers can cancel monthly subscriptions for the following month at any time. Advertisers will only be billed once per month for the selected amount.
Select the button above and enter your payment information to sign up for automatic monthly payments. Advertisers can pay through PayPal, credit card or debit card. Advertisers can cancel monthly subscriptions for the following month at any time. Advertisers will only be billed once per month for the selected amount.
Select the button above and enter your payment information to sign up for automatic monthly payments. Advertisers can pay through PayPal, credit card or debit card. Advertisers can cancel monthly subscriptions for the following month at any time. Advertisers will only be billed once per month for the selected amount.


{{ title }}
{{ description }}
Functions:
| Form | Parameters |
|---|---|
| {{ equation }} | {{ initial_guess }} |
{{ initial_plot }}
{% endif %}
{% if best_results|length == 1 %}
This plot shows a comparison of the runs. The minimizer
which produced closest fit is in bold, with the other
minimizers shown as thinner lines for context.
{% else %}
This plot shows a comparison of the runs across cost
functions. Colours are used to distinguish between fits
obtained using each cost function. Within a cost function,
the minimizer which produced closest fit is in bold and
the other minimizers are shown as thinner lines for context.
{% endif %}
Please note that this plot is intended for use as an
indication of the variety of the fits that were obtained
for specific details, please consult the individual support
pages.
{{ summary_plot }}
{% endif %}This is the best fit of the minimizers used.
Minimizer: {{ best_results[0].modified_minimizer_name(True) }}
Functions:
| Form | Parameters |
|---|---|
| {{ equation }} | {{ best_results[0].fin_function_params }} |
{{ best_plots[0] }}
{% endif %}{{ plot_descriptions[loop.index0] }}
Minimizer: {{ best_results[loop.index0].modified_minimizer_name(True) }}
Functions:
| Form | Parameters |
|---|---|
| {{ equation }} | {{ best_results[loop.index0].fin_function_params }} |


Research
I'm interested in computer vision, machine learning, optimization, graphical models.
|
|
|
Adversarial Patches Exploiting Contextual Reasoning in Object Detection
Aniruddha Saha*, Akshayvarun Subramanya*, Koninika Patil, Hamed Pirsiavash *equal contribution
arxiv technical report
arxiv /
Most fast object detection algorithms rely on using spatial context which we show can lead to decreased adversarial robustness. We propose regularization techniques to improve robustness and also discuss using interpretation algorithms in object detection networks.
|
|
|
Hidden Trigger Backdoor Attacks
Aniruddha Saha, Akshayvarun Subramanya, Hamed Pirsiavash
Oral presentation at 34th American Conference on Artificial Intelligence(AAAI), 2020
arxiv /
We explore poisoning methods to introduce backdoors in neural networks. The trigger for the backdoor is revealed only during inference and hidden during the model training stage, which gives more capacity to the adversary.
|
|
|
Fooling Network Interpretation in Image Classification
Akshayvarun Subramanya*, Vipin Pillai*, Hamed Pirsiavash *equal contribution
International Conference on Computer vision (ICCV), 2019
arxiv /
code /
We show that popular network interpretation algorithms do not necessarily show the correct reasoning for network’s prediction, by using adversarial examples. Our work highlights the need for developing more robust interpretation tools to analyze a neural network’s prediction.
|
|
|
BatchOut: Batch-level feature augmentation to improve robustness to adversarial examples
Akshayvarun Subramanya, Konda Reddy Mopuri, R Venkatesh Babu
11th Indian Conference on Computer Vision, Graphics and Image Processing (ICVGIP), 2018
paper /
We propose a novel feature augmentation technique which can lead to improved robustness against multiple adversarial methods.
|
|
|
Confidence estimation in deep neural networks via density modelling
Akshayvarun Subramanya, Suraj Srinivas, R Venkatesh Babu
International Conference on Signal Processing and Communications (SPCOM), 2018
arxiv /
We show that traditional softmax based confidence measures has drawbacks and propose a new confidence measure based on density modelling approaches. The proposed measure shows improvement for different kinds of noise introduced in images.
|
|
|
Training Sparse Neural Networks
Suraj Srinivas, Akshayvarun Subramanya, R Venkatesh Babu
Proceedings of IEEE Conference on Computer Vision and Pattern Recognition (CVPR) Embedded vision workshop, 2017
paper /
We propose a new framework of training neural networks which implicitly use sparse computations. We introduce additional gate parameters which help in pruning, resulting in state-of-the-art compression results for neural networks.
|
|


ORM Query
There are several forms of ORM query. For detailed information on queries goto docs / query
"Pure" ORM Query
Below are examples of pure ORM queries. We specify no SQL functions explicitly and all the SQL is generated.
In typical recent applications around 85%
of queries were "pure" ORM queries.
Customer rob =
new QCustomer()
.name.equalTo("Rob")
.findOne();
List<Customer> customers =
new QCustomer()
.status.equalTo(Status.NEW)
.billingAddress.city.equalTo("Auckland")
.findList();
val rob =
QCustomer()
.name.equalTo("Rob")
.findOne()
val customers =
QCustomer()
.status.equalTo(Status.NEW)
.billingAddress.city.equalTo("Auckland")
.findList()
ORM Query with SQL in Select
We can use SQL in the select clause. Some examples of this type of query are:
// using sql functions in the select clause
List<String> names =
new QContact()
.select("concat(lastName,', ',firstName)")
.lastName.startsWith("A")
.findSingleAttributeList();
BigDecimal routeDistance =
new QTrip()
.select("ST_Distance(ST_StartPoint(route), ST_EndPoint(route))::BigDecimal")
.id.equalTo(tripId)
.findSingleAttribute();
// using sql functions in the select clause
var names: List<String> =
QContact()
.select("concat(lastName,' ',firstName)")
.lastName.startsWith("A")
.findSingleAttributeList()
val routeDistance: BigDecimal =
QTrip()
.select("ST_Distance(ST_StartPoint(route), ST_EndPoint(route))::BigDecimal")
.id.equalTo(tripId)
.findSingleAttribute()
ORM Query with SQL in Where
We can also use SQL in the where clause. Frequently this is for specifying sql sub-queries.
// sql functions used in predicates
List<Order> orders =
new QOrder()
.raw("add_days(orderDate, 10) < ?", someDate)
.findList();
// SQL sub-query - often easiest to specify the subquery in sql form
String subQuery
= "t0.customer_id in " +
"(select customer_id from customer_group where group_id = any(?::uuid[]))";
List<Order> orders =
new QOrder()
.status.equalTo(Status.NEW)
.raw(subQuery, groupIds) // use raw SQL in where clause
.findList();
// sql functions used in predicates
var orders =
QOrder()
.raw("add_days(orderDate, 10) < ?", someDate)
.findList()
// SQL sub-query - often easiest to specify the subquery in sql form
val subQuery =
"t0.customer_id in " +
"(select customer_id from customer_group where group_id = any(?::uuid[]))"
var orders =
QOrder()
.status.equalTo(Status.NEW)
.raw(subQuery, groupIds) // use raw SQL in where clause
.findList()
In typical recent applications around 5%
of queries were ORM queries with some SQL (mostly subqueries).
ORM to DTO Query
We can define an ORM query and then use asDto
to turn it into a DTO query.
We are using the ORM to generate the SQL but then want that mapped directly into a DTO bean.
// ContactDto is a plain bean with email and fullName properties
List<ContactDto> contacts =
new QContact()
.select("email, concat(lastName, ', ', firstName) as fullName")
.lastName.startsWith("A")
.orderBy()
.lastName.asc()
.setMaxRows(10)
.asDto(ContactDto.class)
.findList();
// ContactDto is a plain bean with email and fullName properties
val contacts =
new QContact()
.select("email, concat(lastName, ', ', firstName) as fullName")
.lastName.startsWith("A")
.orderBy()
.lastName.asc()
.setMaxRows(10)
.asDto(ContactDto::class.java)
.findList()
SQL - aka find native
We can also specify the query in SQL and have that automatically mapped to entity beans (like this) or DTO beans.
String sql = "select id, name from customer where name like ?";
Customer customer = DB.findNative(Customer.class, sql)
.setParameter(1, "Jo%")
.findOne();
String sql = "select id, name from customer where name like ?";
val customer = DB.findNative(Customer::class.java, sql)
.setParameter(1, "Jo%")
.findOne()