Sikhs celebrate founder Guru Nanak's 550th birth anniversary
by https://www.dawn.com/authors/202/dawn-com, AFP | Dawn.comThe annual celebration has been given extra significance this year with the opening of the Kartarpur Corridor.
It is one of the biggest birthday celebrations in the world: millions of Sikhs will today mark the 550th birth anniversary of Guru Nanak, the founder of their religion.
In pictures: Pakistan welcomes scores of Sikh pilgrims to Gurdwara Darbar Sahib in landmark ceremony
The annual celebration has been given extra significance this year with the opening of the Kartarpur Corridor, a secure, visa-free passage between India and Pakistan that gives Indian Sikhs access to the place where the guru breathed his last in 1539, now one of the religion's holiest sites.
What is Sikhism?
Sikhism is a monotheistic religion born in the 15th-century in Punjab — meaning the land of five rivers, a region spanning parts of what is now India and Pakistan.
Five and a half centuries later, Sikhs number up to 30 million worldwide, with a rich diaspora in places such as Canada, the US and Europe — although the vast majority remain in India.
Once rulers of the Punjab, they were considered a 'martial race' by the British colonisers.
Men, in particular, are instantly recognisable by their colourful turbans, used to cover their hair, which they must leave uncut.
That is one of the five articles of their faith they must carry all the time, known as the Five Ks: the Kesh (uncut hair), Kara (a steel bracelet), Kanga (a wooden comb), Kaccha (cotton underwear), and Kirpan (a curved dagger).
Sikhs worship God, known to them as Waheguru, or "wonderful teacher", inside gurdwaras, or "doorways to God".
The word "Sikh" means the "seeker", or the "learner".
Male Sikhs bear the name "Singh", which means lion; while women go by "Kaur", or princess.
Who was Guru Nanak?
Guru Nanak was born in 1469 to a Hindu family at Nankana Sahib, a city about 80 kilometres (50 miles) from Lahore.
Some legends say there were signs of divinity around him from the start, such as the time a cobra was found rearing over his head — not to attack him, but to shade him from the sun as he napped.
As he grew older the Guru began travelling, preaching a faith based on equality and one God.
He died in 1539 in Kartarpur, where his remains are buried.
Nine gurus followed Guru Nanak and there is no living human successor, but the Guru Granth Sahib — the Sikh holy book — is considered the 11th and eternal.
What happens on his birthday?
Sikhs around the world, but especially on the subcontinent, will come together to sing, pray, eat and hold sprawling processions to different gurdwaras.
Some of the biggest celebrations will be the site of their one of their holiest shrines, the Golden Temple in Amritsar, India.
In Pakistan, thousands of Sikhs are expected to mark the occasion at Nankana Sahib and Kartarpur.
Why is this year special?
Apart from it being the 550th anniversary, this year also saw the opening of the Kartarpur Corridor — a secure land link allowing Indian Sikhs to visit the gurdwara in the Pakistani town where the Guru died.
The gurdwara at Kartarpur is so close to the India-Pakistan frontier that its white dome and four cupolas can be seen from across the border.
On Saturday, Prime Minister Imran Khan formally inaugurated the Kartarpur Corridor at a colourful ceremony.
"I congratulate the Sikh community on the 550th birth anniversary of Baba Guru Nanak and welcome you all," the premier had said at the start of his address on the colourful occasion, which was marked by festivities as hundreds of Sikhs from India got their first chance to access the revered site.


edgeR adopts a quartile-adjusted conditional maximum likelihood estimator to determine overdispersion parameters in negative binomial distribution. This approach is of improved performance than standard maximum likelihood estimator, especially when there are few replicates per condition. Dispersion parameters are later refined by adjusting towards a consensus value using cross-transcript information via empirical Bayes procedure. Differentially expressed genes are validated by an exact test to determine if reads count under different condition fit the same negative binomial distribution.
|
TMM, UQ, RLE(default), none (all scaling factors set to 1)
Negative binomial distribution Fisher's exact test Benjamini-Hochberg procedure Standard Comparison, Multi-factor Design, Without Replicates |
|
Package |
Version |
Normalization (default) |
Model of Reads Count Distribution |
Differential Expression Test |
FDR Control |
Standard Comparison |
Multi-factor Design |
Without Replicates |
|
DESeq2 |
1.6.2 |
sizeFactors |
Negative binomial distribution |
Wald test, LRT |
Benjamini-Hochberg procedure |
|
|
|
|
edgeR |
3.8.3 |
TMM |
Negative binomial distribution |
Fisher's exact test |
Benjamini-Hochberg procedure |
|
|
|
|
NOISeq |
2.8.0 |
RPKM |
Nonparametric method |
P-value for empirical distributions |
Not applicatable |
|
|
|
|
PoissonSeq |
1.1.2 |
Goodness-of-fit estimate |
Poisson distribution |
Score statistics |
A permutation plug-in approach |
|
|
|
|
SAMseq
|
2.0 |
Subsampling method |
Nonparametric method |
Wilcoxon test |
A permutation plug-in approach |
|
|
|


The Web Content tool allows site owners to choose external websites to display within their worksite.
Links: To set up Web Content links, you can specify the URL for any website, and a brief descriptive title. A link will appear in the menubar with the title you've chosen; when you click the link, the website will open within your worksite. You may add multiple Web Content links to your menubar.


Mayor William B. Judge
Toggle navigation
Home
Residents
Open a Work Order
View a Work Order
Utilities
Trash & Recycling
Street Sweeping
Leaf Pickup
Natural Gas Aggregate
Parks
Concerts
Schools
Library
Taxes
Government
Mayor's Office
Service Department
Human Resources
Building Department
Planning Department
Public Safety
Police Department
Fire Department
City Council
Contact
Courts
Municipal Court
Clerk of Courts
Probation
Clerk Website


DE GUZMAN, DARYL JAKE N.
<EMAIL_ADDRESS>Purok 5 Rimando Road Baguio City,Philippines
I am currently a student of University of Cordilleras taking up Information Technology major in Web Technology Track. I love surfing sites that will make me busy with it.I'm fun doing church activities and playing instrument. Playing basketball with my friends and with my cousins is the best time to my hobby.
Once you learn to quit it becomes a habit.


{% extends "polls/ubase.html" %}
{% block title %}Evotche - Are you sure?{% endblock title %}
{% block content %}
{% load extras %}
Are you sure you want to delete the ballot:
{{ ballot.ballot_name }}?
All of the following related items will be deleted:
- {{ categories }} Posts
- {{ choices }} Candidates
- {{ tokens }} Voter tokens
- {{ invoices }} Invoices
{% endblock content %}


Bachelors in Computer Science and Engineering
From Social Media Manger to Coordinator of the biggest Free Tech conference in Portugal!
ERASMUS Semester in Master of Informatiks
Scientific Writing course
Masters in Information Systems and Computer Engineering, specializing in Artificial Intelligence and Data Science
Cognitive Care Services team
& Data Analytics team


This program produces the matrix of the centre points of markers. A bitmap is imported, or loaded from the clipboard by 'Paste' which shows a surface with anisotropic distribution of markers. By clicking on the centres of these markers the data set for further processing is produced.


You can use data params like this: {{data.key1}} -> {{data.value2}}
{% for val in data.list %}
{{val}}
{% endfor %}
If you'd like to test getuserdata and postuserdata, this mini-form set to write to user 1337.
After saving valid JSON locally, you can click SDK Console in AppEngineLauncher and click Datastore Viewer to view it.
{%endblock%}


Welcome
This example will read the current document selection.
show data
Find more samples online...


California Nike store robbed by thieves who walked out with armfuls of merchandise
by Nicole DarrahA group of men in California brazenly stole from a Nike store on Monday — simply walking out with shoes and apparel by the box load.
The group of at least five men were at the Nike Factory Store at the Mountain Grove Shopping Center in Redlands around 8:30 p.m. when they took off, police said.
TEXAS MAN STEALS WOMAN'S PURSE, DRAGS HER DOWN MALL ESCALATOR: VIDEO
The shameless thieves appeared unfazed as they took armfuls of merchandise and walked straight through the front doors as metal detectors sounded alarms. A customer inside the store who filmed the incident told KTLA the group "knew exactly where they were going."
Once they made it out of the store, the group hauled the merchandise into an SUV and fled the scene, according to KABC.
NEW JERSEY WOMAN, 76, PLEADS WITH HALLOWEEN BURGLAR TO RETURN HUSBAND'S ASHES
Witnesses told investigators the theft happened within minutes. Authorities said the Nike Factory Store has been hit by robbers several times before, but it was unclear to them whether the thefts were connected.
CLICK HERE TO GET THE FOX NEWS APP
Nike employees reportedly said they're not allowed to intervene in such situations, and instead called police.
Anyone with information on this incident is urged to contact the Redlands Police Department at<PHONE_NUMBER>.


