|
ZOS
project for ZOS (a simple i-node based file system)
|
|
#include <FileSystem.h>
|
| | FileSystem (std::string diskFileName) |
| | Constructor of the class - creates an instance of it. More...
|
| |
| | ~FileSystem () |
| | Destructor of the class. More...
|
| |
| | FileSystem (const FileSystem &)=delete |
| | Copy constructor of the class. More...
|
| |
| void | operator= (FileSystem const &)=delete |
| | Assignment operator of the class. More...
|
| |
| std::string | getCurrentPath () const |
| | Returns the current location as an absolute path. More...
|
| |
| void | rm (std::string path) |
| | Removes a file from the file system. More...
|
| |
| void | mkdir (std::string path) |
| | Creates a new directory in the location given as a parameter. More...
|
| |
| void | rmdir (std::string path) |
| | Removes an empty directory from the file system. More...
|
| |
| void | cd (std::string path) |
| | Changes the current location within the file system. More...
|
| |
| void | ls (std::string path) |
| | Prints out the content of the folder. More...
|
| |
| void | pwd () |
| | Prints out the current location as an absolute path. More...
|
| |
| void | cat (std::string path) |
| | Prints out the content of the file. More...
|
| |
| void | incpy (std::string source) |
| | Imports the file into the virtual file system into the current location. More...
|
| |
| void | incpy (std::string source, std::string destination) |
| | Imports the file into the virtual file system into the location given as a parameter. More...
|
| |
| void | outcpy (std::string source, std::string destination) |
| | Exports the file from the file system onto the HDD. More...
|
| |
| void | format (size_t size) |
| | Formats the disk with a new size given as a parameter (B). More...
|
| |
| void | cp (std::string source, std::string destination) |
| | Copies the file within the file system. More...
|
| |
| void | mv (std::string source, std::string destination) |
| | Movies the file within the file system. More...
|
| |
| void | info (std::string path) |
| | Prints out info about the i-node (clusters, size, index, ...) More...
|
| |
| void | slink (std::string file, std::string name) |
| | Creates a symbolic link pointing at the target file. More...
|
| |
|
| Disk * | disk = NULL |
| | an instance of class Disk, which represents a virtual disk of the file system More...
|
| |
- Author
- A127B0362P silhavyj
This class provides all the features of the file system as it is described in the document available on courseware. The class directly interacts with class Disk, which represents a virtual disk of the file system
◆ FileSystem() [1/2]
| FileSystem::FileSystem |
( |
std::string |
diskFileName | ) |
|
Constructor of the class - creates an instance of it.
- Parameters
-
| diskFileName | name of the file system (storage e.g. 'data.dat') |
◆ ~FileSystem()
| FileSystem::~FileSystem |
( |
| ) |
|
Destructor of the class.
Is deletes all dynamically allocated structures from the memory.
◆ FileSystem() [2/2]
Copy constructor of the class.
The was manually disabled since there is no need to use is method within this project.
◆ cat()
| void FileSystem::cat |
( |
std::string |
path | ) |
|
Prints out the content of the file.
Example
- Parameters
-
| path | (absolute/relative) to the target file |
◆ cd()
| void FileSystem::cd |
( |
std::string |
path | ) |
|
Changes the current location within the file system.
Example
- Parameters
-
| path | to the new current location |
◆ cp()
| void FileSystem::cp |
( |
std::string |
source, |
|
|
std::string |
destination |
|
) |
| |
Copies the file within the file system.
Example
cp data1.txt Documents/data2.txt
cp ../data1.txt data2.txt
- Parameters
-
| source | path (absolute/relative) to the source file within the file system |
| destination | path (absolute/relative) to the target file within the file system |
◆ format()
| void FileSystem::format |
( |
size_t |
size | ) |
|
Formats the disk with a new size given as a parameter (B).
Example
- Parameters
-
| size | new size of the disk (B) |
◆ getCurrentPath()
| std::string FileSystem::getCurrentPath |
( |
| ) |
const |
Returns the current location as an absolute path.
- Returns
- current path
◆ getDestinationDirectoryPath()
| std::string FileSystem::getDestinationDirectoryPath |
( |
std::string |
destination | ) |
|
|
private |
Returns a destination directory form the path given as a parameter.
As the user enters a path, there are several ways of what they might want to do. For example, if the specifies only a target file, the method will return the current directory as it assumes the user wants to work within the current location. In all other cases, the method will cut off the target file and return the remaining string as a path to the file. For example, 'cp dat/file.txt /movies/file2.txt' will return '/movies/'. This method is used when copying/moving withing the file system as well as importing/exporting files.
- Parameters
-
| destination | destination path e.g. 'doc/zos/file.txt' |
- Returns
- the destination folder e.g. 'doc/zos/'
◆ getDestinationFileName()
| std::string FileSystem::getDestinationFileName |
( |
std::string |
source, |
|
|
std::string |
destination |
|
) |
| |
|
private |
Returns a destination file name from the path given as a parameter.
As the user enters a path, there are several ways of what they might want to do. For example, they can specify the target file name directly e.g. 'file.txt' or 'doc/file.txt'. In either of these cases, the method will return 'file.txt'. Another case is when the user enters only a target directory. For example, 'incp file.txt doc/zos/'. In this case, the target file name is the same as the original file - 'file.txt'. This method is used when copying/moving files within the file system as well as importing/exporting files.
- Parameters
-
| source | source file e.g. /doc/source.txt |
| destination | which can be either a file or only a directory |
- Returns
- the destination file name
◆ getSourceFileName()
| std::string FileSystem::getSourceFileName |
( |
std::string |
source | ) |
|
|
private |
Returns the name of the source file as the user enters a path.
For example, if the path is '/doc/home/data.pdf', it will return data.pdf. This method is used by method getDestinationFileName.
- Parameters
-
- Returns
- source file (the end of the path)
◆ incpy() [1/2]
| void FileSystem::incpy |
( |
std::string |
source | ) |
|
Imports the file into the virtual file system into the current location.
Example
- Parameters
-
| source | path (absolute/relative) to the source file on the HDD |
◆ incpy() [2/2]
| void FileSystem::incpy |
( |
std::string |
source, |
|
|
std::string |
destination |
|
) |
| |
Imports the file into the virtual file system into the location given as a parameter.
Example
incp test_files/data.txt Documents/data_copied.txt
incp test_files/data.txt Documents/
- Parameters
-
| source | path (absolute/relative) to the source file on the HDD |
| destination | target destination within the file system |
◆ info()
| void FileSystem::info |
( |
std::string |
path | ) |
|
Prints out info about the i-node (clusters, size, index, ...)
Example
- Parameters
-
| path | (absolute/relative) to the target file/folder within the file system |
◆ ls()
| void FileSystem::ls |
( |
std::string |
path | ) |
|
Prints out the content of the folder.
Example
- Parameters
-
| path | (absolute/relative) to the target directory |
◆ mkdir()
| void FileSystem::mkdir |
( |
std::string |
path | ) |
|
Creates a new directory in the location given as a parameter.
Example
- Parameters
-
| path | (absolute/relative) to the target directory including the name |
◆ mv()
| void FileSystem::mv |
( |
std::string |
source, |
|
|
std::string |
destination |
|
) |
| |
Movies the file within the file system.
It can be also used for renaming files.
Example
mv data1.txt Documents/data2.txt
mv ../data1.txt data2.txt
- Parameters
-
| source | path (absolute/relative) to the source file within the file system |
| destination | path (absolute/relative) to the target file within the file system |
◆ operator=()
Assignment operator of the class.
The method was manually disabled since there is no need to use it method within this project.
◆ outcpy()
| void FileSystem::outcpy |
( |
std::string |
source, |
|
|
std::string |
destination |
|
) |
| |
Exports the file from the file system onto the HDD.
Example
outcp test_files/data.txt data_exported.txt
outcp data.txt Documents/data_exported.txt
- Parameters
-
| source | path (absolute/relative) to the source file within the file system |
| destination | path (absolute/relative) to the target file on the HDD |
◆ pwd()
Prints out the current location as an absolute path.
Example
◆ rm()
| void FileSystem::rm |
( |
std::string |
path | ) |
|
Removes a file from the file system.
Example
- Parameters
-
| path | (absolute/relative) to the target file |
◆ rmdir()
| void FileSystem::rmdir |
( |
std::string |
path | ) |
|
Removes an empty directory from the file system.
Example
- Parameters
-
| path | (absolute/relative) to the target directory |
◆ slink()
| void FileSystem::slink |
( |
std::string |
file, |
|
|
std::string |
name |
|
) |
| |
Creates a symbolic link pointing at the target file.
Example
- Parameters
-
| file | target file the symbolic link will be pointing at |
| name | of the symbolic link |
◆ disk
| Disk* FileSystem::disk = NULL |
|
private |
an instance of class Disk, which represents a virtual disk of the file system
void mv(std::string source, std::string destination)
Movies the file within the file system.
Definition: FileSystem.cpp:128
void cd(std::string path)
Changes the current location within the file system.
Definition: FileSystem.cpp:45
void ls(std::string path)
Prints out the content of the folder.
Definition: FileSystem.cpp:49
void mkdir(std::string path)
Creates a new directory in the location given as a parameter.
Definition: FileSystem.cpp:21
void format(size_t size)
Formats the disk with a new size given as a parameter (B).
Definition: FileSystem.cpp:113
void cp(std::string source, std::string destination)
Copies the file within the file system.
Definition: FileSystem.cpp:117
void rmdir(std::string path)
Removes an empty directory from the file system.
Definition: FileSystem.cpp:40
void pwd()
Prints out the current location as an absolute path.
Definition: FileSystem.cpp:68
void cat(std::string path)
Prints out the content of the file.
Definition: FileSystem.cpp:72
void slink(std::string file, std::string name)
Creates a symbolic link pointing at the target file.
Definition: FileSystem.cpp:178
void rm(std::string path)
Removes a file from the file system.
Definition: FileSystem.cpp:16
void info(std::string path)
Prints out info about the i-node (clusters, size, index, ...)
Definition: FileSystem.cpp:173


