Albany is the capital city of the U.S. state of New York, the seat of Albany County, and the central city of New York's Capital District.
Albany saw its first European settlement in 1614 on November Second and was officially chartered as a city in 1686. It became the capital of New York in 1797. It is one of the oldest surviving settlements from the original thirteen colonies, and the longest continuously chartered city in the United States.
Modern Albany was founded as the Dutch trading posts of Fort Nassau in 1614 and Fort Orange in 1624; the fur trade brought in a population that settled around Fort Orange and founded a village called Beverwijck. The English took over and renamed the city Albany in 1664, in honor of the then Duke of Albany, the future James II of England and James VII of Scotland. The city was officially chartered in 1686 with the issuance of the Dongan Charter, the oldest effective city charter in the United States and possibly the longest-running instrument of municipal government in the Western Hemisphere.
Albany is one of the first cities in the world to have installed public water mains, sewer lines, natural gas lines and electricity, bringing substantial new industry to the city and surrounding area during the 19th century. During the late 18th century and throughout most of the 19th, Albany was a center of transportation. It is located on the north end of the navigable Hudson River, was the original eastern terminus of the Erie Canal, and was home to some of the earliest railroad systems in the world. Albany's main exports at the time were beer, lumber, published works, and ironworks. Beginning in 1810, Albany was one of the ten most populous cities in the United States, a distinction that it held until the 1860 census.


Register
Email address
Please choose a username.
We'll never share your email with anyone else.
Password
Confirm Password
Register
Already have an account?
Sign in


Navbar
Home
(current)
Link
Disabled
Dropdown
Action
Another action
Something else here
0
Cart
Cart is empty
Item
Qty.
Price
Process to checkout


{{template "header" .}}
Project name:
{{ .ProjectName }}
Are you sure that you want to remove subject '{{.SubjectId}}' from the study?
Cancel and return to project


Case study
Deploying a standalone landing page site for Goodwill Dallas' annual fundraising event, THE LUNCH, with GoHugo.io
The Lunch, Goodwill Industries of Dallas' annual fundraising event, found wonderful success for its first two years – securing over $1.5m each year to, “... expand and enhance job training services.” For 2017, I suggested a revamp ... view project


Enter your rtsp link to the stream, for example: "rtsp://<IP_ADDRESS>:554/h264"
Have any suggestions to improve our player? Feel free to leave comments or ideas email<EMAIL_ADDRESS>View player log


Looking for a Designer !
I'm Cristino Murphy
Obviously I'm a Web Designer. Web Developer with over 3 years of experience. Experienced with all stages of the development cycle for dynamic web projects.
Cristino Murphy
I'm a Passionate Web Designer
Obviously I'm a Web Designer. Web Developer with over 3 years of experience. Experienced with all stages of the development cycle for dynamic web projects. The as opposed to using 'Content here, content here', making it look like readable English.
The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.
HOBBIES & INTERESTS
Obviously I'm a Web Designer. Experienced with all stages of the development cycle for dynamic web projects.
WHAT DO I OFFER ?
Obviously I'm a Web Designer. Experienced with all stages of the development cycle for dynamic web projects.
WORK PARTICIPATION
Obviously I'm a Web Designer. Experienced with all stages of the development cycle for dynamic web projects.
WORK EXPERTISE
Obviously I'm a Web Designer. Experienced with all stages of the development cycle for dynamic web projects.
MY PORTFOLIO
Obviously I'm a Web Designer. Experienced with all stages of the development cycle for dynamic web projects.
I AM SELLING
Obviously I'm a Web Designer. Experienced with all stages of the development cycle for dynamic web projects.
CLIENTS SAY
Obviously I'm a Web Designer. Experienced with all stages of the development cycle for dynamic web projects.
LATEST NEWS & BLOG
Obviously I'm a Web Designer. Experienced with all stages of the development cycle for dynamic web projects.
I Am Available For Freelancer Projects.
Obviously I'm a Web Designer. Experienced with all stages of the development cycle for dynamic web projects.
CONTACT ME
Obviously I'm a Web Designer. Experienced with all stages of the development cycle for dynamic web projects.


a filtered Model (DataView) as a data source instead of a simple array
grid reacting to model events (onRowCountChanged, onRowsChanged)
FAST DataView recalculation and real-time grid updating in response to data changes.
The grid holds 50'000 rows, yet you are able to sort, filter, scroll, navigate and edit as if it had 50
rows.


Inter-caste couple seek protection
by Staff ReporterDINDIGUL
A young couple, who had an inter-caste marriage, sought police protection from the Superintendent of Police here on Monday. They stated that they were facing threats from the parents and relatives of the girl who belongs to an intermediate caste.
“We got married in 2018 and I was living with the family of my husband in Gujiliamparai. As my husband belongs to Scheduled Caste, our parents objected to our marriage and after a few days, my parents and relatives from Karur, arrived at his home with weapons and took me back to my home by force,” said the girl.
“I escaped from my home last week and we are now living in different places to avoid trouble from my parents. We have already submitted petitions to the police and no action has been taken,” she said and sought protection.


{{message}}
{{ greet('afternoon') }}
youtube
classes from instance
i earn {{wage}} per hour
click to increase wage by 1
click to decrease wage by 1
click to increase wage by 5
click to decrease wage by 5
log event logo
{{ coords.x }},{{ coords.y }}
my name is {{name}}
dynamic css
example 1
ashish
example 2


Vip Access For Iphone Free Download And Software Reviews Cnet Download
Download Vip Access Symantec Corporation Full Size Png Image Pngkit
Https Www Ccwdata Org Documents 10280 19001850 Symantec Vip Token Download And Registration Guide Pdf
Vip Access For Iphone をapp Storeで
Symantec Vip Access Client Download Mac Peatix
Use Symantec Vip Access For Extra Protection On Ebay Paypal And Other Sites Ghacks Tech News
Symantec Vip Two Factor Authentication Anywhere
Vip Access For Ipad On The App Store
Vip Access Apps On Google Play
Vip Access App Store Page 1 Line 17qq Com
Http Crws Cunamutual Com Media 50ef9f34491447a28d6dbbda2ec87bdc Ashx
Https Www Selectbank Com Assets Files Gzyycftg
Symantec Sso
Installing Vip Enterprise Gateway On Windows
Https Ct1 Medstarhealth Org Content Uploads Sites 116 2018 12 Preparing For Two Factor Authentication To Log Into The Irb System Pdf Opt Id Oeu1603065600038r0<PHONE_NUMBER>048701
Vip Access For Iphone をapp Storeで
Http Crws Cunamutual Com Media 50ef9f34491447a28d6dbbda2ec87bdc Ashx
Vip Access For Windows 10 Free Download And Software Reviews Cnet Download
Http Www Shinkin Co Jp Ib Info Kojin 20170822 Vipupdate Pdf
Vip Two Factor Setup Academic It Security
How To Installation Symantec Vip Access Kentucky Installation Symantec Vip Access Download Symantec Vip Access Desktop Software Application Url Which Will Redirect User Pdf Document
Vip Access Apps On Google Play
Vip Access Desktopのご利用手順 南都銀行
Vpn Step 1 Academic It Security
Symantec Vip Download Downloadmeta
How To Add Passwordless Login To Symantec Vip Access Manager By James Smith Saaspass
Symantec Vip Desktop Page 1 Line 17qq Com
Symantec Vip Teckadmin
Https Docs Broadcom Com Doc Validation And Id Protection Access En


ABOUT ME:
I was born and in Nairobi. I've lived in Bururburu since i was born. I attended two primary schools. First I attended Sherpherds Junior School from baby class to class 4 then I joined Rockfields Junior school from class 5 to class 8 where I sat my KCPE examinations and managed 404 marks. I was the admitted to Moi Forces Academy from form 1 to Form 2. I transferred and joined Rockfields Senior School where I sat my KCSE and managed to score a B+. I decided to join Moringa school since I had an intrest in pursuing Computer Science in the University and needed a prep progromme to introduce me into the field.
MY HOBBIES;


Automatically start Revolver Tabs on browser startup.
Forces the window to full screen whenever a new tab is loaded.
Closes all other open tabs whenever a new tab is loaded.
Reopens the browser window if the user closes it.
Prevents the user from opening the context menu via right clicking.
Grab focus back from other browser windows.
Each URL should be formatted [rotateTime],[rotateTimeWithInteract],[URL]. Example 15,30,https://google.com
Each entry should be a regex. A match will allow the page content to load, otherwise the user will be redirected.
Rotation will pause if the browser has been interacted with within the time specified in the URLs list.
Base on Revolver - Tabs by Ben Hedrington Twitter: @benhedrington
Finger Icon from icons8.com


