Michael Beswetherick, Joe Kohlmann<EMAIL_ADDRESS>Nested Year Timelines is a hierarchical timeline visualization that supports exploring large sets of news articles retrieved from the New York Times Article Search API.
You should definitely go play with Nested Year Timelines at keynotesavant.com. (Be gentle and patient with that server, please!)
Again, check out the live version of NYT at keynotesavant.com if you haven't already.
If you're about to clone this repository and try to get this working on your own, keep reading.
First, get the code at GitHub: https://github.com/CSE512-14W/fp-mbesweth-kohlmann
This is a Python job, so you'll need the following software to run Nested Year Timelines:
Once you've cloned the repository, check out the flask
folder. Inside you'll find config_example.py
, which you should duplicate and rename config.py
. Open it up and you'll see something like this:
class Config(object):
DEBUG = False
# NYT Article Search API Key
# Request a key at http://developer.nytimes.com
SEARCH_API_KEY = "PASTE_API_KEY_HERE"
CACHE_ROOT = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"static",
"cache"
)
ARTICLE_SEARCH_ROOT = os.path.join(
CACHE_ROOT,
"ArticleSearch"
)
QUERY_CACHE_PATH = os.path.join(
CACHE_ROOT,
"queries.json"
)
class DevelopmentConfig(Config):
DEBUG = True
Visit developer.nytimes.com, create a user account, and register your application for use with the Article Search API.
NYT will give you an API key, which you should paste into config.py
to set the value of SEARCH_API_KEY
to a valid API key string.
If you're just on your local machine, invoke python
on the command line to start the Flask web server on http://localhost:5000:
$ cd path/to/repo
$ cd flask
$ python app.py
Loaded cached queries from disk.
* Running on http://<IP_ADDRESS>:5000/
Check out flask/static/cache/
for three (count 'em, three) types of cache files:
queries.json
, which lists recent queries (for which there may exist cached data)ArticleSearch
folder, 61c5cce1ba03475e.json
(or something like that) is a cached JSON file containing all the NYT Article Search API results for a certain query.
nyt_api.ArticleSearch.get_hash_for_query
for more on how those file names are generated.61c5cce1ba03475e.json
contains the cached results for the query fq=persons:("Obama, Barack")
, however.ArticleSearch
folder, 64d2ae7086249faf_reduce_by_year_and_month_with_multimedia.json
is a cache file containing the reduced data set that actually gets loaded into Nested Year Timelines. These are both smaller and easier to regenerate, so get rid of them whenever you want.Things should be up and running. Don't forget to have fun!


CLI Internals¶
The following page describes the internal API used by the Command Line Pipeline. This function and objects are not meant for interactive usage.
velocyto.counter module¶
-
class
velocyto.counter.
ExInCounter
(valid_bcs2idx: typing.Dict[str, int] = None) → None[source]¶ Bases:
object
Main class to do the counting of introns and exons
-
bclen
¶
-
static
parse_cigar_tuple
(pos: int) → typing.Tuple[[typing.List[typing.Tuple[int, int]], bool, int], int][source]¶
-
velocyto.molitem module¶
-
class
velocyto.molitem.
Molitem
(gene: velocyto.genes.Gene) → None[source]¶ Bases:
object
Keeps track of the alignments (to intervals of one gene) of all reads corresponding to the same molecule
-
gene
¶
-
has_some_spliced_read
¶
-
ivlhits
¶
-
velocyto.transcript module¶
-
class
velocyto.transcript.
Transcript
(trname: str, trid: str, genename: str, geneid: str, chrom: str, strand: str) → None[source]¶ Bases:
object
Object rappresenting a transcript
-
trname
¶
-
trid
¶
-
genename
¶
-
geneid
¶
-
chrom
¶
-
strand
¶
-
sorted_ivls
() → typing.Iterable[source]¶ Returns sorted intervals of both exons and introns using only the exons
-
exons_sorted
¶
-
velocyto.genes module¶
-
class
velocyto.genes.
Gene
(genename: str, geneid: str, chrom: str, strand: str, nbcs: int, genestart: int = 0, geneend: int = 0) → None[source]¶ Bases:
object
-
genename
¶
-
geneid
¶
-
chrom
¶
-
strand
¶
-
lastexon_end_pos
¶
-
spliced_mol_counts
¶
-
ambiguous_mol_counts
¶
-
unspliced_mol_counts
¶
-
deduced_tr_end
¶
-
start
¶
-
end
¶
-
read_start_counts_from_locus_end
¶
-
get_spliced_mol_counts
(bcidx: int) → int[source]¶ Molecule counts that are exonic in all transcript models [ordered by barcode index]
-
get_ambiguous_mol_counts
(bcidx: int) → int[source]¶ Molecule counts that are exonic in some but not all transcript models [ordered by barcode index]
-
get_unspliced_mol_counts
(bcidx: int) → int[source]¶ Molecule counts that are intronic by all transcript models [ordered by barcode index]
-
get_lastexon_counts
() → typing.Tuple[int, int][source]¶ return the tuple: (read count spanning most 3’ intron-exon junction, read count on most 3’ exon)
-
validate_intron_ivls
() → None[source]¶ Annotate the introns that can safely be used for intron molecule counting => either flanking exon is sure an exon and has >= 1 read spanning junction
-
ivlinside_read_counts
¶
-
ivljunction3_read_counts
¶
-
ivljunction5_read_counts
¶
-
ivls
¶
-
velocyto.intervals module¶
-
class
velocyto.intervals.
Interval
(start: str, end: str, gene: velocyto.genes.Gene, ivlidx: int, ivltype: str, is_last3prime: bool) → None[source]¶ Bases:
object
Holds an exon/intron interval read from the interval file
-
start
¶
-
end
¶
-
gene
¶
-
ivlidx
¶
-
ivltype
¶
-
is_last3prime
¶
-
is_maybe_exon
¶
-
is_sure_exon
¶
-
is_sure_intron
¶
-
is_sure_valid_intron
¶
-
ends_upstream_of
(read: velocyto.read.Read) → bool[source]¶ - The following situation happens
- Read
*|||segment|||-?-||segment|||????????
???????|||||Ivl|||||||||*
-
starts_upstream_of
(segment: typing.Tuple[int, int]) → bool[source]¶ The following situation happens
*||||||segment|||||????????*|||||||||||||Ivl||||||||||????????????
-
contains
(segment: typing.Tuple[int]) → bool[source]¶ The following situation happens
||||||segment||||||||||||||||||Ivl||||||||||||||||
-
-
class
velocyto.intervals.
IntervalsIndex
(ivls: typing.List[velocyto.intervals.Interval]) → None[source]¶ Bases:
object
Search help class used to find the intervals that a read is spanning
-
last_interval_not_reached
¶
-
has_ivls_enclosing
(read: velocyto.read.Read) → bool[source]¶ Finds out if there are intervals that are fully containing all the read segments
Parameters: read (vcy.Read) – the read object to be analyzed Returns: respones – if one has been found Return type: bool
-
find_overlapping_ivls
(read: velocyto.read.Read) → typing.Tuple[set, typing.Dict[typing.Any, int]][source]¶ Finds the overlap between Read and intervals
Parameters: read (vcy.Read) – the read object to be analyzed Returns: - matchgenes (set) – the genes that the read is overlapping with
- matchivls (dict: {vcy.Interval: int}) – A dictionary with keys the intervals that the read is overlapping with and values the kind of overlapping it is one of vcy.MATCH_INSIDE (1), vcy.MATCH_OVER5END (2), vcy.MATCH_OVER3END (4)
-
velocyto.read module¶
-
class
velocyto.read.
Read
(bc: str, umi: str, chrom: str, strand: str, pos: int, cigar: str, segments: typing.List, clip5: typing.Any, clip3: typing.Any, spliced: bool) → None[source]¶ Bases:
object
Container for reads from sam alignment file
-
bc
¶
-
umi
¶
-
chrom
¶
-
strand
¶
-
pos
¶
-
cigar
¶
-
segments
¶
-
clip5
¶
-
clip3
¶
-
spliced
¶
-


{% if form.errors %}
Invalid Stock info
{% endif %}
Click to view stock records.
Invalid Student info
Click here to view stock records.


Travel Guide India!
Top most beautiful states to visit in India
1.Kerala
Kerala is one of the prettiest
states, rightfully dubbed ‘God’s Own Country’. Here you will find pristine beaches at Kovalam, Muzhappilangad and Varkala. Besides beaches, the state also has a plethora of historical monuments, enthralling waterfalls and some breathtaking hill stations. There are also plenty of ecotourism drives conducted to promote sustainable tourism.
Places to Visit in Kerala
- Alleppey: Dubbed the ‘Venice of the East’, Alleppey has many backwater channels interconnected in the city where you can rent houseboats.
- Munnar: Known for its tea plantations, Munnar is one of the most visited hill stations in Kerala.
- Kumarakom: With alluring flora and fauna as well as numerous lakes, Kumarakom is one of the most serene places in Kerala
2.Rajasthan
Rajasthan will tell you stories about wars, victories, romances and men of valor. Rajasthan is the land of kings and has a rich history. You can see palaces, archaic monuments and staggering forts. It is also home to the largest Indian desert, Thar Desert, famous for its dunes and desert safaris.
Places to Visit in Rajasthan
- Jaisalmer: In the heart of the Thar desert, the city reflects a golden hue from the sunlight and is nicknamed “The Golden City”.
- Jaipur: The capital of Rajasthan is home to many palaces with the City Palace and Amber Fort being the most visited.
- Jodhpur: Called the ‘Blue City’ thanks to its buildings that are painted with the colour, Jodhpur is an absolute delight to visit.
3.Goa
Goa boasts flawless beaches and mesmerizing sunsets. It is known for its local cuisine, especially seafood. There are a lot of water sports activities held here. Stroll through Goa to marvel at its Portuguese churches and diverse landscapes. It is also one of the smallest states in India and easy to fully explore.
Places to Visit in Goa
- Bom Jesus Basilica: One of the oldest churches in Goa, go here to admire the architecture.
- Arambol Beach: One of the most laid-back beaches; with plenty of food options, it is perfect for a lazy day.
- Mapusa Market: Buy handicrafts, artworks, clothes and accessories. Shop for souvenirs to take back home in this market.
4.Himachal Pradesh
Himachal Pradesh lies in the foothills of the Himalayan mountain range, and you can see the snow-capped mountains amidst the lush greenery. There are a number of great hill stations to visit. Rock climbing, mountain biking, paragliding, and heli-skiing are some adventure activities conducted in this state.
Places to Visit in Himachal Pradesh
- Kulu: Known as the valley of the gods, Kullu is situated on the banks of the Beas River and is one of the most frequented tourist spots.
- Manali: Manali is a town famous for the plethora of sporting activities it has to offer that will certainly up your fitness quotient.
- Shimla: Once the summer capital of the Britishers ruling India, with snow-capped peaks in the backdrop, Shimla is a picture-perfect location.


Generates fingerprint values.
tf.compat.v1.fingerprint
tf.compat.v2.fingerprint
tf.fingerprint( data, method='farmhash64', name=None )
Generates fingerprint values of data
.
Fingerprint op considers the first dimension of data
as the batch dimension,
and output[i]
contains the fingerprint value generated from contents in
data[i, ...]
for all i
.
Fingerprint op writes fingerprint values as byte arrays. For example, the
default method farmhash64
generates a 64-bit fingerprint value at a time.
This 8-byte value is written out as an tf.uint8
array of size 8, in
little-endian order.
For example, suppose that data
has data type tf.int32
and shape (2, 3, 4),
and that the fingerprint method is farmhash64
. In this case, the output
shape is (2, 8), where 2 is the batch dimension size of data
, and 8 is the
size of each fingerprint value in bytes. output[0, :]
is generated from
12 integers in data[0, :, :]
and similarly output[1, :]
is generated from
other 12 integers in data[1, :, :]
.
Note that this op fingerprints the raw underlying buffer, and it does not fingerprint Tensor's metadata such as data type and/or shape. For example, the fingerprint values are invariant under reshapes and bitcasts as long as the batch dimension remain the same:
tf.fingerprint(data) == tf.fingerprint(tf.reshape(data, ...)) tf.fingerprint(data) == tf.fingerprint(tf.bitcast(data, ...))
For string data, one should expect tf.fingerprint(data) !=
tf.fingerprint(tf.string.reduce_join(data))
in general.
data
: A Tensor
. Must have rank 1 or higher.method
: A Tensor
of type tf.string
. Fingerprint method used by this op.
Currently available method is farmhash64
.name
: A name for the operation (optional).A two-dimensional Tensor
of type tf.uint8
. The first dimension equals to
data
's first dimension, and the second dimension size depends on the
fingerprint algorithm.


Maria Tsiakmaki | Argyris Besinas | Konstantinos Karaoglanoglou
IT Center of AUTH
Erasmus Without Paper (EWP) is a project co-funded by the European Commission targeting:
The current ongoing project Erasmus Without Paper 2.0 will run throughout 2018 and 2019.
More attention is given to support universities that do not have IT-solutions.
Consortium of 14 partner institutions composed of public institutions, higher education organisations, and companies from 8 European countries along with 12 associate partners.
Consists of various entities as APIs.
Each institution determines which of these APIs are going to be implemented.
Catalogue which describes all the institutions and APIs implemented by them.
The Registry functions like a phonebook in the EWP network.
HEI/API Coverage Matrix
Each institution publishes its manifest file in the EWP network.
The manifest contains all relevant information of the participant institution.
When modifications/changes occur in the manifest file, they are automatically reflected in the registry.
AUTH's Manifest FileErasmus Without Paper - Competence Centre | https://cc.erasmuswithoutpaper.eu/
Architecture and Common Datatypes | https://github.com/erasmus-without-paper/ewp-specs-architecture
EWP Registry Service | https://registry.erasmuswithoutpaper.eu/
DEV Registry Service | https://dev-registry.erasmuswithoutpaper.eu/
Developers Hub - Specifications, Validators and Tools | https://developers.erasmuswithoutpaper.eu/
Github | https://github.com/erasmus-without-paper
LinkedIn group | https://www.linkedin.com/groups/13590744/
Contact: kkaraogl@it.auth.gr


Suspect broke into 11 Mississauga homes while residents slept: police
by Chris Fox, CP24.comA 28-year-old man has been arrested after allegedly breaking into nearly a dozen Mississauga homes while residents slept earlier this week.
Police say that the break-ins targeted eleven different homes on Swiftcurrent Trail in the Hurontario Street and Bristol Road with all of them taking place between 2 a.m. and 6 a.m. on Tuesday morning.
It is alleged that the suspect entered the homes while homeowners slept and made off with more than $1,000 in cash and various other property.
He was eventually identified thanks to video surveillance footage from one of the homes, police say.
He is charged with five counts of break and enter, six counts of break and enter with intent and breach of recognizance. He will be appearing before the Ontario Court of Justice in Brampton today.


wl-paste
Tool to access data stored in the clipboard for Wayland.
See also: `wl-copy`.
More information: home page
- Paste the contents of the clipboard:
wl-paste
- Write the contents of the clipboard to a file:
wl-paste > path/to/file
- Pipe the contents of the clipboard to a command:
wl-paste | command


Weekly Pregnancy Updates: Week 35
My mornings:
“Yay, new day! ENERGY! Coffee – what’s that!? Yoga! Slam weights! Chase Caleb! BAGELS! Cook all of the things! My pants fit! HAPPY!
My nights:
“YOU DID THIS TO ME!  NO MORE KIDS! Chocolate! FOOT RUB! MOAR CHOCOLATE! MY ANKLES ARE HUGE! Is it bed time yet!? Why don’t my pants fit anymore!?!?!?   Blog? PSH Yeah right! ZZZZZZZ…”

How far along? 35 weeks..which means 2 weeks till full term. SOMEONE PINCH ME!
How big is baby? All of the websites say around 5-6 pounds. I say, I’m carrying a teenager.
How I’m feeling? I’m ready to have this baby! I can’t wait to meet our baby girl, kiss her squishy cheeks, and let Caleb hold her. He plays with my belly all the time, I think he knows what’s up. Plus I can’t wait to double the adorableness in this house! 🙂
Weight? Still huge. And still not measuring my weight at home (go me – huzzah!). I’ll find out at my doctors appointment in a few days.
How I’m changing? Last update I said that one of the ways I’m changing is that I’m nervous about juggling two kids. A change from that is that I now feel this overwhelming sense of calm. I’ve realized that it is what it is. Whatever happens, happens for a reason and I’m okay with that.
What I miss? Still missin’ the same ol’. I can’t wait to push myself in workouts and drown myself in wine. Almost there!
Symptoms? I get braxton hicks EVERY.SINGLE.NIGHT. They’re pretty strong and sometimes even painful. It has me worried that I won’t be able to decipher between braxton hicks contractions and real labor because with my labor with Caleb, none of the contractions were really consistent until the last hour before I delivered, and then they were all of a sudden right on top of each other. I hope I’ll have a clearer labor this time. My last labor was 5 1/2 hours and if this second baby is any faster, I really want to make sure I get to the hospital on time. I just need to make sure I’m actually in labor!
Cravings? Chocolate and fruit. Lots of fruit. And even more chocolate. **
**
Food Aversions? After taking a food handlers course for my volunteer position for the Army today, I now never want to eat chicken or step foot into a buffet restaurant ever again.
**Supplements? Vitamins and minerals are essential to ensure that Braxton and I get the proper nourishment. A vitamin D supplement is suggested since I plan on breast feeding. I have also been supplementing 400 micrograms of folic acid each day.</p>
Highlights this week? We got baby A’s clothes organized and the hubs took “maternity” pics of me! We’re too cheap to pay for professional ones and just wanted a simple picture to place in baby A’s nursery.
And that’s it for this weeks update! To my local friends, there’s a lot going on in town this weekend so make sure you follow me on Facebook as I’ll be sharing updates on all of the local shenanigans.
Have an amazing weekend!
« Pregnancy Update: 32 Weeks
Avocado Honey Hair Mask »


--- title: Schedule navbar: Schedule layout: default ---
The following is the current weekly schedule. This schedule is subject to change and will be frequently updated throughout the semester. The latest deadlines may also be found on Canvas.
{% for week in site.data.schedule.weeks %} {% include week.html week = week %} {% unless forloop.last %}


Readers will recall that the octogenarian crone Mrs Gubbins has returned to her duties running various important aspects of the Hooting Yard empire. After being on the run from the police and gaining sanctuary with the Tundists for a few months, she seems revitalised, and in among everything else she is writing her autobiography. I crept into her office the other day and stole a few pages of the manuscript, extracts of which will appear here from time to time.
After my divorce from the man who liked to sing Shenandoah morning noon and night, setting my teeth on edge, I became a flapper and spent the next five years going from one party to another. I doubt that any of the demimondaines I canoodled with had any idea that, between parties, I was lecturing at various colleges on the history of bell-ringing and the doctrine of transubstantiation in the Tudor church. It was through this shared interest that I met Ah-Fang, who became husband number two.
“Bathsheba,” he would say to me, “I often wonder why my parents named me Ah-Fang. After all, my father was Belgian and my mother hailed from the tenebrous, dense forests of northern Finland. My siblings all have names like Jan and Joost and Hakki and Einojuhani.”
“How many siblings have you got, Ah-Fang my sweet?” I would ask, pecking him on the cheek. Then his brow would grow furrowed and he would become morose and mutter something about going out to buy a bottle of dandelion and burdock. I became unhappy at this secretiveness of his, and it grieves me to think that during our eight months together I felt closer to my pet anteater, Desmondo. Nonetheless, I wept for a week when Ah-Fang perished in the Hindenburg disaster. I owe my life to the fact that for once I was not at his side, having that very week been employed to spy on the young Anthony Burgess, or John Wilson as he then was, for reasons I forget. I must say it rains a lot in Lancashire.
Next episode : Mrs Gubbins goes to war
BEAN DISEASES!
A new play by Dennis Cargpan
Scene I
Enter Trimulchio and Vincenzo, Duke of Squallorca
Trimulchio : The principal disease affecting beans is a form of anthracnose caused by a fungus that attacks the stems, leaves, and pods of the bean. It is most visible on pods, in which it causes deep, dark pits.
Vincenzo : Fie, sirrah! To prevent the disease, seeds are carefully selected, and care is taken not to spread the fungus from one plant to another during wet weather.
Exeunt
Scene II
Enter Bostinza, a fop
Bostinza : A type of rust may defoliate bean plants. It first appears as small brown dots containing a brown powder, the spores of the fungus.
Scene III
Enter Trimulchio
Trimulchio : Forsooth! Later the spots become larger and the spores black.
Exeunt, covered in beans.
Curtain


Shoutout to FloweeTheHub which has now been successfully used in mining up to 250MB blocks!
Shoutout to @FloweeTheHub which has now been successfully used in mining up to 250MB blocks. The peak speed of validation reached was 22,500 tx/sec on a desktop computer. Flowee can now do nearly 2 trillion transactions a day!


Happy Chinese Valentine's Day. And this beautiful flower for my sweet girl!
I'm so sorry for can't accompany your side now. Let the rose take my thought to you.
I'm so sorry for can't accompany your side now. Let the rose take my thought to you.


`Tarzan' – Lord of the Animated Jungle by Homer Yen (c) 1999
After watching Disney's latest animated offering, there were a couple of points that stayed with me from the moment that I left the theatre up until now as I sit in front of my computer. The most striking was the terrific animation and level of detail that we've come to expect from Disney animators. The beautiful waterfalls and the indigenous wildlife of the lush African forest are vividly brought to life. And there are three notable scenes that highlight the level of detail at work. The first features Kala (voiced by Glenn Close), a mother Gorilla who saves young baby Tarzan from the jaws of a hungry leopard. Another involves a battle between a now-grown-up Tarzan versus the leopard that almost killed him as a child. And another scene features Tarzan saving a prim, young, lass named Jane (voiced by Minnie Driver) from a pack of hungry beasts. He swings from vine to vine and slides up and down an array of branches with the same look and feel of an Olympic bobsled run. This is nothing less than impressive.
`Tarzan' is about an orphaned baby that is raised in the wilds by gorillas. Kala cares for and adores him like her own son, but her mate and leader of the gorilla pack, Kerchack (voiced by Lance Hericksen) doesn't accept him. He's different from the others, and as the ugly duckling, Tarzan has to convince the protective Kerchack and even his own gorilla play pals that he does belong among his simian siblings. Yet as Tarzan grows older, he does notice innate differences between himself and his mother. He becomes further confused after meeting Jane, the first human that he encounters. He sees that he has physiologically more in common with Jane than he does with his gorilla family. Questions of self-identity and measures of self-worth are brought forth, and now Tarzan wonders what his true calling is. Trying to sort out his loyalties and learning more about himself are ‘family-values' elements at which Disney storytelling excels. Kids can relate easily to this situation. And I think that most kids will also enjoy the clumsy antics of Tarzan's elephant friend, Tantor (voiced by Wayne Knight) and the sardonic wit of Terk (voiced by Rosie O' Donnell).
But the film has a definite feeling of maturity to it. Another subplot, although less intriguing, involved Jane's fellow travelers. One of them is her father (voiced by Nigel Hawthorne) who is on a scientific trip to study the gorillas. The other traveler is Clayton, He purports to be their bodyguard, but he secretly wants to find these gorillas and to capture them for a pretty penny. This rogue is as oily as they come. He senses Tarzan's attraction to Jane and exploits his feelings in order to gain knowledge of the gorillas' secret nesting area. Boo! Hiss!
I have grown used to Disney films as being feel-good adventures filled with humor, song, and color. And maybe that's why Little Mermaid still ranks as my favorite among all of the Disney animated films. This film (and I think recent Disney animated features in general) has purposely tried to be more adult-oriented. For example, many songs in the film are created by contemporary popmeister Phil Collins, while the colors of the film are noticeably paler than Aladdin or Beauty and the Beast or even Pocahontas. Tarzan is surprisingly weighty and Disney films are definitely maturing. But my mind is still humming `Under the Sea.'
Grade: B
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