| 007:059 Khan | : |
Indeed, We sent Nuh (Noah) to his people and he said: "O my people! Worship Allah! You have no other Ilah (God) but Him. (La ilaha ill-Allah: none has the right to be worshipped but Allah). Certainly, I fear for you the torment of a Great Day!" |
| 007:059 Maulana | : |
Certainly We sent Noah to his people, so he said: O my people, serve Allah, you have no god other than Him. Indeed I fear for you the chastisement of a grievous day. |
| 007:059 Pickthal | : |
We sent Noah (of old) unto his people, and he said: O my people! Serve Allah. Ye have no other Allah save Him. Lo! I fear for you the retribution of an Awful Day. |
| 007:059 Rashad | : |
We sent Noah to his people, saying, "O my people, worship GOD; you have no other god beside Him. I fear for you the retribution of an awesome day." |
| 007:059 Sarwar | : |
We sent Noah to his people.  I am afraid of the punishment that you might suffer on the great Day (of Judgment)". |
| 007:059 Shakir | : |
Certainly We sent Nuh to his people, so he said: O my people! serve Allah, you have no god other than Him; surely I fear for you the chastisement of a grievous day. |
| 007:059 Sherali | : |
WE sent Noah to his people and he said, 'O my people, worship ALLAH, you have no other god but HIM. Indeed I fear for you the punishment of the great day.' |
| 007:059 Yusufali | : |
We sent Noah to his people. He said: "O my people! worship Allah! ye have no other god but Him. I fear for you the punishment of a dreadful day! |
Concepts/Themes Covered:
This tool uses eight English parallel translations for the Holy Quran imported from Mr. Clay Smith. You can also visit Qurany Concepts for browsing the Quran themes or topics. If you want to search the Holy Quran for keywords, please visit Qurany Keywords.


Class: Aws::CloudWatch::Types::MetricDataQuery
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Struct
|
|
|
Instance Chain:
self,
::Aws::Structure ,
Struct
|
|
| Inherits: |
Struct
|
| Defined in: | gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb |
Overview
This structure is used in both GetMetricData
and PutMetricAlarm
.
The supported use of this structure is different for those two
operations.
When used in GetMetricData
, it indicates the metric data to return,
and whether this call is just retrieving a batch set of data for one
metric, or is performing a Metrics Insights query or a math
expression. A single GetMetricData
call can include up to 500
MetricDataQuery
structures.
When used in PutMetricAlarm
, it enables you to create an alarm based
on a metric math expression. Each MetricDataQuery
in the array
specifies either a metric to retrieve, or a math expression to be
performed on retrieved metrics. A single PutMetricAlarm
call can
include up to 20 MetricDataQuery
structures in the array. The 20
structures can include as many as 10 structures that contain a
MetricStat
parameter to retrieve a metric, and as many as 10
structures that contain the Expression
parameter to perform a math
expression. Of those Expression
structures, one must have true
as
the value for ReturnData
. The result of this expression is the value
the alarm watches.
Any expression used in a PutMetricAlarm
operation must return a
single time series. For more information, see Metric Math Syntax and
Functions in the Amazon ::Aws::CloudWatch
User Guide.
Some of the parameters of this structure also have different uses
whether you are using this structure in a GetMetricData
operation or
a PutMetricAlarm
operation. These differences are explained in the
following parameter list.
Constant Summary
Instance Attribute Summary
-
#account_id ⇒ String
rw
The ID of the account where the metrics are located.
-
#expression ⇒ String
rw
This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data.
-
#id ⇒ String
rw
A short name used to tie this object to the results in the response.
-
#label ⇒ String
rw
A human-readable label for this metric or expression.
-
#metric_stat ⇒ Types::MetricStat
rw
The metric to be returned, along with statistics, period, and units.
-
#period ⇒ Integer
rw
The granularity, in seconds, of the returned data points.
-
#return_data ⇒ Boolean
rw
When used in
GetMetricData
, this option indicates whether to return the timestamps and raw data values of this metric.
Instance Method Summary
::Aws::Structure
- Included
| #to_hash | Alias for Structure#to_h. |
Instance Attribute Details
#account_id ⇒ String
(rw)
The ID of the account where the metrics are located.
If you are performing a GetMetricData
operation in a monitoring
account, use this to specify which account to retrieve this metric
from.
If you are performing a PutMetricAlarm
operation, use this to
specify which account contains the metric that the alarm is
watching.
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2704
class MetricDataQuery < Struct.new( :id, :metric_stat, :expression, :label, :return_data, :period, :account_id) SENSITIVE = [] include Aws::Structure end
#expression ⇒ String
(rw)
This field can contain either a Metrics Insights query, or a metric
math expression to be performed on the returned data. For more
information about Metrics Insights queries, see Metrics Insights
query components and syntax in the Amazon ::Aws::CloudWatch
User
Guide.
A math expression can use the Id
of the other metrics or queries
to refer to those metrics, and can also use the Id
of other
expressions to use the result of those expressions. For more
information about metric math expressions, see Metric Math Syntax
and Functions in the Amazon ::Aws::CloudWatch
User Guide.
Within each MetricDataQuery
object, you must specify either
Expression
or MetricStat
but not both.
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2704
class MetricDataQuery < Struct.new( :id, :metric_stat, :expression, :label, :return_data, :period, :account_id) SENSITIVE = [] include Aws::Structure end
#id ⇒ String
(rw)
A short name used to tie this object to the results in the response.
This name must be unique within a single call to GetMetricData
. If
you are performing math expressions on this set of data, this name
represents that data and can serve as a variable in the mathematical
expression. The valid characters are letters, numbers, and
underscore. The first character must be a lowercase letter.
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2704
class MetricDataQuery < Struct.new( :id, :metric_stat, :expression, :label, :return_data, :period, :account_id) SENSITIVE = [] include Aws::Structure end
#label ⇒ String
(rw)
A human-readable label for this metric or expression. This is
especially useful if this is an expression, so that you know what
the value represents. If the metric or expression is shown in a
::Aws::CloudWatch
dashboard widget, the label is shown. If Label is
omitted, ::Aws::CloudWatch
generates a default.
You can put dynamic expressions into a label, so that it is more descriptive. For more information, see Using Dynamic Labels.
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2704
class MetricDataQuery < Struct.new( :id, :metric_stat, :expression, :label, :return_data, :period, :account_id) SENSITIVE = [] include Aws::Structure end
#metric_stat ⇒ Types::MetricStat (rw)
The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.
Within one MetricDataQuery
object, you must specify either
Expression
or MetricStat
but not both.
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2704
class MetricDataQuery < Struct.new( :id, :metric_stat, :expression, :label, :return_data, :period, :account_id) SENSITIVE = [] include Aws::Structure end
#period ⇒ Integer
(rw)
The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of
- High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
.
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2704
class MetricDataQuery < Struct.new( :id, :metric_stat, :expression, :label, :return_data, :period, :account_id) SENSITIVE = [] include Aws::Structure end
#return_data ⇒ Boolean
(rw)
When used in GetMetricData
, this option indicates whether to
return the timestamps and raw data values of this metric. If you are
performing this call just to do math expressions and do not also
need the raw data returned, you can specify false
. If you omit
this, the default of true
is used.
When used in PutMetricAlarm
, specify true
for the one expression
result to use as the alarm. For all other metrics and expressions in
the same PutMetricAlarm
operation, specify ReturnData
as False.
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2704
class MetricDataQuery < Struct.new( :id, :metric_stat, :expression, :label, :return_data, :period, :account_id) SENSITIVE = [] include Aws::Structure end


Welcome to DevZest .Net Licensing
.Net Licensing is a lightweight yet comprehensive licensing solution for Microsoft .Net platform. This solution, provided as a .Net component, provides the same level security as signing your .Net assembly, and gives you utmost control and flexibility.
Summary
Everything is under your control
All licenses are published through your own web service. You have full control on when and how a license should be published: with or without a license key, valid for certain period, or upgradable with future versions within certain period, etc; A license can contain multiple license items (features) you can grant or revoke accordingly; You can even disable a refunded license key for future use. Everything is under your control.
Same level security as signing your .Net assembly
Each license is digitally signed and verified with the same strong name key used to sign your protected .Net assembly. Only your own license publisher web service can access the private key. This provides the same level security as signing your .Net assembly. Unless your private key is compromised, the verified license can always to trusted.
Using the same assembly strong name key also reduces the number of keys to manage and improves security.
Simple and unified API to protect your .Net applications and components
We provide simple and unified API to protected your .Net applications and components. After you make the decision where to store the published license (registry, file/isolated storage file, or embedded resource in caller assembly), you can simply declare corresponding assembly level license provider attribute, and call LicenseManager.Validate in your code. This simple, unified API works for all your .Net applications and components, cross all .Net based technologies such as Windows Forms, ASP.Net and WPF.
Least constraints: partial trust and no SSL required
The rewards of building applications that run under partial trust are great. The .Net Licensing component can run under medium trust level without any problem. That means you can deploy your license publisher in a shared hosting environment, and the protected applications and components can also run under partial trust.
Transparent to developer, the communication between your license client and license publisher is encrypted so that no SSL is required for the web server hosting the license publisher.
Altogether, this can save your cost directly.
Fully customizable
The .Net Licensing component is fully extensible from all aspects: the license publisher, the license and license items, and the license provider to look up the license. The default implementation can meet most requirements, however you still have the freedom to extend this component easily.
Screenshots
The product is not licensed:
Change the product license:
An Evaluation License obtained:
A Paid License obtained:
How to Use
- Create a project in Visual Studio or other IDE, targeting .Net Framework 3.0 or later;
- Add nuget package DevZest.Licensing to your project.
- Documentation available: Programming Guide and Class Library
- Source code available: https://github.com/DevZest/Licensing.
- Samples available: https://github.com/DevZest/Licensing.Samples.


