13.1. Release 0.240
Highlights
- Add ability to spill window functions to local disk when a worker is out of memory.
- Add support for inlining SQL functions at query planning time.
- Add support for limit pushdown through union.
- Add
geometry_from_geojson()
and geometry_as_geojson()
to convert geometries from and to GeoJSON format.
Details
General Changes
- Fix compiler error due to incorrect LambdaDefinitionExpression canonicalization.
- Fix compiler error in certain situations where sql functions with same lambda are used multiple times.
- Add
IF EXISTS
and IF NOT EXISTS
syntax to ALTER TABLE
.
- Add
query.max-scan-physical-bytes
configuration and query_max_scan_physical_bytes
session properties to limit total number of bytes read from storage during table scan. The default limit is 1PB.
- Add support for inlining SQL functions at query planning time. This feature is enabled by default, and can be disabled with the
inline_sql_functions
session property.
- Add
geometry_from_geojson()
and geometry_as_geojson()
to convert geometries from and to GeoJSON format.
- Add support for pushdown of dereference expressions for querying nested data. This can be enabled with the
pushdown_dereference_enabled
session property or the experimental.pushdown-dereference-enabled
configuration property.
- Use local private credentials (json key file) to refresh GCS access token. Usage : presto-cli –extra-credential hive.gcs.credentials.path=”${PRIVATE_KEY_JSON_PATH}”.
- Add ability to spill window functions to local disk when a worker is out of memory.
- Add support for limit pushdown through union.
Thrift Connector Changes
- Rename
presto-thrift-connector-api
to presto-thrift-api
and have separate packages for datatypes, valuesets and connector.
Verifier Changes
- Fix an issue where Verifier fails to start when failure resolver is disabled.
- Add configuration property
test_name
, to be passed in to the client info blob.
- Add support to implement customized way of launching Presto queries.
- Add support to populate client info for the queries issued by Verifier.
- Add support to resubmit verification if test query fails with
HIVE_PARTITION_OFFLINE
.
- Add support to run helper queries on a separate cluster other than the control cluster.
- Add support to skip running control queries and comparing results. This can be enabled by configuration property
skip-control
.
Cassandra Changes
- Add TLS security support.
Druid Changes
- Add support for union all operation with more than 1 druid source.
- Add support for filter on top of Aggregation.
- Fix unhandled HTTP response error for druid client.
Elasticserarch Changes
- Add support for IP data type.
Geospatial Changes
- Improve
geometry_to_bing_tiles()
performance. It is 50x faster on complex polygons, the limit on polygon complexity is removed, and some correctness bugs have been fixed.
- Add geometry_to_dissolved_bing_tiles function, which dissolves complete sets of child tiles to their parent.
- Introduce
bing_tile_children()
and bing_tile_parent()
functions to get parents and children of a Bing tile.
Hive Changes
- Fix parquet statistics when min/max is not set.
- Improve split generation performance.
- Add support for Hudi realtime input format for hudi realtime queries.
- Add support for splitting hive files when skip.header.line.count=1.
- Allow presto-hive to use custom parquet input formats.
Kafka Changes
- Support
INSERT
in Kafka connector.
SPI Changes
- Allow procedures to accept optional parameters.


Topics are: exchange rate , weather
Topic you are interested in : {{acc.topic}}
Get notification per : {{acc.notification}}


Spring has inbuilt support for publishing and listing events.
In layman term if you want to understand what is event and listener is then,
you can think as somebody shouts your name and said hi and you listener to it and
you want to give a reply or not it’s upto you. Here you become a listener listening on your name event.
Spring provides following interfaces and equivalent annotations which you can implement to make event and listener classes.
ApplicationEvent or //simply nothing any object can be published from Spring 4.2+
ApplicationEventPublisher
ApplicationListner or @EventListener
There three parties classes in Event and listener mechanism. SomeEvent, SomeEventListner, SomeEventData
Old way
new way
You can see above we have two way of defining Event and listeners. There can be n number of events and n number of listeners.
Whenever a event is published all registered event are notified and based on matching type of Event class they are executed.
In the new example we have some points.
@EventListener replaces the ApplicationListner way of implementation, here within single class you can have n number of listeners.
@EventListener methods can return other event object and they will be automatically published.
@Asyn runs the method in a new thread in a nonblocking way.
Condition uses SPel with this method will be called only when the inner condition satisfies.


Class: Aws::Redshift::Types::ModifyClusterMessage
| Inherits: |
Struct
|
| Defined in: |
(unknown) |
Overview
ModifyClusterMessage
as input to a Client method, you can use a vanilla Hash
:
{
cluster_identifier: "String", # required
cluster_type: "String",
node_type: "String",
number_of_nodes: 1,
cluster_security_groups: ["String"],
vpc_security_group_ids: ["String"],
master_user_password: "String",
cluster_parameter_group_name: "String",
automated_snapshot_retention_period: 1,
preferred_maintenance_window: "String",
cluster_version: "String",
allow_version_upgrade: false,
hsm_client_certificate_identifier: "String",
hsm_configuration_identifier: "String",
new_cluster_identifier: "String",
publicly_accessible: false,
elastic_ip: "String",
}
Instance Attribute Summary collapse
-
#allow_version_upgrade ⇒ Boolean
If
true
, major version upgrades will be applied automatically to the cluster during the maintenance window. -
#automated_snapshot_retention_period ⇒ Integer
The number of days that automated snapshots are retained.
-
#cluster_identifier ⇒ String
The unique identifier of the cluster to be modified.
-
#cluster_parameter_group_name ⇒ String
The name of the cluster parameter group to apply to this cluster.
-
#cluster_security_groups ⇒ Array<String>
A list of cluster security groups to be authorized on this cluster.
-
#cluster_type ⇒ String
The new cluster type.
-
#cluster_version ⇒ String
The new version number of the Amazon Redshift engine to upgrade to.
-
#elastic_ip ⇒ String
The Elastic IP (EIP) address for the cluster.
-
#hsm_client_certificate_identifier ⇒ String
Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
-
#hsm_configuration_identifier ⇒ String
Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
-
#master_user_password ⇒ String
The new password for the cluster master user.
-
#new_cluster_identifier ⇒ String
The new identifier for the cluster.
-
#node_type ⇒ String
The new node type of the cluster.
-
#number_of_nodes ⇒ Integer
The new number of nodes of the cluster.
-
#preferred_maintenance_window ⇒ String
The weekly time range (in UTC) during which system maintenance can occur, if necessary.
-
#publicly_accessible ⇒ Boolean
If
true
, the cluster can be accessed from a public network. -
#vpc_security_group_ids ⇒ Array<String>
A list of virtual private cloud (VPC) security groups to be associated with the cluster.
Instance Attribute Details
#allow_version_upgrade ⇒ Boolean
If true
, major version upgrades will be applied automatically to the
cluster during the maintenance window.
Default: false
#automated_snapshot_retention_period ⇒ Integer
The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot.
If you decrease the automated snapshot retention period from its current value, existing automated snapshots that fall outside of the new retention period will be immediately deleted.
Default: Uses existing setting.
Constraints: Must be a value from 0 to 35.
#cluster_identifier ⇒ String
The unique identifier of the cluster to be modified.
Example: examplecluster
#cluster_parameter_group_name ⇒ String
The name of the cluster parameter group to apply to this cluster. This change is applied only after the cluster is rebooted. To reboot a cluster use RebootCluster.
Default: Uses existing setting.
Constraints: The cluster parameter group must be in the same parameter group family that matches the cluster version.
#cluster_security_groups ⇒ Array<String>
A list of cluster security groups to be authorized on this cluster. This change is asynchronously applied as soon as possible.
Security groups currently associated with the cluster, and not in the list of groups to apply, will be revoked from the cluster.
Constraints:
- Must be 1 to 255 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
#cluster_type ⇒ String
The new cluster type.
When you submit your cluster resize request, your existing cluster goes into a read-only mode. After Amazon Redshift provisions a new cluster based on your resize requirements, there will be outage for a period while the old cluster is deleted and your connection is switched to the new cluster. You can use DescribeResize to track the progress of the resize request.
Valid Values: multi-node | single-node
#cluster_version ⇒ String
The new version number of the Amazon Redshift engine to upgrade to.
For major version upgrades, if a non-default cluster parameter group is currently in use, a new cluster parameter group in the cluster parameter group family for the new version must be specified. The new cluster parameter group can be the default for that cluster parameter group family. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
Example: 1.0
#elastic_ip ⇒ String
The Elastic IP (EIP) address for the cluster.
Constraints: The cluster must be provisioned in EC2-VPC and publicly-accessible through an Internet gateway. For more information about provisioning clusters in EC2-VPC, go to Supported Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management Guide.
#hsm_client_certificate_identifier ⇒ String
Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
#hsm_configuration_identifier ⇒ String
Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
#master_user_password ⇒ String
The new password for the cluster master user. This change is
asynchronously applied as soon as possible. Between the time of the
request and the completion of the request, the MasterUserPassword
element exists in the PendingModifiedValues
element of the operation
response.
Default: Uses existing setting.
Constraints:
- Must be between 8 and 64 characters in length.
- Must contain at least one uppercase letter.
- Must contain at least one lowercase letter.
- Must contain one number.
- Can be any printable ASCII character (ASCII code 33 to 126) except \' (single quote), \" (double quote), \, /, @, or space.
#new_cluster_identifier ⇒ String
The new identifier for the cluster.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- Alphabetic characters must be lowercase.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
- Must be unique for all clusters within an AWS account.
Example: examplecluster
#node_type ⇒ String
The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.
When you submit your request to resize a cluster, Amazon Redshift sets access permissions for the cluster to read-only. After Amazon Redshift provisions a new cluster according to your resize requirements, there will be a temporary outage while the old cluster is deleted and your connection is switched to the new cluster. When the new connection is complete, the original access permissions for the cluster are restored. You can use DescribeResize to track the progress of the resize request.
Valid Values: ds1.xlarge
| ds1.8xlarge
| ds2.xlarge
|
ds2.8xlarge
| dc1.large
| dc1.8xlarge
.
#number_of_nodes ⇒ Integer
The new number of nodes of the cluster. If you specify a new number of nodes, you must also specify the node type parameter.
When you submit your request to resize a cluster, Amazon Redshift sets access permissions for the cluster to read-only. After Amazon Redshift provisions a new cluster according to your resize requirements, there will be a temporary outage while the old cluster is deleted and your connection is switched to the new cluster. When the new connection is complete, the original access permissions for the cluster are restored. You can use DescribeResize to track the progress of the resize request.
Valid Values: Integer greater than 0
.
#preferred_maintenance_window ⇒ String
The weekly time range (in UTC) during which system maintenance can occur, if necessary. If system maintenance is necessary during the window, it may result in an outage.
This maintenance window change is made immediately. If the new maintenance window indicates the current time, there must be at least 120 minutes between the current time and end of the window in order to ensure that pending changes are applied.
Default: Uses existing setting.
Format: ddd:hh24:mi-ddd:hh24:mi, for example wed:07:30-wed:08:00
.
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Must be at least 30 minutes.
#publicly_accessible ⇒ Boolean
If true
, the cluster can be accessed from a public network. Only
clusters in VPCs can be set to be publicly available.
#vpc_security_group_ids ⇒ Array<String>
A list of virtual private cloud (VPC) security groups to be associated with the cluster.