I am most excited about being able to succeed as a developer and being able to pay back the wonderful opportunity that Code The Dream has given me. Woo-hoo!


Methods
add_help (Needish::Base)
add_need (Needish::Base)
all_needs (Needish::Base)
attributes (Needish::EasyClassMaker::ClassMethods)
attributes (Needish::EasyClassMaker::ClassMethods)
friends (Needish::Base)
friends_needs (Needish::Base)
generic_from_xml (Needish::Need)
generic_view_from_xml (Needish::Need)
helped (Needish::Base)
helps (Needish::Base)
hot_needs (Needish::Base)
included (Needish::EasyClassMaker)
me (Needish::Base)
needs_from_user (Needish::Base)
new (Needish::Base)
new (Needish::EasyClassMaker)
new_from_xml (Needish::User)
new_from_xml (Needish::Friend)
new_from_xml (Needish::Need)
new_from_xml (Needish::Help)
search (Needish::Base)
tag (Needish::Base)
timelines (Needish::Base)
user_needs (Needish::Base)
user_profile (Needish::Base)
view_need (Needish::Base)


{% extends "base.html" %} {% load static %} {% block content %}
A Virginia Tech Tech Together Campaign Application
Department of Physics
Hardware Engineer
Software Engineer
Data Scientist
Finance
Database
Project Leader