{% extends "halfwayapp/base.html" %}
{% load bootstrap %}
{% block content %}
Let's meet halfway
Discover convenient places to meet up, safely and securely.
Enter your address and transit mode, then we'll generate a link for you to share with your friend.
Enter your meeting id to add your address or view results.


A graphical and automated pipeline for the analysis of short time-series in R ('santaR'). This approach is designed to accommodate asynchronous time sampling (i.e. different time points for different individuals), inter-individual variability, noisy measurements and large numbers of variables. Based on a smoothing splines functional model, 'santaR' is able to detect variables highlighting significantly different temporal trajectories between study groups. Designed initially for metabolic phenotyping, 'santaR' is also suited for other Systems Biology disciplines. Command line and graphical analysis (via a 'shiny' application) enable fast and parallel automated analysis and reporting, intuitive visualisation and comprehensive plotting options for non-specialist users.
| Version: | 1.0 |
| Depends: | R (≥ 3.4.0) |
| Imports: | plyr (≥ 1.8.4), foreach (≥ 1.4.4), doParallel (≥ 1.0.11), pcaMethods (≥ 1.70.0), ggplot2 (≥ 2.2.1), gridExtra (≥ 2.3), reshape2 (≥ 1.4.3), iterators (≥ 1.0.9), shiny (≥ 1.0.5), shinythemes (≥ 1.1.1) |
| Suggests: | knitr, rmarkdown, pander, R.rsp |
| Published: | 2018-01-24 |
| Author: | Arnaud Wolfer [aut, cre], Timothy Ebbels [ctb], Joe Cheng [ctb] (Shiny javascript custom-input control) |
| Maintainer: | Arnaud Wolfer <adwolfer at gmail.com> |
| License: | GPL-3 |
| URL: | https://github.com/adwolfer |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | santaR results |
| Reference manual: | santaR.pdf |
| Vignettes: |
Advanced command line functions Automated command line analysis Getting Started with the santaR package Plotting options How to prepare input data for santaR Selecting an optimal number of degrees of freedom santaR Theoretical Background santaR: Graphical user interface |
| Package source: | santaR_1.0.tar.gz |
| Windows binaries: | r-devel: santaR_1.0.zip, r-release: santaR_1.0.zip, r-oldrel: santaR_1.0.zip |
| OS X binaries: | r-release: santaR_1.0.tgz, r-oldrel: santaR_1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=santaR to link to this page.


I'm Gonçalo ''El'' Cantante, the Portuguese Escobar.
This is supposed to be the beggining of my journey to become a Web
Developer,
having fun in the process. So I decided to create a simple personal website just to get to know the basics of HTML, CSS
and JavaScript.


Hi there!
Welcome to my web development gallery!
Stay as long as you'd like...
About Me
I am passionate about problem solving, keeping up with the latest technology, providing the best service possible,
and maintaining a safe and efficient operation. I have extensive experience in tier-1 tech support, administrative work,
customer service, handling/using company mobile devices, and procurement. I am company focused, detail oriented, people
driven, and strive to provide the best customer experience possible.
I am a big picture thinker when it comes to projects. I understand how to adapt to other’s wishes, work in a team,
and think out of the box when it comes to applications of products or services.
Contact
For business inquiries please leave your information below.


