why noms?
for the environment
When catered campus events end, the leftover food needs to be consumed quickly or risk being thrown away. This kind of potential food waste is, environmentally speaking, the worst kind there is: food that has completed the entire cycle of growing, transportation, storage, and preparation—just to end up in the bin. noms helps divert some of the 150,000 tons of food destined for the landfill every day into the stomachs of your community.
for your wallet
Whether you’re a student or on-campus organization, you’re looking for ways to save money. As a student, we know you’re looking for ways to make tuition more manageable, and every bit counts. As an organization, we know that you would want the leftover food you spent money on to reach those who would benefit. noms provides the infrastructure to connect the goals of both.
for humanity
At some colleges, nearly half of all students reported experiencing food insecurity in the past month. noms offers your college’s community new ways to support those who need it most.


On Discovering New APIs
In working with any programming language, I’ve always found that if you seem to be fighting things to get work done, you’re probably doing it wrong. This is especially true in Cocoa Touch. When I was first learning the frameworks, I read a lot of blogs, books, and any other materials I could get my hands on.  Read the docs again.”
It took me a while to realize that Apple has excellent documentation. It’s gotten a lot better in the Microsoft world, but in the C# 2.0 and 3.5 days, you would frequently go in search of a particular framework method or property, and come across a blank page that was obviously generated by some kind of tool. Or, my favorite was when you had a property that was named something like ToolsArray, and the description would contain verbiage like “The array that holds the tools”.
Apple has excellent documentation that gives common sense user cases, detailed definitions, and, in most cases, real world usage examples. I was reading the excellent new book iOS Recipes Matt Drance and Paul Warren, and discovered a new gem. This one is on the UserDefaults class.
I use the UserDefaults class in a few places in my apps, mostly to hold and maintain state, such as if the app has been launched, if the user has been registered, etc. I always found myself writing guard code like this:
1 2 3 4 5 |
|
There is a way to ensure user defaults have some pre-configured settings, which will reduce some of the redundancy in testing that user settings key/value pairs exist. This is accomplished using the following method call on the user defaults:
1
|
|
When you make this method call, the defaults variable is an NSDictionary that contains they keys and values you want to set as initial defaults. The best part about this particular method, though, is that it will only set the values in user defaults if they don’t already exist. What I have been doing to set these initial defaults is to create a .plist file that includes my default values. I pass this into the code as a dictionary, then call the registerDefaults method on startup to provide the default values at runtime. Here is a quick example:
My PList looks like this:
1 2 3 4 5 6 7 8 |
|
1 2 3 4 |
|
After this point, calling
1
|
|
will get you the string “TestValue”, even if you haven’t initialized it somewhere else in your code.
For a full rundown, make sure you check out the official documentation.


Week 7
7.10 Technical Blog
Feb 15 2016
Ruby Hashes vs. Javascript Objects
The topic of discussion today is to compare hashes in Ruby to objects in Javascript. What are they, what are some of the differences between them, and some of the similarities.
To start with let's look at a JS object and a Ruby hash side by side.
ben = {name: "Ben", age: 28, hobby: "rockets"}
var ben = {name: "Ben", age: 28, hobby: "rockets"};
They look awfully similar. You can tell the second one is the JS object because it has the "var" command in front of it which is used in variable declaration. It also has the ";" at the end which is JS's equivalent of putting a period at the end of sentence. Now how about accessing those variables?
ben[:hobby]
ben.hobby;
You can see again they are somewhat similar; A little less so than the declaration statements.
The first one is the Ruby hash using symbols as the key to access the value. The second one
is the JS object using dot notation to access the value of hobby. JS also has its own bracket notation,
however, so let's see what that looks like.
ben[:hobby]
ben["hobby"];
Well it's starting to get a little harder to tell the difference between the two. Again, the Ruby hash is on top using symbols as a key to reference a value. The bottom example is a JS object now using the bracket notation to reference the value for hobby. Well what if you use a Ruby hash with strings as keys? Well the declaration would look something like this;
ben = {"name" => "Ben", "age" => 28, "hobby" => "rockets"}
So that is the declaration of a hash using strings. You revert to the rocket notation (The little '=>' is reffered to as a rocket).  Good luck telling the difference there. If it wasn't for the fact that JS
uses semi-colons at the end of line youwouldn't be able to tell the difference.
We see how similar the JS object and Ruby hash can be from a syntax point of view as far as declaring them and accessing the key/value pairs within them.
So what's the difference? Well a significant difference is how the respective languages handles objects. JS considers other functions to be objects themselves where Ruby does not. This means you can actually put functions within an object in JS. You cannot have functions, what Ruby refers to as 'methods', inside of a hash. It is syntactically impossible.
That means you can have an object that looks something like this;
var ben = {
name: "Ben",
age: 28,
hobby: "rockets",
whoAmI: function() {
console.log(name + age + hobby);
}
}
I access that function with dot notation.
ben.whoAmI;
When I call that function it will perform whatever block of code I have set aside for that function. Pretty neat, huh?
Well I hope that sheds some light on the subject of hashes vs objects in Ruby and JS, respectively. We saw how very similar they can get with accessing variables (down to a semicolon), and how similar they can look when declaring them. A major difference, however, is that JS objects can contain functions, and Ruby hashes cannot contain methods.


{% extends 'template-lab-2a.html' %} {% set mainClasses = 'nhsuk-u-padding-top-0' %} {% block pageTitle %} Symptoms - NHS {% endblock %} {% block beforeContent %}
Body odour is a common problem. You can usually treat it yourself.
You can ask a pharmacist about:
You have body odour that has not got better after treating it yourself and:
If you have severe body odour and sweating, a GP may suggest:
Read more about treating excessive sweating.
Things that can make body odour worse include:
Body odour may also be linked to excessive sweating and smelly feet.
Page last reviewed: 02 August 2019
Next review due: 02 August 2022


Research
Cyber-physical system in extreme environments for smart health, climate-smart agriculture, underwater sensing, and underground infrastructure monitoring;
Wearable nano-biosensing using wireless nanosensor networks;
Low-power internet-of-things in extreme environments;
Modeling, fabrication, control, and characterization of reconfigurable antennas and RF metamaterials;
Wireless communications and networking in extreme environments using artificial intelligence.
Projects
2022-2027 LNFC: Long-Range Near Field Communication for Ultra-Dense Internet of Things
2020-2024 Wireless Networking using Battery Free Devices in Inhomogeneous Environments
2020-2022 Autonomous Underwater Target Detection and Monitoring Using Swarm Robotics
2020-2022 Cognitive Monitoring Systems using Intelligent Robots and Sensors in Dynamic Extreme Environments
Links
NSF proposal template https://github.com/nsf-open/nsf-proposal-latex-samples


Adds random jitter noise to the frequencies and amplitudes of partials.
Jitter only adds noise when receiving a trigger and on NOTE ON. Each time it receives a trigger it changes the noise provided.
- Input
- The partials input
- Freq Var
- The degree of jitter noise applied to the frequencies of the partials.
- Amp Var
- The degree of jitter noise applied to the amplitudes of the partials.
- Trigger
- Tiggers the module to change its jitter noise
- Seed
- The random number seed for the jitter. This allows the jitter pattern to be exactly the same (deterministic) each time you press a note. Alternatively you can set the seed to Free, which makes the pattern nondeterministic. Free is particularly useful if you want new jitter every time you press a note.
- Non-Zero
- Jitter is only applied to non-zero amplitude partials. This is useful when combining Jitter with Fill.
- Amp Ratio
- The amplitude jitter should be proportional to the current amplitude value, as opposed to just fixed random noise.


Example Chart using Chart.js
Example AJAX call to Covid19api
Load Covid-19 Content
This is a completely separate container


Parent helps launch Hawaiian immersion school in Lahaina | Honolulu Star-Advertiser
An ‘olelo Hawaii — Hawaiian language — preschool has opened along Lahaina Harbor, largely thanks to the advocacy and work of parents such as Karyn Kanekoa of Honokohau Valley. Read more
Mahalo for reading the Honolulu Star-Advertiser!
You're reading a premium story. Read the full story with our Print & Digital Subscription.
Already a subscriber? Log in now to continue reading this story.
Print subscriber but without online access? Activate your Digital Account now.


W.I.P
This is currently not functional ! If you are interested in the project feel free to submit an improvement or else;
DolphinSR_Dart
This projet is a copy of the DolphinSR algorithm from Yodaiken which was written in Javascript. I need something like that in DART ... so I'm translating it. Link to original library
(Following is from the original module)
DolphinSR implements spaced repetition in Dart. Specifically, it uses Anki's modifications to the SM2 algorithm including:
- an initial mode for learning new cards
- a mode for re-learning cards after forgetting them
- reducing the number of self-assigned ratings from 6 to 4
- factoring lateness into card scheduling
- Anki's default configuration options
While DolphinSR is intentionally very similar to Anki's algorithm, it does deviate in a few ways:
- improved support for adding reviews out of order (for example, due to network latency)
- very different internal data structures (DolphinSR is largely written in a functional style to make testing and debugging easier, and does not rely on storing computed data or any SQL database)
- only one kind of card
Installation
Soon
Quick Start
Soon
API
Soon


Please send suggestions, cooments, bug reports, and success stories to us.
Your feedback is highly appreciated!
EEXCESS is a product of the EU-FP7 project EEXCESS -making you aware of cultural and scientific content-.


h1. Bootstrap heading
h2. Bootstrap heading
h3. Bootstrap heading
h4. Bootstrap heading
h5. Bootstrap heading
h6. Bootstrap heading
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
You can use the mark tag to highlight text.
This line of text is meant to be treated as deleted text.
This line of text is meant to be treated as no longer accurate.
This line of text is meant to be treated as an addition to the document.
This line of text will render as underlined
This line of text is meant to be treated as fine print.
This line rendered as bold text.
This line rendered as italicized text.
Brisket biltong beef, pancetta tenderloin strip steak turkey rump.  Shank pork loin venison, corned beef beef shankle brisket meatloaf.  Turducken spare ribs shank capicola short loin burgdoggen drumstick turkey cupim ball tip venison. Porchetta boudin short loin salami shank pastrami.
Pork jerky ball tip meatloaf bacon pork chop, tongue alcatra andouille short ribs spare ribs chuck. Hamburger shank bacon pork belly tenderloin. Filet mignon bresaola shankle cow corned beef. Short ribs chicken biltong shankle pastrami shoulder ribeye brisket tail fatback porchetta swine ham hock kevin. Sausage chicken pastrami, porchetta spare ribs bresaola kevin tri-tip. Shank sirloin jerky, t-bone ham bacon chicken tongue sausage rump doner. Ribeye fatback tenderloin swine meatloaf, tongue burgdoggen pork chop corned beef pork loin.
This is the footer!


