PRIVACY POLICY
Introduction
Squadron LTD ("we" or "us"), is a company registered in England and Wales whose registered office is at Camden Town Hall, Judd Street, London, United Kingdom, WC1H 9JE, and whose registered number is 11203398.
Privacy Policy
- Our Privacy Policy
- At Squad, we are committed to respect and protect your privacy. This Privacy Policy sets out the type of information we collect from you and what we do with that information. The terms set out should be read together with our Terms and Conditions.
- By using the service offered by Squad you confirm that you accept the terms of this Privacy Policy and that you agree to be bound by them in your use of the service. If you do not agree, please do not use the service.
- Data Controller (or Owner)
- For the purposes of this Privacy Policy, the Data Controller is Squadron LTD (“Squad”, the “App” or “us”) of Camden Town Hall, Judd Street, London, United Kingdom, WC1H 9JE.
- We are also registered with the Information Commissioner under registration number: ZA354671.
- You may contact us at<EMAIL_ADDRESS>- Data Processor
- Amazon Web Services (AWS). AWS is appointed Data Processor by Squad. AWS provides the processing service of the Data collected through the use of the App. The processing of Data is carried out in respect of AWS Security Standards at all times. The information collected by AWS may be transferred to, or stored at, a location outside the European Economic Area (‘EEA’). To this end, AWS has enacted Model Clauses that allow the transfer of Data outside the EEA in compliance with European Data Protection law (Directive 95/46/CE) and with the General Data Protection Regulation (Reg. 679/2016).
- Additionally, the Data may be accessible to certain types of persons in charge, involved with the operation of the site (administration, sales, marketing, legal, system administration) or external parties (such as third party technical service providers, mail carriers, hosting providers, IT companies, communications agencies). The updated list of these parties may be requested from the Data Controller at any time.
- Personal Data you give us
- Squad collects, by itself or through third parties, Personal Data that includes: Full Name; Email; Mobile Phone number; Date of Birth; Country of Residence and Address; Nationality; Bank Account; copies of Personal Identification Documents (such as your Passport, ID, Driver License). The primary purposes in collecting information are to provide and improve our Service, to administer your use of the Service and to enable you to enjoy it.
- Other types of Personal Data collected may be described in other sections of this Privacy Policy.
- Failure to provide Personal Data may make it impossible for the App to provide its Service.
- Information we collect from other sources
- When you use our App we may receive or collect your IP address, URL, Browser information, operating system and platform as well as your login information. We may collect and store information about your location by converting your IP address into a rough geolocation or by accessing your mobile device’s GPS coordinates or coarse location if you enable location services on your device. This information may be used to improve and personalize our service.
- Bank Account and Financial Details
- The Service requires the processing in read only mode of your bank account details and financial data such as the history of your transaction and balance. To ensure the maximum level of protection of your Data, Squad collaborates with the following service providers that store and process User’s Data:
- Saltedge is an account aggregation service that allows the User to store its credit card and bank accounts’ credentials. Saltedge will allow you to connect with your bank account(s) using your online login credentials and will store them through a bank-level security system. Squad will never receive nor store User’s personal online login credentials and will receive from Saltedge only the information required to provide the service.
- Collected Data: Full name, Email, Mobile Phone Number, Date of Birth, Nationality, Country of Residence and Address, Bank Account and other Financial Details, as specified in Saltedge’s Privacy Policy..
- Place of processing: EU – Privacy Policy
- Mangopay. Mangopay is the Application Programming Interface (‘API’) provided by Mangopay SA to issue and manage the distribution of e-money (as defined by Directive 2009/110/EC ‘E-Money Directive’) directly to the User. Through Mangopay’s service, Squad, as an e-money distributor, offers a payment solution for all transactions made by Users within the App. The payment solution is based on the e-money issued by Mangopay upon the demand and for the accounts of Users. The e-money is stored in a Mangopay’s electronic wallet (‘e-wallet’) specifically opened by the User. Mangopay is an autonomous Data Controller as to the service it provides and by opening a Mangopay account Users agree to be bound by Mangopay’s Terms and Conditions
and Privacy Policy.
- Collected Data: Full name, Email, Mobile Phone Number, Date of Birth, Nationality, Country of Residence and Address, Bank Account and other Financial Details as specified in Mangopay’s Privacy Policy.
- Place of processing: Luxembourg – Privacy Policy
- Other uses of the Data collected
- The Data we collect from Users are also used for the following purposes:
- Analytics. The services described in this section allow the Data Controller to control and analyze traffic data. The services also allow the tracking of the User’s behavior.
- Fabric is an analytics service provided by Google, Inc. Data collected: different types of Personal Data, such as Usage Data, as specified in the Privacy Policy of Fabric. Place of processing: US – Privacy Policy
- Email and Contact Management. These services allow the managing of email contacts and other contacts used to communicate with the User. The services may also allow the collection of Data concerning the date and time of display of the message by the User.
- Twilio is an SMS management service provided by Twilio Inc, to authenticate your account. Data collected: Phone number. Place of processing: US – Privacy Policy
- Mailchimp is an email management and storage service provided by Mailchimp Inc. Data collected: Email. Place of processing: US – Privacy Policy
- Intercom is a communication platform developed by Intercom Inc. focused on the profiling of the Users. Place of processing: US – Privacy Policy
- Mode and Place of Processing the Data
- Security Measures
- Squad processes Users’ Personal Data in a proper manner and shall adopt appropriate security measures to prevent unauthorized access, disclosure, modification, or unauthorized destruction of the Data. Even where all precautions are adopted we cannot guarantee complete security in all events.
- The Data processing is carried out using computers and/or IT enabled tools, following organizational procedures and modes strictly related to the purposes indicated.
- Place of processing
- The Data is processed at the Data Controller's operating offices and where the Data Processor’s operating offices or other parties involved with the processing are located.
- Retention time
- The Data is kept strictly for the time necessary to provide the service requested by the User, or stated by the purposes outlined in this Privacy Policy.
- The User may always request that the Data Controller suspend or remove the Data.
- Data Transfer
- The User consents to the transfer of the collected Data through the Service in the event of rearrangement, merger, sale, joint venture, transfer or any other arrangement method of the whole or part of the Company, of its goods and shares.
- Legal Action
- You have the right, at any time, to know whether your Personal Data has been stored and may consult the Data Controller to learn about their contents and origin, to verify their accuracy or to ask for them to be supplemented, cancelled, updated or corrected, or for their transformation into anonymous format or to block any Data held in violation of the law, as well as to oppose their treatment for any and all legitimate reasons. Requests should be sent to the Data Controller at<EMAIL_ADDRESS>- Rights of Users
- You have the right, at any time, to know whether your Personal Data has been stored and may consult the Data Controller to learn about their contents and origin, to verify their accuracy or to ask for them to be supplemented, cancelled, updated or corrected, or for their transformation into anonymous format or to block any Data held in violation of the law, as well as to oppose their treatment for any and all legitimate reasons. Requests should be sent to the Data Controller at<EMAIL_ADDRESS>- Changes to the present Privacy Policy
- The Data Controller reserves the right to change this Privacy Policy at any time by giving notice to its Users through this page. It is recommended, therefore, to check this page often and refer to the latest update date at the bottom of the page. If a User objects to all or any of the changes to the Policy, you must cease using the App and may request that the Data Controller remove your Personal Data. Unless stated otherwise, the then-current Privacy Policy applies to all your Personal Data processed by the Data Controller at the time.
Definitions
Personal Data (or Data)
Any information regarding a natural person, which is, or may be, identified or identifiable, even indirectly, by reference to any other information, including a personal identification number.
Usage Data
Information collected automatically from this App (or Third Party services employed in this App), which may include: IP addresses or domain names of the computers used by the Users, URI addresses (Uniform Resource Identifier), time of the request, method of request submission to the server, size of the file received in response, numerical code indicating the status of the server's answer (successful outcome, error, etc.), Country of origin, features of the browser and the operating system utilized by the User, various time details per visit (e.g., time spent on each page within the App) and details about the process followed within the App, specifically the visited pages sequence and other parameters about the device operating system and/or the User's IT environment..
Data Controller (or Owner)
The natural person, legal person, public administration or any other body, association or organization, also jointly with another Data Controller, having the right to make decisions regarding the purposes and the methods of processing of Personal Data and the means used, including the security measures concerning the operation and use of this App. The Data Controller, unless otherwise specified, is the Owner of this App.
User
The individual using this App, which must coincide with or be authorized by the Data Subject, to whom the Personal Data refer.
Data Processor
The natural person, legal person, public administration or any other body, association or organization authorized by the Data Controller to process the Personal Data in compliance with this privacy policy.


--- title: Asset Stability --- {% extends 'component.njk' %} {% block content %} Legend Deprecated High Risk, Stop using, Will be removed In Progress Medium Risk, In Flux, Use with caution Stable Low Risk, Good to Go, Production Ready {% for key,val in data.stability %} {{key}} {% if val === 2 %} Stable {% elseif val === 1 %} In Progress {% else %} Deprecated {% endif %} {% endfor %} {% endblock %}