|
I'm
Like A Bird
(Nelly Furtado) |
|
Youíre
beautiful, thatís for sure
Youíll never ever fade Youíre lovely, but itís not for sure That I wonít ever change And though my love is rare Though my love is true 1 - Iím like a bird, Iíll only fly away I donít know where my soul is I donít know where my home is And baby all I need for you to know is Iím like a bird, Iíll only fly away I donít know where my soul is I donít know where my home is All I need for you to know is Your faith in me brings me to tears Even after all these years And it pains me so much to tell That you donít know me that well And though my love is rare Though my love is true Repeat 1 Itís not that I wanna say goodbye Itís just that every time you try To tell me, me that you love me Each and every single day I know Iím going to have to eventually give you away And though my love is rare And though my love is true, yeah Hey Iím just scared That we may fall through Yeah, yeah yeah, yeah Repeat 1 to fade |


Drizzle two tablespoons of olive oil over the spaghetti squash halves, then season with salt and freshly ground black pepper.
 Bake in the oven for 25-30 minutes, or until tender.
Unwrap the spaghetti squash halves and remove the seeds using a spoon. Scoop the cooked flesh from the squash and shred using a fork so that it falls apart in strands. Set aside.
Heat two more tablespoons of olive oil in a frying pan over a medium heat. Add the chopped nutmeg squash, thyme leaves and garlic and fry for 4-5 minutes, or until softened. Transfer the mixture to a food processor and blend until smooth. Set aside.
In a separate frying pan, heat another tablespoon of olive oil over a medium heat. Add the half moons of nutmeg squash and fry for 2-3 minutes, or until golden-brown. Add 3-4 tablespoons of the chicken or vegetable stock and bring the mixture to a simmer. Continue to simmer for 2-3 minutes, or until most of the liquid has evaporated and the nutmeg squash is tender. Set aside.
Heat half of the butter in a casserole over a medium heat. When the butter is foaming, add the onion, season with salt, and fry for 2-3 minutes.
Add the spelt and stir well to combine. Continue to cook for a further 2-3 minutes, stirring continuously, or until transluscent.
Add the white wine and stir well, then simmer for 4-5 minutes, stirring regularly, until most of the liquid has evaporated.
Add a ladleful of the remaining hot chicken or vegetable stock and continue to simmer, stirring regularly, until most of the liquid has evaporated. Repeat the process with the remaining chicken or vegetable stock for a further 20-25 minutes, or until the spelt is almost tender and has absorbed all of the chicken or vegetable stock.
When the spelt is almost cooked through but still retains a slight bite, add the crushed truffle, truffle peelings and butternut squash. Continue to cook for 4-5 minutes, or until the butternut squash is cooked through and the spelt is just tender (if the spelt is still not cooked through, add two tablespoons of some of the nutmeg squash purée and simmer until reduced).
Remove the casserole from the heat, add the remaining butter and the parmesan and stir until well combined. Season, to taste, with salt and freshly ground black pepper.
Just before serving, gently reheat the spaghetti squash and the Nice squash half-moons in a frying pan.
To serve, spoon the spelt and squash soup into four serving bowls. Spoon some of the spaghetti and Nice squash on top of each. Place a handful of purslane leaves alongside. Garnish with the pepper pecorino slices.


--- layout: default --- Unified Knowledge Platform Open Source Search framework for everyone. -- Use Cases One search framework to rule them all. Enterprise Search Centralise your search across your enterprise securely. E-Commerce Optimize search on your product catalog. Customer Insights Check your customer satisfaction. Partners United we stand, divided we fall.
--
Centralise your search across your enterprise securely.
Optimize search on your product catalog.
Check your customer satisfaction.


Patient Experience Tracker
Help to develope life saving Integrated system
Your Signup request successfully submitted to be reviewed and approved by the admin. Thanks for joining!


