|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.citrusleaf.CitrusleafClient.ClScanningOptions
public static class CitrusleafClient.ClScanningOptions
Container object for optional parameters used in scan operations.
This object is passed in scan...()
calls to specify options.
null
may be passed to use defaults for all options.
| Constructor Summary | |
|---|---|
CitrusleafClient.ClScanningOptions()
Constructor, sets default scan options. |
| Method Summary | |
|---|---|
CitrusleafClient.ClScanningPriority |
getPriority()
Get server scan priority setting. |
int |
getThreadsPerNode()
Get number of client scan threads per node. |
boolean |
isConcurrentNodes()
Get concurrent nodes scan setting. |
boolean |
isFailOnClusterChange()
Get scan termination setting. |
void |
setConcurrentNodes(boolean concurrentNodes)
Specify concurrent nodes scan setting. |
void |
setFailOnClusterChange(boolean failOnClusterChange)
Specify scan termination setting. |
void |
setPriority(CitrusleafClient.ClScanningPriority priority)
Specify server scan priority setting. |
void |
setThreadsPerNode(int threadsPerNode)
Specify number of client scan threads per node - not yet supported. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CitrusleafClient.ClScanningOptions()
The object is constructed with concurrent nodes scan enabled, one
thread per node, scan priority CitrusleafClient.ClScanningPriority.AUTO
, and
scan termination on cluster changes disabled.
| Method Detail |
|---|
public boolean isConcurrentNodes()
true
if concurrent nodes scan
is enabled, false
if notpublic void setConcurrentNodes(boolean concurrentNodes)
concurrentNodes
- true
to enable concurrent nodes
scan, false
to disablepublic int getThreadsPerNode()
public void setThreadsPerNode(int threadsPerNode)
threadsPerNode
- number of client threads used to scan a nodepublic CitrusleafClient.ClScanningPriority getPriority()
scan priority
to
be used by serverpublic void setPriority(CitrusleafClient.ClScanningPriority priority)
priority
- scan priority
to
be used by serverpublic boolean isFailOnClusterChange()
true
if scan will terminate on
cluster change, false
if notpublic void setFailOnClusterChange(boolean failOnClusterChange)
failOnClusterChange
- true
to terminate scan on
cluster change, false
to
continue scan
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Get to learn beyond the developers perspective.
Challenge your peers to make the impact in the world.
Get a chance to win some exciting surprises.