Elias gamma coding
问题描述 :
1. Let k be the number of bits of n
2. Write k-1 zeros followed by a 1
3. Write n in binary
Examples
Number Binary Number of bits Prefix Code
0 0 1 1 10
1 1 1 1 11
2 10 2 01 0110
3 11 2 01 0111
4 100 3 001 001100
5 101 3 001 001101
6 110 3 001 001110
7 111 3 001 001111
8 1000 4 0001 00011000
A sequence of integers is encoded by writing the codes of the individual integers of the sequence in the same order as the integers appear in the sequence. The prefix of k additional bits before the binary representation of each integer is needed to be able to decode the encoded integers. So when reading the encoding of a sequence of integers, if we read k-1 zeros followed by a one, it means that there are k bits following which are the binary representation of the next encoded integer.
If we want to shorten the length of the encoding of a sequence of integers, there may be still some room for improvement; we will consider the following two optimizations:
1. If there is a prefix which indicates that k bits are following, but there is no integer in the sequence with k bits, we can use this prefix to indicate that k+1 bits are following. If there already was a prefix which indicates that k+1 bits are following, this prefix is not needed anymore, and it can be used to indicate that k+2 bits are following, and so on.
2. We can add a leading zero to the binary representation of all integers in the sequence with k bits, which then become integers with k+1 bits, and then the first optimization can be used. This optimization seems especially useful if there are few integers with k bits, but many integers with more than k bits.
When we are minimizing the length of the encoding of a sequence of integers, we only care about how many integers in the sequence have a certain number of bits. Let ci denote the number of integers in a sequence with i bits.
Let us look at the following example: c1 = 2, c2 = 4, c3 = 0, c4 = 1 (which, for example, could correspond to a sequence 2, 1, 3, 8, 0, 2, 3). With the original elias gamma coding, the encoding of the sequence would have length 2 × (1 + 1) + 4 × (2 + 2) + 0 × (3 + 3) + 1 × (4 + 4) = 28. By using optimization 1 we can save 1 bit by using prefix 001 for the integer with 4 bits. Then, we could use optimization 2 and add leading zeros to the integers with 1 bit, making them use 2 bits. Then, we use optimization 1 and use prefix 1 for the integers with 2 bits, prefix 01 for the integer with 4 bits, and we get the new length of 6 × (1 + 2) + 1 × (2 + 4) = 24.
Both optimizations can possibly be used several times. Note that for the second optimization, it is not easy to decide when and how to use it. The goal is to combine these two optimizations in the best possible way, that means we want to find an encoding of a given sequence of integers that has minimum length among all encodings using elias gamma coding with any combination of these two optimizations.
输入:
输出:
样例输入:
4 2 4 0 1 5 9 4 2 4 3 11 44 56 96 26 73 80 77 50 33 16 78 0
样例输出:
24 99 5494HintThe first sample test case corresponds to the example given in the problem description.
http://acm.hit.edu.cn/hoj/problem/view?id=2989
二进制转换
#include <stdio.h> #include <math.h> #include <string.h> int main() { int k, i, j, d; int bin[32] = {0}; char str[4]; while (scanf("%d",&k) != EOF) { getchar(); for (i = 0; i < k; i++) { gets(str); if( strcmp(str, "- -") == 0 ) bin[i] = 1; else bin[i] = 0; } d = 0; for (j = k-1; j >= 0; j--) d += bin[j] * pow(2, k-1-j); printf("%d\n", d); } return 0; }
http://acm.hit.edu.cn/hoj/problem/view?id=3015
#include<stdio.h> int main() { int n, k, i, j; int tbin[24], bin[24]; while (scanf("%d %d", &n, &k) != EOF) { if ( (n == 0) && (k == 0) break; for (i = 0; i < 24; i++) { tbin[i] = n % 2; n = n / 2; } for (i = 0; i < 24; i++) { bin[i] = tbin[23-i]; } for (j = 24 - k; j < 24; j++) { if (bin[j] == 0) printf("---\n"); else printf("- -\n"); } printf("\n"); } return 0; }
解题参考：http://blog.csdn.net/epk_lee/article/details/8201626
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
小孩偷超市的东西报警，警察来了要么是和稀泥，要么是捞外快。。。
#include <cstdio>
int main() {
//answer must be odd
int n, u, d;
while(scanf("%d%d%d",&n,&u,&d)==3 && n>0) {
if(n<=u) { puts("1"); continue; }
n-=u; u-=d; n+=u-1; n/=u;
n<<=1, ++n;
printf("%dn",n);
}
return 0;
}
第一种方法怎么会是O(log(m+n))呢？没有二分的话直接遍历应该就是O(m+n)吧？
妈呀！这个模板好长OwQ！
这个问题别太纠结了，不同的编译器结果不一
多谢支持！
不错，感谢分享。
都是一些基础题啊
程序只能输出一个子序列
map[nodes .index][nodes .index] == 0 就是判断不相邻的。这个是可以证明的。
程序是错的吧，明显没有判断不和该节点相邻的其他节点是否相互相邻
已更正。
很好，解决了
,,,,,,,,,,,,,,,
好吧~


Hi,
I want to connect more than 6 DB18B20 sensors and I'm wondering if it is possible to connect 2 breakouts to my emontxV3.
And is it possible to (serial)print the unique ID of the DB18B20 sensors, so I can identify the sensors?
Archived Forum |
|
Multiple RJ45 to Terminal Block BreakoutSubmitted by Bart on Tue, 01/03/2016 - 16:53Hi, I want to connect more than 6 DB18B20 sensors and I'm wondering if it is possible to connect 2 breakouts to my emontxV3. And is it possible to (serial)print the unique ID of the DB18B20 sensors, so I can identify the sensors?
» |
Re: Multiple RJ45 to Terminal Block Breakout
I don't see a reason why you can't do both these things.
You'll need to connect the sensors one at a time to extract their serial numbers, the sketch to do it is in Building Blocks under DS18B20. That article also has a lot of information and links about the problems that you might encounter with multiple sensors.
Re: Multiple RJ45 to Terminal Block Breakout
Just increase max number of one wire sensors in the emonTx V3 default sketch
https://github.com/openenergymonitor/emonTxFirmware/blob/master/emonTxV3...
You will need to make corresponding change to emonhub node decoder in emonhub.conf.
See https://github.com/openenergymonitor/emonhub/blob/emon-pi/configuration.md
Re: Multiple RJ45 to Terminal Block Breakout
Thanks for the references.
@Robert and Glyn,
Till now I had no time to react, but thanks for your input (again)
I will connect a second terminal block with another cable to the second RJ45 port of the first block.
Unfortunately the links on the page https://openenergymonitor.org/emon/buildingblocks/DS18B20-temperature-sensing are dead. I'm especially interested in the temperature_search sketch, to adjust the discrete sampling sketch to serial print out the identifying numbers in sort of debug mode.
Re: Multiple RJ45 to Terminal Block Breakout
Not ALL the links on that page are broken, but it appears that the Shucksmith blog has disappeared. This is the danger of linking to third party sites. It would have been helpful if you had listed the links that you'd found broken. The sketch is in GitHub, but not in a very obvious place, and you need to change the line
#define ONE_WIRE_BUS 4
to
#define ONE_WIRE_BUS 5
for the emonTx V3
Re: Multiple RJ45 to Terminal Block Breakout
That's correct and it would indeed be better to give the exact links for updating the page and improve this platform.
The sensors are working now with 10 sensors on one terminal breakout (ugly solution), by changing the number of sensors. I thought that I could easily connect the two breakouts with an RJ45 in the second RJ45 port, but then it doesn't work anymore. Has something to do with parasite and normal mode?
Re: Multiple RJ45 to Terminal Block Breakout
What second RJ45 port? It's not very clear what you mean. You don't mean the Ethernet port, do you?
Re: Multiple RJ45 to Terminal Block Breakout
I meant that a RJ45 to Terminal Block Breakout for DS18B20 has two RJ45 ports. Is there a difference between them? That it isn't possible to connect the second terminal block?
The exact question is, how should I connect more than 6 sensors properly?
Re: Multiple RJ45 to Terminal Block Breakout
Without checking what you have, I can't answer that. There is much information about connecting one-wire sensors on the Maxim website (there's a link to the app. note on that Resources page). What it boils down to is if they are connected in "star" (i.e. each sensor is cabled back separately to the 'controller' (in this case your Pi), or there are branches in the cabling, then the signal from one can hit the controller and at the same time travel up all the other cables, get reflected back at the end, and you end up with a jumble of delayed reflected signals confusing everything. The preferred method according to Maxim is to 'daisy-chain' the sensors along one cable.
Re: Multiple RJ45 to Terminal Block Breakout
My setup is:
EmontxV3 with discrete sampling sketch, with 4 CT's and 10 DB18B20 encapsulated temperature sensors.
I use the terminal block which is selled by OEM(see attachment). Sheepwalk electronics says about the wiring the follows:
"The 1-Wire network is designed to work as a bus, rather than a star. This means you should design your network so that the sensor devices are connected in one long line starting at the master and not so that there are several cables from the master heading out to sensors in all directions. Most of our modules feature a pair of RJ45 sockets to allow you to easily connect your sensors in a bus topology using standard ethernet cables."
If the breakout was only meant for using it in star, the second RJ45 port would be useless, isn't it?
So what you are saying is, that the second breakout causes a sort of up traveling data that interferes the whole setup. I could test this by first chaining an empty breakout without sensors connected and via this breakout connect my second breakout with the sensors?
I'm trying to understand, so probably some questions are weird.
Re: Multiple RJ45 to Terminal Block Breakout
I recommend that you read the Maxim app. note. It is explained there far better and in greater detail than I can, unless I copy that note of course, which would be plagiarism.
Re: Multiple RJ45 to Terminal Block Breakout
I had contact with Sheepwalk electronics, and they confirmed that the second RJ45 socket is for daisy chain multiple terminal blocks. I redesigned the lay-out of my network, regarding to the guidelines for reliable network and now it is working :-). I think that I first connected the wrong way or the network was to large for the Emontx.
For those who want to use the same setup. I used:
- 1 SWE2B, with 6 encapsulated DB18B20 sensors. Extended length to 5 x 3,8m and 1 of 5,5 m
- 1 SWE2B, with 4 encapsulated DB18B20 sensors with the standard length of 1m.
- Connected Emontx with first SWE2B by a 2m cat5E UTP cable and the same for the first SWE2B with the second SWE2B.
I also tested a 12 m cable instead of the 2m cat5E UTP as mentioned above, but then it didn't work anymore.
I bought a simple case (Aliexpress) and adjusted it to fit the SWE2B. See the attachment therefore.
@Robert, thanks for thinking along!


Mugshot is a web service which provides simple face-detection in images. It is an experiment making use of libface and node.js. A simple API allows clients to upload or provide a URL for an image file. Mugshot will detect faces and provide co-ordinates or allow a browser-based view highlighting the faces.
Mugshot is an experiment. It was inspired by OpenKeyVal. It does not provide a permanent image hosting service like Flickr or Picasa. It is liable to go down or be shut off at any point. Do not expect that your images will be around for-ever or that they are privacy protected. So please make sure you think twice before trying it on an image.
Mugshot is created by Nikhil Marathe using a thin V8 binding he has written to libface. All code is open source and available on GitHub. Contact<EMAIL_ADDRESS>Mugshot allows either file uploads or providing a URL to a remote image file. API access is of course langauge and platform specific. cURL examples are provided.
Images are restricted to a maximum of 5Mb in size. They will also be deleted whenever disk space is low in order of least recently uploaded.
All replies are formatted as JSON literals.
The status
attribute will be either "success"
or
"error"
.
If "success"
, the reply will be:
{ "status": "success", "id": "<id>", "image_url": "http://mugshotapp.com:8080/image/<unique_image_file>", "share_url": "http://mugshotapp.com:8080/view/<id>", "faces": [{ "x": 5, "y": 5, "width": 30, "height": 30 }, ...] }
image_url
provides the image directly, while
share_url
has JavaScript and CSS which highlights the faces and
is a good way to view in the browser.
faces
is an array of objects, each having
the co-ordinates of one face. It may be empty, if no faces
are detected. In case of an error:
{ "status": "error", "message": "error message" }
In addition, the HTTP status code will depend on the result.
Make a POST request to http://mugshotapp.com:8080/file with the request body being the image data.
curl http://mugshotapp.com:8080/file --data-binary @/path/to/image/file.ext
Make a POST request to http://mugshotapp.com:8080/url with the request body being the URL where the image can be found.
curl http://mugshotapp.com:8080/url --data "http://url/toimage"
Swair Shah and Aditya Bhatt for pointing out edge case bugs.


Routing configuration section enables you to set up URL routes that will to be ensure that the paths of your choosing get handled by the Controller
and Action
of your choosing.
In addition to any routes you setup in the project configuration, Sage will automatically create the following routes each time a project initializes:
(empty string)
-
Matches empty path (root of the website, for example). Handled by
GenericController
{*anything}
-
Matches any string. Handled by
GenericController
These two routes ensure that all requests get handled by the GenericController
. These routes have the lowest priority; if there is another, more specific route matching the current request path, it will take precedence instead of the GenericController
route.
If the request hits the GenericController
, before deciding what to do with the request this controller examines the request path and checks to see if there is a view file that matches it. For instance, for URL http://www.mysite.com/chewing/selection
, assuming that the application root is /
, the request path is:
chewing/selection
This path is split on the first slash, and the two variables that are produced are:
controller=chewing
action=selection
The GenericController
will then look in the view path as configured with the paths/View element, for a folder named chewing
(the controller variable from the example above), and in there for a file named selection.(html|xml|xsl|xslt)
(the action variable). If a matching file with either of these extensions exists in the matching directory, the GenericController
will open it and process it accordingly.
^\d+$
specifies that the parameter should consist of digits only.
category
is empty, it will default to all-categories
.