[gecode-users] Adding constraints to model in <RBS>: is there any example code?
Christian Schulte
cschulte at kth.se
Thu May 11 16:41:05 CEST 2017
Hi Dirk,
Hmm, if it is as you say that’s surprising: you say that you create a new BAB engine. That engine would restart from whatever you give it as space, so it will start from the last solution. So that should in fact work… Why do you think it starts from scratch? >From what I understand you do not even have to modify the engine, changing the constrain() function is enough, right?
Don’t look at the parallel stuff that’s awful ;-)
Cheers
Christian
--
Christian Schulte, www.gecode.org/~schulte
Professor of Computer Science, KTH, <mailto:cschulte at kth.se> cschulte at kth.se
Expert Researcher, RISE SICS, <mailto:christian.schulte at ri.se> christian.schulte at ri.se
From: Dirk Obermann [mailto:dirk.obermann67 at gmail.com]
Sent: Tuesday, May 9, 2017 20:43
To: Christian Schulte
Cc: users at gecode.org
Subject: Re: [gecode-users] Adding constraints to model in <RBS>: is there any example code?
Hi Christian,
sorry for taking long to respond. I read the manual and tried to modify the engines to do what I wanted. Unfortunately, I was not succesfull...
My first attempt was to run BAB until completion with the long steps (adding chunks of constraints in the constrain() function). I was then hoping that I should be able to modify the last solution returned by BAB (by setting a parameter in the corresponding object, lastSolution->setLargeChunks(false), to influence the behavior of the constrain function in the future), and create and run a new BAB with this solution object as initial object. (something like BAB<...> e(lastSolution, options) ). Although it does run, I get the feeling that it starts the search from the beginning and does not benefit from the search done so far.
I then tried to understand how to modify the parallel engine code, but it was beyond my capabilities...
Thanks,
Dirk
On Tue, Apr 18, 2017 at 1:52 PM, Christian Schulte <cschulte at kth.se> wrote:
Hi Dirk,
Yes, I see your motivation but the Gecode engines cannot do that. Have you ever had a look at the part in MPG about search? Building a BAB engine with this additional feature might be not that hard…
Good luck
Christian
--
Christian Schulte, www.gecode.org/~schulte
Professor of Computer Science, KTH, cschulte at kth.se
Expert Researcher, RISE SICS, christian.schulte at ri.se
From: Dirk Obermann [mailto:dirk.obermann67 at gmail.com]
Sent: Wednesday, April 12, 2017 22:28
To: cschulte at kth.se
Cc: users at gecode.org
Subject: Re: [gecode-users] Adding constraints to model in <RBS>: is there any example code?
Thanks, Christian.
You were, of course, correct. BAB does the job and my code is now much more elegant than before. It also works well to combine with RBS.
However, my earlier code was sometimes faster. The reason is that I could take "large steps", adding constraints in chunks until the search failed. I could then go back to the last feasible model and add constraints one by one instead of in chunks.
Is something similar possible in the gecode search engines? What I would like do is the following: I run BAB until fail, and then "reset the state of the engine" to where it was when it produced the last feasible solution ("before my last call to the constrain function", so to speak). I would then re-run the search from there (with another behavior of the constrain function).
Thanks,
Dirk
On Tue, Apr 11, 2017 at 1:49 PM, Christian Schulte <cschulte at kth.se> wrote:
Hi,
First, I am not so sure that your idea works in principle: you say that the problem is that you spend a lot of time to find a first feasible solution, especially after adding additional constraints. However, that would not change with restarts: after all, you would restart the search and would have to do the same search in order to find the first feasible solution. The only benefit I could see is adding no-goods from restarts.
Anyway, what you want to do (I guess) is that you accumulate additional constraints which each restart. This you can only do by adding constraints to the master (remember, the slave will always be initialized fresh from the master for each restart). LNS is different as you want try different constraints each time you restart, hence you have to do it on the slave.
Hence, you will have to reimplement the master function, there you just add the additional constraints.
Have you thought about using BAB? There, each time you find a solution you can add new constraints based on that solution _without_ restarting search. Sounds more like it to me.
Cheers
Christian
--
Christian Schulte, www.gecode.org/~schulte
Professor of Computer Science, KTH, cschulte at kth.se
Expert Researcher, RISE SICS, christian.schulte at ri.se
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf Of Dirk Obermann
Sent: Tuesday, April 11, 2017 13:34
To: users at gecode.org
Subject: [gecode-users] Adding constraints to model in <RBS>: is there any example code?
Hello -
I am trying to do program up a search engine that performs sequential refinement by adding more and more constraints to a model. In the first run, I am happy with a solution at all, but then I want to add increasingly complex constraints until there is no more solution (or the search engine times out).
Now, I first run a model with a single constraint. If DFS can find a solution, then I run a completely new model with two constraints and from scratch. If this model is feasible, then I run the model with three constraints, etc.
In principle, this solution works, but it is a very inefficient: a lot of time is spent generating the first feasible solution when restarting the search (especially as the problem becomes more constrained).
It seems to me that this should be doable with RBS or a variation of the LDS engine, as described in the MPG. But there are very few examples to follow (the closest I found was this question posted on stack overflow <http://stackoverflow.com/questions/34182681/how-to-change-the-variable-value-ordering-in-gecodes-restart-based-search> http://stackoverflow.com/questions/34182681/how-to-change-the-variable-value-ordering-in-gecodes-restart-based-search but unfortunately it does not contain any answer). I simply cannot understand how to do it right. In particular, where do I post additional constraint on the model (in the master space, the slave space or elsewhere)?
Any leads on how to do it, or links to code that adds constraints or changes branching order in RBS would be appreciated!
Cheers,
Dirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20170511/a235acf9/attachment-0001.html>
More information about the users
mailing list


Style Guide
MEG is an open source HTML, CSS and JS development kit based on Flexbox.
Developed with variables, mixins, Sass, responsive grid system
for building layouts for ecommerce.
Why use?
- Compatibility of elements between browsers (Resolves cross browser component issues)
- Grid system with 12 colums
- Over 200 helper classes
- Accessibility of the elements with WAI-ARIA
- Light and small framework. meg.min.css (136kb) and meg.app.min.js (10kb)
- Standardization of elements
- Easy customization
- Uses SASS + Webpack
- Possibility of placing lazyload in images
- You over write less CSS and create more layouts.
Instalation
Just add the following link element into your page's head, before your project's stylesheets and add the following script element into your page's body.
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>MEG CSS Framework</title>
<link href="meg.min.css" rel="stylesheet" />
</head>
<body>
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<!--[if IE]>
<script src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/4.2.0/es5-shim.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/classlist/2014.01.31/classList.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/selectivizr/1.0.2/selectivizr-min.js"></script>
<![endif]-->
<script src="meg.app.min.js"></script>
</body>
</html>


Alice and Bob
问题描述 :
Alice and Bob’s game never ends. Today, they introduce a new game. In this game, both of them have N different rectangular cards respectively. Alice wants to use his cards to cover Bob’s. The card A can cover the card B if the height of A is not smaller than B and the width of A is not smaller than B. As the best programmer, you are asked to compute the maximal number of Bob’s cards that Alice can cover.
Please pay attention that each card can be used only once and the cards cannot be rotated.
Please pay attention that each card can be used only once and the cards cannot be rotated.
输入:
The first line of the input is a number T (T <= 40) which means the number of test cases.
For each case, the first line is a number N which means the number of cards that Alice and Bob have respectively. Each of the following N (N <= 100,000) lines contains two integers h (h <= 1,000,000,000) and w (w <= 1,000,000,000) which means the height and width of Alice’s card, then the following N lines means that of Bob’s.
For each case, the first line is a number N which means the number of cards that Alice and Bob have respectively. Each of the following N (N <= 100,000) lines contains two integers h (h <= 1,000,000,000) and w (w <= 1,000,000,000) which means the height and width of Alice’s card, then the following N lines means that of Bob’s.
输出:
The first line of the input is a number T (T <= 40) which means the number of test cases.
For each case, the first line is a number N which means the number of cards that Alice and Bob have respectively. Each of the following N (N <= 100,000) lines contains two integers h (h <= 1,000,000,000) and w (w <= 1,000,000,000) which means the height and width of Alice’s card, then the following N lines means that of Bob’s.
For each case, the first line is a number N which means the number of cards that Alice and Bob have respectively. Each of the following N (N <= 100,000) lines contains two integers h (h <= 1,000,000,000) and w (w <= 1,000,000,000) which means the height and width of Alice’s card, then the following N lines means that of Bob’s.
样例输入:
2 2 1 2 3 4 2 3 4 5 3 2 3 5 7 6 8 4 1 2 5 3 4
样例输出:
1 2
题目大意：
Alice和Bob有n个长方形，有长度和宽度，一个矩形可以覆盖另一个矩形的条件的是，本身长度大于等于另一个矩形，且宽度大于等于另一个矩形，矩形不可旋转，问你Alice最多能覆盖Bob的几个矩形？
(N <= 100,000)
题解：
先按照x排序，先保证在x满足条件的情况下，对b[i].y(Bob)进行查找，找到最接近a[i].y(Alice)的值，删除他。
总之就是先保证一维有序这样可以O（n）枚举，另一维再查找。
#include<iostream> #include<set> #include<algorithm> #include<cstdio> #include<cstring> using namespace std; multiset<int> myset; multiset<int>::iterator it; const int maxn=200000; struct node { int x,y; bool operator<(const node& b)const { return x<b.x; } }a[maxn],b[maxn]; int main() { int sec,n; scanf("%d",&sec); for(int z=1;z<=sec;z++) { myset.clear(); scanf("%d",&n); for(int i=1;i<=n;i++) scanf("%d%d",&a[i].x,&a[i].y); for(int i=1;i<=n;i++) scanf("%d%d",&b[i].x,&b[i].y); sort(a+1,a+1+n);//按x从小到大排序 sort(b+1,b+1+n);//按x从小到大排序 int j=1;int ans=0;//j是一个指向B数组位置的指针 for(int i=1;i<=n;i++) { while(j<=n&&b[j].x<=a[i].x) { myset.insert(b[j].y); j++; } it=myset.upper_bound(a[i].y); if(myset.size()>0&&it!=myset.begin())it--; if(myset.size()>0&&(*it)<=a[i].y) { ans++; myset.erase(it); } } printf("%d\n",ans); } return 0; }
版权声明：本文为博主原创文章，未经博主允许不得转载。
参考：http://blog.csdn.net/hyogahyoga/article/details/7958722
(adsbygoogle = window.adsbygoogle || []).push({});
这个毛软件，没人用也好
怎么还不更新啊


Dictionary of all relevant MQTT channels the bot uses.
From farmbot
From the browser, usually.
Main entry point for all MQTT packets.
(under development April 2017) Calibrate device length.
Check for new versions of FarmBot OS.
Bootstrap the device onto the MQTT broker.
Let the bot know that some resources it has in cache are no longer valid.
Hopefully, some day we will not need this. Ideally, sending this message would be handled by the API, but currently the API is REST only and does not support push state messaging.
Lock the bot from moving. This also will pause running regimens and cause any running sequences to exit
Unlock the bot when the user says it is safe. Currently experiencing issues. Consider reboot() instead.
Retrieves all of the event handlers for a particular event. Returns an empty array if the event did not exist.
Run a preloaded Farmware / script on the SD Card.
Execute a sequence by its ID on the API.
THIS WILL RESET THE SD CARD! Be careful!!
Returns a READ ONLY copy of the local configuration.
Bring a particular axis (or all of them) to position 0.
Installs a "Farmware" (plugin) onto the bot's SD card. URL must point to a valid Farmware manifest JSON document.
Move gantry to an absolute point.
Move gantry to position relative to its current position.
Deactivate FarmBot OS completely.
Low level means of sending MQTT packets. Does not check format. Does not acknowledge confirmation. Probably not the one you want.
Read the status of the bot. Should not be needed unless you are first logging in to the device, since the device pushes new states out on every update.
Cycle device power.
Uninstall a Farmware plugin.
Low level means of sending MQTT RPC commands to the bot. Acknowledges receipt of message, but does not check formatting. Consider using higher level methods like .moveRelative(), .calibrate(), etc....
Write a configuration value for local use. Eg: setState("timeout", 999)
Set user ENV vars (usually used by 3rd party Farmware scripts).
Set value to undefined
to unset.
Download all of the latest JSON resources (plants, account info...) from the FarmBot API.
Snap a photo and send to the API for post processing.
Reverse the value of a digital pin.
Update a config option for FarmBot OS.
Checks for updates on a particular Farmware plugin when given the name of
a farmware. updateFarmware("take-photo")
Update the Arduino settings
Set a GPIO pin to a particular value.
Generated using TypeDoc
Storage area for all event handlers


Overview of Web Components
Custom Elements
HTML Imports
Templates
Shadow DOM
Is Web Components ready for production?


EVO HTML to PDF Converter API allows you select the HTML elements to bookmark using CSS selectors. In this demo only the H1, H2 and H3 elements will be bookmarked.
The following options are available in this demo:
-
HTML Page URL or Local File to Convert. The URL of the HTML page to convert must be accessible from the computer where the converter runs. If the page requires authentication or if you are using a proxy server to access Internet
then you have to set the converter properties accordingly as described in documentation
-
HTML Elements to Bookmark CSS Selector. This option allows you to set the CSS selectors of the HTML elements to bookmark


|
|
I've worked freelance and for an assortment of web and tech related companies. I'm currently based in China, and have also studied quite a bit of chinese. I particularly enjoy the application 'instagram' and software and web solutions which provide convenient access without a great deal of hassle. I started of learning programming several years ago and eventually worked my way into web-design. | Label 1
Label 2
Content 2
Label 2
Content 2
|


Neural-Field Cox Process (NFCP) library
These are automatically generated links for browsing the project.
Please refer to the documentation for further details.
Index of RobotoSlab
../
roboto-slab-v7-regular.woff
roboto-slab-v7-regular.woff2
roboto-slab-v7-bold.eot
roboto-slab-v7-bold.woff
roboto-slab-v7-regular.eot
roboto-slab-v7-regular.ttf
roboto-slab-v7-bold.woff2
roboto-slab-v7-bold.ttf


Cotsec Forms Uses Velocity
Cotsec has released a
cross-language/cross-platform rapid development
environment called Cotsec Forms that uses Velocity as it's underlying
template engine.
(2003-08-23)
Velocity Tools 1.0
The first release of the Velocity Tools subproject is
available.
It includes a generic tools package, support for clean, quick MVC web
development in the VelocityView package, and support for integration with
the Struts framework.
(2003-07-16)
Velocity Template Editor Plugin for Eclipse
The first public release of an editor plugin for
Velocity templates is
available on
(Eclipse Online-Update Site:
http://veloedit.sourceforge.net/updates/).
(2002-07-22)
Roller Weblogger Brings it Together
From the site :
Roller
is server-based weblogging software - a web application - that
is designed to support multiple simultaneous weblog users and visitors.
Roller was originally written as an example application for an
article on open source Java development tools. The article
describes how the Struts Servlet framework, the Castor JDO persistence engine,
the XDoclet code generator, and the Velocity template processor
can be used together to create a full-featured database-driven web application.
(2002-07-22)
User's Guide Now Available in French
Thanks to the translation contributed by
Jean-Francois El Fouly, the Velocity project can now
offer the User's Guide in French. Thanks!
(2002-06-17)
New Release : Maverick
Another new release in the Velocity 'powered-by' family -
The Maverick
team is happy to announce the version 2.1 release of the
Maverick MVC Framework.
(2002-06-12)
User's Guide Now Available in Spanish
Thanks to the translation contributed by
Juan Pablo Morales Olaya, the Velocity project can now
offer the User's Guide in Spanish. Thanks!
(2002-06-06)
New Release : vDoclet
Another new milestone release in the Velocity 'powered-by' family :
Check it out!(2002-06-06)
New Releases : Turbine, WebWork and JPublish
A few new releases in the Velocity family :
Check 'em out!(2002-03-23)
JeeWiz : The Enterprise System Builder
JeeWiz, a new product from
New Technology/enterprise Limited,
is a J2EE system development tool that uses Velocity templates to generate
infrastructure code, deployment descriptors and build jobs for J2EE
projects. And it's said Velocity has no place in J2EE... ;-)
(2002-03-09)
User's Guide Available in Finnish
Thanks to Juha Kilpi, we now offer a Finnish translation
to the
Velocity Users Guide. Thanks Juha!
(2002-01-27)
Velocity Tool Subproject
The first code for the new Velocity Tool Subproject is in
and can be found
in CVS as
jakarta-velocity-tools. The first functionality includes
integration with
Jakarta Struts as well as a generic template-rendering
servlet with tool support. Take a look!
(2002-01-03)
Introductory Velocity Article on JavaWorld
For a introduction to the Velocity Template Engine, a brief
overview of the Velocity Template Language and some basic
examples, see is the new
article on
JavaWorld by Geir Magnusson Jr.
(2001-12-28)
DVSL XML Transformation Tool Added as Subproject
The DVSL XML transformation tool has been added as a new subproject.
Check it out here.(2001-12-18)
Velocity mentioned in ZDNet Article (last May)
It seems we could be a "can't-live-without-it piece of the
infrastructure" of tomorrow. Check
it out. (2001-12-09)
Luxor, Velocity-based XUL Toolkit Released
Luxor is an open-source XML User Interface Language (XUL) toolkit for
Java. Read more here.
(2001-12-08)
Generate Code with Velocity in Borland's JBuilder
Read
about how to use Velocity and Borland's OpenTools API to extend Borland's
JBuilder for template-based Java source code generation. (2001-12-08)
Archived articles are here.


THE POWER OF PINK AND GREEN COMBINED, SAVING ONE CUP AT A TIME.
Whether you're looking to meet new people and make friends, volunteer and make a difference, or just have fun, Spartans for the Cure has it all. We welcome both guys and girls to join our club and come together for a great cause!
Spartans for the Cure hosts and participates in a variety of activities including:
Be sure to check out our photos!
Still have questions? Please email us or post them to our wall and we'll gladly answer them!
Spartans for the Cure™ exists to spread breast cancer awareness throughout Michigan State University’s campus and the community of East Lansing. The organization utilizes its strong student base to act as advocates in the fight to end breast cancer by educating others on the facts of breast health, engaging the community through a variety of events, and bettering the lives of those touched by breast cancer.


You have been invited to take part in a study of YOUR-STUDY. Your task will be to do THE-TASKS. It will be conducted by YOUR-NAME who is the principal investigator, at the YOUR-UNIVERSITY.
If you agree to be in this study, you will be asked to read inferences and assertions presented on a computer display and make judgments about them. Participation in this study will take about XX minutes to complete, and you will receive £X.X for your participation. We reserve the right to reject unsatisfactory submissions (e.g., too fast responses or merely guessing).
When you complete the study, a thorough verbal and written explanation of it will be provided. In addition, by agreeing to participate, you understand you must be 18 years or older to participate.
There are no known risks associated with your participation in this research beyond those of everyday life. Although you will receive no direct benefits, this research may help the investigator understand how people make certain inferences.
Confidentiality of your research records will be strictly maintained. We assign code numbers to each participant so that data is never directly linked to individual identity, and we are interested in group results rather than the responses of particular individuals. The anonymous data are kept in our laboratory and are only viewed by the investigators. These data files are kept on our computer indefinitely.
Taking part in this study is voluntary. Not taking part or withdrawing after the study has begun will result in no loss of services from YOUR-UNIVERSITY to which you are otherwise entitled.
If there is anything about the study or your participation that is unclear or that you do not understand, if you have questions or wish to report a research-related problem, you may contact YOUR-NAME, YOUR-EMAIL.
Please print a copy of this consent document to keep.


<?php
$engineer
=
'web'
;
?>
dishit-pala-40129a143
dishitpala
👋 Passionate to innovate things
. I am a person who enjoy bringing clarity to complex problems and always greedy to learn new technology
Master Of Computer Applications
L.J. Institute of Computer Application
Bachelor Of Computer Applications
L.J. Institute of Computer Application
Higher Secondary Certificate
K.G. Dholakiya School
Secondary School Certificate
Rosary High School


Update value
×
Opportunity Search
Margin
Market Name
Trade Units
Frequency
Bittrex API Key
Bittrex API Secret
Trade Blacklist
Profit Criteria
Ticker Trade Ceiling
Minimum gain allowed
Trend Search Criteria
Percent Increase
Account Info
×
Trending
×
bittrex client
Update Settings
Account
Trends
Check Rate
Auto Trade
Trade
Cancel Trade
Ticker Updates
Profit Opportunities


These bikes are ideal for beginners as they are the jack of all trades with many different useful features. Adventure Bikes tend to include long travel suspension, a screen that is perfect for navigation and maintenance. The bike also has alot of protection from the wind and crash protection with handguards and can be used offroad though it is not as effective as a offroad bike. Finally the bike includes Storage for luggage This makes the bike ideal for traveling and commuting.
These bikes are ideal for people who want a bike only for touring long distances the bike is perfect for carrying a large amount of luggage and includes the most comfort for both people on the bike. The bike can carry large amounts of camping gear and are built to have the range to carry it and go long distances.Howver these bikes are the heaviest out of all the types of bikes due to the amount it is designed to carry but should be considered if the bike is used for long travels with alot on it.
While these are not bikes scooters are a good choice for people who want to move onto using bikes but dont have to confidence to spend alot of money on one this makes them ideal to learn and practice on. Scooters also include plenty of storage and confy seating making them good for regular everyday use aswell.
These are Rally Bikes that are designed for tracks and tarmac and are perfect for people who want a cheap bike to use in an off road environment this is because they are lightweight and are optimised with travel suspension allowing for comfort on dirt, hills and jumps as well as smaller on roads and trails.


Your level of involvement is how far you have gone in the pastor seeds family.
Level of involvement or
Position you occupy.
-
One of the Excos:
you belong to the management team
of the edo provine 3 pastor seeds family, Please fill in Excos
-
Just a Seed:
a old or seed
(not one of the excos). Please fill in Member
-
New to psf:
Joining the edo province 3 pastors seed family for the first time,
Please fill in New Member


DESDM-Dash
Production Summary
Testing Summary
Report Archive
Supernova Summary
Coadd Map
DTS
System
Statistics
Hung Jobs
{% block content %}{% endblock %}


 You have no control over your abilities so make the most of what you have
control over to defeat the scientist's minions escape the lair.
How to play: Arrow keys to move.


Deleting a Coupon
How to delete a Store coupon.
- Go to the Store Admin module.
- Click the Coupons link.
- Click the Edit link beside the required coupon.
- Click the Delete link located at the base of the page.
-
Click the OK button confirm.


Returns information about the currently authenticated user's session. If the caller is not authenticated they will get a 401 Unauthorized status code.
Note that it is generally preferrable to use HTTP BASIC authentication with the REST API. However, this resource may be used to mimic the behaviour of SYMPHONY's log-in page (e.g. to display log-in errors to a user).
{
"response": {
"success": true,
"msg": "",
"result": {
"uc_id": 16,
"username": "TESSA LASTNAME",
"valid_until": null,
"effective_date": "2016-06-21T20:03:21.000Z",
"role_id": "",
"EmpName": "Credit Union, Holiday Coast",
"isActive": 1,
"StoreInfo": null,
"isOwner": 1,
"date_created": "2016-06-21T20:03:21.000Z",
"date_updated": null,
"profile": {
"person_id": 34,
"lastname": "Credit Union",
"firstname": "Holiday Coast",
"isActive": 1,
"store_id": null,
"image": "http://<IP_ADDRESS>:5001/null",
"mobile": null,
"address": "Westfield Burwood,Shop 323, Level 2, 100 Burwood Road Westfield Burwood,",
"address2": null,
"email"<EMAIL_ADDRESS>"displayName": "Holiday Coast Credit Union",
"timeZone": "AUS Eastern Standard Time",
"locale": null,
"avatarUrls": null,
"per_type_id": 2,
"country": "Australia",
"state": "Building 1 301 Burwood Highway",
"city": "Burwood VIC",
"zipcode": "3125",
"isSubscriber": 0,
"date_start": null,
"date_end": null,
"date_created": "2016-06-21T20:03:21.000Z",
"_id": "bd13631c-38f8-11e6-b95a-38c98626bd93",
"company_id": null,
"person_type": "Customer"
},
"subscriptions": [
{
"sub_id": 12,
"sr_id": 6,
"person_id": 34,
"uc_id": 16,
"company_name": "TESSA",
"subscriptionKey": "jeJMH2vWAQocOrat0bu1yqLJg1X0xdYZ"
}
]
}
},
"statusCode": 200
}
{
"response": {
"msg": "Invalid Request..Authorization Token required",
"success": false,
"result": null
},
"statusCode": 400
}


Quick Background
- Sierra’s Direct SQL Access feature allows us to:
- Quickly and efficiently target and extract real-time data from the Sierra ILS.
- Organize data in logical and useful ways
Quick Background (cont.)
- Why save / preserve data from Sierra? (cont.)
- Cache Sierra data:
- For use in an application instead of running an “expensive query” to deliver content
- For use in an application where holding onto data which may otherwise be destroyed or transformed by the Sierra application itself
Understanding Sierra’s database views and data
- Some data in Sierra stays more static
(think of a “receipt”, or log of transactions)
Understanding Sierra’s database views and data (cont.)
- Circulation transactions are created in the database table and remain static
- Rows are deleted from the table after a certain period of time (2 weeks is the default, but this can be extended by iii upon request)
-- get some info about our circ_trans dates
SELECT
NOW()::TIMESTAMP WITH TIME ZONE as now_gmt,
MAX(c.transaction_gmt)::TIMESTAMP WITH TIME ZONE AS max,
MIN(c.transaction_gmt)::TIMESTAMP WITH TIME ZONE AS min,
AGE(MIN(c.transaction_gmt)) AS earliest_transaction_age
FROM
sierra_view.circ_trans as c
Understanding Sierra’s database views and data (cont.)
- Other data is more variable or is a direct representation that describes a particular state of a record or process in the ILS.
Understanding Sierra’s database views and data (cont.)
- The state of the hold is defined in the Sierra database
-
Data changes depending on the state or status
of the hold, and is then removed from the database when the
hold is deleted, filled or expires
-- this will select Ray Voelker's hold information from the
-- Sierra SQL database
SELECT
h.id,
h.patron_record_id,
h.record_id,
h.status,
h.pickup_location_code
FROM
sierra_view.hold as h
WHERE
h.patron_record_id =<PHONE_NUMBER>91;
How to cache / transform / preserve data from Sierra?
- No shortage of options!
- pgAdmin is a popular choice for a desktop client
www.pgadmin.org
- "Execute query, write result to file"
Creates a .csv file from the results
How to cache / transform / preserve data from Sierra? (cont.)
- Many programming languages provide access to PostgreSQL via their libraries:
How to cache / transform / preserve data from Sierra? (cont.)
- My method consists of the following overview:
- Use Python to connect to Sierra’s database
- Issue SQL statement on Sierra's database to target and compile the data for extraction
How to cache / transform / preserve data from Sierra? (cont.)
- My method consists of the following overview (cont.):
- Export result data to either a .csv file, and/or directly into a SQLite database
- .csv files are easy to later load into an SQLite database, spreadsheet, or other data warehouse tool
How to cache / transform / preserve data from Sierra? (cont.)
SQLite Database: sqlite.org
SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine.
How to cache / transform / preserve data from Sierra? (cont.)
SQLite Database (cont.)
- SQLite database engine is a great tool for caching data:
- Stores and organizes large amounts of data quickly and efficiently
- You don’t have to set up and maintain a server (data is portable; entire database is contained in a single, cross-platform file)
How to cache / transform / preserve data from Sierra? (cont.)
SQLite Database (cont.)
- Ability and flexibility to build SQL queries and applications that directly use the data that you’ve collected
- Has a useful desktop tool: sqlitebrowser.org
- It’s included in the Python Standard Library!
# Python sample code to create database,
# create a table, and then insert some data
# note: sqlite3 is part of the Python Standard Library
import sqlite3
# create the database
conn = sqlite3.connect('example.db')
cursor = conn.cursor()
# create the table
cursor.execute("""CREATE TABLE IF NOT EXISTS `data`
( `id` INTEGER PRIMARY KEY AUTOINCREMENT,
`input` TEXT )""")
# insert some data
cursor.execute("""INSERT INTO data (`input`)
VALUES ('sample text')""")
# commit and close the connection
conn.commit()
conn.close()
Examples:
- Collection Analysis / Circulation Data Analysis
- intended for use with the CollectionHQ service, but can be adapted for local use
- Patron Savings Calculator
- intended to display information on the Encore patron account information page about how much money has been "saved" by using the library
Examples: (cont.)
- Hold Shelf Delivery Matrix Report
- intended to produce a spreadsheet report of items for hold shelf locations (ready for patron pickup) and from where they originated
- Mapping Geo Data from Patron Address Data and Circulation Transaction Data
- intended to take geocoded patron address data and produce a visualization by plotting it on a map
Example 1
Collection Analysis / Circulation Data Analysis
- github.com/plch/collection-analysis
- This application was built for the purpose of automatically preserving and sending data from the Sierra database to the CollectionHQ service via FTP
Collection Analysis / Circulation Data Analysis (cont.)
- Three main groups of data are targeted for export:
- Bibliographic Record Data:
temp_table-bib_data.sql
Fields exported include: bib record number, control numbers (var fields tagged 'o'), isbn, call numbers, and a few other metadata fields related to the bib record
Collection Analysis / Circulation Data Analysis (cont.)
- Three main groups of data are targeted for export: (cont.)
- Item Record Data:
temp_table-item_data.sql
Fields exported include: item record number, bib record number, circulation information, price, and a few other metadata fields related to the item record
Collection Analysis / Circulation Data Analysis (cont.)
- Three main groups of data are targeted for export: (cont.)
- Hold Data:
temp_table-hold_data.sql
Weekly snapshot of bib-level holds. It is organized by title (bib record number), and then each title has a list of holds with related metadata for each hold (patron number, pickup location, created date, expiration date, etc)
Collection Analysis / Circulation Data Analysis (cont.)
- Overview of the process:
- Create and open .csv files to hold data output and/or open local database (if it’s useful to place data into local SQLite database)
- Connect to remote Sierra database, and create the temporary tables that will be used for exporting
Collection Analysis / Circulation Data Analysis (cont.)
- Overview of the process (cont.):
- Generate data output from the Sierra database temporary tables, and write the output to a .csv file and/or to a local SQLite database
- Send data via FTP
- full export script
can be found in the public github repository
for this project
Example 2
Patron Savings Calculator
- github.com/plch/patron-savings-calculator
-
This application was designed to work with the iii discovery layer Encore's account detail page,
to display how much a patron has "saved" by borrowing from the library
Patron Savings Calculator (cont.)
-
Cached “savings” information is based on the patron record number
and can be output in multiple formats (based on this application's custom URL endpoints):
- JSON
/api/v1/patron_savings/2198439
{
"count_titles": 118,
"min_date_epoch":<PHONE_NUMBER>,
"patron_record_num": 2198439,
"total_savings": 2109.2799999999997
}
Patron Savings Calculator (cont.)
-
Cached “savings” information is based on the patron record number
and can be output in multiple formats (based on this application's custom URL endpoints):
Patron Savings Calculator (cont.)
- About this very simple RESTful API
-
Written as a Python / Flask application:
Patron Savings Calculator (cont.)
- About this very simple RESTful API (cont)
Patron Savings Calculator (cont.)
- About this very simple RESTful API (cont)
Patron Savings Calculator (cont.)
About the `update.py` script :
- Script starts by looking at the last entry it received from the Sierra database
- A query is constructed to extract relevant data from the Sierra database that is more recent than that last entry in the local database
- The local database is updated with the fresh data from the Sierra database
Patron Savings Calculator (cont.)
A note about privacy / protection / obfuscation of this data:
- No title information is saved in the local database, other than a hashed bib record id
- Hashed bib record id is stored to avoid duplicating the price information when a title is checked out multiple times, and to differentiate titles from one another in the local database
Patron Savings Calculator (cont.)
A note about obfuscation with this data (cont.):
- No patron information, other than the patron record number, is stored in the local database
- Only price and number of titles checked out are surfaced via the RESTful API
Example 3
Hold Shelf Delivery Matrix Report
- github.com/plch/plch-holds-shelf
- The purpose of this application is to create a spreadsheet that displays
items delivered to a hold shelf location, and from what location they came
Hold Shelf Delivery Matrix Report (cont.)
Hold Shelf Delivery Matrix Report (cont.)
SELECT FROM `sierra_view.hold` WHERE `status` =
| code |
definition |
| "b" |
Bib hold ready for pickup |
| "j" |
Volume hold ready for pickup |
| "i" |
Item hold ready for pickup |
Hold Shelf Delivery Matrix Report (cont.)
- Source location:
-
`checkin_statistics_group_code_num`
found in `sierra_view.item_record` table view
Hold Shelf Delivery Matrix Report (cont.)
- Destination location:
- `pickup_location_code`
found in `sierra_view.hold`
Hold Shelf Delivery Matrix Report (cont.)
-
Note: the source value of `location_code` comes from
`sierra_view.statistic_group_myuser`
using `checkin_statistics_group_code_num`
effectively giving us the pickup location from the stat group code num
Hold Shelf Delivery Matrix Report (cont.)
- Do not insert duplicate rows of hold data...
- We could build a complicated set of comparisons of the remotely selected data to our local data ...
- Or, we could let the databases do all the work!
- Create a hash of the entire hold row, use that value as the unique primary key in the local database table
Hold Shelf Delivery Matrix Report (cont.)
Local SQLite table creation (simplified)
-- local SQLite table creation (simplified) ...
CREATE TABLE IF NOT EXISTS "data" (
`hash_row` TEXT UNIQUE PRIMARY KEY
-- more columns created below ...
);
Hold Shelf Delivery Matrix Report (cont.)
Remote Sierra database query (simplified)
-- remote Sierra database query (simplified) ...
SELECT
MD5(CAST((h.*) AS TEXT)) AS hash_row
-- more columns of data selected below
FROM
sierra_view.hold AS h
WHERE
h.status IN(
'b', 'j', 'i'
);
Hold Shelf Delivery Matrix Report (cont.)
Remote Sierra database query (simplified) output:
Hold Shelf Delivery Matrix Report (cont.)
Local SQLite table inserting the retrieved data (simplified):
INSERT OR IGNORE INTO data (
hash_row
)
VALUES ('59752190f26bda0ec17167010cc6619f'),
('59752190f26bda0ec17167010cc6619f'),
('ce971535718d416fd09e9266797c9374');
SELECT * FROM DATA;
Hold Shelf Delivery Matrix Report (cont.)
- Overview of the process: (this should look familiar)
- Connect to our local database, and create table if it doesn’t exist. Also, establish connection to the remote Sierra database
- Query the Sierra ‘hold’ table for rows that have status of ‘i’, ‘j’, or ‘b’; this indicates that there is a item hold, volume hold, or bib hold ready for pickup
Hold Shelf Delivery Matrix Report (cont.)
- Overview of the process: (cont.)
- Insert retrieved rows (or ignore duplicate rows as explained previously) to the local SQLite database, then close all connections
- Set the update of local data to happen frequently (every 5 minutes via CRON is a good method for doing this)
Hold Shelf Delivery Matrix Report (cont.)
Hold Shelf Delivery Matrix Report (cont.)
- Exporting / Producing the report (cont.)
- Import the .csv file into LibreOffice Calc (or Excel) and perform a pivot on the data:
Hold Shelf Delivery Matrix Report (cont.)
- Exporting / Producing the report (cont.)
Hold Shelf Delivery Matrix Report (cont.)
- Exporting / Producing the report (cont.)
Hold Shelf Delivery Matrix Report (cont.)
- Exporting / Producing the report (cont.)
Example 4
Mapping Geo Data from Patron Address Data and Circulation Transaction Data
- The purpose of this process is to plot patron locations and branch locations on a map based on latitude / longitude coordinates derived from mailing address data
- This is a work in progress!
Mapping Geo Data (cont.)
- Cached data is contained in an SQLite database
-
Circulation data
(weekly export of `sierra_view.circ_trans` table view)
-
Patron data
(weekly export of relevant patron information from multiple table views)
Mapping Geo Data (cont.)
-
Geocoding Patron Street Addresses:
- Patron address data (patron_record_id, street number, street name, city, zip) are exported to a .csv file
Mapping Geo Data (cont.)
- Possible Geocoding Services:
Mapping Geo Data (cont.)
-
SmartyStreets has some very user-friendly services for bulk upload / download of address data for verification and geocoding
-
SmartyStreets may be able to offer a discounted / free service to libraries that allow for
bulk verification / geocoding as well as on-the-fly verification and auto-corrected address
inputs for things such as web input forms
Mapping Geo Data (cont.)
- SmartyStreets list service returns .csv data back with relevant address information, identified by the unique ID (`patron_record_id`) that was provided
- We may easily load this into the local SQLite database with the import csv feature (from the GUI)
Mapping Geo Data (cont.)
- There are very good data analysis / visualization tools available for Python:
- PyViz
pyviz.org
- A Conda metapackage "pyviz"
- Makes data visualization in Python easier to use


16:24
Stop
Rewind
Started
23:34
Elapsed
13:36
Update Style - #20
-
task-list-app4dEdit history - #19
-
task-list-app4dUpdate Style - #20
-
task-list-app6dDocumentation - #21
-
task-list-app6dStore project in task history - #4
-
task-list-app2wIdle detection - #7
- status
- Refreshing task data
- Changed task
- Changed task
- Changed task
- Changed task
- Changed task


My name is Keyasha, but you can call me KB. I love the water, chillaxin, and tv.
Most especially my new fav shows and the ones that I need to catch up with.
"The will of God will never take you where the grace of God cannot protect you" - Unknown
I have a 2013 Mitsubishi Outlander Sport, it's pearl white. One day I would love to own a convertible "something" car still to be determined but most likely a mustang of some type.
| Decimal | Hexadecimal |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
| A | A |
| B | B |
| C | C |
| D | D |
| E | E |
| F | F |


--- layout: post status: publish published: true title: Poseidon's Kiss - Episode 8.45 author: display_name: Corey Fineran login: Corey email<EMAIL_ADDRESS>url: '' author_login: Corey author_email<EMAIL_ADDRESS>wordpress_id: 11998 wordpress_url: http://ivyenvy.com/?p=11998 date: '2016-08-14 21:02:53 +0000' date_gmt: '2016-08-15 02:02:53 +0000' categories: - Podcast tags: [] comments: [] ---
This is the annual "Trying to recover from the Ivy Envy Weekend at the Lake" episode. We had a blast hanging out with listeners this weekend and we share a few stories.
Because of Saturday's game and Pedro Strop's injury earlier in the week, we talk a fair amount about the bullpen. We also discuss this Cubs/Cardinals series.
Kurt has a Scary Stat of the Week and we have a few Internet Muscle Flexes.


Livelog Demo
Open the livelog page with input form.
Livelog with input form
Open the livelog page with a given file.
LIVELOG_MOCK
Just a counter to see livelog and page scrolling
COMMAND_DMESG
Linux only: Pipe output of `dmesg --follow`.
COMMAND_PS
Linux only: Pipe output of `ps a`.
{{ filename_pytest }}
You may start
run_Pytests.sh
to see the live update.
{{ filename_test }}
A Logfile with highlighting of ERROR, WARNING and INFO


Holding climate change summit in Madrid a challenge but also an opportunity: Spanish minister
MADRID (Reuters) - The last-minute switch to hold the U.N. climate change talks in Madrid will offer a great challenge, but also an “amazing” opportunity to ensure sustainable finance is part of the agenda, Spain’s acting economy minister said on Tuesday.
The challenge posed by climate change will require both public and private investment, Nadia Calvino told a conference in Madrid. “We have assessed that the investment needed to tackle the ecological transition in Spain only amounts to around 235 billion euros from now until 2030.”
The talks, known formally as COP25, will be held Dec. 2-13, as originally planned, but in Madrid - more than 10,000 kilometers (6,000 miles) away from the Chilean capital of Santiago where they were initially meant to take place.


SECTION NAME
Story Title
SECTION NAME
Story Title
Latest news >
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
Hard Fork >
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
Apps >
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
Gear >
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
Tech >
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
Creative >
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.
Creative >
-
This is the Story Title. It is Very Interesting and Will Entice Readers to Click on it.


> Kelvin Liang
I previously worked as a system admin, and am now a web developer.
I build website today and satisfaction tomorrow.
Projects
My Calculator
A ReactJS project built to practice basic ReactJS concepts such as components, state and props, event handling, and JSX.
Weather Now
Built with JavaScript, the app implements concepts such OOP (Object Oriented Programming), MVC (Model View Controllers) and factory functions.
Battle Ship Game
Building a strategy game AI algorithm was the key challenge in this project. I conquered it with TDD(Test-Driven Development).
Social Network
You got a startup idea? I can help you build it with Ruby On Rails. I built this fully functional Social Network app in less a month.
Core Features: SignUp/Login User (w or w/o Facebook ID), Post with Picture, Comment & Like, Add/Search Friends.


Provides functions for accessing and retrieving data from the Google Analytics APIs (https://developers.google.com/analytics/). Supports OAuth 2.0 authorization. Package provides access to the Management, Core Reporting, Multi-Channel Funnels Reporting, Real Time Reporting and Metadata APIs. Access to all the Google Analytics accounts which the user has access to. Auto-pagination to return more than 10,000 rows of the results by combining multiple data requests. Also package provides shiny app to explore the core reporting API dimensions and metrics.
| Version: | 0.4.2 |
| Depends: | R (≥ 3.2.0) |
| Imports: | jsonlite, httr (≥ 1.1.0), plyr, lubridate |
| Suggests: | knitr, rmarkdown, testthat, shiny |
| Published: | 2016-04-08 |
| Author: | Artem Klevtsov [aut, cre], Philipp Upravitelev [ctb], Olga Shramko [ctb] |
| Maintainer: | Artem Klevtsov <a.a.klevtsov at gmail.com> |
| BugReports: | https://github.com/artemklevtsov/RGA/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/artemklevtsov/RGA |
| NeedsCompilation: | no |
| Materials: | README NEWS |
| In views: | WebTechnologies |
| CRAN checks: | RGA results |
| Reference manual: | RGA.pdf |
| Vignettes: |
Authorization Management API Metadata API Reporting API |
| Package source: | RGA_0.4.2.tar.gz |
| Windows binaries: | r-devel: RGA_0.4.2.zip, r-release: RGA_0.4.2.zip, r-oldrel: RGA_0.4.2.zip |
| OS X binaries: | r-release: RGA_0.4.2.tgz, r-oldrel: RGA_0.4.2.tgz |
| Old sources: | RGA archive |
Please use the canonical form https://CRAN.R-project.org/package=RGA to link to this page.


Customizable analog clock
Randomized meteor shower that fills the canvas with flashes of light
A very simple illustration of John Horton Conway's Game of Life. The "game board" starts with a random set of starting cells.
Just some fun with polar coordinates and simple geometery.
Customizable spinning wheel of perplexing patterns based on a fun gif I once saw.
Generates random characters for Dungeons and Dragons fifth edition. Giving a few simple features to describe when you have to make someone up on the spot.


{% load staticfiles %}
Oh Snap!
This isn't the page you were looking for! :(
Head back on to the home page?


Let's face it: humans are fallible. I'm no exception. So there's no way to guarantee this library is free of security holes. If you find one, please report it to me. I'll fix it as soon as possible.
That said, security is a top-priority issue for me. I'm using Dependabot, Snyk, and Mend Bolt to keep the dependencies up-to-date and to notify me about security issues. The result is a flood of false positives, but at least I know the issues and can decide whether they are relevant.
ngx-extended-pdf-viewer uses a fork of pdf.js, which is the core of this project. pdf.js is a very mature library, it's the PDF viewer of Firefox, and many other projects use it. Generally speaking, the quality of pdf.js is remarkable. But of course, even pdf.js is maintained by fallible humans, and it's been subject to security issues in the past.
I suppose by now you know why ngx-extended-pdf-viewer doesn't ship with any warranty, so I recommend checking public vulnerability reports for pdf.js and ngx-extended-pdf-viewer every once in a while. For example, www.cvedetails.com or Snyk (pdf.js), Snyk (ngx-extended-pdf-viewer), or Wordfence are good starting points.
Sonarcloud monitors ngx-extended-pdf-viewer. The idea is that I check the results and heed them. As things go, I often forget to do so. Feel free to nudge me if I'm lazy again!
With very few exceptions, I never maintain old versions of ngx-extended-pdf-viewer. Every improvement goes into the main branch and nowhere else. So if you're using an old version, you're missing out on bug fixes and security improvements. I've aware that this is inconvenient or even annoying. It's what happens when you're maintaining a project alone in your spare time. I'd love to offer stuff like long-term support, and that's where you come into play. Can I talk you into contributing to this project?
Wrapping it up, I'm trying to address security as best as possible, but this library ships without warranties. You're using it at your own risk. Please update the latest version as soon as possible, and report security issues to me. And consider supporting me. That protects you from me getting ill and abandoning this project involuntarily. Thank you!


Divided Red Roads: industrial and passenger
Divided Red Roads.zip
(29.73 KiB) Downloaded 139 times
Screenshotbelow
IncludesRedroad Passenger and Redroad Industrial
Road typeregular passenger two way two span
flag normal false, speed 25.2
Twoway, tunnel bridges, light animation of road surface
Cost to build 50, monthly 4
industrial industrial two way two span
flag normal false, speed 21.2
Twoway, tunnel bridges, light animation of road surface
Cost to build 45, monthly 4
NoteEven though they are divided roads, each span is two way! Why? Don't you have it hard enough trying to get passenger cars and trucks to and from the same place using different roads?


A widget for producing 'progress aware' <hr> elements as text breaks in long documents, providing feedback which may be useful for the reader.
function init() {
ProgressHR();
}
window.onload = init;
...


John Doe
Your Health Expenses
Health Purchase Breakdown
Your transaction history helps understand how your spending on nutrition, healthcare and fitness changes over time. Click on a section to see how that spending affects your physical health.
| 44% | |
| 38% | |
| 18% |
NUTRITION
Research shows that the more frequently you eat meals you have prepared yourself the less likely you are to suffer from diet related illnesses such as diabetes and heart disease. [Center for Disease Control] The table below shows you the most frequent food-related charges on your card over the last three months, by percentage of total food spend.
Top 5 Nutrition Purchases
- Arlene’s Grocery: 12.1%
- Taqueriea: 9.3%
- Rosie’s Pizza: 8.5%
- Just Salad: 6.2%
- Maoz Falafel: 5.1%
HEALTHCARE
Healthcare is constantly cited as the biggest unplanned expense American consumers have. The more you do to look after your health, the lower the risk is that you’ll be hit with these unexpected costs. Here’s a look back at your last 12 months of healthcare expenses; keeping them low is our goal.
Top 5 Healthcare Purchases
- Midtown Physical Therapy Center: 22%
- NYU Surgical Center: 21%
- NYT MRI Services:15%
- CVS Pharmacy: 6%
- Murray Hill Dentistry: 5%
FITNESS
We view money spent on maintaining your fitness, both physical and mental, as important preventive work that helps decrease your financial work. Staying consistent is key; a lot of spending in a short period of time is not as important as less spending steadily over time. Here’s a look at your last 12 months of fitness expenses.
Top 5 Fitness Purchases
- National Tennis Center: 22%
- West Side Tennis Club: 21%
- New York Sports Club: 8%
- Paragon Sports: 7%
- Grand Central Racket: 7%
Choose Challenge
Choose a week-long challenges to improve your health and earn rewards points.
| Challenge | Reward | Completed? |
|---|---|---|
| Walk 10,000 steps in 1 week | 2,000 points | |
| Increase % of nutrition spend on groceries | 2,000 points | |
| Enter dietary information every day next week | 2,000 points | |
| Sleep for seven+ hours a night five days next week | 2,000 points | |
| Go to yoga three times next week | 2,000 points |
Link to your Apps
Link your accounts from any of these apps to earn rewards points and unlock additional challenges. The more apps you add the more data sources we can incorporate in our understanding and tracking of your health.
| Linked? | App | |
|---|---|---|
| FitBit | ||
| RunKeeper | ||
| MyFitnessPal |


Istanbul's Sabiha Gökçen airport launches first long-distance flight
by DAILY SABAHIstanbul's Sabiha Gökçen Airport, located on the city's Asian side, welcomed its first long-haul flight on Saturday.
The Malaysia Airlines flight landed at the airport at noon. The Airbus A330 aircraft was welcomed with a water salute to mark the occasion.
The flight crew was greeted with bouquets and the passengers received some Turkish delight. It was followed by a cocktail where a custom made cake was cut.
The number of Turkey-Malaysia flights has increased in recent years. The weekly flights from Sabiha Gökçen Airport will be on Saturdays until Jan. 11, 2020.
With the Malaysia Airlines flight, the airport's number of international destinations reached 128. Some 49 foreign airlines currently operate flights to Istanbul's second airport.


Joaquin Phoenix admits he feared getting 'locked into' Joker role
Joaquin Phoenix feared getting locked into a Joker franchise before he accepted the role.
The star recently spoke about the supervillain flick, that earned a whopping $1billion (£771,475,000) at the box office.
But despite its success, it turns out the 45-year-old was reluctant to play the comic book character.
Chatting to the Los Angeles Times, the actor opened up on his first impressions of the movie when he was offered the job.
He told the publication: ‘I remember, like eight years ago, I was told, “Movies are changing. They’re not making the movies that you want to make, so you’ve got to do one of these.”
‘It makes sense. It probably is a good strategy. But for me, I guess the fear was that you’d get locked into doing something repeatedly that you don’t really care about, that doesn’t motivate you or excite you.’
But, it didn’t take long to convince Joaquin that he had done the right thing, as it only took a matter of weeks before he was asking the directer, Todd Phillips for a sequel.
Advertisement Advertisement
‘In the second week or third week of shooting, I was like, “Todd, can you start working on a sequel? There’s way too much to explore.” It was kind of in jest – but not really,’ he said.
‘I basically said, “You could take this character and put him in any movie.”‘
And it seems as though his wish has been granted, as it was recently rumoured a second movie was in the works.
Earlier this week, it was reported that there could be a sequel following the box office success.
Phillips is said to be in talks to return as director for the sequel and is thought to be writing the script with Scott Silver, who also worked on this year’s Joker.
While it’s been claimed that the studio rejected Phillips’ original pitch of tackling several origin stories for different characters, it has been reported that he could have the rights to one other DC story.
 Yet.
Got a showbiz story?
If you've got a story, video or pictures get in touch with the Metro.co.uk Entertainment team by emailing us<EMAIL_ADDRESS>calling 020 3615 2145 or by visiting our Submit Stuff page - we'd love to hear from you.


COGS¶
COGS lets you specify your information model in plain text. From this model, COGS generates rich documentation and multiple representations. Plain text specifications allow using industry-standard tools like git to manage collaboration.
The Convention-based Ontology Generation System (COGS) gives you a powerful, patterns-based way to build models. COGS enables a clean separation of concerns and gives you full control over markup for enjoyable, agile development. COGS includes many features that enable fast, test-driven development, allowing you to publish sophisticated models in a variety of formats.
COGS is a production framework for domain experts and groups who value ease of collaboration and low technical barriers for participation.
Output Formats¶
Publishable formats include:
- XML Schema
- OWL 2 (RDF Schema)
- OMG’s UML Normative XMI 2.4.2
- OMG’s UML XMI 2.5 with Diagrams and Diagram Exchange
- Sphinx HTML documentation and visualizations
- JSON Schema
- C# class library
- SVG and dot visualizations
- GraphQL schema language
Upcoming formats include:
- Class libraries for other languages
Quick Start¶
Get started quickly with the Quick Start guide for your platform.
| Platform | Quick Start |
|---|---|
| Windows | COGS Quick Start for Windows |
| Linux | COGS Quick Start for Linux |
| macOS | COGS Quick Start for macOS |
Modeler’s Guide¶
The Modeler’s Guide describes the folders and files that allow you to define your information model.
Technical Guide¶
The Technical Guide describes the COGS command line application, the publishers, and the technical details of the system.
Platforms¶
COGS runs on Windows, Linux, and macOS on the .NET Core 2.1 platform.


Plymouth Argyle's Jose Baxter gamble did not work out but it was worth trying
The 27-year-old midfielder has left the Pilgrims by mutual consent because of injury
by Chris ErringtonIn the end it did not work out for either Jose Baxter or Plymouth Argyle but it was worth a try.
The 27-year-old midfielder’s stay at Home Park was only a brief one, but even in that short time his technical ability was clear for all to see.
However, a troublesome calf injury which he could not shake off has led to him leaving the Pilgrims by mutual consent.
The short-term contract which Baxter signed just before the start of the season would have ended in January.
With no return from his injury in sight, as manager Ryan Lowe revealed during his media call at Home Park on Thursday, parting company now was sadly the sensible option.
It is a shame because Baxter showed in most of his five starts and seven substitute appearances for Argyle that when fully fit he would be a valuable asset.
He could never get fully fit, though, after arriving at Home Park so late in pre-season as his calf problem stopped him in his tracks.
Baxter said: “Because of a recurring calf injury that I have suffered this season, it seemed sensible to come to an agreement with the club so that I and they can both plan for the future.
“I am very grateful for everyone associated with Argyle for welcoming me with open arms.
“My stay has been short but memorable and it is a fantastic club with an amazing manager and coaching staff, great people who work behind the scenes and a fantastic Green Army following.
“I wish everyone at the club all the success in the world.”
Baxter, who burst onto the football scene as a teenage talent with Everton in the Premier League, has had well-documented off-the-pitch issues over recent years.
They have included two failed drugs tests and also having to deal with his mental health.
Nonetheless, Lowe was a huge admirer of the ability of Baxter and ready to give him a chance at Argyle.
It was a low-risk gamble on Lowe's part with a short-term contract until January agreed so that both parties could assess how it went before committing to any long-term deal.
As it turned out, Baxter’s stay at Home Park did not even last that long due to his persistent calf problem.
Lowe said: “We wish Jose all the best in his recovery from his injury and in his future career following that.”
The announcement that Baxter had left Argyle came on Thursday evening, and only hours after Lowe had spoken about the midfielder’s injury situation with the media.
Plymouth Live's unbeatable Argyle coverage
Keep an eye out on our social media pages for more Argyle news - we are on Twitter @HeraldPAFC and on Facebook Plymouth Live - Argyle
You can follow Argyle reporter Chris Errington on Twitter @ChrisErrington1 and on Facebook HeraldChris
Plymouth Live has launched a WhatsApp service dedicated to keeping you up to date with the latest Argyle news. Click here to join and follow the instructions on your phone.
Your number will not be shared with anyone else in the group. If you want more information on signing up, or if this link does not work click here.
At the time he talked to reporters there was no indication from the Pilgrims’ boss that Baxter would be moving on.
However, the pair had a discussion later in the day and they agreed to end his contract by mutual consent.
Had Baxter been able to get fully fit, Argyle would have had one of the best players in League Two on their hands.
Unfortunately, despite glimpses of his talent, Baxter’s time at Argyle will be seen as a case of what might have been.


a decoder that combines an asr decoder with a lm decode
More...
|
| def | __init__ (self, asr_decoder, lm_decoder, lm_weight) |
| | AsrLmDecoder constructor. More...
|
| |
| def | __call__ (self, hlfeat, encoder_inputs, numlabels, initial_state=None, initial_state_attention=False, is_training=False) |
| | Create the variables and do the forward computation. More...
|
| |
| def | zero_state (self, batch_size) |
| | get the listener zero state More...
|
| |
|
|
| asr_decoder |
| |
|
| lm_decoder |
| |
|
| lm_weight |
| |
a decoder that combines an asr decoder with a lm decode
§ __init__()
| def nabu.neuralnetworks.classifiers.asr_lm_classifier.AsrLmDecoder.__init__ |
( |
|
self, |
|
|
|
asr_decoder, |
|
|
|
lm_decoder, |
|
|
|
lm_weight |
|
) |
| |
AsrLmDecoder constructor.
- Parameters
-
| asr_decoder | the asr decoder object |
| lm_decoder | the language model decoder object |
| lm_weight | a value between 0 and 1, the weight of the language model |
§ __call__()
| def nabu.neuralnetworks.classifiers.asr_lm_classifier.AsrLmDecoder.__call__ |
( |
|
self, |
|
|
|
hlfeat, |
|
|
|
encoder_inputs, |
|
|
|
numlabels, |
|
|
|
initial_state = None , |
|
|
|
initial_state_attention = False , |
|
|
|
is_training = False |
|
) |
| |
Create the variables and do the forward computation.
- Parameters
-
| hlfeat | the high level features of shape [batch_size x hl_seq_length x feat_dim] |
| encoder_inputs | the one-hot encoded training targets of shape [batch_size x target_seq_length]. |
| numlabels | number of output labels |
| initial_state | the initial decoder state, could be usefull for |
| decoding | |
| initial_state_attention | whether attention has to be applied to the initital state to ge an initial context |
| is_training | whether or not the network is in training mode |
- Returns
- the output logits of the decoder as a [batch_size x target_seq_length x numlabels] tensor
- the final state of the listener
§ zero_state()
| def nabu.neuralnetworks.classifiers.asr_lm_classifier.AsrLmDecoder.zero_state |
( |
|
self, |
|
|
|
batch_size |
|
) |
| |
get the listener zero state
- Parameters
-
- Returns
- an rnn_cell zero state
The documentation for this class was generated from the following file:


Across: 1. Equip her for the fleet (6) 5. Follow socialism, in a roundabout way? (4 4) 9. Ordered last beastly king to get horse (8) 10. Father's average offspring (6) 11. We sprint around broken tors in snowy pursuits? (6 6) 12. No way back with such a tired action? (4) 14. Insect may be on ye hebe (8) 17. Mother is irate about racer (8) 18. Six-footer not in group (4) 20. I am unable ... car crashed ... fly me to hospital! (3 9) 23. Is road rage an illusion? (6) 24. I don't eat mashed up remedy (8) 25. Plunges into mess and mire! (8) 26. Doctor Blue returns with destructive fungus (3 3) Down: 2. Rodents are star turn (4) 3. A new local arrangement for pocket money (9) 4. Straightens wonky signal (6) 5. Camp comic gets bills after Kent hen goes mad! (7 8) 6. Revealing former smell is back inside (8) 7. Slow part of popular Gounod mass (5) 8. No return to TB in Gallic leadership (5 5) 12. Pam poses inside, holding me, after artist demonstrates sponging (10) 15. Sir Paul may sing about today tomorrow (9) 16. Force strollers to become risk-takers! (8) 19. Joined Edward behind group (6) 21. Stone and silver tea set (5) 22. German races between roundabouts (4)


Client Configuration
Client Configuration
This section describes the settings used by DistributedLog Write Proxy Client.
Different from core library, the proxy client uses a builder to configure its settings.
DistributedLogClient client = DistributedLogClientBuilder.newBuilder() .name("test-client") .clientId("test-client-id") .finagleNameStr("inet!localhost:8080") .statsReceiver(statsReceiver) .build();
Client Builder Settings
Common Settings
- name(string): The name of the distributedlog client.
- clientId(string): The client id used for the underneath finagle client. It is a string identifier that server will use to identify who are the client. So the server can book keep and optionally reject unknown clients.
- requestTimeoutMs(int): The maximum time that a request could take before claiming it as failure, in milliseconds.
- thriftmux(boolean): The flag to enable or disable using ThriftMux on the underneath channels.
- streamFailfast(boolean): The flag to enable or disable failfast the requests when the server responds stream-not-ready. A stream would be treated as not ready when it is initializing or rolling log segments. The setting is only take effects when the write proxy also enables failFastOnStreamNotReady.
Environment Settings
DistributedLog uses finagle Names to identify the network locations of write proxies. Names must be supplied when building a distributedlog client through finagleNameStr or finagleNameStrs.
- finagleNameStr(string): The finagle name to locate write proxies.
- finagleNameStrs(string, string...): A list of finagle names. It is typically used by the global replicated log wherever there are multiple regions of write proxies. The first parameter is the finagle name of local region; while the remaining parameters are the finagle names for remote regions.
Redirection Settings
DistributedLog client can redirect the requests to other write proxies when accessing a write proxy doesn't own the given stream. This section describes the settings related to redirection.
- redirectBackoffStartMs(int): The initial backoff for redirection, in milliseconds.
- redirectBackoffMaxMs(int): The maximum backoff for redirection, in milliseconds.
- maxRedirects(int): The maximum number of redirections that a request could take before claiming it as failure.
Channel Settings
DistributedLog client uses FinagleClient to establish the connections to the write proxy. A finagle client will be created via ClientBuilder for each write proxy.
- clientBuilder(ClientBuilder): The finagle client builder to build connection to each write proxy.
Ownership Cache Settings
DistributedLog client maintains a ownership cache locally to archieve stable deterministic request routing. Normally, the ownership cache is propagated after identified a new owner when performing stream related operations such as write. The client also does handshaking when initiating connections to a write proxy or periodically for fast failure detection. During handshaking, the client also pull the latest ownership mapping from write proxies to update its local cache, which it would help detecting ownership changes quickly, and avoid latency penalty introduced by redirection when ownership changes.
- handshakeWithClientInfo(boolean): The flag to enable or disable pulling ownership mapping during handshaking.
- periodicHandshakeIntervalMs(long): The periodic handshake interval in milliseconds. Every provided interval, the DL client will handshake with existing proxies. It would detect proxy failures during handshaking. If the interval is already greater than periodicOwnershipSyncIntervalMs, the handshake will pull the latest ownership mapping. Otherwise, it will not. The default value is 5 minutes. Setting it to 0 or negative number will disable this feature.
- periodicOwnershipSyncIntervalMs(long): The periodic ownership sync interval, in milliseconds. If periodic handshake is enabled, the handshake will sync ownership if the elapsed time is greater than the sync interval.
- streamNameRegex(string): The regex to match the stream names that the client cares about their ownerships.
Constraint Settings
- checksum(boolean): The flag to enable/disable checksum validation on requests that sent to proxy.
Stats Settings
- statsReceiver(StatsReceiver): The stats receiver used for collecting stats exposed by this client.
- streamStatsReceiver(StatsReceiver): The stats receiver used for collecting per stream stats exposed by this client.


Community Wishlist
Search for new games to share.
Comment Formatting
Syntax for writing comments.
FAQ
Frequently asked questions.
Guidelines
Community rules and guidelines.
Спасибо!
Comment has been collapsed.
Да пребудет с тобой Сила.
Спасибо!
Comment has been collapsed.
Да пребудет с тобой Сила.
Comment has been collapsed.


Download Apache Atlas 2.0.0 release sources, apache-atlas-2.0.0-sources.tar.gz, from downloads page. Then follow the instructions below to to build Apache Atlas.
tar xvfz apache-atlas-2.0.0-sources.tar.gz cd apache-atlas-sources-2.0.0/ export MAVEN_OPTS="-Xms2g -Xmx2g" mvn clean -DskipTests install
To create Apache Atlas package for deployment in an environment having functional HBase and Solr instances, build with the following command:
mvn clean -DskipTests package -Pdist
Above will build Atlas for an environment having functional HBase and Solr instances. Atlas needs to be setup with the following to run in this environment:
To create Apache Atlas package that includes HBase and Solr, build with the embedded-hbase-solr profile as shown below:
mvn clean -DskipTests package -Pdist,embedded-hbase-solr
Using the embedded-hbase-solr profile will configure Atlas so that an HBase instance and a Solr instance will be started and stopped along with the Atlas server by default.
Build will create following files, which are used to install Apache Atlas.
distro/target/apache-atlas-${project.version}-bin.tar.gz distro/target/apache-atlas-${project.version}-hive-hook.gz distro/target/apache-atlas-${project.version}-hbase-hook.tar.gz distro/target/apache-atlas-${project.version}-sqoop-hook.tar.gz distro/target/apache-atlas-${project.version}-storm-hook.tar.gz distro/target/apache-atlas-${project.version}-falcon-hook.tar.gz distro/target/apache-atlas-${project.version}-sources.tar.gz
tar -xzvf apache-atlas-${project.version}-server.tar.gz cd atlas-${project.version}
To run Apache Atlas with local Apache HBase & Apache Solr instances that are started/stopped along with Atlas start/stop, run following commands:
export MANAGE_LOCAL_HBASE=true export MANAGE_LOCAL_SOLR=true bin/atlas_start.py
curl -u username:password http://localhost:21000/api/atlas/admin/version {"Description":"Metadata Management and Data Governance Platform over Hadoop","Version":"2.0.0","Name":"apache-atlas"}
bin/quick_start.py Enter username for atlas :- Enter password for atlas :-
To stop Apache Atlas, run following command:
bin/atlas_stop.py
cd atlas-${project.version}</verbatim>
By default config directory used by Atlas is {package dir}/conf. To override this set environment variable ATLAS_CONF to the path of the conf dir.
Environment variables needed to run Atlas can be set in atlas-env.sh file in the conf directory. This file will be sourced by Atlas scripts before any commands are executed. The following environment variables are available to set.
# The java implementation to use. If JAVA_HOME is not found we expect java and jar to be in path #export JAVA_HOME= # any additional java opts you want to set. This will apply to both client and server operations #export ATLAS_OPTS= # any additional java opts that you want to set for client only #export ATLAS_CLIENT_OPTS= # java heap size we want to set for the client. Default is 1024MB #export ATLAS_CLIENT_HEAP= # any additional opts you want to set for atlas service. #export ATLAS_SERVER_OPTS= # java heap size we want to set for the atlas server. Default is 1024MB #export ATLAS_SERVER_HEAP= # What is is considered as atlas home dir. Default is the base location of the installed software #export ATLAS_HOME_DIR= # Where log files are stored. Defatult is logs directory under the base install location #export ATLAS_LOG_DIR= # Where pid files are stored. Defatult is logs directory under the base install location #export ATLAS_PID_DIR= # Where do you want to expand the war file. By Default it is in /server/webapp dir under the base install dir. #export ATLAS_EXPANDED_WEBAPP_DIR=
Settings to support large number of metadata objects
If you plan to store large number of metadata objects, it is recommended that you use values tuned for better GC performance of the JVM.
The following values are common server side options:
export ATLAS_SERVER_OPTS="-server -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+PrintTenuringDistribution -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dumps/atlas_server.hprof -Xloggc:logs/gc-worker.log -verbose:gc -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=1m -XX:+PrintGCDetails -XX:+PrintHeapAtGC -XX:+PrintGCTimeStamps"
The -XX:SoftRefLRUPolicyMSPerMB option was found to be particularly helpful to regulate GC performance for query heavy workloads with many concurrent users.
The following values are recommended for JDK 8:
export ATLAS_SERVER_HEAP="-Xms15360m -Xmx15360m -XX:MaxNewSize=5120m -XX:MetaspaceSize=100M -XX:MaxMetaspaceSize=512m"
NOTE for Mac OS users If you are using a Mac OS, you will need to configure the ATLAS_SERVER_OPTS (explained above).
In {package dir}/conf/atlas-env.sh uncomment the following line
#export ATLAS_SERVER_OPTS=
and change it to look as below
export ATLAS_SERVER_OPTS="-Djava.awt.headless=true -Djava.security.krb5.realm= -Djava.security.krb5.kdc="
HBase as the Storage Backend for the Graph Repository
By default, Atlas uses JanusGraph as the graph repository and is the only graph repository implementation available currently. The HBase versions currently supported are 1.1.x. For configuring ATLAS graph persistence on HBase, please see "Graph persistence engine - HBase" in the Configuration section for more details.
HBase tables used by Atlas can be set using the following configurations:
atlas.graph.storage.hbase.table=atlas atlas.audit.hbase.tablename=apache_atlas_entity_audit
Configuring SOLR as the Indexing Backend for the Graph Repository
By default, Atlas uses JanusGraph as the graph repository and is the only graph repository implementation available currently. For configuring JanusGraph to work with Solr, please follow the instructions below
$SOLR_HOME/bin/solr start -c -z <zookeeper_host:port> -p 8983
$SOLR_BIN/solr create -c vertex_index -d SOLR_CONF -shards #numShards -replicationFactor #replicationFactor $SOLR_BIN/solr create -c edge_index -d SOLR_CONF -shards #numShards -replicationFactor #replicationFactor $SOLR_BIN/solr create -c fulltext_index -d SOLR_CONF -shards #numShards -replicationFactor #replicationFactor
Note: If numShards and replicationFactor are not specified, they default to 1 which suffices if you are trying out solr with ATLAS on a single node instance. Otherwise specify numShards according to the number of hosts that are in the Solr cluster and the maxShardsPerNode configuration. The number of shards cannot exceed the total number of Solr nodes in your !SolrCloud cluster.
The number of replicas (replicationFactor) can be set according to the redundancy required.
Also note that solr will automatically be called to create the indexes when the Atlas server is started if the SOLR_BIN and SOLR_CONF environment variables are set and the search indexing backend is set to 'solr5'.
atlas.graph.index.search.backend=solr5 atlas.graph.index.search.solr.mode=cloud atlas.graph.index.search.solr.zookeeper-url=<the ZK quorum setup for solr as comma separated value> eg: <IP_ADDRESS>:2181,<IP_ADDRESS>:2181 atlas.graph.index.search.solr.zookeeper-connect-timeout=<SolrCloud Zookeeper Connection Timeout>. Default value is 60000 ms atlas.graph.index.search.solr.zookeeper-session-timeout=<SolrCloud Zookeeper Session Timeout>. Default value is 60000 ms
For more information on JanusGraph solr configuration , please refer http://docs.janusgraph.org/0.2.0/solr.html
Pre-requisites for running Solr in cloud mode * Memory - Solr is both memory and CPU intensive. Make sure the server running Solr has adequate memory, CPU and disk. Solr works well with 32GB RAM. Plan to provide as much memory as possible to Solr process * Disk - If the number of entities that need to be stored are large, plan to have at least 500 GB free space in the volume where Solr is going to store the index data * SolrCloud has support for replication and sharding. It is highly recommended to use SolrCloud with at least two Solr nodes running on different servers with replication enabled. If using SolrCloud, then you also need ZooKeeper installed and configured with 3 or 5 ZooKeeper nodes
Configuring Elasticsearch as the Indexing Backend for the Graph Repository (Tech Preview)
By default, Atlas uses JanusGraph as the graph repository and is the only graph repository implementation available currently. For configuring JanusGraph to work with Elasticsearch, please follow the instructions below
atlas.graph.index.search.backend=elasticsearch atlas.graph.index.search.hostname=<the hostname(s) of the Elasticsearch master nodes comma separated> atlas.graph.index.search.elasticsearch.client-only=true * Restart Atlas For more information on JanusGraph solr configuration , please refer http://docs.janusgraph.org/0.2.0/elasticsearch.html *Configuring Kafka Topics* Atlas uses Kafka to ingest metadata from other components at runtime. This is described in the [[Architecture][Architecture page]] in more detail. Depending on the configuration of Kafka, sometimes you might need to setup the topics explicitly before using Atlas. To do so, Atlas provides a script =bin/atlas_kafka_setup.py= which can be run from the Atlas server. In some environments, the hooks might start getting used first before Atlas server itself is setup. In such cases, the topics can be run on the hosts where hooks are installed using a similar script =hook-bin/atlas_kafka_setup_hook.py=. Both these use configuration in =atlas-application.properties= for setting up the topics. Please refer to the [[Configuration][Configuration page]] for these details. ---++++ Setting up Atlas There are a few steps that setup dependencies of Atlas. One such example is setting up the JanusGraph schema in the storage backend of choice. In a simple single server setup, these are automatically setup with default configuration when the server first accesses these dependencies. However, there are scenarios when we may want to run setup steps explicitly as one time operations. For example, in a multiple server scenario using [[HighAvailability][High Availability]], it is preferable to run setup steps from one of the server instances the first time, and then start the services. To run these steps one time, execute the command =bin/atlas_start.py -setup= from a single Atlas server instance. However, the Atlas server does take care of parallel executions of the setup steps. Also, running the setup steps multiple times is idempotent. Therefore, if one chooses to run the setup steps as part of server startup, for convenience, then they should enable the configuration option =atlas.server.run.setup.on.start= by defining it with the value =true= in the =atlas-application.properties= file. ---++++ Starting Atlas Server <verbatim> bin/atlas_start.py [-port <port>]
curl -v -u username:password http://localhost:21000/api/atlas/admin/version {"Version":"v0.1"}
bin/quick_start.py [<atlas endpoint>]
curl -v -u username:password http://localhost:21000/api/atlas/v2/types/typedefs/headers [ {"guid":"fa421be8-c21b-4cf8-a226-fdde559ad598","name":"Referenceable","category":"ENTITY"}, {"guid":"7f3f5712-521d-450d-9bb2-ba996b6f2a4e","name":"Asset","category":"ENTITY"}, {"guid":"84b02fa0-e2f4-4cc4-8b24-d2371cd00375","name":"DataSet","category":"ENTITY"}, {"guid":"f93975d5-5a5c-41da-ad9d-eb7c4f91a093","name":"Process","category":"ENTITY"}, {"guid":"79dcd1f9-f350-4f7b-b706-5bab416f8206","name":"Infrastructure","category":"ENTITY"} ]
curl -v -u username:password http://localhost:21000/api/atlas/v2/search/basic?typeName=hive_db { "queryType":"BASIC", "searchParameters":{ "typeName":"hive_db", "excludeDeletedEntities":false, "includeClassificationAttributes":false, "includeSubTypes":true, "includeSubClassifications":true, "limit":100, "offset":0 }, "entities":[ { "typeName":"hive_db", "guid":"5d900c19-094d-4681-8a86-4eb1d6ffbe89", "status":"ACTIVE", "displayText":"default", "classificationNames":[], "attributes":{ "owner":"public", "createTime":null, "qualifiedName":"default@cl1", "name":"default", "description":"Default Hive database" } }, { "typeName":"hive_db", "guid":"3a0b14b0-ab85-4b65-89f2-e418f3f7f77c", "status":"ACTIVE", "displayText":"finance", "classificationNames":[], "attributes":{ "owner":"hive", "createTime":null, "qualifiedName":"finance@cl1", "name":"finance", "description":null } } ] }
curl -v -u username:password http://localhost:21000/api/atlas/v2/search/dsl?query=hive_db%20where%20name='default' { "queryType":"DSL", "queryText":"hive_db where name='default'", "entities":[ { "typeName":"hive_db", "guid":"5d900c19-094d-4681-8a86-4eb1d6ffbe89", "status":"ACTIVE", "displayText":"default", "classificationNames":[], "attributes":{ "owner":"public", "createTime":null, "qualifiedName":"default@cl1", "name":"default", "description": "Default Hive database" } } ] }
If the setup of Atlas service fails due to any reason, the next run of setup (either by an explicit invocation of atlas_start.py -setup or by enabling the configuration option atlas.server.run.setup.on.start) will fail with a message such as A previous setup run may not have completed cleanly.. In such cases, you would need to manually ensure the setup can run and delete the Zookeeper node at /apache_atlas/setup_in_progress before attempting to run setup again.
If the setup failed due to HBase JanusGraph schema setup errors, it may be necessary to repair the HBase schema. If no data has been stored, one can also disable and drop the HBase tables used by Atlas and run setup again.


Advanced Media Analytics - Data Scientist - Mountain View, CA 94041
About Frequence:
Frequence is a leader in local advertising sales automation and workflow software. The platform increases sales velocity by removing routine tasks and creates personalized, multi-channel proposals and advertising insights. Frequence is 100% privately owned by its employees and has 160 team members across Engineering, Client Success, Operations, Creative, and Sales. We emphasize and value our collaborative, team-focused culture as we continue to grow as an organization.
About this role:
The Data Scientist will collaborate with the lead Data Scientist, BI developers, data engineering, and product development teams as well as senior management and other stakeholders on the development of core technologies. The position requires a results-driven individual who can thrive as an independent researcher and as a key player within a team.
What you’ll be doing:
-
Apply statistical and advanced techniques (e.g. logistic regression, random forest, neural networks) to develop both prototypes and scalable (i.e. efficient, automated) data analysis tools/procedures
-
Identifying patterns in large datasets and using that information to accomplish business objectives
-
Conduct basic ad-hoc analysis, building models, forecasting, etc
-
Apply marketing experimentation learnings to day-to-day campaign measurement and reporting; forecast impact and provide ongoing recommendations for optimization and efficiency
-
Define requirements, prototype, debug, optimize and productize our next generation algorithms
Required Qualifications & Skills:
-
PhD in Statistics or another quantitative field, or Master Degree with strong media analytics domain experience.
-
Strong working knowledge of classification algorithms, data analysis, and data structures
-
Have strong, practical programming and scripting skills (Python, R, Matlab, C, and/or C++)
-
Experience processing large data sets using Spark, Hive or other Big Data technologies
-
Experience and understanding of relational databases (Oracle, MySQL, etc)
-
Have deep statistical knowledge, utilizing in A/B testing, analyzing observational data, and modeling
Preferred Qualifications & Skills:
-
Experience with AWS technologies like Redshift, S3, EC2, Athena, Data Pipeline, & EMR
-
RTB or Media Analytics domain experience
Compensation:
-
Competitive salary
-
Stock options at a fast-growing, mid-stage startup company
-
401k
-
Health & dental benefits
-
Free catered lunches daily


SBBScheduledActivity
class SBBScheduledActivity : _SBBScheduledActivity, _SBBScheduledActivityProtocol
-
Is the scheduled activity completed?
Declaration
Swift
public var isCompleted: Bool { get }
-
Is the scheduled activity expired?
Declaration
Swift
public var isExpired: Bool { get }
-
Is the scheduled activity available now? This is different from whether or not the activity is available today. Instead, the activity is available now if it is not completed and the scheduled window of time is currently active.
For example, if the local time is 5:00pm, then the schedule with a window of 1:00pm - 2:00pm will return
false
and a schedule with a window of 4:00pm - 6:00pm will returntrue
.Declaration
Swift
public var isNow: Bool { get }
-
Is the schedule available at some time today?
Declaration
Swift
public var isToday: Bool { get }
-
Localized string for the currently scheduled time. This can be used to display the time window during which a schedule is available.
Declaration
Swift
public var scheduledTime: String { get }
-
Localized string for the expiration time. This can be used to display the time window during which a schedule is available (if the task expires today) or else to show the date and time when the schedule expires.
Declaration
Swift
public var expiresTime: String? { get }
-
Returns the identifier for the
SBBTaskReference
,SBBSurveyReference
, orSBBCompoundActivity
that is associated with this schedule.Declaration
Swift
@objc public dynamic var activityIdentifier: String? { get }
-
The UUID string from the scheduled activity
guid
.Declaration
Swift
@objc public dynamic var scheduleIdentifier: String { get }