--- layout: archive title: Zulip Chat Archive permalink: /stream/113489-new-members/topic/Mac.20installation.html ---
I notice @Scott Morrison put up a nice short video on getting required dependencies, VS Code and Lean installed on Mac, here: https://www.youtube.com/watch?v=k8U6YOK7c0M
I also rewrote my cheap Windows installation page: https://xenaproject.wordpress.com/a-cheap-hack-to-get-lean-and-mathlib-running-on-a-windows-10-machine/ . I intend over the next day or two to make a link at the top of my blog pointing to various installation pages / posts, which are now randomly scattered online.
I'm still going to make the corresponding video for installation on Windows!
Be sure to ping me when you do. I am expecting this question to come up a fair bit at Imperial over the next few weeks
Okay, the video for installing on Windows 10 is now up! https://www.youtube.com/watch?v=2f_9Zetekd8&feature=youtu.be
@Kevin Buzzard Would it be possible for you to write a page for mathlib that links to the various tutorials and videos for installing lean and/or mathlib?
I will try to find the time today. On this thread we have Scott's two videos, there are my cheap and less cheap blog posts, there is some elan link somewhere... Is that it?
There's the official instructions of course!
It would also be good to have follow on instructions for people who followed Scott's instructions and want mathlib
Yes, I was thinking that's a separate video, that applies equally on Windows and macos, because it happens entirely within VS Code.
(That's part of the reason for setting up a usable terminal on Windows, so afterwards everything can be done from VS Code.)
(Although it occurs to me the Windows video should have included that one extra step, to hook up git bash as the default terminal instead of powershell.)
@Neil Strickland This thread contains two videos with installation instructions. Kevin is also updating his instructions. Would you mind adding links to these videos etc on your MO post? I think you pointed out a very good issue (that installation was horribly difficult). I also hope that we are addressing them now. What do you think?
Maybe the windows video should go in its own topic, for ease of finding?
Hopefully there will be permanent links to these soon from more prominent places...
I am just going to have an "installing lean" link at the top of my blog with multiple options
OK, so I have actually installed Lean and VS code as per @Scott Morrison 's video, and now want to do some mathlibbing. But I am told by @Kevin Buzzard 's post https://xenaproject.wordpress.com/2017/12/02/how-to-install-mathlib-and-keep-it-up-to-date/ that I probably am better off with the nightly build of lean, so that mathlib will have the latest and greatest stuff. After following the instructions at that post:
leanpkg new my_project cd my_project leanpkg add https://github.com/leanprover/mathlib leanpkg build
I get
davidroberts$ leanpkg build configuring my_project 0.1 mathlib: trying to update _target/deps/mathlib to revision 905345a2ceaa5d0c7bc2f6310026961416b2cae4 > git checkout --detach 905345a2ceaa5d0c7bc2f6310026961416b2cae4 # in directory _target/deps/mathlib HEAD is now at 905345a fix(data/array/lemmas,...): fix build > lean --make src
and this was much much quicker than I thought it would be. Is it working or no?
It could well be.
leanpkg build, and lean --make src don't compile all of mathlib
They only compile those parts of it which are imported by some file in src/
.
This might mean nothing at all at the moment.
Add a file under src/
that imports, e.g. data.nat.prime
.
However, what you did _still_ doesn't get you the latest and greatest version of mathlib.
:-(
If you look up that git commit hash you'll see it's from June 21.
This is because leanpkg
is taking you to the latest commit on the lean-3.4.1
branch, which for some reason (@Mario Carneiro ?) never gets updated?
(We _really_ need to fix this issue.)
Don't blame me, Kevin wanted it to stay still
To get the actual latest version, you should edit your leanpkg.toml
file.
I guess it points to something like the earliest commit compatible with 3.4.1?
And replace the line lean_version = ...
with lean_version = "nightly-2018-08-23"
.
(I better make another video. :-)
Aha, doing leanpkg build
after adding a file to src/
containing import data.nat.prime
(plus an #eval 2+2
) makes it do a lot more
And replace the line
lean_version = ...
withlean_version = "nightly-2018-08-23"
.
ah, ok! I'll do that once the current build has finished
I wonder if @Kevin Buzzard cares about where lean-3.4.1
points, anymore.
If he doesn't, do you think we can keep it closer to master, @Mario Carneiro ?
I guess, but how close?
As often as you can be bothered pushing it?
Have a script that keeps it right up to master??
Well, that's doing something.
Question: why the nightly from the 21st of June?
Oh ...
Is that the 'latest and greatest' version of mathlib?
No.
These nightlies are versions of Lean, not of mathlib.
mathlib changes most days!
I've just edited my instruction above. You should use nightly-2018-08-23
.
(And maybe even edit your message above where you quoted me, so we can completely rewrite history. :-)
Done!
I now have nightly-2018-08-23
, thanks!
The "you're better off with the nightly build" comment was from when Lean 3.4 was changing a lot, and mathlib would change to keep up with Lean. This is all much less of an issue nowadays.
Don't blame me, Kevin wanted it to stay still
I wanted it to stay still between June and September. Thank you very much Mario for making it stay still over my summer project. I now really really don't want it to stay still any more for the simple reason that it is causing constant confusion amongst users.
Can we just delete the branch @Mario Carneiro or will this cause a new kind of confusion amongst users?
No, it ties in to the way leanpkg works
I think leanpkg gets even more confused if it's not there at all
I was fearing this. Can we get it to track master somehow?


{% extends "base_framework.html" %} {% load staticfiles %}
Browse your computer and upload the control (.py) files. To edit a control file, remove it and add a new one with the "Add control" button below. Read the instructions below for more information.
{% for control_item in control_file_list %}


--- layout: default title: All articles by thoughtram permalink: /all/ descripion: Find all of our high-quality, in-depth articles about Angular, Git and more, right here on our blog. ---
{{ post.summary | truncatewords: 20 }}


TIBCO Cloud Live Apps
The following screen grabs are taken from TIBCO Cloud Live Apps - a cloud based BPM solution. I provided content expertise on this project.
The aim of the product was to ensure that users could create BPM flows that they could test and use within minutes - something that couldn't be done with the existing product.
To achieve this, the interface needed to be intuitive and conversational. If the user got stuck or needed help, resources needed to be available within the interface and within context.
Within the Agile framework, I created all interface microcopy and worked very closely with the UX team on dialog design and workflow. I led on the design and implementation of the help slider panel.
Iterative design, with user testing, underpinned the approach to the project. I created test scripts and was fully involved with the testing process.
Assistance front and center on first visit
If they choose to, the user can take one or more forms of assistance to get started with Live Apps.
Guided through their first application
The user can create their first application with the help of a dialog walk-through.
Task instructions are provided within logical steps.
The dialog is contextual depending on the options selected by the user.
Helping users understand what they've created
To provide context and understanding on their first application, the user can watch a video that describes what they've built in detail, including how they can further configure and test their application. This optional video is offered immediately after their first build.
Assistance is always available when creating new apps
Users can build new apps by using a wizard that helps them with each step. More confident users can choose to create an application without assistance by building from a template.
Helping users understand the key aspects of the interface
Interactive tours provide context and understanding.
Convenient means of configuration
Clicking or tapping configurable options opens a slider dialog on the right of the screen.
Instruction to complete the configuration is clearly defined in the slider panel, and users are guided by conversation and simple questioning.
Never miss the detail
The user does not need to worry about things they might forget as they build their app. The interface has a 'to do' list, helping users complete the necessary configuration options. This feature was added as a direct result of test findings.
Clear messaging
Messages are clearly displayed with recommended actions.
Help is always available
No need for the user to leave the interface for assistance. Individual screens and interface items have their own contextual help resource.


First Capital Real Estate Trust Incorporated ("FCRETI") and Presidential Realty Corporation (OTC:PDNLA/PDNLB), a Delaware real estate investment trust ("Presidential"), today announced that the parties have executed a Letter of Intent. The Letter of Intent relates to a proposed transaction pursuant to which Presidential would acquire substantially all of the assets of FCRETI in exchange for newly issued shares of Presidential.
Learn MoreSince the 2012 launch of First Capital Real Estate Trust Incorporated (“FCRETI”), formerly United Realty Trust Incorporated, our management team executed on our dual investment strategy. We focused on acquiring existing, stabilized, cash-flowing assets to support stable, consistent distributions to our shareholders while also acquiring opportunistic assets that we can reposition, redevelop or remarket to create value-enhancement and provide capital appreciation.
Learn MoreNew York, Feb. 9, 2016 /PRNewswire/ -- First Capital Real Estate Advisors, LP, the external advisor to First Capital Real Estate Trust Incorporated ("First Capital"), an SEC-registered public non-traded REIT, announced today that First Capital acquired a 92% indirect ownership interest in Township Nine, a 62.6-acre mixed-use development project in Sacramento, California ("Township Nine") appraised at $78 million.
Learn MoreFirst Capital Real Estate Trust Incorporated ("First Capital"), a Sacramento based real estate investment and finance firm, announced today that it closed on the acquisition of United Realty Advisors, LP, the external advisor to United Realty Trust Incorporated ("URTI"), an SEC-registered public non-traded REIT, and other affiliated entities (collectively, "United Realty").
Learn MoreNew York - January 15, 2015 - United Realty Trust Incorporated ("URTI"), an SEC registered public non-traded REIT led by Jacob Frydman, today published its initial net asset value (NAV) of $12.51 per share. That represents a 19.7% increase over the initial offering price for its shares.
Learn MoreNew York - January 6, 2015 - On December 16, 2014, United Realty Trust Incorporated (URTI), an SEC-registered public non-traded REIT led by Jacob Frydman, acquired 7 Carnegie Plaza in Cherry Hill, New Jersey, a stabilized triple-net leased medical headquarters building. United Realty Trust paid $9.3 million for the 90,000- rentable-square-foot property, obtaining a first mortgage loan in the amount of $5.5 million and a mezzanine loan in the amount of $1.8 million.
Learn MoreNew York, NY, May 28, 2014 - United Realty Trust Incorporated (URTI), an SEC publicly registered non-traded REIT led by Jacob Frydman, announced today that it has acquired 945 82nd Parkway in Myrtle Beach, South Carolina, a stabilized triple-net leased medical office facility. United Realty paid approximately $15.65 million for the 44,323-square-foot property in an 'off-market' transaction. May 30, 2013
Learn MoreUnited Realty Trust Incorporated has named Richard Vitale as President and a Director of the Company. He has also been named President of United Realty Advisors, LP, the advisor to the Company. In these positions, Rick will oversee product distribution and the continued expansion of sales and distribution capabilities. In addition, Barry Funt was appointed as Executive Vice President, Head of Real Estate Operations of United Realty Advisors, LP.
Learn MoreUnited Realty Trust Incorporated, led by Jacob Frydman, announced today that it has acquired Tilden House, a 117-unit residential property in Brooklyn, N.Y., through a joint venture with the seller. The purchase price was $22.9 million.
Learn MoreUnited Realty Trust Incorporated ("United Realty Trust" or the "Company") announced today that that it has sold sufficient shares of its common stock, par value $0.01 per share, to break escrow in connection with its initial public offering. Having broken escrow, the Company has admitted initial investors as stockholders, and will continue to admit new stockholders on a daily basis.
Learn More


Updater Example¶
In this updater example, we use the example_updater_config.json
:
{
"definitions": {
"type": "CsvDefinitionsProvider",
"filename": "test/example_definitions.csv"
}
}
which defines the set of definitions we are using. The definitions map the filename and their dimensions, dimension_groups, and measures to our desired definitions.
Running¶
Run with
cd examples/updater/
python ../../run_updater.py --config example_config.json --infile example.view.lkml --outfile example_outfile.view.lkml
The input example.view.lkml
is a simple LookML view file:
view: dim_geography {
sql_table_name: `BQDW.DimGeography` ;;
dimension: city_code {
type: string
description: "this
is
an
exsiting
multiline
description"
sql: ${TABLE}.CityCode ;;
}
measure: count {
type: count
drill_fields: [detail*]
}
}
The definitions provide the correct definitions:
file,type,name,definition
example.lkml,dimension,city_code,"This
is
the
correct
description"
example.lkml,measure,count,this is the count description
What is produced is a new file example_outfile.view.lkml
with the correct definitions:
view: dim_geography {
sql_table_name: `BQDW.DimGeography` ;;
dimension: city_code {
type: string
description: "This
is
the
correct
description" # programmatically added by LookML modifier
sql: ${TABLE}.CityCode ;;
}
measure: count {
description: "this is the count description" # programmatically added by LookML modifier
type: count
drill_fields: [detail*]
}
}


Emoncms V7 doesn't seem to have a daily average function. I recently upgraded to V7 and found my Heating Degree Day feed was not working. This used the daily average feature (V5) to calculate the average outside temperature below a certain value (ie equivalent to the HDD).
I know there have been posts about average temperature calculation here before, but I can't see a solution.
I have tried the slightly contrived method of using kWh to KWh/d, but this doesn't seem to be a daily average of the data. At least the result is not correct.
Does anyone have a solution to calculating a daily average?
Any help would be much appreciated.
Re: Emoncms V7 Daily Average Function (Arithmetic Mean)
Would the solution to this be as simple as copying the relevant php function from the V5 process_model.php file and placing in the V7 process_model.php file?
Re: Emoncms V7 Daily Average Function (Arithmetic Mean)
I have no experience of php so I'm a little lost here, but I modified the process_model.php file by adding the following from my V5 file:
// Calculates a daily average of a value
public function average($feedid, $time_now, $value)
{
$feedname = "feed_" . trim($feedid) . "";
$feedtime = mktime(0, 0, 0, date("m",$time_now), date("d",$time_now), date("Y",$time_now));
$result = $this->mysqli->query("SELECT * FROM $feedname WHERE time = '$feedtime'");
if (!$result) return $value;
$row = $result->fetch_array();
$average = $row['data'];
$size = $row['data2'];
$new_average = (($average * $size) + $value) / ($size + 1);
$size = $size + 1;
if ($row)
{
$this->mysqli->query("UPDATE $feedname SET data = '$new_average', data2 = '$size' WHERE time = '$feedtime'");
}
else
{
$this->mysqli->query("INSERT INTO $feedname (`time`,`data`,`data2`) VALUES ('$feedtime','$value','1')");
}
$updatetime = date("Y-n-j H:i:s", $time_now);
$this->mysqli->query("UPDATE feeds SET value = '$new_average', time = '$updatetime' WHERE id='$feedid'");
return $value;
}
also changing the list to
$list[17] = array(_("Daily Average"),ProcessArg::FEEDID,"average",2,DataType::HISTOGRAM,"Misc");
I now have the daily average function in the process list, which is one step forward, but unfortunately the feed does not update. Also the datatype keeps reverting to daily after it has been changed to a histogram?
any suggestions?
Re: Emoncms V7 Daily Average Function (Arithmetic Mean)
john.b, do you mean v8 instead of v7? The v8 PHPFIWA (fixed interval with averaging) feed engine has daily averaging built in. It replaces the average input processor. You can also request averages on any other base period: hourly, monthly and so on.
Re: Emoncms V7 Daily Average Function (Arithmetic Mean)
Hello Trystan,
Thanks for the help. I'm using V7 as per the hard drive image. I'm also using mysql database, which I prefer to stick with as I don't have fixed intervals.
Further to my post above I just found my database is actually updating with my modified code, but the feed in emoncms says it is NOT.
I have run admin update and check with the appropriate line ($updatelogin = TRUE;) in setting.php
I've also deleted the browser cache and refreshed the page, but the feed does not show its updating.
Any clues as to why the feed does not show its updating?
Re: Emoncms V7 Daily Average Function (Arithmetic Mean)
Trystan, I need daily averaging function as well. But looking into PHPFIWA options, there is at maximum 1 hour of averaging interval. How do you process correct calculation of daily average value (lets say average temperature) with PHPFIWA?
Re: Emoncms V7 Daily Average Function (Arithmetic Mean)
Hi everyone,
I'm not sure if you'll still be reading this post, given the last entry was a year ago.
Anyway, I was wondering if there was a solution to the issue of making daily averages (or averages based on other - user defined - intervals) ? It seems the above thread did not come to a resolution.
I'm using the emoncms software as it is on the homepage (http://emoncms.org) which is currently at version 8.3.5. However, the PHPFIWA interval option is at maximum one hour. I therefore cannot see how to calculate a feed as a daily average.
Although it seems possible to adjust the PHP code with a V5 file (process_model.php as described above) this is a little tricky for me, since I'm using the standard software on the emoncms.org server.
Thanks in advance.
Lasse


I did the web design in a group web dev project. We created an app that helped people keep track of habits they want to commit to doing for certain days of the week for a certain amount of times.


There are a total of {{ stats.total | commafy }} packages in our database.
{{stats.no_keywords | commafy}} ({{(100 * stats.no_keywords / stats.total) | round(2)}}%) of them have
no keywords.
The {{stats.has_keywords | commafy}} ({{ (100 * stats.has_keywords / stats.total) | round(2)}}%) that
have keywords
are split as follows:
There are {{stats.has_comma_separated_keywords | commafy}} ({{ (100 * stats.has_comma_separated_keywords / stats.has_keywords) | round(2)}}%)
packages with
comma separated keywords and there are
{{stats.has_no_comma_keywords | commafy}} ({{ (100 * stats.has_no_comma_keywords / stats.has_keywords) | round(2)}}%)
packages with
keywords without comma which are probably
space separated keywords.
Some of the keywords appear in more than one case. For example there are packages with "JSON" and other packages with "json" as a keyword. In our statistics
we have merged these keywords to be always lowercase.
Total number of keywords: {{total | commafy}}.
Number of unique keywords: {{unique | commafy}}


Nobody refers to this!
The above span, and this one, should never be translated.
Log in to your account
Username
Password
Remember me
Keep me logged in on this computer (will not get automatically translated because it's not a text-only node)
Log in
Cancel


NFS: No Limits is a long-standing live service project originally released in 2015. Over almost 4 years I delivered 30 updates to a massive active user base. Through this I gained invaluable experience developing and maintaining a successful live service product.
Neon Under Glow
Using efficient approximate mesh projection was utilized to display the neon texture on the ground. In order to run on mobile devices many tactics were used to ensure the effect looked great while being performant.
These techniques include; bilinear interpolation between the 4 raycasts from each corner of the car to place the vertices and calculate the distance at each point, fading out the texture and scaling the mesh using formulas for real lights, and raising the mesh above the ground seamlessly from the cameras perspective to avoid clipping with the track.
UI Refactor
During the process of giving the entire UI a new look, many screens were overhauled, allowing us to devise better standards and practices for building and maintaining the UI.
UI substates were seamlessly added to allow for modularisation of UI components.
Taking a high level look at the UI systems we employed separation of concerns to outline how each system should interact with each other, and more importantly which ones shouldn't be to avoid any unexpected behavior.
Never being forced into a specific role allowed me to explore aspects of NFS: No Limits. I worked all sorts of things like, rendering, physics, controls, settings, UI, tools, player save, data pipeline, workflow improvements, fixing tech debt, and plenty of bug fixing.
Send me an email and I will get back to you as soon as possible!


Each of the examples has a different setup for the timeline. Each example shows visualisation with the text
, slider
, bsDropdown
and bsButtons
object.
One set with some times, randomly gap space.
maxTimeGap
One set with some times, randomly gap space. Timeline is filled up to a maximum gap space of 3 hours.
One set of points of time, with gap space of 20 minutes.
Two combined set of times. One with a 3 hourly interval, the other with a 12 hourly interval.
Two combined set of times. One with a 3 hourly interval, the other with a 12 hourly interval. Maximum time gap between two times is here 1 hour.


Our first 5MeO-DiPT experiment:
We had just gotten home after a satisfying meal of falafels at our favorite middle-eastern restaurant. D drew a bath while I did some cleaning up and setting the mood for an evening at home (candles, incense, music, etc.). Earlier that day I had prepaired our doses,10mg for D, 15mg for myself, wrapped in a small square of toilet paper, a trick I learned from an older friend of mine who says that it takes longer for gel caps to break down and you don't have to taste it when it's mixed with water or juice. Although I did take a little lick earlier just to taste it (quite a little bitter chemical taste on the tip of my tongue), I would definitely not recommend trying this one sublingual!
Anyway, at about 9pm we both swallowed our little paper packets. D hopped into the bath and I went outside for a smoke and a walk down to the end of the street. When I came back I sat on the couch and checked the time (T+:15). I had a slight warm sensation in my stomach and realized that I was already coming up, but not quite sure what I was in for. D had come out of the bath and I asked her how she felt. She said she had a “heavy head,” but I could have been from the bath. We both settled in on the couch to watch the movie Unforgiven, which I would recommend to anyone who likes westerns. Just before the movie started I went outside to smoke and to see If anything felt different.
(T+:30) The first things I noticed upon going outside were that my vision had become noticeably clearer with sharpened edges, and that bright lights like car headlights had a sharp starlike pattern and warm glow reminiscent of the visuals I had seen on a small dose of peyote. I came inside and asked D if anything was new for her. “Things look sharper and I can see further, ' was her reply.
We laid back and started the movie about 15 minutes later.
D told me that she felt sort of nauseous, so I rubbed her tummy and noticed a slight body tingle and enhanced sense of touch. I felt quite warm and was sweating on my hands and feet, but it felt nice. D said that my rubbing made her feel better.
(T+1:00)
While watching the movie I noticed sound seemed to have an enhanced hall-like reverb and the sound from the TV seemed to come from different directions.
(T+2:30)
D said that she was seeing subtle LSD-like patterns and that the bathroom floor was breathing.
I decided that I liked where I was at and wanted to experiment with a supplement of approximately 5-6mg. I had slept in until 3pm that day and wasn't feeling tired in the slightest.
(T+3.5)
I went outside for a smoke and felt nothing more than a pleasant lightness in mood and I was very awake, but when I came inside I stopped in the bedroom for something but quickly forgot what it was I was looking for, when I noticed that the light in the room was pulsating, and shimmering and when I looked at a painting on the wall it seemed to ripple and breath.
After drinking some apple and ginger juice, I started to feel a slight stomach cramp. D said she felt the same.
(T+4:00)
We put on some trippy music (KOXBOX: The great unknown) and a video I had made earlier that week of some super stroboscopic video wallpaper. The music was awesome, the depth of it was greatly enhanced and the video seemed to relate directly with the sounds.
We had a great conversation that flowed really well about the complexity of the two combined sources of stimulation. It felt rather easy to convey complex thoughts and easy to understand as well. We also had an almost painful laughing fit seeing one of our cats completely tranced out to the video. Listening to the music with closed eyes produced some interesting flowing mirror image fractal patterns.
2am (T+5:00)
D was feeling sleepy, so I tucked her into bed and gave her a rather long back rub. I was feeling restless and it kept my hands busy, but when she fell asleep I couldn't lay still so I went for a little walk around the block. Walking was enjoyable, I felt light on my feet.
3am (T+6:00)
AWAKE, but not high at all. I drank a beer hoping it might make me sleepy but it didn't work. I turned on the TV and Twin Peaks--Fire Walk with Me the movie was on. I could only watch a little bit because it started to creep me out.
4:30am (T+7:30)
I took a walk outside and saw the predawn green glow in the sky and decided I would try to go to sleep. I think It only took about half an hour to fall asleep.
I slept in until about 3pm the next day and woke up feeling great, not even the slightest sign of a hangover.
All an all, this substance wasn't that spectacular. I had fun.
At this dosage (10-15mg), it could be fun at a public event, like a street fair or dance, but If you're looking to get any serious internal work done or don't like to take drugs recreationally, I would not recommend it at this level. I don't know about higher doses, though. Next time I will try 25mg.
To sum it up--
Plus side: minor LSD-like visual distortions, a warm glowing body feeling, slightly enhanced audio depth perception, lightness in mood, mellow come down and no hang over
Down side: stomach cramps, nausea, restlessness, nothing too spectacular or too interesting at 15mg
Well, I hope someone finds this information useful,
-lucid
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Last-minute talks set as Metro Vancouver transit strike looms for Wednesday
by The Canadian PressNEW WESTMINSTER, B.C. — Last-minute contract talks have been scheduled for Tuesday with a transit strike facing commuters in Metro Vancouver set to begin the following day.
Gavin McGarrigle, Unifor’s lead negotiator, says the union is prepared to negotiate until midnight Wednesday and if no agreement is reached, a three-day strike will begin, affecting about 350,000 transit users.
Wages are one of the key issues in the dispute.
Unifor has complained the latest offer isn’t comparable to salaries in other major cities.
Translink CEO Kevin Desmond says the last wage offer made to the union is based on market conditions.
McGarrigle says the union is prepared to compromise and its members don’t expect to earn the wages paid to workers doing the same jobs in Toronto, but they would like to start narrowing the gap.
He says Unifor’s national president, Jerry Dias, will join the negotiations.
The union is threatening to call a strike that would affect bus and sea bus ferry services from Wednesday to Friday.
Desmond said Monday that TransLink is looking for ways to increase access to drop-off points near its SkyTrain lines, which would not be affected by a strike.
This report by The Canadian Press was first published Nov. 25, 2019.


- Posts
- Categories
-
Dec 9, 2016
An Electronic Earthwork
How might we make interactive land art? This project is one answer for this question, and I want to open-source the process. I want to see people making art with...
Read More -
Nov 28, 2016
Welcome
There’s a few blog posts on their way. Stay tuned for write-ups about projects in progress.
Read More


Try out our Premium Member services: Virtual Legal Assistant, Query Alert Service and an ad-free experience. Free for one month and pay only if you like it.
IN THE HIGH COURT OF KERALA AT ERNAKULAM WP(C).No. 37948 of 2010(S) 1. DR. VENUGOPAL.R., AGED 42 YEARS, ... Petitioner 2. P.B. SOMAN NAIR, AGED 61 YEARS, 3. D. SAJI, AGED 41 YEARS, Vs 1. KADUTHURUTHI GRAMA PANCHAYAT ... Respondent 2. THE ENVIRONMENTAL ENGINEER, KERALA 3. GEORGE THOMAS, AGED 42 YEARS, 4. T.M. ABDUL KALAM, For Petitioner :SRI.T.C.GOVINDA SWAMY For Respondent :SRI.M.K.CHANDRAMOHAN DAS,SC,POLL.C.BOAR The Hon'ble the Chief Justice MR.J.CHELAMESWAR The Hon'ble MR. Justice ANTONY DOMINIC Dated :16/02/2011 O R D E R J.CHELAMESWAR, C.J. & ANTONY DOMINIC, J. =============================== W.P.(C) NO. 37948 OF 2010 ====================== Dated this the 16th day of February, 2011 J U D G M E N T
Antony Dominic, J.
Petitioners are residents of Ward No.II of Kaduthuruthy Grama Panchayat. They filed this writ petition styling itself as a public interest litigation with the following three prayers:-
(i) issue a writ of certiorari or any other writ or direction calling for the records leading to the issue of Ext.P1 consent and Ext.P2 licence in favour of 3rd respondent and quash the same;
(ii) issue a writ of mandamus or other appropriate writ, orders or directions commanding the 1st respondent Panchayat to ensure that neither cement handling is permitted in building No KP III/341-A in Kaduthuruthy Panchayat owned by 3rd respondent nor it will be permitted to be used as a cement storage.
(iii) issue a writ of mandamus or other appropriate writ, orders or direction commanding the 1st respondent Panchayat to ensure that Building No KP III/341-A in Kaduthuruthy Panchayat owned by the 3rd respondent will be permitted to be used as only for commercial occupancy as per Ext.P4 permit and never for 'storage' or 'hazardous' occupancy in violation of the provisions of Kerala Municipality Building Rules, 1999.
2. First of all, we are not satisfied that the petitioners have made out a case for entertaining this writ petition as public WP(C) No.37948/2010 : 2 : interest litigation. The expression "public interest litigation" has been understood as meaning legal action initiated in a court of law for the enforcement of public interest or general interest in which the public or a class of the community have pecuniary interest or some interest by which their legal rights or liabilities are affected {vide Janata Dal v. H.S.Chowdhary (1992(4) SCC
305)}. Such litigation should be aimed at redressal of genuine public wrong or public injury and shall not be publicity-oriented or founded on personal vendetta (vide Ashok Kumar Pandey v. State of W.B {(2004) 3 SCC 349}. It has been held by the Apex Court that the public interest litigation is not a pill or panacea for all wrongs and that it was essentially meant to protect basic human rights of the weak and the disadvantaged and was a procedure which was innovated where a public-spirited person files a petition in effect on behalf of such persons who on account of poverty, helplessness or economic and social disabilities could not approach the court for relief (BALCO Employees' Union (Regd.) v. Union of India (2002(2) SCC 333).
3. Applying these tests, we are clear in our minds that the issue raised in this writ petition concerning the validity of Ext.P1 consent to operate issued by the Kerala State Pollution Control WP(C) No.37948/2010 : 3 : Board or Ext.P2, the licence issued by the respondent Panchayat on purely private disputes cannot form the subject matter of public interest litigation.
4. In so far as Ext.P1 consent to operate issued by the Pollution Control Board in favour of the 3rd respondent is concerned, Section 31 of the Air (Prevention and Control of Pollution) Act, 1981 provides for remedy of appeal. Similarly, against Ext.P2, the licence issued under the Kerala Panchayat Raj Act, 1994 is concerned also, if the petitioners are aggrieved, it is open to them to seek statutory remedy of appeal. Therefore, effective alternate statutory remedies are available to the petitioners and it is for the petitioners to pursue those remedies. However, in his endeavour to contend that the writ petition is maintainable, learned counsel for the petitioners contended that Exts.P1 and P2 were issued without jurisdiction, and therefore, it is open to the petitioners to invoke the extra ordinary jurisdiction of this Court without pursuing the alternate statutory remedies.
5. Admittedly, the respondent Panchayat has been invested with the power to issue licence under the Kerala Panchayat Raj Act. Similarly, the Pollution Control Board also has been invested with such powers. Therefore, it is not a case where WP(C) No.37948/2010 : 4 : these authorities are not without jurisdiction to issue the licenses. Therefore, it cannot be contended that the licence and consent were issued without jurisdiction to justify the filing of this writ petition without taking recourse to the statutory remedies. Therefore, for the aforesaid reasons, we hold that the writ petition is not maintainable.
6. However, it is clarified that if the petitioners are aggrieved, it will still be open to the petitioners to pursue the statutory remedies and it is directed that if they file appeals against the impugned orders within one month from today, the respective appellate authorities will entertain the appeals and deal with the same in accordance with law.
Writ petition is disposed of as above.
J.CHELAMESWAR CHIEF JUSTICE.
ANTONY DOMINIC JUDGE.
Rp


Hashes vs. Arrays
Sunday, May 18 2014
Hello, dear reader! Welcome to another installment of "Ariel pretends to be a Ruby Expert!". Okay, so maybe this is the first installment, but roll with the punches, eh? Alright, so let's begin, shall we?
Arrays! What are they?
So, an array is this nifty little list, frequently one that you can order by descending/ascending numberical or alphabetical order. You can tell an object is an array if it lives between two square brackets. Each object (or as the savvy programmers call them, elements) lives between the two square brackets and is separated by a comma. Fun fact? You can nest, your arrays, meaning you can make lists of lists! Pretty insane, eh? Just to give you a sense of what it looks like, here is a sample array that we're storing in a variable `sampleArray' (I know, I'm feeling tired and not particularly creative with the variable names):
sampleArray = ["hello","my","name","is","Ariel"]
As we can see, each element of the array is a different word or String. If we were particularly partial to any element (or if we simply wanted to grab part of the list), we might consider using that element's index number. An index number is kind of what it sounds like: a number that references where each element can be found in the array.
Because programmers are wacky birds, they start counting at 0, so if we wanted to only pull out the word "hello" from our sample array, we would write:
sampleArray[0]
This means that we're pulling out the first element (stuck at the "0th" position in our array).
Cool.
So, that's all well and good, but let's face it. Sometimes, you don't just need lists. You need smart lists. Like, where one pair is linked to another. That's when the structure called the Hash comes into the picture. A hash is kind of like an array, except that it is constructed entirely of pairs of elements. Each pair is made up of two parts (duh): a key and a value. Keys are meant to be unique, so don't repeat your keys. Hashes are much less fussy about what you put in the value slot. Basically, when you're creating a list where you care a lot less about the order of the list and a lot more about the fact that you can always pull up a corresponding value for your object. I'm losing steam and starting to stop making so much sense, so lets look at an example, shall we?
So here we go. Let's say that we want to link written out numbers with their integer form:
numbers = {"one" => 1, "two" => 2, "three" => 3}
Whoopie! A super exciting example, I know.
But here's the cool part. Let's say I try to spit out the integer value for "two", now I can!
All's I needs to do is simply write:
numbers["two"]
and ruby will spit out: 2! Pretty nifty.
So I'm hitting a wall here, so I'm going to just clear up some final distinctions. Basically, arrays are lists that are good for sorting. You put stuff into an array simply because you need a means of keeping track of a list and the items in the list don't have a relationship to each other. However, Hashes are good for tying items together. So if there are relationships between the items that are included in your lists and you want to pull out information from your lists based on that relationship, Hashes are the way to go. I hope this was enlightening. Until next time...ZZZZZZZZZZZ


influenza mosaic vaccine virus mice responses weight immunogen Mice immunized loss (Figure cell vaccinated PBS {border-style using vaccines px;} #ffffff;} < analyzed antibody strains used A/PR// Ad-mosaic Influenza induce protection cellular human recombinant showed induced peptide weeks Adenovirus USA) cells immune immunity Figure Mosaic inactivated lethal multiple protein sequences shown similar strains. ELISpot Vaccine able antibodies data mean peptides wild-type A/FM// MA, NR-; USA). epitopes strong Ad-A/PR//, Fluzone IAV []. challenged compared divergent diverse expressed gene hemagglutinin immunogens matched reported response standard vaccination viruses A/Puerto Ad-Mosaic, Ad-Pdm Ad-Pdm, Pdm [,]. assay challenge challenge. cross-protection dose measured percent provided px; sequence strain submitted vaccination. {font-family (Pdm) A/California// Ad-A/PR// Analysis Animal Fluzone, However, IFN-γ Rico// adenovirus designed font-size particles population type unique universal washed (Thermo .). A/Nanchang// A/PR//, Data MLD National Plates Protection Research Responses Virus Waltham, additional analysis average double; expression harvested humoral incubation individual infection later levels protect splenocytes strategies study survival titers virus. (A) (B) (C) (D) (data A/Fort A/New CA, Caledonia//, ELISA Fisher, HAI SWISS-MODEL based border-color border-width buffer contrast, daily death design expressing hemagglutination high humanely identified immunostimulatory including incubated loss. mice, mismatched monitored pandemic performed provide responses. server solid; strategy stronger structure test vector vectored viral {font-style {font-weight (HA) (SFC) **** ... ANOVA Bonferroni Care ELISA, Infect. Manassas, Monmouth// NIAID PBTE Santa VA, Western approaches assays blood bold cloned comparison confirmed considered courier; coverage cross-protective database detected diluted dilution diversity efficacy em; entire error euthanized full-length genes goat greater immunogens. included induces infected inhibition minor one-way overnight predict prior pt;} published region specific stalk strain. studies sublethal survival. vaccine, °C.


runners¶
Submodules¶
runners.config¶
-
runners.config.
artifacts_directory
= None¶ The experiment scripts all output their results in custom named folders whose names are randomly generated (by comet.ml). These folders get saved to mapped to the same location inside the docker container. Good to know where these are so that you know where your results are.
-
runners.config.
cache_directory
= None¶ The training scripts generate a cache of input/output pairs for the network. These caches are zarr files that contain all the input/output for the network and can be substantial in size. It’s good to know where they are so you can free up hard drive space from time to time as needed.
-
runners.config.
code_directory
= None¶ This tells the Docker container where the code containing all of your scripts are. When the container starts, this is the folder you will be in. You can assume relative paths from the root of this code directory in your script. It now just uses the current working directory.
-
runners.config.
dataset_directory
= None¶ This folder is where all of your data lives for training and evaluating. This folder will be mapped to /storage/data/ in your docker container, allowing you to write the scripts in reference to those locations. Make sure you have read/write permissions for the folder you are pointing to.
-
runners.config.
default_script_args
= {'blocking': False, 'num_gpus': 0, 'num_workers': 1, 'run_in': 'host'}¶ Arguments given by default when running a script.
-
runners.config.
nussl_directory
= None¶ This tells the Docker container where nussl is, so the scripts can import your version of nussl. This is useful if are editing nussl continuously and testing it. This is optional as you could just use the version of nussl on Github. But if you’re editing core nussl features, this is useful.
runners.docker_runner¶
-
class
runners.docker_runner.
DockerRunner
(image=None)[source]¶ Bases:
object
This class just creates a Docker container from the given image and runs it. If the image is not specified, it looks in the environment variable called ‘DOCKER_IMAGE_NAME’. If that doesn’t exist, it throws a warning.
If there are gpus available, it uses the NVIDIA docker runtime to access them through GPU passthrough. If no GPUs are available, it uses the standard runtime.
The class mounts volumes in the host into the container at specified paths. These paths are specified in config.py and are accessible via environment variables.
- Parameters
image (str) – Image to use when running inside Docker. If not specified, it uses whatever is in the environment variable DOCKER_IMAGE_NAME. If that isn’t specified, it throws a warning.
-
run
(command, gpus, name=None, detach=True)[source]¶ Run a given command in a Docker container. This detaches from the container completely by default.
- Parameters
command (str) – Command to run inside the container.
gpus (str) – What GPUs to use. For example gpus=’0,1,2’ will result in the container having access to the first 3 GPUs on the system.
name (str) – The container should be named something. If name is not provided (default) then a name is chosen by parsing the command. Docker container names must be unique.
detach (bool) – Whether to detach from the container after launching (running it in the background) or to stay attached to the container.
runners.experiment_utils¶
-
runners.experiment_utils.
load_experiment
(path_to_yml_file)[source]¶ Loads an experiment given the path to the configuration file. If there is no experiment key in the info dictionary in config, then this is an experiment that should be instantiated. If comet is available, then the experiment is instantiated by comet. If it is not available, then it is instantiated by producing a directory with a random name. The name of this directory is the experiment key used to keep track of artifacts, results, and so on.
- Parameters
path_to_yml_file (str) – Path to the yml file containing the experiment configuration.
- Returns
3-element tuple containing
config (dict): A dictionary containing the configuration of the experiment.
exp (
comet_ml.Experiment
): An instantiated experiment if comet.ml is needed, otherwise it is None.path_to_yml_file (str): The path to the saved yml file (will be different from the input path if the experiment in the input yml was not yet instantiated).
- Return type
tuple
-
runners.experiment_utils.
save_experiment
(config, exp=None)[source]¶ Saves a configuration of an experiment to an experiment directory. If exp is defined, it is an Experiment object from comet.ml whose parameters will be updated via config.
- Parameters
config (dict) – A dictionary containing the experiment configuration. This should have all necessary parameters needed to recreate the experiment given the current codebase.
exp (Experiment) – An Experiment object that is used by comet.ml. The settings in the configuration dictionary are logged to the Experiment object.
- Returns
Path to the yml file that the config was saved to.
- Return type
str
runners.run_in_docker¶
-
runners.run_in_docker.
run_in_docker
()[source]¶ Runs a command in a Docker container. Can be configured to name the container and give it GPUs. The configuration of the docker is controlled in
runners.config
.For example:
# Runs a Docker container with two GPUs. python -m runners.run_in_docker nvidia-smi --name testing --gpus 0,1 # Simple command to ls the workspace in the Docker. python -m runners.run_in_docker ls
or use the Makefile:
# Runs a Docker container with two GPUs. make run_in_container command="nvidia-smi" name=testing gpus=0,1 # Simple command to ls the workspace in the Docker. make run_in_container command="ls"
runners.script_runner_pool¶
-
class
runners.script_runner_pool.
ScriptRunnerPool
(max_workers=10)[source]¶ Bases:
object
Class for launching scripts in sequence or parallel with corresponding arguments. Keeps track of GPU resources for allocating jobs, takes care of blocking on certain jobs (e.g. dataset generation), and so on. Called by scripts/pipeline.yml or by ‘make pipeline yml=path/to/.yml’.
- Parameters
max_workers (int, optional) – Number of workers to use in the pool. Controls how many jobs run at the same time. Defaults to 10.
-
submit
(scripts)[source]¶ Takes in a list of scripts and allocates each of them to a ThreadPoolExecutor. Each script is run via the Makefile, so each thread spawns a process by using subprocess.run (see
runners.script_runner_pool.job_runner()
)The logic of this script is to go through every script in order. If the script is blocking, then it will wait until the script finishes executing before moving on to the next script. If the script requires GPU (num_gpus > 0), it will check the availability of GPUs using GPUtil and only schedule the job to be run if there is an available GPU for it. If not, it will try again every 5 seconds until all jobs have been scheduled.
- Parameters
scripts (list) – A list of configurations for scripts that get run.
runners.utils¶
-
runners.utils.
deep_update
(source, overrides)[source]¶ Update a nested dictionary or similar mapping. Modify
source
in place.- Parameters
source (dict) – Source dictionary that gets updated
overrides (dict) – Dictionary with items to update in source dict.
- Returns
Updated source dictionary.
- Return type
(dict)
-
runners.utils.
disp_script
(spec)[source]¶ Displays the arguments for a script in a readable fashion in logging.
- Parameters
spec (dict) – Dictionary containing script parameters.
-
runners.utils.
dump_yaml
(data, path_to_yml)[source]¶ Dump data to a yml file at a specified location.
- Parameters
data (obj) – Whatever data to dump to the yml file, as long as it can be serialized to YAML. Typically a dictionary.
path_to_yml (str) – Where to save the data.
-
runners.utils.
env_variables
= ['DATA_DIRECTORY', 'CACHE_DIRECTORY', 'ARTIFACTS_DIRECTORY', 'NUSSL_DIRECTORY']¶ List of environment variables to look for and replace.
-
runners.utils.
flatten
(d, parent_key='', sep='_')[source]¶ Flattens a dictionary so that it only has one level. A sequence of keys will result in a key that is like:
{ key1_key2_key3: value }
from:
{ key1: {key2: {key3: val} } }
This is done recursively.
- Parameters
d ([type]) – Dictionary that is being flattened.
parent_key (str, optional) – The key above this one (used in recursion). Defaults to ‘’.
sep (str, optional) – Delimiter between keys. Defaults to ‘_’.
- Returns
flattened dictionary
- Return type
dict
-
runners.utils.
load_yaml
(path_to_yml, env_variables=['DATA_DIRECTORY', 'CACHE_DIRECTORY', 'ARTIFACTS_DIRECTORY', 'NUSSL_DIRECTORY'])[source]¶ Loads a YAML file and modifies it according to the environment variables using
runners.utils.modify_yml_with_env()
.- Parameters
path_to_yml (str) – Path to the YML file.
env_variables (list) – A list of strings containing what environment variables to replace.
- Returns
Parsed and loaded YAML into a dictionary.
- Return type
dict
-
runners.utils.
make_random_string
(length=10)[source]¶ Makes a random alphanumeric string of some length
- Parameters
length (int, optional) – Length of the random string to return. Defaults to 10.
- Returns
Random alphanumeric string of the specified length.
- Return type
str
-
runners.utils.
modify_yml_with_env
(yml, env_variables)[source]¶ Replaces specific substrings in a string or elsewhere with their corresponding environment variables. The environment variables it currently replaces are: DATA_DIRECTORY, CACHE_DIRECTORY, ARTIFACTS_DIRECTORY, and NUSSL_DIRECTORY. Descriptions of these are in setup/environment/default.sh.
- Parameters
yml (str) – A string containing the YML code (unparsed). Things in curly braces in the string are modified by passing in the data in
runners.utils.env_variables
.env_variables (list) – A list of strings containing what environment variables to replace.
- Returns
YML string with the environment variables replaced.
- Return type
str
-
runners.utils.
parse_yaml
(path_to_yml, jobs=True)[source]¶ Parses a YAML file, replacing necessary environment variables and putting it in an expected form for the scripts.
- Parameters
path_to_yml (str) – Path to yml file to be parsed.
jobs (bool, optional) – Whether to convert it so that it’s a sequence of jobs if jobs is not defined in spec. Defaults to True.
- Returns
- Loaded dictionay, modified by environment variables and depending on
jobs.
- Return type
dict


SET
Sets the value of a server configuration parameter.
Use the RESET command to return a parameter to its default value. See Modifying the Server Configuration for more information about parameters.
Syntax
SET { [ SESSION | LOCAL ] { SEED | parameter_name } { TO | = } { value | 'value' | DEFAULT } | SEED TO value }
Parameters
- SESSION
-
Specifies that the setting is valid for the current session. Default value.
- LOCAL
-
Specifies that the setting is valid for the current transaction.
- SEED TO value
-
Sets an internal seed to be used by the RANDOM function for random number generation.
SET SEED takes a numeric value between 0 and 1, and multiplies this number by (231-1) for use with the RANDOM Function function. If you use SET SEED before making multiple RANDOM calls, RANDOM generates numbers in a predictable sequence.
- parameter_name
-
Name of the parameter to set. See Modifying the Server Configuration for information about parameters.
- value
-
New parameter value. Use single quotes to set the value to a specific string. If using SET SEED, this parameter contains the SEED value.
- DEFAULT
-
Sets the parameter to the default value.
Examples
Changing a Parameter for the Current Session
The following example sets the datestyle:
set datestyle to 'SQL,DMY';
Setting a Query Group for Workload Management
If query groups are listed in a queue definition as part of the cluster's WLM configuration, you can set the QUERY_GROUP parameter to a listed query group name. Subsequent queries are assigned to the associated query queue. The QUERY_GROUP setting remains in effect for the duration of the session or until a RESET QUERY_GROUP command is encountered.
This example runs two queries as part of the query group 'priority', then resets the query group.
set query_group to 'priority'; select tbl, count(*)from stv_blocklist; select query, elapsed, substring from svl_qlog order by query desc limit 5; reset query_group;
See Implementing Workload Management
Setting a Label for a Group of Queries
The QUERY_GROUP parameter defines a label for one or more queries that are executed in the same session after a SET command. In turn, this label is logged when queries are executed and can be used to constrain results returned from the STL_QUERY and STV_INFLIGHT system tables and the SVL_QLOG view.
show query_group; query_group ------------- unset (1 row) set query_group to '6 p.m.'; show query_group; query_group ------------- 6 p.m. (1 row) select * from sales where salesid=500; salesid | listid | sellerid | buyerid | eventid | dateid | ... ---------+--------+----------+---------+---------+--------+----- 500 | 504 | 3858 | 2123 | 5871 | 2052 | ... (1 row) reset query_group; select query, trim(label) querygroup, pid, trim(querytxt) sql from stl_query where label ='6 p.m.'; query | querygroup | pid | sql -------+------------+-------+---------------------------------------- 57 | 6 p.m. | 30711 | select * from sales where salesid=500; (1 row)
Query group labels are a useful mechanism for isolating individual queries or groups of queries that are run as part of scripts. You do not need to identify and track queries by their IDs; you can track them by their labels.
Setting a Seed Value for Random Number Generation
The following example uses the SEED option with SET to cause the RANDOM function to generate numbers in a predictable sequence.
First, return three RANDOM integers without setting the SEED value first:
select cast (random() * 100 as int); int4 ------ 6 (1 row) select cast (random() * 100 as int); int4 ------ 68 (1 row) select cast (random() * 100 as int); int4 ------ 56 (1 row)
Now, set the SEED value to .25
, and return three more RANDOM numbers:
set seed to .25; select cast (random() * 100 as int); int4 ------ 21 (1 row) select cast (random() * 100 as int); int4 ------ 79 (1 row) select cast (random() * 100 as int); int4 ------ 12 (1 row)
Finally, reset the SEED value to .25
, and verify that RANDOM returns the
same results as the previous three calls:
set seed to .25; select cast (random() * 100 as int); int4 ------ 21 (1 row) select cast (random() * 100 as int); int4 ------ 79 (1 row) select cast (random() * 100 as int); int4 ------ 12 (1 row)


Miranda Lambert on attending pride parade with brother Luke: 'We cried'
by Andy SahadeoMiranda Lambert revealed she got emotional when her brother allowed her to post their pictures from the pride parade in New York City this summer on social media.
Speaking with Pride Source, Lambert stated, “I didn’t even realize it was making a statement because I just thought it was normal.”
She added: "I didn’t think it was stepping out of bounds or anything because to me it’s all the same; it doesn’t matter.”
The country music star attended the parade with husband, Brendan McLoughlin, along with brother Luke and his husband over the summer.
MIRANDA LAMBERT SAYS NEW SONG 'BLUEBIRD' MAKES HER FEEL 'HOPEFUL'
When asked what it was like to share the experience with her brother, Lambert noted that “It was so special.”
"It was so special, and when he was giving me permission to post about it, we both cried because it was such a big moment. I see now, talking about it, why it’s a big moment for other people: because it was a big moment for us too.”
“So I’m just glad that he was OK with that, and we could share that moment and be supportive of each other no matter what we’re doing or who we are,” she continued.
MIRANDA LAMBERT SHOWS OFF HUSBAND'S COOKING SKILLS IN NEW INSTAGRAM VIDEO
The Lamberts grew up in the conservative, Baptist community of Lindale, Texas. Speaking on representation in her community, Lambert revealed that she didn’t know if she had LGBTQ+ friends or not.
“I guess I did and I didn’t [know], because everybody was still afraid at that time. I mean, I’m 35 now, so in that town in that time frame it was still not the best, and the few kids I did know would confide in my mom, because my mom worked in our youth group and she was a really cool mom.”
“I didn’t judge it and I don’t judge it now. I just didn’t think it was a big deal in my mind ’cause I was raised to accept everybody,” she added.
MIRANDA LAMBERT FIRES BACK AT TROLL WHO SAID HER MARRIAGE WON'T LAST
CLICK HERE FOR THE FOX NEWS APP
Lambert also took the time to acknowledge those who claimed they were no longer fans after the singer’s show of solidarity for the LGBTQ+ community.
“I feel like the people who commented negatively weren’t my followers. When people say “unfollow,” they weren’t following me to begin with. Also, I don’t understand why people have time to get on social media and be negative,” she said.


--- layout: post title: What Are the Big Themes This Year at SXSW? date: '2012-03-12T17:12:55-07:00' tags: tumblr_url: http://alexhwilliams.tumblr.com/post/19207353923/what-are-the-big-themes-this-year-at-sxsw ---
http://bit.ly/AAsQnu


For example, create a folder called SpryAssets in the root folder of your web site, and move the SpryTabbedPanels.js file to it. The SpryTabbedPanels.js file contains all of the information necessary for making the Tabbed Panels widget interactive.

Make sure that the file path to the SpryTabbedPanels.js file is correct. This path varies depending on where you’ve placed the file in your web site.
<link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
Make sure that the file path to the SpryTabbedPanels.css file is correct. This path varies depending on where you’ve placed the file in your web site.

Tab 1

Tab 2

Tab 3

Tab 4

The preceding code adds four tabs to the widget. You can add unlimited tabs.

Tab 1

Tab 2

Tab 3

Tab 4

Tab 1 Content

Tab 2 Content

Tab 3 Content

Tab 4 Content

Insert the content between the opening and closing TabbedPanelsContent tags (for example, Tab 1 Content, as in the preceding example). The content can be any valid HTML code, including HTML form elements

 . . .

The new JavaScript operator initializes the Tabbed Panels widget object, and transforms the div content with the ID of TabbedPanels1 from static HTML code into an interactive tabbed panels object. The Spry.Widget.TabbedPanels method is a constructor in the Spry framework that creates tabbed panels objects. The information necessary to initialize the object is contained in the SpryTabbedPanels.js JavaScript library that you linked to at the beginning of this procedure.
Make sure that the ID of the tabbed panels’ div tag matches the ID parameter you specified in the Spry.Widgets.TabbedPanels method. Make sure that the JavaScript call comes after the HTML code for the widget.
The complete code looks as follows:
 . . . <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />

Tab 1

Tab 2

Tab 3

Tab 4

Tab 1 Content

Tab 2 Content

Tab 3 Content

Tab 4 Content


Collier County Sheriff welcomes new patrol horse Hondo
by WFTX Digital TeamNAPLES, Fla. -- The Collier County Sheriff's Office has a new addition to the mounted patrol.
Meet ‘Hondo’, a 12-year-old American Quarter Horse.
He had his first training session Tuesday after passing all of his basic requirements.
His handler is Sgt. Dave Estes of the Agriculture Unit.
"I'm really happy with him and I'm so blessed to have two great horses to ride now," Sgt. Estes said.
Sgt. Estes' other horse, Sampson, continues to serve. Sampson is an 11-year-old American Quarter Horse.


FilesModule
public class FilesModule
Provides File management.
-
Get information about a file.
Declaration
Parameters
fileId
The ID of the file on which to retrieve information.
fields
completion
Returns a standard file object or an error if the fileId is invalid or the user doesn’t have access to the file.
-
update(fileId:
name: description: parentId: sharedLink: tags: collections: lock: dispositionAt: ifMatch: fields: completion: ) Update the information about a file, including renaming or moving the file.
Declaration
Swift
public func update( fileId: String, name: String? = nil, description: String? = nil, parentId: String? = nil, sharedLink: NullableParameter<SharedLinkData>? = nil, tags: [String]? = nil, collections: [String]? = nil, lock: NullableParameter<LockData>? = nil, dispositionAt: Date? = nil, ifMatch: String? = nil, fields: [String]? = nil, completion: @escaping Callback<File> )
Parameters
fileId
The ID of the file on which to perform the update.
name
An optional new name for the file. Box supports file names of 255 characters or less. Names containing non-printable ASCII characters, “/” or “\”, names with trailing spaces, and the special names “.” and “..” are also not allowed.
description
The description of the file.
parentId
The ID of the parent folder.
sharedLink
Shared links provide direct, read-only access to file on Box using a URL.
tags
Array of tags to be added or replaced to the file
collections
List of collection identifiers to which the file membership will be set.
lock
Defines a lock on an item. This prevents the item from being moved, renamed, or otherwise changed by anyone other than the user who created the lock. Set this to null to remove the lock.
dispositionAt
The retention expiration timestamp for the given file. This date cannot be shortened once set on a file.
ifMatch
This is in the ‘etag’ field of the file object, which can be included to prevent race conditions.
fields
completion
Returns a standard file object or an error if the fileId is invalid or the user doesn’t have access to the file.
-
Create a copy of a file in another folder. The original version of the file will not be altered.
Declaration
Parameters
fileId
The ID of the source file to copy.
parentId
The ID of the destination folder.
name
An optional new name for the file. Box supports file names of 255 characters or less. Names containing non-printable ASCII characters, “/” or “\”, names with trailing spaces, and the special names “.” and “..” are also not allowed.
version
An optional file version ID if you want to copy a specific file version
fields
completion
Returns a standard file object or an error if the fileId is invalid or the update is not successful. An error will be returned if the destination folder is invalid or if a file name collision occurs.
-
Upload a file to a specified folder.
Declaration
Swift
@discardableResult public func upload( data: Data, name: String, parentId: String, progress: @escaping (Progress) -> Void = { _ in }, performPreflightCheck: Bool = false, completion: @escaping Callback<File> ) -> BoxUploadTask
Parameters
name
The name of the file. Box supports file names of 255 characters or less. Names containing non-printable ASCII characters, “/” or “\”, names with trailing spaces, and the special names “.” and “..” are also not allowed.
parentId
The ID of the parent folder. Use “0” for the root folder.
performPreflightCheck
Defines whether to first perform prelfight check request to decide whether file of this size can be uploaded and whether specified name is unique and won’t cause conflicts.
completion
Returns a standard file object or an error if the parentId is invalid or if a file name collision occurs.
Return Value
BoxUploadTask
-
uploadVersion(forFile:
name: contentModifiedAt: data: ifMatch: progress: performPreflightCheck: completion: ) Upload a file to a specified folder.
Declaration
Swift
@discardableResult public func uploadVersion( forFile fileId: String, name: String? = nil, contentModifiedAt: String? = nil, data: Data, ifMatch: String? = nil, progress: @escaping (Progress) -> Void = { _ in }, performPreflightCheck: Bool = false, completion: @escaping Callback<File> ) -> BoxUploadTask
Parameters
fileId
The ID of the file
name
The name of the file. Box supports file names of 255 characters or less. Names containing non-printable ASCII characters, “/” or “\”, names with trailing spaces, and the special names “.” and “..” are also not allowed.
ifMatch
The
etag
of the old file version. Ensures that the file hasn’t been updated since getting the etag, which could indicate conflicting edits.performPreflightCheck
Checks whether new file version will be accepted before whole new version is uploaded.
completion
Returns a standard file object or an error.
Return Value
BoxUploadTask
-
Upload a file to a specified folder.
Declaration
Swift
@discardableResult public func streamUpload( stream: InputStream, fileSize: Int, name: String, parentId: String, progress: @escaping (Progress) -> Void = { _ in }, performPreflightCheck: Bool = false, completion: @escaping Callback<File> ) -> BoxUploadTask
Parameters
stream
An InputStream of data for been uploaded.
dataLength
The lenght of the InputStream
parentId
The ID of the parent folder. Use “0” for the root folder.
name
The name of the file. Box supports file names of 255 characters or less. Names containing non-printable ASCII characters, “/” or “\”, names with trailing spaces, and the special names “.” and “..” are also not allowed.
performPreflightCheck
Defines whether to perform preflight request first check to see whether uploaded file parameters such as size and name won’t cause an upload error.
completion
Returns a standard file object or an error if the parentId is invalid or if a file name collision occurs.
Return Value
BoxUploadTask
-
streamUploadVersion(stream:
fileSize: forFile: name: contentModifiedAt: ifMatch: progress: performPreflightCheck: completion: ) Upload a new version of an existing file.
Declaration
Swift
@discardableResult public func streamUploadVersion( stream: InputStream, fileSize: Int, forFile fileId: String, name: String, contentModifiedAt: String? = nil, ifMatch: String? = nil, progress: @escaping (Progress) -> Void = { _ in }, performPreflightCheck: Bool = false, completion: @escaping Callback<File> ) -> BoxUploadTask
Parameters
stream
An InputStream of data for the file to be uploaded.
fileSize
The length of the InputStream
forFile
The ID of the file
name
The name of the file. Box supports file names of 255 characters or less. Names containing non-printable ASCII characters, “/” or “\”, names with trailing spaces, and the special names “.” and “..” are also not allowed.
contentModifiedAt
The time the file was last modified. Defaults to time of upload.
ifMatch
The
etag
of the file version. Ensures this item hasn’t recently changed before making changes.performPreflightCheck
Defines whether to perform preflight request first check to see whether uploaded file parameters such as size and name won’t cause an upload error.
completion
Returns a standard file object or an error.
Return Value
BoxUploadTask
-
Verifies that new file will be accepted by Box before you send all the bytes over the wire. Verifies all permissions as if the file was actually uploaded including: folder upload permission, file name collisions, file size caps, folder and file name restrictions, folder and account storage quota.
Declaration
Swift
@discardableResult public func preflightCheck( name: String, parentId: String, size: Int64? = nil, completion: @escaping Callback<Void> ) -> BoxNetworkTask
Parameters
name
The name of the file
parantId
The ID of the parent folder. Use “0” for the root folder.
size
The size of the file in bytes
completion
Returns a empty resppnse in case of the checks have been passed and user can proceed to make a upload call or an error.
Return Value
BoxNetworkTask
-
Verifies that an updated file will be accepted by Box before you send all the bytes over the wire. It’s used before uploading new versions of an existing File. Verifies all permissions as if the file was actually uploaded including: folder upload permission, file name collisions, file size caps, folder and file name restrictions, folder and account storage quota.
Declaration
Swift
@discardableResult public func preflightCheckForNewVersion( forFile fileId: String, name: String? = nil, size: Int64? = nil, completion: @escaping Callback<Void> ) -> BoxNetworkTask
Parameters
fileId
The ID of the updated file.
name
The name of the file.
parantId
The ID of the parent folder. Use “0” for the root folder.
size
The size of the file in bytes
completion
Returns a empty response in case of the checks have been passed and user can proceed to make a upload call or an error.
Return Value
BoxNetworkTask
-
Declaration
Parameters
fileId
The ID of the file
expiresAt
The time the lock expires
isDownloadPrevented
Whether or not the file can be downloaded while locked
fields
completion
Returns a standard file object or an error
-
Unlock a file.
Declaration
Parameters
fileId
The ID of the file
fields
completion
Returns a standard file object or an error
-
Get a thumbnail image for a file. Sizes of 32x32, 64x64, 128x128, and 256x256 can be returned in the .png format and sizes of 32x32, 94x94, 160x160, and 320x320 can be returned in the .jpg format. Thumbnails can be generated for the image and video file formats listed on (http://community.box.com/t5/Managing-Your-Content/What-file-types-are-supported-by-Box-s-Content-Preview/ta-p/327)
Declaration
Swift
public func getThumbnail( forFile fileId: String, extension: ThumbnailExtension, minHeight: Int? = nil, minWidth: Int? = nil, maxHeight: Int? = nil, maxWidth: Int? = nil, completion: @escaping Callback<Data> )
Parameters
fileId
The ID of the file
extension
Specifies the thumbnail image file extension
minHeight
The minimum height of the thumbnail
minWidth
The minimum width of the thumbnail
maxHeight
The maximum height of the thumbnail
maxWidth
The maximum width of the thumbnail
-
Get a URL for creating an embedded preview session.
Declaration
Swift
public func getEmbedLink( forFile fileId: String, completion: @escaping Callback<ExpiringEmbedLink> )
Parameters
fileId
The ID of the file
fields
completion
Returns a standard embed link or an error
-
Get all of the collaborations on a file (i.e. all of the users that have access to that file).
Declaration
Swift
public func listCollaborations( forFile fileId: String, marker: String? = nil, limit: Int? = nil, fields: [String]? = nil ) -> PagingIterator<Collaboration>
Parameters
fileId
The ID of the file
marker
The position marker at which to begin the response. See marker-based paging for details. This parameter cannot be used simultaneously with the ‘offset’ parameter.
limit
The maximum number of items to return
fields
-
Get all of the comments on a file.
Declaration
Swift
public func listComments( forFile fileId: String, offset: Int?, limit: Int?, fields: [String]? = nil ) -> PagingIterator<Comment>
Parameters
fileId
The ID of the file
offset
The offset of the item at which to begin the response. See offset-based paging for details. This parameter cannot be used simultaneously with the ‘marker’ parameter.
limit
The maximum number of items to return.
fields
Return Value
Returns all of the comments on the file using offset-based paging.
-
Get all of the tasks for a file.
Declaration
Swift
public func listTasks( forFile fileId: String, fields: [String]? = nil ) -> PagingIterator<Task>
Parameters
fileId
The ID of the file
fields
completion
Returns all of the tasks on the file
-
Download a file to a specified folder.
Declaration
Swift
@discardableResult public func download( fileId: String, destinationURL: URL, version: String? = nil, progress: @escaping (Progress) -> Void = { _ in }, completion: @escaping Callback<Void> ) -> BoxDownloadTask
Parameters
fileId
The ID of the file
destinationURL
A URL for the location on device that we want to store the file once been donwloaded
version
Optional file version ID to download (defaults to the current version)
completion
Returns an empty response or an error
Return Value
BoxDownloadTask
-
Discards a file to the trash. The
etag
of the file can be included as an ‘If-Match’ header to prevent race conditions. Depending on the enterprise settings for this user, the item will either be actually deleted from Box or moved to the trash.Declaration
Swift
public func delete( fileId: String, ifMatch: String? = nil, completion: @escaping Callback<Void> )
Parameters
fileId
Id of the file that should be deleted.
ifMatch
The etag of the file. This is in the
etag
field of the file object.completion
Empty response in case of success or an error.
-
Retrieves all file versions on a specified file.
Declaration
Swift
public func listVersions( fileId: String, offset: Int? = nil, limit: Int? = nil, fields: [String]? = nil ) -> PagingIterator<FileVersion>
Parameters
fileId
The id to retrieve all versions on.
offset
The offset of the item at which to begin the response. See offset-based paging for details.
limit
The maximum number of items to return. The default is 100 and the maximum is 1,000.
fields
Comma-separated list of fields to include in the response.
-
Retrieves a specified file version.
Declaration
Swift
public func getVersion( fileId: String, fileVersionId: String, fields: [String]? = nil, completion: @escaping Callback<FileVersion> )
Parameters
fileId
The id the file the file version belongs to.
fieldVersionId
The id of the file version to retrieve.
fields
Comma-separated list of fields to include in the response.
completion
Returns a full file version object or an error.
-
Promotes the specified file version to the current file version.
Declaration
Swift
public func promoteVersion( fileId: String, fileVersionId: String, fields: [String]? = nil, completion: @escaping Callback<FileVersion> )
Parameters
fileId
The id of the file the file version to promote belongs to.
fileVersionId
The id of the file version to promote.
fields
Comma-separated list of fields to include in the response.
completion
Returns a full file version object or an error.
-
Discards the specified file version to the trash.
Declaration
Swift
public func deleteVersion( fileId: String, fileVersionId: String, ifMatch: String? = nil, completion: @escaping Callback<Void> )
Parameters
fileId
The id of the file the file version to delete belongs to.
fileVersionId
The file version to delete.
ifMatch
The
etag
of the file version. This is unique to the file version and prevents simultaneous updates.completion
Returns a empty reponse or an error.
-
Remove the watermark from a specified file.
Declaration
Swift
public func removeWatermark( fileId: String, completion: @escaping Callback<Void> )
Parameters
fileId
The id of the file to remove the watermark from.
completion
Returns an empty response or an error.
-
Gets file with updated shared link
Declaration
Swift
public func getSharedLink( forFile fileId: String, completion: @escaping Callback<SharedLink> )
Parameters
fileId
The ID of the file
completion
Returns a standard SharedLink object or an error
-
Creates of updates shared link for a file
Declaration
Swift
public func setSharedLink( forFile fileId: String, unsharedAt: NullableParameter<Date>? = nil, vanityName: NullableParameter<String>? = nil, access: SharedLinkAccess? = nil, password: NullableParameter<String>? = nil, canDownload: Bool? = nil, canEdit: Bool? = nil, completion: @escaping Callback<SharedLink> )
Parameters
fileId
The ID of the file
unsharedAt
The date-time that this link will become disabled. This field can only be set by users with paid accounts
vanityName
The custom name of a shared link, as used in the vanityUrl field. It should be between 12 and 30 characters. This field can contains only letters, numbers, and hyphens.
access
The level of access. If you omit this field then the access level will be set to the default access level specified by the enterprise admin
password
The password required to access the shared link. Set to .empty to delete the password
canDownload
Whether the shared link allows downloads
canEdit
Whether the shared link allows editing
completion
Returns a standard SharedLink object or an error
-
Removes shared link for a file
Declaration
Swift
public func deleteSharedLink( forFile fileId: String, completion: @escaping Callback<Void> )
Parameters
fileId
The ID of the file
completion
Returns an empty response or an error
-
Creates a zip of multiple files and folders and downloads it.
Declaration
Swift
public func downloadZip(name: String, items: [ZipDownloadItem], destinationURL: URL, completion: @escaping Callback<ZipDownloadStatus>)
Parameters
name
The name of the zip file to be created
items
Array of files or folders to be part of the created zip
destinationURL
A URL for the location on device that we want to store the file once it has been downloaded
completion
Returns a standard ZipDownloadStatus object or an error
-
Create an upload session for uploading a new file.
Declaration
Swift
func createUploadSession( folderId: String, fileName: String, fileSize: Int32, completion: @escaping Callback<UploadSession> )
Parameters
folderId
The ID of the folder that will contain the new file.
fileName
Name of new file.
fileSize
The total number of bytes in the file to be uploaded.
completion
Returns a upload session object or an error if upload session cannot be created, for example when folder with specified ID doesn’t exist
-
Create an upload session for uploading a new file version.
Declaration
Swift
func createUploadSessionForNewVersion( ofFile fileId: String, fileName: String? = nil, fileSize: Int32, completion: @escaping Callback<UploadSession> )
Parameters
fileId
The ID of the file of which version is uploaded.
fileName
Optional name of new file. If provided, the file name will be changed to this value upon successful upload.
fileSize
The total number of bytes in the file to be uploaded.
completion
Returns a upload session object or an error if upload session cannot be created
-
Upload a part of the file to this session.
Declaration
Swift
@discardableResult func uploadPart( sessionId: String, data: Data, offset: Int, totalSize: Int, progress: @escaping (Progress) -> Void = { _ in }, completion: @escaping Callback<UploadPart> ) -> BoxUploadTask
Parameters
sessionId
ID of upload session object.
data
The part content as binary data.
offset
The first byte of uploaded part
totalSize
total size of uploaded data
completion
Returns a upload part object or an error if part upload failed
Return Value
BoxUploadTask
-
Get list of parts of chunked upload session.
Declaration
Swift
func listUploadSessionParts( sessionId: String, offset: Int? = nil, limit: Int? = nil ) -> PagingIterator<UploadPartDescription>
Parameters
sessionId
ID of upload session object.
offset
The offset of the item at which to begin the response. See offset-based paging for details.
limit
The maximum number of items to return. The default is 100 and the maximum is 1,000.
-
commitUpload(sessionId:
parts: sha1: description: sharedLink: tags: collections: lock: contentCreatedAt: contentModifiedAt: completion: ) Commit upload session after successful upload of all parts.
Declaration
Swift
func commitUpload( sessionId: String, parts: [UploadPartDescription], sha1: String, description: String? = nil, sharedLink: SharedLinkData? = nil, tags: [String]? = nil, collections: [String]? = nil, lock: LockData? = nil, contentCreatedAt: Date? = nil, contentModifiedAt: Date? = nil, completion: @escaping Callback<File> )
Parameters
sessionId
ID of upload session object.
parts
Array of upload part descriptions
sha1
Base64 encoded SHA1 digest from the whole uploaded file.
description
Optional. The description of this file.
sharedLink
Optional. The shared link object for this file.
tags
Optional. All tags applied to this file
collections
Optional. The collections that the file belongs to
lock
Optional. The lock held on this file. If there is no lock, this can either be null or have a timestamp in the past.
contentCreatedAt
Optional. When the content of this file was created.
contentModifiedAt
Optional. When the content of this file was last modified.
completion
Returns an array of files or an error if part upload failed
-
Abort chunked upload session.
Declaration
Swift
func abortUpload( sessionId: String, completion: @escaping Callback<Void> )
Parameters
sessionId
ID of upload session object.
completion
Returns a success or an error if aborting failed
-
Get chunked upload session with ID.
Declaration
Swift
func getUploadSession( sessionId: String, completion: @escaping Callback<UploadSession> )
Parameters
sessionId
ID of existing chunked upload session.
completion
Returns a upload session or an error if session cannot be returned
-
Get representations for a file.
Declaration
Swift
func listRepresentations( fileId: String, representationHint: FileRepresentationHint? = nil, completion: @escaping Callback<[FileRepresentation]> )
Parameters
fileId
The id of the file to retrieve representations for.
representationHint
The representation to retrieve for the file. It can be one of predefined options or custom representation, see representation documentation.
completion
Returns an array of the specified representations.
-
Get particular representation for a file.
Declaration
Swift
func getRepresentationContent( fileId: String, representationHint: FileRepresentationHint, assetPath: String = "", destinationURL: URL, progress: @escaping (Progress) -> Void = { _ in }, completion: @escaping Callback<Void> )
Parameters
fileId
The id of the file to retrieve representations for.
representationHint
The representation to retrieve for the file. It can be one of predefined options or custom representation. If multiple representations match the representationHint, the behavior is undefined - used representation is selected nondeterministically. See representation documentation.
assetPath
Asset path for representations with multiple files
destinationURL
A URL for the location on device that we want to store the file once been donwloaded
completion
Returns an array of the specified representations.
-
Download a file to a specified folder.
Declaration
Swift
@discardableResult public func downloadRepresentation( sourceURL: URL, destinationURL: URL, progress: @escaping (Progress) -> Void = { _ in }, completion: @escaping Callback<Void> ) -> BoxDownloadTask
Parameters
fileId
The ID of the file
destinationURL
A URL for the location on device that we want to store the file once been donwloaded
version
Optional file version ID to download (defaults to the current version)
completion
Returns an empty response or an error
Return Value
BoxDownloadTask
-
Retrieves information about a file version retention policy.
Declaration
Swift
func getVersionRetention( retentionId id: String, completion: @escaping Callback<FileVersionRetention> )
Parameters
id
Identifier of retention policy of a file version.
completion
Either specified file version retention will be returned upon success or an error.
-
listVersionRetentions(fileId:
fileVersionId: policyId: dispositionAction: dispositionBefore: dispositionAfter: limit: marker: ) Retrieves all file version retentions for the given enterprise.
Declaration
Swift
@available(*, deprecated, message: "Please use RetentionPoliciesModule#listFilesUnderRetentionForAssignment(retentionPolicyAssignmentId:limit:marker﹚ instead.") func listVersionRetentions( fileId: String? = nil, fileVersionId: String? = nil, policyId: String? = nil, dispositionAction: DispositionAction? = nil, dispositionBefore: Date? = nil, dispositionAfter: Date? = nil, limit: Int? = nil, marker: String? = nil ) -> PagingIterator<FileVersionRetention>
Parameters
fileId
A file id to filter the file version retentions by.
fileVersionId
A file version id to filter the file version retentions by.
policyId
A policy id to filter the file version retentions by.
dispositionAction
The disposition action of the retention policy.
dispositionBefore
Filter retentions with disposition date before provided date.
dispositionAfter
Filter retentions with disposition date after provided date.
limit
The maximum number of items to return in a page.
marker
The position marker at which to begin the response. See marker-based paging for details.
Return Value
Returns either the list of all file version retentions for the enterprise or an error. If optional parameters are given, only the file version retentions that match the query parameters are returned.


×
Close
Choose Sketch Name
Toggle navigation
ScalaZen
Home
New Sketch
Gallery
Examples
Loading Server
Compile
Preview
MyApp
+


An Output Device is the result of what you inputted.
The Network Interface Card is a piece of hardware used to connect to your network.
The Central Processing Unit is the brain and the calculator of the computer.
Random Access Memory stores data that is temporary, as it is from application and programs
Images = 3rd Party Content.


| Home | Trees | Indices | Help |
|---|
|
|
| Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
| Variables | |
__package__ = None
|
| Function Details |
WMAP7 + BAO + H_0 parameters from Komatsu et al. (arxiv:1001.4538v1) Parametersflat: boolean If True, sets omega_lambda_0 = 1 - omega_M_0 to ensure omega_k_0 = 0 exactly. Also sets omega_k_0 = 0 explicitly. extras: boolean If True, sets neutrino number N_nu = 0, neutrino density omega_n_0 = 0.0, Helium mass fraction Y_He = 0.24. |
WMAP7 ML parameters from Komatsu et al. (arxiv:1001.4538v1) Parametersflat: boolean If True, sets omega_lambda_0 = 1 - omega_M_0 to ensure omega_k_0 = 0 exactly. Also sets omega_k_0 = 0 explicitly. extras: boolean If True, sets neutrino number N_nu = 0, neutrino density omega_n_0 = 0.0, Helium mass fraction Y_He = 0.24. |
WMAP5 + BAO + SN parameters from Komatsu et al. (2009ApJS..180..330K). Parametersflat: boolean If True, sets omega_lambda_0 = 1 - omega_M_0 to ensure omega_k_0 = 0 exactly. Also sets omega_k_0 = 0 explicitly. extras: boolean If True, sets neutrino number N_nu = 0, neutrino density omega_n_0 = 0.0, Helium mass fraction Y_He = 0.24. NotesFrom the abstract of the paper:
|
WMAP5 parameters (using WMAP data alone) from Komatsu et al. (2009ApJS..180..330K). Parametersflat: boolean If True, sets omega_lambda_0 = 1 - omega_M_0 to ensure omega_k_0 = 0 exactly. Also sets omega_k_0 = 0 explicitly. extras: boolean If True, sets neutrino number N_nu = 0, neutrino density omega_n_0 = 0.0, Helium mass fraction Y_He = 0.24. NotesValues taken from "WMAP 5 Year ML" column of Table 1 of the paper. |
WMAP5 parameters (using WMAP data alone) from Komatsu et al. (2009ApJS..180..330K). Parametersflat: boolean If True, sets omega_lambda_0 = 1 - omega_M_0 to ensure omega_k_0 = 0 exactly. Also sets omega_k_0 = 0 explicitly. extras: boolean If True, sets neutrino number N_nu = 0, neutrino density omega_n_0 = 0.0, Helium mass fraction Y_He = 0.24. NotesValues taken from "WMAP 5 Year Mean" of Table 1 of the paper. |
WiggleZ fiducial cosmological parameter set from Blake et al. (arxiv:1105.2862). N.b. that this does not use any WiggleZ results. Parametersextras: boolean If True, sets neutrino number N_nu = 0, neutrino density omega_n_0 = 0.0, Helium mass fraction Y_He = 0.24 NotesValues taken from the final paragraph of Section 1 of the paper. The cosmology is flat by definition. |
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Mar 27 20:49:14 2012 | http://epydoc.sourceforge.net |


“Pañca chinde pañca jahe,
pañca cuttari bhāvaye;
Pañcasaṅgātigo bhikkhu,
oghatiṇṇoti vuccatī”ti.
… Kuṇḍadhāno thero ….
Five to cut, five to drop,
and five more to develop.
A monk who has got over five kinds of clinging
is called “One who has crossed the flood”.


--- layout: documentation title: ImageInfoType ---
The ImageInfoType type captures information about the process image.
| Field Name | Type | Description |
|---|---|---|
| File_Name0..1 | StringObjectPropertyType |
The File_Name field specifies the name of the binary file which represents the process image. |
| Command_Line0..1 | StringObjectPropertyType |
The Command_Line field specifies the complete command used to execute the process image. |
| Current_Directory0..1 | StringObjectPropertyType |
The Current_Directory field specifies the current directory of the process image. |
| Path0..1 | StringObjectPropertyType |
The Path field specifies the fully qualified path to the image file, including the file name. |