encguess - guess character encodings of files
$Id: encguess,v 0.2 2016/08/04 03:15:58 dankogai Exp $
encguess [switches] filename...
- -h
- show this message and exit.
- -s
- specify a list of "suspect encoding types" to test, seperated by
either ":" or
","
- -S
- output a list of all acceptable encoding types that can be used with the
-s param
- -u
- suppress display of unidentified types
- Guess encoding of a file named
"test.txt", using only the default
suspect types.
encguess test.txt
- Guess the encoding type of a file named
"test.txt", using the suspect types
"euc-jp,shiftjis,7bit-jis".
encguess -s euc-jp,shiftjis,7bit-jis test.txt
encguess -s euc-jp:shiftjis:7bit-jis test.txt
- Guess the encoding type of several files, do not display results for
unidentified files.
encguess -us euc-jp,shiftjis,7bit-jis test*.txt
The encoding identification is done by checking one encoding type at a time
until all but the right type are eliminated. The set of encoding types to try
is defined by the -s parameter and defaults to ascii, utf8 and UTF-16/32 with
BOM. This can be overridden by passing one or more encoding types via the -s
parameter. If you need to pass in multiple suspect encoding types, use a
quoted string with the a space separating each value.
Encode::Guess, Encode::Detect
Copyright 2015 Michael LaGrasta and Dan Kogai.
This program is free software; you can redistribute it and/or
modify it under the terms of the the Artistic License (2.0). You may obtain
a copy of the full license at:
<http://www.perlfoundation.org/artistic_license_2_0>


|
MiniBot
2019/2020
|
The Subsystem in control of the robot's drivebase. More...
Public Member Functions | |
| DriveTrain () | |
| void | arcadeDrive (double speed, double rotation) |
| The standard wrapper around WPIlib's joystick-based drive function. More... | |
| void | raiderDrive (double speed, double rotation) |
| Drive the robot with artificial acceleration and gear shifting. More... | |
| void | arcadeDrive (double speed, double rotation, boolean is_inputs_squared) |
| The standard wrapper around WPIlib's joystick-based drive function with optional input scaling. More... | |
| void | cheesyDrive (double speed, double rotation, boolean is_quick_turn) |
| Wrapper around 254's drive interface. More... | |
| void | tankDrive (double l, double r) |
| A passthrough to WPILib's TankDrive method. More... | |
| void | setBrakes (boolean on) |
| Enables or disables brake mode on all drivebase talons. More... | |
| int | getLeftGearboxTicks () |
| Get the number of ticks recorded by the left GearBox's encoder. More... | |
| int | getRightGearboxTicks () |
| Get the number of ticks recorded by the right GearBox's encoder. More... | |
| void | outputTelemetry () |
| Sends Subsystem telemetry data to SmartDashboard. More... | |
| TankTrajectory | getProfile (String filename, boolean swap_paths, boolean invert_gyro, boolean invert_path) |
| Use DriveTrain components to load a pre-generated motiont profile. More... | |
| AHRS | getGyro () |
| Get the robot's gyro. More... | |
| void | reset () |
| Called by wrappers and the SubsystemLooper. More... | |
| void | stop () |
| Called by wrappers and the SubsystemLooper. More... | |
| boolean | checkHealth () |
| Used by the StatusReporter to keep track of the robot's health. More... | |
| Public Member Functions inherited from frc.common.loopables.LoopableSubsystem | |
| void | periodicInput () |
| void | periodicOutput () |
| abstract void | outputTelemetry () |
| abstract void | stop () |
| abstract void | reset () |
| abstract boolean | checkHealth () |
Static Public Member Functions | |
| static DriveTrain | getInstance () |
| Get the current instance of this class. More... | |
Protected Attributes | |
| boolean | is_moving |
| Protected Attributes inherited from frc.common.loopables.LoopableSubsystem | |
| RobotLogger | logger = RobotLogger.getInstance() |
Private Attributes | |
| final RobotLogger | logger = RobotLogger.getInstance() |
Static Private Attributes | |
| static DriveTrain | instance = null |
Additional Inherited Members | |
| Public Attributes inherited from frc.common.loopables.LoopableSubsystem | |
| String | name = "Unnamed Subsystem" |
| double | last_timestamp |
The Subsystem in control of the robot's drivebase.
Although this is a LoopableSubsystem, we are not using it's buffering features for now.
Definition at line 26 of file DriveTrain.java.
| frc.robot.subsystems.DriveTrain.DriveTrain | ( | ) |
Definition at line 42 of file DriveTrain.java.
| void frc.robot.subsystems.DriveTrain.arcadeDrive | ( | double | speed, |
| double | rotation | ||
| ) |
The standard wrapper around WPIlib's joystick-based drive function.
| speed | Forward speed (from -1.0 to 1.0) |
| rotation | Rotation of robot (from -1.0 to 1.0) |
Definition at line 93 of file DriveTrain.java.
| void frc.robot.subsystems.DriveTrain.arcadeDrive | ( | double | speed, |
| double | rotation, | ||
| boolean | is_inputs_squared | ||
| ) |
The standard wrapper around WPIlib's joystick-based drive function with optional input scaling.
| speed | Forward speed (from -1.0 to 1.0) |
| rotation | Rotation of robot (from -1.0 to 1.0) |
| is_inputs_squared | Should WPIlib try to scale the inputs |
Definition at line 125 of file DriveTrain.java.
| boolean frc.robot.subsystems.DriveTrain.checkHealth | ( | ) |
Used by the StatusReporter to keep track of the robot's health.
Some subsystems may use sensor data to feed this (think elevator that passed it's safety limits)
Definition at line 261 of file DriveTrain.java.
| void frc.robot.subsystems.DriveTrain.cheesyDrive | ( | double | speed, |
| double | rotation, | ||
| boolean | is_quick_turn | ||
| ) |
Wrapper around 254's drive interface.
The "turning" stick controls the curvature of the robot's path rather than its rate of heading change. This helps make the robot more controllable at high speeds. Also handles the robot's quick turn functionality - "quick turn" overrides constant-curvature turning for turn-in-place maneuvers.
| speed | Forward speed (from -1.0 to 1.0) |
| rotation | Rotation of robot (from -1.0 to 1.0) |
| is_quick_turn | Is quick turn functionality enabled? |
Definition at line 144 of file DriveTrain.java.
| AHRS frc.robot.subsystems.DriveTrain.getGyro | ( | ) |
Get the robot's gyro.
Definition at line 226 of file DriveTrain.java.
|
static |
Get the current instance of this class.
Definition at line 79 of file DriveTrain.java.
| int frc.robot.subsystems.DriveTrain.getLeftGearboxTicks | ( | ) |
Get the number of ticks recorded by the left GearBox's encoder.
Definition at line 184 of file DriveTrain.java.
| TankTrajectory frc.robot.subsystems.DriveTrain.getProfile | ( | String | filename, |
| boolean | swap_paths, | ||
| boolean | invert_gyro, | ||
| boolean | invert_path | ||
| ) |
Use DriveTrain components to load a pre-generated motiont profile.
| filename | Motion profile filename / path |
| swap_paths | Should left and right be swapped? |
| invert_gyro | Is the gyro backwards? |
| invert_path | Should this path be loaded in inverse mode? |
Definition at line 215 of file DriveTrain.java.
| int frc.robot.subsystems.DriveTrain.getRightGearboxTicks | ( | ) |
Get the number of ticks recorded by the right GearBox's encoder.
Definition at line 193 of file DriveTrain.java.
| void frc.robot.subsystems.DriveTrain.outputTelemetry | ( | ) |
Sends Subsystem telemetry data to SmartDashboard.
Definition at line 200 of file DriveTrain.java.
| void frc.robot.subsystems.DriveTrain.raiderDrive | ( | double | speed, |
| double | rotation | ||
| ) |
Drive the robot with artificial acceleration and gear shifting.
| speed | Forward speed (from -1.0 to 1.0) |
| rotation | Rotation of robot (from -1.0 to 1.0) |
Definition at line 106 of file DriveTrain.java.
| void frc.robot.subsystems.DriveTrain.reset | ( | ) |
Called by wrappers and the SubsystemLooper.
This should reset the DriveTrain so that it was essentially re-constructed
Definition at line 235 of file DriveTrain.java.
| void frc.robot.subsystems.DriveTrain.setBrakes | ( | boolean | on | ) |
Enables or disables brake mode on all drivebase talons.
| on | Should the brakes be enabled? |
Definition at line 167 of file DriveTrain.java.
| void frc.robot.subsystems.DriveTrain.stop | ( | ) |
Called by wrappers and the SubsystemLooper.
This should be treated like a failsafe.
Definition at line 250 of file DriveTrain.java.
| void frc.robot.subsystems.DriveTrain.tankDrive | ( | double | l, |
| double | r | ||
| ) |
A passthrough to WPILib's TankDrive method.
| l | Left speed |
| r | Right speed |
Definition at line 156 of file DriveTrain.java.
|
staticprivate |
Definition at line 27 of file DriveTrain.java.
|
protected |
Definition at line 40 of file DriveTrain.java.
|
private |
Definition at line 29 of file DriveTrain.java.


About Me
Felipe Fernández
- Work as Software Craftsman for Codurance
- Blog: http://codurance.com/blog/author/felipe-fern%C3%A1ndez
- Twitter: @felipefzdz
About the talk
A story about different solutions around state,
driven by increasing scalability needs.
Disclaimer
Talk based on:
- "Making sense of stream processing"
by Martin Kleppman
- "I heart logs" by Jay Kreps
- "Jepsen" by Aphyr
- My professional experience :)
1
State in a
monolith database
1. State in a monolith database
God database
1. State in a monolith database
God database
- Database as a single source of truth
- Table as original data
- Materialised views, secondary indexes, replicas
1. State in a monolith database
Materialised Views
1. State in a monolith database
Replication
1. State in a monolith database
Secondary indexes
1. State in a monolith database
Replicated log
- Database holds ACID properties for you
2. Data stores explosion
Best tool for the job
2. Data stores explosion
Best tool for the job
- Now we need to care about synchronisation
- Network is evil: drops, delays, reorder, duplication
3. ACID properties
ACID properties
3. ACID properties
Atomicity
3. ACID properties
Isolation
3. ACID properties
Durability
3. ACID properties
Consistency
4
Data stores
integration
4. Data stores integration
Point to point integration
4. Data stores integration
Point to point integration
- Stored procedures and triggers are hard to mantain
- Data store interfaces are usually not general
- Datastax, Cloudera: integral solutions
4. Data stores integration
Datastax Enterprise
5. Dual Writes
Do-it-yourself synchronisation
- Atomicity: crash recovery
- Isolation: race conditions
- Consistency: eventual consistency
- Durability: network partitions
6. The log
Kafka to the rescue
6. The log
Kafka to the rescue
6. The log
Log guarantees
- Offsets to achieve atomicity
- Order to achieve isolation
- History to replay consistency
- Replication to achieve durability
6. The log
Order / Isolation
6. The log
Offsets / Atomicity
6. The log
History / Consistency
6. The log
Replication / Durability
6. The log
State in scalable architectures
- Log as buffer. No need of back pressure, massive scalability
- Data Stores and Processors are uncoupled
7. Conclusion
Turning the database inside out
7. Conclusion
Turning the database inside out