way[!boundary][!surface] { width: 1; color: red; } way[boundary] { width: 1; color: blue; dashes: 5,5; }


{{expense.description}}
{{expense.date}}
{{expense.quantity | currency:expense.currency}}
'0'" >{{expense.tip | currency:expense.currency}}


--- title: Debugging Issues layout: page pageOrder: 6 section: 'Mock Server' subsection: true sitemap: priority: 0.7 changefreq: 'monthly' lastmod: 2015-04-18T22:40:27+01:00 ---
MockServer supports the following features to simplify debugging
In addition MockServer has simple and straight forward code that can be easily debugged manually when the logs don't provide enough information to determine why something is behaving as expected.
All interactions with the MockServer are logged including setting up expectations, matching expectations, clearing expectations and verifying requests. The log can be particularly helpful when trying to debug why a test is failing or expectations are not being matched.
The following information is logged:
The TRACE level logging results in a lot of verbose logging but can be very helpful to debug why a complex matcher (such as the JSON Schema matcher) is not matching.
When MockServer is run from the command line, Maven plugin, npm module or Grunt plugin the log is written to a file called mockserver.log in the current working directory where the MockServer is running.
If the MockSever is being launched using the JUnit @Rule or programmatically via an API then a custom logback configuration file to override the default MockServer or MockServer Proxy logging settings. An example logback configuration file is available in github.
A custom logback configuration file can be specified using the logback.configurationFile system property with an absolute or relative file path or a classpath, as follows: -Dlogback.configurationFile=example_logback.xml
A custom logback configuration file will also be automatically picked up if it is called logback.xml and is in the root of the classpath, however, the jar-with-dependencies already contains a logback.xml file, so to override this, the overriding logback.xml file must be higher (i.e. earlier) in the classpath.
When running MockServer directly from the command line the system property mockserver.logLevel can be used to set the log level, as follows:
java -Dmockserver.logLevel=INFO -jar ~/Downloads/mockserver-netty-4.0.0-jar-with-dependencies.jar -serverPort 1080 -proxyPort 1090
It is also possible to specify a custom logback configuration file to override the default MockServer or MockServer Proxy logging settings. An example logback configuration file is available in github.
A custom logback configuration file can be specified using the logback.configurationFile system property with an absolute or relative file path or a classpath, as follows:
java -Droot.logLevel=WARN -Dmockserver.logLevel=INFO -Dlogback.configurationFile=example_logback.xml -jar ~/Downloads/mockserver-netty-4.0.0-jar-with-dependencies.jar -serverPort 1080 -proxyPort 1090
A custom logback configuration file will also be automatically picked up if it is called logback.xml and is in the root of the classpath, however, the jar-with-dependencies already contains a logback.xml file, so to override this, the overriding logback.xml file must be higher (i.e. earlier) in the classpath.
The mockserver-maven-plugin provides a logLevel settings that can be used to define the log level for all MockServer and MockServer Proxy classes, as follows:
<plugin>
<groupId>org.mock-server</groupId>
<artifactId>mockserver-maven-plugin</artifactId>
<version>4.0.0</version>
<configuration>
<serverPort>1080</serverPort>
<proxyPort>1090</proxyPort>
<logLevel>DEBUG</logLevel>
</configuration>
<executions>
<execution>
<id>process-test-classes</id>
<phase>process-test-classes</phase>
<goals>
<goal>runForked</goal>
</goals>
</execution>
<execution>
<id>verify</id>
<phase>verify</phase>
<goals>
<goal>stopForked</goal>
</goals>
</execution>
</executions>
</plugin>
When running MockServer using the mockserver-node Grunt plugin and Node.js (npm) module the verbose option can be used to enable INFO level logging and the trace option can be used to enable TRACE level logging. In addition the --verbose command line flag can be used for Grunt builds to enable the mockserver-node verbose option dynamically.
To disable logging the following options can be used:
-Dmockserver.logLevel=OFF
- to disable logging from the MockServer and MockServer Proxy classes-Droot.logLevel=OFF
- to disable all logging from all other classes (i.e. all none MockServer and MockServer Proxy classes)If logging is disabled then no log file will be created. This is because the log files are only created when the first item is written to the log file.
To simplify debugging MockServer expectations can be dumped to the log at WARN level using pretty-printed JSON.
To dump all expectations to the log use dumpToLog as follows:
new MockServerClient("localhost", 1080).dumpToLog()
mockServerClient("localhost", 1080).dumpToLogs();
client = MockServerClient.new('localhost', 1080)
client.dump_log()
To dump only specific expectations to the log use dumpToLog as follows:
new MockServerClient("localhost", 1080).dumpToLog(
request()
.withMethod("GET")
.withPath("/somePath")
);
mockServerClient("localhost", 1080).dumpToLogs('/somePath');
client = MockServerClient.new('localhost', 1080)
client.dump_log(request(:GET, '/somePath'))
To further understand why an exception is not being matched it is possible to debug the MockServer java code, in the following classes:
Debugging when using the JUnit @Rule or API should be as simple as running your test in debug.
Debugging a remote JVM (i.e. when running MockServer from the command line) typically requires providing the -agentlib:jdwp command line switch, as follows:
java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 -jar ~/Downloads/mockserver-netty-4.0.0-jar-with-dependencies.jar -serverPort 1080 -proxyPort 1090
Maven can be debugged using mvnDebug which using a debug port of 8000, as follows:
mvnDebug test
mvnDebug runs the JVM using the following additional settings: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
If you are using the surefire plugin to run your tests you can debug your tests using the surefire plugin debug options, as follows:
mvn -Dmaven.surefire.debug test
If you are using the failsafe plugin to run your tests you can debug your tests using the failsafe plugin debug options, as follows:
mvn -Dmaven.failsafe.debug verify
To debug the npm module or Grunt plugin you need to provide the javaDebugPort option. This option will enable the following command line switch '-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=' + options.javaDebugPort.
For example debug node module, as follows:
var mockserver = require('mockserver-node');
mockserver.start_mockserver({
serverPort: 1080,
proxyPort: 1090,
javaDebugPort: 5005
});
// do something
mockserver.stop_mockserver();
For example debug Grunt plugin, as follows:
grunt.initConfig({
start_mockserver: {
start: {
options: {
serverPort: 1080,
proxyPort: 1090,
javaDebugPort: 5005
}
}
},
stop_mockserver: {
stop: {
}
}
});
grunt.loadNpmTasks('mockserver-node');