On ES 6 Modules
Note: This was written quite some time ago. The current ES6 Module specification has changed a lot since then, and many of my complaints have been addressed. Treat this essay as a piece of history. click here to acknowledge this caveat and read the essay.
A few things have rubbed me the wrong way about the current Modules and Module Loader specification. I regret that I have not been very clear about what exactly my objections are, and worse still, I have not been very clear about what I think a better direction would be.
Yes, this will be sent to ES-Discuss as a proper discussion proposal. This blog post is phase three of getting my ideas in order. (The first being “get annoyed that current proposals don’t fix the problem”, and the second being “rant about it with friends and colleagues on twitter and over tacos.”)
First of all, I want to put to rest any ideas that I’m a die-hard JavaScript language conservative ideologue who will oppose any change whatsoever. I am well aware that what we have is lacking. I would love to see changes that make it easier to write JavaScript module systems, and debug programs that use them.
I believe that there is a place for new syntax, especially in cases where it allows for optimizations in the implementation, ease of reading, or run-time behavior that must occur before the program is executed (that is, static analysis stuff.) Parsing a plain-old JavaScript AST is certainly possible, but it’s a bit unfortunate.
We’ve spent a few years now doing modules in JavaScript. The claim that “JavaScript needs modules” is thus somewhat misguided: JavaScript needs better modules. Leaving aside Node.js for the moment, modular systems in JavaScript generally:
- Impose boilerplate restrictions on the programmer. This is ugly and error-prone, and there is no easy way to catch many of these errors early.
- Are not inter-operable with code that uses a different module system (or none at all).
- Either require that all modules be present in the page at the start, or delay the execution of the program unacceptably. (No one does sync XHR. I’m talking about r.js/AMD and the YUI3 seed file here.)
- Leaks internal implementation details in unfortunate ways, so that users are sometimes surprised when behavior violates intuitions.
- Do not isolate global leakage, making a missing
var
a felony, when it shouldn’t even be a misdemeanor. (At best, they wrap in a function.) - To varying degrees, line and column numbers are obscured. (Sometimes just the first line’s column; sometimes the stack traces are completely meaningless.)
All of these problems are issues with Node.js as well! We paper
over #3 by using a package manager and requiring that the modules in
your program are available on the disk at the start, but it’s still in
my opinion unacceptable. We have the advantage of “startup time” and
“run time” separation, but really, <script>
tags are a web browser’s
“startup time”, and the rest of the time is its “run time”. Build
processes allow one to trade run-time delay (and complexity) for
up-front download size (and a simpler synchronous require()
), but
generally only by making the other problems worse.
TC-39 has one chance to specify a Module system that can address each of these issues, or allow host platforms to address them effectively. Problems introduced here will be with us forever. A half-way fix will be prohibitively expensive to fix once it’s in use, so we’ll be stuck with mistakes for some time (as we in Node.js are stuck with the mistakes in our system.)
The Good in the Current Spec
Though I think it has deep problems, there are very good parts in the current spec:
- It clearly is attempting to reach a module system that addresses the needs of Node.js (and whatever on-device JavaScript platforms succeed it), as well as those of browser-JavaScript authors and platforms like RequireJS and Browserify.
- The issues around globals and scope are pretty solid. I don’t have much to complain about there. Any changes to global behavior come along with a pile of edge cases, but they’re pretty thorougly evaluated and addressed.
- The goals of both the Module and Loader proposals had me pretty much cheering. It seems like TC-39 is actually interested in solving a problem, and that gives me hope.
More than anything, reading the spec makes it clear that the problem is fairly well understood. However, the presented solution seems to be headed in the wrong direction.
Problems with the Current Spec
I’m not going to go through the issues that I have with the current spec one by one. It’s tedious and not the conversation we should be having. I’ll detail my alternative proposal below.
However, there are a few points I’d like to highlight, because they are issues that probably ought to be informed by the experience that I and other module system authors and users can provide.
It seems to be based on the assumption that nesting module systems is a thing that people want. Historically, in Node, we’ve made several API decisions based on the explicitly stated requests to make the module system more extensible and flexible. In practice, none of the supposed innovation panned out, and every one of those decisions was a huge mistake that increased flexibility with no tangible benefit.
People don’t want to write module systems. People want to stop writing module systems. Once there’s a module system in place, it should be The module system, period.
It bears repeating: no one wants to write a module system. A few of us take it on out of regrettable necessity.  The only rational position is to do the simplest necessary thing, and as quickly as possible get to the business of building real programs with it. Optimize for that.
It puts too many things in JavaScript (as either API or syntax) which belong in the host (browser/node.js). As I said, people don’t actually want to write module systems in their JavaScript programs. They want to stop having to think about it. Node’s module system has been successful (as has require.js and browserify) precisely because it requires a minimum amount of thought on the part of the user about the module system. (It’s still way too much.)
Adding features that add complexity with the goal of making it easier to have lots of module systems in JavaScript is a mistake. Typically we can enable extension more effectively by reducing the scope of the specification, rather than by increasing it.
It borrows syntax from Python that many Python users do not even recommend using. The
import * from mod
syntax is dated and highly contentious in the Python community (as isimport com.foo.*
in Java), because it is a recipe for name collisions. Learning from real implementations is winful; but we should be avoiding their mistakes, not copying them.Furthermore,
let
already gives us destructuring assignment. If a module exports a bunch of items, and we want several of them, then dovar {x,y,z} = import 'foo'
or some such. Thisimport <x> from <module> as <blerg>
is 100% unnecessary, adds nothing, and solves no problems. It does not pay its utility bill.It favors the “object bag of exported members” approach, rather than the “single user-defined export” approach. Node.js uses an
exports
object because the CommonJS approach seemed like a good idea at the time, and it works around the fact that we have no good way to handle transitive dependencies except via unfinished objects.However, it is widely acknowledged in the node community that using the
module.exports = xyz
style generally results in better programs. Changes at the language level can likely address the transitive loading issue more powerfully, and so should encourage the known best practices.
A Simpler Proposal
Clearly, the problems with the current state of JavaScript modules cannot be solved with zero changes to the language. Some cannot be changed without adding syntax. However, every change carries with it a cost. Therefor, it seems like the ideal approach is to try to find the minimum possible change that will address the issues – and, we ought to be ruthless on which bits of functionality don’t make the cut to be worth the risk. If we can get away with a much smaller fix by refusing to address part of the problem which is inessential, then that is the right course of action.
I don’t know if this is minimal enough, but I’d like to propose the following, which I think picks some of the most essential aspects of the Loader and Module proposals. It’s very rough, and there are a lot of unanswered questions. But in general, this is what I would like to see from a Loader specification.
This is very rough, and needs a lot of polish and edge-case exploration. I’m not pitching it to get it accepted, I’m sharing it to hopefully help pull the conversation in another direction, and help make it clear what a better proposal might look like.
(I’ve numbered them simply so that I can refer to bits later, not so much because they’re a list of like things in order. I’m a spec n00b.)
A
Loader
built-in object, with a few methods that must be specified before modules can be used. (And will typically be specified by the host object.)Within a module, the
import <pathString>
syntax that can be easily detected statically in program text before evaluation, and returns a module’s exported object.var foo = import 'path/to/foo.js'
. Import returns a single value, always. The path must be a string literal. The import keyword is an operator, not a function, and thus cannot be assigned etc.Loader.define(<path>, <program text>)
defines a module at the specified<path>
, with the<program text>
contents. That<program text>
is statically analyzed for anyimport
statements.Whenever an
import <path>
is encountered in<program text>
then theLoader.resolve(requestPath, callerPath, callback)
is called. This method should return a fully qualified path. If this method returns booleantrue
, then it will not be considered resolved until the callback is called. (The argument to the callback is the string path.) If it does not return true, and does not return a string path, then this is an error, and throws.Once a module is resolved to a full path string, then
Loader.load(fullPath, callback)
is called.callback
should not be called untilLoader.define(fullPath, contents)
is called. This should be called at most once for any givenfullPath
. (Is the callback even necessary? Why not just wait forLoader.define
and throw any errors encountered?)The
Loader.main(fullPath)
method executes the module referenced byfullPath
(which must have already been defined), as well as evaluating each of the modules that it imports.Within a module, the
export <expression>
statement marks the result of<expression>
as the exported value from the module. There can be at most one export statement in a module, and the exported expression is the module’s export. To export more than one thing, export an object with more than one thing on it.Modules export a single value. Exporting a second time throws.
Maybe this is not a valid cause for syntax addition. I’m not sure. There are hairy problems around cyclic dependencies, so it’s worth at least having the option to address with static magic that has not yet been fully imagined.
The global object within a module context is equivalent to
Object.create(<global>)
from the main global context. (The important thing is that leaks aren’t leaky outside the module, but for example,x typeof Error
still works, because it uses the same Error function.)If a module does not contain an
export
statement, then its global object is its export. This is to provide support for legacy modules that create a global object (such asjQuery
) rather than using an export statement. (Too magical? Probably. Also, what about having exports inheriting from global is weird. Is there a simpler way to make existing libs place nicely with this approach?)
The default values of Loader.load
, Loader.define
, and
Loader.resolve
would typically be set by the host environment.
However, for reasons of simplicity, they must be set in normal
program text (ie, not in a module), and modules should not have the
ability to alter them.
In web browsers, modules could be defined straight away by using a new
attribute on the script tag: <script module
src='http://src.com/foo.js'></script>
would be equivalent to doing
Loader.define('http://src.com/foo.js', '<contents of foo.js>)
.
Bundler programs could trivially translate files into modules using
Loader.define (rather than wrapping in a IIFE), or JavaScript files
could be loaded as-is, without requiring that existing libraries begin
using any module { ... }
syntax.
In Web Browsers
Web Browsers could implement the Loader object thusly:
Loader.resolve(request, from)
Uses standard URL-resolution rules.Loader.define
could be sweetened by a<script module>
tag.Loader.main
could be set via a<script module main>
tag.Loader.load
could fetch the URL, and evaluate the contents, as if it had been added to the document with a<script module src=...>
tag.
For additional extensibility, these methods could be overridden by, for example, browserify or RequireJS.
For security, the Loader object could be frozen with Object.freeze
to
prevent additional changes.
I’m in no way attached to the specifics of the tag spelling. My point is that we in the JS community should specify the loader semantics, and then let host objects take advantage of them in application-specific ways.
In Require.JS
RequireJS and other AMD platforms would be pretty much made mostly
obsolete by this specification, since the principle of AMD would just be
“how it works” in web browsers by default. But, without the unfortunate
boilerplate, and the resource loading mechanism could kick off much
sooner, since import
statements can be detected long before the script
is actually run.
In Browserify
Most browserify modules would Just Work if they replaced require(..)
with import ..
. However, it would probably be necessary to extend the
Loader
methods to provide shims for Node.js built-ins (ie, path, fs,
url, assert, net, http, etc.) as well as pre-define node_modules
dependencies into the browserify bundle.
However, Browserify’s static analysis build step could be made much more
effective by using a designated import
operator rather than relying on
knowledge of a require
function.
In Node.js
Loader.resolve(request, from)
would do the currentnode_modules
andNODE_PATH
dance.Loader.define
would replace the existing module wrapper stuff.Loader.main
would be called on the module specified as a command line argument.Loader.load
would be very straightforward FS operations.
This would also set the stage for making node-core itself more modular,
and we could even explore new approaches like detecting module
dependencies from code, rather than requiring the use of a
package.json
file, which is very exciting.
What’s Missing from this Proposal
There is no module
syntax in this “module” proposal. That is because
it is unnecessary, and its omission is intentional.
A lot of work has also been done on the Harmony Module Loader proposal to flesh out some details of the Loader object. Most of this is good stuff. However, by removing the Module syntax portion of the proposal, a lot of those things can be streamlined.
It’s also worth mentioning that this approach make sourcemaps
unnecessary for useful stack traces, even in bundled or concatenated
code, as the Loader.define()
syntax would function as a sourcemap.
While the experience in the wild has shown us that the “export one thing” approach is definition sound, I’m not sure exactly how to handle the transitive dependency issue in a way that doesn’t involve unfinished objects, or cause breakage in cases like this:
// x.js
var y = import './y.js'
// y.js
setTimeout(function() {
export { fooled: 'you' }
}, 100)
Even more insidious is something like this:
// x.js
var y = import './y.js'
export { real: 'x' }
// y.js
var x = import './x.js'
assert.deepEqual(x, {real: 'x'}) // nope!!
Because x
sets its export after being loaded by y
, the assignment
does nothing. Currently, in Node.js (and most other systems as well)
this is not handled, or not handled very well at least.
Is there some way that it could somehow pass an object to the x
module
that would get swapped out behind the scenes when y.js
changes its
export? Is that too magical? I’m not sure.
Next…
My hope is that this post will help spark a more interesting conversation than the current tendency towards “YAY/BOO” that is so common in the internet. This isn’t politics. We’re not voting for parties. The goal is to figure out the best API, which is a complex thing. The solution space is wide, and it is naive to reduce it to a boolean prematurely.
I would like to try out some implementations of this in Node.js as soon as possible. Also, I’d love to hear feedback about which parts of this you think are unnecessary or impossible.
Let’s not forget that we all want these problems solved. No reasonable person thinks that JavaScript programs are optimally modular today. Most people who enjoy Node’s module system only like it because they’ve never taken a close look at it. As one of its maintainers and chief architects, I feel qualified to say that it’s pretty terrible. (Though, in my opinion, it is the best I’ve used, and the only that is optimized for maximum utility and an absolute intolerance for boilerplate. It’s just that the language is lacking, but that’s what this is all about.)
Not every change is an improvement, but every improvement is a change. My friends in the “no new syntax” crowd would do well to remember that.
That being said, since JavaScript cannot be easily changed, and can only be changed in one direction, we must be very careful to make sure that every change is an improvement. It’s more important to proceed carefully than to proceed quickly.
Future generations will thank us for our care, and curse us for our haste.


HTMLString
is a library written in Swift that enables your app to escape and unescape HTML entities in Strings.
| Main features | |
|---|---|
| 🔏 | Adds entities for ASCII and UTF-8/UTF-16 encodings |
| 📝 | Removes more than 2100 named entities (like & ) |
| 🔢 | Supports removing decimal and hexadecimal entities |
| 🐣 | Designed to support Swift Extended Grapheme Clusters (→ 100% emoji-proof) |
| ✅ | Fully unit tested |
| ⚡ | Fast |
| 📚 | 100% documented |
| 🤖 | Compatible with Objective-C |
Supported Platforms
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 2.0+
- Linux
Installation
Swift Package Manager
Add this line to your Package.swift
:
.Package(url: "https://github.com/alexaubry/HTMLString", majorVersion: 3, minor: 0)
CocoaPods
Add this line to your Podfile
:
pod 'HTMLString'
Carthage
Add this line to your Cartfile:
github "alexaurby/HTMLString"
Manual
Copy the Sources/HTMLString/
directory into your project.
Usage
HTMLString
allows you to add and remove HTML entities from a String.
🔏 Add HTML Entities (Escape)
When a character is not supported into the specified encoding, the library replaces it with a decimal entitiy, such as &
<=> &
(compatible with HTML 4+).
You can choose between ASCII and Unicode escaping.
💡 Pro Tip: When your content supports UTF-8 or UTF-16, use Unicode escaping as it is faster and yields a less bloated output.
Docs
Example
import HTMLString
let emoji = "My favorite emoji is 🙃"
let escapedEmoji = emoji.addingASCIIEntities // "My favorite emoji is 🙃"
let noNeedToEscapeThatEmoji = emoji.addingUnicodeEntities // "My favorite emoji is 🙃"
let snack = "Fish & Chips"
let escapedSnack = snack.addingUnicodeEntities // "Fish & Chips"
📝 Remove HTML Entities (Unescape)
To remove HTML entities from a String, use the removingHTMLEntities
property.
Docs
Example
import HTMLString
let escapedEmoji = "My favorite emoji is 🙃"
let emoji = escapedEmoji.removingHTMLEntities // "My favorite emoji is 🙃"
let escapedSnack = "Fish & Chips"
let snack = escapedSnack.removingHTMLEntities // "Fish & Chips"
Objective-C API
With Obj-C Mix and Match, you can import and use the HTMLString
module from in Objective-C code.
The library introduces a set of Objective-C specific APIs as categories on the NSString
type:
[aString stringByAddingUnicodeEntities];
: Replaces every character incompatible with HTML Unicode encoding by a decimal HTML entitiy.[aString stringByAddingASCIIEntities];
: Replaces every character incompatible with HTML ASCII encoding by a decimal HTML entitiy.[aString stringByRemovingHTMLEntities];
: Replaces every HTML entity with the matching Unicode character.
Escaping Examples
@import HTMLString;
NSString *emoji = @"My favorite emoji is 🙃";
NSString *escapedEmoji = [emoji stringByAddingASCIIEntities]; // "My favorite emoji is 🙃"
NSString *snack = @"Fish & Chips";
NSString *escapedSnack = [snack stringByAddingUnicodeEntities]; // "Fish & Chips"
Unescaping Examples
@import HTMLString;
NSString *escapedEmoji = @"My favorite emoji is 🙃";
NSString *emoji = [escapedEmoji stringByRemovingHTMLEntities]; // "My favorite emoji is 🙃"
NSString *escapedSnack = @"Fish & Chips";
NSString *snack = [escapedSnack stringByRemovingHTMLEntities]; // "Fish & Chips"
💯 Acknowledgements
This library was inspired by @google‘s Toolbox for Mac.


Zildith Network
Home
(current)
News
Rules
Staff
Shop
Staff
The people responsible for running the server!
Home
Staff
Administrators
5
Owner
Head of Officials
Head of Map Development
Head of Moderation
Head of Community
Developers
3
Developer
Developer
Developer
Map Developers
5
Head Map Developer
Map Developer
Map Developer
Map Developer
Map Developer
Moderators
3
Moderator
Moderator
Moderator
Officials
7
Head Official
Official
Official
Official
Official
Official
Official
Graphics
1
Graphics Designer


Before I divulge my few experiences with Salvia I'd like to explain a bit about myself.  I consider myself quite experienced with marijuana, and I have had experiences with alcohol, Ritalin, Benadryl, PCP, Codeine, Vicodin, Lorazepam, and Ambien.
I first heard about Salvia last August when my friend Josh told me about it, and said he wanted to try some. I told him I had never heard about it, and I decided to look it up. I had recently taken to researching different drugs and their effects, I find it very fascinating. I spent hours reading experience reports and reading information about the legal herb on various websites. A few days later, coincidentally, I was with a few other friends, and we were trying to buy me a pipe, on the Ave. All the head shops on the street rejected us, so we walked towards Thomas’ house, but noticed on the way one more shop. We walked in, and I noticed that all the pipes were over 20 dollars, which we could not afford. However something immediately caught my eye, a sign labeled “Purple Sticky Salvia”, sold here.
I inquired and the man working there gave me package of it, the 5x extract in a round purple disc. He asked for ID, and I told him that my car had gotten stolen, and he pretended to believe me. We purchased the package and left. I told Josh that whenever I got any, I’d save it to smoke with him. A few of my friends left, and I slept over at Thomas’ house. I could barely sleep because I was so excited about it.  I loaded up a relatively large bowl into Thomas’ glass pipe, and took one large hit holding the lighter over the bowl the whole time. I held it for about 15 seconds before I coughed it all out. I felt nothing so I finished off the bowl in one last monster hit. I exhaled after about 10 more seconds and felt nothing. I decided that it was just a useless overrated legal high, but with some doubt since so many strong experience reports were on the internet.
We left the house and met up with our friends Michael and Sam. They both had heard about Salvia and wanted to try it. I told them that it was supposedly very intense and they had to hold the lighter over the bowl the entire time, and hold the smoke very long. Michael took a considerable hit and held it for quite a while. He exhaled and put down the pipe slowly. He looked around suspiciously and I asked if he was okay. He said that he felt something but it was very strange. Sam reached over to grab the pipe and Michael cringed backwards. Afterwards Michael could not explain what had happened and said it was very subtle but interesting. I told them I wanted to save the rest for when I met with Josh.
-Experience One-
I got on the bus later that day and walked from the stop to Josh’s house. When I arrived he was in his room listening to music. I told him I had a packet of salvia and he freaked out. We went to his backyard and made a pipe out of a can, since we didn’t have a real one. His backyard was a sort of Zen garden, his Mom is into meditation and such. It was a sunny day and I felt nice and relaxed, kind of doubting the herb’s abilities, considering my experience that morning. I loaded a considerably sized bowl onto the can, and lit it up, smoking the entire thing in one hit, and holding it as Josh counted.
I loaded another small bowl as I was holding the smoke. I exhaled the monster hit when Josh got to 30. It was not very harsh like it was in the morning. I immediately took another semi-large hit from the new bowl as I exhaled. I held it for about 15 seconds this time, and lay down on the gravel. It was very rocky, but I soon felt comfortable.
I don’t remember how, but I was pulled into a white area, where I could see a blue fuzzy maze of thoughts, and I flew to points in my own head every time a thought crossed my mind. It was a strange sensation, almost like being reduced to the size of a pinhead, and swimming inside my own brain. Josh asked me if I was okay, and I told him to go away and said he was “ruining it”. I sounded quite violent, I remember, but I didn’t want to hurt him at all, he was just pulling me out my salvia-space.
As I opened my eyes (which I didn’t remember closing) I saw the trees leading up to the sky in a sort of octagon shape, and this turned into a dark red and ominous circus tent. I was transported there, where I saw the robot-devil from the show Futurama. It sounds far fetched, I know.  I wasn’t confused, however I was completely oblivious to the fact that I had taken any drug at all.
Inside the first room was a memory of me making a dream catcher with my father when I was about the age of two. There was no way for me to remember this in sobriety, but when I later explained my room in the apartment, which we only lived in for a few months, she said that my description was very accurate. “Something” told me how this event has affected my personality, but I don’t really remember how. I found myself back in the tent, with no devil to be seen. I explored the other seven rooms, and found more memories and their effects on my personality. I cannot really remember what they were, I’m not sure why.
As I got back to the tent after the final room, the devil was there yet again, and told me “Shhhh,” and disappeared. A mysterious old black woman, much like the one from the Matrix trilogy, grabbed my hand and flew me through the top of the tent. I saw all of the trees surrounding yet again and looked at Josh. I had no idea what had just happened. I got up and didn’t talk for a few minutes, as I regained my bearings on reality. I felt pleasantly drunk, and explained what happened vaguely to josh.
He was eager to try, and we loaded him a bowl and he smoked it in one hit. He lay down and kept his eyes open the whole time. He told me he saw acorns raining from the trees but disintegrating as they hit him. He looked over and saw little kids playing in his tree, laughing together. I proceeded to take another last hit, finishing off the salvia, but this time I just felt more disoriented, and I did not get pulled into another world. We sat in his garden and thought for a while, and since we were out of salvia, we smoked some weed and watched a movie.
-Experience Two-
One night a couple months ago, my friends Dave and Garret told me they had Salvia, so I snuck out to meet them. They also had weed and some Mike’s Hard Lemonade. I drank some of the Mike’s, and then sat down to smoke a bowl of the weed with them. As soon as it was done, I told them to bust out the Salvia. I was a bit anxious to try this in the dark, as I had done it in the daytime before. I took a big hit, and held it as long as I could before exhaling. Nothing happened, and I told him to load a bit more. I took another big hit, and exhaled, but this time I didn’t clear the bowl. So I took one more big hit and got some nice hot ash in my mouth.
I felt like I was being pulled down, but that feeling soon passed as I saw the horizon turn into multicolored lines, much like the ones of the maze in my first experience, but this time it was on a black background instead of a white one (Night and day?). I began to feel like I was surfing on the lines, almost like flying in a dream. These visuals soon managed to turn themselves into a blank blue wall, on which there was a diamond shaped wooden object protruding from the walls with space in the middle. There was a hamster or a mouse or something representing myself inside it, and soon the blue wall turned into a sort of coal mine like area, and the diamond shaped object began sliding down the mine, and I hit a wall.
I felt as if I was going through the seven stages of grief. These are Shock, Denial, Bargaining, Guilt, Anger, Depression, and Acceptance. At first I was quite wierded out and not believing this was really going on at all. But soon I just began denying to myself that I had taken a drug and this was just a dream, and I broke through the wall. The diamond kept sliding down the mine, and as it did something began talking to me. I told it to let me go, but it wouldn’t, and I felt like I made an awful decision for taking a drug at all. I was angry with myself and feeling very trapped and like I’d never come back down.
But as I broke through the second to last wall, I felt a ray of hope, and realized that I'd some down eventually. I hit the last wall, and nothing happened. I waited, and talked to Dave and garret while this was going on, even though all I could see was the mine. Soon the wall broke open and I saw them yet again. I was amazed and shocked at how intense that experience was. It was almost like grieving for the death of my own ego.
We left, and started walking towards our friend Phil’s house. I felt like I was on autopilot, very numb and my mind was clouded but happy. I had a burst of euphoria and stared at a streetlight and ran around in a four-way intersection, then hugged a stop sign, thinking it was the only thing that I could really connect to. Soon after this we decided to part ways and I walked home. I got in fine, even though I was quite stoned and still feeling the salvia.
-Experience 3-
Today, I had the most profound Salvia experience I’ve had, and it is what prompted me to write all of this in the first place. I was with a few of my friends on the Ave again, and I decided to run over to store I got the first salvia package at and grab a disc of the Purple Sticky Salvia 5x again. I purchased it, and went home. It had been waiting in my drawer for about a week, and I told josh I had another pack of it.
This morning I slept in quite late, until 2:00, and I was drifting in and out of vivid dreams. I called josh, and he came over a half hour later. I felt at ease, and told my mom we were going to get a bite to eat. She left, to my surprise so I called her and asked when she was going to be back. She said she was taking my sister downtown and wouldn’t be back for about an hour. Josh and I decided to just smoke it undercover in my backyard, which was very visible and not such a great idea. I loaded a small bowl and I knew that I was about to experience something big, but I did not hesitate, and something told me to just smoke it.
I pulled in the smoke fast and hard and I didn’t even feel it burn at all. I held it in for about 20 seconds before I exhaled hard. Josh asked if I felt anything, and I said yeah, go over there. I pointed to the opposite side of the yard. I realized it was raining, and I laughed and said oh yeah you don’t want to get wet, when he just scooted over under the cover.  Everything became quite wavy and weird, and I lost my sense of self. I suddenly found myself watching a very hard to explain person living, and I kind of felt like they were me, but soon I sort of “zoomed out” and saw that my hands were touching a large mysterious circle, and I was standing on a grass hill.
I saw that there was another person standing quite close with his hands touching the circle. I realized I was seeing something I was not supposed to see. I was intrigued and looked deeper into the circle. I soon realized that everyone was connected to the circle, and their futures all come together in the center of the circle. The center represented something like the end, or maybe god. Either way I was scared beyond words and I could not bring myself to look at the center itself, for fear that it would essentially be a “spoiler” of my future.
I found myself back with the people on the outside, but things had changed. I was now in a warehouse with many little worker type things connected to everything. I saw them all and they didn’t know how to help a panicked thing like me, and they ignored me. I looked over at Josh, who was laughing at me. He was the first thing I could remotely make up that was in reality. I saw his nose become the very point of the body of time or space or material. I moved closer to it, and his faces became numerous and were bestowed upon the many workers.
I then noticed a void between his nose and upper lip, where a worker was absent, and a switch was not flipped. The surrounding workers laughed at me, knowing I was going to discover the void. At this time, my neighbor pulled in the drive way (I was not aware), and Josh got up and tried to get me to snap out of it and come inside. All of the playdohey workers began turning into more than just faces, and I felt workers grow where my mouth was, and I suddenly took a large breath. Josh grabbed my hand and it was slightly wet, and I felt all the water workers appear around me. I was being pulled into reality a bit too quickly, and I was very disoriented and afraid of what I’d just seen.
He brought me into my house, and I sat at the kitchen counter. I was very out of it, and trying to make sense of what I had seen, and what I was seeing at the time. I had lost all sense of sobriety while in salvia-land, and I felt like I had been ripped apart into a puzzle made of the workers, and someone else came and put the workers back. However many of them were out of place and I didn’t feel the same as before. I tried to recount my experience to Josh, but I could not explain it very well. I asked if he wanted to smoke some and he said sure, so we went to my bathroom since the neighbors were home, and as he was getting ready to smoke it, my dad pulled in the drive way. Talk about everything going bad fast.
We put it all away, and started listening to music. I just thought for a while, and it was quite a strange feeling to be back in my own mind again. I still have a feeling that I was ripped apart and put back together, sort of like the movie timeline, where the characters are ripped apart and put back together in order to transport them through space and time. I then went to dinner with my family, and josh went home. I came home and decided to write this report, and here I am now.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Russell Wenban
Angular JavaScript and iOS App Development
web:
factornine.co.uk
| email:
<EMAIL_ADDRESS>| twitter:
russellf9
|
github
|
linkedin


The Kansas City Chiefs drafted the star safety in college football from Tennessee Vols,Eric Berry,in 2010 draft.Berry was a star then and now.In his first season, Berry started all 16 games and became the first Chiefs rookie to be selected to the Pro Bowl since linebacker great Derrick Thomas.Berry had a big impact on the team's defense, helping to improve it from 29th best unit in 2009 in terms of points allowed to 11th in 2010,In addition to starting every game,Berry was on the field for almost half of Kansas City's special teams plays and was the only Chiefs defender to play every defensive snap. He led the team in interceptions (4),and was second only to Derrick Johnson in tackles(92)and solo tackles(77)On December 26, 2010,Berry scored his first NFL touchdown on a 54-yard interception return against the Tennessee Titans.In his first playoff game, he recorded a career-high in solo tackles with 9 and passes defended with 4. On September 11, 2011,Berry suffered a torn ACL,and was placed on injured reserve on September 14, ending his season.Berry had surgery on September 29, 2011, and returned for the start of the 2012 NFL season.2014 season for Berry was a devastated moment for him.During a loss against the Oakland Raiders on November 20, 2014,Berry began to complain of chest pain.A mass was soon discovered in his chest, with him eventually being diagnosed with Hodgkin's lymphoma on December 8, 2014.Berry was placed on the Chiefs' non-football illness list,ending his season.Berry's doctor,Dr. Christopher Flowers,a lymphoma specialist at Emory University Hospital in Atlanta,said of Berry's diagnosis,"This is a diagnosis that is very treatable and potentially curable with standard chemotherapy approaches.The goal of Mr. Berry's treatment is to cure his lymphoma and we are beginning that treatment now." On July 28, 2015,the Chiefs announced through their official Twitter account that Berry had been cleared to resume football activities after he was declared clear of cancer nearly nine months after his initial diagnosis.Berry returned to the field gradually,but earned back his starting job and had a phenomenal season.He was selected to another Pro Bowl as the starting safety and many experts and coaches around the league remarked that he was the best safety in the entire NFL.He was named Comeback Player of the Year,as he helped the Chiefs to an 11-5 record and Wild Card berth,after overcoming Hodgkin's Lymphoma.
| Year | GP | COMB | Total | AST | INT | PD |
|---|---|---|---|---|---|---|
| 2013 | 15 | 74 | 66 | 8 | 3 | 2 |
| 2014 | 6 | 37 | 32 | 5 | 0 | 2 |
| 2015 | 16 | 61 | 55 | 6 | 2 | 10 |
| 2016 | 16 | 77 | 62 | 15 | 4 | 9 |


Winning a state election in Gujarat has become harder
By Gurman Bhatia and Samarth Bansal
With decreasing margins of victory, assembly elections in Gujarat are becoming a close contest.
Loading...
Elections in Gujarat have become more competitive over the last sixty years, as indicated by a narrowing of the winners’ margins of victory, a Hindustan Times analysis of Gujarat election data shows.
The median margin of victory — that is, the difference between the votes received by the winner and the runner-up as a proportion of total valid votes polled — was 22.2% in 1962. In 1995, when the BJP first came to power in the state, the figure reduced by half to around 12.96%. In 2012, it further slipped by two percentage points to 10.72%.
The following chart shows how the winning margin percentage has shifted for each of the 182 assembly constituencies in Gujarat. Fewer candidates now win by a margin greater than 40%, and more are winning with a margin less than 20% — signifying increasing competitiveness of the state’s elections.
Fewer seats have a high margin of victory
Each block represents a constituency won by a particular party
In both the 2002 and 2012 assembly elections, 50 seats were decided by a margin of less than 5% of the vote. In 1962, just 16 seats saw such a close contest.
Further, eight seats in 2012 had a winning margin of less than 1% of the final vote. Of the eight, the Congress won six; the BJP and the NCP got one each.
One such seat was Kalol in the Gandhinagar district, where the Congress's Baldevji Thakor beat the BJP's Atulbhai Patel by just 343 votes. In 2007, Patel won the Kalol seat while Thakor won from another constituency—Kadi. This year, both names will appear on the ballot for Kalol again.
“It was a new area for me [in 2012]. This year we expect a margin of 10,000 to 15,000 votes,” Thakor said.
Even though the number of parties contesting elections in Gujarat has been increasing—41 parties participated in 2012 as compared to 27 in 1995— effectively, the state witnesses a two-party contest. Since 2002, more than 95% of the assembly seats were won by either the BJP or the Congress.
When the BJP wins in Gujarat, it does so more decisively as compared to the Congress, data shows. In 2012, for instance, among seats where the BJP candidates came first, the median margin of victory was 13.3%. For the Congress winners, the median margin was just 6.6%, almost half that of the BJP’s winners.
BJP wins seats with a higher victory margin
Median margin of victory (in %) in Gujarat assembly elections (1990-2012)
Two constituencies near Ahmedabad, Ellis Bridge and Naroda, and two near Surat, Chorasi and Surat City West, have been strongholds of the BJP for the last two decades. In all elections since 1995, these four are the only seats where the margin of victory has been among the top 20 victory margins statewide.
In Ellis Bridge, for instance, the BJP’s Rakesh Shah won the last election with over 70% of the vote share and a winning margin of over 50%.
BJP consistently has high margins in urban constituencies
As for the Chorasi seat, the BJP’s Narottambhai Patel won four times in a row from 1995 to 2007. In 2012, Rajabhai Patel, also of the BJP, contested from the seat and won. In 2015, he died, and the bye-poll held in 2016 was won by his daughter Zankhana Patel with a margin of 29%.
All are areas where the BJP performs well across elections, whether it is the Lok Sabha or Municipal council, says Mahasweta Jani, researcher at Centre for the Study of Developing Societies (CSDS).
“These are seats in the Hindu heartland,” Jani said. These seats represent the “typical upper-caste Baniya areas” — comprising of the urban business class BJP supporters, she added.
In the Dehgam constituency, the fight has consistently been tough since 1995. The BJP won the seat in 1995 and 1998, but since then, the Congress took over. The last election from this seat was won by the Congress’s Kaminiben Rathore with a margin of just 1.8%.
Since Dehgam is a rural constituency, a close contest is not surprising, according to Jani. In rural areas of Gujarat, caste becomes really important. In the case of Dehgam, it is the Koli population that defines the vote.
Note: Constituency boundaries were redrawn in 2008, because of which 2012 elections were conducted under different boundaries.


Introduction¶
XAnoS stands for X-ray Anomalous Scattering and the package provides a collection of widgets developed for the measurement, visualization, data reduction and analysis of Anomalous Small Angle X-ray Scattering data at NSF’s ChemMatCARS (Sector 15) at Advanced Photon Source , USA.
If you are using any components of XAnoS for your research/work please do not forget to acknowledge (see Acknowledgements).
Installation¶
Follow the following instructions for installation:
Install Anaconda python (Python 3.6 and higher) for your operating system from: ‘https://www.anaconda.com/download/’
Open a Anaconda terminal the run these two commands:
conda install pyqt pyqtgraph sqlalchemy scipy six matplotlib pandas pip install lmfit pyfai pylint periodictable mendeleev corner emcee
- The installation can be done in two different ways:
- Universal way which does not need GIT installation:
Open a web browser and go to the webpage : https://github.com/nayanbera/XAnoS
Click the green button named “Clone or download”
Download the zip file
Extract the zip file into a folder
In the Anaconda terminal go the the extracted folder:
cd /home/mrinal/Download/XAnoS-master
Easier way with GIT already installed, run the following commands in a terminal with your own folder path:
cd /home/mrinal/Download/ git clone https://github.com/nayanbera/XAnoS.git
The second method will create XAnoS folder with all updated packages in installation folder (i.e. /home/mrinal/Download). The advantage of the second method is that it is easy to upgrade the package. In order to upgrade just go to the folder named XAnoS and run the following command:
git pull
- Run the following commands to run different packages:
Data Collection package (Do not run this when not in the beamline!):
python XAnoS_Collector.py
Data Reduction package:
python XAnoS_Reducer.py
Data viewer and analysis package:
python XAnoS_Components.py
Data fitting package:
python XAnoS_Fit.py


Before Change
adv_preds = np.argmax(classifier.predict(x_adv, batch_size=batch_size), axis=1)
if targeted:
rate = np.sum(adv_preds == np.argmax(labels, axis=1)) / x_adv.shape[0]
else:
preds = np.argmax(classifier.predict(x_clean, batch_size=batch_size), axis=1)
rate = np.sum(adv_preds != preds) / x_adv.shape[0]
return rate
def compute_accuracy(preds, labels, abstain=True):
After Change
:return: Percentage of successful adversarial samples.
:rtype: `float`
attack_success = compute_success_array(classifier, x_clean, labels, x_adv, targeted, batch_size)
return np.sum(attack_success) / x_adv.shape[0]
def compute_accuracy(preds, labels, abstain=True):


{ "operation": "the operation to be performed",
"address": [
"the path on which the operation should be performed"
],
"optional operation parameters"
}
27 August 2022
The JBoss CLI, as presented in the last part of this series, is the standard way of configuring JBoss/Wildfly application servers. But there are more options available, some of them we will cover in this article. These options are lesser known and may not be applied very often, but may nevertheless useful in some situations.
When we talked about JBoss CLI in
the first part of the series, we meant the
Command-Line Interface of the JBoss management interface, the jboss-cli
tool.
This CLI allows to submit configuration requests to a running or embedded
application server. But the abbreviation CLI is sometimes also used to denote
the term Common Language Interface. This language interface defines an
intermediate representation called Dynamic Model Representation (DMR). The
DMR is a new syntax introduced with JBoss EAP 6 and Wildfly 9 respectively, to
describe objects associated with the JBoss/Wildfly management interfaces.
Although, DMR represents JBoss/Wildfly configuration just in another way,
DMR is flatter than the corresponding XML we know from standalone.xml
configuration file. In fact, with DMR all the items are at the same level.
The DMR interface describes requests to query, create or update configuration objects as operations. Such operation requests consist of:
The name of the operation to invoke. All operation requests must include this field and its value must be a String.
The address of the resource to invoke the operation against. This field is a list/array of properties. If the field is omitted the operation will target the root resource. The operation can be targeted at any address in the management model.
Optionally, operations may take parameters.
In the following, we’ll have a look at two implementations of the DMR interface, the REST API and the Java API. But a basic understanding of the anatomy of DMR operations requests is helpful to comprehend any of the API implementations.
The JBoss/Wildfly application servers set up two management interfaces: The
native on port 9999, and the HTTP management interface on port 9990. While
the jboss-cli
command line tool uses the native management port, the
management web console and the REST API are available on the HTTP management
port.
All management interfaces rely on JBoss DRM to read/update the configuration; also the REST API is based on this feature.
The management API of an application server running locally is available at
http://<IP_ADDRESS>:9990/management
, and this endpoint accepts JSON POST
requests of the format:
{ "operation": "the operation to be performed",
"address": [
"the path on which the operation should be performed"
],
"optional operation parameters"
}
Let’s give an example. To check the scan-enabled
attribute of the default
deployment scanner, for example. For this we would use the following JBoss CLI
command:
$ jboss-cli.sh -c /subsystem=deployment-scanner/scanner=default:read-attribute(name=scan-enabled)
{
"outcome" => "success",
"result" => true
}
Given that the admin user manager
with password manager
exists in
JBoss/Wildfly management realm, the following REST API call will give the
same result:
$ curl 'http://localhost:9990/management' --digest -u "manager:manager" --header "Content-type:application/json" -d '{"operation": "read-attribute", "address": [ "subsystem", "deployment-scanner", "scanner", "default" ],"name": "scan-enabled", "json.pretty": 1}' --silent # suppress curl's progress bar
{
"outcome" : "success",
"result" : true
}
The article JBoss EAP 7 Domain deployments – Part 4: Domain deployment with REST Management API gives more examples of the REST API implementation of the JBoss/Wildfly management interface.
The Java DMR interface is implemented as so-called detyped management API to control your application server resources - whereby detyped means that the Java API is not type-safe as we’ll see later. The CLI tool that comes with the application server uses this interface, and we can develop custom clients using the API as well.
The detyped API works by making it possible to build up arbitrarily complex data
structures using a small number of Java types. The API is very simple: The
primary class is org.jboss.dmr.ModelNode
, which is essentially just a wrapper
around some value. All of the parameter values and return values in the API are
expressed using those few types - most of the types are basic JDK types, like
java.lang.String
, java.lang.Integer
, etc. In addition, the value can also
be of type ModelNode
, i.e. the created data structure implements the
Composite Pattern. The ModelNode
in addition exposes a getType()
method,
which returns a value of type org.jboss.dmr.ModelType
, which is an enumeration
of all the valid types of values.
In order to develop a custom management client the following dependency is required in the project setup:
<dependency>
<groupId>org.wildfly.core</groupId>
<artifactId>wildfly-controller-client</artifactId>
<version>18.1.1.Final</version>
</dependency>
The first step in developing the custom client is to create the management
client object. Because the management is typically secured, a CallbackHandler
for providing credentials is required. This CallbackHandler
is registered
with the management client:
CallbackHandler callbackHandler = new CallbackHandler() {
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
for (Callback current : callbacks) {
if (current instanceof NameCallback) {
NameCallback ncb = (NameCallback) current;
ncb.setName("manager");
} else if (current instanceof PasswordCallback) {
PasswordCallback pcb = (PasswordCallback) current;
pcb.setPassword("manager".toCharArray());
} else if (current instanceof RealmCallback) {
RealmCallback rcb = (RealmCallback) current;
rcb.setText(rcb.getDefaultText());
} else {
throw new UnsupportedCallbackException(current);
}
}
}
};
ModelControllerClient client = ModelControllerClient.Factory
.create(InetAddress.getByName("<IP_ADDRESS>"), 9990, callbackHandler);
The DMR commands are then built and executed as follows:
ModelNode op = new ModelNode();
op.get("operation").set("read-attribute");
ModelNode address = op.get("address");
address.add("subsystem", "deployment-scanner");
address.add("scanner", "default");
op.get("name").set("scan-enabled");
ModelNode returnVal = client.execute(op);
System.out.println(returnVal.get("result").toString());
The pattern to create the DRM operation with the Java API is basically the
same as we’ve seen at the REST API: The read-attribute
is set in the
ModelNode
named operation
, then the address
{ subsystem: deplyoment-scanner, scanner: default }
is configured and
eventually the operations parameter name
gets the value scan-enabled
gets assigned. Please note, that the order of setting up the different parts
of such an operation request does not matter, only the resulting data
structure is relevant.
Similar to reading an attribute, the same attribute can be written with:
ModelNode op = new ModelNode();
op.get("operation").set("write-attribute");
ModelNode address = op.get("address");
address.add("subsystem", "deployment-scanner");
address.add("scanner", "default");
op.get("name").set("scan-enabled");
op.get("value").set(true);
ModelNode returnVal = client.execute(op);
System.out.println(returnVal.get("result").toString());
The API offers a lot more features:
Asynchronous execution of commands
Support of operation headers
Composite operations
Operations with rollback plan
Multi-server responses (for clustered environments)
A comprehensive description of the features of the Java DRM API can be found at Latest WildFly Documentation - The native management API.
Another way to configure JBoss/Wildfly is based on the idea, that the JBoss
configuration files like standalone.xml
are regular XML files. XML files can
be transformed using XSLT, i.e. a valid XML can be generated from a input XML
document. Because this approach is mainly tempting for XML specialists
(and I’m not one of them), I don’t want to go too much into detail, but
suggest to read
The benefits of the XSLT approach are that the JBoss/Wildfly can be configured at boot time (e.g. by the start script) and the application server does not have to run, even not in embedded mode - in fact, the application server must not run at all.
Patching a JBoss/Wildfly configuration using standard Unix tools like sed
is the small bother of the XSLT approach.
|
The presented configuration approaches are not very common, but can be appropriate in some non-standard use cases.
For example, if complex JBoss installations need to be configured, it may be desired to work with rollback plans for deployments or apply composite DMR operations in clustered server installations. Then a custom Java management client may be a good solution.
If the configuration need to be adapted dynamically at startup, then XSLT transformation may be a viable option.