--- layout: default title: "Team" permalink: "/team" ---
Here are all of the awesome people that make Teach LA happen! We're UCLA students who have dedicated themselves to empowering students through computer science.
Our directors, school leads, and curriculum leads. Feel free to reach out to any of our board for more information about what we do!
{% assign president = site.team | where_exp:"person", "person.group contains 'general board' and person.title == 'President'" | group_by:"title" %} {% assign vpres = site.team | where_exp: "person", "person.group contains 'general board' and person.title == 'Vice President'" | group_by:"title" %} {% assign genBoard = site.team | where_exp:"item", "item.group contains 'general board' and item.title != 'President' and item.title != 'Vice President'" | sort:"name" | group_by:"title" | sort:"name" %} {% assign genLeadership = president | concat: vpres | concat: genBoard %} {% assign devPresident = site.team | where_exp:"person", "person.group contains 'dev board' and person.title == 'Dev Team President'" | group_by:"title" %} {% assign devVicePresident = site.team | where_exp:"person", "person.group contains 'dev board' and person.title == 'Dev Team Vice President'" | group_by:"title" %} {% assign devBoard = site.team | where_exp:"person", "person.group contains 'dev board' and person.title != 'Dev Team President' and person.title != 'Dev Team Vice President'" | sort:"name" | group_by:"title" | sort:"name" %} {% assign devLeadership = devPresident | concat: devVicePresident | concat: devBoard %} {% assign members = site.team | where_exp:"item", "item.group == 'member'" | sort:"name" %} {% assign boards = site.team | where_exp:"item", "item.positions" | sort:"name" %} {% assign alumsplus = site.team | where_exp:"item", "item.group == 'alum+'" | sort:"name" | group_by:"graduating_year" | sort:"name" %}{{ member.title }} {% if member.secondary %} & {{ member.secondary }} {% endif %} {% if member.third %} & {{ member.third }} {% endif %}
Our dev consists of our team, training, learning lab, editor, design, and static site directors. Feel free to reach out to any of our board for more information about what we do!
{{ member.title }} {% if member.secondary %} & {{ member.secondary }} {% endif %} {% if member.third %} & {{ member.third }} {% endif %}
Our team of instructors and developers teach in person at schools all throughout the Los Angeles Unified School District while developing new, interactive ways of making an education in computer science possible for everyone. Want to join our team? Find out more about how you can join us on our join us page!
{{ member.title }} {% if member.secondary %} & {{ member.secondary }} {% endif %}
Rome wasn't built in a day, and neither was Teach LA! Many thanks to our previous boards for steering our organization in the right direction.
{% assign foundingYear = "2016" %} {% assign currentYear = site.time | date: '%Y' | minus: 1 %} {% for year in (foundingYear..currentYear) %} {% assign nextYear = year | plus: 1 %} {% assign boardYear = year | append:'-' | append: nextYear %}Teach LA honors its alumni who have stayed with the organization through graduation.


Overview
Sushi Joint Rumble was the name of my final project in the Game Development program at Algonquin College. It was a group project, starting with 7 people but eventually shrinking down to 5. For 3 semesters, up to 50% of my individual mark depended on how well we performed as a group. My role in the group was as lead coder. My time was split between coding features myself and discussing and planning how other coders would take care of their tasks.
Documentation and good tech design were very important to the coders being able to smoothly collaborate on the project. New features were always created in their own branches, and only once the feature was complete would it be integrated into the trunk. Every source code file had a change log, and especially complex functions had change logs as well.
We tried to reduce type dependency as much as possible by instead depending on interfaces to connect the various game systems. For example, I remember we needed to write multiple, interdependent systems at the same time. A loot generator, and the AI manager. The loot generator created pickups for the player when an enemy died. It required AI manager information as input. The AI manager required loot information when generating AIs to determine AI stat values. We defined the interfaces between the two systems, then created branches and tackled them separately, as individual features. Once they were finished, snapping them together was fairly trivial.
The team was split into three roles: programmers, designers, artists. For the first 2 semesters, these were pretty loose. People bounced around quite a bit, picking up an art task here and a coding task there. By the end of it, we had specialized quite a bit. With the pressure of graduation looming, it made more sense to stick with what you were fastest at.
[More + video soon]


News story
The Queen’s Birthday Honours list recognises 109 people for contributions to education, children's services, equality and diversity.
The Birthday Honours list published on Friday 10 June 2016 recognises over 100 people for their service to education, children’s services and those who have made a difference to equality and diversity. The list includes headteachers and school teachers, school governors, foster carers, children’s social workers, and people working in adoption and in early years settings.
Jonathan Slater, Department for Education Permanent Secretary, said:
Congratulations to the award winners in The Queen’s Birthday Honours list. Their outstanding contributions are improving the lives of children and young people through excellent care and education, and promoting LGBT and women’s equality as well as diversity more widely.
If you know someone working in education or children’s services or making a significant impact in advancing equality for women and the LGB&T community who deserves an honour, please contact us at<EMAIL_ADDRESS>.
Looking for the latest Honours recipients? See the 2016 Birthday Honours list
| Award | Name | Short citation |
|---|---|---|
| Kt / DBE | Alice Hudson | Executive Headteacher, Twyford Church of England Academies Trust. For services to education |
| Kt / DBE | Christine Lenehan | Director, Council for Disabled Children, London. For services to children and young people |
| Kt / DBE | Paul Marshall | Chairman, Ark Schools and Lead Non-Executive Board Member for the Department for Education. For services to education and philanthropy |
| Kt / DBE | Benita Refson | President, Place2Be. For services to education |
| Award | Name | Short citation |
|---|---|---|
| CBE | Colin Diamond | Executive Director of Education, Birmingham city council. For services to education |
| CBE | Elizabeth Horne | CEO , Horizons Specialist Academies Trust, Stockton. For services to education |
| CBE | Eleanor Schooling | Lately Director of Children’s Services, London borough of Islington. For service to children and families |
| CBE | Tony Sewell | Founder, Generating Genius and Member of the London Schools Excellence Fund Expert Advisory Group. For services to education |
| CBE | John Stephens | Deputy Director, Teaching Schools and School Improvement, National College for Teaching and Leadership. For services to the Department for Education and voluntary service in Manchester |
| CBE | Malcolm Trobe | Interim General Secretary, The Associaton of School and College Leaders. For services to education |
| CBE | Patricia Walters | Lately Headteacher, Holte Visual and Performing Arts College. For services to education |
| CBE | Janet Woods | Director of Secondary Academies (North), United Learning Trust. For services to education |
| Award | Name | Short citation |
|---|---|---|
| OBE | Julian Appleyard | Principal, Rochdale Sixth Form College, Lancashire. For services to education |
| OBE | Alison Boulton | Lately Chief Executive, Association of National Specialist Colleges. For services to education |
| OBE | Kevin Boyle | Headteacher, Oaklands School, Winsford, Cheshire, and Branch Secretary, NAHT Cheshire. For services to education |
| OBE | Andrew Brown | Headteacher, West View Primary School, Hartlepool. For services to education |
| OBE | Andrew Burns | Executive Principal, The Redhill Academy Trust, Nottinghamshire. For services to education |
| OBE | Nicola Clemo | Lately Social Worker and Service Director for Children’s Social Care, Cambridgeshire county council. For services to children |
| OBE | Simon Dean | Founder and Chief Executive Officer, Challenger Troop, Community Impact Category. For services to education |
| OBE | Shaista Gohir | Trustee and Chair, Muslim Women’s Network UK . For services to gender equality and women’s rights |
| OBE | Pauline Hagen | Principal, North East Wakefield College, Pontefract. For services to education |
| OBE | Richard Hill | Lately Headteacher of Colnbrook Special School, Hertfordshire. For services to education |
| OBE | Estelle Macdonald | CEO , Hull Collaborative Academy Trust and CEO , Hull Collaborative Teaching School Alliance, and Head of Collingwood Primary School, Hull. For services to education |
| OBE | Debbie Rogan | Executive Headteacher, The Wickford CofE Infant School and CEO of HEARTs Multi-Academy Trust, Essex. For services to education |
|
| Award | Name | Short citation | |
|---|---|---|---|
| MBE | Michael Allured | Policy Adviser, Children in Care, Children’s Services and Departmental Strategy Directorate. For services to the Department for Education and to charity | |
| MBE | Elly Barnes | Founder and Chief Executive, Educate and Celebrate. For services to equality and diversity | |
| MBE | Margaret Bersey | Social Worker and Team Manager, Plymouth city council. For services to children and families | |
| MBE | Adrian Bowater | Member, Academies Finance and Assurance Steering Group, Education Funding Agency and Director of Finance, Walsall Academy. For services to education | |
| MBE | Robin Buckland | Founder, The Childrens Holiday Foundation charity, North Devon. For services to children | |
| MBE | Andrew Child | Chair of Governors, High Storrs School, Sheffield. For services to education | |
| MBE | Peter Chisholm | Deputy Headteacher, Warden Park School, Cuckfield. For services to education and charity fundraising and sport for young people | |
| MBE | Taiyabur Rahman Chowdhury | Lately, Adoption Social Worker, Bradford city council. For services to children and families | |
| MBE | Rosemary Cleave | Fundraiser and Chair, Huddersfield branch, NSPCC . For services to children | |
| MBE | Deloris Collett | Foster Carer, Birmingham city council and Chair, Birmingham Foster Care Association. For services to children and families | |
| MBE | John Cornally | Executive Headteacher, Blessed Thomas Holford Catholic College, Altrincham, Cheshire. For services to education | |
| MBE | Marion Cornick | Founder, The Loddon School, Sherfield-on-Loddon, Hampshire. For services to education | |
| MBE | Irene Cullen | Foster Carer, Newcastle city council. For services to children and families | |
| MBE | Michael Cullen | Foster Carer, Newcastle city council. For services to children and families | |
| MBE | Lorraine Dooley | Co-founder and Manager, The Tower Hamlets Opportunity Group. For services to children | |
| MBE | Bernadette Dornan | Lately Independent Reviewing Officer, Birmingham city council. For services to children and families | |
| MBE | Susan Dwyer | Lately Manager, Wellington Avenue Methodist Friendship Centre, Picton, Liverpool. For services to children and families | |
| MBE | Sally Evans | Co-founder, Trinity Specialist College, Birmingham. For services to education | |
| MBE | Esther Fletcher | Chair, West and Chester Branch, National Autistic Society. For services to education | |
| MBE | Alison Gilligan | Adopter for Plymouth city council, Devon. For services to children | |
| MBE | Thomas Gilligan | Adopter for Plymouth city council, Devon. For services to children | |
| MBE | Frederica Griffin | Head of Care of Residential Provision, Horizons Specialist Academy, Thornaby, Stockton on Tees. For services to education and young people with complex learning needs | |
| MBE | Simon Griffiths | Headteacher, Lindens Primary School, Streetly, West Midlands. For services to education | |
| MBE | Iffat Hameed | Teacher, King Edward VII School, Sheffield. For services to education and the community in Sheffield | |
| MBE | Anne Harvey | Social Worker, Approved Mental Health Practitioner and Children’s Social Care Service Manager, Sefton Metropolitan borough council. For services to children and families | |
| MBE | Diana Hasting | Trustee, Parents and Children Together charity. For services to children and families | |
| MBE | Ishbel Herd | Music Teacher and Community Volunteer. For services to education and young people | |
| MBE | Alan Jerome | Lately Life President, Bradford Grammar School and lately Vice Chair of Corporation, Bradford College. For services to education and the community in Bradford | |
| MBE | Marion Kirkham | Lately Volunteer, North West of England. For voluntary services to children and young people in the North West of England | |
| MBE | Marian Lee | Teacher, Gordon Primary School, Thamesmead, Greenwich. For services to education | |
| MBE | Robert MacPherson | Children in Care Division, Children’s Services, Equalities and Communications Directorate. For services to the Department for Education | |
| MBE | Margaret Malpas | Joint Chair, The British Dyslexia Association. For services to education | |
| MBE | Jane McConnell | Lately Chief Executive, Independent Parental Special Education Advice, Essex. For services to education | |
| MBE | Valerie McGregor | Education Advisor for Academies and Free Schools, Department for Education. For services to education | |
| MBE | Rachel Medill | Founder and CEO , Ride High Charity. For services to young people | |
| MBE | Matthew Miller | National Leader of Governance and Chair of Governors, Highlands School, Enfield. For services to education | |
| MBE | Andrew Morris | Teacher, Westcroft Sports and Applied Learning College and Founder, Timken Vocational Training Centre and Sunbeam Enterprises. For services to special education | |
| MBE | Lara Newman | Property Adviser on Free Schools, Education Funding Agency. For services to education | |
| MBE | Elaine Nicholson | Founder and Chief Executive Officer, Action for Asperger’s, Northamptonshire. For services to education and Asperger’s awareness | |
| MBE | Ann Noble | Lately Head of Tydeman Centre, The Malling School, Kent. For services to education | |
| MBE | Susan North | Lately Director of Operations, The National Parent Carer Participation Programme, Contact a Family, West Midlands. For services to children and families | |
| MBE | Sally Obertell | Director of Marketing, Relationships and Communications, John Ruskin College, South Croydon. For services to education | |
| MBE | Lin O’Brien | Chief Executive of Hertfordshire Catering Limited, Hertfordshire county council. For services to education | |
| MBE | Emma O’Connor | Foster Carer, Sunderland city council. For services to children and families | |
| MBE | Tommy O’Connor | Foster Carer, Sunderland city council. For services to children and families | |
| MBE | Jane Owens | Chair of Governors, Weatherhead High School, Wirral. For services to education | |
| MBE | John Palczynski | Foster Carer, Guildford city council. For services to children and families | |
| MBE | Wendy Palczynski | Foster Carer, Guildford city council. For services to children and families | |
| MBE | Robert Palmer | Chair of Governors, St Mary’s CE Primary School, Manchester. For services to education | |
| MBE | Geraldine Parris | Founder and Trustee, The Children with Special Educational Needs Foundation Charity. For services to children | |
| MBE | Angela Peters | Chair, Kingswood NSPCC Voluntary Committee and Chair, South East Surrey NSPCC Voluntary Committee. For services to children | |
| MBE | Simon Potter | For services to education in Wimbledon | |
| MBE | Verita Reynolds | Assistant Headteacher and Special Educational Needs co-ordinator, Codsall Community High School, Staffordshire. For services to education | |
| MBE | Margaret Rooms | Head of Units of Sound Development, Dyslexia Action. For services to education | |
| MBE | Carol Smallworth | Foster Carer, Achieving for Children, Kingston and Richmond. For services to children and families | |
| MBE | Raymond Smallworth | Foster Carer, Achieving for Children, Kingston and Richmond. For services to children and families | |
| MBE | Jackie Smith | Executive Headteacher, Upland Special School, Swindon, Wiltshire. For services to education | |
| MBE | Audrey Sutcliffe | Health and Wellbeing co-ordinator, Outwood Academy, Acklam. For services to education | |
| MBE | Matthew Toresen | Community Development Officer, Voluntary Impact, Northants. For services to LGBT equality | |
| MBE | Jean Wilson | Founder, New Hope Charity, Worcestershire. For services to children | |
| MBE | Lorelly Wilson | Originator, Chemistry with Cabbage Programme. For services to education | |
| MBE | Ariana Yakas | Chair of Governors, Kingsway Community Trust, Greater Manchester. For services to education | |
| MBE | Jen Yockney | For services to the bisexual community |
| Award | Name | Short citation |
|---|---|---|
| BEM | Pamela Baxter | Volunteer, Pre-school Learning Alliance. For services to children |
| BEM | Paul Bowen-James | Founder and CEO , Kids in Action Charity, Bedfordshire. For services to children and young people |
| BEM | Myra Brodie | School Crossing Patrol, Market Harborough. For services to education |
| BEM | Diana Burdett | School Secretary, The Grove Infant and Nursery School, Harpenden. For services to education |
| BEM | Arthur Cross | Trustee, Charnwood Trust. For services to children and families in Stockport |
| BEM | Anthony Elvin | Teaching Assistant, Archbishop Sentamu Academy, Hull. For services to education |
| BEM | Christine Emery | Volunteer, Professional Association for Childcare and Early Years ( PACEY ). For services to children |
| BEM | Jackie Granger Brown | Chair, Altrincham Fundraising Committee, The Children’s Society, Cheshire. For services to children |
| BEM | Maria Heywood | Vice Chairman of Governors, Abbey Gate College, Chester. For services to education |
| BEM | Jean Johnson | Volunteer, Belmont Cheveley Park Primary School, Durham. For services to education |
| BEM | Joyce Meynell | Foster Carer, Newcastle city council. For services to children and families |
| BEM | Kevin Metcalfe | Operations Manager, Joint Activities and Motor Education Service. For services to education |
| BEM | Shaminder Singh Rai | Chief of Operations, Nishkam High School, Birmingham. For services to education |
| BEM | Elsie Rigby | Lay Person, Bolton Safeguarding Children Board and Governor, Grosvenor Day Nursery, Bolton. For services to children and families |
| BEM | Joana Smith | Childminder and Volunteer Facilitator, Professional Association for Childcare and Early Years. For services to children |
| BEM | Michael Son | Committee Member, The London Taxi Drivers Fund for Underprivileged Children, London. For charitable services to children |
| BEM | Anne Staniforth | Lately Foster Carer, Nottinghamshire county council. For services to children and families |
| BEM | James Staniforth | Lately Foster Carer, Nottinghamshire county council. For services to children and families |
| BEM | John Wallace | Governor, The Latimer Primary School, Leicestershire. For services to education |
| BEM | Josephine Watts | Director and Chair of Community Fundraising and Networking Panel, Home-Start West Somerset. For services to children and families |
| BEM | Penelope Webb | Early Years Volunteer, Worcestershire. For services to children |
| BEM | Paul Yeates | Lately Chair of Governors and Volunteer at Lingfield Notre Dame school. For services to education |


