This element will have a top padding of 5px for all breakpoints
This element will have a top padding of 10px for all breakpoints
This element will have a top padding of 15px for all breakpoints
This element will have a top padding of 20px for all breakpoints
This element will have a top padding of 25px for all breakpoints
This element will have a top padding of 30px for all breakpoints
This element will have a top padding of 35px for all breakpoints
This element will have a top padding of 40px for all breakpoints
This element will have a top padding of 45px for all breakpoints
This element will have a top padding of 50px for all breakpoints
This element will have a top padding of 55px for all breakpoints
This element will have a top padding of 60px for all breakpoints
This element will have a bottom padding of 5px for all breakpoints
This element will have a bottom padding of 10px for all breakpoints
This element will have a bottom padding of 15px for all breakpoints
This element will have a bottom padding of 20px for all breakpoints
This element will have a bottom padding of 25px for all breakpoints
This element will have a bottom padding of 30px for all breakpoints
This element will have a bottom padding of 35px for all breakpoints
This element will have a bottom padding of 40px for all breakpoints
This element will have a bottom padding of 45px for all breakpoints
This element will have a bottom padding of 50px for all breakpoints
This element will have a bottom padding of 55px for all breakpoints
This element will have a bottom padding of 60px for all breakpoints
This element will have a padding of 5px for all breakpoints
This element will have a padding of 10px for all breakpoints
This element will have a padding of 15px for all breakpoints
This element will have a padding of 20px for all breakpoints
This element will have a padding of 25px for all breakpoints
This element will have a padding of 30px for all breakpoints
This element will have a padding of 35px for all breakpoints
This element will have a padding of 40px for all breakpoints
This element will have a padding of 45px for all breakpoints
This element will have a padding of 50px for all breakpoints
This element will have a padding of 55px for all breakpoints
This element will have a padding of 60px for all breakpoints
This element will have a top padding of 5px for medium devices and above
This element will have a top padding of 10px for medium devices and above
This element will have a top padding of 15px for medium devices and above
This element will have a top padding of 20px for medium devices and above
This element will have a top padding of 25px for medium devices and above
This element will have a top padding of 30px for medium devices and above
This element will have a top padding of 35px for medium devices and above
This element will have a top padding of 40px for medium devices and above
This element will have a top padding of 45px for medium devices and above
This element will have a top padding of 50px for medium devices and above
This element will have a top padding of 55px for medium devices and above
This element will have a top padding of 60px for medium devices and above
This element will have a bottom padding of 5px for medium devices and above
This element will have a bottom padding of 10px for medium devices and above
This element will have a bottom padding of 15px for medium devices and above
This element will have a bottom padding of 20px for medium devices and above
This element will have a bottom padding of 25px for medium devices and above
This element will have a bottom padding of 30px for medium devices and above
This element will have a bottom padding of 35px for medium devices and above
This element will have a bottom padding of 40px for medium devices and above
This element will have a bottom padding of 45px for medium devices and above
This element will have a bottom padding of 50px for medium devices and above
This element will have a bottom padding of 55px for medium devices and above
This element will have a bottom padding of 60px for medium devices and above
This element will have a padding of 5px for medium devices and above
This element will have a padding of 10px for medium devices and above
This element will have a padding of 15px for medium devices and above
This element will have a padding of 20px for medium devices and above
This element will have a padding of 25px for medium devices and above
This element will have a padding of 30px for medium devices and above
This element will have a padding of 35px for medium devices and above
This element will have a padding of 40px for medium devices and above
This element will have a padding of 45px for medium devices and above
This element will have a padding of 50px for medium devices and above
This element will have a padding of 55px for medium devices and above
This element will have a padding of 60px for medium devices and above
This element will have a top padding of 5px for large devices and above
This element will have a top padding of 10px for large devices and above
This element will have a top padding of 15px for large devices and above
This element will have a top padding of 20px for large devices and above
This element will have a top padding of 25px for large devices and above
This element will have a top padding of 30px for large devices and above
This element will have a top padding of 35px for large devices and above
This element will have a top padding of 40px for large devices and above
This element will have a top padding of 45px for large devices and above
This element will have a top padding of 50px for large devices and above
This element will have a top padding of 55px for large devices and above
This element will have a top padding of 60px for large devices and above
This element will have a bottom padding of 5px for large devices and above
This element will have a bottom padding of 10px for large devices and above
This element will have a bottom padding of 15px for large devices and above
This element will have a bottom padding of 20px for large devices and above
This element will have a bottom padding of 25px for large devices and above
This element will have a bottom padding of 30px for large devices and above
This element will have a bottom padding of 35px for large devices and above
This element will have a bottom padding of 40px for large devices and above
This element will have a bottom padding of 45px for large devices and above
This element will have a bottom padding of 50px for large devices and above
This element will have a bottom padding of 55px for large devices and above
This element will have a bottom padding of 60px for large devices and above
This element will have a padding of 5px for large devices and above
This element will have a padding of 10px for large devices and above
This element will have a padding of 15px for large devices and above
This element will have a padding of 20px for large devices and above
This element will have a padding of 25px for large devices and above
This element will have a padding of 30px for large devices and above
This element will have a padding of 35px for large devices and above
This element will have a padding of 40px for large devices and above
This element will have a padding of 45px for large devices and above
This element will have a padding of 50px for large devices and above
This element will have a padding of 55px for large devices and above
This element will have a padding of 60px for large devices and above
This element will have a top padding of 5px for extra large devices and above
This element will have a top padding of 10px for extra large devices and above
This element will have a top padding of 15px for extra large devices and above
This element will have a top padding of 20px for extra large devices and above
This element will have a top padding of 25px for extra large devices and above
This element will have a top padding of 30px for extra large devices and above
This element will have a top padding of 35px for extra large devices and above
This element will have a top padding of 40px for extra large devices and above
This element will have a top padding of 45px for extra large devices and above
This element will have a top padding of 50px for extra large devices and above
This element will have a top padding of 55px for extra large devices and above
This element will have a top padding of 60px for extra large devices and above
This element will have a bottom padding of 5px for extra large devices and above
This element will have a bottom padding of 10px for extra large devices and above
This element will have a bottom padding of 15px for extra large devices and above
This element will have a bottom padding of 20px for extra large devices and above
This element will have a bottom padding of 25px for extra large devices and above
This element will have a bottom padding of 30px for extra large devices and above
This element will have a bottom padding of 35px for extra large devices and above
This element will have a bottom padding of 40px for extra large devices and above
This element will have a bottom padding of 45px for extra large devices and above
This element will have a bottom padding of 50px for extra large devices and above
This element will have a bottom padding of 55px for extra large devices and above
This element will have a bottom padding of 60px for extra large devices and above
This element will have a padding of 5px for extra large devices and above
This element will have a padding of 10px for extra large devices and above
This element will have a padding of 15px for extra large devices and above
This element will have a padding of 20px for extra large devices and above
This element will have a padding of 25px for extra large devices and above
This element will have a padding of 30px for extra large devices and above
This element will have a padding of 35px for extra large devices and above
This element will have a padding of 40px for extra large devices and above
This element will have a padding of 45px for extra large devices and above
This element will have a padding of 50px for extra large devices and above
This element will have a padding of 55px for extra large devices and above
This element will have a padding of 60px for extra large devices and above


HTTP/1.0 503 Service Unavailable Cache-Control: no-cache Connection: close Content-Type: text/html; charset=utf-8 Retry-After: 5


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 2
If you’ve never eaten rabbit before, this recipe is a good place to start. Ask your butcher to remove the fillets from the rabbit loin for you.
Lay the loin fillets side by side, top to tail, so they form an even shape together.
Carefully wrap the pancetta or Parma ham around both the loin fillets, making sure you overlap the slices so the fillets are covered and are in a single piece.
Lay a large sheet of aluminium foil on a work surface, place the covered rabbit on top and roll it up into a sausage shape. Tie the foil in knots at both ends, forcing any air out.
Place the couscous grains into a bowl and pour over the hot chicken stock. Cover the bowl with clingfilm and leave in a warm place for 15 minutes.
Run a fork through the couscous to break up the grains and add one tablespoon of the olive oil, the mixed herbs, black olives, sun blushed tomatoes and toasted pine nuts. Finish with a squeeze of lemon juice and season with salt and pepper. Keep warm.
Steam the rolled loin for 4-5 minutes.
Remove the rabbit from the steamer and once cool enough to touch, carefully remove the cling film.
Heat one tablespoon of the olive oil in a frying pan, add the rabbit and cook for 2-3 minutes, turning regularly, until the pancetta is golden-brown.
Heat the remaining one tablespoon of olive oil in a separate frying pan, add the calamari strips and fry for 20 seconds. Remove the pan from the heat.
Cut the rabbit into 1cm/½in slices.
Melt the butter in a saucepan and add a good squeeze of lemon juice. Keep warm.
To serve, spoon the warm couscous onto serving plates and arrange the rabbit on top.
Top with the calamari and drizzle with the lemon butter. Season with salt and freshly ground black pepper.