Actually coding the ClojureScript prototype.
Firstly a follow up to the last statement in the previous post. It turns out Leiningen/cljsbuild is smarter than me, but in a very unhelpful way. Lein apparently knows when your code changes and, if the artifacts are up to date with the source, it skips building anything. Unfortunately Lein doesn't care if you've changed build profiles. Compiling with advanced optimizations looks the same as a dev build. I fixed
build.cmd
to delete the target folder and
testbed/main.js before running Lein, so now you get a build that isn't dependent
on the testbed/lib folder.
I've decided to use Dommy to interact with the DOM and setup event feeds. Speaking of event feeds, I had to remember how to hook an event callback up to a channel. I've made it overly complicated in the past, but it is really simple: You just need a channel accessible in the scope of a lambda that is the event handler.
(defn get-click-chan [target]
;; Connect an event stream to a channel, return channel
(let [out (chan)]
(dommy/listen! target :mousedown
(fn [evt] (put! out evt)))
out))
The behavior I want is, when the user clicks and drags, the cells between the initial click location and the current mouse location have their highlight state toggled. The selection is updated as the cursor is moved until the mouse button is released. All updates during one composite event are relative to the initial condition at the time of clicking.
Note: Dragging past the edge of the frame looses up
events.
I came up with a bunch of ideas about what events to actually capture, and how
to map those events back onto the DOM. At first I was going to track enter/exit
in each row div decide to toggle based on if the cursor passed through the top
or the bottom, which would have been really complicated. Next I tried using the
difference in clientY to get a pixel range and then... IDK, use the row hight to
calculate the end row? Using pixel values would be bad since with a scroll bar
the start coord has to change, and the end coord would stop changing at the edge
of the window. In the end I cheated and used the excessive ID attributes I added
when generating the HTML. I think you could use nth-child or
target.children.indexOf
instead, but since I'm adding the IDs anyway.
I'll start at the end and work toward the specific. First the document needs to be ready before event listers can be attached:
(dommy/listen! js/window :load main)
The main function reads pretty close to the behavior description. After some setup I start a loop waiting for Left Mouse Button (LMB) down events. When I get one I start a nested loop to update the highlight range that exits on the first LMB up event.
(defn main []
;; Setup some event input channels and start a process to watch them.
(let [target (sel1 :#doclist)
lmb-down-chan (evt-chan target :mousedown 0)
lmb-move-chan (evt-chan target :mousemove 0)
lmb-up-chan (evt-chan target :mouseup 0)]
;; Wait for initial LMB down
(go-loop [evt (<! lmb-down-chan)]
(let [row (get-row-num evt)
highlight (get-highlight target)]
;; Consume move events until we get an up event
(loop [[evt ch] (alts! [lmb-up-chan lmb-move-chan] {:priority true})]
;; update highlighting...
(toggle-highlight highlight row (get-row-num evt))
(when-not (= ch lmb-up-chan)
(recur (alts! [lmb-up-chan lmb-move-chan] {:priority true})))))
;; Wait for next LMB down
(recur (<! lmb-down-chan)))))
The duplication of code in the loop binding and recur is annoying, but I can't think of a good way to avoid it. The channel builder is a refactoring of separate constructor functions into one. I played around with producing tagged events or preprocessed event data, but in the end I just had it filter on mouse button.
(defn evt-chan [target kind btn]
(let [out (chan (sliding-buffer 1))]
(dommy/listen! target kind
(fn [evt]
(when (= (.-button evt) btn)
(put! out evt))))
out))
The get-row-num
function just gets the number part of the row id. It also
handles the case when the event target is a child of the containing row.
(defn get-row-num [evt]
;; Extract the row number from a mouse event
(let [target (.-target evt)
id (.-id target)
kind (subs id 0 3)
num (int (subs id 3))]
(if-not (= kind "row")
(int (subs (.-id (.-parentElement target)) 3))
num)))
On mouse down I store the row number of the initial event target, and generate a
vector of the highlight state of all rows using get-highlight
.
(defn get-highlight [target]
;; Return vector of bools where true means highlighted
(mapv #(dommy/has-class? % "marked") (sel target "div.row")))
In the inner loop I use alts!
to get the next event and its source channel
from either up
or move
. Fortunately all mouse events have the same members,
so regardless of type I update the highlighting. The toggle-highlight
function
is flaky, but it works for now. First, since the user can drag up or down the
list I have to ensure start is before end. From there I map over [index bool]
pairs for all rows. I need to ensure that rows outside the selected range
still have their initial value, and rows inside have the opposite.
(defn toggle-highlight [initial start end]
;; Ensure all rows have correct highlight.
(let [[start end] (if (> start end) [end start] [start end])]
(dorun
(map-indexed (fn [id high]
(let [row (sel1 (str "#row" id))
marked (dommy/has-class? row "marked")]
(if (and (>= id start) (<= id end))
;; This row is in selected range
(when (= marked high)
(dommy/toggle-class! row "marked"))
;; This row is outside selected range
(when-not (= marked high)
(dommy/toggle-class! row "marked")))))
initial))))
And that's it.
It performs reasonably well. I can operate on a list of 100 rows
comfortably. The performance degrades as the list length increases though
because toggle-highlight
iterates over the entire list on every event. I wont
get a backlog of events because I am using a sliding-buffer
of size one, but
the UI stops responding in the body of toggle-highlight
. This is problematic
though because Lister will handle lists with thousands of rows.
The obvious solution is to avoid even looking at rows that haven't been touched
yet. You could keep track of the total range around the initial row that has
been visited and somehow align that with the initial highlight data. Another
thing to notice is that once a row falls out of range and is returned to initial
state it doesn't need to be visited again. Since the real problem is lag inside
the update loop another option is to use another async channel to hold queued
updates. The update queue could then be cleared by another go-loop
without
blocking user input.
Code is up at https://github.com/kitsu/PyQt4_CLJS Commit: f9db9e78.


This example shows how directives can use $computed as well. Here we have a directive that sums the value of a directive, and the value of a property read off the $parent scope directly, then adds 10 and prints the result.
The "entered value" is passed to the directive's isolate scope using "=" (two way binding). The "value read by directive via parent" is read with $scope.$parent.$eval("readByDirective").


- 1914 - Born in Cresco, Iowa
- 1933 - Leaves his family's farm to attend the University of Minnesota, thanks to a Depression era program known as the "National Youth Administration"
- 1935 - Has to stop school and save up more money. Works in the Civilian Conservation Corps, helping starving Americans. "I saw how food changed them", he said. "All of this left scars on me."
- 1937- Finishes university and takes a job in the US Forestry Service
- 1938 - Marries wife of 69 years Margret Gibson. Gets laid off due to budget cuts. Inspired by Elvin Charles Stakman, he returns to school study under Stakman, who teaches him about breeding pest-resistent plants.
- 1941 - Tries to enroll in the military after the Pearl Harbor attack, but is rejected. Instead, the military asked his lab to work on waterproof glue, DDT to control malaria, disinfectants, and other applied science.
- 1942 - Receives a Ph.D. in Genetics and Plant Pathology
- 1944 - Rejects a 100% salary increase from Dupont, leaves behind his pregnant wife, and flies to Mexico to head a new plant pathology program. Over the next 16 years, his team breeds 6,000 different strains of disease resistent wheat - including different varieties for each major climate on Earth.
- 1945 - Discovers a way to grown wheat twice each season, doubling wheat yields
- 1953 - crosses a short, sturdy dwarf breed of wheat with a high-yeidling American breed, creating a strain that responds well to fertilizer. It goes on to provide 95% of Mexico's wheat.
- 1962 - Visits Delhi and brings his high-yielding strains of wheat to the Indian subcontinent in time to help mitigate mass starvation due to a rapidly expanding population
- 1970 - receives the Nobel Peace Prize
- 1983 - helps seven African countries dramatically increase their maize and sorghum yields
- 1984 - becomes a distinguished professor at Texas A&M University
- 2005 - states "we will have to double the world food supply by 2050." Argues that genetically modified crops are the only way we can meet the demand, as we run out of arable land. Says that GM crops are not inherently dangerous because "we've been genetically modifying plants and animals for a long time. Long before we called it science, people were selecting the best breeds."
- 2009 - dies at the age of 95.
"Man's survival, from the time of Adam and Eve until the invention of agriculture, must have been precarious because of his inability to ensure his food supply."
Dr. Norman Borlaug
A life well lived and fulfilled
"Food is the moral right of all who are born into this world."
A brief chronology of the life Dr. Borlaug:
"Borlaug's life and achievement are testimony to the far-reaching contribution that one man's towering intellect, persistence and scientific vision can make to human peace and progress." -- Indian Prime Minister Manmohan Singh


I am currently pursuing my Bachelor’s degree in Electrical Engineering at IIT(BHU) Varanasi. My career interests include software development and machine learning. I am originally from Hyderabad, India.
BTech in Electrical Engineering, 2015 - Present
Indian Institute of Technology (BHU), Varanasi
70%
50%
40%
Course Mentor for “Introduction to Programming with MATLAB”
Responsibilities include:


IGError
public enum IGError: Error
Undocumented
-
Undocumented
Declaration
Swift
case unknown
-
Undocumented
Declaration
Swift
case invalidToken
-
Declaration
Swift
public var errorDescription: String?
-
Declaration
Swift
public var failureReason: String?
-
Declaration
Swift
public var recoverySuggestion: String?


Thout has detected that you are connecting via Tor. In order to use Thout you must connect via Tor.
Thout allow participants to collaboratively share, store and access documents. The kinds of documents shared using Thout are the kinds of documents authorities may wish to suppress, such as embarassing information or evidence of criminal activity. Two characteristics of Thout make it more difficult for authorities to suppress these documents. First, Thout does not store any documents centrally. Second, documents shared by participants may be replicated on multiple machines. With multiple copies stored in browser caches and no central server to sieze, suppressing leaked documents is much more difficult.
If authorities aren't able to suppress leaked documents directly, they may harass those accessing or sharing the documents, to limit document availability indirectly. This is where Tor comes in. Without Tor, your IP and that of other Thout participants can be traced. In order to protect yourself and other Thout participants, Thout requires that everyone use Tor. With Tor, anonymous document access and sharing is possible, thus reducing the risks for participants.
Please connect to Thout using Tor.


about the possibilities of AI detecting lung infections using x-rays...more
can a simple IPhone image detect glaucoma... ... read on
how differential equations and Neural Nets help find the right dosage... more
classify edema in ankles using logistic regression and MRI picture... more


Source code for deepchem.models.autoencoder_models.autoencoder
"""
TODO(LESWING) Remove h5py dependency
TODO(LESWING) Remove keras dependency and replace with functional keras API
"""
import warnings
from deepchem.models import Model
from deepchem.models.autoencoder_models.model import MoleculeVAE
from deepchem.feat.one_hot import zinc_charset
from deepchem.utils import download_url
import os
from subprocess import call
[docs]class TensorflowMoleculeEncoder(Model):
"""
Transform molecules from one hot encoding into a latent vector
representation.
https://arxiv.org/abs/1610.02415
"""
def __init__(self,
model_dir=None,
weights_file="model.h5",
verbose=True,
charset_length=len(zinc_charset),
latent_rep_size=292):
"""
Parameters
----------
model_dir: str
Folder to store cached weights
weights_file: str
File to store cached weights in model_dir
verbose: bool
True for more logging
charset_length: int
Length of one_hot_encoded vectors
latent_rep_size: int
How large a 1D Vector for latent representation
"""
warnings.warn("TensorflowMoleculeEncoder Deprecated. "
"Will be removed in DeepChem 1.4.", DeprecationWarning)
super(TensorflowMoleculeEncoder, self).__init__(
model_dir=model_dir, verbose=verbose)
weights_file = os.path.join(model_dir, weights_file)
if os.path.isfile(weights_file):
m = MoleculeVAE()
m.load(charset_length, weights_file, latent_rep_size=latent_rep_size)
self.model = m
else:
# TODO (LESWING) Lazy Load
raise ValueError("Model file %s doesn't exist" % weights_file)
@staticmethod
[docs] def zinc_encoder():
"""
Returns
-------
obj
An Encoder with weights that were trained on the zinc dataset
"""
current_dir = os.path.dirname(os.path.realpath(__file__))
weights_filename = "zinc_model.h5"
weights_file = os.path.join(current_dir, weights_filename)
if not os.path.exists(weights_file):
download_url("http://karlleswing.com/misc/keras-molecule/model.h5",
current_dir)
mv_cmd = "mv model.h5 %s" % weights_file
call(mv_cmd.split())
return TensorflowMoleculeEncoder(
model_dir=current_dir, weights_file=weights_filename)
[docs] def fit(self, dataset, nb_epoch=10, batch_size=50, **kwargs):
raise ValueError("Only can read in pre-trained models")
[docs] def predict_on_batch(self, X):
x_latent = self.model.encoder.predict(X)
return x_latent
[docs]class TensorflowMoleculeDecoder(Model):
"""
Transform molecules from a latent space feature vector into
a one hot encoding.
https://arxiv.org/abs/1610.02415
"""
def __init__(self,
model_dir=None,
weights_file="model.h5",
verbose=True,
charset_length=len(zinc_charset),
latent_rep_size=292):
"""
Parameters
----------
model_dir: str
Folder to store cached weights
weights_file: str
File to store cached weights in model_dir
verbose: bool
True for more logging
charset_length: int
Length of one_hot_encoded vectors
latent_rep_size: int
How large a 1D Vector for latent representation
"""
warnings.warn("TensorflowMoleculeDecoder Deprecated. "
"Will be removed in DeepChem 1.4.", DeprecationWarning)
super(TensorflowMoleculeDecoder, self).__init__(
model_dir=model_dir, verbose=verbose)
weights_file = os.path.join(model_dir, weights_file)
if os.path.isfile(weights_file):
m = MoleculeVAE()
m.load(charset_length, weights_file, latent_rep_size=latent_rep_size)
self.model = m
else:
# TODO (LESWING) Lazy Load
raise ValueError("Model file %s doesn't exist" % weights_file)
[docs] def fit(self, dataset, nb_epoch=10, batch_size=50, **kwargs):
raise ValueError("Only can read in pre-trained models")
@staticmethod
[docs] def zinc_decoder():
"""
Returns
-------
obj
A Decoder with weights that were trained on the zinc dataset
"""
current_dir = os.path.dirname(os.path.realpath(__file__))
weights_filename = "zinc_model.h5"
weights_file = os.path.join(current_dir, weights_filename)
if not os.path.exists(weights_file):
download_url("http://karlleswing.com/misc/keras-molecule/model.h5",
current_dir)
mv_cmd = "mv model.h5 %s" % weights_file
call(mv_cmd.split())
return TensorflowMoleculeDecoder(
model_dir=current_dir, weights_file=weights_filename)
[docs] def predict_on_batch(self, X):
x_latent = self.model.decoder.predict(X)
return x_latent


We Appreciate you taking time to complete this form
Which option best describes your current role?
Would you recommend freeCodeCamp to a friend?
What is your favourite feature on freeCodeCamp?
What would you like to see improved? (Check all that apply)
Any comments or suggestions?


Test notifications by opening background page and typing in console:
require('core/events').publish({ eventName: 'buildBroken', details: { serviceName: 'service', name: 'build', group: 'group', serviceIcon: 'src/core/services/go/icon.png', changes: [{ name: 'User 1' }, { name: 'User 2' }] } })


A simple coding exercise:
Given two arrays of integers, return their intersection (i.e. the set of all common elements between them).
This is a coding question that I remember being asked in an interview once, so it makes for a good short exercise.
As is the case with many coding questions involving arrays of integers, the first question to ask is “are the arrays sorted?”. If they are not sorted and we are trying to approach this problem without sorting at all, you can use a simple data structure to help keep track of the elements you have already seen. Here, a hash table works very well since the only operations we need are insertions and lookups to ask if the element we hare traversing over has been seen or not and since it (basically) has a O(1) insertion and lookup time. So the algorithm becomes very simple: traversing over both arrays, if we see a new element, add it to some results array and mark it as seen in the hash table, otherwise do not add it to the results array and simply move on. This approach will be of O(n+m) time complexity since we visit each element exactly once and of O(n+m) space complexity since we copy each element to the hash table once.
However, if we do not want to use any extra space we can try a different approach. This method depends on the two arrays being sorted so before we begin the algorithm, we sort both arrays.
python
# Example.
# Input: [1,2,3,4,5,6,7,8]; [1,3,5,7,9]
# Output: [1,3,5,7]
def sort_intersect(arr1, arr2):
""" Find the intersection of two arrays """
arr1.sort()
arr2.sort()
i = 0
j = 0
result = set()
while i < len(arr1) and j < len(arr2):
if arr1[i] == arr2[j]:
result.add(arr1[i])
i += 1
j += 1
elif arr1[i] > arr2[j]:
j += 1
else:
i += 1
return result
So, now we know that the two arrays will be sorted in increasing order. Okay. Our approach is to keep two different indices to mark the positions at each of the two arrays, that way we can switch between traversing one array and the other. The question is how do we know which index to increment? Well, because we have the arrays in sorted order, we can actually compare the elements in the arrays at these indices. If one is greater than the other, then we increment the index of the array which had the lower element. Otherwise, if the elements are the same, then we have a match and add the element to the results array.
Altogether, this very simple algorithm will produce the correct results, by traversing over both arrays only once meaning a O(n+m) time complexity. However, the total time complexity is O(nlogn) because of the fact that we sort the two arrays at the beginning. Still, we save space with an overall space complexity of O(1).
In practice, you can use python’s built-in set object and the functions that come with it to actually perform this function.
python
s = set([1,2,3,4,5,6,7,8])
t = set([1,3,5,7,9])
print s.intersection(t) # or s & t
Note: In the implementation above, I actually use a set data structure as opposed to a regular array. It really doesn’t matter which you use since the algorithm is complete. Using the set data structure is just being overly thorough.


ASSESSMENT OF COAL LIQUEFACTION BEHAVIOR THROUGH PRODUCT CHARACTERIZATION WITH HYPHENATED CHROMATOGRAPHIC/SPECTROSCOPIC METHODS by John William Heligeth Dissertation submitted to the Faculty of the Virginia Polytechnic Institute and State University in partial fulfillment of the requirements for the degree of
DOCTOR OF PHILOSOPHY
in
Chemistry APPROVED: L. T. ylor, Chai pence oc eae . — J. G. Mason IL. Wightman
=
th G. L. Lo D. G. I. Kingston
December 1986
Blacksburg, Virginia


invoke(fn: any, dynamicDependencies?: any): any
Invokes a function, recursively resolving its dependencies.
Parameters
fn: any
The function to invoke with the auto-resolved dependencies.
dynamicDependencies?: any
Additional function dependencies to use during invocation.
Returns
Returns the instance resulting from calling the function.


A SIMPLE PLAN A film review by Timothy Voon Copyright 1999 Timothy Voon 2 out of 5 for a greedy plan
Cast: Bill Paxton, Billy Bob Thornton, Bridget Fonda, Brent Briscoe, Gary Cole. Screenplay: Scott B. Smith, based on his novel. Producers: James Jacks and Adam Schroeder. Director: Sam Raimi.
This is not a simple plan about finding a plane load of money and getting away with the cash. This is more about a parable of greed, and how money can become the bane of your life. Yes, there are elements of ‘Fargo' here (the snow and cold), although not as vivid in the blood and gore department. It shows how greed can set of a chain of events leading to death and the destruction of lives. And how at the end of the day, the things that matter most are love, truth and honesty.
Although in one sense it may seem tedious, making a movie about the ugliness of greed (not box office material), it does become tedious, not because of the morale ending, but because one expects the movie to end that way. This becomes apparent after the first murder to cover up the crime, the rest of the movie just spirals downward from there. The characters in this drama are a mixture of simple and intellectual folk, brothers and friends, who all fall prey to the avarice of money. They should have perhaps thrown in someone sensible, level headed and not affected by greed to give the party more balance.
Commendable is the exceptional performance of Billy Bob Thornton, whose portrayal of the simpleton brother was masterful. Bill Paxton also gives a powerful performance as the greedier younger brother, whilst Bridget Fonda is convincing as the greediest wife, who indirectly causes the most problems.
Timothy Voon e-mail<EMAIL_ADDRESS>Movie Archives http://us.imdb.com/M/reviews_by?Tim+Voon Movies In Melbourne http://www.labyrinth.net.au/~pfowler/week/movies.html
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


The Berkeley DB version 2 library provides backward compatible interfaces for the historic UNIX dbm, ndbm and hsearch interfaces. It also provides a backward compatible interface for the historic Berkeley DB 1.85 release.
Berkeley DB version 2 does not provide database compatibility for any of the above interfaces, and existing databases must be converted manually. To convert existing databases from the Berkeley DB 1.85 format to the Berkeley DB version 2 format, review the db_dump185 and db_load information. No utilities are provided to convert UNIX dbm, ndbm or hsearch databases.


Are you tired of Big Pharma telling you to take potentially dangerous drugs with confusing names and hard to find information?
Does the thought of people in long lab coats behind closed doors mixing chemicals give you anxiety?
Then you're in the right place. Medical marijuana may be just what you're looking for.
Our app can help you find a strain of natural organic marijuana that can help with your ailments.
There are numerous strains to choose from so you can find the right personal fit for you.
We also provide information on proper dosing to make your transition easy and even fun.
Rolling. Baking. Smoking. Vaporizing.
There are many ways to use marijuana and our app can help you pick what will work best for you.
Marijuana is a special cure in that you can actually enjoy using it in a variety of interesting ways. Let us help you pick one that fits you.
No need for rigid tight schedules for taking uncomfortable pills. Medical marijuana allows for a flexible intake schedule.
Enjoy a bowl while watching your favorite movie.
Pack a bong while breaking out a bodacious book.
Our app can help you fit medical marijuana into Your schedule so you can get better while enjoying your life.
The Plant Pantry is here to help you step out of the pharmacy line and spend more time at home healing. Many of the drugs that big pharma sells you are riddled with side effects and hard to find confusing information. Finding a good useful strain of marijuana isn't complicated, especially with our app.
You can use the app to find the right strain for you based on your ailments and your desired effects. Our app also helps you with determining a nice intake method and a schedule that works with yours.
Time to get big pharma out of your body and out of your pockets so you can heal and live your life sooner and better.


324_Qazzz0.py
import collections
class UndergroundSystem:
def __init__(self):
self.id_map = {} # Where an id checked in
self.travel_times = {}
def checkIn(self, id: int, stationName: str, t: int) -> None:
self.id_map[id] = (stationName, t)
def checkOut(self, id: int, stationName: str, t: int) -> None:
start_s, start_t = self.id_map[id]
if (start_s, stationName) not in self.travel_times:
self.travel_times[(start_s, stationName)] = (1, t - start_t)
else:
total, avg = self.travel_times[(start_s, stationName)]
new_avg = ((avg * total) + (t - start_t))/(total + 1)
self.travel_times[(start_s, stationName)] = (total + 1, new_avg)
def getAverageTime(self, startStation: str, endStation: str) -> float:
return self.travel_times[(startStation, endStation)][1]
# Your UndergroundSystem object will be instantiated and called as such:
# obj = UndergroundSystem()
# obj.checkIn(id,stationName,t)
# obj.checkOut(id,stationName,t)
# param_3 = obj.getAverageTime(startStation,endStation)


|
Every Toon needs a place to call home. Luckily, all of the Toons on your account
have their very own house on a shared Estate.
There’s tons of stuff a Toon can do at their Estate: collect ice cream cones - worth three Laff points each - that are dotted along the paths and hills, fish in the privacy of their very own pond, or invite their friends over for a leisurely swim in the stream.
There’s even more for a Toon to do inside their house - sock away jellybeans in the bank, change their outfit with the clothes in the closet, rearrange furniture, and order new furniture, wallpaper, clothes, SpeedChat phrases, acting lessons, fishing rods, and more from Clarabelle’s Cattlelog.
|
|
|
To take your Toon home, open your Shticker Book and go to the map page. Click on the button labeled "Go Home." Your friends can visit you at your Estate by teleporting to you when you are home.
|
Toon Tip:
The color of your Toon’s house matches the color of your Toon's Pick-a-Toon panel.
|
|
Every house comes with a bank that can hold up to 1,000 jellybeans. If your Toon’s jellybean jar is full, the extra jellybeans your Toon earns playing Trolley games, fishing, or finishing a ToonTask are automatically deposited into the bank.
|
You can purchase banks that can hold 2,500 or 5,000 jellybeans from Clarabelle’s Cattlelog - look for them when a new issue arrives.
|
WARNING!!! If your bank and jar are both full, extra jellybeans earned go to Flippy’s favorite Toon charity, the Toons of the World Unite Foundation.
|
|


US Navy's Blue Angels Put on Jaw-Dropping Display Along Florida Coast
Beachgoers along the waterfront in Pensacola, Florida, were treated to quite the show over the weekend after the US Navy’s Blue Angels gave a quick demonstration of their aerobatic skills at sunset.
Footage filmed by Floridian Melinda McDonald shows five F/A-18 Hornets flying a few short miles from the shore in a “V” formation. “Here’s the blues tonight, featuring the moon and a beautiful sunset,” the video’s caption reads.
The naval demonstration team carried out its first performance in 1946 at Naval Air Station Jacksonville, which was their home base at the time. According to the US Navy, the team was formed at the direction of then-Chief of Naval Operations Adm. Chester W. Nimitz in an effort to keep the public interested in naval aviation following the conclusion of World War II.


public interface Execution
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the execution.
|
void |
delete()
Deletes the execution.
|
Bundle |
getDataBundle()
Returns the
Bundle containing the data values for the Workflow . |
String |
getID()
Returns the identifier for this execution.
|
Profile |
getProfile()
Returns the
Profile to use when executing the Workflow . |
Workflow |
getWorkflow()
Returns the
Workflow to execute. |
WorkflowBundle |
getWorkflowBundle()
Returns the
WorkflowBundle containing the Workflow s required for execution. |
WorkflowReport |
getWorkflowReport()
Returns the
WorkflowReport for the execution. |
void |
pause()
Pauses the execution.
|
void |
resume()
Resumes a paused execution.
|
void |
start()
Starts the execution.
|
String getID()
WorkflowBundle getWorkflowBundle()
WorkflowBundle
containing the Workflow
s required for execution.WorkflowBundle
containing the Workflow
s required for executionBundle getDataBundle()
Bundle
containing the data values for the Workflow
.Bundle
containing the data values for the Workflow
Workflow getWorkflow()
Workflow
to execute.Workflow
to executeProfile getProfile()
Profile
to use when executing the Workflow
.Profile
to use when executing the Workflow
WorkflowReport getWorkflowReport()
WorkflowReport
for the execution.WorkflowReport
for the executionvoid delete()
void start()
void pause()
void resume()
void cancel()
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.


Method for fetching permissions from pubnub servers.
This method provides a mechanism to reveal existing PubNub Access Manager attributes for any combination of subscribe_key, channel and auth_key.
Returns a dict in sync mode i.e. when callback argument is not given The dict returned contains values with keys ‘message’ and ‘payload’
Sample Response {
“message”:”Success”, “payload”:{
- “channels”:{
- “my_channel”:{
- “auths”:{“my_ro_authkey”:{“r”:1,”w”:0}, “my_rw_authkey”:{“r”:0,”w”:1}, “my_admin_authkey”:{“r”:1,”w”:1}
}
}
},
}
Usage:
pubnub.audit (‘my_channel’); # Sync Mode
Method for decrypting data.
This method takes ciphertext as input and returns decrypted data. This need not be called directly as enncryption/decryption is taken care of transparently by Pubnub class if cipher key is provided at time of initializing pubnub object
Method for encrypting data.
This method takes plaintext as input and returns encrypted data. This need not be called directly as enncryption/decryption is taken care of transparently by Pubnub class if cipher key is provided at time of initializing pubnub object
Method for granting permissions.
This function establishes subscribe and/or write permissions for PubNub Access Manager (PAM) by setting the read or write attribute to true. A grant with read or write set to false (or not included) will revoke any previous grants with read or write set to true.
Returns a dict in sync mode i.e. when callback argument is not given The dict returned contains values with keys ‘message’ and ‘payload’
Sample Response: {
“message”:”Success”, “payload”:{
“ttl”:5, “auths”:{
“my_ro_authkey”:{“r”:1,”w”:0}}, “subscribe_key”:”my_subkey”, “level”:”user”, “channel”:”my_channel”
}
}
Get here now data.
You can obtain information about the current state of a channel including a list of unique user-ids currently subscribed to the channel and the total occupancy count of the channel by calling the here_now() function in your application.
Sync Mode: list Async Mode: None
Response Format:
The here_now() method returns a list of uuid s currently subscribed to the channel.
uuids:[“String”,”String”, ... ,”String”] - List of UUIDs currently subscribed to the channel.
occupancy: Number - Total current occupancy of the channel.
Example Response: {
occupancy: 4, uuids: [
‘123123234t234f34fq3dq’, ‘143r34f34t34fq34q34q3’, ‘23f34d3f4rq34r34rq23q’, ‘w34tcw45t45tcw435tww3’,]
}
This method fetches historical messages of a channel.
PubNub Storage/Playback Service provides real-time access to an unlimited history for all messages published to PubNub. Stored messages are replicated across multiple availability zones in several geographical data center locations. Stored messages can be encrypted with AES-256 message encryption ensuring that they are not readable while stored on PubNub’s network.
It is possible to control how messages are returned and in what order, for example you can:
Return messages in the order newest to oldest (default behavior).
Return messages in the order oldest to newest by setting reverse to true.
Page through results by providing a start or end time token.
Retrieve a “slice” of the time line by providing both a start and end time token.
Limit the number of messages to a specific quantity using the count parameter.
Returns a list in sync mode i.e. when callback argument is not given
Subscribe to presence data on a channel.
Only works in async mode
channel: Channel name ( string ) on which to publish message callback: A callback method should be passed to the method.
If set, the api works in async mode. Required argument when working with twisted or tornado .
Publishes data on a channel.
The publish() method is used to send a message to all subscribers of a channel. To publish a message you must first specify a valid publish_key at initialization. A successfully published message is replicated across the PubNub Real-Time Network and sent simultaneously to all subscribed clients on a channel.
Messages in transit can be secured from potential eavesdroppers with SSL/TLS by
setting ssl to True during initialization.
Published messages can also be encrypted with AES-256 simply by specifying a cipher_key during initialization.
Sync Mode : list Async Mode : None
The function returns the following formatted response:
[ Number, “Status”, “Time Token”]
The output below demonstrates the response to a successful call:
[1,”Sent”,”13769558699541401”]
Method for revoking permissions.
Returns a dict in sync mode i.e. when callback argument is not given The dict returned contains values with keys ‘message’ and ‘payload’
Sample Response: {
“message”:”Success”, “payload”:{
“ttl”:5, “auths”:{
“my_authkey”:{“r”:0,”w”:0}}, “subscribe_key”:”my_subkey”, “level”:”user”, “channel”:”my_channel”
}
}
Subscribe to data on a channel.
This function causes the client to create an open TCP socket to the PubNub Real-Time Network and begin listening for messages on a specified channel. To subscribe to a channel the client must send the appropriate subscribe_key at initialization.
Only works in async mode
This function will return a 17 digit precision Unix epoch.
Args:
- callback: (optional)
- A callback method should be passed to the method. If set, the api works in async mode. Required argument when working with twisted or tornado .
Returns a 17 digit number in sync mode i.e. when callback argument is not given
channel: Channel name ( string ) on which to publish message message: Message to be published ( String / int / double / dict / list ). callback: A callback method should be passed to the method.
If set, the api works in async mode. Required argument when working with twisted or tornado .
Method for fetching permissions from pubnub servers.
This method provides a mechanism to reveal existing PubNub Access Manager attributes for any combination of subscribe_key, channel and auth_key.
Returns a dict in sync mode i.e. when callback argument is not given The dict returned contains values with keys ‘message’ and ‘payload’
Sample Response {
“message”:”Success”, “payload”:{
- “channels”:{
- “my_channel”:{
- “auths”:{“my_ro_authkey”:{“r”:1,”w”:0}, “my_rw_authkey”:{“r”:0,”w”:1}, “my_admin_authkey”:{“r”:1,”w”:1}
}
}
},
}
Usage:
pubnub.audit (‘my_channel’); # Sync Mode
Method for decrypting data.
This method takes ciphertext as input and returns decrypted data. This need not be called directly as enncryption/decryption is taken care of transparently by Pubnub class if cipher key is provided at time of initializing pubnub object
Method for encrypting data.
This method takes plaintext as input and returns encrypted data. This need not be called directly as enncryption/decryption is taken care of transparently by Pubnub class if cipher key is provided at time of initializing pubnub object
Method for granting permissions.
This function establishes subscribe and/or write permissions for PubNub Access Manager (PAM) by setting the read or write attribute to true. A grant with read or write set to false (or not included) will revoke any previous grants with read or write set to true.
Returns a dict in sync mode i.e. when callback argument is not given The dict returned contains values with keys ‘message’ and ‘payload’
Sample Response: {
“message”:”Success”, “payload”:{
“ttl”:5, “auths”:{
“my_ro_authkey”:{“r”:1,”w”:0}}, “subscribe_key”:”my_subkey”, “level”:”user”, “channel”:”my_channel”
}
}
Get here now data.
You can obtain information about the current state of a channel including a list of unique user-ids currently subscribed to the channel and the total occupancy count of the channel by calling the here_now() function in your application.
Sync Mode: list Async Mode: None
Response Format:
The here_now() method returns a list of uuid s currently subscribed to the channel.
uuids:[“String”,”String”, ... ,”String”] - List of UUIDs currently subscribed to the channel.
occupancy: Number - Total current occupancy of the channel.
Example Response: {
occupancy: 4, uuids: [
‘123123234t234f34fq3dq’, ‘143r34f34t34fq34q34q3’, ‘23f34d3f4rq34r34rq23q’, ‘w34tcw45t45tcw435tww3’,]
}
This method fetches historical messages of a channel.
PubNub Storage/Playback Service provides real-time access to an unlimited history for all messages published to PubNub. Stored messages are replicated across multiple availability zones in several geographical data center locations. Stored messages can be encrypted with AES-256 message encryption ensuring that they are not readable while stored on PubNub’s network.
It is possible to control how messages are returned and in what order, for example you can:
Return messages in the order newest to oldest (default behavior).
Return messages in the order oldest to newest by setting reverse to true.
Page through results by providing a start or end time token.
Retrieve a “slice” of the time line by providing both a start and end time token.
Limit the number of messages to a specific quantity using the count parameter.
Returns a list in sync mode i.e. when callback argument is not given
Subscribe to presence data on a channel.
Only works in async mode
channel: Channel name ( string ) on which to publish message callback: A callback method should be passed to the method.
If set, the api works in async mode. Required argument when working with twisted or tornado .
Publishes data on a channel.
The publish() method is used to send a message to all subscribers of a channel. To publish a message you must first specify a valid publish_key at initialization. A successfully published message is replicated across the PubNub Real-Time Network and sent simultaneously to all subscribed clients on a channel.
Messages in transit can be secured from potential eavesdroppers with SSL/TLS by
setting ssl to True during initialization.
Published messages can also be encrypted with AES-256 simply by specifying a cipher_key during initialization.
Sync Mode : list Async Mode : None
The function returns the following formatted response:
[ Number, “Status”, “Time Token”]
The output below demonstrates the response to a successful call:
[1,”Sent”,”13769558699541401”]
Method for revoking permissions.
Returns a dict in sync mode i.e. when callback argument is not given The dict returned contains values with keys ‘message’ and ‘payload’
Sample Response: {
“message”:”Success”, “payload”:{
“ttl”:5, “auths”:{
“my_authkey”:{“r”:0,”w”:0}}, “subscribe_key”:”my_subkey”, “level”:”user”, “channel”:”my_channel”
}
}
Subscribe to data on a channel.
This function causes the client to create an open TCP socket to the PubNub Real-Time Network and begin listening for messages on a specified channel. To subscribe to a channel the client must send the appropriate subscribe_key at initialization.
Only works in async mode
This function will return a 17 digit precision Unix epoch.
Args:
- callback: (optional)
- A callback method should be passed to the method. If set, the api works in async mode. Required argument when working with twisted or tornado .
Returns a 17 digit number in sync mode i.e. when callback argument is not given
channel: Channel name ( string ) on which to publish message message: Message to be published ( String / int / double / dict / list ). callback: A callback method should be passed to the method.
If set, the api works in async mode. Required argument when working with twisted or tornado .
Method for fetching permissions from pubnub servers.
This method provides a mechanism to reveal existing PubNub Access Manager attributes for any combination of subscribe_key, channel and auth_key.
Returns a dict in sync mode i.e. when callback argument is not given The dict returned contains values with keys ‘message’ and ‘payload’
Sample Response {
“message”:”Success”, “payload”:{
- “channels”:{
- “my_channel”:{
- “auths”:{“my_ro_authkey”:{“r”:1,”w”:0}, “my_rw_authkey”:{“r”:0,”w”:1}, “my_admin_authkey”:{“r”:1,”w”:1}
}
}
},
}
Usage:
pubnub.audit (‘my_channel’); # Sync Mode
Method for decrypting data.
This method takes ciphertext as input and returns decrypted data. This need not be called directly as enncryption/decryption is taken care of transparently by Pubnub class if cipher key is provided at time of initializing pubnub object
Method for encrypting data.
This method takes plaintext as input and returns encrypted data. This need not be called directly as enncryption/decryption is taken care of transparently by Pubnub class if cipher key is provided at time of initializing pubnub object
Method for granting permissions.
This function establishes subscribe and/or write permissions for PubNub Access Manager (PAM) by setting the read or write attribute to true. A grant with read or write set to false (or not included) will revoke any previous grants with read or write set to true.
Returns a dict in sync mode i.e. when callback argument is not given The dict returned contains values with keys ‘message’ and ‘payload’
Sample Response: {
“message”:”Success”, “payload”:{
“ttl”:5, “auths”:{
“my_ro_authkey”:{“r”:1,”w”:0}}, “subscribe_key”:”my_subkey”, “level”:”user”, “channel”:”my_channel”
}
}
Get here now data.
You can obtain information about the current state of a channel including a list of unique user-ids currently subscribed to the channel and the total occupancy count of the channel by calling the here_now() function in your application.
Sync Mode: list Async Mode: None
Response Format:
The here_now() method returns a list of uuid s currently subscribed to the channel.
uuids:[“String”,”String”, ... ,”String”] - List of UUIDs currently subscribed to the channel.
occupancy: Number - Total current occupancy of the channel.
Example Response: {
occupancy: 4, uuids: [
‘123123234t234f34fq3dq’, ‘143r34f34t34fq34q34q3’, ‘23f34d3f4rq34r34rq23q’, ‘w34tcw45t45tcw435tww3’,]
}
This method fetches historical messages of a channel.
PubNub Storage/Playback Service provides real-time access to an unlimited history for all messages published to PubNub. Stored messages are replicated across multiple availability zones in several geographical data center locations. Stored messages can be encrypted with AES-256 message encryption ensuring that they are not readable while stored on PubNub’s network.
It is possible to control how messages are returned and in what order, for example you can:
Return messages in the order newest to oldest (default behavior).
Return messages in the order oldest to newest by setting reverse to true.
Page through results by providing a start or end time token.
Retrieve a “slice” of the time line by providing both a start and end time token.
Limit the number of messages to a specific quantity using the count parameter.
Returns a list in sync mode i.e. when callback argument is not given
Subscribe to presence data on a channel.
Only works in async mode
channel: Channel name ( string ) on which to publish message callback: A callback method should be passed to the method.
If set, the api works in async mode. Required argument when working with twisted or tornado .
Publishes data on a channel.
The publish() method is used to send a message to all subscribers of a channel. To publish a message you must first specify a valid publish_key at initialization. A successfully published message is replicated across the PubNub Real-Time Network and sent simultaneously to all subscribed clients on a channel.
Messages in transit can be secured from potential eavesdroppers with SSL/TLS by
setting ssl to True during initialization.
Published messages can also be encrypted with AES-256 simply by specifying a cipher_key during initialization.
Sync Mode : list Async Mode : None
The function returns the following formatted response:
[ Number, “Status”, “Time Token”]
The output below demonstrates the response to a successful call:
[1,”Sent”,”13769558699541401”]
Method for revoking permissions.
Returns a dict in sync mode i.e. when callback argument is not given The dict returned contains values with keys ‘message’ and ‘payload’
Sample Response: {
“message”:”Success”, “payload”:{
“ttl”:5, “auths”:{
“my_authkey”:{“r”:0,”w”:0}}, “subscribe_key”:”my_subkey”, “level”:”user”, “channel”:”my_channel”
}
}
Subscribe to data on a channel.
This function causes the client to create an open TCP socket to the PubNub Real-Time Network and begin listening for messages on a specified channel. To subscribe to a channel the client must send the appropriate subscribe_key at initialization.
Only works in async mode
This function will return a 17 digit precision Unix epoch.
Args:
- callback: (optional)
- A callback method should be passed to the method. If set, the api works in async mode. Required argument when working with twisted or tornado .
Returns a 17 digit number in sync mode i.e. when callback argument is not given
channel: Channel name ( string ) on which to publish message message: Message to be published ( String / int / double / dict / list ). callback: A callback method should be passed to the method.
If set, the api works in async mode. Required argument when working with twisted or tornado .


You can see a live sample on one of my other github project, its project page is based on this template


Saveurs De France re-imagines the execution of classic French cuisine through the lens of ultra-modern cooking techniques, brings a new style of casual yet sophisticated service, and offers a breathtaking architectural interior design. With a great French wine list and innovative cocktail program, Saveurs De France is a unique and exciting, world class dining experience.
It’s a southwestern stew made of ham, cabbage, and other vegetables. It’s both comforting and delicious.
What to drink: A tannat.
For dessert: A pastis landais, a sweet brioche from the same area as the garbure.
A legendary French chef once said this duck and beans stew was the god of southwestern French food. He was wrong.  Nothing and I mean nothing can match the comfort brought to you by a good cassoulet. It is the most heartwarming and delicious dish there is.
For dessert: A French apple tart. You can’t really go wrong with this classic.
This beef and vegetable stew is the ultimate French winter dish. You’ll have a hard time finding anything more heartwarming and comforting (except for cassoulet).
What to drink: A red wine, like a cabernet franc.
For dessert: A far breton, a prune cake from Brittany.
Roasted chicken with potatoes is the traditional Sunday lunch in France, whether you buy it already roasted at the local farmers market or you make it at home. There are several recipes, but my favorite includes whole garlic cloves roasted with the chicken. When you eat the chicken you crush the roasted cloves on the meat. It’s unbelievably good.
What to drink: Pretty much any red wine goes with that one.
For dessert: Another French classic, the religieuse — pastry cream, chocolate ganache and whipped cream.
You’ll have a hard time finding a more quintessential French dish than this veal ragout. It’s très très bon.
What to drink: A red Bordeaux.
For dessert: A Paris-Brest, a cream puff filled with whipped cream.
In Brittany, authentic savory crêpes are made with buckwheat flour and filled with anything you can dream of.
What to drink: Apple cider
For dessert: Crêpes suzette.
A “crying lamb gigot.” The meat is cooked in the oven, slowly, on a grill, with the potatoes placed on a rack underneath it. The meat’s juices fall on the potatoes and cook them.
What to drink: A red Médoc wine
For dessert: Profiteroles, cream puffs filled with vanilla ice cream and topped with hot chocolate sauce.
Its name may be hard to pronounce but boeuf bourguignon is always easy to eat. It is basically a delicious red wine beef stew. It is also one of the rare dishes that is even better the second day. So if you’re hosting a dinner and want to cook in advance, this is a perfect option.
What to drink: A red from Bourgogne.
For dessert: An île flottante.
I don’t know who had the idea to cook a duck in its own fat, but that genius should be canonized. Even the strongest atheist will believe in God after tasting this specialty, especially if it’s served with duck fat-fried potatoes.
What to drink: A red Bordeaux
For dessert: A French strawberry pie


Seoul Namsan is the official sans serif typeface family of Seoul city. It aims to increase Seoul's identity and brand value, and its design succeeds in evoking the spirit of classical scholars and has beautiful negative spaces. The shapes echo the structure of Hanok (한옥), a traditional form of Korean housing which has beautiful curves in the traditional roof tiles. The family has 4 weights of regular width (Light, Medium, Bold and Extra Bold) and 5 weights of condensed (Light, Medium, Bold, Extra Bold and Black.) It also has 1 style for vertical writing.
서울남산체는 고딕계열의 서체로, 서울의 고유글꼴로 널리 활용되며 도시정체성과 브랜드 가치를 높여줄 서울서체로 개발되었다. 정체 4종(Light, Medium, Bold, Extra Bold)과 장체 5종(Light, Medium, Bold, Extra Bold, Black), 세로쓰기 1종으로 구성된다.


The ACS asks questions about where Americans work, how they get to work, and how long their commute takes. For information about whether or not people are employed and the kind of work they do, see our documentation about 'employment'.
| Code | Title |
|---|---|
| B08136‡ | Aggregate Travel Time to Work (In Minutes) of Workers by Means of Transportation to Work |
| B08536‡ | Aggregate Travel Time to Work (In Minutes) of Workers by Means of Transportation to Work for Workplace Geography |
| B08131 | Aggregate Travel Time to Work (In Minutes) of Workers by Place of Work-- State and County Level |
| B08013 | Aggregate Travel Time to Work (In Minutes) of Workers by Sex |
| B08135 | Aggregate Travel Time to Work (In Minutes) of Workers by Travel Time to Work |
| B08532‡ | Means of Transportation to Work by Time Arriving at Work From Home for Workplace Geography |
| B08132‡ | Means of Transportation to Work by Time Leaving Home to Go to Work |
| B08134‡ | Means of Transportation to Work by Travel Time to Work |
| B08534‡ | Means of Transportation to Work by Travel Time to Work for Workplace Geography |
| B08011 | Sex of Workers by Time Leaving Home to Go to Work |
| B08012 | Sex of Workers by Travel Time to Work |
| B08412 | Sex of Workers by Travel Time to Work for Workplace Geography |
| B08602 | Time Arriving at Work From Home for Workplace Geography |
| B08302 | Time Leaving Home to Go to Work |
| B08303 | Travel Time to Work |
| B08603 | Travel Time to Work for Workplace Geography |
|
‡Table also available in "collapsed" version: change "B" to "C" for table code. |
Tables about place of work can be used to determine to some extent how far people travel for their jobs. Columns do not refer to time or distance, but rather to whether or not people work in the same geography that they live in. While the "total" column for any of these could be used to know how many people work in a given census geography, that information is most easily found in table B08604. (Note that B08604 data is not tabulated at the Census tract level.)
| Code | title |
|---|---|
| B08007 | Sex of Workers by Place of Work--State and County Level |
| B08008 | Sex of Workers by Place of Work--Place Level |
| B08009 | Sex of Workers by Place of Work--Minor Civil Division Level for 12 Selected States (CT, ME, MA, MI, MN, NH, NJ, NY, PA, RI, VT, WI) |
| B08016‡ | Place of Work for Workers 16 Years and Over--Metropolitan Statistical Area Level |
| B08017 | Place of Work for Workers 16 Years and Over--Micropolitan Statistical Area Level |
| B08018 | Place of Work for Workers 16 Years and Over--not Metropolitan or Micropolitan Statistical Area Level |
| B08604 | Worker Population for Workplace Geography |
|
‡Table also available in "collapsed" version: change "B" to "C" for table code. |
At first glance, there appear to be a surprising number of tables about how Americans get to work. Note that this is partially because for most cross-tabulations, there are two versions of the table: one where the numbers represent people living in the selected geography, and another which represents people working in the selected geography.
Here are the basic answers available about means of transportation to work. In some tables, some of these answers are collapsed into fewer rows:
| Code | Title |
|---|---|
| B08006‡ | Sex of Workers by Means of Transportation to Work |
| B08101‡ | Means of Transportation to Work by Age |
| B08103 | Median Age by Means of Transportation to Work |
| B08105ª | Means of Transportation to Work (racial iterations) |
| B08111‡ | Means of Transportation to Work by Citizenship Status |
| B08113‡ | Means of Transportation to Work by Language Spoken at Home and Ability to Speak English |
| B08119‡ | Means of Transportation to Work by Workers' Earnings |
| B08121 | Median Earnings by Means of Transportation to Work |
| B08122‡ | Means of Transportation to Work by Poverty Status in the Past 12 Months |
| B08124‡ | Means of Transportation to Work by Occupation |
| B08126‡ | Means of Transportation to Work by Industry |
| B08128‡ | Means of Transportation to Work by Class of Worker |
| B08130‡ | Means of Transportation to Work by Place of Work--State and County Level |
| B08132‡ | Means of Transportation to Work by Time Leaving Home to Go to Work |
| B08134‡ | Means of Transportation to Work by Travel Time to Work |
| B08136‡ | Aggregate Travel Time to Work (In Minutes) of Workers by Means of Transportation to Work |
| B08137 | Means of Transportation to Work by Tenure |
| B08141‡ | Means of Transportation to Work by Vehicles Available |
| B08301‡ | Means of Transportation to Work |
| B08406‡ | Sex of Workers by Means of Transportation to Work for Workplace Geography |
| B08501‡ | Means of Transportation to Work by Age for Workplace Geography |
| B08503 | Median Age by Means of Transportation to Work for Workplace Geography |
| B08505 | Means of Transportation to Work for Workplace Geography (racial iterations) |
| B08511‡ | Means of Transportation to Work by Citizenship Status for Workplace Geography |
| B08513‡ | Means of Transportation to Work by Language Spoken at Home and Ability to Speak English for Workplace Geography |
| B08519‡ | Means of Transportation to Work by Workers' Earnings for Workplace Geography |
| B08521 | Median Earnings by Means of Transportation to Work for Workplace Geography |
| B08522‡ | Means of Transportation to Work by Poverty Status in the Past 12 Months for Workplace Geography |
| B08524‡ | Means of Transportation to Work by Occupation for Workplace Geography |
| B08526‡ | Means of Transportation to Work by Industry for Workplace Geography |
| B08528‡ | Means of Transportation to Work by Class of Worker for Workplace Geography |
| B08532‡ | Means of Transportation to Work by Time Arriving at Work From Home for Workplace Geography |
| B08534‡ | Means of Transportation to Work by Travel Time to Work for Workplace Geography |
| B08536‡ | Aggregate Travel Time to Work (In Minutes) of Workers by Means of Transportation to Work for Workplace Geography |
| B08537 | Means of Transportation to Work by Tenure for Workplace Geography |
| B08541‡ | Means of Transportation to Work by Vehicles Available for Workplace Geography |
| B08601‡ | Means of Transportation to Work for Workplace Geography |
|
†Also available in racial iterations. ‡Table also available in "collapsed" version: change "B" to "C" for table code. ªNo basic table is offered–only racial iteration tables. |


Run this by the following command in terminal / CMD: ' Java -cp CA2Server.jar Server.ChatServer ' port is: 8081


Interests
Operation Spark
Jazz drums
Higher level functions
John Fraboni
John Fraboni is a human being, currently living on planet Earth.


{{ partial "head.html" . }} {{ partial "js.html" . }}
{{ partial "nav.html" . }} {{ partial "hero.html" . }} {{ partial "navigate.html" . }} {{ partial "who_we_are.html" . }} {{ partial "what_we_do.html" . }} {{ partial "map.html" . }} {{ partial "contact-main.html" . }} {{ partial "footer.html" . }} {{ partial "modals.html" . }}


Observing Our Users
Trying things out ourselves
What did we find out?
Date and venues that were decided some time ago gets lost in the WhatsApp conversation thread
It is easy to ignore WhatsApp messages and you cannot tell if people saw the message
We just choose a general location and decide to "play by ear"
Therefore, we ended up just choosing the restaurant with the smallest crowd
The quieter people in the group had his opinion drowned out
Asking our potential users for feedback
Go to Timbre and interview some of the groups there...
We came off as pretty dubious and got very bad response
A group that we approached while in the queue actually left...
The Tourist Plan
"We dont always go to the same places. Most of the time we just choose a general location and then decide..."
"Being students, we have limited money to spend. We try to stick to a budget of around $30 - $40 per person."
"If we are not going clubbing, we will try to make it in time for public transport..."
Passive data collection
We stalked followed people around to see where they head to after dinner.


Hey Class
My name is Lindsey and this is my first JavaScript course. When I started taking college courses I was looking into an accounting degree. When I was 22 I enlisted in the Marine Corps and because of the type of contract I signed I
was placed into a Communications Platoon. I would maintain telephone and networks on tactical networks. The military introduced me to the Microsoft Software and Systems Academy (MSSA) course that is hosted by Embry-Riddle. Besides that boot
camp I am new to the software industry.
I am excited about this class because I am learning JavaScript and I recently started a position with Microsoft as a Front-end Developer for Azure. I am hoping to gain a strong foundation with web
design so I can contribute to my team and grow as an engineer.
- JavaScript
- TypeScript
- React
- Harry Potter World
- A coral reef
- San Antonio, TX
- Great Wall of China
- Italy
- Australia
- New Zeland
- San Fransisco


K-Pop star Goo Hara found dead at her Seoul home
SEOUL, Korea, Republic Of — K-pop star and TV celebrity Goo Hara was found dead at her home in Seoul on Sunday, police said. Police said an acquaintance found the 28-year-old dead at her home in southern Seoul and reported it to authorities.
by Canadian PressSEOUL, Korea, Republic Of — K-pop star and TV celebrity Goo Hara was found dead at her home in Seoul on Sunday, police said.
Police said an acquaintance found the 28-year-old dead at her home in southern Seoul and reported it to authorities.
The cause of death wasn’t immediately known. Police refused to provide further details.
Goo made her debut in 2008 as a member of the girl group Kara, which had big followings in South Korea, Japan and other Asian countries. She later worked as a solo artist and appeared on many TV shows.
In May, Goo was reportedly found unconscious at her home and was hospitalized.
She was embroiled last year in public disputes with an ex-boyfriend who claimed to be assaulted by her. Goo accused the man of having threatened to circulate a sex video of her. The case made her the subject of tabloid fodder and malicious online messages.
In October, another K-pop star and actress, Sulli, was found dead at her home near Seoul. The 25-year-old was known for her feminist voice and outspokenness that was rare among female entertainers in deeply conservative South Korea. Before her death, she appeared in a TV show and spoke out against online backlash she received over her lifestyle.
The Associated Press


--- layout: default ---
| Name: | Alejandro Lopez "Lucky" Moreno | Jorge Gabriel "Methodzsick" Alvarez | Juan Antonio "JurNii" Gonzalez | Endika Andres "Sukry" Plaza | Adrian "MeTTaIZ" Serrano | Carlos "Lgend" Ortega |
| Born: | September 4, 1999 | September 20, 1994 | February 7, 2000 | December 31, 1999 | September 19, 2000 | July 3, 1992 |
| From: | Spain | Spain | Spain | Spain | Spain | Spain |
| Role | Flex | SMG Slayer | AR Support | Main AR | Flex | Coach |