---
start: 2016-01-07 17:45
edition: 26
participate: "http://www.meetup.com/Chennai-Geek-Night/events/227675033/"
talk: "https://docs.google.com/forms/d/1llJxKCuEnPXOPHnXUQHnc8Unlt_Y4kPvWJqndjl_6Gg/viewform"
subnote: "This event will be live streamed on YouTube."
agenda:
-
time: "6:00"
title: "The Tweeting Tree"
speaker_profile: "By: Nipun Kanade"
resources:
-
title: "Slide"
url: "http://slides.com/kanadenipun/iotree"
-
time: "6:45"
title: "IoTT - Keep an eye on TT table from your desk"
speaker_profile: "By: Arun Kumar Sundaramurthy"
resources:
-
title: "Slide"
url: "http://slides.com/arunkumarsundaramurthy/iott"
-
title: "Sample Codes"
url: "https://github.com/arunkumarsundaramurthy/geeknight-iott"
-
title: "IoTT-Code"
url: "https://github.com/TWChennai/IoTT"
-
time: "7:15"
title: "Break"
-
time: "7:30"
title: "Kulir 100 Degree : Automating water heater"
speaker_profile: "By: Krishnaswamy Subramanian"
---


|
KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
The sorting condition to pass in messages More...
Public Types | |
| enum | EnDirection { EnDirection.Asc, EnDirection.Desc } |
| The sorting direction More... | |
Public Member Functions | |
| SortingCondition () | |
| Initializes a new instance of the SortingCondition class. More... | |
| SortingCondition (string propertyName, EnDirection direction) | |
| Initializes a new instance of the SortingCondition class. More... | |
Properties | |
| string | PropertyName [get, set] |
| Gets or sets the property name to sort by More... | |
| EnDirection | Direction [get, set] |
| Gets or sets the sorting direction More... | |
The sorting condition to pass in messages
Definition at line 17 of file SortingCondition.cs.
The sorting direction
| Enumerator | |
|---|---|
| Asc | Ascending order |
| Desc | Descending order |
Definition at line 46 of file SortingCondition.cs.
| KlusterKite.API.Client.SortingCondition.SortingCondition | ( | ) |
Initializes a new instance of the SortingCondition class.
Definition at line 23 of file SortingCondition.cs.
| KlusterKite.API.Client.SortingCondition.SortingCondition | ( | string | propertyName, |
| EnDirection | direction | ||
| ) |
Initializes a new instance of the SortingCondition class.
| propertyName | The property name. |
| direction | The direction. |
Definition at line 37 of file SortingCondition.cs.
|
getset |
Gets or sets the sorting direction
Definition at line 67 of file SortingCondition.cs.
|
getset |
Gets or sets the property name to sort by
Definition at line 62 of file SortingCondition.cs.


