| Womens Meetings |
| NEED DIRECTIONS? Click a street address of any meeting location and an interactive map, courtesy of Google Maps, will appear in this frame for easy reference. (A.A. does not endorse nor have any affiliation with Google Maps and is not responsible for their content.) |
| SPECIAL CODES: C
(CLOSED for Alcoholics & for those "with a desire
to stop drinking.") W (for Women Only) LGBT (Lesbian/Gay/Transgender/Bisexual) BS (Babysitting Available) * (Wheel Chair Access) ASL (Signed for Hearing Impaired) CF (Child Friendly) |
| TIME | NAME OF MEETING/ADDRESS | CODES | LOCATION |
|---|---|---|---|
| Monday | |||
| 08:30A | LA JOLLA BEGINNERS WOMENS Church 7715 Draper Ave (2nd Fl, Rm 7) |
C W | LA JOLLA |
| 10:00A | BONITAWOMENS BIG BOOK STUDY Church 3990 Bonita Rd & Willow St |
C W * BS | BONITA |
| 10:00A | WOMENS MEETING Club 950 Orange Ave (rear alley) | W CF | CORONADO |
| 10:00A | LA JOLLA MONDAY WOMENS Church 7715 Draper Ave Holidays:Club 4861 Cass St Pacific Beach |
C W | LA JOLLA |
| 10:30A | LAKE MURRAY WOMENS Church 8350 Lake Murray Blvd | C W * (does not sign attendance slips) | SAN CARLOS |
| 05:30P | PT LOMA WOMENS DISCUSSION Church 3598 Talbot St | C * W | POINT LOMA |
| 06:00P | MIRACLES ON MONDAY Church 6745 Amherst St | C W BS | COLLEGE |
| 06:00P | CORONAO WOMEN'S STEP STUDY Church 917 C Ave | W C | CORONADO |
| 06:00P | SMOKEFREE LA MESA WOMENS Church 5940 Kelton Ave | C W | LA MESA |
| 06:00P | WOMANS LET GO AND LET GOD Church 8350 Lake Murray Blvd | C W * | SAN CARLOS |
| 06:30P | LETTING GO - WOMENS Recv Ctr 11720 El Camino Real #200 | * W | CARMEL VALLEY |
| 06:30P | MONDAY AT A TIME Church 1430 Melody Lane | C W | EL CAJON |
| 06:30P | BEACH 'N' LADIES STEPS Pre-School Bldg 608 Tenth St | C W * | IMPERIAL BEACH |
| 06:45P | CLAIREMONT WOMENS STEP STUDY Church 3502 Clairemont Dr | C W | CLAIREMONT |
| 07:00P | SOBER ROSES WOMENS STEP STUDY Church-#9 494 E St | * C W | CHULA VISTA |
| 07:00P | PB YOUNG WOMENS Church (2nd Fl in rear) 1050 Thomas Ave | C W | PACIFIC BEACH |
| 07:30P | WE'VE COME A LONG WAY Church 545 E Naples St | C W * | CHULA VISTA |
| Tuesday | |||
| 06:45A | WOMEN IN HARMONY Church Library 2083 Sunset Cliffs Blvd | W | OCEAN BEACH |
| 09:00A | BIG BOOK BABES Club-downstairs 4861 Cass St | C W | PACIFIC BEACH |
| 10:00A | TUESDAY MORNING ALPINE Church 1460 Midway Dr | C W | ALPINE |
| 12:00N | AT ONE WITH EACH OTHER Restaurant (luncheon)5150 Waring Rd | C W * No Children | ALLIED GARDENS |
| 12:00N | UNIVERSITY CITY WOMENS Church 5055 Governor Dr | C W BS * | UNIVERSITY CITY |
| 05:30P | SISTERS IN RECOVERY Church 2814 B St |
W * | JULIAN |
| 06:00P | MEETING IN THE LADIES ROOM Club-downstairs 4861 Cass St | W | PACIFIC BEACH |
| 06:15P | VALLEY GIRLS Church-upstairs #208 3900 Cleveland Ave | C W BS | HILLCREST |
| 06:15P | SAN CARLOS SINGLE PURPOSE Church 6556 Park Ridge Blvd & Wandermere Dr | C W * | SAN CARLOS |
| 07:00P | TGIT - THANK GOD ITS TUESDAY Church 7715 Draper Ave (2nd Fl, Rm 7) (enter from Eads Ave) |
C W | LA JOLLA |
| 07:00P | STEP SISTERS Store 8790 Cuyamaca St #D | W * | SANTEE |
| 07:30P | ALPINE WOMENS CANDLELIGHT Church 2225 Victoria Dr | W * | ALPINE |
| Wednesday | |||
| 07:00A | O.B.WOMENS STEP STUDY Club 2229 Bacon St |
* W | OCEAN BEACH |
| 12:00N | LAKE MURRAY LUNCH BUNCH Lake Murray Park-Grassy Area 5504 Kiowa Dr | C W * | SAN CARLOS |
| 12:00N | SKY HI WOMENS Coffee Shop 4590 Park Blvd | C W | UNIVERSITY HEIGHTS |
| 05:15P | WEDNESDAY NIGHT PROMISES Club 950 Orange Ave (rear Alley) | W | CORONADO |
| 06:30P | CLASS ACTS Church 5050 Milton St | * C W | BAY PARK |
| 06:30P | A SENSE OF BELONGING WOMENS Church-upstairs #5 2128 Chatsworth Bl | W | POINT LOMA |
| 06:30P | WOMEN'S ATTITUDE OF GRATITUDE Church 8778 Cottonwood Ave | C W | SANTEE |
| 07:00P | WOMENS BILINGUAL Church 3990 Bonita Rd & Willow St |
W * English & Spanish | BONITA |
| 07:00P | SO BAY NEW WOMENS Recv Hm 270 C St | W * | CHULA VISTA |
| 07:00P | WELCOME HOME Comm Cent 9841 Vine St | C W * | LAKESIDE |
| 07:00P | WOMEN IN SOBRIETY Club 6727 Flanders Dr, #106 | * W | MIRA MESA |
| 07:00P | 3rd EYE WOMEN MEDITATE Club 1730 Monroe Ave | LGBT C W * | UNIVERSITY HEIGHTS |
| Thursday | |||
| 05:45P | WOMEN'S THURSDAY NITE Rec Ctr 4421 Bannock Avenue Rm 2 | C W * | CLAIREMONT |
| 06:00P | THURSDAY WOMENS BIG BOOK Church 7250 Eckstrom Ave | W BS C | CLAIREMONT |
| 06:00P | BACK TO BASICS STEP STUDY Church 8742 Lemon Ave | C W | LA MESA |
| 06:30P | THURSDAY NIGHT WOMENS SPEAKERS Recv Hm 1315 25th St | W | GOLDEN HILL |
| 06:30P | FOURTH & BROOKES WOMENS Recv Ctr 3594 4th Ave | C W | HILLCREST |
| 06:30P | WOMENS THURSDAY Club 1710 Montecito Rd | W * | RAMONA |
| 06:45P | DIVAS BOOKSTUDY Church 450 S Waterman Ave | W | EL CENTRO |
| 07:15P | CLAIREMONT WOMENS Church 3502 Clairemont Dr | C W | CLAIREMONT |
| Friday | |||
| 10:00A | VICTORY GROUP Church 2225 Victoria Dr | * C W | ALPINE |
| 10:30A | FRIDAY MORNING WOMENS Church 8350 Lake Murray Bl | * C W | SAN CARLOS |
| 10:30A | MOMS STEP STUDY Church 424 Via de la Valle | C W CF | SOLANA BEACH |
| 12:00N | 2ND TRADITION WOMENS Church 1420 3rd Ave | C W * | DOWNTOWN |
| 12:30N | WOMENS STEP STUDY Club-downstairs 4861 Cass St | C W | PACIFIC BEACH |
| 06:00P | A WOMANS MEETING Church 2877 Governor Dr | C W BS * | UNIVERSITY CITY |
| 06:15P | EACH DAY A NEW BEGINNING Church 3900 Cleveland Ave | C LGBT (Women) | HILLCREST |
| 06:30P | CORONADO WOMENS MEETING Club 950 Orange Ave (rear Alley) | W | CORONADO |
| 07:00P | GIFTS OF GRACE WOMEN'S Church-Choir Rm Basement 2111 Camino Del Rio S | C W BS | MISSION VALLEY |
|
07:30P |
WOMEN IN RECOVERY |
* W |
LINDA VISTA |
|
08:00P |
FRIDAY NIGHT WOMENS |
W |
HILLCREST |
| Saturday | |||
| 08:00A | SISTERS IN SOBRIETY Church 7111 La Jolla Blvd | * W | LA JOLLA |
| 09:00A | WOMEN'S JOY OF LIVING Church (on 3rd by alley) 8360 Lemon Ave | W ASL | LA MESA |
| 09:00A | SATURDAY AM. LIVE Church 5940 Kelton Ave | C W | LA MESA |
| 09:00A | JUST US GIRLS Church 9573 Los Coches Rd | W CF | LAKESIDE |
| 09:15A | SATURDAY MORNING SANITY Church-alley Fireside Room 4690 Palm Ave | C W | LA MESA |
| 09:30A | LA MESA WOMENS SAT MORNING Senior Center 8450 La Mesa Blvd | C W Children under 12 ok | LA MESA |
| 10:00A | GOD SQUAD TOO Church- #205 3900 Cleveland Ave | C W | HILLCREST |
| 02:00P | WOMEN THRIVING TOGETHER Club 6901 Central Ave | W * | LEMON GROVE |
| 03:00P | STRENGTH IN WOMEN Club 1430 Meloday Lane | W * | EL CAJON |
| 04:00P | WOMENS BEGINNERS GROUP Hospital Cafeteria 10666 North Torrey Pines Rd | C W * | LA JOLLA |
| 05:00P | WOMEN TLC Church 11240 Clairemont Mesa Blvd | W * | TIERRASANTA |
| Sunday | |||
| 09:00A | WOMENS SOBER SUNDAY Club 1730 Monroe Ave | * LGBT (Women) | UNIVERSITY HEIGHTS |
| 10:00A | WOMENS GUT LEVEL Club 1944 30th St | C W BS | GOLDEN HILLS |
| 11:15A | BACK TO BASICS FOR WOMEN Club 6727 Flanders Dr, #106 | W * BS | MIRA MESA |
| 12:30N | SUNDAY SOBER SISTERS Store 4736 Clairemont Mesa Blvd | W CF * | CLAIREMONT |
| 12:30N | GATHERING OF THE GODDESSES Restaurant (back room through kitchen) 4023 Goldfinch St | W | MISSION HILLS |
| 02:00P | SERENITY WOMENS Store 8790 Cuyamaca St #D | W * | SANTEE |
| 02:30P | 5107 SUNDAY WOMENS GROUP Office Bldg 5107 Waring Rd | W | ALLIED GARDENS |
| 03:00P | SEARCH FOR SERENITY Club 5065 Logan Ave #103 | C W * | SOUTH SAN DIEGO |
| 04:00P | WOMEN'S WAY TO RECOVERY Church 1430 Melody Lane | W CF * | EL CAJON |
| 06:30P | GOLDEN HILL WOMEN Recv Hm 1315 25th St | C W | GOLDEN HILL |


A framework for designers and LESS typing
Presnsr is a framework created with designers in mind. The sintax is somewhat similar to Bootstrap, so if you have some experience with it, will be a breaze for you.
The idea behind Presnsr, is short class typing when assigning classes and quick customization using your brand's design handout.
Any questions, suggestions or issues, please send me an email at<EMAIL_ADDRESS>If you have used Bootstrap in the past, you will have basically no learning curve entering into Presnsr. ### Responsive classes in general As for responsive classes, there are two ways to make things responsive: 1. By adding the `res` class, which will make the element targeted, responsive across all sizes 2. By using the `res-lg`, `res-md` or `res-sm` class to point to a single viewport size, similar to the responsive Bootstrap classes
Most of the logic with Presnsr is about making classes as short as possible, so in many cases that means just one initial. So for example, to indicate that an element is flex, you declare the class `f`, if you want to make the justify the contents in the center and align the items to the center, you declare:
for responsive classes, there are two ways to make things responsive: 1. By adding the `res` class, which will make the element targeted, responsive across all sizes
2. By using the `res-lg`, `res-md` or `res-sm` class to point to a single viewport size, similar to the responsive Bootstrap classes
3. Grids can be assigned by using `g` on the parent element and assigning `g-#`. To make the grids responsive, use the classes `res-lg`, `res-md` or `res-sm`. For column offets, use the tag `.go-#`. The number of columns goes up to 12.
Example
1. Download less.js or less.min.js, both work and you don't have to make any changes. You can download it HERE or fork and clone the repo from git@github.com:wickathou/presnsr-css.git
2. Download the presnsr.less and put it whenever you like on the your project's folder
3. I recommend you to use LESS on the browser, that way you don't need to compile the LESS code to CSS. For that, first add in the head tag of your HTML file:
If you want to install it in your project, follow the LESS guide HERE
Using CSS is the hardest way to use Presnsr, I don't recommend it, I don't have documentation for it either.
If you don't want to use LESS, you can still get things done with CSS only, but it might be super painful. If you have used bootstrap, then you might know that when you have many classes, making changes becomes a huge hassle.


Javascript Labs
Finding The Character At A Set Position Using CharAt(i)
Click here to search through the input string using CharAt() method


Popup
Overview
Dark Theme
Light Theme
Employees
Full Name:
Birth Date:
Address:
Hire Date:
Position:


{{template "head"}}
{{template "top"}}
Why SPO?
Because
not only
Blockchain
SPO:
Value Networking on
Distributed Applications
Full website coming soon
SPO White Papers
SPO White Paper
Coming Soon.
SPO Economics White Paper
Coming Soon.
SPO Technical White Paper
Coming Soon.
SPO Nebula Storage White Paper V0.8.1
Coming Soon.
SPO Text Information Filtering White Paper
Coming Soon.
{{template "layer"}}


Starting Burp labs
Posted on May 3, 2020
This week, as I am back to work, I started doing something I should've done a long time ago, and that is work through the Burp labs. I have mainly focused on the CORS and CSRF issues as I felt those were issues that I've encountered frequently but wasn't really mastering. I made decent progress in a week:
The experience has been eye opening, with a few "OOOOOH" moments when something finally clicked. I have read the Web Application Hacker's Handbook (WAHH) and I often keep a copy of it open when I'm doing a pentest to check up on the methodology, but without real, concrete examples where to apply that knowledge, some things didn't stick as much as others. DVWA and bWAPP help a lot, but they are a bit old and outdated (still great though!). Well, the current Burp labs are everything I could've dreamed about and more. Just in the CORS labs alone I've encountered situations that I've seen in my real pentests and fluidity of the labs is great. I think this, coupled with websites like HackTheBox, are going to help a whole new generation be way better equipped to deal with what an infosec job entails than ever before.
You just have to be willing to put in the work.
I have been debating whether to create a repo of my solutions for the Burp labs. On one hand, it's rather pointless since the solution is often in the lab description or just one click away, but on the other hand it should help is committing the results to memory. I think I'll start adding the solutions from now on.


Paid search is a way of pinning your result to the top of the search page.
While many search engines offer this feature, Google AdWords is the most popular and employs the common pay-per-click model, in which you only pay when someone clicks thru the ad to your site.
Bing also offers paid search ads. Although far more people use Google, Bing ads can reach prospects who prefer this search engine.
As explained in the SEO section, search results are a huge part of how dealers can increase awareness of their inventory to potential buyers.
If you’re trying to complement your general search efforts, this is a way to help guarantee your result will be seen.
Google Keyword Planner is an invaluable tool for researching keyword competitiveness on AdWords. The competition rating in Keyword Planner is related to how many advertisers are bidding on that keyword.
Broad keywords tend to be more competitive than specific keywords.
The example below highlights how a broader term (“Chevrolet dealership”) is far more competitive than a more specific term (“Corvette”). Notice there is more than a $2 difference in cost-per-click bid prices between the broad term and the specific term.
However, high bid prices shouldn’t scare you away from creating ads around certain keywords.
If you’re assessing the success of AdWords campaigns, start by examining your Quality Score. Each of your ad keywords is given a rating from 1 to 10 based on several factors, including click-thru rates, relevance, landing page quality (the page on your site where your ad leads to), and geographic performance. A high Quality Score means Google likes your ads and is rewarding you with high visibility. A strong quality score can lower your cost-per-click (CPC) prices, too. According to WordStream, CPC prices start to decrease once your Quality Score reaches 7 or above.
This shows the number of people who have seen a specific ad. Looking at this metric can help you determine if enough shoppers are seeing your ads to make your spend worthwhile.
With this metric, you’ll learn whether or not people seeing the ad are enticed to click on it, either indicating that your ad is/isn’t engaging or that your ad isn’t a good fit for that inquiry.
To determine this metric, you can divide the number of clicks by the number of impressions and multiply that number by 100. It can also be found in the analytics dashboard for whichever paid search platform you’re using.
The conversion event may be filling out a contact form, watching a video, clicking through to another page, scheduling an appointment, etc.
So what can you do if you need to improve your Quality Score?
 Also, make sure that your ads lead to the most relevant page on your site rather than just sending people to your home page.
Perform keyword research to uncover new keyword opportunities. Your ads may be underperforming relative to your competitors, so experimenting with different keywords may lead to greater success.


---
layout: page
title: Fun!
permalink: /fun/
---
Sometimes, we have fun! Some photos from those moments:
Kayaking on the Sudbury River! Concord MA, June 2018
Andrew, Ken, and James enjoy the festivities at the 2017 MICCAI afterparty in Quebec.
Yi-Fen and Artem, a QTIM alumnus now working at the Center for Clinical Data Science, go candlepin bowling.


|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.apache.spark.api.java.JavaSparkContext
public class JavaSparkContext
A Java-friendly version of SparkContext
that returns
JavaRDD
s and works with Java collections instead of Scala ones.
Only one SparkContext may be active per JVM. You must stop()
the active SparkContext before
creating a new one. This limitation may eventually be removed; see SPARK-2243 for more details.
| Constructor Summary | |
|---|---|
JavaSparkContext()
Create a JavaSparkContext that loads settings from system properties (for instance, when launching with ./bin/spark-submit). |
|
JavaSparkContext(SparkConf conf)
|
|
JavaSparkContext(SparkContext sc)
|
|
JavaSparkContext(String master,
String appName)
|
|
JavaSparkContext(String master,
String appName,
SparkConf conf)
|
|
JavaSparkContext(String master,
String appName,
String sparkHome,
String jarFile)
|
|
JavaSparkContext(String master,
String appName,
String sparkHome,
String[] jars)
|
|
JavaSparkContext(String master,
String appName,
String sparkHome,
String[] jars,
java.util.Map<String,String> environment)
|
| Method Summary | ||
|---|---|---|
|
accumulable(T initialValue,
AccumulableParam<T,R> param)
Create an Accumulable shared variable of the given type, to which tasks
can "add" values with add . |
|
|
accumulable(T initialValue,
String name,
AccumulableParam<T,R> param)
Create an Accumulable shared variable of the given type, to which tasks
can "add" values with add . |
|
Accumulator<Double> |
accumulator(double initialValue)
Create an Accumulator double variable, which tasks can "add" values
to using the add method. |
|
Accumulator<Double> |
accumulator(double initialValue,
String name)
Create an Accumulator double variable, which tasks can "add" values
to using the add method. |
|
Accumulator<Integer> |
accumulator(int initialValue)
Create an Accumulator integer variable, which tasks can "add" values
to using the add method. |
|
Accumulator<Integer> |
accumulator(int initialValue,
String name)
Create an Accumulator integer variable, which tasks can "add" values
to using the add method. |
|
|
accumulator(T initialValue,
AccumulatorParam<T> accumulatorParam)
Create an Accumulator variable of a given type, which tasks can "add"
values to using the add method. |
|
|
accumulator(T initialValue,
String name,
AccumulatorParam<T> accumulatorParam)
Create an Accumulator variable of a given type, which tasks can "add"
values to using the add method. |
|
void |
addFile(String path)
Add a file to be downloaded with this Spark job on every node. |
|
void |
addJar(String path)
Adds a JAR dependency for all tasks to be executed on this SparkContext in the future. |
|
String |
appName()
|
|
JavaPairRDD<String,PortableDataStream> |
binaryFiles(String path)
:: Experimental :: |
|
JavaPairRDD<String,PortableDataStream> |
binaryFiles(String path,
int minPartitions)
Read a directory of binary files from HDFS, a local file system (available on all nodes), or any Hadoop-supported file system URI as a byte array. |
|
JavaRDD<byte[]> |
binaryRecords(String path,
int recordLength)
:: Experimental :: |
|
|
broadcast(T value)
Broadcast a read-only variable to the cluster, returning a Broadcast object for reading it in distributed functions. |
|
void |
cancelAllJobs()
Cancel all jobs that have been scheduled or are running. |
|
void |
cancelJobGroup(String groupId)
Cancel active jobs for the specified group. |
|
void |
clearCallSite()
Pass-through to SparkContext.setCallSite. |
|
void |
clearFiles()
Clear the job's list of files added by addFile so that they do not get downloaded to
any new nodes. |
|
void |
clearJars()
Clear the job's list of JARs added by addJar so that they do not get downloaded to
any new nodes. |
|
void |
clearJobGroup()
Clear the current thread's job group ID and its description. |
|
void |
close()
|
|
Integer |
defaultMinPartitions()
Default min number of partitions for Hadoop RDDs when not given by user |
|
Integer |
defaultMinSplits()
Deprecated. As of Spark 1.0.0, defaultMinSplits is deprecated, use defaultMinPartitions() instead |
|
Integer |
defaultParallelism()
Default level of parallelism to use when not given by user (e.g. |
|
Accumulator<Double> |
doubleAccumulator(double initialValue)
Create an Accumulator double variable, which tasks can "add" values
to using the add method. |
|
Accumulator<Double> |
doubleAccumulator(double initialValue,
String name)
Create an Accumulator double variable, which tasks can "add" values
to using the add method. |
|
|
emptyRDD()
Get an RDD that has no partitions or elements. |
|
SparkEnv |
env()
|
|
static JavaSparkContext |
fromSparkContext(SparkContext sc)
|
|
com.google.common.base.Optional<String> |
getCheckpointDir()
|
|
SparkConf |
getConf()
Return a copy of this JavaSparkContext's configuration. |
|
String |
getLocalProperty(String key)
Get a local property set in this thread, or null if it is missing. |
|
com.google.common.base.Optional<String> |
getSparkHome()
Get Spark's home location from either a value set through the constructor, or the spark.home Java property, or the SPARK_HOME environment variable (in that order of preference). |
|
org.apache.hadoop.conf.Configuration |
hadoopConfiguration()
Returns the Hadoop configuration used for the Hadoop code (e.g. |
|
|
hadoopFile(String path,
Class<F> inputFormatClass,
Class<K> keyClass,
Class<V> valueClass)
Get an RDD for a Hadoop file with an arbitrary InputFormat |
|
|
hadoopFile(String path,
Class<F> inputFormatClass,
Class<K> keyClass,
Class<V> valueClass,
int minPartitions)
Get an RDD for a Hadoop file with an arbitrary InputFormat. |
|
|
hadoopRDD(org.apache.hadoop.mapred.JobConf conf,
Class<F> inputFormatClass,
Class<K> keyClass,
Class<V> valueClass)
Get an RDD for a Hadoop-readable dataset from a Hadooop JobConf giving its InputFormat and any other necessary info (e.g. |
|
|
hadoopRDD(org.apache.hadoop.mapred.JobConf conf,
Class<F> inputFormatClass,
Class<K> keyClass,
Class<V> valueClass,
int minPartitions)
Get an RDD for a Hadoop-readable dataset from a Hadooop JobConf giving its InputFormat and any other necessary info (e.g. |
|
Accumulator<Integer> |
intAccumulator(int initialValue)
Create an Accumulator integer variable, which tasks can "add" values
to using the add method. |
|
Accumulator<Integer> |
intAccumulator(int initialValue,
String name)
Create an Accumulator integer variable, which tasks can "add" values
to using the add method. |
|
Boolean |
isLocal()
|
|
static String[] |
jarOfClass(Class<?> cls)
Find the JAR from which a given class was loaded, to make it easy for users to pass their JARs to SparkContext. |
|
static String[] |
jarOfObject(Object obj)
Find the JAR that contains the class of a particular object, to make it easy for users to pass their JARs to SparkContext. |
|
java.util.List<String> |
jars()
|
|
String |
master()
|
|
|
newAPIHadoopFile(String path,
Class<F> fClass,
Class<K> kClass,
Class<V> vClass,
org.apache.hadoop.conf.Configuration conf)
Get an RDD for a given Hadoop file with an arbitrary new API InputFormat and extra configuration options to pass to the input format. |
|
|
newAPIHadoopRDD(org.apache.hadoop.conf.Configuration conf,
Class<F> fClass,
Class<K> kClass,
Class<V> vClass)
Get an RDD for a given Hadoop file with an arbitrary new API InputFormat and extra configuration options to pass to the input format. |
|
|
objectFile(String path)
Load an RDD saved as a SequenceFile containing serialized objects, with NullWritable keys and BytesWritable values that contain a serialized partition. |
|
|
objectFile(String path,
int minPartitions)
Load an RDD saved as a SequenceFile containing serialized objects, with NullWritable keys and BytesWritable values that contain a serialized partition. |
|
|
parallelize(java.util.List<T> list)
Distribute a local Scala collection to form an RDD. |
|
|
parallelize(java.util.List<T> list,
int numSlices)
Distribute a local Scala collection to form an RDD. |
|
JavaDoubleRDD |
parallelizeDoubles(java.util.List<Double> list)
Distribute a local Scala collection to form an RDD. |
|
JavaDoubleRDD |
parallelizeDoubles(java.util.List<Double> list,
int numSlices)
Distribute a local Scala collection to form an RDD. |
|
|
parallelizePairs(java.util.List<scala.Tuple2<K,V>> list)
Distribute a local Scala collection to form an RDD. |
|
|
parallelizePairs(java.util.List<scala.Tuple2<K,V>> list,
int numSlices)
Distribute a local Scala collection to form an RDD. |
|
SparkContext |
sc()
|
|
|
sequenceFile(String path,
Class<K> keyClass,
Class<V> valueClass)
Get an RDD for a Hadoop SequenceFile. |
|
|
sequenceFile(String path,
Class<K> keyClass,
Class<V> valueClass,
int minPartitions)
Get an RDD for a Hadoop SequenceFile with given key and value types. |
|
void |
setCallSite(String site)
Pass-through to SparkContext.setCallSite. |
|
void |
setCheckpointDir(String dir)
Set the directory under which RDDs are going to be checkpointed. |
|
void |
setJobGroup(String groupId,
String description)
Assigns a group ID to all the jobs started by this thread until the group ID is set to a different value or cleared. |
|
void |
setJobGroup(String groupId,
String description,
boolean interruptOnCancel)
Assigns a group ID to all the jobs started by this thread until the group ID is set to a different value or cleared. |
|
void |
setLocalProperty(String key,
String value)
Set a local property that affects jobs submitted from this thread, such as the Spark fair scheduler pool. |
|
void |
setLogLevel(String logLevel)
Control our logLevel. |
|
String |
sparkUser()
|
|
Long |
startTime()
|
|
JavaSparkStatusTracker |
statusTracker()
|
|
void |
stop()
Shut down the SparkContext. |
|
JavaRDD<String> |
textFile(String path)
Read a text file from HDFS, a local file system (available on all nodes), or any Hadoop-supported file system URI, and return it as an RDD of Strings. |
|
JavaRDD<String> |
textFile(String path,
int minPartitions)
Read a text file from HDFS, a local file system (available on all nodes), or any Hadoop-supported file system URI, and return it as an RDD of Strings. |
|
static SparkContext |
toSparkContext(JavaSparkContext jsc)
|
|
JavaDoubleRDD |
union(JavaDoubleRDD... rdds)
|
|
JavaDoubleRDD |
union(JavaDoubleRDD first,
java.util.List<JavaDoubleRDD> rest)
Build the union of two or more RDDs. |
|
|
union(JavaPairRDD<K,V>... rdds)
|
|
|
union(JavaPairRDD<K,V> first,
java.util.List<JavaPairRDD<K,V>> rest)
Build the union of two or more RDDs. |
|
|
union(JavaRDD<T>... rdds)
|
|
|
union(JavaRDD<T> first,
java.util.List<JavaRDD<T>> rest)
Build the union of two or more RDDs. |
|
String |
version()
The version of Spark on which this application is running. |
|
JavaPairRDD<String,String> |
wholeTextFiles(String path)
Read a directory of text files from HDFS, a local file system (available on all nodes), or any Hadoop-supported file system URI. |
|
JavaPairRDD<String,String> |
wholeTextFiles(String path,
int minPartitions)
Read a directory of text files from HDFS, a local file system (available on all nodes), or any Hadoop-supported file system URI. |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaSparkContext(SparkContext sc)
public JavaSparkContext()
public JavaSparkContext(SparkConf conf)
conf
- a SparkConf
object specifying Spark parameterspublic JavaSparkContext(String master, String appName)
master
- Cluster URL to connect to (e.g. mesos://host:port, spark://host:port, local[4]).appName
- A name for your application, to display on the cluster web UIpublic JavaSparkContext(String master, String appName, SparkConf conf)
master
- Cluster URL to connect to (e.g. mesos://host:port, spark://host:port, local[4]).appName
- A name for your application, to display on the cluster web UIconf
- a SparkConf
object specifying other Spark parameterspublic JavaSparkContext(String master, String appName, String sparkHome, String jarFile)
master
- Cluster URL to connect to (e.g. mesos://host:port, spark://host:port, local[4]).appName
- A name for your application, to display on the cluster web UIsparkHome
- The SPARK_HOME directory on the slave nodesjarFile
- JAR file to send to the cluster. This can be a path on the local file system
or an HDFS, HTTP, HTTPS, or FTP URL.public JavaSparkContext(String master, String appName, String sparkHome, String[] jars)
master
- Cluster URL to connect to (e.g. mesos://host:port, spark://host:port, local[4]).appName
- A name for your application, to display on the cluster web UIsparkHome
- The SPARK_HOME directory on the slave nodesjars
- Collection of JARs to send to the cluster. These can be paths on the local file
system or HDFS, HTTP, HTTPS, or FTP URLs.public JavaSparkContext(String master, String appName, String sparkHome, String[] jars, java.util.Map<String,String> environment)
master
- Cluster URL to connect to (e.g. mesos://host:port, spark://host:port, local[4]).appName
- A name for your application, to display on the cluster web UIsparkHome
- The SPARK_HOME directory on the slave nodesjars
- Collection of JARs to send to the cluster. These can be paths on the local file
system or HDFS, HTTP, HTTPS, or FTP URLs.environment
- Environment variables to set on worker nodes| Method Detail |
|---|
public static JavaSparkContext fromSparkContext(SparkContext sc)
public static SparkContext toSparkContext(JavaSparkContext jsc)
public static String[] jarOfClass(Class<?> cls)
cls
- (undocumented)
public static String[] jarOfObject(Object obj)
obj
- (undocumented)
public SparkContext sc()
public SparkEnv env()
public JavaSparkStatusTracker statusTracker()
public Boolean isLocal()
public String sparkUser()
public String master()
public String appName()
public java.util.List<String> jars()
public Long startTime()
public String version()
public Integer defaultParallelism()
public Integer defaultMinSplits()
defaultMinPartitions()
instead
public Integer defaultMinPartitions()
public <T> JavaRDD<T> parallelize(java.util.List<T> list, int numSlices)
public <T> JavaRDD<T> emptyRDD()
public <T> JavaRDD<T> parallelize(java.util.List<T> list)
public <K,V> JavaPairRDD<K,V> parallelizePairs(java.util.List<scala.Tuple2<K,V>> list, int numSlices)
public <K,V> JavaPairRDD<K,V> parallelizePairs(java.util.List<scala.Tuple2<K,V>> list)
public JavaDoubleRDD parallelizeDoubles(java.util.List<Double> list, int numSlices)
public JavaDoubleRDD parallelizeDoubles(java.util.List<Double> list)
public JavaRDD<String> textFile(String path)
path
- (undocumented)
public JavaRDD<String> textFile(String path, int minPartitions)
path
- (undocumented)minPartitions
- (undocumented)
public JavaPairRDD<String,String> wholeTextFiles(String path, int minPartitions)
For example, if you have the following files:
hdfs://a-hdfs-path/part-00000
hdfs://a-hdfs-path/part-00001
...
hdfs://a-hdfs-path/part-nnnnn
Do
JavaPairRDD<String, String> rdd = sparkContext.wholeTextFiles("hdfs://a-hdfs-path")
then rdd
contains
(a-hdfs-path/part-00000, its content)
(a-hdfs-path/part-00001, its content)
...
(a-hdfs-path/part-nnnnn, its content)
minPartitions
- A suggestion value of the minimal splitting number for input data.path
- (undocumented)
public JavaPairRDD<String,String> wholeTextFiles(String path)
path
- (undocumented)
wholeTextFiles(path: String, minPartitions: Int)
.public JavaPairRDD<String,PortableDataStream> binaryFiles(String path, int minPartitions)
For example, if you have the following files:
hdfs://a-hdfs-path/part-00000
hdfs://a-hdfs-path/part-00001
...
hdfs://a-hdfs-path/part-nnnnn
Do
JavaPairRDD
,
then rdd
contains
(a-hdfs-path/part-00000, its content)
(a-hdfs-path/part-00001, its content)
...
(a-hdfs-path/part-nnnnn, its content)
minPartitions
- A suggestion value of the minimal splitting number for input data.path
- (undocumented)
public JavaPairRDD<String,PortableDataStream> binaryFiles(String path)
Read a directory of binary files from HDFS, a local file system (available on all nodes), or any Hadoop-supported file system URI as a byte array. Each file is read as a single record and returned in a key-value pair, where the key is the path of each file, the value is the content of each file.
For example, if you have the following files:
hdfs://a-hdfs-path/part-00000
hdfs://a-hdfs-path/part-00001
...
hdfs://a-hdfs-path/part-nnnnn
Do
JavaPairRDD
,
then rdd
contains
(a-hdfs-path/part-00000, its content)
(a-hdfs-path/part-00001, its content)
...
(a-hdfs-path/part-nnnnn, its content)
path
- (undocumented)
public JavaRDD<byte[]> binaryRecords(String path, int recordLength)
Load data from a flat binary file, assuming the length of each record is constant.
path
- Directory to the input data filesrecordLength
- (undocumented)
public <K,V> JavaPairRDD<K,V> sequenceFile(String path, Class<K> keyClass, Class<V> valueClass, int minPartitions)
'''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
record, directly caching the returned RDD will create many references to the same object.
If you plan to directly cache Hadoop writable objects, you should first copy them using
a map
function.
path
- (undocumented)keyClass
- (undocumented)valueClass
- (undocumented)minPartitions
- (undocumented)
public <K,V> JavaPairRDD<K,V> sequenceFile(String path, Class<K> keyClass, Class<V> valueClass)
'''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
record, directly caching the returned RDD will create many references to the same object.
If you plan to directly cache Hadoop writable objects, you should first copy them using
a map
function.
path
- (undocumented)keyClass
- (undocumented)valueClass
- (undocumented)
public <T> JavaRDD<T> objectFile(String path, int minPartitions)
path
- (undocumented)minPartitions
- (undocumented)
public <T> JavaRDD<T> objectFile(String path)
path
- (undocumented)
public <K,V,F extends org.apache.hadoop.mapred.InputFormat<K,V>> JavaPairRDD<K,V> hadoopRDD(org.apache.hadoop.mapred.JobConf conf, Class<F> inputFormatClass, Class<K> keyClass, Class<V> valueClass, int minPartitions)
conf
- JobConf for setting up the dataset. Note: This will be put into a Broadcast.
Therefore if you plan to reuse this conf to create multiple RDDs, you need to make
sure you won't modify the conf. A safe approach is always creating a new conf for
a new RDD.inputFormatClass
- Class of the InputFormatkeyClass
- Class of the keysvalueClass
- Class of the valuesminPartitions
- Minimum number of Hadoop Splits to generate.
'''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
record, directly caching the returned RDD will create many references to the same object.
If you plan to directly cache Hadoop writable objects, you should first copy them using
a map
function.
public <K,V,F extends org.apache.hadoop.mapred.InputFormat<K,V>> JavaPairRDD<K,V> hadoopRDD(org.apache.hadoop.mapred.JobConf conf, Class<F> inputFormatClass, Class<K> keyClass, Class<V> valueClass)
conf
- JobConf for setting up the dataset. Note: This will be put into a Broadcast.
Therefore if you plan to reuse this conf to create multiple RDDs, you need to make
sure you won't modify the conf. A safe approach is always creating a new conf for
a new RDD.inputFormatClass
- Class of the InputFormatkeyClass
- Class of the keysvalueClass
- Class of the values
'''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
record, directly caching the returned RDD will create many references to the same object.
If you plan to directly cache Hadoop writable objects, you should first copy them using
a map
function.
public <K,V,F extends org.apache.hadoop.mapred.InputFormat<K,V>> JavaPairRDD<K,V> hadoopFile(String path, Class<F> inputFormatClass, Class<K> keyClass, Class<V> valueClass, int minPartitions)
'''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
record, directly caching the returned RDD will create many references to the same object.
If you plan to directly cache Hadoop writable objects, you should first copy them using
a map
function.
path
- (undocumented)inputFormatClass
- (undocumented)keyClass
- (undocumented)valueClass
- (undocumented)minPartitions
- (undocumented)
public <K,V,F extends org.apache.hadoop.mapred.InputFormat<K,V>> JavaPairRDD<K,V> hadoopFile(String path, Class<F> inputFormatClass, Class<K> keyClass, Class<V> valueClass)
'''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
record, directly caching the returned RDD will create many references to the same object.
If you plan to directly cache Hadoop writable objects, you should first copy them using
a map
function.
path
- (undocumented)inputFormatClass
- (undocumented)keyClass
- (undocumented)valueClass
- (undocumented)
public <K,V,F extends org.apache.hadoop.mapreduce.InputFormat<K,V>> JavaPairRDD<K,V> newAPIHadoopFile(String path, Class<F> fClass, Class<K> kClass, Class<V> vClass, org.apache.hadoop.conf.Configuration conf)
'''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
record, directly caching the returned RDD will create many references to the same object.
If you plan to directly cache Hadoop writable objects, you should first copy them using
a map
function.
path
- (undocumented)fClass
- (undocumented)kClass
- (undocumented)vClass
- (undocumented)conf
- (undocumented)
public <K,V,F extends org.apache.hadoop.mapreduce.InputFormat<K,V>> JavaPairRDD<K,V> newAPIHadoopRDD(org.apache.hadoop.conf.Configuration conf, Class<F> fClass, Class<K> kClass, Class<V> vClass)
conf
- Configuration for setting up the dataset. Note: This will be put into a Broadcast.
Therefore if you plan to reuse this conf to create multiple RDDs, you need to make
sure you won't modify the conf. A safe approach is always creating a new conf for
a new RDD.fClass
- Class of the InputFormatkClass
- Class of the keysvClass
- Class of the values
'''Note:''' Because Hadoop's RecordReader class re-uses the same Writable object for each
record, directly caching the returned RDD will create many references to the same object.
If you plan to directly cache Hadoop writable objects, you should first copy them using
a map
function.
public <T> JavaRDD<T> union(JavaRDD<T> first, java.util.List<JavaRDD<T>> rest)
public <K,V> JavaPairRDD<K,V> union(JavaPairRDD<K,V> first, java.util.List<JavaPairRDD<K,V>> rest)
public JavaDoubleRDD union(JavaDoubleRDD first, java.util.List<JavaDoubleRDD> rest)
public Accumulator<Integer> intAccumulator(int initialValue)
Accumulator
integer variable, which tasks can "add" values
to using the add
method. Only the master can access the accumulator's value
.
initialValue
- (undocumented)
public Accumulator<Integer> intAccumulator(int initialValue, String name)
Accumulator
integer variable, which tasks can "add" values
to using the add
method. Only the master can access the accumulator's value
.
This version supports naming the accumulator for display in Spark's web UI.
initialValue
- (undocumented)name
- (undocumented)
public Accumulator<Double> doubleAccumulator(double initialValue)
Accumulator
double variable, which tasks can "add" values
to using the add
method. Only the master can access the accumulator's value
.
initialValue
- (undocumented)
public Accumulator<Double> doubleAccumulator(double initialValue, String name)
Accumulator
double variable, which tasks can "add" values
to using the add
method. Only the master can access the accumulator's value
.
This version supports naming the accumulator for display in Spark's web UI.
initialValue
- (undocumented)name
- (undocumented)
public Accumulator<Integer> accumulator(int initialValue)
Accumulator
integer variable, which tasks can "add" values
to using the add
method. Only the master can access the accumulator's value
.
initialValue
- (undocumented)
public Accumulator<Integer> accumulator(int initialValue, String name)
Accumulator
integer variable, which tasks can "add" values
to using the add
method. Only the master can access the accumulator's value
.
This version supports naming the accumulator for display in Spark's web UI.
initialValue
- (undocumented)name
- (undocumented)
public Accumulator<Double> accumulator(double initialValue)
Accumulator
double variable, which tasks can "add" values
to using the add
method. Only the master can access the accumulator's value
.
initialValue
- (undocumented)
public Accumulator<Double> accumulator(double initialValue, String name)
Accumulator
double variable, which tasks can "add" values
to using the add
method. Only the master can access the accumulator's value
.
This version supports naming the accumulator for display in Spark's web UI.
initialValue
- (undocumented)name
- (undocumented)
public <T> Accumulator<T> accumulator(T initialValue, AccumulatorParam<T> accumulatorParam)
Accumulator
variable of a given type, which tasks can "add"
values to using the add
method. Only the master can access the accumulator's value
.
initialValue
- (undocumented)accumulatorParam
- (undocumented)
public <T> Accumulator<T> accumulator(T initialValue, String name, AccumulatorParam<T> accumulatorParam)
Accumulator
variable of a given type, which tasks can "add"
values to using the add
method. Only the master can access the accumulator's value
.
This version supports naming the accumulator for display in Spark's web UI.
initialValue
- (undocumented)name
- (undocumented)accumulatorParam
- (undocumented)
public <T,R> Accumulable<T,R> accumulable(T initialValue, AccumulableParam<T,R> param)
Accumulable
shared variable of the given type, to which tasks
can "add" values with add
. Only the master can access the accumuable's value
.
initialValue
- (undocumented)param
- (undocumented)
public <T,R> Accumulable<T,R> accumulable(T initialValue, String name, AccumulableParam<T,R> param)
Accumulable
shared variable of the given type, to which tasks
can "add" values with add
. Only the master can access the accumuable's value
.
This version supports naming the accumulator for display in Spark's web UI.
initialValue
- (undocumented)name
- (undocumented)param
- (undocumented)
public <T> Broadcast<T> broadcast(T value)
Broadcast
object for reading it in distributed functions.
The variable will be sent to each cluster only once.
value
- (undocumented)
public void stop()
public void close()
close
in interface java.io.Closeable
public com.google.common.base.Optional<String> getSparkHome()
public void addFile(String path)
path
passed can be either a local file, a file in HDFS (or other Hadoop-supported
filesystems), or an HTTP, HTTPS or FTP URI. To access the file in Spark jobs,
use SparkFiles.get(fileName)
to find its download location.
path
- (undocumented)public void addJar(String path)
path
passed can be either a local file, a file in HDFS (or other Hadoop-supported
filesystems), or an HTTP, HTTPS or FTP URI.
path
- (undocumented)public void clearJars()
addJar
so that they do not get downloaded to
any new nodes.
public void clearFiles()
addFile
so that they do not get downloaded to
any new nodes.
public org.apache.hadoop.conf.Configuration hadoopConfiguration()
'''Note:''' As it will be reused in all Hadoop RDDs, it's better not to modify it unless you plan to set some global configurations for all Hadoop RDDs.
public void setCheckpointDir(String dir)
dir
- (undocumented)public com.google.common.base.Optional<String> getCheckpointDir()
public SparkConf getConf()
public void setCallSite(String site)
site
- (undocumented)public void clearCallSite()
public void setLocalProperty(String key, String value)
key
- (undocumented)value
- (undocumented)public String getLocalProperty(String key)
org.apache.spark.api.java.JavaSparkContext.setLocalProperty
.
key
- (undocumented)
public void setLogLevel(String logLevel)
logLevel
- The desired log level as a string.
Valid log levels include: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARNpublic void setJobGroup(String groupId, String description, boolean interruptOnCancel)
Often, a unit of execution in an application consists of multiple Spark actions or jobs. Application programmers can use this method to group all those jobs together and give a group description. Once set, the Spark web UI will associate such jobs with this group.
The application can also use org.apache.spark.api.java.JavaSparkContext.cancelJobGroup
to cancel all running jobs in this group. For example,
// In the main thread:
sc.setJobGroup("some_job_to_cancel", "some job description");
rdd.map(...).count();
// In a separate thread:
sc.cancelJobGroup("some_job_to_cancel");
If interruptOnCancel is set to true for the job group, then job cancellation will result in Thread.interrupt() being called on the job's executor threads. This is useful to help ensure that the tasks are actually stopped in a timely manner, but is off by default due to HDFS-1208, where HDFS may respond to Thread.interrupt() by marking nodes as dead.
groupId
- (undocumented)description
- (undocumented)interruptOnCancel
- (undocumented)public void setJobGroup(String groupId, String description)
groupId
- (undocumented)description
- (undocumented)setJobGroup(groupId: String, description: String, interruptThread: Boolean)
.
This method sets interruptOnCancel to false.public void clearJobGroup()
public void cancelJobGroup(String groupId)
org.apache.spark.api.java.JavaSparkContext.setJobGroup
for more information.
groupId
- (undocumented)public void cancelAllJobs()
public <T> JavaRDD<T> union(JavaRDD<T>... rdds)
public JavaDoubleRDD union(JavaDoubleRDD... rdds)
public <K,V> JavaPairRDD<K,V> union(JavaPairRDD<K,V>... rdds)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


MSCS @ UC Davis
Software engineer, UCD'21 Alum, Amrita University Alum
[Github , Linkedin , Facebook]
Highly motivated and enthusiastic learner for new technologies and applying them. I have always tried to stretch myself beyond limits like through some projects giving me a license to explore and learn new and upcoming technologies. In my free time, I also try to explore open source community with their recent concepts and read about the latest developments in domains like Artificial Intelligence, Blockchain, Deep Learning, etc.
Programming is my passion, as thousands of lines of code makes more sense to me than the text of a novel, be it Python, C, C++, Javascript, or Java. My current interests have been around Computer Vision, Natural Language Processing, Machine Learning, Deep Learning, Blockchain, or even something which goes in harmony with all of them which is Software Development.


Greene County deputies use pellet gun to detonate ‘bottle bombs’
by Richard Wilson— Greene County Sheriff Gene Fischer has issued a warning after deputies found make-shift explosive devices off Grinnell Road outside of Yellow Springs.
Fischer said today in a prepared statement that the “manufacturing and deployment of a bottle bomb is a serious matter.”
“These devices endanger not only the public but also the first responders,” Fischer’s statement reads.
Group plants trees, vows to renew Dayton park
Deputies were called Friday to investigate the two suspicious items and discovered two bottles with foil and liquid inside, according to the release.
With assistance from Miami Twp. Fire and Rescue, deputies temporarily closed the road and cleared the area. A pellet gun was fired from a distance to release the pressure on the bottles, Fischer’s statement reads.
“These devices put everyone at risk of serious physical harm. Handling one of these devices or being in close proximity to one of these devices when it explodes can result in loss of fingers, eyesight and chemical burns,” Fischer said.
No suspects have been identified. Whoever is responsible for making the devices could face a host of felony and misdemeanor charges, including the most serious: Illegal assembly or possession of chemicals or substances for the manufacture of prohibited weapons, according to the release.
More felonies could be pursued if such devices caused injury or property damage, according to the release.


With your support, a new generation of student leaders from all over the country
interning on the Hill and numerous pro-life organizations and women’s advocacy
groups will hear Feminists for Life’s remarkable speakers.
Yes, students from both sides of the aisle and both sides of the abortion debate
come to our event!
Yes, students from opposing viewpoints come together and agree with our pro-woman
solutions–then go back to campus and work together for practical resources and
support!
Most importantly, we need financial help for printing materials and getting our
remarkable speakers to the events. Your tax-deductible donation will help tomorrow’s
leaders hear from:
Jewels Green was pressured to have an abortion as a teen and then worked for five
years in a clinic before her “aha” moment led her to becoming pro-life. Now she
is the editor of FFL’s magazine, The American Feminist


Located in Pioneer Park, you’ll be close to schools, golf courses and shopping. Your new home features large living spaces, and bright windows throughout!.
New Glass Balconies
Nearby Public Transit
FOB Access & Common Area Security Camera Monitoring
Pet Friendly Community
Your Neighbourhood
Find some of the easiest access to the 401 in all of Kitchener, with Homer Watson allowing access to the expressway as well. Convenience doesn't begin to explain the amenities available to you in this neighbourhood. The college is only a stone throw away along with dining, transit, entertainment and shopping. Your children will love all the parks, the Kitchener Public Library and Museum that's close by. Find trails for hiking, biking and dog walking around every corner. Look no further, you're home in Pioneer Park.
Conestoga College
Fairview Park Mall
Pioneer Park Plaza
Easy Access to Highway 401


Title is required!
Title must be at least 20 characters!
Description is required!
Description must be minimum 20 characters!
You must choose a radio button!


{% extends "base.html" %} {% block title %}Create an Account | Fuksit{% endblock %} {% block body %}
Type in your username/character name and password to create an account
Do NOT use your Metropolia account credentials!


{% extends "auth/base_auth.html" %} {% block title %}Conferency | Timeout{% endblock %} {% block head %} {{ super() }} {% endblock %} {% block main_form %}
To ensure our security, we logged you out of the system.
Login back, to return to what you have seen before.


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/error.3A.20failed.20to.20unify.html ---
I am at a stage where I am currently hitting errors of the following type
invalid apply tactic, failed to unify p.fst = q.fst with ?m_2 = ?m_3
I have no clue why Lean can't unify those... probably there are some hidden metavariables somewhere... how do I get more info?
can you try to use set_option pp.all true
and inspect the term again
Thanks, the response by Lean was a little bit overwhelming. But it solved my problem!
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


--- layout: post title: Close-up date: '2016-10-22T08:37:48+02:00' categories: - Storyboards picture_url: https://film-Storyboards.tumblr.com/post/152155647701 ---


| copyright: | Copyright David Abrahams and Brett Calcott 2003. See accompanying license for terms of use. |
|---|
In both of these cases, I'm quite capable of reading code - but the thing I don't get from scanning the source is a sense of the architecture, both structurally, and temporally (er, I mean in what order things go on).
What happens when you do the following:
struct boring {}; ...etc... class_<boring>("boring") ;
There seems to be a fair bit going on.
- Python needs a new ClassType to be registered.
- We need to construct a new type that can hold our boring struct.
- Inward and outward converters need to be registered for the type.
Can you gesture in the general direction where these things are done?
I only have time for a "off-the-top-of-my-head" answer at the moment; I suggest you step through the code with a debugger after reading this to see how it works, fill in details, and make sure I didn't forget anything.
A new (Python) subclass of Boost.Python.Instance (see libs/python/src/object/class.cpp) is created by invoking Boost.Python.class, the metatype:
>>> boring = Boost.Python.class( ... 'boring' ... , bases_tuple # in this case, just () ... , { ... '__module__' : module_name ... , '__doc__' : doc_string # optional ... } ... )A handle to this object is stuck in the m_class_object field of the registration associated with typeid(boring). The registry will keep that object alive forever, even if you wipe out the 'boring' attribute of the extension module (probably not a good thing).
Because you didn't specify class<boring, non_copyable, ...>, a to-python converter for boring is registered which copies its argument into a value_holder held by the the Python boring object.
Because you didn't specify class<boring ...>(no_init), an __init__ function object is added to the class dictionary which default-constructs a boring in a value_holder (because you didn't specify some smart pointer or derived wrapper class as a holder) held by the Python boring object.
register_class_from_python is used to register a from-python converter for shared_ptr<boring>. boost::shared_ptrs are special among smart pointers because their Deleter argument can be made to manage the whole Python object, not just the C++ object it contains, no matter how the C++ object is held.
If there were any bases<>, we'd also be registering the relationship between these base classes and boring in the up/down cast graph (inheritance.[hpp/cpp]).
In earlier versions of the code, we'd be registering lvalue from-python converters for the class here, but now from-python conversion for wrapped classes is handled as a special case, before consulting the registry, if the source Python object's metaclass is the Boost.Python metaclass.
Hmm, that from-python converter probably ought to be handled the way class converters are, with no explicit conversions registered.
Can you give a brief overview of the data structures that are present in the registry
The registry is simple: it's just a map from typeid -> registration (see boost/python/converter/registrations.hpp). lvalue_chain and rvalue_chain are simple endogenous linked lists.
If you want to know more, just ask.
If you want to know about the cast graph, ask me something specific in a separate message.
and an overview of the process that happens as a type makes its way from c++ to python and back again.
Big subject. I suggest some background reading: look for relevant info in the LLNL progress reports and the messages they link to. Also,
http://mail.python.org/pipermail/c++-sig/2002-May/001023.html
http://mail.python.org/pipermail/c++-sig/2002-December/003115.html
http://aspn.activestate.com/ASPN/Mail/Message/1280898
http://mail.python.org/pipermail/c++-sig/2002-July/001755.html
from c++ to python:
It depends on the type and the call policies in use or, for call<>(...), call_method<>(...), or object(...), if ref or ptr is used. There are also two basic categories to to-python conversion, "return value" conversion (for Python->C++ calls) and "argument" conversion (for C++->Python calls and explicit object() conversions). The behavior of these two categories differs subtly in various ways whose details I forget at the moment. You can probably find the answers in the above references, and certainly in the code.
The "default" case is by-value (copying) conversion, which uses to_python_value as a to-python converter.
Since there can sensibly be only one way to convert any type to python (disregarding the idea of scoped registries for the moment), it makes sense that to-python conversions can be handled by specializing a template. If the type is one of the types handled by a built-in conversion (builtin_converters.hpp), the corresponding template specialization of to_python_value gets used.
Otherwise, to_python_value uses the m_to_python function in the registration for the C++ type.
Other conversions, like by-reference conversions, are only available for wrapped classes, and are requested explicitly by using ref(...), ptr(...), or by specifying different CallPolicies for a call, which can cause a different to-python converter to be used. These conversions are never registered anywhere, though they do need to use the registration to find the Python class corresponding to the C++ type being referred to. They just build a new Python instance and stick the appropriate Holder instance in it.
from python to C++:
Once again I think there is a distinction between "return value" and "argument" conversions, and I forget exactly what that is.
What happens depends on whether an lvalue conversion is needed (see http://mail.python.org/pipermail/c++-sig/2002-May/001023.html) All lvalue conversions are also registered in a type's rvalue conversion chain, since when an rvalue will do, an lvalue is certainly good enough.
An lvalue conversion can be done in one step (just get me the pointer to the object - it can be NULL if no conversion is possible) while an rvalue conversion requires two steps to support wrapped function overloading and multiple converters for a given C++ target type: first tell me if a conversion is possible, then construct the converted object as a second step.


Chips represent complex entities in small blocks, such as a contact. A chip may contain entities such as a photo, text, rules, an icon, or a contact. Contact chips may represent contact information in a compact way.
A chip may contain a photo, short title, and brief information.
Chips can be used for various types of entities, including free form text, predefined text, rules, or contacts. Chips may also contain icons.
Chips with text
Chips with text and an icon
Touching a chip opens a full detailed view (either in a card or full screen) or a menu of options related to that chip.
Chips can be deletable or non-deletable. Display a delete icon if a chip is deletable.
Contact information that users have for people may be represented in a compact way using contact chips. The chips are invoked and inserted into a text field (usually the “To” field) when the user starts typing a contact’s name, sees the contact’s addresses, and selects the correct one. Contact chips can be added directly to a text field from a menu of contacts.
Contact chips efficiently confirm that the user will be sending their message to the correct person.
The user confirms the name(s) of the email recipient(s) on the contact chips.
The user confirms which email address to select on the contact chip.
The contact chip has different states: Normal, Focused, Pressed, and Activated.
Height: 32dp
Label left padding: 12dp
Size: 24dp x 24dp
Color & opacity: 54% black
Margin: 4dp
On desktop, the “Remove” icon is persistent.
Height: 32dp
Label left and right padding: 12dp
Height: 32dp
Label left padding: 8dp
Label right padding: 12dp
Height: 32dp
Title top, bottom, and left padding: 8dp
Title right padding: 12dp
Height: 40dp
Top and bottom padding: 16dp
Top and bottom padding: 20dp


This site is a basic showcase of 500px OAuth authentication method. If you are having issues try clearing your session.
photos)){ $photos = $content->photos; $count = 0; foreach ($photos as $val){ echo ' '; } } ?>


FBRequestConnection Class Reference
| Inherits from | NSObject |
| Declared in | FBRequestConnection.h |
Overview
@class FBRequestConnection
@abstract
The FBRequestConnection
represents a single connection to Facebook to service a request.
@discussion
The request settings are encapsulated in a reusable FBRequest object. The
FBRequestConnection
object encapsulates the concerns of a single communication
e.g. starting a connection, canceling a connection, or batching requests.
Tasks
Creating a request
-
– init
@method
-
– initWithTimeout:
@method
-
urlRequest
@abstract The request that will be sent to the server.
property -
urlResponse
@abstract The raw response that was returned from the server. (readonly)
property -
errorBehavior
Set the automatic error handling behaviors.
property
Adding requests
-
– addRequest:completionHandler:
@method
-
– addRequest:completionHandler:batchEntryName:
@method
-
– addRequest:completionHandler:batchParameters:
@method
Instance methods
-
– start
@method
-
– cancel
@method
-
+ startForMeWithCompletionHandler:
@method
-
+ startForMyFriendsWithCompletionHandler:
@method
-
+ startForUploadPhoto:completionHandler:
@method
-
+ startForPostStatusUpdate:completionHandler:
@method
-
+ startForPostStatusUpdate:place:tags:completionHandler:
@method
-
+ startForPlacesSearchAtCoordinate:radiusInMeters:resultsLimit:searchText:completionHandler:
@method
-
+ startForCustomAudienceThirdPartyID:completionHandler:
@method
-
+ startWithGraphPath:completionHandler:
@method
-
+ startForDeleteObject:completionHandler:
@method
-
+ startForPostWithGraphPath:graphObject:completionHandler:
@method
-
+ startWithGraphPath:parameters:HTTPMethod:completionHandler:
@method
-
+ startForPostOpenGraphObject:completionHandler:
@method
-
+ startForPostOpenGraphObjectWithType:title:image:url:description:objectProperties:completionHandler:
@method
-
+ startForUpdateOpenGraphObject:completionHandler:
@method
-
+ startForUpdateOpenGraphObjectWithId:title:image:url:description:objectProperties:completionHandler:
@method
-
+ startForUploadStagingResourceWithImage:completionHandler:
@method
Properties
errorBehavior
Set the automatic error handling behaviors.
@property (nonatomic, assign) FBRequestConnectionErrorBehavior errorBehavior
Discussion
@attribute beta true
Declared In
FBRequestConnection.h
urlRequest
@abstract The request that will be sent to the server.
@property (nonatomic, retain, readwrite) NSMutableURLRequest *urlRequest
Discussion
@abstract The request that will be sent to the server.
@discussion
This property can be used to create a NSURLRequest
without using
FBRequestConnection
to send that request. It is legal to set this property
in which case the provided NSMutableURLRequest
will be used instead. However,
the NSMutableURLRequest
must result in an appropriate response. Furthermore, once
this property has been set, no more FBRequest objects can be added to this
FBRequestConnection
.
Declared In
FBRequestConnection.h
urlResponse
@abstract The raw response that was returned from the server. (readonly)
@property (nonatomic, retain, readonly) NSHTTPURLResponse *urlResponse
Discussion
@abstract The raw response that was returned from the server. (readonly)
@discussion This property can be used to inspect HTTP headers that were returned from the server.
The property is nil until the request completes. If there was a response then this property will be non-nil during the FBRequestHandler callback.
Declared In
FBRequestConnection.h
Class Methods
startForCustomAudienceThirdPartyID:completionHandler:
@method
+ (FBRequestConnection *)startForCustomAudienceThirdPartyID:(FBSession *)session completionHandler:(FBRequestHandler)handler
Parameters
- session
The FBSession to use to establish the user’s identity for users logged into Facebook through this app. If
nil
, then the activeSession is used.
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract Starts a request representing the Graph API call to retrieve a Custom Audience “third party ID” for the app’s Facebook user. Callers will send this ID back to their own servers, collect up a set to create a Facebook Custom Audience with, and then use the resultant Custom Audience to target ads.
@discussion
This method will throw an exception if [FBSettings defaultAppID] is nil
. The appID won’t be nil when the pList
includes the appID, or if it’s explicitly set.
The JSON in the request’s response will include an “custom_audience_third_party_id” key/value pair, with the value being the ID retrieved. This ID is an encrypted encoding of the Facebook user’s ID and the invoking Facebook app ID. Multiple calls with the same user will return different IDs, thus these IDs cannot be used to correlate behavior across devices or applications, and are only meaningful when sent back to Facebook for creating Custom Audiences.
The ID retrieved represents the Facebook user identified in the following way: if the specified session (or activeSession if the specified
session is nil
) is open, the ID will represent the user associated with the activeSession; otherwise the ID will represent the user logged into the
native Facebook app on the device. If there is no native Facebook app, no one is logged into it, or the user has opted out
at the iOS level from ad tracking, then a nil
ID will be returned.
This method returns nil
if either the user has opted-out (via iOS) from Ad Tracking, the app itself has limited event usage
via the [FBAppEvents setLimitEventUsage]
flag, or a specific Facebook user cannot be identified.
Declared In
FBRequestConnection.h
startForDeleteObject:completionHandler:
@method
+ (FBRequestConnection *)startForDeleteObject:(id)object completionHandler:(FBRequestHandler)handler
Parameters
- object
The object to delete, may be an NSString or NSNumber representing an fbid or an NSDictionary with an id property
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Simple method to delete an object using the graph API, creates an FBRequest object for
HTTP DELETE, then uses an [FBSession activeSession]
.
Declared In
FBRequestConnection.h
startForMeWithCompletionHandler:
@method
+ (FBRequestConnection *)startForMeWithCompletionHandler:(FBRequestHandler)handler
Parameters
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Simple method to make a graph API request for user info (/me), creates an FBRequest
then uses an [FBSession activeSession]
.
See <connectionWithSession:graphPath:parameters:HTTPMethod:completionHandler:>
Declared In
FBRequestConnection.h
startForMyFriendsWithCompletionHandler:
@method
+ (FBRequestConnection *)startForMyFriendsWithCompletionHandler:(FBRequestHandler)handler
Parameters
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Simple method to make a graph API request for user friends (/me/friends), creates an FBRequest
then uses an [FBSession activeSession]
.
See <connectionWithSession:graphPath:parameters:HTTPMethod:completionHandler:>
Declared In
FBRequestConnection.h
startForPlacesSearchAtCoordinate:radiusInMeters:resultsLimit:searchText:completionHandler:
@method
+ (FBRequestConnection *)startForPlacesSearchAtCoordinate:(CLLocationCoordinate2D)coordinate radiusInMeters:(NSInteger)radius resultsLimit:(NSInteger)limit searchText:(NSString *)searchText completionHandler:(FBRequestHandler)handler
Parameters
- coordinate
The search coordinates.
- radius
The search radius in meters.
- limit
The maxiumum number of results to return. It is possible to receive fewer than this because of the radius and because of server limits.
- searchText
The text to use in the query to narrow the set of places returned.
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract Starts a request representing a Graph API call to the “search” endpoint for a given location using the active session.
@discussion Simplifies starting a request to search for places near a coordinate.
This method creates the necessary FBRequest object and initializes and
starts an
Declared In
FBRequestConnection.h
startForPostOpenGraphObject:completionHandler:
@method
+ (FBRequestConnection *)startForPostOpenGraphObject:(id<FBOpenGraphObject>)object completionHandler:(FBRequestHandler)handler
Parameters
- object
The Open Graph object to create. Some common expected fields include “title”, “image”, “url”, etc.
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Creates an FBRequest
for creating a user owned Open Graph object, instantiate a
[FBSession activeSession]
.
Declared In
FBRequestConnection.h
startForPostOpenGraphObjectWithType:title:image:url:description:objectProperties:completionHandler:
@method
+ (FBRequestConnection *)startForPostOpenGraphObjectWithType:(NSString *)type title:(NSString *)title image:(id)image url:(id)url description:(NSString *)description objectProperties:(NSDictionary *)objectProperties completionHandler:(FBRequestHandler)handler
Parameters
- type
The fully-specified Open Graph object type (e.g., my_app_namespace:my_object_name)
- title
The title of the Open Graph object.
- image
The link to an image to be associated with the Open Graph object.
- url
The url to be associated with the Open Graph object.
- description
The description for the object.
- objectProperties
Any additional properties for the Open Graph object.
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Creates an FBRequest
for creating a user owned Open Graph object, instantiate a
[FBSession activeSession]
.
Declared In
FBRequestConnection.h
startForPostStatusUpdate:completionHandler:
@method
+ (FBRequestConnection *)startForPostStatusUpdate:(NSString *)message completionHandler:(FBRequestHandler)handler
Parameters
- message
The message to post.
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Simple method to make a graph API post of a status update. The request
uses the active session represented by [FBSession activeSession]
.
Declared In
FBRequestConnection.h
startForPostStatusUpdate:place:tags:completionHandler:
@method
+ (FBRequestConnection *)startForPostStatusUpdate:(NSString *)message place:(id)place tags:(id<NSFastEnumeration>)tags completionHandler:(FBRequestHandler)handler
Parameters
- message
The message to post.
- place
The place to checkin with, or nil. Place may be an fbid or a graph object representing a place.
- tags
Array of friends to tag in the status update, each element may be an fbid or a graph object representing a user.
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Simple method to make a graph API post of a status update. The request
uses the active session represented by [FBSession activeSession]
.
Declared In
FBRequestConnection.h
startForPostWithGraphPath:graphObject:completionHandler:
@method
+ (FBRequestConnection *)startForPostWithGraphPath:(NSString *)graphPath graphObject:(id<FBGraphObject>)graphObject completionHandler:(FBRequestHandler)handler
Parameters
- graphPath
The Graph API endpoint to use for the request, for example “me”.
- graphObject
An object or open graph action to post.
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Simple method to post an object using the graph API, creates an FBRequest object for
HTTP POST, then uses [FBSession activeSession]
.
This method is typically used for posting an open graph action. If you are only
posting an open graph object (without an action), consider using startForPostOpenGraphObject:completionHandler:
Declared In
FBRequestConnection.h
startForUpdateOpenGraphObject:completionHandler:
@method
+ (FBRequestConnection *)startForUpdateOpenGraphObject:(id<FBOpenGraphObject>)object completionHandler:(FBRequestHandler)handler
Parameters
- object
The Open Graph object to update the existing object with.
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Creates an FBRequest
for updating a user owned Open Graph object, instantiate a
[FBSession activeSession]
.
Declared In
FBRequestConnection.h
startForUpdateOpenGraphObjectWithId:title:image:url:description:objectProperties:completionHandler:
@method
+ (FBRequestConnection *)startForUpdateOpenGraphObjectWithId:(id)objectId title:(NSString *)title image:(id)image url:(id)url description:(NSString *)description objectProperties:(NSDictionary *)objectProperties completionHandler:(FBRequestHandler)handler
Parameters
- objectId
The id of the Open Graph object to update.
- title
The updated title of the Open Graph object.
- image
The updated link to an image to be associated with the Open Graph object.
- url
The updated url to be associated with the Open Graph object.
- description
The object’s description.
- objectProperties
Any additional properties to update for the Open Graph object.
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Creates an FBRequest
for updating a user owned Open Graph object, instantiate a
[FBSession activeSession]
.
Declared In
FBRequestConnection.h
startForUploadPhoto:completionHandler:
@method
+ (FBRequestConnection *)startForUploadPhoto:(UIImage *)photo completionHandler:(FBRequestHandler)handler
Parameters
- photo
A
UIImage
for the photo to upload.
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Simple method to make a graph API post of a photo. The request
uses the active session represented by [FBSession activeSession]
.
Declared In
FBRequestConnection.h
startForUploadStagingResourceWithImage:completionHandler:
@method
+ (FBRequestConnection *)startForUploadStagingResourceWithImage:(UIImage *)image completionHandler:(FBRequestHandler)handler
Parameters
- image
A
UIImage
for the image to upload.
- handler
The handler block to call when the request completes.
Discussion
@method
@abstract Starts a request connection to upload an image to create a staging resource. Staging resources allow you to post binary data such as images, in preparation for a post of an open graph object or action which references the image. The URI returned when uploading a staging resource may be passed as the value for the image property of an open graph object or action.
@discussion This method simplifies the preparation of a Graph API call be creating the FBRequest object and starting the request connection with a single method
Declared In
FBRequestConnection.h
startWithGraphPath:completionHandler:
@method
+ (FBRequestConnection *)startWithGraphPath:(NSString *)graphPath completionHandler:(FBRequestHandler)handler
Parameters
- graphPath
The Graph API endpoint to use for the request, for example “me”.
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Simple method to make a graph API request, creates an FBRequest object for HTTP GET,
then uses an [FBSession activeSession]
.
See <connectionWithSession:graphPath:parameters:HTTPMethod:completionHandler:>
Declared In
FBRequestConnection.h
startWithGraphPath:parameters:HTTPMethod:completionHandler:
@method
+ (FBRequestConnection *)startWithGraphPath:(NSString *)graphPath parameters:(NSDictionary *)parameters HTTPMethod:(NSString *)HTTPMethod completionHandler:(FBRequestHandler)handler
Parameters
- graphPath
The Graph API endpoint to use for the request, for example “me”.
- parameters
The parameters for the request. A value of nil sends only the automatically handled parameters, for example, the access token. The default is nil.
- HTTPMethod
The HTTP method to use for the request. A nil value implies a GET.
- handler
The handler block to call when the request completes with a success, error, or cancel action.
Discussion
@method
@abstract
Creates an FBRequest
object for a Graph API call, instantiate an
[FBSession activeSession]
.
Declared In
FBRequestConnection.h
Instance Methods
addRequest:completionHandler:
@method
- (void)addRequest:(FBRequest *)request completionHandler:(FBRequestHandler)handler
Parameters
- request
A request to be included in the round-trip when start is called.
- handler
A handler to call back when the round-trip completes or times out. The handler will be invoked on the main thread.
Discussion
@method
@abstract This method adds an FBRequest object to this connection.
@discussion The completion handler is retained until the block is called upon the completion or cancellation of the connection.
Declared In
FBRequestConnection.h
addRequest:completionHandler:batchEntryName:
@method
- (void)addRequest:(FBRequest *)request completionHandler:(FBRequestHandler)handler batchEntryName:(NSString *)name
Parameters
- request
A request to be included in the round-trip when start is called.
- handler
A handler to call back when the round-trip completes or times out. The handler will be invoked on the main thread.
- name
An optional name for this request. This can be used to feed the results of one request to the input of another FBRequest in the same
FBRequestConnection
as described in Graph API Batch Requests.
Discussion
@method
@abstract This method adds an FBRequest object to this connection.
@discussion The completion handler is retained until the block is called upon the completion or cancellation of the connection. This request can be named to allow for using the request’s response in a subsequent request.
Declared In
FBRequestConnection.h
addRequest:completionHandler:batchParameters:
@method
- (void)addRequest:(FBRequest *)request completionHandler:(FBRequestHandler)handler batchParameters:(NSDictionary *)batchParameters
Parameters
- request
A request to be included in the round-trip when start is called.
- handler
A handler to call back when the round-trip completes or times out.
- batchParameters
The optional dictionary of parameters to include for this request as described in Graph API Batch Requests. Examples include “depends_on”, “name”, or “omit_response_on_success”.
Discussion
@method
@abstract This method adds an FBRequest object to this connection.
@discussion The completion handler is retained until the block is called upon the completion or cancellation of the connection. This request can be named to allow for using the request’s response in a subsequent request.
Declared In
FBRequestConnection.h
cancel
@method
- (void)cancel
Discussion
@method
@abstract Signals that a connection should be logically terminated as the application is no longer interested in a response.
@discussion Synchronously calls any handlers indicating the request was cancelled. Cancel does not guarantee that the request-related processing will cease. It does promise that all handlers will complete before the cancel returns. A call to cancel prior to a start implies a cancellation of all requests associated with the connection.
Declared In
FBRequestConnection.h
initWithTimeout:
@method
- (instancetype)initWithTimeout:(NSTimeInterval)timeout
Parameters
- timeout
The
NSTimeInterval
(seconds) to wait for a response before giving up.
Discussion
@method
@abstract
FBRequestConnection
objects are used to issue one or more requests as a single
request/response connection with Facebook.
@discussion
For a single request, the usual method for creating an FBRequestConnection
object is to call one of the start* methods on FBRequest. However, it is
allowable to init an FBRequestConnection
object directly, and call
addRequest:completionHandler: to add one or more request objects to the
connection, before calling start.
Note that if requests are part of a batch, they must have an open FBSession that has an access token associated with it. Alternatively a default App ID must be set either in the plist or through an explicit call to [FBSession defaultAppID].
Declared In
FBRequestConnection.h
start
@method
- (void)start
Discussion
@method
@abstract This method starts a connection with the server and is capable of handling all of the requests that were added to the connection.
@discussion
Errors are reported via the handler callback, even in cases where no
communication is attempted by the implementation of FBRequestConnection
. In
such cases multiple error conditions may apply, and if so the following
priority (highest to lowest) is used:
FBRequestConnectionInvalidRequestKey
– this error is reported when an FBRequest cannot be encoded for transmission.FBRequestConnectionInvalidBatchKey
– this error is reported when any request in the connection cannot be encoded for transmission with the batch. In this scenario all requests fail.
This method cannot be called twice for an FBRequestConnection
instance.
Declared In
FBRequestConnection.h


Your goal weight: {{currentUser.goalWeight}} lbs
Lets accomplish this by: {{goalDate}}
Recommended Daily Caloric Intake: {{totalCalories}}


Bayside Christmas Adventure
Lights Drive Thru
{{.Slot.Format "Jan 02 3:04pm"}}
Present this ticket on your mobile device (printed tickets work too) for the date/time shown at
Bayside Adventure, 6401 Stanford Ranch Rd, Roseville, CA, 95678
{{ with $.Guest }}
My Tickets
{{ end }}


Bing announce new AI-based improvements in image search
by SururMicrosoft’s Bing search engine has announced new AI-based improvements to their Bing search engine, particularly the image search section. The improvements enable multi-granularity matches, improved understanding of user queries, images and webpages, as well as the relationships between them.
A bit like Google, Microsoft now incorporated BERT/Transformer technology leveraging 1) pre-trained knowledge to better interpret text information – especially for above mentioned hard cases; 2) attention mechanism to embed the image and webpage with the awareness of each other, so that the embedded document is a good summarization of the salient areas of the image and the key points on the webpage.
Microsoft also extracts a select set of object attributes from both query and candidate documents, and to use these attributes for matching.
This allows Microsoft to match the query {elderly man swimming pictures} with similar attributes from the image content and its surrounding text. Now the query and document can be considered a “precise match” since they share the same attributes. This is useful for more precise searches where users are searching for items with multiple specific features e.g. {blonde man with a mustache}, {dance outfits for girls with a rose})
Microsoft also automatically generate metadata for documents, including images, which is then more easily matched with searches. One of the most useful types of metadata is called “BRQ” – Best Representative Query. BRQs are typically a good summarization of the main topics of the webpage and the major image content. The process of generating BRQs for Bing images also heavily relies on many modern deep learning techniques.
Microsoft says the techniques have had a real impact on the usefulness and accuracy of their search engine, illustrated by the response of Bing to the query {car seat for Chevy impala 96} over the years.
Microsoft says Bing Image Search now offers a deeper semantic understanding of user queries. Deep learning buffs can read all the details at Microsoft here.


|
|
| |
Many usefull SNACs contain special block with online user information. This block
allways contain screenname (uin), warning level and number of TLVs in TLV chain.
TLV chain contain additional user information like DC info, status, user class,
idle time, online time, external ip address, account registration time, etc...
Here is the list of SNACs that contain userinfo block: SNAC(03,0B), SNAC(04,07),
SNAC(0E,06), SNAC(01,0F), SNAC(01,10), SNAC(02,06), ... Most of them contain just
three TLVs: user class, idle time, online time.
Note that you may find TLV not listed here in userinfo block. If you have such
new TLV, please send it to author of this documentation.


Predictive Analytics - Top 5 Trends Going Forward
At one time, when a business or IT person spoke of “business analytics,” they were talking primarily about reporting. Today, the reporting function would more likely be termed “business intelligence” Business analytics has evolved and expanded into an area that just five years ago was considered the exclusive domain of the technically esoteric; predictive analytics, or, the ability to take data and turn it into actionable information. Like airlines with their sophisticated yield management algorithms, businesses are trying to determine who will do what, when and for what price?
There are a number of trends beginning to surface on the predictive analytics front, and all promise to improve the way business is conducted. Some of the top trends include the following..
Big Data
Until recently, big data consisted of disconnected bits of information from social networking, tweets, emails, RFIDs etc. wandering aimlessly through the ether. But now, the technology (Hadoop, for example) exists to gather and analyze this massive information bank.
Expansion of the user base
As predictive analysis tools become more user friendly, they will become a more accessible resource for business users. This will create the critical mass necessary to make predictive analytics a common practice, and will spur the continued development of new and better tools.
The Cloud
This goes hand in hand with item 2. Just as better software tools will expand user access to predictive analytics, the cloud will expand company access by eliminating the need for expensive infrastructure investment and maintenance. However, some are skeptical that the cloud will play a major role in the near term. Gartner, for example, predicts a penetration of just 3% of the market in 2013.
Mobile
Everything is going mobile these days, including applications devoted to predictive analytics. Tools that aren’t mobile-enabled will fall behind, regardless of their effectiveness. As such, the push by software vendors to develop solutions that are enabled for mobile devices will continue at a rapid pace.
Support for Unstructured Data Analysis
oftware vendors today are providing solutions that can marry structured data with unstructured data. From a predictive analytics standpoint, this is a huge value add. By being able to include comments and notes, for example, a predictive model can contain much more complete and accurate data, and increase its accuracy.
Conclusion
These are five of the top trends in predictive analytics today, but in a field that is rapidly evolving and expanding, there is no guarantee that tomorrow won’t bring new technologies, new trends, and new opportunities. One thing is abundantly clear, however; the days of decision-making by crystal ball or simply looking backward are gone forever.


About Me
Hi, I'm Alice! You're probably
looking
for a more important Alice Yu than this one, but now that I have your attention anyway,
here's
some
information about me!
I am currently a student at the UT Coding Bootcamp. If you're looking for someone to do some
sloppy,
elementary code for you, you've come to the right place!
My previous employment experience includes hostessing at Trudy's
Tex-Mex, creating deliciously happy memories at In-N-Out
Burger,
and
various other activities that have nothing to do with coding.


|
AZX (AppZone eXtensions) documentation
1.1.9-CxL
A set of companion utilities that make AZ development easier
|
Functions that can be used to perform HTTP operations. More...
Data Structures | |
| struct | AZX_HTTP_HEADER |
| HTTP header structure. More... | |
| struct | AZX_HTTP_SSL |
| HTTP SSL structure. More... | |
| struct | AZX_HTTP_URL |
| HTTP URL structure. More... | |
| struct | AZX_HTTP_INFO |
| The HTTP operation structure. More... | |
Functions | |
| int | azx_http_get (AZX_HTTP_INFO *hi, char *url) |
| Run a HTTP GET request. More... | |
| int | azx_http_head (AZX_HTTP_INFO *hi, char *url) |
| Run a HTTP HEAD request. More... | |
| int | azx_http_post (AZX_HTTP_INFO *hi, char *url) |
| Run a HTTP POST request. More... | |
| UINT8 | azx_http_getCID (void) |
| Return configured CID. More... | |
Header defines | |
| #define | AZX_HTTP_H_FIELD_SIZE 512 |
| #define | AZX_HTTP_H_READ_SIZE 2048 |
| #define | AZX_HTTP_H_CHUNK_SIZE 50 |
Functions that can be used to perform HTTP operations.
| #define AZX_HTTP_H_CHUNK_SIZE 50 |
Max chunk header size in bytes
| #define AZX_HTTP_H_FIELD_SIZE 512 |
Max size in bytes for each header field
| #define AZX_HTTP_H_READ_SIZE 2048 |
Max size in bytes for a single read operation from the remote server
| int azx_http_get | ( | AZX_HTTP_INFO * | hi, |
| char * | url | ||
| ) |
Run a HTTP GET request.
Run a HTTP GET request using the URL info and the additional info stored in HTTP_INFO info
| [in,out] | hi | AZX_HTTP_INFO struct used to provide additional data for the request (i.e the HTTP authentication type) and store the retrieved metadata from the header |
| [in] | url | the URL to parse for the HTTP request |
Refer to azx_http_initialize() azx_http_SSLInit() azx_http_set_CB()
Sample usage
| UINT8 azx_http_getCID | ( | void | ) |
Return configured CID.
This function will return the configured CID
Refer to azx_http_initialize
| int azx_http_head | ( | AZX_HTTP_INFO * | hi, |
| char * | url | ||
| ) |
Run a HTTP HEAD request.
Run a HTTP HEAD request using the URL info
| [in,out] | hi | AZX_HTTP_INFO struct used to store the retrieved metadata from the header |
| [in] | url | the URL to parse for the HTTP request |
Refer to azx_http_initialize() azx_http_SSLInit() azx_http_set_CB()
Sample usage
| int azx_http_post | ( | AZX_HTTP_INFO * | hi, |
| char * | url | ||
| ) |
Run a HTTP POST request.
Run a HTTP POST request using the URL info and the additional info stored in HTTP_INFO info
| [in,out] | hi | AZX_HTTP_INFO struct used to provide additional data for the request (i.e the POST data) and store the retrieved metadata from the header |
| [in] | url | the URL to parse for the HTTP request |
Refer to azx_http_initialize() azx_http_SSLInit() azx_http_set_CB()
Sample usage


Home
Character Select
Marvel
Contact Me
Code to Save The Day!
-- select a character --
Hulk
Thor
Iron Man
Captain America
Storm
Start
Data provided by Marvel. © 2014 Marvel


Upstox API Nodejs client
The official Javascript node client for communicating with the Upstox APIs.
Upstox Node Js Library provides an easy to use wrapper over the HTTPs APIs. The HTTP calls have been converted to methods and their JSON responses. Moreover we provide websocket connection to get live updates of order and trade.
Installation
This module is installed via npm:
npm install --save upstox
Documentation
Prerequisites
node version 6 and above
Getting started with API
Authentication with Oauth
To start using upstox services -
Require Upstox -
var Upstox = require("upstox");
Create an upstox object by passing apiKey as a parameter. (Note: apiKey is required field)
var upstox = new Upstox("your apiKey");
Get authentication url with getLoginUri method. Params required are - * redirect_uri (provided while creating the app on developer console of Upstox)
var loginUrl = upstox.getLoginUri(your-redirect-uri);
Upstox Login screen will appear and in that you need to input your user_id and password provided by Upstox.
On completion of authentication user will be redirected to the redirect_uri with code added in query parameter.
AccessToken is required for getting authenticated with all subsequent API calls. Steps to generate accessToken:
getAccessToken method requires following- var params: { "apiSecret" : "your_apiSecret", "code" : "your_code_generated_in login", "redirect_uri" : "your_redirect_uri" }; var accessToken; upstox.getAccessToken(params) .then(function(response) { accessToken = response.access_token; }) .catch(function(err) { // handle error });
Set access token by invoking method called setAccessToken(your_access_token); // pass the accessToken generated in response with getAccessToken.
upstox.setToken(accessToken);
Examples
Subsequent services can be called as shown in below
// You can have other api calls here.
var loginUrl = upstox.getLoginUri("your_redirect_uri");
console.log("**************** loginUri ***********" + loginUrl);
// GetProfile
upstox.getProfile()
.then(function (response) {
console.log(response);
})
.catch(function(error){
console.log("Error", error);
});
// Get Balance
upstox.getBalance({type: "security"}) // type can be security or commodity
.then(function(response) {
console.log(response);
})
.catch(function(err) {
console.log(err);
});
// Get Master Contract
/* Exchanges */
upstox.getMasterContract({exchange: "nse_eq", symbol: "reliance"})
.then(function(response) {
console.log(response);
})
.catch(function(err) {
console.log(err);
});
// PlaceOrder Note : default product = I i.e intra day order will be placed.
var orderObject = {
transaction_type:"b",
exchange:"NSE_EQ",
symbol: "RELIANCE",
quantity: 1,
order_type:"m"
};
upstox.placeOrder(orderObject)
.then(function(response) {
// Order details received
console.log(response);
})
.catch(function(err) {
// Something went wrong.
console.log(err);
});
Websocket
Every service returns a promise which will either be resolved or rejected.
*
* Websocket services are available for following events -[live data, position updates, tradeUpdates, liveFeeds]
*
* To get an active socket connection use connectSocket Method.
// Socket
upstox.connectSocket()
.then(function(){
// Socket Connection successfull
// Now you can setup listeners
upstox.on("orderUpdate", function(message) {
//message for order updates
});
upstox.on("positionUpdate", function(message) {
//message for position conversion
});
upstox.on("tradeUpdate", function(message) {
//message for trade updates
});
upstox.on("liveFeed", function(message) {
//message for live feed
});
upstox.on("disconnected", function(message) {
//listener after socket connection is disconnected
});
upstox.on("error", function(error) {
//error listener
});
//You can call upstox.closeSocket() to disconnect
}).catch(function(err) {
// Something went wrong.
})
Test
npm test // Please add the oauth token details in testData.json
License
Licensed under the MIT License.


Home
Products Catalog
Contact
About
Welcome PS Photography
We are the leading Nikon's lenses and general photography equipments retailer in Chiang Mai. We have a range of products to meet your photographic needs.


Number of jobs in view: {{ view.allJobs.length }}
Number of tests: {{ testReport.cases.length }}
Pass rate: {{ testReport.passRate | percentage:0 }} - {{ testReport.passingTests }} tests
Fail rate: {{ testReport.failRate | percentage:0 }} - {{ testReport.failingTests }} tests
Skipped rate: {{ testReport.skippedRate | percentage:0 }} - {{ testReport.skippedTests }} tests
Unstable rate: {{ testReport.unstableRate | percentage:0 }} - {{ testReport.unstableTests }} tests
| {{ job.displayName }} | {{ job.builds.length }} | {{ job.report.passRate | percentage }} | {{ job.report.unstableRate | percentage }} | {{ job.report.failRate | percentage }} | {{ job.report.skippedRate | percentage }} | {{ job.report.cases.length }} | {{ job.passRate | percentage:0 }} |
Found {{ search.testSearchResults.length }} results for '{{ search.testSearch }}'.
| {{ n }} |


I work in a successful dental practice. As you might imagine, I can get my hands on such candies as Xanax, Percocet, Lortab, and Tylox (Tylenol 3). I am allergic to codeine, however, and I suffer from acute anxiety disorder (panic attacks). Part of my job description involves orders with the drug companies. As you can imagine, dentists offices always have Xanax and Valium onhand to sedate nervous patients. As a result, I have nearly unlimited access to these sedatives.
I first started taking Xanax recreationally about a year ago. After my initial over-the-top experimentation, I got bored with it. I have, however, recently begun taking larger-than-recommended doses for the high it gives you.
Here is my drug journal for one evening with Xanax:
T = 0:00: I take one 0.5 mg pill on an empty stomach.
T + 00:30: Definitely feeling the Xanax kick in. My limbs are a bit heavy and my thoughts are dreamy and sort of weird.
T + 1:00: I take another 0.5 mg pill. I chew it for maximum effectiveness. My god, this stuff tastes worse than E.
T + 1:15: The second pill is definitely kicking in. My limbs feel heavy and I kind of want to lie down. No rest for the weary, however, and I eat other 0.5 mg. tablet and have begun drinking green tea for the caffeine and antioxidants.
T + 1:45: The pills are really kicking in now. I feel calm, relaxed, and even a bit euphoric.
 The music I'm listening to (Stereolab) sounds absolutely awesome, though. Very relaxing and I'm starting to feel sexually aroused. Not sure if this is the Xanax or not though. Also, I'm having trouble typing this narrative. I'm normally a very quick and accurate typist when sober, but I seem to keep forgetting spellings and my fingers feel clumsy. I'm also a bit chilled, though I'm dressed warmly. Perhaps it's because I've been fasting all day in anticipation of this little experiment.
 I eat other pill, bringing the current total to 2 mg.  My coordination is fucked--I've now eaten the equivalent of a bar, but I want to take it farther. Since the max. recommended daily dose is 10mg per day, I feel confident that a few more 0.5 mg tablets can't hurt. I will wait a few minutes, though.
T + 2:45: I take another 0.5 mg tablet,and my short-term memory is beginning to suffer. I noticed that I have not one, not two, but THREE lit cigarettes smoldering in the ashtray. Oops. It's also time to fold my laundry. Will let you know how it goes.
T+ 3:00: Folding my laundry took a long time, and I kept dropping things. This is a bit like being drunk, just without the sickness or stupidity. I am now becoming a bit drowsy and I suspect I will sleep quite soundly tonight.
Xanax is a wonderful pharmy, but I would not suggest trying my eventual dosage of 3 milligrams all at once. Spacing out the pills makes it easier to notice their increasing effects as they accumulate. Start small and work your way up from there. My effects were quick to take hold, but I also fasted and am quite experienced in eating this weird pill.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Menu
Exploring the
Unseen
Commissions and Process
About Me
Self Portraits
Contact
Commissions and Process
Matthys: Mixed Media on Canvas
View Process
Mareth: Acrylic and Oil on Canvas
View Process
Chris: Watercolour, Acrylic and Charcoal on Paper
View Process
Anneke: Watercolour and Charcoal on Paper
View Process
Hugh: Mixed Media on Canvas
View Process
Previous
Next
"The world behind my eyelids" - Mareth
"This is the mirror that I needed to understand what's going on with me right now after all that has happened" - Anneke
"When I look at this picture of myself, what I see is truth" - Hugh


Home
Dashboard
My commissions
Back
Back
Complete commission fields and press button Add
If you want to demand some additional part,
please write number of it then click GENERATE
GENERATE
Plate number:
Brand:
Model:
Vintage:
Description of failure:
Mechanic will be choose automatically.
Choose mechanic:
Add!