ava
remeber when we went on your boat a few years ago. and we were hungry so we went to subway for lunch. and i somehow lost both of my flip flops in the car. and you were so hungry that you made me walk into subway and order my food with my bare hooves out. and than you almost peed from laughter when the lady infront of us ordering her sandwich started dancing and than gave us a dirty look.


Compared to HTML and CSS, Javascript is a language that makes things happen on webpages. Javascript is used to make a webpage interactive. It can be used to build websites that have tools such as metric to standard unit conversions.
Control flow is the order that processes take place. For example, when going to the grocery store, first I would look for the highest quality product. If it is out of my budget, I would look for the next highest quality product until I find one within my budget. Else, I would not buy anything. Loops are instructions to do something until a condition is met. A real life example of a "for" loop would be running timing a run from lap 0 around a track to lap 5.
An array is like a matrix where every element in the array can be accessed using bracket notation. In Javascript, the first element of an array is in the 0 spot, not 1. Objects allow you to access data using either bracket notation or dot notation.
A function is like a mini program within you program. Given inputs, it executes a command or series of commands. Function are useful for simplifying code because they allow a coder to define a process once and call upon that process using just its name.


Haofei Yu
Humphrey | 于昊飞
Language Technologies Institute • School of Computer Science • Carnegie Mellon University
5704 Darlington Road, Pittsburgh, PA 15217
I am currently a first year MIIS (Master of Science in Intelligent Information Systems) student in the Language Technologies Institute, School of Computer Science at Carnegie Mellon University.
Prior to CMU, I obtained my BEng's degree of Computer Science and Technology from ChuKochen Honors College, Zhejiang University in China. During my undergraduate studies, I was a member of the Mixed Class of 2022 and felt honoured to participate in NLP research at Westlake University and Tencent AI Lab (NLP Center).
Different types of generation tasks, such as dialogue generation, question answering, language modeling, and code generation, are of particular interest to me. Generally speaking, I am curious about designing task-specific methods to help model better comprehend dynamic semantic information (on the encoder side) and produce complex outcomes (on the decoder side) in seq2seq generation framework.
Refer to my resume for more details, lastest update on Aug 31, 2022.News
Enrolled at MIIS Program and began a new semester at CMU.
Graduated from Zhejiang University and received the B.Eng diploma in Computer Science and Technology (with Honors)