Hello Everyone. My full name is Peter Ching and I have a varied backgound including running restaurants, practicing law, and founding (and failing) a startup.
I look forward to seeing our diverse backgrounds come together to help each other learn to create technology!
My favorite care bear
My favorite search engine
click meCheck out my favorite snowboarder here.
I know you got some coding to do. Check out Songza.com for some music while you code.


This document serves as the manifest describing [[MICRODATA-RDF]] tests to be used by processor implementations claiming conformance.
Alternative versions of the test manifest can be found in Turtle and JSON-LD.
Tests are described with individual HTML files containing microdata
(identified by the object of the mf:action
property),
which when parsed into a graph or dataset, parses the expected result
(identified by the object of the mf:result
property)
into another graph or dataset, and those two graphs/datasets are
isomorphic (see [[RDF11-CONCEPTS]]).
A Microdata Positive Evaluation Test (TestMicrodataEval
)
represents a A positive Microdata evaluation test.
A negative test is passed if an implementation parses the input
(identified by the object of the mf:action
property) into a graph
or dataset, parses the expected result
(identified by the object of the mf:result
property)
into another graph or dataset, and those two graphs/datasets are not
isomorphic (see [[RDF11-CONCEPTS]]).
A Microdata Negative Evaluation Test (TestMicrodataNegativeEval
)
represents a A negative Microdata evaluation test.
These test descriptions generally correspond to the descriptions of Evaluation Tests in [[RDF11-TESTCASES]]
All tests should be performed with an assumed base of http://w3c.github.io/microdata-rdf/tests/
along with the base-name of the specific test document (excluding any format extension) for
both input and result files.
This document serves as the test manifest for both positive and negative parser tests using the Data Access Test Manifest and Data Access Test Query vocabularies.
Properly parsing this document with a conforming Microdata to RDF processor, as well as the individual
test cases requires that the processor use the Test Registry.
Additionally,
individual tests may require that the processor use a different registry using the
an additional
registry
property, indicating the URL of a Test Registry
to load when executing a particular Test.
typically a file co-located and numbered along with the test itself.
An example test entry parsed from this manifest might have the following form:
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix rdft: <http://www.w3.org/ns/rdftest#> . @prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> . @prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> . [ rdf:type mf:Manifest ; rdfs:comment "Turtle good syntax test cases (must pass)" ; mf:entries ( [ a mf:ManifestEntry, rdft:TestMicrodataEval; mf:name "Test 0001"; rdfs:comment "Item with no itemtype and literal itemprop"; mf:action <0001.html>; rdft:registry <test-registry.json>; mf:result <0001.ttl> ] ) ] .