CORS? Of Course!
Jan 22, 2016 Marc Savy security, plugin, policy, cors, and 1.2.xNote: This is a redux of our blogpost for apiman 1.2.x. If you're still using apiman 1.1.x, you can refer to the older revision.
If you’re looking to define CORS policies in your API Management layer, then we have an official plugin that should be perfect for the job.
For those unfamiliar with CORS, it’s a way of precisely defining who and how a remote origin may invoke an API’s resources. Generally, due to the same-origin policy, a web browser will only allow the invocation of resources that reside on the same origin as the requesting page. This mitigates a range of malicious script attacks by preventing interaction with remote resources.
However, if we want our resource to be callable by some (or all) other origins, then we need to define a CORS policy which let’s user agent know what’s allowed.
Preparation
If you have the apiman quickstart running [1], you next need to deploy the echo-service to act as the backend API for our demo. Substitute the path below for the appropriate one corresponding to the version you downloaded.
cd /tmp
git clone https://github.com/apiman/apiman-quickstarts.git
cd apiman-quickstarts/echo-service
git checkout 1.2.0.Final
mvn clean install
mvn wildfly:deploy
Tab to Available Plugins, select Install for CORS Policy Plugin, confirm the plugin coordinates, and click Add Plugin.
Let’s give it a go
For the purposes of this blogpost we’ll contrive a scenario that allows us to demonstrate a variety of the plugin’s functionality. However, if your precise use-case isn’t covered here, you should still investigate the settings page, as a raft of configuration options are available that will likely achieve what you need.
Create an Organization called Foo, then create an API called Bar. Set your API’s Implementation URL to be http://<IP_ADDRESS>:8080/apiman-echo
, and select Rest as the type. Move to the Plans tab and tick Make this API public.
Next, move to the Policies tab, click Add Policy and select CORS Policy from the dropdown list.
Plugin settings
Let’s configure the settings as follows:
| Option | Value(s) | Explanation |
|---|---|---|
Terminate on CORS error |
|
We’ll not hit the backend if there’s a CORS validation error. In some instances, a non-preflighted CORS request would otherwise cause a real invocation of the API whose results would be ignored by the user agent. |
We’re going to use cURL to simulate a CORS request from this allowed origin. |
||
|
By default CORS will only allow a set of simple headers to be exposed in a response to the user agent, so we’ll set this additional one we want to see. |
|
|
By default CORS only allows requests to include a set of basic headers, and we want our API to be able to see the value of our X-APIMAN-EXCELLENT header, so we specify it as allowed here. |
|
|
By default, only |
|
9001 |
How long the browser should cache your CORS policy for (to avoid repeated preflight requests). |
After saving you’ll see it’s description says something along the lines of:
Cross-origin requests from 1 origin(s) will be permitted upon satisfying method, header and credential constraints. Denied requests will be terminated. Preflight requests will be cached for 9001 delta seconds.
Assuming you’ve saved everything, hit Publish and we’ll be ready to test.
Access Control to Major Tom
Generally, it’s the job of the user agent to set the Origin
header, such as a browser or mobile client. However, we’ll be using cURL to simulate a variety of scenarios so we can test things out without actually needing to set up a load of different domains.
Unwelcome guests
No ticket to fly
In our first example, we’ll set an Origin
that we didn’t permit:
curl -k -v -H 'Origin: http://panacalty.local' https://<IP_ADDRESS>:8443/apiman-gateway/Foo/Bar/1.0
Here’s what comes back:
{
"message" : "CORS: Origin not permitted.",
"headers" : {
"Access-Control-Allow-Origin" : "",
"Access-Control-Expose-Headers" : "Response-Counter"
},
"responseCode" : 400,
"type" : "Authorization",
"failureCode" : 400
}
Notice that we were given the thumbs down without the API ever being hit; for most use cases this is a good thing, as it avoids unnecessary load on a API where the user agent is going to throw away the response anyway.
Not got the head(er) for it
Even if our origin is correct, we need to pass other checks, such as headers. In this preflighted example, we’ll try to make a request with a header that we’ve not allowed: X-SECRET
.
curl -X OPTIONS -k -v -H 'Origin: http://newcastle.local' -H 'Access-Control-Request-Headers: X-SECRET' 'Access-Control-Request-Method: TRACE' https://<IP_ADDRESS>:8443/apiman-gateway/Foo/Bar/1.0
Correctly, CORS turned the preflight request down:
{
"type": "Authorization",
"failureCode": 400,
"responseCode": 400,
"message": "CORS: Requested header not allowed",
"headers": {
"Access-Control-Max-Age": "9001"
}
}
The same goes for Request-Method (verb), and of course, whether the CORS request itself is valid.
Playing by the rules
When Host and Origin are equal, a request will automatically be allowed, as it is a non-CORS request. Some browsers still make the superfluous CORS requests anyway.
|
Keep it simple
Let’s set up a request that finally is playing by the parameters we configured earlier:
curl -X GET -k -v -H 'Origin: http://newcastle.local' https://<IP_ADDRESS>:8443/apiman-gateway/Foo/Bar/1.0
> GET /apiman-gateway/Foo/Bar/1.0 HTTP/1.1
> User-Agent: curl/7.37.1
> Host: <IP_ADDRESS>:8443
> Accept: */*
> Origin: http://newcastle.local
>
< HTTP/1.1 200 OK
< X-Powered-By: Undertow/1
< Server: WildFly/8
< Access-Control-Expose-Headers: Response-Counter
< Response-Counter: 1
< Date: Sat, 13 Jun 2015 16:06:32 GMT
< Connection: keep-alive
< Access-Control-Allow-Origin: http://newcastle.local
< Content-Type: application/json
< Content-Length: 345
<
It works: excellent! Here’s our response body:
{
"method" : "GET",
"resource" : "/apiman-echo",
"uri" : "/apiman-echo",
"headers" : {
"Host" : "<IP_ADDRESS>:8080",
"User-Agent" : "curl/7.37.1",
"Accept" : "*/*",
"Connection" : "keep-alive",
"Cache-Control" : "no-cache",
"Pragma" : "no-cache"
}
}
You can see that the Response-Counter
header is in our list of headers that can be exposed. If we were building a Javascript XHR then the browser would allow you to see the Response-Counter
but not other non-standard fields such as X-Powered-By
.
Preflight checks
Let’s do something a bit more complex that requires a preflight request, which is essentially a pre-check to see whether our request is acceptable before attempting it for real. We’ll set the headers Access-Control-Request-Method
to PATCH
and Access-Control-Request-Headers
to X-APIMAN-EXCELLENT
. Again, we’re using a permitted origin.
To simulate it using cURL, let’s do:
curl -X OPTIONS -k -v -H 'Origin: http://newcastle.local' -H 'Access-Control-Request-Method: PATCH' -H 'Access-Control-Request-Headers: X-APIMAN-EXCELLENT' https://<IP_ADDRESS>:8443/apiman-gateway/Foo/Bar/1.0
> OPTIONS /apiman-gateway/Foo/Bar/1.0 HTTP/1.1
> User-Agent: curl/7.37.1
> Host: <IP_ADDRESS>:8443
> Accept: */*
> Origin: http://newcastle.local
> Access-Control-Request-Method: PATCH
> Access-Control-Request-Headers: X-APIMAN-EXCELLENT
>
< HTTP/1.1 200 OK
< Access-Control-Allow-Headers: X-APIMAN-EXCELLENT
< Access-Control-Expose-Headers: Response-Counter
< Access-Control-Allow-Origin: http://newcastle.local
< Access-Control-Max-Age: 9001
< Access-Control-Allow-Methods: PATCH
<
Liftoff
As you can see, the plugin gave us permission to continue on and make our real request with that origin, header and verb. In the real world, the browser would go ahead and do exactly that.
Notice that the preflight requests never go through to the API itself, they are CORS specific and the response is generated on the gateway by the CORS policy.
In conclusion…
We built up a CORS configuration and tested out its functionality. Thankfully, it was pretty easy!


CLSP Player Advanced Demo
~ DIST ~
Hide Controls
Total videos playing:
N/A
Time Elapsed:
N/A
Time Started:
N/A
Heap Size Limit:
N/A
Total Heap Size:
N/A
Used Heap Size:
N/A
Urls:
Enable
Times to Replicate
Tour Urls:
Enable
Times to Replicate
Times to Repeat Within Tour
Tour Interval (seconds):
Create Video Wall
×


I'm from Bangalore. I have an overall 6 years of experience in application development. I'm always looking for projects to work on or new opportunities to add to my resume. My professional journey began in 2012 with Processware systems. In 2014, I started working for Oracle Financials as a contractor and later in 2016 I became a permanent employee based on my performance.
My interest lies in web development, but I love programming in general. I currently code using Java frameworks like Spring, Hibernate, and HTML and CSS. I use clean architecture for coding as it helps to optimize, and scalable code. I also have experience working on the RESTful web services which provides SEO friendly URLs. Here's the thing, I also do Android development and I recently graduated from Udacity's Android Nanodegree Program.
I currently do web development and my expertise lies in using the frameworks to their full capability coupled with bootstrap framework to create responsive websites quickly.
I love programming as I love to learn newer and more innovative ways to code.
I'm lucky to be in a field where this is a real possibility. What's better than the rush of joy from learning and understanding something new? I update the dependencies to keep things afresh.
In a modern world every human being has a handheld device in possession, and to reach them out, I develop in Android. Published and updated my first app on Google Play Store as "Giant Bomb Games".
Let's fix an appointment to schedule an interview! Give me a call or drop me an email and I will get back to you as soon as possible!


Contact Me
This is how you can reach me.....
OR You can also reach me from this connections
Email:
<EMAIL_ADDRESS>Phone: (+880)<PHONE_NUMBER>
OR You can also reach me from this connections


Our Services
Volunteer faculty, pastors and volunteers have continued in the past year to achieve the goals of the ministry by proclaiming the Gospel, feeding the hungry, sheltering the homeless, rehabilitating the addict, and restoring the ex-offender. Old Savannah City Mission continues to be uniquely positioned to offer a holistic approach caring for people by addressing the mind, body, soul and spirit of all who seek refuge in this part of the vineyard. During 2014, the following programmatic goals were achieved: 92,183 served meals Received significant food support in 2014 from Second Harvest Food Bank, Savor Savannah Catering ($135,000 value), Paul Kennedy Catering, River Boat Catering, and Barnes Catering. 18,748 nights of shelter 2,572 case management hours provided to residential students 13,279 towels provided 11,801 wash cloths provided 11,783 pairs of underwear provided 7,052 pairs of socks provided 5,840 T-shirts provided 5,272 pairs of pants provided 4,578 shirts provided 53 students enrolled in the UTI program 202 hours of spiritual growth and character development classes 576 – 50 minute Gospel Services 802 people accepted Christ after one of our Gospel Services 90 friends and neighbors obtained permanent housing after completing short-term case management goals. 8 residential students completed early substance abuse recovery group classes 15 residential students completed individual counseling sessions with our partner agency Heads Up Guidance Services. 300 students and friends and neighbors received healthcare treatment via Union Mission’s medical outreach site at Old Savannah City Mission. 150 suits received from the yearly National Suit Exchange in conjunction with Men’s Wearhouse. 100 clothing garments donated from Men’s Wearhouse from their merger with Joseph A. Bank’s Clothiers.


Program:
Select...
FIRST Tech Challenge
FIRST Robotics Competition
Team Number:
Team Code:
{{error_message}}


Title of the List
Your title must be less than 25 characters long and must not contain special characters, or emoji.
Please choose a valid title for the list.
Description of the List
Visibility:
Public
Private
← Back to Create Task
Submit


Loading...
Bashar Score: 999
Bashar Score: 999
Bashar Score: 999
Bashar Score: 999
Bashar Score: 999
Bashar Score: 999
Bashar Score: 999
Bashar Score: 999
Bashar Score: 999
Bashar Score: 999
Play


List Item 1
List Item 2
List Item 3
List Item 4
This is paragraph1!!
This is paragraph1 2 !
This is paragraph 3!!
This is paragraph 4 !!
List Item 1
List Item 2
List Item 3
List Item 4
Button within div
Button1
Button2
Span 1
This is bold
Span 2
Span 3


module Lazy: sig .. end
type t('a) = lazy_t('a);
'a Lazy.t
is a deferred computation, called
a suspension, that has a result of type 'a
. The special
expression syntax lazy (expr)
makes a suspension of the
computation of expr
, without computing expr
itself yet.
"Forcing" the suspension will then compute expr
and return its
result.
Note: lazy_t
is the built-in type constructor used by the compiler
for the lazy
keyword. You should not use it directly. Always use
Lazy.t
instead.
Note: Lazy.force
is not thread-safe. If you use this module in
a multi-threaded program, you will need to add some locks.
Note: if the program is compiled with the -rectypes
option,
ill-founded recursive definitions of the form let rec x = lazy x
or let rec x = lazy(lazy(...(lazy x)))
are accepted by the type-checker
and lead, when forced, to ill-formed values that trigger infinite
loops in the garbage collector and other parts of the run-time system.
Without the -rectypes
option, such ill-founded recursive definitions
are rejected by the type-checker.
exception Undefined;
let force: t('a) => 'a;
force x
forces the suspension x
and returns its result.
If x
has already been forced, Lazy.force x
returns the
same value again without recomputing it. If it raised an exception,
the same exception is raised again.
Raise Undefined
if the forcing of x
tries to force x
itself
recursively.let force_val: t('a) => 'a;
force_val x
forces the suspension x
and returns its
result. If x
has already been forced, force_val x
returns the same value again without recomputing it.
Raise Undefined
if the forcing of x
tries to force x
itself
recursively.
If the computation of x
raises an exception, it is unspecified
whether force_val x
raises the same exception or Undefined
.let from_fun: (unit => 'a) => t('a);
from_fun f
is the same as lazy (f ())
but slightly more efficient.let from_val: 'a => t('a);
from_val v
returns an already-forced suspension of v
.
This is for special purposes only and should not be confused with
lazy (v)
.let is_val: t('a) => bool;
is_val x
returns true
if x
has already been forced and
did not raise an exception.let lazy_from_fun: (unit => 'a) => t('a);
from_fun
.let lazy_from_val: 'a => t('a);
from_val
.let lazy_is_val: t('a) => bool;
is_val
.


Regression examples¶
Wine quality¶
We use the wine quality dataset from http://archive.ics.uci.edu/.
Example of parameter selection and cross-validation using GTM regression (GTR) and SVM classification (SVR):
from ugtm import eGTR
import numpy as np
from numpy import sqrt
from sklearn import model_selection
from sklearn.metrics import mean_squared_error
from sklearn.svm import SVR
from sklearn.preprocessing import StandardScaler
from sklearn.dummy import DummyRegressor
import pandas as pd
# Load red wine data
url = "http://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/winequality-red.csv"
data = pd.read_csv(url,sep=";")
y = data['quality']
X = data.drop(labels='quality',axis=1)
X_train, X_test, y_train, y_test = model_selection.train_test_split(
X, y, test_size=0.10, random_state=42, shuffle=True, random_state=42)
std = StandardScaler().fit(X_train)
X_train = std.transform(X_train)
X_test = std.transform(X_test)
performances = {}
# GTM classifier (GTR), bayesian
tuned_params = {'regul': [0.0001, 0.001, 0.01, 0.1, 1],
's': [0.1, 0.2, 0.3],
'k': [25],
'm': [5]}
gs = model_selection.GridSearchCV(eGTR(), tuned_params, cv=3, iid=False, scoring='neg_mean_squared_error')
gs.fit(X_train, y_train)
# Returns best score and best parameters
print(gs.best_score_)
print(gs.best_params_)
# Test data using model built with best parameters
y_true, y_pred = y_test, gs.predict(X_test)
# Record performance on test set (RMSE)
performances['gtr'] = sqrt(mean_squared_error(y_true, y_pred))
# SVM regressor (SVR)
tuned_params = {'C':[1,10,100,1000],
'gamma':[1,0.1,0.001,0.0001],
'kernel':['rbf']}
gs = model_selection.GridSearchCV(SVR(), tuned_params, cv=3, iid=False, scoring='neg_mean_squared_error')
gs.fit(X_train, y_train)
# Returns best score and best parameters
print(gs.best_score_)
print(gs.best_params_)
# Test data using model built with best parameters
y_true, y_pred = y_test, gs.predict(X_test)
# Record performance on test set
performances['svm'] = sqrt(mean_squared_error(y_test, y_pred))
# Create a dummy regressor
dummy = DummyRegressor(strategy='mean')
# Train dummy regressor
dummy.fit(X_train, y_train)
y_true, y_pred = y_test, dummy.predict(X_test)
# Dummy performance
performances['dummy'] = sqrt(mean_squared_error(y_test, y_pred))


Esri Open Source
Thinking spatially, solving problems, together.
Explore over 600 open-source geospatial projects.
View on GitHub >


Sysinternals Utilities Index
Sysinternals Suite
The entire set of Sysinternals Utilities rolled up into a single download.
filter:
Index at {{time}}
Name
Ver
Published
Description
{{name}}
{{version}}
{{date}}
{{description}}
download


Sample - Update Properties
Repository:
User ID:
Password:
Item ID:
SearchTemplate:
Property Name:
Property Value:


Operators maintain optimised dewatering via manual adjustments
on desktop: press space or scroll to proceed
on mobile: swipe to proceed
Reduce costs with predictive analytics and automation
of municipal wastewater is produced worldwide
sludge disposal as result of this wastewater creates major costs:
of the total operating costs of a WWTP
however the sludge dewatering proces is complex, mainly because:
meanwhile,
of operators are approaching retirement age.
How do you achieve consistent, stable processing and dewatering of sludge to reduce environmental impact and costs?
Operators maintain optimised dewatering via manual adjustments
The process is operated in a safe (not optimal) mode.
Automate sludge treatment and logistics


2. Introduction¶
The purpose of this project is to dynamically visualise all the three-phase symmetrical components. This includes the following definitions for symmetrical components:
- The orginal definition proposed by Fortescue, which is at its centenary this year (2018)
- Symmetrical components for the Clarke Transform (amplitude invariant), according to the DSOGI
- Symmetrical components for the Park Transform, calculated from the DSOGI Clarke Transform symmetrical components
This project would allow the user to define the three-phase inputs and the PLL angle to allow studies of different situations.
This project would provide the plots in both the time-domain and the polar-domain.
This project would allow the user to export the plots in various formats.
This project would allow the user to export the raw data in CSV.
This project would save user-defined inputs automatically in an INI file.
The GUI of this project is built with Qt designer.
2.1. User-Defined Inputs¶
The following user-defined inputs are used to perform the calculations for the symmetrical components.
2.1.1. Three-Phase Inputs¶
| where: | |
|---|---|
| \(Input_a\) | is the Phase-A input; |
| \(Input_b\) | is the Phase-B input; |
| \(Input_c\) | is the Phase-C input; |
| \(Mag_a\) | is the magnitude of the Phase-A input; |
| \(Mag_b\) | is the magnitude of the Phase-B input; |
| \(Mag_c\) | is the magnitude of the Phase-C input; |
| \(\omega_a\) | is the angular frequency of the Phase-A input; |
| \(\omega_b\) | is the angular frequency of the Phase-B input; |
| \(\omega_c\) | is the angular frequency of the Phase-C input; |
| \(t\) | is the time; |
| \(\varphi_a\) | is the initial phase of the Phase-A input; |
| \(\varphi_b\) | is the initial phase of the Phase-B input; |
| \(\varphi_c\) | is the initial phase of the Phase-C input; |
| \(DC_a\) | is the DC bias of the Phase-A input; |
| \(DC_b\) | is the DC bias of the Phase-B input; |
| \(DC_c\) | is the DC bias of the Phase-C input. |
2.1.2. PLL Angle¶
| where: | |
|---|---|
| \(\theta_{PLL}\) | is the PLL angle; |
| \(\omega_{PLL}\) | is the angular frequency of the synchronous reference frame; |
| \(t\) | is the time; |
| \(\varphi_{PLL}\) | is the initial phase of the PLL angle. |
2.2. Fortescue Transform (the original symmetrical components)¶
Define:
Commonly, the lowercase of \(A\) (capital \(\alpha\)), is used. To avoid confusion with \(a\) (/eɪ/), the uppercase, \(A\), is used here instead.
| where: | |
|---|---|
| \(A\) | is the \(120^{\circ}\) shifter; |
| \(a\) | is the Phase-A input; |
| \(b\) | is the Phase-B input; |
| \(c\) | is the Phase-C input; |
| \(a_+\) | is the positive sequence of Phase-A input; |
| \(b_+\) | is the positive sequence of Phase-B input; |
| \(c_+\) | is the positive sequence of Phase-C input; |
| \(a_-\) | is the negative sequence of Phase-A input; |
| \(b_-\) | is the negative sequence of Phase-B input; |
| \(c_-\) | is the negative sequence of Phase-C input; |
| \(a_{Zero}\) | is the zero sequence of Phase-A input; |
| \(b_{Zero}\) | is the zero sequence of Phase-B input; |
| \(c_{Zero}\) | is the zero sequence of Phase-C input. |
2.3. Clarke Transform (amplitude invariant and DSOGI)¶
2.3.1. The amplitude invariant Clarke Transform¶
| where: | |
|---|---|
| \(a\) | is the Phase-A input; |
| \(b\) | is the Phase-B input; |
| \(c\) | is the Phase-C input; |
| \(\alpha\) | is the \(\alpha\) component of the Clarke Transform; |
| \(\beta\) | is the \(\beta\) component of the Clarke Transform; |
| \(Zero\) | is the \(Zero\) sequnece component. |
2.3.2. The DSOGI Clarke Transform¶
Define:
Then:
| where: | |
|---|---|
| \(quad\) | is the \(-90^{\circ}\) shifter; |
| \(\alpha\) | is the \(\alpha\) component of the Clarke Transform; |
| \(\beta\) | is the \(\beta\) component of the Clarke Transform; |
| \(\alpha_+\) | is the positive sequnece of the \(\alpha\) component; |
| \(\beta_+\) | is the positive sequnece of the \(\beta\) component; |
| \(\alpha_-\) | is the negative sequnece of the \(\alpha\) component; |
| \(\beta_-\) | is the negative sequnece of the \(\beta\) component. |
For more information of the DSOGI [1], see:
[1] Teodorescu, R., Liserre, M., and Rodríguez, P., Grid Converters for Photovoltaic and Wind Power Systems. 2011: John Wiley & Sons, Ltd.
2.4. Park Transform¶
2.4.1. The original definition¶
| where: | |
|---|---|
| \(d\) | is the \(d\) component of the Park Transform; |
| \(q\) | is the \(q\) component of the Park Transform; |
| \(Zero\) | is the \(Zero\) sequence; |
| \(\theta\) | is the SRF angle in radians; |
| \(\alpha\) | is the \(\alpha\) component of the Clarke Transform; |
| \(\beta\) | is the \(\beta\) component of the Clarke Transform; |
2.4.2. DSOGI Park Transform¶
| where: | |
|---|---|
| \(d_+\) | is the positive \(d\) component of the DSOGI Park Transform; |
| \(q_+\) | is the positive \(q\) component of the DSOGI Park Transform; |
| \(d_-\) | is the negative \(d\) component of the DSOGI Park Transform; |
| \(q_-\) | is the negative \(q\) component of the DSOGI Park Transform; |
| \(Zero\) | is the \(Zero\) sequence; |
| \(\theta\) | is the SRF angle in radians; |
| \(\alpha_+\) | is the positive \(\alpha\) component of the DSOGI Clarke Transform; |
| \(\beta_+\) | is the positive \(\beta\) component of the DSOGI Clarke Transform; |
| \(\alpha_-\) | is the negative \(\alpha\) component of the DSOGI Clarke Transform; |
| \(\beta_-\) | is the negative \(\beta\) component of the DSOGI Clarke Transform. |
2.5. User Interface¶
The user interface is shown in the following figure. The plots will show when the “Update” button is clicked.
2.5.1. User Configurations (input fields)¶
Type in the math expressions as how you would in a Python terminal. White spaces should not cause error. Some keywords are case senstive, like “pi” cannot be typed as “PI”, otherwise, it would be regonised as other value and the results would be very funny.
This project uses the “asteval” package to perform evaluation of user-defined inputs. Its documentation page is: https://newville.github.io/asteval/
| Input field | Description |
|---|---|
| \(Mag_a\) | is the magnitude of the Phase-A input |
| \(Mag_b\) | is the magnitude of the Phase-B input |
| \(Mag_c\) | is the magnitude of the Phase-C input |
| \(\omega_a\) | is the angular frequency of the Phase-A input |
| \(\omega_b\) | is the angular frequency of the Phase-B input |
| \(\omega_c\) | is the angular frequency of the Phase-C input |
| \(\varphi_a\) | is the initial phase of the Phase-A input |
| \(\varphi_b\) | is the initial phase of the Phase-B input |
| \(\varphi_c\) | is the initial phase of the Phase-C input |
| \(DC_a\) | is the DC bias of the Phase-A input |
| \(DC_b\) | is the DC bias of the Phase-B input |
| \(DC_c\) | is the DC bias of the Phase-C input |
| \(\omega_{PLL}\) | is the angular frequency of the SRF |
| \(\varphi_{PLL}\) | is the initial phase of the PLL angle |
| \(t\) | is the maximum time (starts from time zero) |
2.5.2. Button Definitions¶
| Button | Shortcut | Description |
|---|---|---|
| Save Data | Ctrl + Shift + S | Prompts a file save dialogue and allows the generated data
to be saved as CSV
|
| Save Figures | Ctrl + S | Prompts a file save dialogue and allows the generated
figures to be saved in various formats
Suffix “_time” would be added to the filename for the
image for time-domain
Suffix “_polar” would be added to the filename for the
image for polar-domain
|
| Update | Ctrl + U | Updates the data according to the user-defined inputs
and then update the plots
|


You can add the geographical coordinates of the area or site in longitude/latitude degrees or in the Dutch national coordinate system RD (Rijksdriehoekstelsel), as a central point of 2 coordinates. The used reference system needs to be specified in the drop-down menu.
Longitude/latitude coordinates should be entered in decimal degrees. The latitude value should be entered in the ‘X’-box; the longitude in the ‘Y’-box. RD coordinates should be entered in meters as single values, without the use of grouping characters or separators such as dots or commas.
| Coordinate system | X | Y |
|---|---|---|
| Latitude/longitude (degrees) | 4.345776 | 52.080918 |
| RD (in m.) | 105350 | 460350 |


“Rumour among us had it that Marnick maintained special quarters up on the surface… a stone house against the barren rock; and that in this house was a certain room into which Marnick thrust the men who displeased him. Beyond this even rumour failed to go, but we often hazarded guesses. The most prevalent guess was that Marnick released hordes of Callistan Gnishii into this room, then stood at a glass-paned door and shrieked with insane laughter.” — Henry Hasse, Out Of This World


In this post, I will introduce IndexedDB. As the name suggests, it is a lightweight database. It's not a relational database however, it's a key-value database. It maps keys to javascript objects (or primitives). The API is a little more difficult to grasp than the other APIs offered by Firefox OS so this post is broken up into two parts. The first part will talk about how to create the structure of the database, and how to open and close the database.
Instead of containing tables, IndexedDB databases contain object stores. The object stores provide the structure to the database. Object stores map keys to objects, and allow indexes to be built on the property of an object. Indexes will be covered in the next section.
The keys can be supplied by using keyPath
, autoIncrement
, both, or neither. keyPath
specifies which value in the object is the key. autoIncrement
automatically creates the key when an item is stored. Here are the implications of using each key strategy.
keyPath
: javascript objects only (no primitives). objects must have property with same name as keyPath.autoIncrement
: any value (objects included). Keys are auto generated. Keys can optionally be specifiedboth
: javascript objects only (no primitives). Key is generated and saved to property whose name matches the keyPath. If a value exists already, that will be the key.neither
: any value (objects included). Key must be supplied when adding new valueThese key strategies apply to each individual object storage. This allows some flexibility in designing the structure of a database because it's possible to have a database that takes advantage of all these strategies.
The object stores are created using createObjectStore()
. The first parameter is the name of the object store and the second parameters is an object that specifies which strategy to use. The following example assumes we have a database opened and ready to be modified. We will cover how to accomplish this in the next section.
// db == open database
// Uses the keyPath strategy
// Keys is stored in object.taskId
db.createObjectStore("toDoList", { keyPath: "taskId" });
// Uses the autoIncrement strategy
// Key is automatically created
db.createObjectStore("toDoList", { autoIncrement: true });
// Uses the "both" strategy
// Key is automatically created and stored in object.taskId.
// If object.taskId has a value, that will be used instead of being created
db.createObjectStore("toDoList", { autoIncrement: true, keyPath: "taskId" });
// Uses the "neither" strategy
// Keys have to be given when adding objects to the store
db.createObjectStore("toDoList");
Once the structure is designed, the database can be created. There is no explicit create method in IndexedDB. Instead, the database is created when it is first opened. To open the database, simply call indexedDB.open()
var request = window.indexedDB.open("MyTestDatabase", 3);
The first argument is the name of the database and the second argument is the database version. When the database version changes, the system will call onupgradeneeded()
. The system will also call onupgradeneeded()
when the database needs to be created.
request.onupgradeneeded = function(event) {
var db = event.target.result;
// Create an object store for this database
};
It's important to note that any structure changes to the database can only happen in onupgradeneeded()
Opening the database returns a DOMRequest
object. We can grab the database connection from the result or access any errors in the following manner
var db;
request.onerror = function(event) {
console.error(this.errorCode);
};
request.onsuccess = function(event) {
db = this.result;
};
Closing the database is not required, but it is good practice. Use db.close()
The demo for this post focuses only on opening and closing the database. It creates an object store but does not add, remove, or get any items from it. All of that will be covered in the next post. The demo is here (may work on modern browsers) and, of course, the source. )


Jon had a heavy heart.
It was so huge, he could not see straight.
He always looked down.
Although, there was nothing special on the ground.
All the time I heard him crying.
He started influencing me with his sorrow.
I also started looking down at the ground all the time, and be sad.
This was not good for both of us.
So, I came up with an idea.

Suddenly, I saw a huge house coming out from his chest.
He cried while smiling.
He felt lighter than before.
Jon had a heavy heart.
It was so huge, he could not see straight.
He always looked down.
Although, there was nothing special on the ground.
All the time I heard him crying.
He started influencing me with his sorrow.
I also started looking down at the ground all the time, and be sad.
This was not good for both of us.
So, I came up with an idea.

Suddenly, I saw a huge house coming out from his chest.
He cried while smiling.
He felt lighter than before.
Sam, one of my neighbour, just had an awful accident.
He had a very bad head damage, the doctor could not save his head.
When he returned home, no one recognised him.
People thought he died in the car wreck.
It was so lonely being him. But I always said hi and had a cup of coffee with him and I did recognised him.
One day, when we had a cup of coffee together, I saw that his shoulder was shaking.
Looking at his body gesture, I was sure that he was crying, although no sound was heard and no tears were shown.

The road seems too long, new people seem so frightening.
The journey to your dream seem so exhausting.
Then, you end up hunkering in the corner of your room,
crying and devastating.
But, you see, you are never alone because there are always two person in every one of us.
Amongst all beautiful girls in te world, there was only one that caught my eyes.

She was friendly and refreshing.
She always walked past my house, said hi to me and asked how I was.
She always gave me courage when I was down.
And the nicest thing of all, was that her smile never ceased.
She had the most astonishing hair and the most authentic glasses.
She was perfect in my own world.
I could write her name on the blue sea, on the mountains, on both of my palm, and on my chest.
Miss Apple Juice brought life to my deserted heart.
Miss Apple Juice brought light to my dark eyes.
Feel free to get in touch with me if you have any question or comments
____________
A little thing you should know about me
Having sent by the goddess of rain, Maximus found himself in a strange city called Bonobon. He did not know why he was sent there, and all his time he was longing to find the meaning of life. Maximus's journal is a compilation of Maximus' journey when he was up and down, broken and happy, sad and grateful.
____________


Lorem
Click me just one time (system removal)
Click me just one time (vevet removal)
Click me many times


Descriptions :
We at ApexPath offer you advanced software development solutions tailored to meet customers' requirements and business developments.
ApexPath aims to help you create fantastic software solutions to meet your business requirements. We offer flexible and extensible applications that are tailor-made to improve the flexibility to provide choice for you during software development. Our team of software developers is well organized in virtual divisions with explicit knowledge of industrial updates and trending techniques in action.


| About Dailyrotten |
|
Feedback
If you like this page, hate it, or would like to suggest changes,
<EMAIL_ADDRESS>is listening. This page
is experimental and somewhat different from what we usually offer, so please
do send your feedback.
Adding Stories
If you are a rotten newshound and you would like to suggest a story,
visit our submit page to
send us the URL. Stories that are accepted will have your name credited.
Posting Comments
In order to post comments to stories, you will have to
create an account.
Accounts will generally be validated within 24 hours, and of
course will be disabled if there is abuse.
Viewership
On the first full day this page went live, 100,000 people visited this Rotten
News page. Of course that was the day after the WTC attacks, so that number is
somewhat distorted. Right now this page gets between 50,000 and 75,000 people
every day.
Linking
We encourage everyone to link to this page; if you like it, others probably
will as well.
Other Rotten
Rotten
Gaping Maw
Celebrity Morgue
Mugshots
Rotten Store
Rate My Poo
Rate My Kitten
Rate My Finger
Penny Postcards
Phallic
Boners
Home
Make Dailyrotten your start page
|
|
|
July 17, 2002
Home invasion turns into cannibalism
Kiev Post | Submitted by: Son of Benway
"The victim was stabbed to death when she could not produce keys [to her
house outside of Zhytomyr, Ukraine.] The wife of the alleged killer and two
male friends later helped dismember the body and take some of the parts home,
Nesterchuk said. The suspects allegedly ground up parts of the victim's
body and ate them, even feeding some parts to a 4-year-old child, according
to the Interfax news agency."
|
|
Read article...
|
|
Jamaican me so horny
Jaimaica Observer | Submitted by: Son of Benway
"Jamaicans are among black male prostitutes who are in demand in Thailand
where their favours have become sought after by high-society women, according
to a newspaper report. More than 100 black gigolos are now catering to
Thailand's female elite who prefer them because they are 'fiercer',
more 'thrilling' in bed than their Thai peers and 'well built'."
|
|
Read article...
|
|
Armed clowns raid wine bar
Wire Services | Submitted by: Aynz
This really is a bad day for clowns everywhere.
"There is no doubt that anyone walking along the road at the time the
robbers were heading into or out of the building would have spotted them,
especially as they were dressed as clowns," according to a police statement.
|
|
Read article...
|
|
Clown assaults girl
Wire Services | Submitted by: Commie_Oranges
"The witness also claimed [Clown] Lundak pulled the girl toward him and
placed her in a headlock. He then allegedly grabbed the spray can and threw it,
striking the witness in the chest. The girl was crying after the incident."
|
|
Read article...
|
|
Tupperware snake wakes up angry
Minneapolis Star Tribune | Submitted by: ian m.
"Police froze the snake in its enclosure and then incinerated it.
Anderson declined to be interviewed. Duluth police Sgt. Mike Olson said it's
unclear how Anderson got the dangerous snake. 'When I talked to him, he
claimed to have traveled to Egypt, watched it being born and brought it
back in a Tupperware bowl... Someone else said [it] was a mail order snake.'"
|
|
Read article...
|
|
Must have been some good shit...
Seattle Post-Intelligencer | Submitted by: ian m.
"Police said the man called after returning home about midnight Sunday night
and told officers his indoor pot-growing operation had been taken. "It's surprising what some people will report to police," Royal Canadian Mounted Police Constable Peter Lane said Monday. [This is not an uncommon phenomena,
and not surprising considering the calibre of some lawbreakers.]
|
|
Read article...
|
|
A surefire way to an acquittal
Seattle Post-Intelligencer | Submitted by: ian m.
"The state Commission on Judicial Conduct censured Sunnyside Municipal Judge
Steven Michels yesterday and recommended a 120-day suspension for serving as
both judge and attorney in several cases... The commission found that
Michels served as both judge and defense lawyer for clients in Toppenish
Municipal Court, where he sometimes appears as a temporary judge."
|
|
Read article...
|
|
B-B-Q'd Kitten
South Florida Sun-Sentinel | Submitted by: --jr
"Authorities said the incident occurred July 12, when a group of people cheering and making meowing noises around an outdoor grill at an
apartment complex caught the attention of a neighbor, who decided to
investigate." Completely disgusting, even if you don't like cats.
|
|
Read article...
|
|
Mushroom hunters are highly annoying!
Gainesville Sun | Submitted by: anonymous
"People in search of a cheap mushroom high are trespassing on area fields
and, in some cases, leaving behind broken fences, loose cattle and some angry
farmers, authorities say.
Alachua County Sheriff's Deputy Lee Johnson said he has been getting more
complaints from owners who say trespassers are marching through their fields,
looking for mushrooms. A derivative from the fleshy fungi can be used
as a hallucinogenic."
|
|
Read article...
|
|
The post 9/11 crime wave
New Republic | Submitted by: Ann Onymous
"In the wake of September 11, homicide and violent crime have been
increasing dramatically in virtually every major city in the United States.
Police officials have been vague about the cause, blaming everything from a
lagging economy to a changing urban demographic. But the pervasive factor
seems to be this: As city police departments have been forced to turn their
resources to fighting terror, they've been pulling protection off the inner
city streets, leaving residents even more vulnerable to violent crime than
before." How about pulling some cops off of the drug war and assigning
them to patrol, huh?
|
|
Read article...
|
|
Pay your respects the fast & easy way
Tennessean | Submitted by: Dana
A Nashville Funeral Home now presents its grieving clientele a quick & easy
way to pay respects to the dearly departed: just drive up to the viewing
window!  Colonel Gaddafi never travels light.
He showed up at the start of his African adventure with two Boeing 707s, his
own personal jet and two transport aircraft, including a giant Antonov, as
well as a ship full of goat carcasses."
|
|
Read article...
|
|
Pious protected from statue hung like a horse
Tiscali World Online | Submitted by: easy rider
"The statue by an internationally known Italian sculptor, Francesco Messina,
greeted procession-goers in Catania with a bizarre steel 'nappy', hastily
bolted over its otherwise prominent genitals by a mystery vandal."
|
|
Read article...
|
|
Changing seats can get you shot down
Boston Globe | Submitted by: fredbox
Passengers alarmed by note-passing and seat-changing aboard American Trans
Air flight 204 notified flight attendants, who notified cockpit crew, who
notified air traffic control, who notified NORAD, who notified two fully
armed F-16s whose pilots had hopefully not had too much coffee that morning.
 (And by the way, the
"suspicious" passengers were an Indian performange group, not Arabs.)
|
|
Read article...
|
|
Ancient boner, weird Shinto soccer
Mainichi Daily News | Submitted by: Dominus Bishop
"It's circumcised, weighs 350 kilograms, is made of wood at least 200 years
old and is shaped exactly how the ideal penis should be," Kenshu Ikeda tells
Spa!, referring to the 2-meter-long male member that is the showpiece
of the Tagata Jinja Shrine in Komaki, Aichi Prefecture, where he acts
as chief priest."
|
|
Read article...
|
|
Miss Teen Texas: public drunkenness
nbc5i.com | Submitted by: Michael in Houston
It appears the Bush daughters have become role models for Texas teens:
"When the officer spoke with the [age 17, prizewinning] female, he noticed a
strong odor of alcohol coming form her. And he asked her if she'd been
drinking, and she did indicate that she had been drinking."
|
|
Read article...
|
|
Dead Englishman becomes Hindu God
Hindustan Times | Submitted by: Rev. Soror Lucy Cannon
A British officer killed at Lucknow in 1857 has become the target of offerings made for good luck in court and in love.
"The fact that Englishmen are by and large known to have a great appetite for sex has done Wale's fast-growing reputation no harm." A reputation of which, as an American, I was unaware.
|
|
Read article...
|
|
Setting fire to friend
Centre Daily | Submitted by: JuTravler
"Brown and Beall, who pleaded guilty in April to recklessly endangering
another person, said their friend told them he did not want his shoes set on
fire. They said their friend told them to light his arm on fire."
|
|
Read article...
|
|
Our macaroni has NO ties to Mafia
CNN | Submitted by: Toots
"A group of farmers [in Corleone, made famous by the Godfather movies]
dedicated to fighting the Mafia are now producing the pasta under the brand
name "Libera Terra", "or free land", after setting up a co-operative to
farm land seized by the Italian government from the Cosa Nostra's jailed
"boss of bosses" Toto Riina."
|
|
Read article...
|
|
Exclusionary golf courses OK says Tiger Woods
New York Post | Submitted by: Gno Name
Woods began his career with Nike ads ridiculing the golf clubs he couldn't
join or play because of his race, positioning himself as a great crusader
against WASPy exclusionary policies. Now he says that rules about exluding
women, blacks and Asians are "just the way it is."
|
|
Read article...
|
|
More fallout from black hat pimping speech
The Register | Submitted by: Soylent
"Even I was attacked merely for reporting what he'd said.
|
|
Read article...
|
|
|
|
|


HTML/CSS: Used HTML and CSS to build webpages and incorporated responsiveness and accesibilty
React (II): Used React to deploy app and the static landing page is correctly incorporated with the app and sites.
React(II): Used React to structure and make app so that users can seamlessly navigate through the pages
Project Lead: Lead standups and helped guide and communicate with members of the team to finish in a timely manner.
React(I): Used React to create functional components and used events in application to add dynamic functionality to app.
React I:Used styling and functional components of React to make the user experience easy and opening to the eye.


— Brian Moeskau (@bmoeskau)
— Jeffrey Biles (@jeffreybiles)
Thanks to our venue sponsor:
Thanks to our food sponsor:
Thanks to our swag sponsor:
Last version check — August 2015:
| 44 | 40 | 31 | 1 (?) | 8 |
As of September 22, 2015:
| 44 45 |
40 41 |
31 32 |
1 (?) 13 * |
8 |
// Concise syntax
let square = x => x * x;
console.log(square(10)); // 100
// Auto binding of `this` to lexical scope
let counter_es6 = function() {
this.seconds = 0;
setInterval(() => this.seconds++, 1000);
};
ES2015: Array methods (and TypedArray)
Array.from('hello'); // ["h", "e", "l", "l", "o"]
Array.of('hello'); // ["hello"]
[0, 1, 2, 3, 4].fill(5); // [5, 5, 5, 5, 5]
['brian', 'corey'].find(function(item, index, array) {
return item.startsWith('b') ? item : null;
}); // 'brian'
Copies the values (of all enumerable own properties) from one or more source objects to a target object.
// Merge multiple objects
Object.assign({foo: 0}, {bar: 1}); // {foo: 0, bar: 1}
// Ovrewrite equal keys
Object.assign({hello: 0}, {hello: 1}); // {hello: 1}
// Clone an object
let obj = { person: 'Brian'};
let clone = Object.assign({}, obj); // {person: 'Brian'}
(Safari 9 is coming soon...)
✩ To be precise:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10547
Already working with third parties to reflect v.13
As of today Edge is at 80% ES2015 compatibility. This is amazing.
So what actually changed? Lots of stuff!
A few highlights...
HTML5 <template> element (part of Web Components)

<template id="items">

</template>
HTML5 <picture> element & srcset sizes attribute
<picture>
<source srcset="medium.jpg 1000w, large.jpg 2000w">

</picture>
HTML5  attribute
Download
The front-end framework for building experiences for Office and Office 365
Open-sourced (MIT) on Github (whaa?)
Contains V8 (JS engine) — same version as current Chrome
Translation: ES2015 out of the box!
|
|
Node is now following semver (sorta)
All x.0 releases stable, but only even releases will get long-term support
Oh yeah, by the way...
Node 4.1.0 was released Sep 17th :)
Is this interesting to you?
Keep an eye out for next month's meetup...
This release marks the beginning of ECMAScript's journey toward version 2016.
Great rundown of the new ES versioning scheme
Uses Ecmarkup (custom HTML superset)
<emu-figure>

<emu-caption>Example figure</emu-caption>
</emu-figure>
Virtual conference on Angular and other JS/Node topics
Where Grownups Go to Unplug, Get Away, and Be Kids Again.
/
#


Loading
There is no any question.
You can use below nouns, "{{randomNounsStr}}" to get a new idea for question, "{{randomQuestionStr}}" .
| Question |
|---|
| {{ question.question }} |
| Time | Observe |
|---|---|
| {{ observe.time | date:'yyyy-MM-dd HH:mm:ss'}} | {{ observe.observe }} |
| Time | Idea | Question |
|---|---|---|
| {{ idea.time | date:'yyyy-MM-dd HH:mm:ss'}} | {{ idea.idea }} | {{ idea.qname }} |


I am distributing the program using a technology called Java Web Start which will let you launch it from the web or from your computer, and will take care of keeping your version up to date automatically. If you have never run a Web Start program before, you will need to first install Java Web Start on your computer by visiting http://java.sun.com/products/javawebstart/
Once you've got Java Web Start, you can download and launch the program by clicking the link above. Once you have dowloaded it once, Java Web Start will save the program on your computer, so the next time you launch it (either from this web page or through the Java Web Start application on your computer) it will start up right away. As I release updates, Java Web Start will automatically make sure you have the latest files.
If you've got the Java Runtime Environment 1.3 or newer and Java Web Start installed, you should be all set. Web start works on Windows 95/98/NT/2000/XP. It is installed and configured by default on Mac OS X, so if you're using IE on OS X, you should be able to just click the link above. On Linux, I have gotten it to work with Mozilla, Konqueror, and Netscape 4.76 with no difficulty. When you install Java Web Start, it will update the ~/.mime-types files to include the .jnlp mapping needed for Java Web Start, and Netscape should see this, but I had to go and manually update my Netscape preferences to include the path to the javaws binary and then a '%s'. To do this, go to the Edit menu-->Preferences-->Navigator-->Applications and scroll down until you find the one that says "Java Web Start" in the description column. Then hit Edit and check the box where it says Application, and in the text field next to it, put the path to your web start javaws (eg. /usr/local/java/javaws/javaws) binary followed by ' %s', and that should do it. For Mozilla and Konqueror, and other browsers, you just need to go into the "Helper Applications" type section of the preferences and map the .jnlp extension and/or the application/x-java-jnlp-file mime type to the javaws executable. Please e-mail me with your stories of successes/failures on various platforms and browsers. Note that the classic Macintosh OS does not support Java 2, so only OS X users can expect this to work.


The Natural Language Classifier is useful in several ways:
- You can provide the benefits of natural language processing and machine learning without having a background in those areas.
- You can easily train a classifier for your domain and app because the service is available through an API.
- You can take immediate advantage of every service enhancement because the service is hosted by IBM Bluemix.


- Exercise 05.01 Exercise 05.02 Exercise 05.03 Exercise 05.04 Exercise 05.05 Exercise 05.06 Exercise 05.07 Exercise 05.08 Exercise 05.09 Exercise 05.10 Exercise 05.11 Exercise 05.12 Exercise 05.13 Exercise 05.14
- Exercise 08.01 Exercise 08.02 Exercise 08.03 Exercise 08.04 Exercise 08.05 Exercise 08.06 Exercise 08.07 Exercise 08.08 Exercise 08.09 Exercise 08.10 Exercise 08.11 Exercise 08.12
- Exercise 09.01 Exercise 09.02 Exercise 09.03 Exercise 09.04 Exercise 09.05 Exercise 09.06 Exercise 09.07


new Class()
A modified version of class.js to cater to static inheritance and deep object cloning Based almost completely on class.js (Javascript MVC -- Justin Meyer, Brian Moschel, Michael Mayer and others) (http://javascriptmvc.com/contribute.html) Some portions adapted from Prototype JavaScript framework, version <IP_ADDRESS> (c) 2005-2007 Sam Stephenson Some portions extracted from jQuery 1.7
Class system for javascript
var Fighter = maestro.df.CS2I.Base.extend('Fighter',
{
// static (this is inherited as well)
firingSpeed: 1000
},
{
// instance
hp: 0,
lastFireTime: 0,
init: function(hp)
{
this.hp = hp;
},
fire: function()
{
this._super(); // super methods!
// do firing!
}
});
var gunship = new Fighter(100);
Introspection:
maestro.df.CS2I.Base.extend(‘Fighter.Gunship’);
Fighter.Gunship.shortName; // ‘Gunship’
Fighter.Gunship.fullName; // ‘Fighter.Gunship’
Fighter.Gunship.namespace; // ‘Fighter’
Setup method will be called prior to any init -- nice if you want to do things without needing the
users to call _super in the init, as well as for normalizing parameters.
setup: function()
{
this.objectId = this.Class.totalObjects++;
this.uniqueId = this.Class.fullName + ':' + this.objectId;
}
- Source:
- C:/devtools/GitHub/Nano-Framework/src/nano/js/cs2i.js, line 998


WITNESS LIST Natural Resources Committee May 8, 2001 - 2:00P HB 247 Registering, but not testifying: For: Joiner, Gary Associate Legislative Director (Texas Farm Bureau), Austin, TX Small, Ed Attorney (Texas and Soutwestern Cattleraisers Assn), Austin, TX Providing written testimony: On: Langford, David Executive VP (Texas Wildlife Association), San Antonio, TX HB 819 ON: Richards, Gene Business Development Division Director (Texas Department of Economic Development), Austin, TX Registering, but not testifying: For: Joiner, Gary Associate Legislative Director (Texas Farm Bureau), Austin, TX Wilson, Ross Vice President (Texas Cattle Feeders Association), Amarillo, TX On: West, Michael Director, Strategic Planning (Department of Economic Div.), Austin, TX HB 892 FOR: Gray, Alan (Licensed Beverage Distributors), Austin, TX ON: Combs, Susan Commissioner (TX Dept. of Ag.), Austin, TX Registering, but not testifying: For: Brancato, John Owner (LA Bodega Winery), Fort Worth, TX Constable, Les Owner (Brushy Creek Vineyards), Alvord, TX DeGan, Amanda Co-Owner (DeGan Vineyard), Boyd, TX DeGan, Bill Co-Owner (DeGan Vineyard), Boyd, TX Donley, Rick President (Beer Alliance of Texas), Austin, TX Elliot, Gary Owner (Driftwood Vineyards), Driftwood, TX Manigold, Edward Wine Maker Co-Owner (Spicewood Manigold, Madeleine President- Co Owner (Spicewood Vineyards), Spicewood, TX Marosko, Fred Executive Director (Texas Package Stores Assn.), Austin, TX McKinney, Charles Viticulture Consultant (Self), New Braunfels, TX Miller, David Executive Director (Texas Wine & Grape Growers Association), Grapevine, TX Oubre, Vicki Owner (San Gabriel Vineyard), Austin, TX Smith, Bobby Legislative Chairman (Texas Wine & Grape Assn.), Springtown, TX Sparks, Robert Executive Director (Licensed Beverage Dist. Inc.), Austin, TX Watson, Jerry Owner (Austin County Vineyards), Cat Spring, TX On: Yarbrough, Randy Assistant Administrator (Texas Alcoholic Beverage Commission), Austin, TX HB 2091 Registering, but not testifying: For: Small, Ed Attorney (Texas & Southwestern Cattleraisers Assn.), Austin, TX Wilson, Ross Vice President (Texas Cattle Feeders Association), Amarillo, TX On: Coats, Max Deputy Executive Director (Texas Animal Health Commission), Austin, TX HB 2246 ON: Davis, Ron Enforcement Chief (Texas Forest Service), Lufkin, TX Registering, but not testifying: For: Hufford, Ron Executive VP (Texas Forestry Assn), Lufkin, TX Joiner, Gary Associate Legislative Director (Texas Farm Bureau), Austin, TX Small, Ed Attorney (Texas Forestry Assn.), Austin, TX HB 2404 Registering, but not testifying: For: Mintz, David Director of Government Affairs (Texas Apartment Assn.), Austin, TX HB 2787 Registering, but not testifying: On: Harkins, Gerald Director of Parking and Transportation (The University of Texas at Austin), Round Rock, TX Raff, Dan Police Inspector (University of Texas System), Round Rock, TX HB 2794 FOR: Arrington, John (Self), Houston, TX Registering, but not testifying: On: Newby, Edward (GLO), Austin, TX HB 3037 FOR: Everheart, Harvey General Manager (Mesa Underground Water Conservation Dist.), Lamesa, TX Registering, but not testifying: For: Howe, Billy Associate Legislative Director (Texas Farm Bureau), Austin, TX Williams, C.E. General Manager (Panhandle Groundwater District), White Deer, TX HB 3096 Registering, but not testifying: On: Brittin, Carolyn Water Program Coordinator (TNRCC) HB 3329 FOR: Golemon, Kinnan (Gulf Coast Waste Disposal Authority), Austin, TX Smith, Terral (TAAHP), Austin, TX Talerico, Jeanne Executive Director (Texas Assn of Local Housing Finance Agencies), Austin, TX AGAINST: Garvin, John Executive Director (Texas Affiliation of Affordable Housing Providers), Austin, TX Ocanas, Reymundo Executive Director (Texas Association of Community Development Corps), Austin, TX Registering, but not testifying: For: Dipprey, Ron Director, Public Affairs (Dow Chemicals), Austin, TX Ellmer, Mindy (Poseidon Resources), Austin, TX Moore, Julie Director, State Govt. Affairs (Occidental Petroleum), Austin, TX On: Deviney, Lee Asst Comm for Finance & Agribusiness Dev (TX Dept of Agriculture & TX Ag Finance Authority), Austin, TX Tredway, Ellis Sr VP (Brazos Higher Education Service Corp.), Austin, TX HB 3483 FOR: Eminger, Randy Vice President South Region (CEED), Amarillo, TX Faulkner, Tom Executive Director (Texas Mining and Reclamation District), Austin, TX Glacken, Pamela Shawn Environmental Programs Manager (TXU), Dallas, TX Registering, but not testifying: For: Kearns, Dennis Legislative Counsel (Burlington Northern Santa Fe), Austin, TX Miksa, Mary VP Governmental Affairs (Texas Association of Business & Chambers of Commerce), Austin, TX Miller, Tami Regulatory Specialist (Reliant Energy/AECT), Pearland, TX Saunders, Robert Consultant (American Electric Power), Austin, TX HB 3587 FOR: Everheart, Harvey General Manager (Mesa underground Water Conservation District), Lamesa, TX Registering, but not testifying: For: Howe, Billy Associate Legislative Director (Texas Farm Bureau), Austin, TX Williams, C.E. General Manager (Panhandle Groundwater District), White Deer, TX HB 3651 Registering, but not testifying: For: Allison, Jim General Counsel (County Judges & Commissioners Assn. of TX), Austin, TX HB 3652 Registering, but not testifying: For: Allison, Jim General Counsel (County Judges & Commissioners Assn. of TX), Austin, TX HB 3655 FOR: Norman, Monique Attorney (Bickerdstaff, Heath), Austin, TX ON: Sledge, Brian Attorney (Lloyd, Gosselink, Blevins, Rochelle, Baldwin & Townsend), Austin, TX HB 3673 Registering, but not testifying: For: Horton, Ken Executive VP (Texas Pork Producers Assn.), Austin, TX Joiner, Gary Associate Legislative Director (Texa Farm Bureau), Austin, TX Small, Ed Attorney (Texas Southwestern Cattleraisers Assn.), Austin, TX Wilson, Ross Vice President (Texas Cattle Feeders Association), Amarillo, TX On: Coats, Max Dep. Executive Director (Texas Animal Health Commission), Austin, TX Powers, Trey Director of Legislative Affairs (TX Dept. of Agriculture), Austin, TX HJR 81 FOR: Wilson, Ross Vice President (Texas Cattle Feeders Assn.), Amarillo, TX Registering, but not testifying: For: Howe, Billy Texas Farm Bureau (Associate Legislative Director), Austin, TX Small, Ed Attorney (Texs and Southwestern Cattleraisers), Austin, TX On: Pedersen, Craig Executive Administrator (TX Water Development Board), Austin, TX


Muniba Talha
Software Developer
Featured Work
Website-I
https://www.shanti-restaurant.dk/
Website-II
http://gabrielmarketing.dk/
Portfolio
Link to project
Restaurant Website
A website customized for a local restaurant !
Gabriel Marketing
Another website for a consultancy business !
My portfolio Website
Portfolio built for Udacity Frontend Nanodegree program ..


Thanks for shopping with BeansVR
Your order is being processed. Incase you want to get more info, please note down your Order ID: BEANS-309482309BEANS21-39---BEANS


Pop the console to get the logs. To simulate p2p, just open another tab in incognito and browse to this very testpage.


Congratulations!
The food truck has received your order and it is only $80 away from selecting your location. Don't forget to share with your friends and ask them to vote!!
Phone number
We will send you a notification if the truck owner meets his goal and your location is chosen the winner.


Welcome to the Ringo bot preview! You can chat with Ringo on Slack or Microsoft Teams.
Chat with Ringo in Microsoft Teams
Ringo is just a baby; it essentially only understands two things: artists you like and artists that you want to listen to, e.g.
I like (artist)
When you like an Artist, Ringo will recommend another one to you, taking you on a journey of discovery. Behind the scenes Ringo is recording your likes and using them (and the likes of others) to make better recommendations to you.
Play (artist)
If you have a Spotify Premium account you can authorize Ringo to play you music on Spotify (the music plays on your device).
As you preview Ringo we would love your feedback. What would you like Ringo to understand? What would you like Ringo to do? Type or say
Feedbackat anytime to send your comments.


MKNetworkOperation Class Reference
| Inherits from | NSOperation |
| Declared in | MKNetworkOperation.h |
Overview
@class MKNetworkOperation @abstract Represents a single unique network operation.
@discussion
You normally create an instance of this class using the methods exposed by MKNetworkEngine
Created operations are enqueued into the shared queue on MKNetworkEngine MKNetworkOperation encapsulates both request and response Printing a MKNetworkOperation prints out a cURL command that can be copied and pasted directly on terminal Freezable operations are serialized when network connectivity is lost and performed when connection is restored
Tasks
-
url
@abstract Request URL Property @property url
property -
readonlyRequest
@abstract The internal request object @property readonlyRequest
property -
readonlyResponse
@abstract The internal HTTP Response Object @property readonlyResponse
property -
readonlyPostDictionary
@abstract The internal HTTP Post data values @property readonlyPostDictionary
property -
HTTPMethod
@abstract The internal request object’s method type @property HTTPMethod
property -
HTTPStatusCode
@abstract The internal response object’s status code @property HTTPStatusCode
property -
postDataEncoding
@abstract Post Data Encoding Type Property @property postDataEncoding
property -
– setCustomPostDataEncodingHandler:forType:
@abstract Set a customized Post Data Encoding Handler for a given HTTP Content Type
-
stringEncoding
@abstract String Encoding Property @property stringEncoding
property -
freezable
@abstract Freezable request @property freezable
property -
error
@abstract Error object @property error
property -
cacheHeaders
@abstract Cache headers of the response @property cacheHeaders
property -
– setUsername:password:
@abstract Authentication methods
-
– setUsername:password:basicAuth:
@abstract Authentication methods
-
clientCertificate
@abstract Authentication methods (Client Certificate) @property clientCertificate
property -
authHandler
@abstract Custom authentication handler @property authHandler
property -
operationStateChangedHandler
@abstract Handler that you implement to monitor reachability changes @property reachabilityChangedHandler
property -
credentialPersistence
@abstract controls persistence of authentication credentials @property credentialPersistence
property -
– addHeaders:
@abstract Add additional header parameters
-
– addFile:forKey:
@abstract Attaches a file to the request
-
– addFile:forKey:mimeType:
@abstract Attaches a file to the request and allows you to specify a mime-type
-
– addData:forKey:
@abstract Attaches a resource to the request from a NSData pointer
-
– addData:forKey:mimeType:
@abstract Attaches a resource to the request from a NSData pointer and allows you to specify a mime-type
-
– onCompletion:onError:
@abstract Block Handler for completion and error
-
– onUploadProgressChanged:
@abstract Block Handler for tracking upload progress
-
– onDownloadProgressChanged:
@abstract Block Handler for tracking download progress
-
– setUploadStream:
@abstract Uploads a resource from a stream
-
– addDownloadStream:
@abstract Downloads a resource directly to a file or any output stream
-
– isCachedResponse
@abstract Helper method to check if the response is from cache
-
– responseData
@abstract Helper method to retrieve the contents
-
– responseString
@abstract Helper method to retrieve the contents as a NSString
-
– curlCommandLineString
@abstract Helper method to print the request as a cURL command
-
– responseStringWithEncoding:
@abstract Helper method to retrieve the contents as a NSString encoded using a specific string encoding
-
– responseImage
@abstract Helper method to retrieve the contents as a UIImage
-
– responseXML
-
– responseJSON
@abstract Helper method to retrieve the contents as a NSDictionary or NSArray depending on the JSON contents
-
– operationSucceeded
@abstract Overridable custom method where you can add your custom business logic error handling
-
– operationFailedWithError:
@abstract Overridable custom method where you can add your custom business logic error handling
-
– setCachedData:
-
– setCacheHandler:
-
– updateHandlersFromOperation:
-
– updateOperationBasedOnPreviousHeaders:
-
– uniqueIdentifier
-
– initWithURLString:params:httpMethod:
Properties
HTTPMethod
@abstract The internal request object’s method type @property HTTPMethod
@property (nonatomic, strong, readonly) NSString *HTTPMethod
Discussion
@abstract The internal request object’s method type @property HTTPMethod
@discussion
Returns the operation's method type
This property is readonly cannot be modified. To create an operation with a new method type, use the operationWithURLString:params:httpMethod:
Declared In
MKNetworkOperation.h
HTTPStatusCode
@abstract The internal response object’s status code @property HTTPStatusCode
@property (nonatomic, assign, readonly) NSInteger HTTPStatusCode
Discussion
@abstract The internal response object’s status code @property HTTPStatusCode
@discussion
Returns the operation's response's status code.
Returns 0 when the operation has not yet started and the response is not available. This property is readonly cannot be modified.
Declared In
MKNetworkOperation.h
authHandler
@abstract Custom authentication handler @property authHandler
@property (nonatomic, copy) MKNKAuthBlock authHandler
Discussion
@abstract Custom authentication handler @property authHandler
@discussion
If your request needs to be authenticated using a custom method (like a Web page/HTML Form), add a block method here
and process the NSURLAuthenticationChallenge
Declared In
MKNetworkOperation.h
cacheHeaders
@abstract Cache headers of the response @property cacheHeaders
@property (strong, nonatomic) NSMutableDictionary *cacheHeaders
Discussion
@abstract Cache headers of the response @property cacheHeaders
@discussion
If the network operation is a GET, this dictionary will be populated with relevant cache related headers
MKNetworkKit assumes a 7 day cache for images and 1 minute cache for all requests with no-cache set
This property is internal to MKNetworkKit. Modifying this is not recommended and will result in unexpected behaviour
Declared In
MKNetworkOperation.h
clientCertificate
@abstract Authentication methods (Client Certificate) @property clientCertificate
@property (strong, nonatomic) NSString *clientCertificate
Discussion
@abstract Authentication methods (Client Certificate) @property clientCertificate
@discussion
If your request needs to be authenticated using a client certificate, set the certificate path here
Declared In
MKNetworkOperation.h
credentialPersistence
@abstract controls persistence of authentication credentials @property credentialPersistence
@property (nonatomic, assign) NSURLCredentialPersistence credentialPersistence
Discussion
@abstract controls persistence of authentication credentials @property credentialPersistence
@discussion The default value is set to NSURLCredentialPersistenceForSession, change it to NSURLCredentialPersistenceNone to avoid caching issues (isse #35)
Declared In
MKNetworkOperation.h
error
@abstract Error object @property error
@property (nonatomic, readonly, strong) NSError *error
Discussion
@abstract Error object @property error
@discussion
If the network operation results in an error, this will hold the response error, otherwise it will be nil
Declared In
MKNetworkOperation.h
freezable
@abstract Freezable request @property freezable
@property (nonatomic, assign) BOOL freezable
Discussion
@abstract Freezable request @property freezable
@discussion
Freezable operations are serialized when the network goes down and restored when the connectivity is up again.
Only POST, PUT and DELETE operations are freezable. In short, any operation that changes the state of the server are freezable, creating a tweet, checking into a new location etc., Operations like fetching a list of tweets (think readonly GET operations) are not freezable. MKNetworkKit doesn’t freeze (readonly) GET operations even if they are marked as freezable
Declared In
MKNetworkOperation.h
operationStateChangedHandler
@abstract Handler that you implement to monitor reachability changes @property reachabilityChangedHandler
@property (copy, nonatomic) void ( ^ ) ( MKNetworkOperationState newState ) operationStateChangedHandler
Discussion
@abstract Handler that you implement to monitor reachability changes @property reachabilityChangedHandler
@discussion
The framework calls this handler whenever the reachability of the host changes.
The default implementation freezes the queued operations and stops network activity You normally don’t have to implement this unless you need to show a HUD notifying the user of connectivity loss
Declared In
MKNetworkOperation.h
postDataEncoding
@abstract Post Data Encoding Type Property @property postDataEncoding
@property (nonatomic, assign) MKNKPostDataEncodingType postDataEncoding
Discussion
@abstract Post Data Encoding Type Property @property postDataEncoding
@discussion Specifies which type of encoding should be used to encode post data. MKNKPostDataEncodingTypeURL is the default which defaults to application/x-www-form-urlencoded MKNKPostDataEncodingTypeJSON uses JSON encoding. JSON Encoding is supported only in iOS 5 or Mac OS X 10.7 and above. On older operating systems, JSON Encoding reverts back to URL Encoding You can use the postDataEncodingHandler to provide a custom postDataEncoding For example, JSON encoding using a third party library.
Declared In
MKNetworkOperation.h
readonlyPostDictionary
@abstract The internal HTTP Post data values @property readonlyPostDictionary
@property (nonatomic, strong, readonly) NSDictionary *readonlyPostDictionary
Discussion
@abstract The internal HTTP Post data values @property readonlyPostDictionary
@discussion
Returns the operation's post data dictionary
This property is readonly cannot be updated. Rather, updating this post dictionary doesn’t have any effect on the MKNetworkOperation. Use the addHeaders method to add post data parameters to the operation.
@seealso addHeaders:
Declared In
MKNetworkOperation.h
readonlyRequest
@abstract The internal request object @property readonlyRequest
@property (nonatomic, strong, readonly) NSURLRequest *readonlyRequest
Discussion
@abstract The internal request object @property readonlyRequest
@discussion
Returns the operation's actual request object
This property is readonly cannot be modified. To create an operation with a new request, use the operationWithURLString:params:httpMethod:
Declared In
MKNetworkOperation.h
readonlyResponse
@abstract The internal HTTP Response Object @property readonlyResponse
@property (nonatomic, strong, readonly) NSHTTPURLResponse *readonlyResponse
Discussion
@abstract The internal HTTP Response Object @property readonlyResponse
@discussion
Returns the operation's actual response object
This property is readonly cannot be updated.
Declared In
MKNetworkOperation.h
stringEncoding
@abstract String Encoding Property @property stringEncoding
@property (nonatomic, assign) NSStringEncoding stringEncoding
Discussion
@abstract String Encoding Property @property stringEncoding
@discussion Specifies which type of encoding should be used to encode URL strings
Declared In
MKNetworkOperation.h
url
@abstract Request URL Property @property url
@property (nonatomic, readonly) NSString *url
Discussion
@abstract Request URL Property @property url
@discussion
Returns the operation's URL
This property is readonly cannot be updated. To create an operation with a specific URL, use the operationWithURLString:params:httpMethod:
Declared In
MKNetworkOperation.h
Instance Methods
addData:forKey:
@abstract Attaches a resource to the request from a NSData pointer
- (void)addData:(NSData *)data forKey:(NSString *)key
Discussion
@abstract Attaches a resource to the request from a NSData pointer
@discussion
This method lets you attach a NSData object to the request. The behaviour is exactly similar to addFile:forKey:
The method has a side effect. It changes the HTTPMethod to “POST” regardless of what it was before. It also changes the post format to multipart/form-data The mime-type is assumed to be application/octet-stream
Declared In
MKNetworkOperation.h
addData:forKey:mimeType:
@abstract Attaches a resource to the request from a NSData pointer and allows you to specify a mime-type
- (void)addData:(NSData *)data forKey:(NSString *)key mimeType:(NSString *)mimeType
Discussion
@abstract Attaches a resource to the request from a NSData pointer and allows you to specify a mime-type
@discussion
This method lets you attach a NSData object to the request. The behaviour is exactly similar to addFile:forKey:mimeType:
The method has a side effect. It changes the HTTPMethod to “POST” regardless of what it was before. It also changes the post format to multipart/form-data
Declared In
MKNetworkOperation.h
addDownloadStream:
@abstract Downloads a resource directly to a file or any output stream
- (void)addDownloadStream:(NSOutputStream *)outputStream
Discussion
@abstract Downloads a resource directly to a file or any output stream
@discussion
This method can be used to download a resource directly to a stream (It's normally a file in most cases).
Calling this method multiple times adds new streams to the same operation. A stream cannot be removed after it is added.
Declared In
MKNetworkOperation.h
addFile:forKey:
@abstract Attaches a file to the request
- (void)addFile:(NSString *)filePath forKey:(NSString *)key
Discussion
@abstract Attaches a file to the request
@discussion
This method lets you attach a file to the request
The method has a side effect. It changes the HTTPMethod to “POST” regardless of what it was before. It also changes the post format to multipart/form-data The mime-type is assumed to be application/octet-stream
Declared In
MKNetworkOperation.h
addFile:forKey:mimeType:
@abstract Attaches a file to the request and allows you to specify a mime-type
- (void)addFile:(NSString *)filePath forKey:(NSString *)key mimeType:(NSString *)mimeType
Discussion
@abstract Attaches a file to the request and allows you to specify a mime-type
@discussion
This method lets you attach a file to the request
The method has a side effect. It changes the HTTPMethod to “POST” regardless of what it was before. It also changes the post format to multipart/form-data
Declared In
MKNetworkOperation.h
addHeaders:
@abstract Add additional header parameters
- (void)addHeaders:(NSDictionary *)headersDictionary
Discussion
@abstract Add additional header parameters
@discussion
If you ever need to set additional headers after creating your operation, you this method.
You normally set default headers to the engine and they get added to every request you create. On specific cases where you need to set a new header parameter for just a single API call, you can use this
Declared In
MKNetworkOperation.h
curlCommandLineString
@abstract Helper method to print the request as a cURL command
- (NSString *)curlCommandLineString
Discussion
@abstract Helper method to print the request as a cURL command
@discussion
This method is used for displaying the request you created as a cURL command
Declared In
MKNetworkOperation.h
initWithURLString:params:httpMethod:
- (id)initWithURLString:(NSString *)aURLString params:(NSMutableDictionary *)params httpMethod:(NSString *)method
isCachedResponse
@abstract Helper method to check if the response is from cache
- (BOOL)isCachedResponse
Discussion
@abstract Helper method to check if the response is from cache
@discussion
This method should be used to check if your response is cached.
When you enable caching on MKNetworkEngine, your completionHandler will be called with cached data first and then with real data, later after fetching. In your handler, you can call this method to check if it is from cache or not
Declared In
MKNetworkOperation.h
onCompletion:onError:
@abstract Block Handler for completion and error
- (void)onCompletion:(MKNKResponseBlock)response onError:(MKNKErrorBlock)error
Discussion
@abstract Block Handler for completion and error
@discussion
This method sets your completion and error blocks. If your operation's response data was previously called,
the completion block will be called almost immediately with the cached response. You can check if the completion handler was invoked with a cached data or with real data by calling the isCachedResponse method.
@seealso isCachedResponse
Declared In
MKNetworkOperation.h
onDownloadProgressChanged:
@abstract Block Handler for tracking download progress
- (void)onDownloadProgressChanged:(MKNKProgressBlock)downloadProgressBlock
Discussion
@abstract Block Handler for tracking download progress
@discussion
This method can be used to update your progress bars when a download is in progress.
The value range of the progress is 0 to 1.
Declared In
MKNetworkOperation.h
onUploadProgressChanged:
@abstract Block Handler for tracking upload progress
- (void)onUploadProgressChanged:(MKNKProgressBlock)uploadProgressBlock
Discussion
@abstract Block Handler for tracking upload progress
@discussion
This method can be used to update your progress bars when an upload is in progress.
The value range of the progress is 0 to 1.
Declared In
MKNetworkOperation.h
operationFailedWithError:
@abstract Overridable custom method where you can add your custom business logic error handling
- (void)operationFailedWithError:(NSError *)error
Discussion
@abstract Overridable custom method where you can add your custom business logic error handling
@discussion
This optional method can be overridden to do custom error handling. Be sure to call [super operationSucceeded] at the last.
For example, a invalid HTTP response (401) like “Unauthorized” might be a valid case in your app. You can override this method and called [super operationSucceeded]; to notify that HTTP call failed but the method ended as a success call. For example, Facebook login failed, but to your business implementation, it’s not a problem as you are going to try alternative login mechanisms.
Declared In
MKNetworkOperation.h
operationSucceeded
@abstract Overridable custom method where you can add your custom business logic error handling
- (void)operationSucceeded
Discussion
@abstract Overridable custom method where you can add your custom business logic error handling
@discussion
This optional method can be overridden to do custom error handling. Be sure to call [super operationSucceeded] at the last.
For example, a valid HTTP response (200) like “Item not found in database” might have a custom business error code You can override this method and called [super failWithError:customError]; to notify that HTTP call was successful but the method ended as a failed call
Declared In
MKNetworkOperation.h
responseData
@abstract Helper method to retrieve the contents
- (NSData *)responseData
Discussion
@abstract Helper method to retrieve the contents
@discussion
This method is used for accessing the downloaded data. If the operation is still in progress, the method returns nil instead of partial data. To access partial data, use a downloadStream.
@seealso addDownloadStream:
Declared In
MKNetworkOperation.h
responseImage
@abstract Helper method to retrieve the contents as a UIImage
- (UIImage *)responseImage
Discussion
@abstract Helper method to retrieve the contents as a UIImage
@discussion
This method is used for accessing the downloaded data as a UIImage. If the operation is still in progress, the method returns nil instead of a partial image. To access partial data, use a downloadStream. If the response is not a valid image, this method returns nil. This method doesn't obey the response mime type property. If the server response with a proper image data but set the mime type incorrectly, this method will still be able access the response as an image.
@seealso addDownloadStream:
Declared In
MKNetworkOperation.h
responseJSON
@abstract Helper method to retrieve the contents as a NSDictionary or NSArray depending on the JSON contents
- (id)responseJSON
Discussion
@abstract Helper method to retrieve the contents as a NSDictionary or NSArray depending on the JSON contents
@discussion
This method is used for accessing the downloaded data as a NSDictionary or an NSArray. If the operation is still in progress, the method returns nil. If the response is not a valid JSON, this method returns nil.
@availability iOS 5 and above or Mac OS 10.7 and above
Declared In
MKNetworkOperation.h
responseString
@abstract Helper method to retrieve the contents as a NSString
- (NSString *)responseString
Discussion
@abstract Helper method to retrieve the contents as a NSString
@discussion
This method is used for accessing the downloaded data. If the operation is still in progress, the method returns nil instead of partial data. To access partial data, use a downloadStream. The method also converts the responseData to a NSString using the stringEncoding specified in the operation
@seealso addDownloadStream: stringEncoding
Declared In
MKNetworkOperation.h
responseStringWithEncoding:
@abstract Helper method to retrieve the contents as a NSString encoded using a specific string encoding
- (NSString *)responseStringWithEncoding:(NSStringEncoding)encoding
Discussion
@abstract Helper method to retrieve the contents as a NSString encoded using a specific string encoding
@discussion
This method is used for accessing the downloaded data. If the operation is still in progress, the method returns nil instead of partial data. To access partial data, use a downloadStream. The method also converts the responseData to a NSString using the stringEncoding specified in the parameter
@seealso addDownloadStream: stringEncoding
Declared In
MKNetworkOperation.h
setCustomPostDataEncodingHandler:forType:
@abstract Set a customized Post Data Encoding Handler for a given HTTP Content Type
- (void)setCustomPostDataEncodingHandler:(MKNKEncodingBlock)postDataEncodingHandler forType:(NSString *)contentType
Discussion
@abstract Set a customized Post Data Encoding Handler for a given HTTP Content Type
@discussion If you need customized post data encoding support, provide a block method here. This block method will be invoked only when your HTTP Method is POST or PUT For default URL encoding or JSON encoding, use the property postDataEncoding If you change the postData format, it’s your responsiblity to provide a correct Content-Type.
@seealso postDataEncoding
Declared In
MKNetworkOperation.h
setUploadStream:
@abstract Uploads a resource from a stream
- (void)setUploadStream:(NSInputStream *)inputStream
Discussion
@abstract Uploads a resource from a stream
@discussion
This method can be used to upload a resource for a post body directly from a stream.
Declared In
MKNetworkOperation.h
setUsername:password:
@abstract Authentication methods
- (void)setUsername:(NSString *)name password:(NSString *)password
Discussion
@abstract Authentication methods
@discussion
If your request needs to be authenticated, set your username and password using this method.
Declared In
MKNetworkOperation.h
setUsername:password:basicAuth:
@abstract Authentication methods
- (void)setUsername:(NSString *)username password:(NSString *)password basicAuth:(BOOL)bYesOrNo
Discussion
@abstract Authentication methods
@discussion
If your request needs to be authenticated using HTTP Basic, use this method to set your username and password.
Calling this method with basicAuth:NO is same as calling setUserName:password: @seealso setUserName:password:
Declared In
MKNetworkOperation.h


A basic tuner/visualizer for tuning your Guitar or ukulele.
Demo
It uses the WebAudio and GetUserMedia API’s, so you’re going to need chrome or firefox(not tested).
Uses bits and pieces of:
audio Visualization
pitchdetect
Lisensed under the Simplified BSD License.
Lisensed under the MIT License.


Ajit Pawar Mulls Legal Options Over His Ouster As NCP's Legislative Chief: Sources
by Navashree NandiniPolitics
Amid hotel politics unfolding in Maharashtra, sources informed that NCP leader and Deputy Chief Minister Ajit Pawar is mulling legal option.
Written By Navashree Nandini | Mumbai | Updated On: November 24, 2019 20:54 IST
Amid hotel politics unfolding in Maharashtra, sources informed that NCP leader and Deputy Chief Minister Ajit Pawar is mulling legal option. As per sources, he will be challenging his removal from the post of leader of the legislative party. Ajit Pawar has maintained that he is an NCP leader and that party's supremo Sharad Pawar is his chief while claiming that NCP and BJP will form a stable government in the state. However, Sharad Pawar clarified that there is no alliance with the BJP.
READ: Sharad Pawar breaks silence on 'Dy CM Ajit Pawar', rejects NCP allying with BJP
Maharashtra's political scenario remains complicated with BJP confident of proving its number and NCP's Ajit Pawar assuring a stable government under NCP and BJP alliance. On the other side, NCP supremo clarified that his claims are 'false and misleading'. While Congress is claiming the developments in Maharashtra as a blot in democracy and is demanding the resignation of the governor, Shiv Sena whose chief Uddhav Thackeray was on the verge of the CM has moved to the Supreme Court claiming Devendra Fadnavis' oath-taking as ''unconstitutional'.
READ: 'ALL IS WELL': Ajit Pawar appeals to NCP for a little patience; opens up on Sharad Pawar
Political scenario
Meanwhile, hotel politics began in the state with Shiv Sena and Congress MLAs being holed up in Hotel JW Marriott, while NCP MLAs being holed up in Rennaisance Hotel in Powai. Earlier in the day, Ajit Pawar thanked Prime Minister Narendra Modi, home minister and BJP president Amit Shah, and other BJP leaders and ensured that there will be a stable government. He also changed his Twitter bio to Deputy CM of Maharashtra, while also maintaining that he is an NCP leader. However, on Saturday, he skipped the party's legislative meet even as sources told that he was summoned by the NCP supremo Sharad Pawar and was told to resign from the deputy CM's post.
READ: Fadnavis Maha CM, Rajasthan counterpart Gehlot fires 'farjical strike', 'Dil ki Baat' jibe
SC hearing and hotel politics
Hearing the petition of Shiv Sena, NCP and Congress against the swearing-in of Devendra Fadnavis, the Supreme Court (SC) on Sunday, stated that the order on when the floor test will be passed on Monday at 10:30 AM after reviewing the governor's order. The top court directed Solicitor General Tushar Mehta, who was representing the Centre, to produce the letter by the governor inviting them (BJP) to form the government and the letter sent by Fadnavis saying they have the numbers, on Monday.
READ: BJP workers welcome returning CM Devendra Fadnavis with victory slogans