| Total net profit | -38.04 | Gross profit | 41.35 | Gross loss | -79.39 |
| Profit factor | 0.52 | Expected payoff | -0.37 | ||
| Absolute drawdown | -43.01 | Maximal drawdown (%) | 43.78 (5685.71%) | ||
| Total trades | 104 | Profit trades (% of total) | 41 (39.42%) | Loss trades (% of total) | 63 (60.58%) |
| Long positions (won %) | 48 (41.67%) | Short positions (won %) | 56 (37.5%) | ||
| Largest | profit trade | 4.89 | loss trade | -3.35 | |
| Average | profit trade | 1.01 | loss trade | -1.26 | |
| Minimum | profit trade | 0.03 | loss trade | -0.07 | |
| Maximum | take profit in pips | 46.8 | stop loss in pips | -37.2 | |
| Average | take profit in pips | 12.7 | stop loss in pips | -15.1 | |
| Minimum | take profit in pips | -2.1 | stop loss in pips | -2.7 | |
| Maximum | Reward-Risk | 9.6 | Duration in minutes | 3588 | |
| Average | Reward-Risk | 1.2 | Duration in minutes | 260.4 | |
| Minimum | Reward-Risk | 0.0 | Duration in minutes | 0 | |
| Maximum | consecutive wins (profit in money) | 5.0 (9.01) | consecutive losses (loss in money) | 11.0 (-13.83) | |
| Average | consecutive wins | 1.0 | consecutive losses | 2.0 |
| Total net profit | -27.56 | Gross profit | 14.79 | Gross loss | -42.35 |
| Profit factor | 0.35 | Expected payoff | -0.57 | ||
| Absolute drawdown | -28.23 | Maximal drawdown (%) | 27.16 (-2538.32%) | ||
| Total trades | 48 | Profit trades (% of total) | 20 (41.67%) | Loss trades (% of total) | 28 (58.33%) |
| Largest | profit trade | 1.51 | loss trade | -3.11 | |
| Average | profit trade | 0.74 | loss trade | -1.51 | |
| Minimum | profit trade | 0.05 | loss trade | -0.48 | |
| Maximum | take profit in pips | 37.7 | stop loss in pips | -37.2 | |
| Average | take profit in pips | 10.5 | stop loss in pips | -16.0 | |
| Minimum | take profit in pips | 0.3 | stop loss in pips | -4.2 | |
| Maximum | Reward-Risk | 5.0 | Duration in minutes | 1194.0 | |
| Average | Reward-Risk | 0.9 | Duration in minutes | 257.8 | |
| Minimum | Reward-Risk | 0.0 | Duration in minutes | 2.0 | |
| Maximum | consecutive wins (profit in money) | 4.0 (2.46) | consecutive losses (loss in money) | 6.0 (-9.64) | |
| Average | consecutive wins | 2.0 | consecutive losses | 2.0 |
| Total net profit | -10.48 | Gross profit | 26.56 | Gross loss | -37.04 |
| Profit factor | 0.72 | Expected payoff | -0.19 | ||
| Absolute drawdown | -17.1 | Maximal drawdown (%) | 17.87 (2320.78%) | ||
| Total trades | 56 | Profit trades (% of total) | 21 (37.5%) | Loss trades (% of total) | 35 (62.5%) |
| Largest | profit trade | 4.89 | loss trade | -3.35 | |
| Average | profit trade | 1.26 | loss trade | -1.06 | |
| Minimum | profit trade | 0.03 | loss trade | -0.07 | |
| Maximum | take profit in pips | 46.8 | stop loss in pips | -32.2 | |
| Average | take profit in pips | 14.5 | stop loss in pips | -14.4 | |
| Minimum | take profit in pips | -2.1 | stop loss in pips | -2.7 | |
| Maximum | Reward-Risk | 9.6 | Duration in minutes | 3588.0 | |
| Average | Reward-Risk | 1.5 | Duration in minutes | 262.6 | |
| Minimum | Reward-Risk | Duration in minutes | 0.0 | ||
| Maximum | consecutive wins (profit in money) | 3.0 (3.18) | consecutive losses (loss in money) | 9.0 (-8.66) | |
| Average | consecutive wins | 2.0 | consecutive losses | 3.0 |


Build complete.
Click on the links below to download the assets then publish to your DC/OS cluster.
This is a DC/OS Community project and is not supported or warrantied by Mesosphere.
Please refer to https://github.com/aggress/mesosphere-dcos-universe-builder for further information.
dcos-local-universe-registry.service
dcos-local-universe-http.service