libskarnet
skalibs
Software
skarnet.org
libunixonacid provides higher-level interfaces to Unix concepts such as the filesystem - for instance, it provides a way to access several files atomically, be it for reading or for writing - or interprocess communication.
The skalibs/unixonacid.h header is actually a concatenation of other headers, every one of each declaring related structures, macros and functions.


ColorPicker With Navigation
KeyBoard Support
Alt+J
Focus the Control
Enter
Open or Close the Popup / Choose the current color
Esc
close the popup
Color Picker
Tab
choose the next element
Down
Decrease the brightness
Up
Increase the brightness
Left
Decrease the staturation
Right
Increase the staturation
Color Palette
Down
Move to downwards cell
Up
Move to upwards cell
Left
Move to previous cell
Right
Move to next cell
Slider Only
Home
Downwards to value 0
End
Upwards to value 100


◆ __init__()
| def chip.ChipBluezMgr.BluezDbusDevice.__init__ |
( |
|
self, |
|
|
|
bluez_obj, |
|
|
|
bluez, |
|
|
|
bus, |
|
|
|
logger = None |
|
) |
| |
◆ __del__()
| def chip.ChipBluezMgr.BluezDbusDevice.__del__ |
( |
|
self | ) |
|
◆ Adapter()
| def chip.ChipBluezMgr.BluezDbusDevice.Adapter |
( |
|
self | ) |
|
◆ Address()
| def chip.ChipBluezMgr.BluezDbusDevice.Address |
( |
|
self | ) |
|
◆ Connected()
| def chip.ChipBluezMgr.BluezDbusDevice.Connected |
( |
|
self | ) |
|
◆ destroy()
| def chip.ChipBluezMgr.BluezDbusDevice.destroy |
( |
|
self | ) |
|
◆ device_bg_connect()
| def chip.ChipBluezMgr.BluezDbusDevice.device_bg_connect |
( |
|
self, |
|
|
|
enable |
|
) |
| |
◆ device_on_prop_changed_cb()
| def chip.ChipBluezMgr.BluezDbusDevice.device_on_prop_changed_cb |
( |
|
self, |
|
|
|
interface, |
|
|
|
changed_properties, |
|
|
|
invalidated_properties |
|
) |
| |
◆ device_register_signal()
| def chip.ChipBluezMgr.BluezDbusDevice.device_register_signal |
( |
|
self | ) |
|
◆ device_unregister_signal()
| def chip.ChipBluezMgr.BluezDbusDevice.device_unregister_signal |
( |
|
self | ) |
|
◆ Name()
| def chip.ChipBluezMgr.BluezDbusDevice.Name |
( |
|
self | ) |
|
◆ RSSI()
| def chip.ChipBluezMgr.BluezDbusDevice.RSSI |
( |
|
self | ) |
|
◆ service_discover()
| def chip.ChipBluezMgr.BluezDbusDevice.service_discover |
( |
|
self, |
|
|
|
gatt_dic |
|
) |
| |
◆ ServiceData()
| def chip.ChipBluezMgr.BluezDbusDevice.ServiceData |
( |
|
self | ) |
|
◆ ServicesResolved()
| def chip.ChipBluezMgr.BluezDbusDevice.ServicesResolved |
( |
|
self | ) |
|
◆ TxPower()
| def chip.ChipBluezMgr.BluezDbusDevice.TxPower |
( |
|
self | ) |
|
◆ uuids()
| def chip.ChipBluezMgr.BluezDbusDevice.uuids |
( |
|
self | ) |
|
◆ bluez
| chip.ChipBluezMgr.BluezDbusDevice.bluez |
◆ bus
| chip.ChipBluezMgr.BluezDbusDevice.bus |
◆ device
| chip.ChipBluezMgr.BluezDbusDevice.device |
◆ device_event
| chip.ChipBluezMgr.BluezDbusDevice.device_event |
◆ device_id
| chip.ChipBluezMgr.BluezDbusDevice.device_id |
◆ device_properties
| chip.ChipBluezMgr.BluezDbusDevice.device_properties |
◆ logger
| chip.ChipBluezMgr.BluezDbusDevice.logger |
◆ object
| chip.ChipBluezMgr.BluezDbusDevice.object |
◆ path
| chip.ChipBluezMgr.BluezDbusDevice.path |
◆ signalReceiver
| chip.ChipBluezMgr.BluezDbusDevice.signalReceiver |
The documentation for this class was generated from the following file:


I was learning about Mongoose and I couldn't shake the idea of "Snake (the game) vs Mongoose (the software)" so I made this: A traditional "snake" game where you compete against the ghost data of another player from a previous session. The game logic is all Javascript, and the data is passed from the database using Mongoose, Express, and Handlebars. (Github)
This is a VR project I made in 3 days using Facebook's ReactVR framework. I wanted to experiment with a VR framework so I decided to make an app where you can explore a network of 360 panoramic videos. The footage was shot by me and a crew at Burning Man in 2016; we documented large-scale art installations just hours before they were burned down. (Github)
I wanted to practice with React so I made a simple Pokedex app using PokéAPI. You can sign into or create an account (for now there is no authentication) and collect and battle Pokémon. It was really interesting to see how React's setState function interacted with Axios's promises. I also had a lot of fun re-creating the Pokemon battle mechanics in Javascript. (Github)
This was a prototype I made in Javascript to test out the core mechanics of a game I was designing for a mobile game company. The basic system was hacked together in a weekend, then I would spend a few hours a week updating the game mechanics after design meetings. This was my first attempt using the canvas HTML element, which is used to draw the lasers and explosions. (Github)
In 2012 I graduated from SUNY with a Bachelor’s of Computer Science while working full-time as a community manager for a startup. Immediately after graduating I launched a game project on Kickstarter that went viral and raised over $300k in 30 days. I spent the next 2 years fulfilling my project and consulting on other crowdfunding campaigns. Then in 2015 I was hired by NetEase Games where I worked on Eternal Arena (MOBA) and Tome of the Sun (MMO) as a mobile game designer.
I was laid off from NetEase on January 2017 due to downsizing. In February I began a 3 month contract at Facebook as a lead search ranking analyst through a staffing agency called Pro Unlimited. My job was to write SQL querries that the product team used to measure the accuracy of the search feature. This past August I decided to enroll in General Assembly's 3 month long Web Development Immersive course. Now I'm looking for an entry-level development position where I can continue to grow my skills as a programmer.
You can read my full employment history on LinkedIn.
Over 15 years of experience with Javascript. I've also completed mid-sized projects in Java, C, PHP, SQL, Node, Express, Ruby, React, and half a dozen Javascript frameworks. I'm also proficient in Photoshop, Final Cut, Excel, AdWords, JIRA, Zendesk, acebook Ads, Google Ads. My past experience in marketing and customer research has also translated well into UX and product design.


Stats: 17 Years old, 5'10.
Drug's I've used recreationally:
-Weed, (only once).
-Ciggarets, (started a few weeks ago).
-Codeine, (upto about 300mg, it makes me really itchy, i'm not into opiates really..).
-Caffeine, (1400mg) Stomach disturbances from hell, this is one of the substances on my personal 'banned list'.
-Ephedra, (up to 200mg Ephedra Alkaloids, with this stuff it's either euphoric bliss or a anxious hell hole).
-Prozac (Major twitching of the face, intense; crazy hallucinations at night when attempting to sleep. almost OD'd once 400MG),
-Zoloft (Up to 1000mg, caused me to cry one day uncontrollably. Wasn't worth taking),
-Celexa (1600MG, crazy hallucinations, delirium, Almost died)
-Inhalents (Nail polish remover, Rubbing Alcohol, Windex) only a few times, haven't done it for about 2 years.
-Valium, (10mg max)
-Ativan, (8mg, trails, trails, trails, thats all I have to say about that. Looks like everyone is dodging bullets like the matix).
-Wellbutrin SR (I took 1200MG for a week straight, I had MAJOR visual and auditory hallucinations (they were great!, lots of sexually oriented dreams too). Unfortunatly on the seventh day I got a major nose bleed, I woke up covered in blood, I walked to the bathroom and passed out. I woke up about 30 minutes later covered in even more blood, I almost died. I was able to get rid of the clothing I was wearing (I was wearing a white T-shirt, it was completely red, some parts were brownish, I guess cause of dry blood. I swore I would never do that drug again, I never did).
Well this is how it started. I got the stuff from some online pharmacy,
I heard from others how it can improve your attention span and help keep you awake, without giving you the usual anxiety of other stimulants. I have been having a bad year since september. To make a long story short, I was having trouble concentrating and got barely any work done.
 Paxil CR is bad as it is, that stuff literally knocked me out literally for 2 weeks straight, I would only get up to eat).
Enough about that.. now to the Provigil Trip. I took 1/2 of a 200mg (Provigil) with my usual daily dose of Paxil (6:40AM). I only took 1/2 because I had to get 'rid' of my valium (i'm parinoid, I think the fed's are going to raid my apartment any moment).
A full dose of Provigil makes me anxious without the valium. I had to go to court today, I was still pretty anxious, but I got through it.  I went home, and took a long nap. I woke up about (3:30PM) and took the other half of the Provigil (100mg). I started cleaning my room and found a 'pure' codeine pill (27.5mg) under my bed, I said what the heck and popped it in my mouth (4:09PM).
I've been taking this stuff for about a month (Provigil). It's has been losing it's effect gradually, i've been unmotivated, I haven't been doing my work as I was when I started the Provigil. So at about 5:30PM, I decide to take another Provigil (not 1/2 like before, the whole pill 200mg). About 5 minutes after I took it, I started to get that distictive headache I usually get with Provigil (I was suprised how fast it started to kick in, it must of been because I had a empty stomach). 20 minutes later
I decide to take 5 more pills (1000mg), I thought what the hell. I miss my valium, lets see if this makes any difference (i've been in a pissy mood, must be valium withdrawal? it's been 2 days without it).
It's (7:27PM) I feel a little light headed, stomach hurts a little, a little itchy because of the codeine, my body feels like it's burning up, I feel really 'UP' (much happier than usual), I feel like moving, dancing, whatever. I actually feel like conversating with people now (that's probably why i'm writing this erowid report in the first place).  It came out of nowhere, It felt like someone crept behing me and started holding my eyelids open, keeping me from closing them, My urge to sleep is completely gone. I can't stop wiggling my toes and shaking my feet. I feel pretty good, I wish I had someone to talk to right now. Listning to music has become alot more enjoyable, I feel like I am 'one' with the artist. His/Her emotions get blended with mines. I've been trying to quit smoking for a while, I got to one ciggaret a day. I haven't smoked my daily cig yet, but for some reason my craving is gone.
(8:17PM - 11:00PM) Feels like I have tunnel vision, If I look at one object, everything else is 'ignored' (thats the only way I can put it
in words).
Im getting flashbacks about my childhood (4th grade?) I remember how depressed I used to be, how I had no friends, how I used to overeat to make myself feel good, how hopeless I felt, all those times I got beat up for no reason, all the times I would soak in my bathtub after a terrible day at school, wishing I was someone else. I remember when my parents got divorced, I remember how hard it was for my mom to support me and my siblings. I remember how she used to cry because I wouldn't go to school (school=pain then, both physically and mentally).
I remember having excrutiating chest pains (heart attacks probably), I was obese, I ate to feel alive, ironically it was killing me. I remember having really bad hygine (I accepted that I was feces, so I decided that it would only be right to smell like it). I remember how other people viewed me, I was the class freak, if someone did something wrong they would blame it on me, I wouldn't dissagree because I new I would get beat up by practically everyone. I remember being remarkably being smarter than everyone in the class. I remember how my mother was physically abused by a guy she met a while after she divorced. He would drink himself into a drunken stupor and yell really loud at my mom, he would hit her too. My mom would only be concerned about me and my brother's safety so she would take the beating,
while hiding us from him. My mom got rid of him somehow (it's crazy how such a fragile, loving, kind woman can be so strong). I heard he hanged himself a few years thereafter.
I remember how I would go to Puerto Rico every summer to visit my father, my parents were already divorced, I was about 6 years old then. I would go with me and my older brother (older by 2 years) by airplane. The aircraft was a scary place for me, riding on a plane with all those strange people. Being without my mom made me very anxious, also I did not like crowds, I could not breathe with so many people around. I practically held my breath until I found my seat on the plane. My brother realized I was in distress and conforted me any way he new so (even though he was only 8). Also the thought of seeing my father again made the long, harsh ride worth it.
I cried tears of joy when I saw him. These short summer days would be the only time I would see my father. He would take me to a beautiful beach he only knew about. When I got there I felt like I was in God's playground. I would feel like he was God and me and my brother were his little angels. I remember how the sand would be very hot, and I would have to run through it, to get to the nice, crisp, cool waters. What a great relife that was. I remember how I would feel completely carefree and 'one' with the world,
Sometimes I would get so ecstatic, I would cry 'happy tears'. I remember eating cookies and milk before my father tucked me into bed. If there was a such thing as a 'perfect father' he would be it. I remember crying for my 'real' father every night after the summer ended.
I remember being absent so much that I almost got taken away by child protection services. I remember how my mom almost gave up on me. I remember being awoken in the middle of the night, by the loud sound of my mother crying, day after day almost endlessly. I remember being evicted from our aparment. I remember how I would have to survive eating condiments, I remember not eating at all. I remember eating until I could not breath. I was hospitalized in a psychiatric hospital shortly thereafter.
I have literally been depressed all my life, to me it was normal to be this way. I remember how I felt imprisoned in my own body. I remember declining the psychotropic medications they offered me. I remember the day I decided I would not be this way anymore, I wanted to look good, feel good, I wanted my life to have a meaning, I did not give up. I starved myself for about a year (the whole term I was hospitalized) and lost about 50 pounds. I remember the horrendous stomach aches I would get, the acid in my stomach felt like it was tearing holes in my insides.
I remember falling in love (the first time I new what love felt like).With a girl named J******r, I remember how soft her hair felt when I swayed my fingers through it. I remember her imperfections and how I would see right through them, revealing the beautiful person she really was. I remember the first time I felt jealous. I remember when she stopped loving me, I remember how she embraced (kissing and huggging) another guy right in front of my eyes, day after day. I remember feeling hopeless. I remember how I cried all night long, leaving the skin around my eyes all puffy and pink.
I remember still being in love, ignoring everyone else. I was enfatuated, I thought I lost my soul mate, I thought I was worthless, why would someone like 'me', I remember looking in the mirror seeing the 'old' fat, ugly me. Not the magnificent creature that only a supreme being could create, a perfect work of art, a picasso. I almost became completely anorexic, until
a girl slapped some sense into me (literally).  Summer came, I remember I was still depressed, I tried denying it but it was the truth all along.
They released me from the hospital, I was finally able to see my mother.
I really didn't do much that summer, I ate, watched tv and slept. That was the routine that they engraved in my head. That's all I knew, thats what I thought existence was. I bearly saw the sun, my mother forced me to go out one day. It felt surreal, the sun was shining bright that day, I felt like a ant under magnifying glass, insignificant. I was thinking about how magnificent a supreme being would have to be to create such a vast universe and complex beings.
That day I had a apifiny, I realized how insignificant we really were, and if there is a grand creater I would be the first one to find 'it'.
 I was able to relax and take in everything, before I would not let anyone in my 'shell'. I felt a great relief, it felt like someone took the shackles off me feet, and released the chains around my neck. For now I was no longer a prisoner, a prisoner in my 'own self'.
 They gave me a tour of it, but I hated it,
-----------------------------------
(11:30PM)
I will end it there, I am very happy that this drug was to give me a introspective view of my past. I can literally see, hear, feel and taste my memories. When I was recalling memories about the beach I could literally feel the hot sand between my toes, taste the salty wind blowing across my face and the relief of jumping in that crisp, cool water. I will definitly do this again, but probably with a close friend around, someone that I could share all my secrets with. I thought this was going to be a worthless, speedy, uneventful trip full of nausea, uneasyness and anxiety. But this is probably the best 'trip' i've ever had.
Though it's not over yet. The trip will probably last 6-8 more hours. I probably wont get any sleep. A good book will solve that problem. I just walked to bathroom and all the walls looked greenish and wiggly in the dark. My eyes adapted quickly, even if I was in a well lit room, right when I stepped into the darkness, everything became clear. It feels like I have night vision.
I have a little stomach ache but that is probably caused by me, not eating for the last few hours as I usually do. Happy tripping.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Setting up OSSEC to monitor Agents, Security and Monitoring
Difficulty: 4
Time: 1 hour
This article explains how to monitor OSSEC agents with OSSEC server on CentOS and Fedora.
You will need access to sudo privileges to complete all the steps.
Update the package database.
Install the following on server:
sudo yum groupinstall 'Development Tools'
sudo yum install inotify-tools
On agent, install the following packages:
Install the following package on both the servers to save any change you make in iptables
.
sudo yum install iptables-services
sudo systemctl enable iptables
To save iptables rule
permanently, type:
On both the droplets, download OSSEC and its checksum file.
wget -U ossec http://www.ossec.net/files/ossec-hids-2.8.1.tar.gz
wget -U ossec http://www.ossec.net/files/ossec-hids-2.8.1-checksum.txt
After downloading both the files, type the following command to verify md5sum of the compressed tarball:
md5sum -c ossec-hids-2.8.1-checksum.txt
It would display the following:
ossec-hids-2.8.1.tar.gz: OK
md5sum: WARNING: 1 line is improperly formatted
Type the following command to verify SHA1 of the compressed tarball
It would display the following:
ossec-hids-2.8.1.tar.gz: OK
sha1sum: WARNING: 1 line is improperly formatted
Type the following command to untar the file
If you get an error for "tar" command, type:
Change into the following directory
Now start the installation
During the installation you will be prompted to answer a few questions, where you will just have to press "Enter" to accept the default answers. First of all, you will be asked to choose a language which is by default "English(en)", press "Enter" to accept it.
In the next question you will be asked for the type of installation, type "server" and press "Enter".
For the rest of the questions, please accept default. Question on email should be answered with a valid email id, where all the notifications will be sent.
On the successful installation, you will see the following:
In order to connect agent and server, you need to add each agent to the server. Run the 'manage_agents' to add or remove them: /var/ossec/bin/manage_agents More information at: http://www.ossec.net/en/manual.html#ma
OSSEC agent is not yet installed, so we will configure it later. Here, let us configure the server.
To access or modify the OSSEC's files, you will have to switch to the root user
Now change the directory to the OSSEC's configuration file's directory
Open ossec.conf file in any editor
After all the changes, the section will look like this:
<global> <email_notification>yes</email_notification><EMAIL_ADDRESS><smtp_server>mail.example.com.</smtp_server><EMAIL_ADDRESS></global>
Now save the file and close it. Start OSSEC
Type the following command to untar the file
Change into the following directory:
Now start the installation
Most of the prompts are as before, except a few. When asked about the type of installation, type "agent" and press 'Enter'
When asked about the server IP address, type IP address of your server
For other questions, accept default by pressing "Enter". On the successful installation you will see:
You first need to add this agent to the server so they can communicate with each other. When you have done so, you can run the 'manage_agents' tool to import the authentication key from the server. /var/ossec/bin/manage_agents More information at: http://www.ossec.net/en/manual.html#ma
You are already operating as a root from the previous step, so you don't need to use sudo now.
Type the following command:
You will see options as shown below, type "A" and press Enter.
(A)dd an agent (A).
(E)xtract key for an agent (E).
(L)ist already added agents (L).
(R)emove an agent (R).
(Q)uit.
Choose your action: A,E,L,R or Q: a
You will be asked for agent's name, IP and its ID. Keep the name unique and enter the IP of your agent , for ID you can accept default value by pressing 'Enter'
- Adding a new agent (use '\q' to return to the main menu). Please provide the following: * A name for the new agent: agent-name * The IP Address of the new agent: ip_of_agent * An ID for the new agent[001]: Agent information: ID:001 Name:agentUbuntu IP Address: ip_of_agent Confirm adding it?(y/n): y Agent added.
You will be returned to main menu. Press "E", 'Enter' and then give the ID of the agent to fetch the agent key. Make sure to copy it.
Choose your action: A,E,L,R or Q: e Available agents: ID: 001, Name: agent-name, IP: ip_of_agent Provide the ID of the agent to extract the key (or '\q' to quit): 001 Agent key information for '001' is: MDAxIGFnZW50VWJ1bnyEwNjI5MjI4ODBhMDkzMzA4MR1IXXwNC4yMzYuMjIyLjI1MSBiMTI2U3MTI4YWYzYzg4M2YyNTRlYzM5M2FmNGVhNDYTIwNDE3NDI1NWVkYmQw ** Press ENTER to return to the main menu.
Press 'Enter' to return to main menu and "Q" to quit
These actions are to be completed on Agent. Type "sudo su" to change to root to start.
Now type the following:
You will get the following options:
(I)mport key from the server (I).
(Q)uit.
Choose your action: I or Q: i
After choosing "I" follow the direction to paste the key from server and confirm when it asks.
Press Enter to return to the main menu and choose "Q" to quit
Confirm adding it?(y/n): y
Added.
** Press ENTER to return to the main menu.
Communication on both sides take place on UDP port 1514, so you will have to add a rule to iptables for both ends.
Temporarily remove the drop rule on both ends
Add the following rule at OSSEC server with agent's IP:
Now add the following rule on agent's side with server's IP:
These rules should persist after reboot, so we have installed "iptables-services". Type the following command to save your changes:
Restart both the servers
You can start OSSEC agent from server using the following command:
001 is the agent ID. You should get the following message:
After following all these steps, you should be reciveing alerts from both the ends. You may further customize settings for file addition or real time alerts.


A real-time API for
Valley Tech Con 2019 Demo "Offline First" App
Welcome! If you're looking at this page, you're probably in the wrong place. This is the API for a demo app written by Morgan Benton as part of his talk for Valley Tech Con 2019. The app itself can be found here and the GitHub repo with the code is here.


Module: Concurrent::Synchronization
- Defined in:
- lib/concurrent/synchronization.rb,
lib/concurrent/synchronization/lock.rb,
lib/concurrent/synchronization/object.rb,
lib/concurrent/synchronization/volatile.rb,
lib/concurrent/synchronization/condition.rb,
lib/concurrent/synchronization/mri_object.rb,
lib/concurrent/synchronization/rbx_object.rb,
lib/concurrent/synchronization/jruby_object.rb,
lib/concurrent/synchronization/truffle_object.rb,
lib/concurrent/synchronization/lockable_object.rb,
lib/concurrent/synchronization/abstract_struct.rb,
lib/concurrent/synchronization/abstract_object.rb,
lib/concurrent/synchronization/rbx_lockable_object.rb,
lib/concurrent/synchronization/mri_lockable_object.rb,
lib/concurrent/synchronization/jruby_lockable_object.rb,
lib/concurrent/synchronization/truffle_lockable_object.rb,
lib/concurrent/synchronization/abstract_lockable_object.rb
Overview
Synchronization
This document is moved to Google documents. It will be moved here once final and stabilized.
Concurrent Ruby Notes
Locks
Concurrent Ruby also has an internal extension of Object
called
LockableObject
, which provides same synchronization primitives as Java's
Object: synchronize(&block)
, wait(timeout = nil)
,
wait_until(timeout = nil, &condition)
, signal
, broadcast
. This class is
intended for internal use in concurrent-ruby
only and it does not support
subclassing (since it cannot protect its lock from its children, for more
details see this article). It has
minimal interface to be able to use directly locking available on given
platforms.
For non-internal use there is Lock
and Condition
implementation in
Synchronization
namespace, a condition can be obtained with new_condition
method on Lock
. So far their implementation is naive and requires more work.
API is not expected to change.
Method names conventions
Methods starting with ns_
are marking methods that are not using
synchronization by themselves, they have to be used inside synchronize block.
They are usually used in pairs to separate the synchronization from behavior and
to allow to call methods in the same object without double locking.
class Node
# ...
def left
synchronize { ns_left }
end
def right
synchronize { ns_right }
end
def to_a
# avoids double locking
synchronize { [ns_left, ns_right] }
end
private
def ns_left
@left
end
def ns_right
@right
end
# ...
end
Piggybacking
Any write executed before volatile write based on program-order is visible to the volatile read as well, which allows piggybacking. Because it creates synchronizes-with (JMM term) order between volatile write and read, which participates in creating happens-before order.
This trick is used in some of the abstractions, to avoid unnecessary synchronization or volatile declarations.
Defined Under Namespace
Modules: JRubyAttrVolatile, MriAttrVolatile, RbxAttrVolatile, TruffleAttrVolatile Classes: Condition, Lock, Object, TruffleLockableObject
Constant Summary
- Volatile =
Volatile adds the attr_volatile class method when included.
foo = Foo.new foo.bar => 1 foo.bar = 2 => 2
case when Concurrent.on_cruby? MriAttrVolatile when Concurrent.on_jruby? JRubyAttrVolatile when Concurrent.on_rbx? || Concurrent.on_truffle? RbxAttrVolatile else MriAttrVolatile end


{{ site.data.settings.title }}
{% include sumo.html %}
{% include analytics.html %}
{% include gtm.html %}
{% include header.html %}
{% include about.html %}
{% include work.html %}
{% include clients.html %}
{% include contact.html %}
{% include form.html %}
{% include footer.html %}
{% include yandexmetrika.html %}


(.%) influenza IVs vaccine type A/HN season seasons {border-style strain (%) px;} #ffffff;} A/HNpdm surveillance virus samples season, Influenza virological Emilia-Romagna Health different seasonal seasons, lineage (). (last accessed circulation effectiveness (-). A/California// June following genetic new number viruses FLU SEASON Surveill age antigenically circulating epidemiological from: pandemic patients px; respiratory study vaccination {font-family acid analysis detected epidemic font-size match mismatch performed positive related strains European amino collab: double; fell reference substitutions variants viral A/Hong IVs. Italy Viral World antigenic belonged border-color border-width children clinical co-circulation complete distribution group observed predominant recommended regional season. seasons. severe similar solid; specimens {font-style {font-weight (Table Assessment B/Brisbane// Centre Euro Figure Infect Med Northern Surveillance Table Technology adults aim bold closely continuous courier; elderly em; estimates genetically global highest illness influenza-positive period, practitioners pt;} sentinel specific types/subtypes using years


source file: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/boto3/docs/attr.py
file stats: 26 lines, 7 executed: 26.9% covered
1. # Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. 2. # 3. # Licensed under the Apache License, Version 2.0 (the "License"). You 4. # may not use this file except in compliance with the License. A copy of 5. # the License is located at 6. # 7. # http://aws.amazon.com/apache2.0/ 8. # 9. # or in the "license" file accompanying this file. This file is 10. # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 11. # ANY KIND, either express or implied. See the License for the specific 12. # language governing permissions and limitations under the License. 13. from botocore.docs.params import ResponseParamsDocumenter 14. 15. from boto3.docs.utils import get_identifier_description 16. 17. 18. class ResourceShapeDocumenter(ResponseParamsDocumenter): 19. EVENT_NAME = 'resource-shape' 20. 21. 22. def document_attribute(section, service_name, resource_name, attr_name, 23. event_emitter, attr_model, include_signature=True): 24. if include_signature: 25. section.style.start_sphinx_py_attr(attr_name) 26. # Note that an attribute may have one, may have many, or may have no 27. # operations that back the resource's shape. So we just set the 28. # operation_name to the resource name if we ever to hook in and modify 29. # a particular attribute. 30. ResourceShapeDocumenter( 31. service_name=service_name, operation_name=resource_name, 32. event_emitter=event_emitter).document_params( 33. section=section, 34. shape=attr_model) 35. 36. 37. def document_identifier(section, resource_name, identifier_model, 38. include_signature=True): 39. if include_signature: 40. section.style.start_sphinx_py_attr(identifier_model.name) 41. description = get_identifier_description( 42. resource_name, identifier_model.name) 43. description = '*(string)* ' + description 44. section.write(description) 45. 46. 47. def document_reference(section, reference_model, include_signature=True): 48. if include_signature: 49. section.style.start_sphinx_py_attr(reference_model.name) 50. reference_type = '(:py:class:`%s`) ' % reference_model.resource.type 51. section.write(reference_type) 52. section.include_doc_string( 53. 'The related %s if set, otherwise ``None``.' % reference_model.name 54. )


@* * Copyright 2010-2013 Artima, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @widePage("Videos") {
|
Hidden Gems in ScalaTest
ScalaTest 2.0 is a vast enough forest that it is hard to see all the useful trees. In this talk from the ScalaExchange conference on Dec 3, 2013, Bill Venners guides you through ScalaTest 2.0 by pointing out lesser-known features of the testing toolkit that can help you get stuff done. You'll gain insight into what ScalaTest offers, why ScalaTest is designed the way it is, and how you can get more out of it. |
Highlights of this talk
|
|
Implicit Conversions => Implicit Parameters
In this talk from the ScalaExchange conference on Dec 2, 2013, Bill Venners tells the story of the journey from a design that leaned towards implicit conversions in ScalaTest 1.0 to one that emphasizes implicit parameters in ScalaTest and ScalaUtils 2.0. Using primarily demos in the Scala REPL, Bill shows several use cases and applications of implicit parameters that will help you understand the tradeoffs between implicit conversions and parameters and how to take advantage of implicit parameters in your own designs. |
Highlights of this talk
|
|
Simplicity in Scala Design
In this talk from the Northeast Scala Symposium on Feb 8, 2013, Bill Venners focuses on how to achieve simplicity in Scala library, DSL, and application design. It highlights general principles that can be applied to any programming language, and shows specific techniques that can be used in Scala to "implement" the general principles. This talk gives you a set of concrete guidelines (which guide the design of ScalaTest) that can help you manage complexity in your Scala projects. |
The guidelines from this talk
|


- Login to post new content in the forum.
| Topic | Replies | Created | Last reply | |
|---|---|---|---|---|
| Two Emontx’s for simultaneous V & I measurement | 8 | 3 years 31 weeks ago by john.b |
3 years 31 weeks ago by john.b |
|
| Arduino UNO + emonTx Shield + Raspberry Pi | 5 | 3 years 32 weeks ago by Guest |
3 years 31 weeks ago by Jérôme |
|
| Solved - Problem with Nanode RF reaching personal Emoncms server - 403 Forbidden error | 17 | 3 years 32 weeks ago by Dan Woodie |
3 years 31 weeks ago by Dan Woodie |
|
| directly connect emonbase ed emontx | 1 | 3 years 32 weeks ago by Guest |
3 years 32 weeks ago by Robert Wall |
|
| EmonLCD not GLCD | 13 | 3 years 32 weeks ago by manicmoddin |
2 years 38 weeks ago by boelle |
|
| voltage calibration | 9 | 3 years 32 weeks ago by PhilThy |
3 years 32 weeks ago by Robert Wall |
|
| realtime clock module for raspberry pi | 4 | 3 years 33 weeks ago by Andrew |
3 years 28 weeks ago by Andrew |
|
| Advantages of using the ATMega32U4 (Leonardo) chip for power measurement | 24 | 3 years 33 weeks ago by MartinR |
3 years 32 weeks ago by dBC |
|
| CT offset problem with opamp bias. | 16 | 3 years 33 weeks ago by nubble |
1 year 25 weeks ago by Robert Wall |
|
| Wiring dual CT sensors on 220v feed | 1 | 3 years 33 weeks ago by Guest |
3 years 33 weeks ago by Robert Wall |
|
| Data from RPI RFM12B | 2 | 3 years 33 weeks ago by Marquis27 |
3 years 32 weeks ago by mharizanov |
|
| Emontx enclosure - How do you fit the AA batteries? | 2 | 3 years 33 weeks ago by chacal |
3 years 33 weeks ago by Jérôme |
|
| LCD with 20Pin connection | 2 | 3 years 33 weeks ago by Guest |
3 years 33 weeks ago by Guest |
|
| emonTX + DS18B20: invalid temperature read? | 19 | 3 years 33 weeks ago by Guest |
3 years 25 weeks ago by Guest |
|
| EmonTX Non reactive CT measurements | 4 | 3 years 33 weeks ago by Guest |
3 years 33 weeks ago by Guest |
|
| Arduino Yún | 0 | 3 years 33 weeks ago by dBC |
n/a | |
| Arduino mega internal voltage reference | 0 | 3 years 33 weeks ago by platypus |
n/a | |
| EmonTx on 5v input - change burden resistors? | 3 | 3 years 34 weeks ago by phildabeast |
3 years 33 weeks ago by Robert Wall |
|
| RFM12B - kernel driver | 0 | 3 years 34 weeks ago by robw |
n/a | |
| EmonTX Low Power Temperature Node with DHT22 sensor | 10 | 3 years 34 weeks ago by PhilThy |
3 years 31 weeks ago by Guest |
|
| emonGLCD - debugging basic issues | 12 | 3 years 34 weeks ago by Guest |
3 years 34 weeks ago by Guest |
|
| Problem uploading sketch to NanodoRF | 0 | 3 years 34 weeks ago by ernst |
n/a | |
| Arduino to Triac connection .......... | 3 | 3 years 35 weeks ago by Guest |
3 years 34 weeks ago by richmc |
|
| Voltage measuring fluctuation with emontx and Ideal Power DB-06-09 | 6 | 3 years 35 weeks ago by Guest |
3 years 34 weeks ago by Guest |
|
| Calibrating Temperature Sensors | 18 | 3 years 35 weeks ago by deskyeti |
3 years 15 weeks ago by MartinR |
|
| Problems with Low Power Temperature Module - SOLVED | 19 | 3 years 35 weeks ago by deskyeti |
3 years 22 weeks ago by Robert Wall |
|
| EEPROM | 3 | 3 years 35 weeks ago by Robert Wall |
3 years 35 weeks ago by dBC |
|
| Emontx Shield SMT with new layout in development | 8 | 3 years 36 weeks ago by chaveiro |
3 years 36 weeks ago by Guest |
|
| raspberrypi can ping but no ssh or http | 6 | 3 years 36 weeks ago by chacal |
3 years 35 weeks ago by Jérôme |
|
| problem with emonglcd | 11 | 3 years 36 weeks ago by Guest |
3 years 18 weeks ago by Robert Wall |
|
| Reading Ampy meters via the inductive serial port | 12 | 3 years 36 weeks ago by MartinR |
2 years 34 weeks ago by Robert Wall |
|
| Can we make Emonbase with three moudles: Arduino UNO + emonTx Shield + Arduino Ethernet Shield ? | 2 | 3 years 36 weeks ago by Guest |
3 years 36 weeks ago by Guest |
|
| emonGLCD c13&c14 | 3 | 3 years 36 weeks ago by Guest |
3 years 36 weeks ago by Robert Wall |
|
| Anyone can help me with a soldering going bad way ? | 7 | 3 years 36 weeks ago by lunarok |
3 years 36 weeks ago by richmc |
|
| Calibration CT Sensor Current | 1 | 3 years 36 weeks ago by andre.luiz1987 |
3 years 36 weeks ago by Robert Wall |
|
| firmware for SCT-013-030 | 24 | 3 years 37 weeks ago by Guest |
42 weeks 2 days ago by Robert Wall |
|
| Using the ATmega analogue comparator for zero crossing detection | 30 | 3 years 37 weeks ago by MartinR |
3 years 34 weeks ago by Robert Wall |
|
| Using OptoCoupler instead of AC-AC Adapter to Measure Line Voltage/Current | 2 | 3 years 37 weeks ago by Guest |
3 years 37 weeks ago by Robert Wall |
|
| A nice way using the emonTx Shield and log the data | 0 | 3 years 37 weeks ago by Guest |
n/a | |
| emonGLCD v1.5 schematic available? | 4 | 3 years 37 weeks ago by Guest |
3 years 37 weeks ago by Guest |
|
| System is Freezing regularily.. Help? | 11 | 3 years 37 weeks ago by Marquis27 |
3 years 30 weeks ago by Robert Wall |
|
| Rfm12pi question | 2 | 3 years 38 weeks ago by Guest |
3 years 36 weeks ago by Guest |
|
| EmonGlcd relay | 7 | 3 years 38 weeks ago by zeno |
3 years 37 weeks ago by zeno |
|
| Can Oregon Scientific rain gauge radio transmission be received? | 12 | 3 years 38 weeks ago by Ian Eagland |
3 years 24 weeks ago by Mattia Rossi |
|
| confused with code calibration SCT-013 | 4 | 3 years 38 weeks ago by andre.luiz1987 |
3 years 38 weeks ago by Robert Wall |
|
| RMS calculation, better math anyone? | 48 | 3 years 38 weeks ago by chaveiro |
3 years 37 weeks ago by chaveiro |
|
| EmonLibPro Released - Continuous sampling, Multi sensor, Interrupt based, implements a zero cross detector and PLL. | 78 | 3 years 38 weeks ago by chaveiro |
44 weeks 5 days ago by chaveiro |
|
| JMPM | 11 | 3 years 38 weeks ago by Guest |
3 years 38 weeks ago by Guest |
|
| Working CT123 EmonTX sketch changes for USA | 1 | 3 years 39 weeks ago by Guest |
3 years 39 weeks ago by Robert Wall |
|
| CT without a name. | 10 | 3 years 39 weeks ago by Guest |
3 years 28 weeks ago by calypso_rae |


module RSS::Maker
Provides a set of builders for various RSS
objects
-
Feeds
-
Elements
Constants
- MAKERS
Collection of supported makers
Public Class Methods
[](version)
click to toggle source
Returns the maker for the version
# File lib/rss/maker.rb, line 33 def [](version) maker_info = maker(version) raise UnsupportedMakerVersionError.new(version) if maker_info.nil? maker_info[:maker] end
add_maker(version, normalized_version, maker)
click to toggle source
Adds a maker to the set of supported makers
# File lib/rss/maker.rb, line 40 def add_maker(version, normalized_version, maker) MAKERS[version] = {:maker => maker, :version => normalized_version} end
make(version, &block)
click to toggle source
makers()
click to toggle source
Returns collection of supported makers
# File lib/rss/maker.rb, line 50 def makers MAKERS.values.collect { |info| info[:maker] }.uniq end
supported?(version)
click to toggle source
Returns true if the version is supported
# File lib/rss/maker.rb, line 55 def supported?(version) versions.include?(version) end
versions()
click to toggle source
Returns collection of supported maker versions
# File lib/rss/maker.rb, line 45 def versions MAKERS.keys.uniq.sort end
Private Class Methods
maker(version)
click to toggle source
Can I remove this method?
# File lib/rss/maker.rb, line 61 def maker(version) MAKERS[version] end