springdoc.swagger-ui.path |
/swagger-ui.html
|
String , For custom path of the swagger-ui HTML documentation.
|
springdoc.swagger-ui.enabled |
true
|
Boolean . To disable the swagger-ui endpoint (/swagger-ui.html by default).
|
springdoc.swagger-ui.configUrl |
/v3/api-docs/swagger-config
|
String . URL to fetch external configuration document from.
|
springdoc.swagger-ui.layout |
BaseLayout
|
String . The name of a component available via the plugin system to use as the top-level layout for Swagger UI.
|
springdoc.swagger-ui.validatorUrl |
https://validator.swagger.io/validator
|
By default, Swagger UI attempts to validate specs against swagger.io’s online validator. You can use this parameter to set a different validator URL, for example for locally deployed validators Validator Badge. Setting it to either none , <IP_ADDRESS> or localhost will disable validation. |
springdoc.swagger-ui.tryItOutEnabled |
false
|
Boolean . Controls whether the "Try it out" section should be enabled by default.
|
springdoc.swagger-ui.filter |
false
|
Boolean OR String . If set, enables filtering. The top bar will show an edit box that you can use to filter the tagged operations that are shown. Can be Boolean to enable or disable, or a string, in which case filtering will be enabled using that string as the filter expression. Filtering is case sensitive matching the filter expression anywhere inside the tag.
|
springdoc.swagger-ui.operationsSorter |
|
Function=(a ⇒ a) . Apply a sort to the operation list of each API. It can be 'alpha' (sort by paths alphanumerically), 'method' (sort by HTTP method) or a function (see Array.prototype.sort() to know how sort function works). Default is the order returned by the server unchanged.
|
springdoc.swagger-ui.tagsSorter |
|
Function=(a ⇒ a) . Apply a sort to the tag list of each API. It can be 'alpha' (sort by paths alphanumerically) or a function see Array.prototype.sort() to learn how to write a sort function). Two tag name strings are passed to the sorter for each pass. Default is the order determined by Swagger UI.
|
springdoc.swagger-ui.oauth2RedirectUrl |
/swagger-ui/oauth2-redirect.html
|
String . OAuth redirect URL.
|
springdoc.swagger-ui.displayOperationId |
false
|
Boolean . Controls the display of operationId in operations list. The default is false .
|
springdoc.swagger-ui.displayRequestDuration |
false
|
Boolean . Controls the display of the request duration (in milliseconds) for "Try it out" requests.
|
springdoc.swagger-ui.deepLinking |
false
|
Boolean . If set to true , enables deep linking for tags and operations. See the [Deep Linking documentation](https://swagger.io/docs/open-source-tools/swagger-ui/usage/deep-linking) for more information.
|
springdoc.swagger-ui.defaultModelsExpandDepth |
1
|
Number . The default expansion depth for models (set to -1 completely hide the models).
|
springdoc.swagger-ui.defaultModelExpandDepth |
1
|
Number . The default expansion depth for the model on the model-example section.
|
springdoc.swagger-ui.defaultModelRendering |
|
String=["example"*, "model"] . Controls how the model is shown when the API is first rendered. (The user can always switch the rendering for a given model by clicking the 'Model' and 'Example Value' links.)
|
springdoc.swagger-ui.docExpansion |
|
String=["list"*, "full", "none"] . Controls the default expansion setting for the operations and tags. It can be 'list' (expands only the tags), 'full' (expands the tags and operations) or 'none' (expands nothing).
|
springdoc.swagger-ui.maxDisplayedTags |
|
Number . If set, limits the number of tagged operations displayed to at most this many. The default is to show all operations.
|
springdoc.swagger-ui.showExtensions |
false
|
Boolean . Controls the display of vendor extension (x- ) fields and values for Operations, Parameters, and Schema.
|
springdoc.swagger-ui.url |
|
String .To configure, the path of a custom OpenAPI file . Will be ignored if urls is used.
|
springdoc.swagger-ui.showCommonExtensions |
false
|
Boolean . Controls the display of extensions (pattern , maxLength , minLength , maximum , minimum ) fields and values for Parameters.
|
springdoc.swagger-ui.supportedSubmitMethods |
|
Array=["get", "put", "post", "delete", "options", "head", "patch", "trace"] . List of HTTP methods that have the "Try it out" feature enabled. An empty array disables "Try it out" for all operations. This does not filter the operations from the display.
|
springdoc.swagger-ui.queryConfigEnabled |
false
|
Boolean . Disabled since v1.6.0 . This parameter enables (legacy) overriding configuration parameters via URL search params. See security advisory before enabling this feature.
|
springdoc.swagger-ui.oauth. additionalQueryStringParams |
|
String . Additional query parameters added to authorizationUrl and tokenUrl.
|
springdoc.swagger-ui.disable-swagger-default-url |
false
|
Boolean . To disable the swagger-ui default petstore url. (Available since v1.4.1).
|
springdoc.swagger-ui.urls[0].url |
|
URL . The url of the swagger group, used by Topbar plugin. URLs must be unique among all items in this array, since they’re used as identifiers.
|
springdoc.swagger-ui.urls[0].name |
|
String . The name of the swagger group, used by Topbar plugin. Names must be unique among all items in this array, since they’re used as identifiers.
|
springdoc.swagger-ui.urlsPrimaryName |
|
String . The name of the swagger group which will be displayed when Swagger UI loads.
|
springdoc.swagger-ui.oauth.clientId |
|
String . Default clientId. MUST be a string.
|
springdoc.swagger-ui.oauth.clientSecret |
|
String . Default clientSecret. Never use this parameter in your production environment. It exposes crucial security information. This feature is intended for dev/test environments only.
|
springdoc.swagger-ui.oauth.realm |
|
String . realm query parameter (for OAuth 1) added to authorizationUrl and tokenUrl.
|
springdoc.swagger-ui.oauth.appName |
|
String . OAuth application name, displayed in authorization popup.
|
springdoc.swagger-ui.oauth.scopeSeparator |
|
String . OAuth scope separator for passing scopes, encoded before calling, default value is a space (encoded value %20).
|
springdoc.swagger-ui.csrf.enabled |
false
|
Boolean . To enable CSRF support
|
springdoc.swagger-ui.csrf.use-local-storage |
false
|
Boolean . To get the CSRF token from the Local Storage.
|
springdoc.swagger-ui.csrf.use-session-storage |
false
|
Boolean . To get the CSRF token from the Session Storage.
|
springdoc.swagger-ui.csrf.cookie-name |
XSRF-TOKEN
|
String . Optional CSRF, to set the CSRF cookie name.
|
springdoc.swagger-ui.csrf.header-name |
X-XSRF-TOKEN
|
String . Optional CSRF, to set the CSRF header name.
|
springdoc.swagger-ui.syntaxHighlight.activated |
true
|
Boolean . Whether syntax highlighting should be activated or not.
|
springdoc.swagger-ui.syntaxHighlight.theme |
agate
|
String . String=["agate"*, "arta", "monokai", "nord", "obsidian", "tomorrow-night"] . Highlight.js syntax coloring theme to use. (Only these 6 styles are available.)
|
springdoc.swagger-ui.oauth. useBasicAuthentication WithAccessCodeGrant |
false
|
Boolean . Only activated for the accessCode flow. During the authorization_code request to the tokenUrl, pass the Client Password using the HTTP Basic Authentication scheme (Authorization header with Basic base64encode(client_id + client_secret)).
|
springdoc.swagger-ui.oauth. usePkceWithAuthorization CodeGrant |
false
|
Boolean .Only applies to authorizatonCode flows. Proof Key for Code Exchange brings enhanced security for OAuth public clients.
|
springdoc.swagger-ui.persistAuthorization |
false
|
Boolean . If set to true, it persists authorization data and it would not be lost on browser close/refresh
|
springdoc.swagger-ui.use-root-path |
false
|
Boolean . If set to true, the swagger-ui will be accessible from the application root path directly.
|


Phillip Cocu's likely transfer targets revealed as midfielder's Derby link is dismissed
The Rams return to Championship action this weekend when Preston North End visit Pride Park Stadium
by Steve NicholsonTARGET MEN
Suggestions ranging from goalkeeper to a free-kick specialist emerged when we asked fans where they would like to see Derby County strengthen in the January transfer window.
Most fans mentioned centre back, and that is no surprise given what has happened to Richard Keogh and also the injury concern over Matt Clarke, who looks set for a spell out with the knee damage he suffered in the defeat by Nottingham Forest.
So, centre-back, possibly more than one, is the priority, I understand.
Here are other areas of the team Cocu is likely to look at.
INVESTMENT LATEST
Mel Morris says the challenge to succeed at Derby County remains a "constant quest".
Derby's owner and chairman, who bought the Rams in 2015, has invested tens of millions of pounds in the club and he has been searching for new investment.
That investment could be in place by the end of the year, DerbyshireLive understands.
ACOSTA NO GO
Wayne Rooney's former team-mate at DC United, Luciano Acosta , is not a transfer target for Derby County .
The 25-year-old attacking midfielder claimed in an interview in Argentina that Rooney, who joins Derby as player-coach in January, had told him to join him at Pride Park.
There was a suggestion that Acosta is "waiting for the call" from Derby over a potential move, but DerbyshireLive understands the player is not on their 'wanted list'.
DEFENDER WANTED
Former Derby County defender Efe Ambrose is reportedly wanted by two clubs in Scotland
The experienced centre-back signed for the Rams on a short-term deal in February as a free agent, shortly after his contract at Hibernian has expired.
Ambrose was signed as defensive cover to centre-backs Richard Keogh and Fikayo Tomori, but left Pride Park in the summer without a single first-team appearance to his name.


GoogleCTF Beginner's Quest 2019 - Government Agriculture Network
Description
Well it seems someone can’t keep their work life and their home life separate. You vaguely recall on your home planet, posters put up everywhere that said “Loose Zips sink large commercial properties with a responsibility to the shareholders.” You wonder if there is a similar concept here.
Using the credentials to access this so-called Agricultural network, you realize that SarahH was just hired as a vendor or contract worker and given access that was equivalent. You can only assume that Vendor/Contractor is the highest possible rank bestowed upon only the most revered and well regarded individuals of the land and expect information and access to flow like the Xenovian acid streams you used to bathe in as a child.
The portal picture displays that small very attractive individual whom you instantly form a bond with, despite not knowing. You must meet this entity! Converse and convince them you’re meant to be! After a brief amount of time the picture shifts into a biped presumably ingesting this creature! HOW DARE THEY. You have to save them, you have to stop this from happening. Get more information about this Gubberment thing and stop this atrocity.
You need to get in closer to save them - you beat on the window, but you need access to the cauliflower’s host to rescue it.
Solving
Let’s have a look at https://govagriculture.web.ctfcompetition.com/:
At least we won’t get lost on that website, there’s only one page!
The admin
link in the top-right hand corner returns a 303 HTTP code and returns the same page.
So, let’s explore the only thing there is on that page! The lady eating cauliflowers! Oops, I meant the Create a new post
text field :D If we submit a text, then we obtain the following message:
Hum, so, we can submit stuff and the admin will come take a look at it? That’s interesting! What if the admin has a special cookie or HTTP header?
Let’s try to trick the admin… IE, let’s go for a stored XSS attack!
To do so, we can profit from the awesome requestbin:
RequestBin gives you a URL that will collect requests made to it and let you inspect them in a human-friendly way. Use RequestBin to see what your HTTP client is sending or to inspect and debug webhook requests.
Hit the Create a new RequestBin
button to obtain a Bin URL, for example: http://requestbin.net/r/1ktoe8l1. Now, every time something/someone reach that URL, it will be displayed.
Test the RequestBin by running:
$ curl -X POST -d "yo=lo" http://requestbin.net/r/1ktoe8l1
Refresh the RequestBin page to inspect the details of the HTTP request you made:
Next, we need to hide this URL on the Ministry of Agriculture’s website so that the admin visits it. One technique is to use Javascript code which generates the HTML code for an image:

Okay, great, but how does this help us trick the admin into visiting the requestbin? The RequestBin URL can be used as the source of the image!

But you talked about cookies earlier?!
Cookies can be accessed with document.cookie
and pass them as a parameter to the RequestBin URL to retrieve them:

Now, paste that evil Javascript into the text field and refresh the RequestBin!
Flag: CTF{8aaa2f34b392b415601804c2f5f0f24e}


HOME
LIVE-FEED
UPLOAD PICTURE
VIDEO
ABOUT PROJECT
RESEARCH PAPER
ABOUT US
Presidential Debate
Facial Expressions


--- layout: post status: publish published: true title: VMworld 2009 - Opening Keynote - Announcements author: display_name: iguy login: iguy email<EMAIL_ADDRESS>url: '' author_login: iguy author_email<EMAIL_ADDRESS>wordpress_id: 223 wordpress_url: http://itsjustanotherlayer.com/?p=223 date: !binary |- MjAwOS0wOS0wMSAxNTo1NToxNyAtMDUwMA== date_gmt: !binary |- MjAwOS0wOS0wMSAxNTo1NToxNyAtMDUwMA== categories: - VMware tags: - VMware - vmworld comments: [] ---
Something new.. from VMworld 2009 Opening Keynote
vSphere:
VMware-Go - Helps get ESXi configured and setup for SMB customers.
vCloud:
vmware virtualized - vCloud certified enterprise ready services.
vCloud Express - Rapid and inexpensive light workload ready functionality by service providers. (Nice demo on Terremark services)
VMware vCloud API - vApp deployment, Inventory listing, vApp operations, Catalog Mgmt, and more
SpringSource
Key goal is to simplify application frameworks and gain better understandings.


Provides support for linear algebra in the form of {@link org.jscience.mathematics.vector.Matrix matrices} and {@link org.jscience.mathematics.vector.Vector vectors}.
With the {@link org.jscience.mathematics.vector.Matrix Matrix} class, you should be able to resolve linear systems of equations involving any kind of elements such as {@link org.jscience.mathematics.number.Rational Rational}, {@link org.jscience.mathematics.number.ModuloInteger ModuloInteger} (modulo operations), {@link org.jscience.mathematics.number.Complex Complex}, {@link org.jscience.mathematics.function.RationalFunction RationalFunction}, etc. The main requirement being that your element class implements the mathematical {@link org.jscience.mathematics.structure.Field Field} interface.
Most {@link org.jscience.mathematics.number numbers} and even invertible matrices themselves may implement this interface. Non-commutative multiplication is supported which allows for the resolution of systems of equations with invertible matrix coefficients (matrices of matrices).
For classes embedding automatic error calculation (e.g. {@link org.jscience.mathematics.number.Real Real} or {@link org.jscience.physics.amount.Amount Amount}), the error on the solution obtained tells you if can trust that solution or not (e.g. system close to singularity). The following example illustrates this point.
Let's say you have a simple electric circuit composed of 2 resistors in series
with a battery. You want to know the voltage (U1, U2) at the nodes of the
resistors and the current (I) traversing the circuit.[code]
import static org.jscience.physics.units.SI.*;
RealAmount(70.0 ± 7.3E-1) mA
. When the inputs have no error specified,
the error on the result corresponds to calculations numeric errors only
(which might increase significantly if the matrix is close to singularity).


tensorgraph.models_zoo.airnet package¶
Submodules¶
tensorgraph.models_zoo.airnet.model module¶
-
class
tensorgraph.models_zoo.airnet.model.
AIRNet
[source]¶ Bases:
tensorgraph.layers.template.BaseModel
The model takes in two input tensors. The lower layers consists of several convolutional blocks with both inputs passing through the the same pathway (shared weights). The outputs of the encoder are flatten and concatenated before passed into the fully connected layers.
Parameters: - d – Depth of input tensors.
- h – Height of input tensors.
- w – Width of input tensors.
- c – Number of channels of input tensors.


A play by Charlotte Carroll
| Taco Queen |
|---|
| Chef |
| Hunter |
| Ball of Light |
| Cow |
| Narrator |
Narrator- “Long ago there was a Queen but she was not just any Queen she was a taco Queen! And the only thing she liked was tacos.
Chef- “We are out of all out of all kinds of taco meat.”
Taco Queen- “we can NOT be out of meat! The meat is the best part!”
Chef- “Well what do you want me to do? get the hunt-“
Taco Queen- “YES GET THE HUNTER AND GO,NOW!!!!!!!”
Hunter- “Yes my Queen i will ge you your meat, but what kind i ask you?”
Taco Queen- “Any kind now go!”
Narrator- “And so the hunter goes... 1 hour later”
Hunter- “Yes i got your meat. . . a cow.”
Taco Queen- “Good... Chef!!!!!!!!!!!!!!!!!!”
Chef- “Yes??????”
Taco Queen- “Cut up this meat....NOW!!!!!!!!!!!”
Chef- “Yes. come on cow in the kitten.move on, move on, move on.”
Cow- “NO!!!!!! If you do, you know that will be consequences.”
Chef— “What do you mean? Your just a cow.”
Cow “Yes, I am a cow But I have consequences that are not for you.
Chef-Then, hoo? Hoo are the consequences for?
Cow- “You will see ow maybe you need a riddle… you will see what comes out of me.”
Taco Queen- “Come on chef…..Please”
Narrator-The chef gives the taco to the Queen
Taco Queen- “Yes, my baby …….(comp comp comp)
Narrator-A Ball of light comes out of the taco after she takes three bites”
Ball Of Light- “You did not care for nothing but food so you are a taco”
Narrator- “The Queen was a taco forever after that. The End


{% requireAdmin %} {% extends "_layouts/cp" %} {% import "_includes/forms" as forms %} {% includeCssResource 'comments/css/comments.css' %} {% includeJsResource 'comments/js/comments.js' %} {% set title = "Permissions" | t %} {% set tabs = { comments: { label: "Comments" | t, url: url('comments') }, permissions: { label: "Permissions" | t, url: url('comments/permissions') }, settings: { label: "Settings" | t, url: url('comments/settings') }, } %} {% set selectedTab = 'permissions' %} {% set content %}
{% endset %}


This is a yes/no or True/False question.
This would make a good stem for an ABPS multiple choice exam question.
Please try again.


Last update
Net Meter
Bytes In
Bytes Out
Bytes in/sec
Bytes out/sec
Max Bytes in/sec
Max Bytes out/sec


Installing and developing Android applications on command line in OS X
Who wants Eclipse when you can use vim like a vimmer
. This document will help
you get ready and develop Android applications from command line.
As usual, without saying - if you have not yet, Get Homebrew. This post also assumes that you have installed the command line tools from XCode and Ant.
Steps
Install Android SDK
brew install android-sdk
==> Downloading http://dl.google.com/android/android-sdk_r20-macosx.zip
######################################################################## 100.0%\
==> Caveats
Now run the `android' tool to install the actual SDK stuff.
The Android-SDK location for IDEs such as Eclipse, IntelliJ etc is:
/usr/local/Cellar/android-sdk/r20
you will have to install the platform-tools and docs every time this formula
updates. if you want to try and fix this then see the comment in this formula.
you may need to add the following to your .bashrc:
export ANDROID_SDK_ROOT=/usr/local/Cellar/android-sdk/r20
==> Summary
/usr/local/Cellar/android-sdk/r20: 444 files, 70M, built in 2.1 minutes
This will only install the Android SDK Manager. None of the actual SDK or anything is installed.
As suggested by Homebrewa, add the lines to your .bashrc
. You can start the
manager by typing android
. Generally, I like to install a version from every
major release (so that I can quickly debug things out if necessary). You can
choose whichever version you want.
Bootstrap your project for specific target
Remember, we had installed multiple version of SDK. We have to setup an Android Virtual Device for it and setup the project for the target.
android list target
Available Android targets:
id: 1 or "android-10"
Name: Android 2.3.3
Type: Platform
API level: 10
Revision: 2
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854
ABIs : armeabi
id: 2 or "android-13"
Name: Android 3.2
Type: Platform
API level: 13
Revision: 1
Skins: WXGA (default)
ABIs : armeabi
id: 3 or "android-15"
Name: Android 4.0.3
Type: Platform
API level: 15
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800
ABIs : armeabi-v7a
id: 4 or "android-16"
Name: Android 4.1
Type: Platform
API level: 16
Revision: 1
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs : armeabi-v7a
android create avd --target 1 --name yourprojectname
$: android create avd --target 1 --name param
Auto-selecting single ABI armeabi
Android 2.3.3 is a basic Android platform.
Do you wish to create a custom hardware profile [no]
Created AVD 'param' based on Android 2.3.3, ARM (armeabi) processor,
with the following hardware config:
hw.lcd.density=240
vm.heapSize=24
hw.ramSize=256
Now if its a new project, you can bootstrap one by using something like:
android create project --name HelloWorld --activity HelloWorld --path ./
--package com.examples.helloworld --target 1
If you already have an Eclipse build project and you want to start doing it
right. Set it up using android update project --target 1 --path .
Now you can build it using ant debug
or ant release
and corresponding
.apk
file will be created.
Running in the emulator
Lets start up the avd that we created before. Assuming, you named your project
“awesome”, we can start the emulator emulator -avd awesome
.
Now we can install the above built packager using the Android Debug Bridge or
adb
by running adb install bin/awesome-debug.apk
.
You should now see your new app in the applications list.


---
layout: post
title: 'Post Mortem: Android Discount Coupons App'
date: 2015-01-24 20:58:12.000000000 +08:00
type: post
published: true
status: publish
categories:
- Android
- Programming
tags:
- android
- android studio
- freelance
meta:
_edit_last: '38359561'
geo_public: '0'
_publicize_job_id: '10910809435'
author:
login: noobgrammer
email<EMAIL_ADDRESS>display_name: bytehala
first_name: Lemuel
last_name: ''
---
What went wrong:
- Overcommitting - I said I can finish the app in a week(end). I actually did it in a month because laziness.
- Legacy code - I could have done a better job if I just trashed the base code they gave me. Lots of leaks (static Context reference, anyone?) and bad practices on that one. (They had a getter that allowed you to mutate the collection. Migraine!)
- Rusty Old Me - Android is evolving really fast, and well, I basically have to strut my stuff to catch up.
- Much server calls - The legacy app was designed such that it gets server data every time the user selects a menu item. Could have just mirrored it app-side.
 Google Drive saved me.
- Lack of communication - They don't reply as often as I'd like them to.
What went right:
- Better - Well, the app turned out better than the legacy app. Did I mention that app was 2014? #Learn2Code.
- Redesigned - At least they agreed to let me design
the app my way some aspects of the app. The old one was iOS-looking! Eugh!
- Practice - I got to brush up on Android and git, which is nice!
- They liked it! - The customer said I (we!) was a "star" dev. Their words, not mine. And they want me on board for another project! *Happy dance*
What I learned (Basically Jake Wharton):
- Otto! - Otto allowed me to just get on with the coding and not worry about threading shiz.
- Animations - (Actually I didn't? LOL. Patrick did this part, but I read up on it after the "release*".)
- OkHttp - Took much REST headache out of my hands.
- Memory Analyzer Tool - I've used this before, but now I can use it with Android Studio.
- Google Stuff - Maps, Analytics, AdView
- Android Studio - We used AS for the project, so I learned some commonly used shortcuts and how to not be intimidated by Gradle/Project Settings.
- Schedule - To keep your customer informed, you have to have a regular schedule for builds. A daily one worked for me, even though I don't think they tested every one I sent.


Please use the following info and demo's example to use Onpage Help in your own app.
It still may be confusing though, so if you need further help with that, just get in touch with me.
1. Overview
Onpage Help is a feature of Ace admin template that allows users
to select an element or a section of a page and see more info about it without leaving the page.
For an example of this you can refer to
Ace demo
and click the black button on right of page.
You can also use this feature in your app to provide help and instructions for users.
2. Usage
Help content can be retrieved from your own help files and it will be displayed inside a modal box in your
application.
To use onpage help you should build a custom Javascript file using JS builder tool and include
onpage help feature or you can directly include
assets/js/ace/elements.onpage-help.js file.
To initiate help you can call:
jQuery(function($) {
var help = new Onpage_Help({/* for available options, see below */});
$('#some-button').on('click', function() {
help.toggle();
//or help.enable()
//or help.disable()
})
})
Your application page should have special comments for special sections that have help material:
Some elements are here which will show a help dialog when clicked!
The help content is retrieved dynamically from a remote file that you specify.
That file should have similar comments like above:
Documentation and help content for "manage/user" are here inside some file.
There should also be an element with data-id="#manage/user" attribute
which is used to specify modal box's title.
If no such element exists, its possible parent is looked up and if available its title is used for the modal box!
If inside one documentation(help) page, there are several sections to be displayed in your application,
you should use "."(dot) character to separate them:
Manage user documentation is here
..
..
..
Delete user documentation is here
When user clicks on a help section to see its content, the name of section is passed
to "section_url" function in which you should return the url which contains relevant help material.
Please see next section for more info.
If you have files with HTML, CSS, etc code that you want to show inside the modal help dialog,
you can wrap the path inside a code tag with .open-file class
and data-open-file="css" attribute:
path/to/some/file.js
3. Options
There are several options when initiating help.
icon_1 Optional icon displayed inside a help section.
Default is 'fa fa-question'
icon_2 Optional icon displayed on top left of a help section.
Default is 'fa fa-lightbulb-o'
include_all
Include all elements between two comments
or just the first and last one(might be slightly faster in some cases).
Default is true (include all):
base Optional path to documentation folder which you can use later in following callbacks to return content url.
section_url Callback function which return a url to load the help content of a section.
For example when a help section which refers to "basics/sidebar.compact" is requested, you can use this
function to return the url to load which contains help content:
'section_url': function(section_name) {
//From Ace Demo's example
//according to a section_name such as `basics/navbar.toggle` return the file url which contains help content
section_name = section_name || '';
//for example convert section_name=`basic/navbar.layout.brand` to `basic/navbar`
//because in Ace's documentation files 'basic/navbar.layout.brand' section is inside `basic/navbar.html` file
var url = section_name.replace(/\..*$/g, '');
var parts = url.split('/');
if(parts.length == 1) {
//for example convert `changes` to `changes/index.html`
if(url.length == 0) url = 'intro';//or convert `empty string` to `intro/index.html`
url = url + '/index.html';
}
else if(parts.length > 1) {
//for example convert `basics/navbar.layout` to `basics/navbar.html`
url = url + '.html';
}
return this.settings.base + '/docs/sections/' + url;
}
file_url Similar to above callback. This function is used when a file (which contains code snippets) is to be loaded.
img_url Similar to above callbacks. When inserting images into DOM, the url may need to be updated.
code_highlight Used for syntax highlighting code snippets.
Currently if Rainbow.js or Prism.js libraries are available, they will be used for highlighting.
before_enable Optional callback to make some changes before help is enabled.
For example in Ace's demo, when help is enabled, we unfix navbar, sidebar, etc,
because when an element is fixed or is inside a fixed parent,
it will need a fixed help box above it and it becomes unnecessarily complex.
after_enable Optional callback to make some changes after help is enabled
before_disable Optional callback to make some changes before help is disabled
after_disable Optional callback to make some changes after help is disabled.
For example in Ace's demo, we restore fixed state of previously unfixed navbar, etc.
add_panels Separate & wrap help content inside panels like image below.
Default is true.
panel_content_selector Use this selector to find and separate contents and wrap them inside panels
panel_content_title Use this selector to find the title for each panel. Should come before relevant 'panel_content_selector'
4. Example
For an example of using Onpage Help in your application, you can see
Ace's demo pages
The code that initiates help is inside
assets/js/ace/ace.onpage-help.js
and has comments and explanations.
For Ace's demo there is also an extra style file which is
assets/css/ace.onpage-help.css.
It is used for styling the black help button and you don't need it.
Also, "Rainbow.js" files are include for syntax highlighting.
You don't need them if your help content doesn't make use of it.
The help content is retrieved from docs/sections folder.
Inside Ace's demo, help is initiated when "#help" is appended to url and
a black button on right side of page is shown which enables/disables help.
You should use your own approach.
Perhaps a button inside navbar or sidebar which enables or disables help.


Tests reveal high level of radioactive gas in public housing
HUNTSVILLE, Ala. (AP) - Huntsville housing officials aren’t saying what they will do about independent testing that found high levels of radioactive gas in public housing.
The testing found high levels of radon in apartments owned by the Huntsville Housing Authority, Al.com reported.
Information from: The Birmingham News, http://www.al.com/birminghamnews
Reporters tested for cancer-causing radon last year, with the help of public housing tenants as part of a national investigation into radon in public housing.
The Huntsville Housing Authority uses federal funding to fulfill its mission to the best of its ability, its executive director, Sandra Eddlemon, said in a statement.
Eddlemon’s statement did not address the radon testing, but added that “our residents are very important to us.”
Radon seeps in through flooring. It’s the second-leading cause of lung cancer in the U.S., killing an estimated 21,000 Americans each year.
Public housing authorities across the nation have refused to find and remove the radioactive gas from inside tenants’ homes, leaving children and other vulnerable people exposed to it, an investigation by news organizations found. They include affiliates of Alabama Media Group’s corporate parent, Advance Local, led by The Oregonian/OregonLive in Portland.
The Oregonian/OregonLive surveyed 64 large housing authorities in areas at elevated risk for radon and found that most do not look for radon.
Those that did test often did so in only a tiny percentage of their public housing units.
Some forgot about the results without making fixes. And some never told tenants that they were living with high levels of the dangerous gas.
“I would love to see it fixed,” Shineka Howard told Al.com. Her Butler Terrace apartment in west Huntsville tested three times the federal action level.
Mike Norment, the housing authority’s facilities director, declined to answer questions about the findings.
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


Ortega was born in Nairobi, Kenya; he's of italian descent and possesses dual nationality, as both his parents are from murich, Italy. He grew up in section 8 housing project of NHC, langata.
Brian started learning martial arts when he was 17 years old. When he turned 19, he began training Brazilian jiu-jitsu via youtube under supervision of his mentor Gracie.my hobbies include interior research,martial arts and music production.


Copyright 2015 © 173210
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Powered by Jekyllrb. The minimal-block theme.


Our Menu
Chicken
The chicken (Gallus gallus domesticus) is a type of domesticated fowl, a subspecies of the red junglefowl (Gallus gallus). They are one of the most common and widespread domestic animals, with a total population of 23.7 billion as of 2018[1], up from more than 19 billion in 2011.[2] There are more chickens in the world than any other bird or domesticated fowl.[2] Humans keep chickens primarily as a source of food (consuming both their meat and eggs) and, less commonly, as pets. Originally raised for cockfighting or for special ceremonies, chickens were not kept for food until the Hellenistic period (4th–2nd centuries BC).


This is an Idyll file. Write text as you please in here. To add interactivity, you can add different components to the text.
Here is how you can use a variable:
5.00var code = true;
And here is a custom component:
You can use standard html tags if a component with the same name doesn’t exist.


Edit OSM
Edit OSM from OpenStreetCam imagery and detections.
Edit in
OSM check status
0"> - {{photosIterator.filtersCounts.osmComparison.total}} signs
This track is not yet processed for automatic suggestions to be edited. You can still visually check the photos for things
to do in OSM!
Detected sign
{{currentDetection.sign.name}}
OSM data
{{currentDetectionLabels.osmComparison}}
Status
{{currentDetectionLabels.editStatus}}
User
{{currentDetectionContribution.author.username}}
Date
{{currentDetectionContribution.creationTimestamp | date:'shortDate'}}


Mobile Without iframe
Tablet and desktop and (University of Murcia version) Without iframe and (University of Murcia version)
Buttons


About Us
Are you thinking of relocating to a new house or office?
Relocation Express is a company located in Nairobi. We offer a cost effective solution for your relocation. We provide total door to door relocation service throughout Nairobi and other cities and towns. No need to get strandend, you will be able to choose a driver for yourself and get a quotation depending on the destination.
Vision
We are seeking to be the most respected relocation service providers in the world that is built with honesty and reliability.
Mission
We seek to provide clients with reliable ,safe,cost effective,secure and timely moving solutions.
Services offered
Office services
Relocating a business needs a lot of care and with our company,we provide that. As way of getting a right quotation, a relocator is going to be assigned to the premises to take a survey of your office,and prepare an inventory for your move. All the furnitures and documents will be handled with care making sure that your business still remains the same.
House Services
House moving can be tiring, but with Relocation Express, our personnel don't get tired. Everything will be handled on the speculated day no mattter the quantity. We have Cargo trucks that can handle every amount of goods. We do packing of each items separately to avoid any damages on the fragile goods.
Storage Services
Are lacking space in your business area?
We provide storage solutions to your needs. We have different types of storage facilities depending on the need of our clients. Our storage facilities are well secured 24/7 with trusted security providers.
Packing and Unpacking Services
With every relocation service provided, it will always be accompanied by packers and packing materials. We make sure that our client's goods are always packed in a well manner to avoid damage and dust that can be picked during the transportaton period.


Onclass Tutoring - Meet Our Tutors
Student volunteer tutors helping anyone for free. You can look at a few of our tutors and subjects they are versed in here!!
| Description | Tutor Names |
|---|---|
| APs taken are MacroEconomics, MicroEconomics, Physics C Mech and EM, Calculus BC, English Language, Psychology, Statistics, Environmental Science and US History. 99th Percentile in the ACT. | Vishnu Srinivasan |
| APs taken are Computer Science, Chemistry, Calculus AB and US History. 99th Percentile in the SAT. | Rishikesh Balaji |
| APs taken are English Language, Chemistry and US History. 99th Percentile in the ACT. | George Wen |
| APs taken are Calculus AB, Chinese and US History. 99th Percentile in the ACT. | Jacob Jiao |
| APs taken are Japanese, Physics C Mech, Calculus BC, Chinese. 95th Percentile in the SAT. | Evan Chou |
| APs taken are Physics C Mech, Calculus AB and English Language. 99th Percentile in the SAT. | Sohum Oza |
| APs taken are Computer Science, Physics, and Calculus BC. 99th Percentile in the SAT. | Andrew Wong |
| APs taken are Computer Science, Physics, US History and Calculus BC. 99th Percentile in the PSAT. | Eric Cheng |
| AP taken is Computer Science. | Yash Bengali |
| APs taken are Calculus BC, Computer Science and US History. 99th Percentile in the SAT. | Nishant Yadav |
| APs taken are Calculus BC, Statistics, Chemistry, English Language, Psychology and US History. 99th Percentile in the ACT. | Nikhil Vytla |
| APs taken are Psychology, Environmental Science, Physics 1 and Physics 2. 99th Percentile in the ACT. | Mihir Hasan |
| APs taken are Economics, Statitics, Calculus BC, Chinese and Physics 1. 99th Percentile in the ACT. | Cheri Zhou |


|
TouchGFX
v4.13.0
|
A simple struct for holding pairs of data. More...
#include <touchgfx/hal/Types.hpp>
Public Member Functions | |
| Pair () | |
| Default constructor. More... | |
| Pair (const T1 &x, const T2 &y) | |
| Constructor initializing the elements it holds using their copy constructor. More... | |
| template<class U , class V > | |
| Pair (const Pair< U, V > &p) | |
| Copy constructor. More... | |
Public Attributes | |
| T1 | first |
| The first element. | |
| T2 | second |
| The second element. | |
A simple struct for holding pairs of data.
| T1 | The type of the first element. |
| T2 | The type of the second element. |


The decision about what to put into your paragraphs begins with the germination of a seed of ideas; this “germination process” is better known as brainstorming. There are many techniques for brainstorming; whichever one you choose, this stage of paragraph development cannot be skipped. Building paragraphs can be like building a skyscraper:
The decision about what to put into your paragraphs begins with the germination of a seed of ideas; this “germination process” is better known as brainstorming. There are many techniques for brainstorming; whichever one you choose, this stage of paragraph development cannot be skipped. Building paragraphs can be like building a skyscraper:
The decision about what to put into your paragraphs begins with the germination of a seed of ideas; this “germination process” is better known as brainstorming. There are many techniques for brainstorming; whichever one you choose, this stage of paragraph development cannot be skipped. Building paragraphs can be like building a skyscraper:
Feel Free to contact us about your Quaries
Maild<EMAIL_ADDRESS>PhoneNO:12346567995


Animates the manoever.
Sintax
GraphicsClass.Animation(XOUT, TOUT, saveit)
Arguments
The following table describes the input arguments:
| XOUT | Solution array. Each column corresponds to the solution of each state variable of the vehicle. The columns must respect the following variable order: [XT YT PSI dPSI VT ALPHAT (PHI dPHI)] |
| TOUT | Column vector of time points. |
| saveit | Flag for saving the animation in a gif file. If savit = 0 the animation will not be saved. If savit = 1 a file Animacao.gif is generated. |
Description
Plots the sequence of frames of the vehicle manoever.
Sintax
GraphicsClass.Frame(XOUT, TOUT, saveit)
Arguments
The following table describes the input arguments:
| XOUT | Solution array. Each column corresponds to the solution of each state variable of the vehicle. The columns must respect the following variable order: [XT YT PSI dPSI VT ALPHAT (PHI dPHI)] |
| TOUT | Column vector of time points. |
| saveit | Flag for saving the trajectory image in a pdf file. If savit = 0 the image will not be saved. If savit = 1 a file Trajectory.pdf is generated. |
Description


A collection of media and articles relevant to the #resist movement in Louisville Kentucky.
Submit Event, Media, or Article!
Black Lives Matter - Louisville
Website: http://blackliveslouisville.org/Showing Up for Racial Justice
Website: https://www.facebook.com/SURJLouisville/


Add EmilyAndTylerSlider1.jpg
Part time nurse, full time dessert connoisseur
Part time software developer, full time gamer
Coming Soon!

The location is marked with a pin on the map below.
A public parking garage is located directly behind The Henry Clay with access from Chestnut Street.
There are also surface parking lots located directly across from The Henry Clay on Third and Chestnut Streets.


This is a sample page used for a lecture on Jekyll held at ZG Fronted meetup.
The lecture covers the following subjects:
To find out more visit the GitHub repo @ github.com/knee-cola/jekyll-meetup-lecture


Ferry with more than 1000 passengers ran aground off Stockholm
by Mikhail VoytenkoFerry PRINCESS ANASTASIA ran aground shortly after unmooring at Stockholm in Brevik area, at around 1710 UTC Nov 6. Ferry with more than 1000 passengers on board was bound for Helsinki Finland. Understood she is already refloated and taken back to terminal at Stockholm, she was in process of berthing as of 1940 UTC, assisted by tugs and escorted by rescue and CG boats. Blackout said to be the cause of grounding.
Passenger ro-ro ship PRINCESS ANASTASIA, IMO 8414582, GT 37583, built 1986, flag Italy, operator MOBY SPA.


Ancestor Martankus:
Tejakar Oroka! I am Hestui Martankus, Lord of the Grizzly Tribe who died during the war between Men on the Immortal Plateau a thousand years ago!
My descendent, heed your ancestor!
I have experienced a thousand years of pain watching the collapse of the kingdom and the disintegration of my race! The unending, unbearable sorrow of seeing my descendents lose the memory of their glorious past.
My offspring, present me with a gift that matches my dignity and power!
Give the heads of Tamlin Orcs


Equivalent to clicking the New command on the File menu. Creates a new Microsoft Excel workbook or opens a template.
Syntax
NEW(type_num, xy_series, add_logical)
NEW?(type_num, xy_series, add_logical)
Type_num specifies the type of workbook to create, as shown in the following table. Type_num is most often 5 or quoted text; other values are mainly for compatibility with Microsoft Excel version 4.0.
| Type_num | Workbook |
| Omitted | New workbook with a single worksheet of the same type as the active worksheet |
| 1 | New workbook with one worksheet |
| 2 | New workbook with one chart based on the current selection |
| 3 | New workbook with one macro sheet |
| 4 | New workbook with one international macro sheet |
| 5 | New workbook with 16 worksheets or based on the default workbook |
| 6 | New workbook with one Visual Basic module |
| 7 | New workbook with one dialog sheet |
| Quoted text | Template. |
Xy_series is a number from 0 to 3 that specifies how data is arranged in a chart.
| Xy_series | Result |
| 0 | Displays a dialog box if the selection is ambiguous. |
| 1 or omitted | The first row/column is the first data series. |
| 2 | The first row/column contains the category (x) axis labels. |
| 3 | The first row/column contains the x-values; the created chart is an xy (scatter) chart. |
Add_logical specifies whether or not to add the sheet type to the open workbook. If add_logical is TRUE, the sheet type is inserted before the current sheet; if FALSE or omitted, it is not inserted. This argument is for compatibility with Microsoft Excel version 4.0.
Add_logical is ignored if type_num is 5.
Remarks
You can also use NEW to create new sheets from templates that exist in the startup directory or folder, using for type_num the text that appears in the File New list box. To create new sheets from any template that is not in the start-up directory, use the OPEN function.
Related Functions
NEW.WINDOW Creates a new window for an existing worksheet or macro sheet
OPEN Opens a workbook
Return to index


| com.wideverse.headlesswifimanager.interfaces.AdvertisingCallback | |
| com.wideverse.headlesswifimanager.interfaces.DiscoveryCallback | |
| com.wideverse.headlesswifimanager.data.GenericPayload | |
| com.wideverse.headlesswifimanager.HeadlessWifiManager | |
| com.wideverse.headlesswifimanager.HeadlessWifiManagerConstants | |
| com.wideverse.headlesswifimanager.interfaces.NetworkCallback | |
| com.wideverse.headlesswifimanager.helper.ScanResultConverter | |
| com.wideverse.headlesswifimanager.data.WifiConnectionAck | |
| com.wideverse.headlesswifimanager.data.WifiCredentialsPayload | |
| com.wideverse.headlesswifimanager.helper.WifiHelper | |
| com.wideverse.headlesswifimanager.data.WifiScanResult |
Internal class to transfer data about Wifi networks You can expect a List after a successful scanning and pass a WifiScanResult with a valid password field to advertiser to connect on. |


Select a track :
Cro Magnon Man
|
The Separation
|
Lismore
|
Thin Ice
:
nothing
at
of
, which is
Play
Pause
Stop
volume :
Mute
Unmute
|<---------->|
Max


Statutory Compliance.
Our statutory compliance services ensure that you comply with all legislated requirements.
Our expertise will advise you on the most appropriate ways through which to conduct business, namely, a company, partnership, association, business group or business name. We also provide other additional services like Trust Account Management, Immigration Services and Capacity Building.
Services
Statutory compliance
Description
- Registering business with IPA/ ROC
- Preparing Annual Returns
- Apply for foreign certificate for overseas company
- Other requirements with IPA/ROC
Value Added
- Removes the complexities of registration
- Ensures compliance with PNG laws and regulations
Services
Trust account management
Description
- Set-up and maintenance of customised trust account
- Disbursements and reporting aligned to customised specifications
Value Added
- Confidence in trust account safety and disbursements
- Alignment to regulations
Services
Work- permit/ visa immigration
Description
- Preparation and lodgement for work permits and Visa immigration documents to the relevant GoPNG agencies.
Value Added
- Timely and efficient processes to enable your team to grow and support the business
Services
Capacity building
Description
- Strengthen your team by utilising reliable, experienced and value-adding TBAS team members into your day-to- day operations.
Value Added
- Flexible resourcing to suit your business needs.
- Specialised insights injected into your business at the right time.


Installation of Additional Modules
Rapid SCADA supports additional modules which extend the software functionality. This section contains a description of the common installation sequence that is typical for most modules.
Installation of Server Modules
The sequence of installing a new or updating an existing module of the Server application:
- Stop the Server service using the button, and close the Server graphical shell.
- Unzip the module installation package.
- Copy all the files from the SCADA folder of the module installation package to the Rapid SCADA installation directory, the default is C:\SCADA, with the hierarchy of directories retained.
- In case of using Windows 8 or higher, find C:\SCADA\ScadaServer\Mod\Mod*.dll, open the file properties and unblock the file.
- Run the Server graphical shell and go to the Modules page.
- Click the button, then use the file dialog to select the module library and apply the changes with the button.
- Start the Server service using the button.
- Perform the configuration of the module specified in the module documentation.
Installation of Communicator Drivers
The sequence of installing a new or updating an existing driver of the Communicator application:
- Stop the Communicator service using the button, and close the Communicator graphical shell.
- Unzip the driver installation package.
- Copy all the files from the SCADA folder of the driver installation package to the Rapid SCADA installation directory, the default is C:\SCADA, with the hierarchy of directories retained.
- In case of using Windows 8 or higher, find C:\SCADA\ScadaComm\KP\Kp*.dll, open the file properties and unblock the file.
- Run the Communicator graphical shell, then start the Communicator service using the button.
- The driver is ready to use.
Installation of Webstation Plugins
Additional modules for the Webstation application are called plugins. The installation sequence for a new plugin:
- Unzip the plugin installation package.
- Copy all the files from the SCADA folder of the plugin installation package to the Rapid SCADA installation directory, the default is C:\SCADA, with the hierarchy of directories retained.
- In case of using Windows 8 or higher, find C:\SCADA\ScadaWeb\bin\Plg*.dll, open the file properties and unblock the file.
- Login the web application as administrator and go to Main Menu > Plugins > Installed.
- Find the new plugin on the page and click the Activate link.
- Perform the configuration of the plugin specified in the plugin documentation.


Hi everybody,
I played a bit around with the really cool packetgen module while trying to send unixtime (seconds) in the same way like hour, minute and second is done. My code piece in packetgen_model.php is (at two places)
...
// special variable values
if ($variable->name=='hour') $variable->value = date('H');
if ($variable->name=='minute') $variable->value = date('i');
if ($variable->name=='second') $variable->value = date('s');
// (arwed) added ...
//$unixSeconds = time();
if ($variable->name=='unixtimeL') $variable->value = (date('U')) & 0x0000FFFF;
if ($variable->name=='unixtimeH') $variable->value = (date('U') >> 16) & 0x0000FFFF;
...
That works a bit so far, but ist sends _static_ values for unixtime (the value from when I opened the page) -- while the hour minute and second values are updating. I obviously missed something --- but don't know what. Could anybody, please, give me a hint?
Would be great. Thanks a lot in advance
arwed
Re: difficulties with packetgen module
From what I can tell Packetgen stores the contents of the packet in a database at the time of creation/editing. Thus the values would be static.
Have you added your code into the getrfm12packet function? I think you'll need to set the values to the current time at that point.
Re: difficulties with packetgen module
Hi mdbigg,
I added the code twice because I found the three lines with hour / minute / seconds in two places: in the function "get($userid)" _and_ in "function getrfm12packet($userid)".
But at least hour minute and second ar enot static data, because they are continuously updating. I've defined in packetgen to get 'hour', 'minute', 'second' (all as bytes), 'unixtimeL' and 'unixtimeH' (as int). What I receive in my sketch is
> Received 7 bytes from Node #16 ... : 21 51 3 221 91 208 82
and a little later
> Received 7 bytes from Node #16 ... : 21 53 5 221 91 208 82
So the first three _do_ update, the last four, my wanted values, do _not_. They only get new correct values when I refresh the packetgen webpage.
Ther must be something that I missed. But I could not find anything magic with the hour / minute /second values so far.
Re: difficulties with packetgen module
Can you post the whole of your updated packetgen_model.php for us to have a look at please?
Re: difficulties with packetgen module
yes, of course. I attached it; I hope that works.
On the Packetgen webpage i defined the following:
and -- as shown -- with each page refresh both, the hour / miunte /second and the unitime values are updating correctly.
Just two little other questions: Is there an easy way to log to rfm12piphp.log what was sent? I only see there
which seems to come from my 7 bytes message.
And how could I just stop sending packages from the packetgen module (probably like on the RaspberryPi page with interval set to 0)?
Thanks a lot for your help in advance!
Re: difficulties with packetgen module
I can't see why it wouldn't work.
Look up the packetgen section in raspberrypi_run.php. You should be able to add an echo to print out whatever the packet being broadcast is. You could also modify the if clause so it doesn't broadcast if $controlinterval==0. (I guess you'll also need to edit the packetgen view to give the option of setting the control interval to 0).
Is packetgen converting the unixtime to two separate bytes properly?
Re: difficulties with packetgen module
OK, I added an echo line as you suggested. I alredy tried this a while ago, but it did not work. Now I know: I had to restart the script after changing. ;-( Could I have tried already ...
Now I see this in the log:
which is hour,minute,second and the four byte values of the unixtime. And -- surprisingly: the values _are_ changing now! Even the received values! That's weird -- but really good. Obviously your thoughts helped my script ... I don't know.
But anyway, many thanks for your hints; I've learned new stuff. Now I'll try to set the controlinterval to 0.
Thanky you, mdbigg, and thanks to all the supporters on EmonCMS!
arwed
Re: difficulties with packetgen module
I'm guessing that re-starting the script resolved the problem. Unless this happens all your changes won't take effect!


Comments
1) See also |xui tatin's story, 2) This story is found in Book XVIII
Contributors
Date
May 1873
Categories
Keywords
|xui tatin (and the dog) , |xui tatin (his personal history) , personal history (|xui tatin and the dog) , dog (|xui tatin and the dog)
Story Pages
1712-1724


2019 Hyundai Venue, Elantra, Ioniq Electric recalled
An issue with the wheel nuts has forced 167 cars back to the dealer.
by Scott Collie- shares
Hyundai Australia has recalled the 2019 Venue, Elantra and Ioniq Electric over a problem with the wheel nuts.
According to the company, the affected cars might not have had their wheel nuts tightened correctly. If the nuts aren't tightened correctly, the wheels could come loose and fall off.
The Venue is the worst-hit, with 159 vehicles affected, while there are six Elantra and two Ioniq Electric models included in the campaign. A VIN list is attached here.
Hyundai will contact owners of the affected vehicles and advise them to organise a free fix for the problem. The original recall is attached here.
1
1
nextprevious
2019 Hyundai Venue, Elantra, Ioniq Electric recalled


Aoife Walsh too busy for Dancing With The Stars as she plans wedding
by Sandra MallonFormer Miss Ireland Aoife Walsh has said she’s too busy planning her wedding to do Dancing With The Stars.
Aoife was due to be a contestant on the RTE One show in January last year but was forced to pull out after she fractured her toe during rehearsals.
But Aoife said she can’t have another crack at the show this January, as she’s spending most of her time planning her wedding to her long-term boyfriend, Gary McSharry.
She said: “Well, it wouldn’t suit me this year now. I’m getting married in a couple of months so I’m really busy with that.
“Planning a wedding is really like a full-time job.
“My wedding is in Ireland so I have an awful lot happening over the next few months so I’m focusing on that at the moment.”
The 30-year-old was replaced by model Alannah Beirne, who was booted off the show after nine weeks.
But Aoife said she wasn’t jealous when Alannah took her place on the show.
“I was absolutely thrilled to be asked to go on it and I was in it at the start and part of the show.

“I couldn’t believe the unfortunate timing. When the show went on, there was a part of me that was really sad — but I was really happy for Alannah at the time for her to go and reach her full potential.
“I just knew if I went on, I wouldn’t reach my full potential and I wouldn’t have done myself any service.
“I made such good friends with all the pro dancers that season so I was able to still cheer on everyone,” she added.
Aoife was speaking yesterday as she helped launch Three’s Connected Restaurant.
The pop-up restaurant, which opens from December, will connect family and friends in Dublin and New York.


Learn All About the Cloud.
About.
Why do you need to know about clouds?
Well have you seen them before? There's clouds above you almost every day. If you look up in the sky you are very likely to see a cloud... but how is your data being stored there?!
Let us tell you how.
Data Isn't Stored In Real Clouds
After years of scienctific research, it has been deduced that data from computers are not stored in actual clouds, but rather that is what they call data centers. These data centers have information stored in them from computers in a remote location.
So, What Is a Real Cloud Anyways?
In meteorology, a cloud is an aerosol comprising a visible mass of liquid droplets or frozen crystals made of water or various chemicals. The droplets or particles are suspended in the atmosphere above the surface of a planetary body. On Earth clouds are formed by the saturation of air in the homosphere when air cools or gains water vapor.
Source: wikipedia.org
Is This Discovery Changing Life?
Now that most scintific evidence points to the fact that data isn't stored in the clouds you see in the sky, we can begin to determine what actuall is hidden in those clouds. Is it rainbows? Is it leprecaun gold? We have to find out in order to adavance our society.
Here Are Some Really Awesome Pictures of Nature
Clouds are something that definitely occur in some of these photos. You might notice that some of these places have more clouds than others. This is perfectly normal. Do not worry if in some cases, you don't even see clouds, because some days, there are no clouds in the sky. However, if you wait around long enough, than you'll probably see a cloud... though this could take several days.
A special shoutout needs to be given to deathtothestockphoto.com, since this is where these cool images below come from.


Key Storage Format¶
Objects are stored at rest in XML representation. The default directory for key storage is %LOCALAPPDATA%\ASP.NETDataProtection-Keys\.
The <key> element¶
Keys exist as top-level objects in the key repository. By convention keys have the filename key-{guid}.xml, where {guid} is the id of the key. Each such file contains a single key. The format of the file is as follows.
<?xml version="1.0" encoding="utf-8"?>
<key id="80732141-ec8f-4b80-af9c-c4d2d1ff8901" version="1">
<creationDate>2015-03-19T23:32:02.3949887Z</creationDate>
<activationDate>2015-03-19T23:32:02.3839429Z</activationDate>
<expirationDate>2015-06-17T23:32:02.3839429Z</expirationDate>
<descriptor deserializerType="{deserializerType}">
<descriptor>
<encryption algorithm="AES_256_CBC" />
<validation algorithm="HMACSHA256" />
<enc:encryptedSecret decryptorType="{decryptorType}" xmlns:enc="...">
<encryptedKey>
<!-- This key is encrypted with Windows DPAPI. -->
<value>AQAAANCM...8/zeP8lcwAg==</value>
</encryptedKey>
</enc:encryptedSecret>
</descriptor>
</descriptor>
</key>
The <key> element contains the following attributes and child elements:
- The key id. This value is treated as authoritative; the filename is simply a nicety for human readability.
- The version of the <key> element, currently fixed at 1.
- The key’s creation, activation, and expiration dates.
- A <descriptor> element, which contains information on the authenticated encryption implementation contained within this key.
In the above example, the key’s id is {80732141-ec8f-4b80-af9c-c4d2d1ff8901}, it was created and activated on March 19, 2015, and it has a lifetime of 90 days. (Occasionally the activation date might be slightly before the creation date as in this example. This is due to a nit in how the APIs work and is harmless in practice.)
The <descriptor> element¶
The outer <descriptor> element contains an attribute deserializerType, which is the assembly-qualified name of a type which implements IAuthenticatedEncryptorDescriptorDeserializer. This type is responsible for reading the inner <descriptor> element and for parsing the information contained within.
The particular format of the <descriptor> element depends on the authenticated encryptor implementation encapsulated by the key, and each deserializer type expects a slightly different format for this. In general, though, this element will contain algorithmic information (names, types, OIDs, or similar) and secret key material. In the above example, the descriptor specifies that this key wraps AES-256-CBC encryption + HMACSHA256 validation.
The <encryptedSecret> element¶
An <encryptedSecret> element which contains the encrypted form of the secret key material may be present if encryption of secrets at rest is enabled. The attribute decryptorType will be the assembly-qualified name of a type which implements IXmlDecryptor. This type is responsible for reading the inner <encryptedKey> element and decrypting it to recover the original plaintext.
As with <descriptor>, the particular format of the <encryptedSecret> element depends on the at-rest encryption mechanism in use. In the above example, the master key is encrypted using Windows DPAPI per the comment.
The <revocation> element¶
Revocations exist as top-level objects in the key repository. By convention revocations have the filename revocation-{timestamp}.xml (for revoking all keys before a specific date) or revocation-{guid}.xml (for revoking a specific key). Each file contains a single <revocation> element.
For revocations of individual keys, the file contents will be as below.
<?xml version="1.0" encoding="utf-8"?>
<revocation version="1">
<revocationDate>2015-03-20T22:45:30.2616742Z</revocationDate>
<key id="eb4fc299-8808-409d-8a34-23fc83d026c9" />
<reason>human-readable reason</reason>
</revocation>
In this case, only the specified key is revoked. If the key id is “*”, however, as in the below example, all keys whose creation date is prior to the specified revocation date are revoked.
<?xml version="1.0" encoding="utf-8"?>
<revocation version="1">
<revocationDate>2015-03-20T15:45:45.7366491-07:00</revocationDate>
<!-- All keys created before the revocation date are revoked. -->
<key id="*" />
<reason>human-readable reason</reason>
</revocation>
The <reason> element is never read by the system. It is simply a convenient place to store a human-readable reason for revocation.


A Day in the Life of a Northwest Kid
The northwest is a place that values the whole "work hard play hard" mantra. Of course you've gotta make a living, but you can't let it stop you from doing what you love. The northwest is home to thousands of phenomenal hiking trails and an excellent place for the outdoor enthusiast.
Not to mention, when you're hiking, you get excellent views of Mt. Rainier.
And after you're done with a hike, you can go take a dip in the puget sound.
At the end of the day, you can go home to one of the most beautiful cities in the country and enjoy a good craft beer.


In HTML 4.01, the tag defines a long quotation. In HTML5, the tag specifies a section that is quoted from another source.


[gecode-users] Float overflow exceptions with 'linear' in 6.0.1
Konvicka Filip
Filip.Konvicka at logis.cz
Thu Aug 30 21:09:46 CEST 2018
Hi Christian,
Thanks. I'll see what I can do. I think I understand the intention.... I guess my expectation was that the propagators do the necessary domain pruning themselves (like they do with integers), and I guess that this is not being done as there could be multiple ways of eliminating the overflow risk, so Gecode would in fact influence the results in some "random" way.
My fear is that unless I get to understand in detail what checks are being made by each constraint that I post, I'll run the risk of a runtime error, or that I'll unnecessarily reduce the solution space.
In my scenario, I have several arithmetic expressions (equations or the like) provided by the end user as input, and after parsing this into an AST I'm translating these to Gecode constraints. The intermediates in the AST are "fresh" (unconstrained) variables. Hopefully I can do some domain analysis upfront.... but it's still surprising to me, I would guess that e.g. the minizinc interface would also be impacted...
Cheers,
Filip
From: Christian Schulte [mailto:cschulte at kth.se]
Sent: Tuesday, August 28, 2018 4:56 PM
To: Konvicka Filip; 'users at gecode.org'
Subject: RE: Float overflow exceptions with 'linear' in 6.0.1
Hi,
This is not a bug: it is really a restriction compared to Gecode 5. You will have to do some thinking on the initial variable domains.
The implementation in Gecode 5 _was_ in fact broken: the overflow might not have occurred but the new checks make sure that there will never be an overflow.
Cheers
Christian
--
Christian Schulte, https://chschulte.github.io/
Professor of Computer Science
Software and Computer Systems
School of Electrical Engineering and Computer Science
KTH Royal Institute of Technology, Sweden
From: users-bounces at gecode.org <users-bounces at gecode.org> On Behalf Of Konvicka Filip
Sent: 24 August 2018 09:48
To: 'users at gecode.org' <users at gecode.org>
Subject: [gecode-users] Float overflow exceptions with 'linear' in 6.0.1
Hi,
I'm in process of upgrading our code to Gecode 6.0.1 (which looks great by the way!)
I found some cases where code that used to run fine with Gecode 5 now throws exceptions. The following is a simple example that demonstrates this. I was able to work around to defaulting to (Gecode::Float::Limits::max/4) as the default max bound of float variables, but I think it's still probably a bug.
Thanks,
Filip
#include <gecode/float.hh>
#include <iostream>
using namespace Gecode;
int main() {
struct MySpace : public Space {
Space* copy() { return nullptr; }
};
MySpace s;
try {
FloatVarArgs args(2);
args[0] = FloatVar(s, 0., Gecode::Float::Limits::max);
args[1] = FloatVar(s, 0., Gecode::Float::Limits::max);
FloatVar result(s, 0., Gecode::Float::Limits::max);
linear(s, args, FRT_EQ, result);
}
catch (std::exception& e) {
std::cerr << e.what() << "\n";
}
try {
FloatVarArgs args(2);
args[0] = FloatVar(s, 1., 1.);
args[1] = FloatVar(s, 0., Gecode::Float::Limits::max);
FloatVar result(s, 0., Gecode::Float::Limits::max);
linear(s, args, FRT_EQ, result);
}
catch (std::exception& e) {
std::cerr << e.what() << "\n";
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20180830/33e74989/attachment-0001.html>
More information about the users
mailing list


int
Sl_Init
( Tcl_Interp *
interp
,
Main_Manager_t *
manager
)
Initializes the var package.
Side Effects
The command, show_types is registered.
See Also
Var_Reinit
Var_End
Last updated on 1031104 18h39


Toggle navigation
HOME
home
about us
services
menu
contact
G.E.E Freeze
since 2021
our services
free delivery
FREE DELIVERY with the purchase of a party pack.
Best gift
Supprise someone with a G.E.E Freeze gift card or raspa party pack!
Staff
G.E.E Freeze staff is alwayays theres to help and provide the best experince possible!
Slogan
Help us cool your summers!
replay
retweet
favorite
Taste Testers


A proposal for the distribution of secrets (passwords, keys, etc) to the Kubelet and to containers inside Kubernetes using a custom volume type. See the secrets example for more information.
Secrets are needed in containers to access internal resources like the Kubernetes master or external resources such as git repositories, databases, etc. Users may also want behaviors in the kubelet that depend on secret data (credentials for image pull from a docker registry) associated with pods.
Goals of this design:
.kubeconfig
file, so that I can securely reach the
master.dockercfg
file, so that containers can push imagesServiceAccount
that consumes a
secret and have the kubelet implement some reserved behaviors based on the types
of secrets the service account consumes:
Many configuration files contain secrets intermixed with other configuration information. For example, a user’s application may contain a properties file than contains database credentials, SaaS API tokens, etc. Users should be able to consume configuration artifacts in their containers and be able to control the path on the container’s filesystems where the artifact will be presented.
Most pieces of information about how to use a service are secrets. For example, a service that provides a MySQL database needs to provide the username, password, and database name to consumers so that they can authenticate and use the correct database. Containers in pods consuming the MySQL service would also consume the secrets associated with the MySQL service.
Service Accounts are proposed as a mechanism to decouple
capabilities and security contexts from individual human users. A
ServiceAccount
contains references to some number of secrets. A Pod
can
specify that it is associated with a ServiceAccount
. Secrets should have a
Type
field to allow the Kubelet and other system components to take action
based on the secret’s type.
As an example, the service account proposal discusses service accounts consuming secrets which contain Kubernetes auth tokens. When a Kubelet starts a pod associated with a service account which consumes this type of secret, the Kubelet may take a number of actions:
.kubernetes_auth
file in a well-known location in
the container’s file systemkube-proxy
to decorate HTTP requests from that pod
to the kubernetes-master
service with the auth token, e. g. by adding a header
to the request (see the LOAS Daemon proposal)Another example use case is where a pod is associated with a secret containing docker registry credentials. The Kubelet could use these credentials for the docker pull to retrieve the image.
Rotation is considered a good practice for many types of secret data. It should be possible to express that a secret has an expiry date; this would make it possible to implement a system component that could regenerate expired secrets. As an example, consider a component that rotates expired secrets. The rotator could periodically regenerate the values for expired secrets of common types and update their expiry dates.
Some images will expect to receive configuration items as environment variables instead of files. We should consider what the best way to allow this is; there are a few different options:
Force the user to adapt files into environment variables. Users can store secrets that need to be presented as environment variables in a format that is easy to consume from a shell:
$ cat /etc/secrets/my-secret.txt
export MY_SECRET_ENV=MY_SECRET_VALUE
The user could source
the file at /etc/secrets/my-secret
prior to
executing the command for the image either inline in the command or in an init
script.
Give secrets an attribute that allows users to express the intent that the platform should generate the above syntax in the file used to present a secret. The user could consume these files in the same manner as the above option.
Give secrets attributes that allow the user to express that the secret should be presented to the container as an environment variable. The container’s environment would contain the desired values and the software in the container could use them without accommodation the command or setup script.
For our initial work, we will treat all secrets as files to narrow the problem space. There will be a future proposal that handles exposing secrets as environment variables.
There are two fundamentally different use-cases for access to secrets:
In use cases for CRUD operations, the user experience for secrets should be no different than for other API resources.
The data store backing the REST API should be pluggable because different cluster operators will have different preferences for the central store of secret data. Some possibilities for storage:
There should be a size limit for secrets in order to:
The size limit should satisfy the following conditions:
To begin discussion, we propose an initial value for this size limit of 1MB.
Defining a policy for limitations on how a secret may be referenced by another API resource and how constraints should be applied throughout the cluster is tricky due to the number of variables involved:
For now, we will not implement validations around these limits. Cluster operators will decide how much node storage is allocated to secrets. It will be the operator’s responsibility to ensure that the allocated storage is sufficient for the workload scheduled onto a node.
For now, kubelets will only attach secrets to api-sourced pods, and not file- or http-sourced ones. Doing so would: - confuse the secrets admission controller in the case of mirror pods. - create an apiserver-liveness dependency – avoiding this dependency is a main reason to use non-api-source pods.
The use-case where the kubelet reads secrets has several additional requirements:
The Kubelet should only be allowed to read secrets which are consumed by pods scheduled onto that Kubelet’s node and their associated service accounts. Authorization of the Kubelet to read this data would be delegated to an authorization plugin and associated policy rule.
Consideration must be given to whether secret data should be allowed to be at rest on the node:
For the sake of limiting complexity, we propose that initially secret data should not be allowed to be at rest on a node; secret data should be stored on a node-level tmpfs filesystem. This filesystem can be subdivided into directories for use by the kubelet and by the volume plugin.
The Kubelet will be responsible for creating the per-node tmpfs file system for secret storage. It is hard to make a prescriptive declaration about how much storage is appropriate to reserve for secrets because different installations will vary widely in available resources, desired pod to node density, overcommit policy, and other operation dimensions. That being the case, we propose for simplicity that the amount of secret storage be controlled by a new parameter to the kubelet with a default value of 64MB. It is the cluster operator’s responsibility to handle choosing the right storage size for their installation and configuring their Kubelets correctly.
Configuring each Kubelet is not the ideal story for operator experience; it is more intuitive that the cluster-wide storage size be readable from a central configuration store like the one proposed in #1553. When such a store exists, the Kubelet could be modified to read this configuration item from the store.
When the Kubelet is modified to advertise node resources (as proposed in #4441), the capacity calculation for available memory should factor in the potential size of the node-level tmpfs in order to avoid memory overcommit on the node.
Every pod will have a security context. Secret data on the node should be isolated according to the security context of the container. The Kubelet volume plugin API will be changed so that a volume plugin receives the security context of a volume along with the volume spec. This will allow volume plugins to implement setting the security context of volumes they manage.
Several proposals / upstream patches are notable as background for this proposal:
We propose a new Secret
resource which is mounted into containers with a new
volume type. Secret volumes will be handled by a volume plugin that does the
actual work of fetching the secret and storing it. Secrets contain multiple
pieces of data that are presented as different files within the secret volume
(example: SSH key pair).
In order to remove the burden from the end user in specifying every file that a
secret consists of, it should be possible to mount all files provided by a
secret with a single VolumeMount
entry in the container specification.
A new resource for secrets will be added to the API:
type Secret struct {
TypeMeta
ObjectMeta
// Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN.
// The serialized form of the secret data is a base64 encoded string,
// representing the arbitrary (possibly non-string) data value here.
Data map[string][]byte `json:"data,omitempty"`
// Used to facilitate programmatic handling of secret data.
Type SecretType `json:"type,omitempty"`
}
type SecretType string
const (
SecretTypeOpaque SecretType = "Opaque" // Opaque (arbitrary data; default)
SecretTypeServiceAccountToken SecretType = "kubernetes.io/service-account-token" // Kubernetes auth token
SecretTypeDockercfg SecretType = "kubernetes.io/dockercfg" // Docker registry auth
SecretTypeDockerConfigJson SecretType = "kubernetes.io/dockerconfigjson" // Latest Docker registry auth
// FUTURE: other type values
)
const MaxSecretSize = 1 * 1024 * 1024
A Secret can declare a type in order to provide type information to system
components that work with secrets. The default type is opaque
, which
represents arbitrary user-owned data.
Secrets are validated against MaxSecretSize
. The keys in the Data
field must
be valid DNS subdomains.
A new REST API and registry interface will be added to accompany the Secret
resource. The default implementation of the registry will store Secret
information in etcd. Future registry implementations could store the TypeMeta
and ObjectMeta
fields in etcd and store the secret data in another data store
entirely, or store the whole object in another data store.
Initially there will be no validations for the number of secrets a pod references, or the number of secrets that can be associated with a service account. These may be added in the future as the finer points of secrets and resource allocation are fleshed out.
A new SecretSource
type of volume source will be added to the VolumeSource
struct in the API:
type VolumeSource struct {
// Other fields omitted
// SecretSource represents a secret that should be presented in a volume
SecretSource *SecretSource `json:"secret"`
}
type SecretSource struct {
Target ObjectReference
}
Secret volume sources are validated to ensure that the specified object
reference actually points to an object of type Secret
.
In the future, the SecretSource
will be extended to allow:
A new Kubelet volume plugin will be added to handle volumes with a secret
source. This plugin will require access to the API server to retrieve secret
data and therefore the volume Host
interface will have to change to expose a
client interface:
type Host interface {
// Other methods omitted
// GetKubeClient returns a client interface
GetKubeClient() client.Interface
}
The secret volume plugin will be responsible for:
volume.Mounter
implementation from NewMounter
that:
SecurityContext
volume.Unmounter
implementation from NewUnmounter
that
cleans the volume from the container’s filesystemThe Kubelet must be modified to accept a new parameter for the secret storage size and to create a tmpfs file system of that size to store secret data. Rough accounting of specific changes:
secretStorageSize
; units
are megabytesNewMainKubelet
should accept a value for secret storage sizesetupDataDirs
method should be changed to create the secret
storageFor use-cases where the Kubelet’s behavior is affected by the secrets associated
with a pod’s ServiceAccount
, the Kubelet will need to be changed. For example,
if secrets of type docker-reg-auth
affect how the pod’s images are pulled, the
Kubelet will need to be changed to accommodate this. Subsequent proposals can
address this on a type-by-type basis.
For clarity, let’s examine some detailed examples of some common use-cases in
terms of the suggested changes. All of these examples are assumed to be created
in a namespace called example
.
To create a pod that uses an ssh key stored as a secret, we first need to create a secret:
{
"kind": "Secret",
"apiVersion": "v1",
"metadata": {
"name": "ssh-key-secret"
},
"data": {
"id-rsa": "dmFsdWUtMg0KDQo=",
"id-rsa.pub": "dmFsdWUtMQ0K"
}
}
Note: The serialized JSON and YAML values of secret data are encoded as base64 strings. Newlines are not valid within these strings and must be omitted.
Now we can create a pod which references the secret with the ssh key and consumes it in a volume:
{
"kind": "Pod",
"apiVersion": "v1",
"metadata": {
"name": "secret-test-pod",
"labels": {
"name": "secret-test"
}
},
"spec": {
"volumes": [
{
"name": "secret-volume",
"secret": {
"secretName": "ssh-key-secret"
}
}
],
"containers": [
{
"name": "ssh-test-container",
"image": "mySshImage",
"volumeMounts": [
{
"name": "secret-volume",
"readOnly": true,
"mountPath": "/etc/secret-volume"
}
]
}
]
}
}
When the container’s command runs, the pieces of the key will be available in:
/etc/secret-volume/id-rsa.pub
/etc/secret-volume/id-rsa
The container is then free to use the secret data to establish an ssh connection.
This example illustrates a pod which consumes a secret containing prod credentials and another pod which consumes a secret with test environment credentials.
The secrets:
{
"apiVersion": "v1",
"kind": "List",
"items":
[{
"kind": "Secret",
"apiVersion": "v1",
"metadata": {
"name": "prod-db-secret"
},
"data": {
"password": "dmFsdWUtMg0KDQo=",
"username": "dmFsdWUtMQ0K"
}
},
{
"kind": "Secret",
"apiVersion": "v1",
"metadata": {
"name": "test-db-secret"
},
"data": {
"password": "dmFsdWUtMg0KDQo=",
"username": "dmFsdWUtMQ0K"
}
}]
}
The pods:
{
"apiVersion": "v1",
"kind": "List",
"items":
[{
"kind": "Pod",
"apiVersion": "v1",
"metadata": {
"name": "prod-db-client-pod",
"labels": {
"name": "prod-db-client"
}
},
"spec": {
"volumes": [
{
"name": "secret-volume",
"secret": {
"secretName": "prod-db-secret"
}
}
],
"containers": [
{
"name": "db-client-container",
"image": "myClientImage",
"volumeMounts": [
{
"name": "secret-volume",
"readOnly": true,
"mountPath": "/etc/secret-volume"
}
]
}
]
}
},
{
"kind": "Pod",
"apiVersion": "v1",
"metadata": {
"name": "test-db-client-pod",
"labels": {
"name": "test-db-client"
}
},
"spec": {
"volumes": [
{
"name": "secret-volume",
"secret": {
"secretName": "test-db-secret"
}
}
],
"containers": [
{
"name": "db-client-container",
"image": "myClientImage",
"volumeMounts": [
{
"name": "secret-volume",
"readOnly": true,
"mountPath": "/etc/secret-volume"
}
]
}
]
}
}]
}
The specs for the two pods differ only in the value of the object referred to by the secret volume source. Both containers will have the following files present on their filesystems:
/etc/secret-volume/username
/etc/secret-volume/password


open import Agda.Primitive using (Level; _⊔_; lsuc; lzero)
open import Types.product
open import Types.relations
open import Types.equality
open import Category.category
open import Category.morphisms
module Category.functors where
Functors can be thought of as structure preserving maps or functions that operate on one category to produce another category, maintaining the categorical structure of the first category in the second category. Functors operate on both objects and morphisms of the first category.
Formally, let ℂ and 𝔻 be two categories, then a functor 𝔽 between them:
Thus, functors preserve composition and identity morphisms of the source category in the target category.
Covariant functors are the vanilla functors we discussed in the previous section.
Contravariant functors are similar to covariant functors except that the functor reverses the direction of arrows in the target category.
Formally, let ℂ and 𝔻 be two categories, then a contravariant functor 𝔽 between them:
Contravariant functors thus produce opposite categories. They can also be thought of as covariant functors from \(ℂ^{op} → 𝔻\) or as \(ℂ → 𝔻^{op}\) depending upon which one is convenient for working with. Contravariant functors play a very important role in various fields of mathematics, the most mentionable ones being presheaves and sheaves in algebraic topology are contravariant functors with some extra structure.
Every functor \(𝔽 : ℂ → 𝔻\) induces the opposite functor \(𝔽^{op} : ℂ^{op} → 𝔻^{op}\) such that \((𝔽^{op})^{op} = 𝔽\).
For a category ℂ, the set of all morphisms in ℂ is called the Hom-set. If we take any object A ∈ ℂ, then the functor that maps any object X ∈ ℂ to the set of morphisms from A to X, i.e. Hom(A, X), is called the covariant Hom-functor. Similarly, the functor that maps any object X in ℂ to the set of morphisms from X to A, i.e. Hom(X, A), is called a contravariant Hom-functor.
For a category ℂ and a fixed object A ∈ ℂ, a covariant Hom-functor \(Hom(A, −) : A → Set\):
For a category ℂ and a fixed object A ∈ ℂ, a contravariant Hom-functor \(Hom(−, B) : B → Set\):
We define categories of the form 𝔸×𝔹 which is a cartesian product of two categories 𝔸 and 𝔹 as Cartesian categories. Given two functors \(𝔽 : 𝔸 → 𝕏\) and \(𝔾 : 𝔹 → 𝕐\), we can define a functor on a product category 𝔸×𝔹 as the cartesian product of the individual functors 𝔽×𝔾. Such a functor is called a bifunctor. We can extend this notion to multifunctors.
Endofunctors are functors that have the same source and target categories: \(𝔽 : ℂ → ℂ\).
Functors where the source category has more structure that the functor “forgets” while mapping it to the target category with lesser structure is called a forgetful functor. A functor from the category of Groups to the category of Sets which maps a group to its underlying set and a group homomorphism to its underlying function of sets is an example of a forgetful functor.
A free functor is the dual of the forgetful functor − instead of forgetting structure, it adds structure to its source category to get the target category. This addition of structure is done by using the source category as generators for generating free target categories. The free functor from Sets to Groups sends every set X to the free group generated by X and functions between sets to homomorphisms between free groups.
A representable functor sends a category to the category of sets. Representable functors represent an arbitrary category in the language of sets for studying the category in the more familiar language of sets.
Formally, a functor \(𝔽 : ℂ → Set\) is a representable functor if it is naturally isomorphic to the hom-functor \(Hom_{ℂ}(A, −)\), A ∈ ℂ.
Dually, a contravariant functor \(𝔾 : ℂ^{op} → Set\) is representable if it is naturally isomorphic to the contravariant hom-functor \(Hom_{ℂ}(−, A), A ∈ ℂ\).
Though we have given a choppy definition of representable functors here without defining what “natural isomorphism” is, we will look deeper as they are one of the central concepts for building further structures of category theory.


Sunny 'Truman Show' has a heart of darkness by Wallace Baine Film writer Santa Cruz Sentinel
Peter Weir's dazzling daydream `The Truman Show' has been tabbed as this year's `Forrest Gump,' but a more worthy comparison might be Frank Capra's `Mr. Smith Goes to Washington.' Like that 1939 classic starring James Stewart in the title role, `Truman' is about a guileless Everyman who gradually confronts the vast, corrupt forces of cynicism that surround him. In Capra's world, the setting was the vulgar world of capital politics. In Weir's, it's much more ominous and to-the-point in our corporatized, media-poisoned times. This time, Mr. Smith goes to cable. Television has never looked so cancerous as it does in `The Truman Show,' a surreal and immensely likable fable that straddles the line between comedy and drama. Starring the elastic superstar Jim Carrey, `Truman' is set in a postcard-perfect little seacoast town called Seahaven, as clean and orderly as a Hollywood back-lot. In fact, it is a back-lot, an enormous, climate-controlled Xanadu of a TV studio where everyone is an actor playing a role and 5,000 hidden cameras broadcast the goings-on 24 hours a day to a worldwide TV audience that dwarves `Seinfeld's' ratings. The only guy not working from a script is the show's star, Truman Burbank (Carrey), an amiable doofus who's been on candid camera since birth. He has no idea that his every waking (and sleeping) moment is providing the world with a compelling fix of voyeurism. Watching on from a studio hidden behind Seahaven's fake moon is the show's creator (or Creator, if you prefer), a quietly sinister character named Christof (Ed Harris) who stage-manages every moment of Truman's life from spoon-feeding lines to the actors who play his intimates to staging elaborate hoaxes to keep Truman from learning the truth. One of the many delights in this smart fantasy is Seahaven itself, a kind of Stepford town whose ersatz charms have shaped Truman into what he is, a decent fellow whose whole value system has been shaped by the mock sincerity of a '50s sitcom. Especially creepy is Truman's wife Meryl (Laura Linney), a dimpled blonde whose sing-song June-Cleaver-on-Prozac schtick is put to use on nakedly commercial product placements or to dissuade Truman from thinking too hard about his circumstances. Weir, the Australian director whose lucid, penetrating pictures include `Witness' and `Dead Poets Society,' makes several interesting choices. We don't go behind the scenes of `The Truman Show' until about half way through, allowing Weir to guide us through the unreality of Truman's world as he lives it. One of the first signs that all is not well in Truman's world is when a stage light drops out of the clear blue sky right at Truman's feet. Instead of bringing us backstage where a roomful of technicians are cursing their luck, Weir keeps us with Truman as he gets in his car and hears an outlandish news report on the radio that a satellite is dropping parts from the sky. Soon, the enormity of the con becomes apparent when we are lifted into the `real world,' (whatever that is) to learn just how big Truman's life is to couch potatoes all over the world. Ed Harris as the lordly Christof smolders with a kind of divine self-importance. He tells us that Truman is the first child legally adopted by a corporation, that there had been a few close calls with outsiders breaking into the set to tell Truman the truth. What's going on here? Clearly, the response to this film (and I think it will be a tremendous one) will have a lot to do with a growing unease about corporate media and it's increasing lack of respect for the dignity of privacy. Ultimately, `The Truman Show' is a film about paranoia, justifiable paranoia. The public sphere is filled with surveillance cameras these days, marketing is all about gathering personal information and the courts have not shown much in the way of defending the so-called `right to privacy.' Post-O.J., post-Diana, a scenario like `The Truman Show' becomes a more and more vivid reminder that media realities, however true-to-life, are contrived realities and our thirst for vicarious thrills trumps our respect for other's dignity. On another level, `The Truman Show' isn't about the mass media at all, but rather a media-drenched take on mysticism. When Christof's says, in explaining Truman's 30-year cluelessness about the forces shaping his life, that `we accept the reality we are presented with,' he's talking about you and me as well as poor oblivious Truman. `The Truman Show' will give both the sane and questionably sane reason to ponder the significance of coincidence and fate. But, as if to remind us of our complicity in the sad life of Truman Burbank, Peter Weir brings it all back to the curse of television with a devastating final shot. If all the world's a stage, there's always another play going on somewhere.
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


@include('includes.header') @include('includes.sidebar') @yield('main_content') @include('includes.footer')


As mentioned earlier in this blog, I am building a rss program together with http://datafreakz.blogspot.com
Right now we have about 100000 feeds from this feeds I had before the weekend about 5000 that failed. Now most of these feeds were valid rss although my google sidebar doesn’t parse a lot of them either.
Then I’ve noticed that lots of people never took the time to read the specifications and dump whatever they like in an rss feed.
Furthermore there are a lot of people including w3c and ms that put stylesheets in their xml. Up until last week (because I had a parser that seemed to parse a lot of it already), I was one of these people that thought that just using the System.Xml.XmlReader would be enough and that I would get everything on the first pass through my xml.
Now after the weekend I’ve figured out that it takes 3 passes, that is 3 different ways to get the xml in my program to parse almost everything. The next problem that shows up are feeds that do exist, but their hosts are pretty slow in resolving the domains etc.. so I will be needing some retry mechanism. The idea behind our system is that we want to be able to parse every valid feed from the internet.
I’ve got the different encodings sorted now.
One of the feeds that bounces the first time :
http://presscenter.org/repository/rss/nl/Ext_102110_5.xml
And this one doesn’t want to parse yet :
http://www.musicalfan.be/rssfeed.xml
probably because of its description field in a few posts. but I do read feeds with html in them that is what I find so strange.. I don’t know why this one doesn’t want to parse.. for now. ;-)
Always I will appreciate ideas…. I can’t show you my code for my parsers but it is based on the xml reader class, too which you pass an encoded textreader. at least the first try parser. I parse more feeds than Rss.NET and I parse more than rssbandit or rssfeeder.net But I want to be able to say that I parse about 99,99% of the feeds out there.
I don’t want to use serialisation because of the performance overhead.. If you need to parse 100 000 - 300 000 feeds every bit counts ;) And once we open up for the general public it will be even more feeds.
When everything will be finished online.. probably I will be providing a vs2k5 add in and outlook add in.


Micron relationship with Huawei 'very good', chief executive says
REUTERS: American memory chipmaker Micron's relationship with China's tech giant Huawei 'continues to be very good', its chief executive, Sanjay Mehrotra, said on Thursday.
He was speaking to broadcaster CNN on the sidelines of the Bloomberg New Economy Forum in Beijing.
(Reporting by Yawen Chen, Brenda Goh and Leng Cheng; Writing by Beijing Monitoring Desk; Editing by Clarence Fernandez)