the and []. with patients for are {background The was margin that were {border-style px;} respiratory #ffffff;} coronavirus have COVID- should cases also novel China been from infected infection spread SARS reported virus against disease had has MERS human They can however, most not such suggested transmission antiviral confirmed during may outbreak pneumonia px; risk study than used {font-family Currently, but clinical first font-size patient prevent severe symptoms being case demonstrated double; infections isolation measures nosocomial number other potential protective rate recent required those treatment when Coronavirus Health Wuhan Wuhan, acute after agents associated border-color border-width chest coronaviruses develop effective equipment healthcare identified interventions lung mechanical medical more pulmonary recently showed solid; spread. studied syndrome vaccines viral will {font-style {font-weight (%) East Engl SARS, SARS-CoVâ€‘ activity advised airborne all among analysis authors bold cause concluded control courier; days development early em; emergency fatality fever health higher least one patients, personal present pt;} public remdesivir review room surgical there they two use using ventilation via â€"%


education
- fall 2011 - spring 2015
- B.A. Design, Visual Communications
- B.A. Japanese
- Dean's List Fall 2011-Spring 2014,
- Winter 2015-Spring 2015
University of California, Davis
experience
- october 2019 - present
- remote
- Translate research papers and official documents promptly from Mandarin Chinese to English, while communicating with team members remotely.
Freelance Translator at Wallace Academic Editing
- march 2019 - august 2019
- milpitas, california
- Cared for senior citizens by serving their meals, entertaining them with creative activities, and conversing with them in English and Mandarin Chinese. Planned and taught weekly English lessons. Performed administrative duties by recording seniors' daily attendance and activity participation.
Activity Assistant at Silicon Valley Adult Health Care Day Center
- june 2017 - october 2018
- taipei, taiwan
- Translated research papers and official documents promptly from Mandarin Chinese to English; topics ranged from chemistry to religion and literature. Proofread source (Mandarin Chinese) and target texts (US and UK English) for English grammar, content accuracy, and overall quality.
In-House Translator/Proofreader at Wallace Academic Editing
- october 2016 - june 2017
- taipei, taiwan
- Designed, coded, and maintained a website for the Taiwan Animation and Comic Promoting Association using HTML5, CSS3, jQuery, and JavaScript. Designed web banners, promotional posters, work passes, and clear files with team members for events and workshops.


Category
UI/UX, Visual Design
Date
December 2018
Tools
XD, Illustrator
The Project
I was assigned the task of designing a banking app that would fit the needs of a particular audience. It would address the issues in other banking apps that the target audience would experience, and would offer relevant solutions.
The Problem
Most students and younger adults, like myself, use a banking app. When I began brainstorming ideas for a new app, I was stumped when it occurred to me that I knew nothing about banking. After consulting friends and colleagues, it was obvious that I was not alone. It turns out there is a large population that only actually uses their banking app for three things - checking balances, sending E-transfers and occasionally making payments.
While other banking apps offer these features, there are countless other features that a lot of users are afraid to even open, making the already daunting task of personal banking far more stressful than it needs to be.
Money can be easy again!
The goal of Simple Save was to create a banking app that is simple, straightforward, and appeals to someone with minimal banking needs and knowledge.
In addition to the features you need, there are unique tools designed to aid users manage and budget their money easier.
Budgeting, but better
The goal of Simple Save was to create a banking app that is simple, straightforward, and appeals to someone with minimal banking needs and knowledge.
Active Feedback
In addition to the features you need, there are unique tools designed to aid users manage and budget their money easier.
Video Walkthrough
Watch an interactive walkthrough showcasing Simple Save's unique features and its new approach to online banking.
The Process!
The Main Problem
A note to self - I don't know hot to bank
Banking is an incredibly complicated thing that I have no understaning of outside of account balances and transfering funds.
All I use my banking app for is checking my account balance, etransfer, and occasionaly depositing cheques from work.
I, like many other students my age, only use a banking app to do those basic tasks. People like us need a banking app that doesn’t have all those extra features that banks have to offer.
Also, students are poor
Like myself, many students are very poor; on the verge of broke. We could benefit from:
- Notification when account balance dips below certain level
- Notify when sending an etransfer would put account balance below that level
- Notify when spent over a daily limit
- ATM Locator
- Show private information by default (account balance can be embarassing!)
The Target Audience
Banking is an incredibly complicated thing that I have no understaning of outside of account balances and transfering funds.
Activities this group uses banking apps for
Checking account balances, using etransfer, depositing cheques, tracking spending. That’s really all.
Tracking spending is or can be a daily activity, checking account balances and sending etrasnfers are less frequently but still often, and depositing cheques is ocassionaly.
User Scenarios
Camden (myself)
I am 19 years old, and a full time student. I am good with apps and have a good understanding of how apps work but I have no idea how banking works. My knowledge of banking is limited to account balances, etrasnfers, and depositing cheques. I use my banking app regularly but only use about 10% of the app. I’m broke and don’t have enough money to even be able to use half of the functions my banking app has. Because I’m also a full time student and never have time to go to the bank. I have trouble watching my spending and often have to check my balance to see if I have enough money. I also want a banking app that allows me to use it around friends without worrying about them seeing my balance or other private information.
Alex
Alex is a 20 year old student and part time worker. Alex, like me, is also poor and has to regularly check her account balance before making any degree of financial decisions. Alex only uses her banking app to check her balance and send / receive etransfers. Alex wishes her banking app would notify her when her balance reaches a certain level, and that there was a better way to track her daily spending.
Alex accesses the budget accounts section under budgeting, where she can see her existing budget accounts and balances.
She hits the plus button to add a new budget account. Now she is at the editing screen for a new budget account.
Alex is presented with the option of naming her new budget account, assigning a percentage to it, and whether or not she wants to include it in budget depositing.
Alex names the account ‘Rent’, and dedicates 20% of her overall account to it. Now she is ready to start saving for her upcoming rent payments!
After accessing selecting a contact from the E-Transfer page, he is presented with the E-Transfer details to fill out.
After entering an ammount too high, the amount goes red to show he does not have enough.
After changing the amount, he is shown that he has enough funds, but may cause future issues with upcoming payments.
After reducing the amount, he is shown that he has in the clear!
Flowchart
Wireframes


Drag a file into the designated area, or choose a file using the Choose File button.
You load from a url by entering the url below and clicking on the Load button.


Code gave me more freedom in terms of creativity (as with code you can make anything) when I learned code. Without learning code, I wouldn't be able to make this personal story assignment, ArcherCraft, a good grade from balancing hobbies and school, and I would do what 'followers' do when someone skips (or cuts ) classes.\


Use Vim like control to play! (h = left, j = down, k = rotate, l = right)
Or you can use the traditional arrow key to play
Use "space" to drop the block immediately to bottom


|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Facet
| Nested Class Summary | |
|---|---|
static class |
Facet.Type
|
| Field Summary | |
|---|---|
static Facet.Type |
ENUMERATION
The facet type enumeration. |
static Facet.Type |
FRACTION_DIGITS
The facet type fractionDigits. |
static Facet.Type |
LENGTH
The facet type length. |
static Facet.Type |
MAX_EXCLUSIVE
The facet type maxExclusive. |
static Facet.Type |
MAX_INCLUSIVE
The facet type maxInclusive. |
static Facet.Type |
MAX_LENGTH
The facet type maxLength. |
static Facet.Type |
MIN_EXCLUSIVE
The facet type minExclusive. |
static Facet.Type |
MIN_INCLUSIVE
The facet type minInclusive. |
static Facet.Type |
MIN_LENGTH
The facet type minLength. |
static Facet.Type |
PATTERN
The facet type pattern. |
static Facet.Type |
TOTAL_DIGITS
The facet type totalDigits. |
| Method Summary | |
|---|---|
long |
getNumValue()
If the facet has the types FRACTION_DIGITS or TOTAL_DIGITS :
Returns the facet value. |
Facet.Type |
getType()
Returns the facet type. |
java.lang.String |
getValue()
If the facet has the types MAX_EXCLUSIVE , MIN_EXCLUSIVE ,
MAX_INCLUSIVE , or MIN_INCLUSIVE : Returns the facet value. |
java.lang.String[] |
getValues()
If the facet has the types ENUMERATION or PATTERN :
Used to fetch the possible values. |
| Field Detail |
|---|
static final Facet.Type ENUMERATION
The facet type enumeration. Use the method getValues()
to query for the values.
static final Facet.Type FRACTION_DIGITS
The facet type fractionDigits. Use the method getNumValue()
to query for the values.
static final Facet.Type LENGTH
The facet type length. Use the method getNumValue()
to query for the values.
static final Facet.Type MAX_LENGTH
The facet type maxLength. Use the method getNumValue()
to query for the values.
static final Facet.Type MAX_EXCLUSIVE
The facet type maxExclusive. Use the method getValue()
to
query for the value.
static final Facet.Type MAX_INCLUSIVE
The facet type maxInclusive. Use the method getValue()
to
query for the value.
static final Facet.Type MIN_LENGTH
The facet type minLength. Use the method getNumValue()
to query for the values.
static final Facet.Type MIN_EXCLUSIVE
The facet type minExclusive. Use the method getValue()
to
query for the value.
static final Facet.Type MIN_INCLUSIVE
The facet type minInclusive. Use the method getValue()
to
query for the value.
static final Facet.Type PATTERN
The facet type pattern. Use the method getValues()
to query for the values.
static final Facet.Type TOTAL_DIGITS
The facet type totalDigits. Use the method getNumValue()
to query for the values.
| Method Detail |
|---|
Facet.Type getType()
Returns the facet type.
java.lang.String[] getValues()
If the facet has the types ENUMERATION
or PATTERN
:
Used to fetch the possible values.
java.lang.String getValue()
If the facet has the types MAX_EXCLUSIVE
, MIN_EXCLUSIVE
,
MAX_INCLUSIVE
, or MIN_INCLUSIVE
: Returns the facet value.
long getNumValue()
If the facet has the types FRACTION_DIGITS
or TOTAL_DIGITS
:
Returns the facet value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


CoLEAGUE is a football application that promotes teambuilding among colleagues. CoLEAGUE combines the friendly competition instilled within fantasy leagues with the excitement of sports betting. Colleagues place individual bets on English Premier League Teams to compete against one another.
Technologies Used: HTML, CSS, JavaScript, Node.JS, and MySQL


Downloads and change log
Back to JANINO home page
Version 2.7.8, January 30, 2015 - Download
Version 2.7.7, December 6, 2014 - Download
Version 2.7.6, August 16, 2014 - Download
Version 2.7.5, Jul 13, 2014 - Download
Version 2.7.4, Feb 3, 2014 - Download
Version 2.7.3, Jan 19, 2014 - Download
- Implemented 'enhanced FOR statement on Iterable' (with type inference).
- Added parsing of type parameters.
Version 2.7.2, Jan 13, 2014 - Download
- JANINO-167 include Mod.is*() convenience methods
- Allow an 'ArrayType' as a 'TypeArgument'.
- Local variable declaration statement with parameterized type didn't work.
- Added the 'enhanced FOR statement' (except for Iterable, which doesn't make much sense without generics).
Version 2.7.1, Nov 13, 2013 - Download
Version 2.7.0, Aug 10, 2013 - Download
- Added he 'assert' statement (simplified, ASSERTions are ALWAYS enabled, as if '-ea' were given)
- Added annotations (but not yet annotation declarations)
- Implemented '@Override'
- Dropped support for Java 1.4 and 5
Version 2.6.2, May 30, 2013 - Download
Version 2.6.1, June 24, 2010 - Download
- Added version information to the
META-INF/MANIFEST.MF
file of the JANINO JARs.
-
Added
CompilerFactoryFactory.getSpecificationVersion()
and
ICompilerFactory.getImplementationVersion()
.
- Fixed up the handling of debug options - added "ICookable.setDebuggingInfo(source, lines, vars)".
- Gave up on "EnumeratorSet" and "DebuggingInfo" - these mimic Java 5 ENUMs and were ugly.
Version 2.6.0, May 30, 2010 - Download
This version implements a number of incompatible changes:
-
CompileException
was moved from package org.codehaus.janino
to package
org.codehaus.commons.compiler
(and so were its buddies Location
,
LocatedException
and CausedException
).
-
ParseException
and ScanException
were removed; all methods that previously threw
one or more of CompileException
, ParseException
and ScanException
now
throw only CompileException
. (This is an API simplification honoring the fact that applications
rarely want to differentiate between scan, parse and compilation problems).
The core functionality of JANINO (expression evaluator, script evaluator, class body evaluator, simple compiler and
Java source class loader) was extracted to new interfaces declared in the new package
org.codehaus.commons.compiler
, while the original API remains unchanged.
A second implementation of the org.codehaus.commons.compiler
interfaces was added, based on the
javax.tools.JavaCompiler
API that exists since JDK 1.6. This implementation is available in the
commons-compiler-jdk.jar
file.
Rather than instantiating e.g. org.codehaus.janino.ExpressionEvaluator
directly, applications can now
alternatively call
org.codehaus.commons.compiler.CompilerFactoryFactory.getDefaultCompilerFactory().newExpressionEvaluator()
,
which will use the first implementation of IExpressionEvaluator
on the class path (be it
janino.jar
or commons-compiler-jdk.jar
, or yet another implementation).
The JUNIT regression test suite was restructured so that if differentiates between implementation-independent tests,
which are automatically executed against every implementation on the class path, and implementation-specific tests.
Also, the following bugs were fixed:
Version 2.5.16, January 26, 2010 - Download
Version 2.5.15, June 18, 2008 - Download
Version 2.5.14, April 27, 2008 - Download
- Switched from CVS to svn (http://svn.codehaus.org/janino).
Version 2.5.13, March 9, 2008 - Download
Version 2.5.12, December 20, 2007 - Download
Version 2.5.11, September 30, 2007 - Download
- "CompileException" now extends "LocatedException", which extends "CausedException". This
eliminates an asymmetry between "ScanException", "ParseException" and "CompileException".
Version 2.5.10, September 4, 2007 - Download
Version 2.5.9, July 22, 2007 - Download
Version 2.5.8, June 12, 2007 - Download
Version 2.5.7, May 19, 2007 - Download
Version 2.5.6, February 26, 2007 - Download
Version 2.5.5, February 3, 2007 - Download
Version 2.5.4, January 28, 2007 - Download
Version 2.5.3, January 17, 2007 - Download
- Added single static import declarations for
fields (e.g.
import static java.util.Collections.EMPTY_MAP
),
types (e.g. import static java.util.Map.Entry
)
and methods (e.g. import static java.util.Arrays.asList
)
- Added static-import-on-demand declarations for
fields (e.g.
import static java.util.Collections.*
),
types (e.g. import static java.util.Map.*
)
and methods (e.g. import static java.util.Arrays.*
)
Version 2.5.2, January 14, 2007 - Download
Version 2.5.1, November 6, 2006 - Download
Version 2.5.0, September 19, 2006 - Download
- Extended
ExpressionEvaluator
and ScriptEvaluator
with the capability
to compile more than one expression/script in one evaluator. This greatly improves the runtime
performance and reduces the JVM resource usage if you need to compile many expressions/scripts at
the same time.
- Introduced the concept of "auxiliary classes". This allows you to specify individual classes
that the expression/script/class body/compilation unit may access although they are not
loadable through the
ClassLoader
that was set with
setParentClassLoader()
. In other words: The expression/script/class body/compilation
unit executes in a "sandbox", restricted by a ClassLoader
with minimal peepholes
to the classes you specify. This also resolves issue
JANINO-66 Security: restrict package access
Version 2.4.7, September 11, 2006 - Download
Version 2.4.6, August 20, 2006 - Download
- Added some very picky checks on character literals.
- Check for float literal overflow and underflow.
- ExpressionDemo was broken since the *Evaluator refactoring.
- Some minor refactoring.
- Added more tests on float literals.
- Refactoring of ClassBodyDemo and friends (more user friendly command line interface).
- JANINO-64 continue statement not enclosed bug
- JANINO-65 Janino 2.4.5 does not compile with JDK 1.5
Version 2.4.5, June 26, 2006 - Download
- Removed the misspelled "ResourceFinder.NO_RESOURCE_FINDER" (use
"EMPTY_RESOURCE_FINDER" instead).
- Simplified the self-compile test.
- Cleaned up and simplified the local variables used by the TRY statement.
- JANINO-56 VerifyError in the context of a
FINALLY caluse
Version 2.4.4, June 18, 2006 - Download
Version 2.4.3, May 11, 2006 - Download
- Added the "default imports" feature to all
*Evaluator
s.
Scanner.close()
and all file-related Scanner
constructors are now deprecated, because (A) they sometimes left
input files open and (B) the logic was confusing - it is now strictly
the caller's responsibility to open and close input files.
- Complete refactoring of the
*Evaluator
and the SimpleCompiler
classes. Important notice: ScriptEvaluator.evaluate()
had to be renamed to
ScriptEvaluator.getClazz()
due to a method signature clash with
ExpressionEvaluator.evaluate()
.
- Improved the JAVADOC of the
*Evaluator
and the SimpleComplier
classes.
- JANINO-53 Java.NewClassInstance.toString() does not include arguments
- JANINO-54 Code missed out after "if (true) return;"
- JANINO-55 Nested array initializers no longer work in 2.4.2
Version 2.4.2, April 24, 2006 - Download
Version 2.4.1, April 12, 2006 - Download
Version 2.4.0, March 13, 2006 - Download
- Major redesign of the
Java
class hierarchy -- basically the
"uplink" of the AST objects is no longer set by a constructor parameter, but by the
constructor of the superordinate AST object. As a consequence, the creation order
of AST objects is no longer top-down, but bottom-up. This makes code that creates an AST
significantly shorter.
- The
UnitCompiler
is now context-free, i.e. it can resolve types, constant
values etc. without compiling the unit. This is necessary for the upcoming
JGrep
utility (see below).
- Started work on the new
JGrep
utility -- a command line tool that analyses
a set of source files in a highly configurable way.
- JANINO-43 RuntimeException "Cannot relocate branch to unset destination offset" during compilation
- JANINO-50 Branch offset out of range exception
Version 2.3.18, February 23, 2006 - Download
Version 2.3.17, January 18, 2006 - Download
Version 2.3.16, December 25, 2005 - Download
Version 2.3.15, November 9, 2005 - Download
Version 2.3.14, November 2, 2005 - Download
- Added the
CachingJavaSourceClassLoader
.
Version 2.3.13, October 28, 2005 - Download
- Added the missing
Compiler.compile(Resource[])
.
Version 2.3.12, October 25, 2005 - Download
- The creation of class files by
org.codehaus.janino.Compiler
is now based on the new ResourceCreator
class, so they
can not only be stored in files but anywhere (e.g. in a database).
(Requested by Andreas Schmidt 2005-10-19.)
Version 2.3.11, October 19, 2005 - Download
- Added
Traverser
for static code analysis.
- Removed some superfluous getters.
- Renamed some productions from "*Declarator" to "*Declaration".
(It is sometimes difficult to understand the difference between the two.)
- Renamed
visit(...)
methods to accept(...)
for
conformance with GoF "Design Patterns".
- JANINO-34 Propose changes to visitor to make it easier to implement
Version 2.3.10, October 18, 2005 - Download
Version 2.3.9, October 11, 2005 - Download
Version 2.3.8, August 9, 2005 - Download
Version 2.3.7, July 24, 2005 - Download
Version 2.3.6, July 15, 2005 - Download
Version 2.3.5, July 06, 2005 - Download
Version 2.3.4, May 25, 2005 - Download
Version 2.3.3, May 05, 2005 - Download
Version 2.3.2, March 22, 2005 - Download
- Made
Scanner.Location
a top-level class.
PackageDeclaration
and ImportDeclaration
are now
AST objects.
ResourceFinder.findResource()
no longer returns a
URL
object, but a more abstract ResourceFinder.Resource
object (requested by Michael Orth 2005-03-22).
Version 2.3.1, February 20, 2005 - Download
Version 2.3.0, January 31, 2005 - Download
Version 2.2.0, January 02, 2005 - Download
Version 2.1.0, December 09, 2004 - Download
- Switched from GNU "Lesser General Public License" (LGPL) to Apache License 2.0.
- Added
equals()
code> methods to ByteArrayClassLoader
and EvaluatorBase
.
Version 2.0.17, December 06, 2004 - Download
Version 2.0.16, November 19, 2004 - Download
Version 2.0.15, November 9, 2004 - Download
Version 2.0.14, November 1, 2004 - Download
Version 2.0.13, October 27, 2004 - Download
- More refactoring of the "IClassLoader" hierarchy. Added some nifty
Iterator
s
like NestedIterator
, TransformingIterator
, and the
IteratorCollection
(a Collection
that reads its elements from
a delegate Iterator
while it is being iterated for the first time).
- The
net.janino.tools.Disassembler
now has a verbose mode.
Version 2.0.12, October 17, 2004 - Download
- Total rewrite of the "IClassLoader" hierarchy. This simplifies the lookup of
IClass
es.
- Cache the return values of
getConstantValue()
.
- Eliminated a lot of compilation warnings.
Version 2.0.11, September 27, 2004 - Download
Version 2.0.10, September 14, 2004 - Download
SimpleCompiler
, ClassBodyEvaluator
and ScriptEvaluator
now add SOURCE and LINES debugging info, so file name and line number appear in exceptions
thrown by generated code. (Requested by Mike Hebert 2004-09-11.)
-
Allow for source code level debugging of the same by writing a temporary source code file
if the
optionalFileName
parameter of net.janino.Scanner
's
constructors is null
and system property
net.janino.source_debugging.enable
is "true". The source code file is written
to net.janino.source_debugging.dir
or the system's default temp directory.
(You need to add that directory to your debugger's "source lookup path".)
Version 2.0.9, September 5, 2004 - Download
- Unparsing classes generated by
EvaluatorBase
generated no output.
- Optimized compilation of constantly-false IF statements.
- #1001362 null in expression with conditional
- Fixed up JLS2 <IP_ADDRESS>.BL2.
Version 2.0.8, August 29, 2004 - Download
- Fixed several bugs in the
net.janino.UnparseVisitor
.
- Decimal long literal tokens were misinterpreted as octal.
Version 2.0.7, August 25, 2004 - Download
- Implemented the
net.janino.UnparseVisitor
that unparses a
parsed construct, e.g. a compilation unit (requested by Mark Proctor).
- Made all nested classes of
net.janino.Java
public to allow for
generation of "synthetic" constructs (requested by Mark Proctor).
Version 2.0.6, July 23, 2004 - Download
- #995198 Make info public in exceptions
- Introduced base class
net.janino.Scanner.LocatedException
for all
JANINO-related exceptions.
- Fixed some JDK 1.2.2 compatibility problems.
Version 2.0.5, July 12, 2004 - Download
Version 2.0.4, June 29, 2004 - Download
Version 2.0.3, May 31, 2004 - Download
net.janino.ExpressionEvaluator
now supports null
expression types; this auto-wraps primitive values as necessary. (Requested by
Amir Bar-Or 2004-05-31).
Version 2.0.2, April 15, 2004 - Download
- Janino now optionally creates warnings.
- Added warnings about implicit access to fields
- Added warnings about violations of SUN's naming conventions (JLS2 6.8)
Version 2.0.1, April 11, 2004 - Download
Version 2.0, April 4, 2004 - Download
A major milestone... Janino now supports member types, local classes and anonymous classes.

A good time to open a bottle of champagne...
Version 1.0.22, February 16, 2004
net.janino.Compiler
now reports up to 20 compile errors before it gives up.
(Notice that scanning, parsing and I/O exceptions are still fatal and terminate compilation.)
Version 1.0.21, February 03, 2004
Version 1.0.20, January 27, 2004
- Implemented line number tables ("-g:lines") and source file information ("-g:source").
Version 1.0.19, January 24, 2004
Version 1.0.18, January 24, 2004
- Fixed up resolution of class names (JLS <IP_ADDRESS>).
Version 1.0.17, January 21, 2004
Version 1.0.16, January 17, 2004
- Fixed one "Invocation of constructor/method ... is ambiguous" bug reported by Chris Cleveland 2004-01-14 03:26.
- #879380 Missing class
Version 1.0.15, January 17, 2004
Version 1.0.14, January 12, 2004
Version 1.0.13, January 8, 2004
Version 1.0.12, January 7, 2004
Version 1.0.11, January 6, 2004
Version 1.0.10, January 4, 2004
Version 1.0.9, January 3, 2004
Version 1.0.8, January 2, 2004
Version 1.0.7, December 25, 2003
Version 1.0.6, December 15, 2003
- Added the "JavaSourceClassLoader" (requested by Richard Lewis 2003-11-14) and the "janino"
utility that scans, parses, compiles, loads and executes classes on-the-fly.
Version 1.0.5, November 26, 2003
Version 1.0.4, November 18, 2003
Version 1.0.3, November 12, 2003
Version 1.0.2, October 30, 2003
Version 1.0.1, October 23, 2003
Version 1.0, October 20, 2003
- Wow, version 1.0 finally made it. If you also feel that Janino 1.0 were
a good reason to drink a glass of champagne, do not hesitate. (Maybe, as
a sign of recognition, you could send me the open bottle and I'll drink
it up ;-) My postal address is on janino.net)
Version 0.3.17, October 09, 2003 (not released)
- Methods declared in interfaces of object were not found when invoked
(reported by Fabrice Carnet 2003-10-07).
- java.lang.VerifyError when loading a class compiled by Janino which
invokes a method of an interface with more than zero parameters
(reported by Fabrice Carnet 2003-10-07).
- ExpressionEvaluator, ScriptEvaluator and ClassBodyEvaluator now have
constructors that allow for the specification of class and/or method
name (requested by Fabrice Carnet 2003-10-07).
Version 0.3.16, October 06, 2003 (not released)
- Basically a complete rewrite of the IClass loading mechanism. This solves
many problems related to using Janino with custom ClassLoaders (e.g. in
J2EE environments). (Reported by Laurent Millet 2003-09-24.)
Version 0.3.15, September 12, 2003
- "net.janino.*Evaluator" now have constructor variants that allow the
specification of extended / implemented types. This allows for providing
a base class that supplies static "helper functions" (e.g. "println()").
(Requested by Till Brychcy 2003-09-10.)
Version 0.3.14, July 27, 2003
- "net.janino.Compiler" can now compile a set of source files with forward
references (requested by Richard Lewis 2003-07-24).
- Documented the "import" feature of ScriptEvaluator and ExpressionEvaluator.
- "Outer.Inner" was not properly resolved within ambiguous names.
Version 0.3.13, July 6, 2003
- Rewrote the "ClassBodyEvaluator"; can now be instantiated.
- "ClassBodyEvaluator" can now generate a class that extends / implements
classes / interfaces (Requested by Richard Lewis 2003-06-28).
- Cleaned up "EvaluatorBase"; eliminating code duplicated between the various
"*Evaluator" classes.
Version 0.3.12, June 4, 2003
- Fixed up method invocation conversion (reported by Antony Miguel
2003-06-02).
- Fixed a problem with for/while/do loops with constant true conditions.
(Reported by Antony Miguel 2003-06-02).
- Made tons of methods and classes PUBLIC, as proposed by Antony Miguel
2003-06-03.
Version 0.3.11, June 1, 2003
- Implemented "synchronized" statement (requested by Antony Miguel 2003-05-22).
- Moved common functionality from "ExpressionEvaluator", "ScriptEvaluator"
and "ClassBodyEvaluator" into a common base class "EvaluatorBase".
- The generated class files and the
IClassLoader
used to load
classes defined outside the current compilation unit are now stored in
thread-local globals. The IClassLoader
also holds the formerly
global IClass
cache, which caused a memory leak (reported by
Fabrice Carnet 2003-05-20).
IClass.isAssignableFrom(net.janino.IClass)
did not handle primitive types (reported
by Fabrice Carnet 2003-05-20).
- Multiple expressions, scripts and class bodies can now be loaded into the
same
ClassLoader
, if that is a
ByteArrayClassLoader
.
This is necessary if the expressions, scripts and classes need to refer to each other.
(Requested by Fabirce Carnet 2003-05-20.)
- A "for" statement with an empty condition (e.g. "for(;;)") caused a
java.lang.NullPointerException
.
- The
net.janino.ClassLoaderIClassLoader.ReflectionIClass
holds a map
that guarantees that java.lang.Class
es and IClass
es
map one-to-one. This posed a memory leak. (Reported by Fabrice Carnet 2003-05-20.)
- Documented the
ClassBodyEvaluator
.
Version 0.3.10, April 22, 2003
- Fixed up invocation of interface methods (reported by Reimond Bernstein
2003-04-14).
- Added references to types in same package, but different compilation unit.
- Fixed up C-style array variable declaration ("int a[] = ...") (reported
by Reimond Bernstein 2003-04-14).
Version 0.3.9, April 02, 2003
- Added the "ClassBodyEvaluator" and the "ClassBodyDemo" class. These allow
you to compile a "class body", i.e. a series of methods, variable
declarations etc. (requested by Fabrice Carnet 2003-03-18).
- Fixed up "IClass.getArrayType()" which only worked for loaded classes, but
not for classes in the current compilation unit.
- The
java.lang.ClassLoader
used to load the just-compiled
class now uses as its parent the current thread's context class loader
(reported by Fabrice Carnet 2003-03-26).
Version 0.3.8, March 05, 2003
- Fixed a bug in the flow analysis code (caused a compile-time error)
(reported by Fu Li Chen 2003-02-21).
- "IClass" now uses
"Thread.currentThread().getContextClassLoader().loadClass()" instead
of "Class.forName()" (feature requested by Dain Sundtrom 2002-02-16).
Version 0.3.7, November 26, 2002
- Added "this" (reference to current instance). Added primitive class
literals (e.g. "int.class"). Fixed several showstopper bugs. Added
limited support for member classes.
Version 0.3.6, November 22, 2002
- Added reference comparison. Added ScriptEvaluator constructors that read
from InputStream, Reader or Scanner.
Version 0.3.5, November 14, 2002
- Only the last import-on-demand directive in a compilation unit did work;
using a class imported by an amport-on-demand directive other than the
last one caused a compilation error. (Reported by Audrius Meskauskas
2002-11-14.)
Version 0.3.4, November 9, 2002
- Updated the overview page.
Version 0.3.3, October 26, 2002
- Renamed "ExpressionTest" and "ScriptTest" to "...Demo". Fixed up several
JAVADOC bugs. "ExpressionEvaluator" now has a "thrownExceptions"
parameter. Added support for "void" type expressions to
"ExpressionEvaluator". Added JAVADOC comments. Clean up. Fixed a bug in
"AmbiguousName.reclassify()".
Version 0.3.2, October 21, 2002
- Fixed a few more bugs reported by Jimmy.
Version 0.3.1, October 13, 2002
- Fixed an ArrayStoreException in ScriptEvaluator that was reported by
Russell White 2002-06-25.
- Added reclassification of fully qualified type names: E.g. cast operation
"(HashMap) xyz" did work, but "(java.util.HashMap) xyz" didn't. Reported
by Jimmy 2002-10-13.
Version 0.3, May 25, 2002
- Added most missing language elements that I planned to add. The JLS is
now almost completely implemented, except for nested classes and
interfaces.
- This is the first version of JANINO that I will "advertise". Let's see
if anybody wants to use the tool... After all it's a 80 percent complete
JavaTM compiler in only 11000+ (well-documented) lines of
code!
Version 0.2, April 28, 2002
- Almost a rewrite. Added several painfully missing language elements.
- Added more JAVADOC.
Version 0.1.1, November 09, 2001
- Added missing sample source files to the runtime package.
- Added
break
and continue
.
- Added lots of JAVADOC comments.
Version 0.1, October 30, 2001
Signed JAR files of the latest version: commons-compiler.jar
janino.jar commons-compiler-jdk.jar


Overview
The U.S. Department of the Treasury (Treasury) is committed to promoting openness and transparency in the federal government. This openness fosters accountability, allows for citizen participation, increases trust and confidence in the federal government, and ensures effective and efficient operations.
To meet these objectives, the Treasury’s Bureau of the Fiscal Service (Fiscal Service) has developed a portal to make certain financial data it collects accessible to the public through transparency.treasury.gov.
The Application Program Interface (API)s made available on transparency.treasury.gov, originate from financial data provided by the Fiscal Service, and can make everything easier, from advanced analytics to simple reports hosted in separate programs or on separate websites.
Learn more: transparency.treasury.gov/article/API
Get started
We welcome you to explore the available APIs on transparency.treasury.gov. These APIs allow you to analyze financial data trends and patterns and gain insights about federal government debt management, collections, accounting and payment data.
Over time we will expand the APIs available through transparency.treasury.gov to provide better access to integrated financial management information. Your participation is critical to the success of this effort, and we value your feedback. We welcome you to share your applications and provide input at any time.
If you have any questions or concerns, or encounter technical issues, please contact a member of the support team.
Your use and access to the APIs are governed by the applicable Terms of Service Agreement.


The below graph depicts about the total runs scored by both the teams and fall of wickets of both the teams over the progression of the match.
The total runs scored are denoted by line chart while the circle shows the fall of wickets of each team.
The grouped bar chart shown below shows the periodically comparison of runs by overs.As there is total of 20 overs,
there is periodic comparison during the four periods- 1-4 overs,5-8 overs,9-12 overs, 13-16 overs and 17-20 overs respectively.


Welcome to the crazy party boat, the HMS Dreadnode. We are a team in the 2010 Node Knockout competition.
Follow our development progress at @dreadnode.
Please vote for us:
Welcome to the crazy party boat, the HMS Dreadnode. We are a team in the 2010 Node Knockout competition.
Follow our development progress at @dreadnode.
Please vote for us:


Workflow v2.0.0 -> v2.1.0¶
Features¶
1e6e226
(router) - *: Update nginx to 1.10.16314a15
(registry) - swift: add support for swift storagee494bd9
(postgres) - wal-e: use the latest wal-e to use aws instance profiles6980348
(slugbuilder) - swift: Add support for swift storage9e5ce71
(dockerbuilder) - swift: Add support for swift object storagecb4cc44
(fluentd) - deis-output: Custom fluentd plugin for sending data to deis componentsd8f48be
(workflow-manager) - doctor: add doctor client code and doctor api callb95c60c
(workflow-manager) - swagger: add doctor api get spec4ab1dc2
(workflow-manager) - doctor: add curl script to access doctor endpointf8bfa8d
(monitor) - telegraf: enable etcdb1aff88
(monitor) - telegraf: enable prometheus flag5e19462
(monitor) - grafana,telegraf: Pull metric data from nsq via telegraf5cb3cb4
(monitor) - grafana: Add deis-health dashboard8cca750
(workflow-e2e) - registry: PORT is required for private registryf0f5712
(workflow-e2e) - apps: apps:run will now print on stderr if the command errors (#231)6876296
(workflow-e2e) - docker: install specified CLI version at runtime (#233)c65d01b
(workflow-e2e) - *: update to use new errors from CLI (#239)a532726
(workflow-e2e) - git_push_test.go: add git push interrupt test34cbfe2
(workflow-e2e) - healthchecks: add deis healthchecks e2e testsa369718
(logger) - ringbuffer: Treat empty ringbuffer as error8ed585f
(charts) - workflow-dev: Add nsq to the workflow chart5b29b4c
(charts) - database: Add easier off-cluster db config6fdcf08
(builder) - lock: add timeout to repository lock feature422075b
(builder) - swift: Add support for swift object storagea1c4619
(controller) - config: validate PORT and HEALTHCHECK_* values for config:set operationsccc6b1f
(controller) - release: require PORT to be set when private registry is set0231c58
(controller) - django: explicitically define on_delete for ForeignKey fields for 2.0 compat6e136e2
(controller) - debug: DEIS_DEBUG now affects Django DEBUG as well4c674d0
(controller) - release: throw 409 when identical release is done sequantiallyaf76733
(controller) - api: Add healthcheck field to Config7af2197
(controller) - settings: log all SQL queries if DEBUG==True2b11d1b
(workflow) - Makefile/Dockerfile: add docker-test recipe7bbb8a1
(workflow) - api: add v2.1 api documentation. (#357)
Fixes¶
4338ee1
(slugrunner) - Dockerfile: download the object storage CLI from GCS8bfc4ee
(postgres) - contrib: allow 5 or 6 backups419a0e3
(postgres) - rootfs: enable archive_mode before initial boot923c9f8
(slugbuilder) - Dockerfile: download the object storage CLI from GCSe7a22e0
(dockerbuilder) - objectstore: set properly builder bucket file environment variablef724059
(fluentd) - boot: Move from old type declaration to @type2890575
(fluentd) - boot: Create better way to generate fluentd conf6ae5779
(minio) - Dockerfile: download minio from a mirror (#110)af9ef04
(workflow-manager) - doctor: including API version and /doctor in url (#78)6f71be2
(workflow-e2e) - registry: overwriting variable typo34f16a5
(workflow-e2e) - registry: recorganise registry tests order and fix a should(say()) call188f6aa
(workflow-e2e) - registry: more port setting and fix up error message detectiond56ba6d
(workflow-e2e) - apps_test: escape quotes properly in deis run specafbe0f7
(workflow-e2e) - README: update go report card badge url (#232)8cf7025
(workflow-e2e) - apps/commands: match substring, not entire string7d15489
(workflow-e2e) - config: unsetting a key that does not exist results in exit 14ee56b2
(workflow-e2e) - deps: update SDK to reflect changed spelling of hyphen (#246)64b4512
(charts) - minio: create minio when using storage type as minio via env vars5cf4df4
(builder) - sshd: unlock the repository when gitreceive succeeds or fails3a332a4
(builder) - flag: Use DEIS_DEBUG instead DEBUG environment variable for debug settings43a66c9
(builder) - README: update go report card badge url (#370)2f253dd
(builder) - server.go: don't reply false on failed lock844b2ff
(builder) - pkg: set check timeouts to 10s3e7a785
(builder) - pkg/sshd/server.go: remove the closer channel (#359)a230d05
(builder) - pkg/gitreceive/config.go: require dependent image names (#377)df30ee6
(controller) - api: remove slug tarball info from app log61b6858
(controller) - scheduler: remove unused health check config option: HEALTCHECK_PORTc6686e9
(controller) - scheduler: cast ports to int before passing them on to k8s2f1b140
(controller) - management: handle errors in object loading and application deployments instead of throwing exceptionsdc4769a
(controller) - logs: retry fetching logs from the logger 3 times if the services is unavailablec8c7d80
(controller) - scale: get the desired number of replicas from the rc3fa6f70
(controller) - scheduler: make deploy have 0 replicas by default and then use scaling to go up09b9be2
(controller) - secrets: update env secrets if they already exists (overwrites existing values)5fb1bbb
(controller) - config: when rolling a new config copy from the latest release instead of latest config for the app0d9988b
(controller) - serializer: skip None values in config and registry936a40e
(controller) - exceptions: tests now capture critical only and uncaught exceptions have been reclassified as critical3f980b8
(controller) - exceptions: log certain APIExceptions tracebacks9f8ac04
(controller) - config: return a 422 if unsetting a config key that does not existcae4bf9
(controller) - models: hypens -> hyphens (#840)e108f14
(workflow) - registry: explain PORT is required when using private registry informatione197163
(workflow) - component-config: clarify GUNICORN_WORKERS valuedc5ee1a
(workflow) - api: update out of date cert api docs (#339)25006d1
(workflow) - applications: fixup exec probe output
Documentation¶
044f85c
(slugrunner) - CHANGELOG.md: add entry for v2.0.0bf3e1da
(router) - README: add codecov.io badge0aa8abb
(router) - readme: Add anchors to every row in annotations tablea80425d
(router) - CHANGELOG.md: add entry for v2.0.06b60912
(router) - README: fix Go report card badge4b1f311
(registry) - CHANGELOG.md: add entry for v2.0.05fc10d5
(registry) - README: fix Go report card badge61a4dc9
(postgres) - CHANGELOG.md: add entry for v2.0.04efe5f9
(postgres) - README.md: Fix the default value of IMAGE_PREFIX920dbf6
(slugbuilder) - CHANGELOG.md: add entry for v2.0.048d4ecb
(dockerbuilder) - CHANGELOG.md: add entry for v2.0.07f046cc
(fluentd) - CHANGELOG.md: add entry for v2.0.031e054d
(minio) - CHANGELOG.md: add entry for v2.0.0-rc2958ccd7
(minio) - CHANGELOG.md: add entry for v2.0.0ebbbc3a
(workflow-manager) - CHANGELOG.md: add entry for v2.0.004f65c6
(monitor) - CHANGELOG.md: add entry for v2.0.094bf4c1
(workflow-e2e) - CHANGELOG.md: add entry for v2.0.0778ab68
(logger) - README: add codecov.io badged3fc751
(logger) - CHANGELOG.md: add entry for v2.0.0178bc7c
(logger) - README: fix Go report card badge6367466
(charts) - CHANGELOG.md: add entry for v2.0.0e038851
(builder) - CHANGELOG.md: add entry for v2.0.0-rc258a8786
(builder) - pkg: update help URL to https://deis.com/0df2ba3
(builder) - CHANGELOG.md: add entry for v2.0.0c3945f2
(builder) - README: add codecov.io badgeb001515
(controller) - CHANGELOG.md: add entry for v2.0.0-rc2c7fb984
(controller) - CHANGELOG.md: add entry for v2.0.09063a96
(workflow) - installing-workflow: fix missing watch flagcf9693f
(workflow) - release-checklist.md: remove bintray referencescda073c
(workflow) - CHANGELOG.md: add entry for v2.0.05c753e5
(workflow) - styles: update the theme to match deis.coma77d967
(workflow) - styles: remove sass from makefilee37b2dc
(workflow) - styles: tidy up JS, better affix the sidebar menu919f22c
(workflow) - styles: fix urls, style for better mobile layoute868009
(workflow) - styles: remove bower_components2e1c6a9
(workflow) - styles: mobile off-canvas menu908f715
(workflow) - styles: color changes to open sidebar sections82000d1
(workflow) - src/roadmap/release-checklist.md: update Step 2.17cbd1de
(workflow) - src/roadmap/release-checklist.md: update if major releasedad9598
(workflow) - submitting-a-pr: add "hotfix revert" exception to LGTM rulesa0ff462
(workflow) - release-checklist: Improve instructions pertaining to previous releasecdbc575
(workflow) - README.md: fix quick start guide URL9e843cd
(workflow) - s3: add instruction for using IAM credsb451c66
(workflow) - release_checklist.md: return to using immutable tags2286765
(workflow) - submitting-a-pull-request.md: add info on testing paired commits467a21d
(workflow) - platform-logging.md: Need "--namespace=deis" when deleting pods.606bdd8
(workflow) - router: Remove invalid labels from example whitelists87e0b58
(workflow) - upgrade-workflow.md: Fix a typo.aa7144c
(workflow) - platform-ssl.md: correct example manifest9d5d1d5
(workflow) - database: Document off-cluster db configuration0cb76fc
(workflow) - applications: add documentation for healthchecks7ee764f
(workflow) - release-checklist.md: modify docker tag/push instructions to use new deisrel command (#355)eda6479
(workflow) - v2.1.0: Updates docs for latest release
Maintenance¶
0526f01
(slugrunner) - manifests: remove unused/deprecated manifests dir3b3aaad
(slugrunner) - Dockerfile: Remove WORKFLOW_RELEASE env var7c23489
(router) - Dockerfile: Remove WORKFLOW_RELEASE env varf0bb535
(slugbuilder) - buildpacks: update heroku-buildpack-go to v414aeb7ff
(slugbuilder) - buildpacks: update heroku-buildpack-php to v10570b88ef
(slugbuilder) - manifests: remove unused/deprecated manifests dircad6225
(slugbuilder) - buildpacks: update heroku-buildpack-php to v107eb47460
(dockerbuilder) - manifests: remove unused/deprecated manifests dir905cde5
(fluentd) - Dockerfile: Remove WORKFLOW_RELEASE env var52c97ad
(minio) - README.md: remove beta status6aac8ba
(minio) - Dockerfile: Remove WORKFLOW_RELEASE env var3cbf260
(monitor) - grafana: Update nsq dashboard to add message per second graph8f52433
(monitor) - grafana: Remove stray alias in a kubernetes health graph5ff77c7
(monitor) - Dockerfile: Remove WORKFLOW_RELEASE env var7d6a033
(workflow-e2e) - Makefile: remove deprecated '-f' flag7123b6a
(logger) - transport: Refactor to use pluggable Aggregator component...ba819b0
(logger) - Dockerfile: Remove WORKFLOW_RELEASE env var92abf85
(charts) - router-dev/Chart.yaml: bump version to v2.0.046289d0
(charts) - workflow/router-dev/Chart.yaml: prepend description with chart name64026dc
(charts) - workflow-dev: Update image name in nsqd-rc to be nsq.fcd4fce
(charts) - logger/fluentd: Update logging stack to reflect nsq usage473ea02
(charts) - workflow-dev: Update telegraf env vars010de23
(charts) - workflow-dev: remove stdout metrics config from fluentd3274b8c
(charts) - logger: Stop logging via UDPfc70265
(charts) - workflow-v2.1.0: releasing workflow-v2.1.0(-e2e) and router-v2.1.0f6580ee
(builder) - various: remove beta status03a8ac5
(builder) - Dockerfile: bump git to v2.8.4bf35966
(controller) - requirements: update codecov to 2.0.559a8d23
(controller) - Dockerfile: update to base:0.3.0 image to get a slimmer image3a6ee54
(controller) - README: remove references to beta in README7a88725
(controller) - requirements: update to Django 1.9.704049b4
(controller) - version: update platform version to 2.0.0db2e182
(controller) - deis: bump version to 2.1.0-dev13cffb6
(controller) - requirements: update ndg-httpsclient to 0.4.1eda8bea
(controller) - rootfs: bump platform version to 2.1.0 (#841)214b0a9
(controller) - api: bump api version to v2.1.0595d377
(workflow) - health: note that kubernetes does not support query params in the health check path88e240a
(workflow) - docs: update version to v2.0.020f2b5a
(workflow) - ga: use deis.com GA account10b1146
(workflow) - docs: ignore bower_components for doc styles


# File installer.rb, line 89 89: def die_with_message(msg) 90: warn_message(msg) 91: Kernel.exit(1) 92: end
# File installer.rb, line 43 43: def dojo_dest_dir 44: File.join(rails_root, "public", "javascripts", "dojo") 45: end
# File installer.rb, line 39 39: def drails_scripts_dir 40: File.join(drails_root, "javascripts", "drails") 41: end
# File installer.rb, line 71 71: def install! 72: begin 73: write_message "** Installing dojo source into your application..." 74: install_dojo_source 75: rescue Exception => e 76: die_with_message("!! Could not install dojo sources: #{e.to_s}") 77: end 78: 79: begin 80: write_message "** Installing drails javascripts into your application..." 81: install_drails_scripts 82: rescue Exception => e 83: die_with_message("!! Could not install drails javascripts: #{e.to_s}") 84: end 85: 86: write_message(install_success_msg) 87: end
# File installer.rb, line 94 94: def install_dojo_source 95: cmd = Dojo::Commands::Dojofy.new 96: Dir.chdir(rails_root) do 97: cmd.install 98: end 99: end
# File installer.rb, line 101 101: def install_drails_scripts 102: cp_r drails_scripts_dir, dojo_dest_dir 103: end
# File installer.rb, line 47 47: def install_success_msg 48: msg =** drails was installed successfully!** drails installed dojo source and drails scripts to:**** #{dojo_dest_dir}**** All other drails source files are located at:**** #{drails_root}** 49: end
# File installer.rb, line 105 105: def require_dojo_pkg 106: begin 107: require 'dojo-pkg' 108: rescue LoadError => e 109: return false 110: end 111: true 112: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.


Buckingham Palace: Queen's new outfits won't use real fur
Buckingham Palace says new outfits designed for Queen Elizabeth II will not use real fur.
Interested in Queen Elizabeth?
Add Queen Elizabeth as an interest to stay up to date on the latest Queen Elizabeth news, video, and analysis from ABC News. Queen Elizabeth Add Interest
The palace said Wednesday the decision does not mean the queen will dispose of all the fur outfits she already has. The palace statement says "the queen will continue to re-wear existing outfits in her wardrobe."
The decision pleased animal rights activists, who have sometimes criticized the monarch for the fur pieces in her collection of designer clothes.
Claire Bass, director of the Humane Society International/UK, says "we are thrilled Her Majesty has officially gone fur-free." She says the queen's decision will send a positive message that fur is no longer considered fashionable.


About this app
This app demonstrates a frontend and backend working together in order to query data from Twitter's API and display it in a new format.
The frontend is a static site that uses the Axios library to make AJAX requests, and the VueJS framework to display data reactively. Find out how to run it locally on the Git repository.
The backend of this app is written with Node.js and Express. Find out how to run it locally on its Git repository.


On 20 January 2020, National IHR Focal Point (NFP) for Republic of Korea reported the first case of novel coronavirus in the Republic of Korea. The case is a 35-year-old female, Chinese national, residing in Wuhan, Hubei province in China.
The case-patient had developed fever, chill, and muscle pain on 18 January while in Wuhan. She visited a local hospital in Wuhan and was initially diagnosed with a cold. On 19 January , the case-patient was detected with fever (38.3 °C) upon arrival at the Incheon International Airport. The case-patient was transferred to a national designated isolation hospital for testing and treatment. She was tested positive for pancoronavirus reverse transcriptase-polymerase chain reaction (RT-PCR) assay, and subsequently was confirmed positive for novel coronavirus (2019-nCoV) on 20 January by sequencing at the Korea Centers for Disease Control and Prevention (KCDC). Upon detection, the patient had chills, runny nose, and muscle pain.
The case-patient did not report visiting any markets, including Huanan Seafood Wholesale Market, nor did she have known contact with confirmed 2019-nCoV cases or wild animals in Wuhan city.
The case-patient is currently under isolation, receiving treatment and is in a stable condition.
This is the fourth internationally exported case of 2019-nCoV from Wuhan City, China by travelers. Since the initial report of cases on 31 December 2019, and as of 20 January 2020, 278 laboratory-confirmed cases of 2019-nCoV infection including six deaths were reported to WHO globally from China, two cases from Thailand, one case from Japan, and one case from the Republic of Korea. In China, 51 are severe cases, and 12 cases are critically ill. They are all under isolation treatment at designated medical institutions in Wuhan. Among the cases reported in China, 14 cases have been reported from Guangdong province, five from Beijing municipality and one from Shanghai municipality.
The source of the outbreak is still under investigation in Wuhan City. Preliminary investigations have identified environmental samples positive for nCoV in Huanan Seafood Wholesale Market in Wuhan City, however some laboratory-confirmed patients did not report visiting this market. Cases continue to be reported from Wuhan City, and from other provinces in China. Additional investigations are needed to determine how the patients were infected, the extent of human-to-human transmission, the clinical spectrum of disease, and the geographic range of infection.
It is prudent to remind populations and health workers of the basic principles to reduce the general risk of transmission of acute respiratory infections by following the below mentioned measures:
WHO does not recommend any specific health measures for travelers. In case of symptoms suggestive of acute respiratory illness either during or after travel, the travelers are encouraged to seek medical attention and share their travel history with their health care provider. Health authorities should work with travel, transport and tourism sectors to provide travelers with information to reduce the general risk of acute respiratory infections via travel health clinics, travel agencies, conveyance operators and at points of entry.
WHO has provided interim guidance for novel coronaviruses
WHO advises against the application of any travel or trade restrictions on Korea based on the information currently available on this event.
For more information on novel coronavirus, please see:


In-Tree Task Graphs
Dustin J. Mitchell - TaskCluster Team
Problem
Define all of the tasks that need to be performed for a push to a Gecko repository, and all of the dependencies between them.
- Defined in-tree
- Testable in try
- Support performing minimal work, e.g., use existing builds when only changing tests
Task Graphs
- Task: Single unit of work (build browser; run test suite); posessing
- A Kind: build, test, docker-image creation, toolchain packaging, etc.
- Some Attributes: used to select tasks in try
- Task Graph: Collection of tasks with dependency links (tests depend on builds)
- Parameters: Inputs to task-graph generation (revision, commit message, etc.)
Graph Generation
- For each kind, generate the complete set of tasks → full task set
- Generate dependency links between tasks → full task graph
- Select target tasks (try syntax or per-tree algorithm) → target task set
- Calculate transitive closure (all required tasks for the target set) → target task graph
- Drop tasks that do not need to be performed → optimized task graph
./mach taskgraph tasks -p parameters.yml
./mach taskgraph full -p parameters.yml
./mach taskgraph target -p parameters.yml
./mach taskgraph target-graph -p parameters.yml
./mach taskgraph optimized -p parameters.yml
Decision Tasks
- On push mozilla-taskcluster creates a task based on ${topsrcdir}/.taskcluster.yml
- That decision task runs ./mach taskgraph decision --head-ref='8a257036' ..
- ..which generates the optimized task graph, with copious logging
- ..and creates all of the tasks in that graph
Task Specification
Currently all tasks are "legacy" - still generated from the old, awful, YAML files.
Find the source under ${topsrcdir}/taskcluster.
Why Do I Care?
- Define your own task types, experiment in try, get r+, land!
- Optimized graphs can provide results on try in minutes (e.g., test only change)
- Enable or disable that job on that branch yourself
- Want try syntax on your development branch? No problem!
/


You will be given a random numberat the start of the game.
There are four crystals below. By clicking on a crystal you will add a specific amount of points to your total score.
You win the game by matching your total score to random number, you lose the game if your total score goes above the reandom number.
The value of each crystal is hidden from you until you click on it.
Each time when the game starts, the game will change the calues of each crystal.
| Wins: | # |
| Losses: | # |


The following software
tracing tools are included in the Windows Driver Development Kit.
Instructions
for using the tools are included in the "Tools for Software Tracing"
section of the DDK Documentation. To find this section, in the documenation, go
to Driver Development Kit, Tools, Tools for Software Tracing.
·
Tracelog.exe
Controls
real-time and trace log sessions from the command line. Controls all trace
sessions running on the system.
·
Traceview.exe
Controls trace
sessions and displays the trace messages from real-time tracing sessions and
trace logs in a graphical user interface. You can also run TraceView from the
command line. Controls only the trace session that it starts.
·
Tracefmt.exe
Formats trace messages from real-time trace sessions and trace log (.etl)
files. Displays the message at the command line or writes them to
human-readable output files.
·
Traceview.exe
Controls trace sessions and displays the trace messages from real-time tracing
sessions and trace logs in a graphical user interface. You can also run
TraceView from the command line. Controls only the trace session that it
starts.
·
Tracepdb.exe
Creates trace message format (.tmf) files and trace message control (.tmc)
files from PDB symbol files. Tracefmt and TraceView use the formatting
instructions in the TMF files to format and display trace messages.
default.tmf
mspdb70.dll
msvcr70.dll
system.tmf
tracefmt.exe
tracelog.exe
tracepdb.exe
traceprt.dll
traceview.chm
traceview.exe
traceview.ini
The trace
message format (.tmf) files are used by the trace consumer tools.
The
tracing tools are located in the Windows DDK in the \tools\tracing\Platform directories.
|
|
© Microsoft
Corporation 2005


Data Structures | |
| struct | sir_stdio_dest |
| Configuration for stdio destinations (stdout and stderr). More... | |
| struct | sir_syslog_dest |
| Configuration for the syslog destination. More... | |
| struct | sirinit |
| Initialization data for libsir. More... | |
| struct | sirerror |
Typedefs | |
| typedef const int * | sirfileid_t |
| typedef uint32_t | sirerror_t |
| typedef uint16_t | sir_levels |
| typedef uint32_t | sir_options |
| typedef char | sirchar_t |
Functions | |
| bool | sir_init (sirinit *si) |
| Initializes libsir. More... | |
| bool | sir_stdoutlevels (sir_levels levels) |
| Sets levels sent to stdout. More... | |
| bool | sir_stdoutopts (sir_options opts) |
| Sets formatting options for stdout. More... | |
| bool | sir_stderrlevels (sir_levels levels) |
| Sets levels sent to stderr. More... | |
| bool | sir_stderropts (sir_options opts) |
| Sets formatting options for stderr. More... | |
| bool | sir_sysloglevels (sir_levels levels) |
| Sets levels sent to syslog (if available). More... | |
| bool | sir_filelevels (sirfileid_t id, sir_levels levels) |
| Sets levels sent to a log file. More... | |
| bool | sir_fileopts (sirfileid_t id, sir_options opts) |
| Sets formatting options for a log file. More... | |
| bool | sir_cleanup (void) |
| Frees allocated resources and resets internal state. More... | |
| bool | sir_debug (const sirchar_t *format,...) |
| Log a formatted debug-level message. More... | |
| bool | sir_info (const sirchar_t *format,...) |
| Log a formatted informational message. More... | |
| bool | sir_notice (const sirchar_t *format,...) |
| Log a formatted notice message. More... | |
| bool | sir_warn (const sirchar_t *format,...) |
| Log a formatted warning message. More... | |
| bool | sir_error (const sirchar_t *format,...) |
| Log a formatted error message. More... | |
| bool | sir_crit (const sirchar_t *format,...) |
| Log a formatted critical error message. More... | |
| bool | sir_alert (const sirchar_t *format,...) |
| Log a formatted alert message. More... | |
| bool | sir_emerg (const sirchar_t *format,...) |
| Log a formatted emergency message. More... | |
| sirfileid_t | sir_addfile (const sirchar_t *path, sir_levels levels, sir_options opts) |
| Add a log file to receive formatted output for one or more sir_level. More... | |
| bool | sir_remfile (sirfileid_t id) |
| Remove a previously added log file. More... | |
| bool | sir_settextstyle (sir_level level, sir_textstyle style) |
| Sets the text style in stdio output for a sir_level of output. More... | |
| bool | sir_resettextstyles (void) |
| Resets all stdio text styles to their default values (sir_default_styles). More... | |
Functions and types that comprise the public interface to libsir.
| typedef uint16_t sir_levels |
#include <sirtypes.h>
Used to differentiate between a single sir_level and one or more bitwise OR'd together.
| typedef uint32_t sir_options |
#include <sirtypes.h>
Used to differentiate between a single sir_option and one or more bitwise OR'd together.
| typedef char sirchar_t |
#include <sirtypes.h>
The underlying type used for characters in output.
| typedef uint32_t sirerror_t |
#include <sirtypes.h>
The error code type.
| typedef const int* sirfileid_t |
#include <sirtypes.h>
The file identifier type.
| enum sir_level |
#include <sirtypes.h>
Defines the available levels (severity/priority) of logging output.
| enum sir_option |
#include <sirtypes.h>
Formatting options for a destination.
| Enumerator | |
|---|---|
| SIRO_NOTIME | Don't include time stamps in output. |
| SIRO_NOLEVEL | Don't include the human-readable logging level in output. |
| SIRO_NONAME | Don't include the process/app name in output. |
| SIRO_NOMSEC | Don't include milliseconds in time stamps. If not set, time stamps in output to this destination will be appended with the current millisecond in addition to the hour, minute, and second. If SIRO_NOTIME is set, this has no effect. |
| SIRO_NOPID | Don't include the process ID in output. |
| SIRO_NOTID | Don't include the thread ID/name in output. |
| SIRO_NOHDR | Don't write header messages when logging begins, or the file is rolled. Only applicable to log files. |
| SIRO_MSGONLY | Includes all other options; effectively disables all output formatting except the original formatted message (does not include SIRO_NOHDR; set that flag in addition to remove header messages). |
| SIRO_DEFAULT | Use the default for this type of destination. See sirdefaults.h for specifics. |
| enum sir_textstyle |
#include <sirtypes.h>
Available styles (colors, brightness) for console output.
| sirfileid_t sir_addfile | ( | const sirchar_t * | path, |
| sir_levels | levels, | ||
| sir_options | opts | ||
| ) |
#include <sir.c>
Add a log file to receive formatted output for one or more sir_level.
| path | The absolute or relative path to the file. If it does not exist, it will be created. |
| levels | One or more sir_level for which the file should be sent output. Use SIRL_ALL to send all logging levels to the file. |
| opts | Zero or more sir_option flags used to control output formatting. |
| The | file descriptor for the file that was successfully added. |
| NULL | An error occurred while trying to add the file. |
| bool sir_alert | ( | const sirchar_t * | format, |
| ... | |||
| ) |
#include <sir.c>
Log a formatted alert message.
This function maps internally to the logging level SIRL_ALERT.
| format | A printf-style format string. |
| ... | (variadic) Additional arguments whose types correspond to the format specifier at the same index in format . |
| true | All destinations registered for this level were successfully processed. |
| false | One or more destinations were not successfully processed. |
| bool sir_cleanup | ( | void | ) |
#include <sir.c>
Frees allocated resources and resets internal state.
| true | libsir is cleaned up. |
| false | An error occurred. |
| bool sir_crit | ( | const sirchar_t * | format, |
| ... | |||
| ) |
#include <sir.c>
Log a formatted critical error message.
This function maps internally to the logging level SIRL_CRIT.
| format | A printf-style format string. |
| ... | (variadic) Additional arguments whose types correspond to the format specifier at the same index in format . |
| true | All destinations registered for this level were successfully processed. |
| false | One or more destinations were not successfully processed. |
| bool sir_debug | ( | const sirchar_t * | format, |
| ... | |||
| ) |
#include <sir.c>
Log a formatted debug-level message.
This function maps internally to the logging level SIRL_DEBUG.
| format | A printf-style format string. |
| ... | (variadic) Additional arguments whose types correspond to the format specifier at the same index in format . |
| true | All destinations registered for this level were successfully processed. |
| false | One or more destinations were not successfully processed. |
| bool sir_emerg | ( | const sirchar_t * | format, |
| ... | |||
| ) |
#include <sir.c>
Log a formatted emergency message.
This function maps internally to the logging level SIRL_EMERG.
| format | A printf-style format string. |
| ... | (variadic) Additional arguments whose types correspond to the format specifier at the same index in format . |
| true | All destinations registered for this level were successfully processed. |
| false | One or more destinations were not successfully processed. |
| bool sir_error | ( | const sirchar_t * | format, |
| ... | |||
| ) |
#include <sir.c>
Log a formatted error message.
This function maps internally to the logging level SIRL_ERROR.
| format | A printf-style format string. |
| ... | (variadic) Additional arguments whose types correspond to the format specifier at the same index in format . |
| true | All destinations registered for this level were successfully processed. |
| false | One or more destinations were not successfully processed. |
| bool sir_filelevels | ( | sirfileid_t | id, |
| sir_levels | levels | ||
| ) |
#include <sir.c>
Sets levels sent to a log file.
Sets the sir_level registration mask for this destination.
| id | The identifier returned from sir_addfile. |
| levels | sir_level flags. |
| Value | Behavior |
|---|---|
SIRL_NONE | No levels. |
SIRL_ALL | All levels. |
SIRL_DEFAULT | Revert to the default (sirdefaults.h). |
SIRL_* | Register for each level set. |
| true | Levels were updated successfully. |
| false | An error occurred while trying to update levels. |
| bool sir_fileopts | ( | sirfileid_t | id, |
| sir_options | opts | ||
| ) |
#include <sir.c>
Sets formatting options for a log file.
Sets the sir_option mask that controls the content of messages sent to this destination.
| id | The identifier returned from sir_addfile. |
| opts | sir_option flags. |
| Value | Behavior |
|---|---|
0 | Include all available data. |
SIRO_DEFAULT | Revert to the default (sirdefaults.h). |
SIRO_* | Apply each option set. |
| true | Options were updated successfully. |
| false | An error occurred while trying to update options. |
| bool sir_info | ( | const sirchar_t * | format, |
| ... | |||
| ) |
#include <sir.c>
Log a formatted informational message.
This function maps internally to the logging level SIRL_INFO.
| format | A printf-style format string. |
| ... | (variadic) Additional arguments whose types correspond to the format specifier at the same index in format . |
| true | All destinations registered for this level were successfully processed. |
| false | One or more destinations were not successfully processed. |
| bool sir_init | ( | sirinit * | si | ) |
#include <sir.c>
Initializes libsir.
Any thread may initialize SIR, but any calls to other libsir functions will fail until this call has completed.
| si | Initialization options. |
| true | libsir is initialized and ready to use. |
| false | Initialization failed. |
| bool sir_notice | ( | const sirchar_t * | format, |
| ... | |||
| ) |
#include <sir.c>
Log a formatted notice message.
This function maps internally to the logging level SIRL_NOTICE.
| format | A printf-style format string. |
| ... | (variadic) Additional arguments whose types correspond to the format specifier at the same index in format . |
| true | All destinations registered for this level were successfully processed. |
| false | One or more destinations were not successfully processed. |
| bool sir_remfile | ( | sirfileid_t | id | ) |
#include <sir.c>
Remove a previously added log file.
| id | The file descriptor returned from sir_addfile. |
| true | The file was removed and will no longer receive output. |
| false | An error occurred while trying to remove the file. |
| bool sir_resettextstyles | ( | void | ) |
#include <sir.c>
Resets all stdio text styles to their default values (sir_default_styles).
| true | All text styles were reset to their defaults. |
| false | An error occurred while trying to reset text styles. |
| bool sir_settextstyle | ( | sir_level | level, |
| sir_textstyle | style | ||
| ) |
#include <sir.c>
Sets the text style in stdio output for a sir_level of output.
| level | The level (only one is permitted per call) for which the style will be set. |
| style | Foreground color, background color, and brightness control flags bitwise OR'd to create the text style for level . See sir_textstyle. |
| true | The style is valid and was applied. |
| false | An error occurred while trying to set the text style. |
| bool sir_stderrlevels | ( | sir_levels | levels | ) |
#include <sir.c>
Sets levels sent to stderr.
Sets the sir_level registration mask for this destination.
| levels | sir_level flags. |
| Value | Behavior |
|---|---|
SIRL_NONE | No levels. |
SIRL_ALL | All levels. |
SIRL_DEFAULT | Revert to the default (sirdefaults.h). |
SIRL_* | Register for each level set. |
| true | Levels were updated successfully. |
| false | An error occurred while trying to update levels. |
| bool sir_stderropts | ( | sir_options | opts | ) |
#include <sir.c>
Sets formatting options for stderr.
Sets the sir_option mask that controls the content of messages sent to this destination.
| opts | sir_option flags. |
| Value | Behavior |
|---|---|
0 | Include all available data. |
SIRO_DEFAULT | Revert to the default (sirdefaults.h). |
SIRO_* | Apply each option set. |
| true | Options were updated successfully. |
| false | An error occurred while trying to update options. |
| bool sir_stdoutlevels | ( | sir_levels | levels | ) |
#include <sir.c>
Sets levels sent to stdout.
Sets the sir_level registration mask for this destination.
| levels | sir_level flags. |
| Value | Behavior |
|---|---|
SIRL_NONE | No levels. |
SIRL_ALL | All levels. |
SIRL_DEFAULT | Revert to the default (sirdefaults.h). |
SIRL_* | Register for each level set. |
| true | Levels were updated successfully. |
| false | An error occurred while trying to update levels. |
| bool sir_stdoutopts | ( | sir_options | opts | ) |
#include <sir.c>
Sets formatting options for stdout.
Sets the sir_option mask that controls the content of messages sent to this destination.
| opts | sir_option flags. |
| Value | Behavior |
|---|---|
0 | Include all available data. |
SIRO_DEFAULT | Revert to the default (sirdefaults.h). |
SIRO_* | Apply each option set. |
| true | Options were updated successfully. |
| false | An error occurred while trying to update options. |
| bool sir_sysloglevels | ( | sir_levels | levels | ) |
#include <sir.c>
Sets levels sent to syslog (if available).
Sets the sir_level registration mask for this destination.
SIR_NOSYSLOG
is defined upon compilation, returns false
and has no effect.| levels | sir_level flags. |
| Value | Behavior |
|---|---|
SIRL_NONE | No levels. |
SIRL_ALL | All levels. |
SIRL_DEFAULT | Revert to the default (sirdefaults.h). |
SIRL_* | Register for each level set. |
| true | Levels were updated successfully. |
| false | An error occurred while trying to update levels. |
| bool sir_warn | ( | const sirchar_t * | format, |
| ... | |||
| ) |
#include <sir.c>
Log a formatted warning message.
This function maps internally to the logging level SIRL_WARN.
| format | A printf-style format string. |
| ... | (variadic) Additional arguments whose types correspond to the format specifier at the same index in format . |
| true | All destinations registered for this level were successfully processed. |
| false | One or more destinations were not successfully processed. |


Toy Story 2 A review by Stephen Sills Rated G (nothing offensive)
"Toy Story 2" is a masterpiece on every level - on its own terms, it is one of the finest films I have ever seen. Crafted with tender care by Disney subsidiary Pixar (who also brought us the original "Toy Story" and last year's "A Bug's Life"), the film personifies great family entertainment, appealing to kids, teens, and adults alike. Unlike so many lesser films that try to throw in mild double entendres and in-jokes to keep the over thirteen set in the crowd awake, however, "Toy Story 2" communicates exclusively to children, all of them, including the one locked up in even the most hardened adult. It fits the old "It's great for kids from ages one to one hundred" cliché' like a glove. I loved this movie - it's so clean, so beautiful, so full of heart and child-like wonder. There is something simultaneously cute, funny, haunting, and sad about seeing the world through the eyes of a toy - and the angle is exploited beautifully.
The film was a lot different than I expected. It's been quite a while since I've seen the original "Toy Story," and I remember little about it beyond that I liked it quite a bit. After almost literal universal acclaim (it is one of the few films to get a 100% on Rotten Tomatoes' tatometer), I expected quite a bit from its sequel, thinking it would simultaneously juggle humor and themes for kids and adults respectively. It ended up being even better than I thought it would be, although in a very different way. Instead of appealing to me as an adult (or, in my case, a teenager), it brought me down to the level of a child. I rarely see such strong feelings of joy, wonder, and sweet innocence projected on the screen, and I couldn't help but get caught up in it. For ninety brief but wonderful minutes, my age changed from fifteen to five.
The story is something of a retread of the original, but it doesn't really matter. Woody (voice of Tom Hanks) is stolen by evil toy store owner Al McWhiggin (voice of Wayne Night) while trying to save a comrade from being purchased during a family garage sale. He is brought back to Al's apartment, and finds himself as the centerpiece of a "Woody's Roundup" memorabilia collection. "Woody's Roundup," as it turns out, was an old black and white television series in which Woody's persona was the star. Al is planning to sell his collection to a Japanese toy museum, but they won't take it without a Woody doll. Now that he has one, he plans to proceed and make a killing.
Woody doesn't like the idea, of course, and immediately makes plans to escape. He is hindered, however, by Jessie (voice of Joan Cusack) and Stinky Pete (voice of Kelsey Grammer), two other members of the collection that have stayed in storage for years waiting for Woody. They don't want to spend any longer packed up in a box, and do everything in their power to convince him to stay.
In the meantime, Buzz Lightyear (voice of Tim Allen), with the help of Mr. Potato Head (voice of Don Rickles), Rex (voice of Wallace Shawn), Hamm (voice of John Ratzenberger), and Slinky Dog (voice of Jim Varney) launches a rescue mission.
Woody does his best to explain to his new friends why he has to leave; his owner, Andy (voice of John Morris) needs him. They're always together, and Woody couldn't live with himself if seperated from his best friend. In one of the most beautiful and powerful sequences that I have ever seen, Jessie tells the story of her owner growing up and letting her go for big-girl things like makeup and boys. The story is told in a (for once seamlessly integrated) song that details their special relationship. Jessie's owner took her everywhere, did everything with her - she was the girl's constant companion, her confidant. As the girl grows older, she stars to lose interest and ultimately sticks Jessie under her bed. After years of waiting, Jessie, thinking that their constant companionship is about to resume, is retrieved by her owner, driven by a tire swing that they used to play on years ago, and given to Good Will. The sequence is brilliant, executed with genuineness, subtlety, and grace. It almost moved me to tears.
 asks Jessie). Woody is infuriated at first, and initially refuses to return home when Buzz and company come for him. After much soul-searching, he changes his mind, deciding that, even though he won't be with Andy after he grows up, he wouldn't miss the experience of watching him for anything in the world. What a sweet, wonderful, powerful film.
**** out of **** _________________________________________________________
If you liked this review and want more, check out my web site at http://www.geocities.com/hollywood/derby/3217
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews