|
KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Class to compute parabolic inlet profile. More...
Public Member Functions | |
| def | __init__ (self, model, settings) |
| def | ExecuteInitialize (self) |
| def | ExecuteBeforeSolutionLoop (self) |
| def | ExecuteInitializeSolutionStep (self) |
| def | ExecuteFinalizeSolutionStep (self) |
Static Public Member Functions | |
| def | GetDefaultParameters () |
Class to compute parabolic inlet profile.
| def apply_parabolic_inlet_process.ApplyParabolicInletProcess.__init__ | ( | self, | |
| model, | |||
| settings | |||
| ) |
| def apply_parabolic_inlet_process.ApplyParabolicInletProcess.ExecuteBeforeSolutionLoop | ( | self | ) |
| def apply_parabolic_inlet_process.ApplyParabolicInletProcess.ExecuteFinalizeSolutionStep | ( | self | ) |
| def apply_parabolic_inlet_process.ApplyParabolicInletProcess.ExecuteInitialize | ( | self | ) |
| def apply_parabolic_inlet_process.ApplyParabolicInletProcess.ExecuteInitializeSolutionStep | ( | self | ) |
|
static |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.function_string |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.inlet_area |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.interval |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.max_value |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.max_value_function |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.max_value_is_function |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.max_value_is_numeric |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.max_value_is_table |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.model |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.settings |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.step_is_active |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.table |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.value_is_average |
| apply_parabolic_inlet_process.ApplyParabolicInletProcess.value_is_flow_rate |


@LaravelLiveDelhi
Please wait...
Amritanshu Kumar (@amrtnshu) Spoke on Laravel with Vue and Bootstrap.
Manpreet Rathore (@ManpreetRathor2) Demonstrated Implementing task scheduling in Laravel.
Lalit Vijay (@lalitvijay) from LaravelLive India demystified writing APIs on his talk "Build APIs for Humans".
Ankit jain (@ankitjain28may) took applaudable hands-on and shown "Implementing Laravel Queue".
Sarthak Aggrawal (@Sarthaksavvy) from Bitfumes had an amazing session on "Laravel Websockets with Vue" accompanied by a hands on session.
Dheeraj Jha (@thedijje) from SeekGeeks gave an awesome talk on "Using HTTP Headers Effectively".
Inspiring session on "Laravel at Scale" by Nishanth KD (@nishanth_kd) from ColoredCow
Abhishek Jain (@jazeabby) from SeekGeeks enlighted everyone with "PWA & its Scope" in modern world


Do you want to contribute to the successful business operations that make us one of the world’s most trusted media organizations? We offer 10-12 week internships
EXPERIENCES
Being challenged with a high-profile business challenge
Developing a recommendation to present to Executive leadership
Gaining first-hand experience in the media industry
Starting a career with a leader in media
ELIGIBILITY
The Washington Post offers 12-week paid internships for reporters on the Local, Financial, Sports, Style and Editorial desks, as well as internships for Visual Journalists, Multiplatform and Interactivity Producers and Web Designers.
DEADLINE
Our recruiting process begins in November and runs through January with resumes due by the end of the year. However, please check with your Career Services Department for resume deadlines, as they differ for each school.


| Interface | Description |
|---|---|
| CheckedActionFactory |
Manages the CheckedAction instances on a per transaction basis.
|
| ExceptionDeferrer |
In most cases resources defer exceptions and return an arjuna specific error code.
|
| HeuristicInformation | Deprecated
as of 5.2.2.Final In a subsequent release we will be providing this functionality via JMX MBeans
|
| OnePhaseResource | |
| Reapable | |
| SynchronizationRecord | |
| TxStatsMBean |
MBean interface for monitoring transaction statistics.
|
| Class | Description |
|---|---|
| AbstractRecord |
Abstract Record Class
This class provides an abstract template that defines the interface that the
atomic action system uses to notify objects that various state transitions
have occurred as the 2PC protocol executes.
|
| ActionHierarchy |
Class that represents the transaction hierarchy.
|
| ActionManager | |
| ActionStatus |
The various state changes that a transaction can go through.
|
| ActionType |
The two types of transactions, nested, and top-level.
|
| AddOutcome |
The possible outcomes when trying to add an AbstractRecord as
a participant within a transaction.
|
| AsyncAfterSynchronization | |
| AsyncBeforeSynchronization | |
| BasicAction |
BasicAction does most of the work of an atomic action, but does not manage
thread scoping.
|
| CheckedAction |
If an action attempts to terminate with threads still active we call an
instance of this class to determine what to do.
|
| HeuristicNotification | |
| RecordList |
This class manages instances of the classes derived from AbstractRecord in
the form of an ordered doubly-linked list.
|
| RecordListIterator |
A basic iterator for RecordList instances.
|
| RecordType |
The following enumerated type defines the types of record that are derived
from AbstractRecord.
|
| TransactionReaper |
Class to record transactions with non-zero timeout values, and class to
implement a transaction reaper thread which terminates these transactions
once their timeout elapses.
|
| TwoPhaseCommitThreadPool | |
| TwoPhaseCoordinator |
Adds support for synchronizations to BasicAction.
|
| TwoPhaseOutcome |
The outcomes which can be generated when a transaction
attempts to prepare/commit/rollback.
|
| TxControl |
Transaction configuration object.
|
| TxControl.Shutdown | |
| TxStats |
This class is used to maintain statistics on transactions that have been
created.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.


{{current_cluster}} >
{% trans 'Discover Servers' %}
{% endblock %}
{% block operate_region %}
{% trans "IP" %}
{% trans "User name" %}
{% trans "Status" %}
{% trans "Actions" %}
{% trans "1. binding network port: host network interface binding already installed system, advance manually on the host network interface binding." %}
{% trans "2.lv_mysql and lv_glance: If you have already installed the operating system install tecs control node, the user must manually create two logical volumes, size set by the user,/dev/mapper/vg_data-lv_glance and/dev/mapper/vg_db-lv_db." %}


By default, Squid sends DNS queries to the name servers
listed in the /etc/resolv.conf file. If you want
Squid to use a different set of name servers, you can specify them
with this directive. Of course, you can also just change your
resolv.conf file. |
Syntax
|
dns_nameservers ip-address ...
| |
Default
|
No default
| |
Example
|
dns_nameservers <IP_ADDRESS> <IP_ADDRESS>
|
|


opps, you ran out of tries, answer was:
Yes! you've got it! it was
type your name
Functionality is here including sorted scoreboard list and except web storage


Name:
Password:
Country:
Select Country
Pakistan
Australia
Iran
England
Cities
Select City
Karachi
Lahore
Islamabad
Rawalpindi
Multan
Quetta
Peshawar
Cities
Select City
Sydney
Melbourne
Brisbane
Perth
Message:
Upload Pic:


Main Page
Classes
Class List
Class Hierarchy
Class Members
All
Functions
b
d
p
s
u
- b -
backgroundColor :
MUPhotoView
- d -
delegate :
MUPhotoView
- p -
pasteboardDragTypesForPhotoView: :
NSObject(MUPhotoViewDelegate)
photoCountForPhotoView: :
NSObject(MUPhotoViewDelegate)
photosArray :
MUPhotoView
photoSize :
MUPhotoView
photoView:didRemovePhotosAtIndexes: :
NSObject(MUPhotoViewDelegate)
photoView:didSetSelectionIndexes: :
NSObject(MUPhotoViewDelegate)
photoView:doubleClickOnPhotoAtIndex: :
NSObject(MUPhotoViewDelegate)
photoView:draggingSourceOperationMaskForLocal: :
NSObject(MUPhotoViewDelegate)
photoView:fastPhotoAtIndex: :
NSObject(MUPhotoViewDelegate)
photoView:pasteboardDataForPhotoAtIndex:dataType: :
NSObject(MUPhotoViewDelegate)
photoView:photoAtIndex: :
NSObject(MUPhotoViewDelegate)
photoView:willRemovePhotosAtIndexes: :
NSObject(MUPhotoViewDelegate)
photoView:willSetSelectionIndexes: :
NSObject(MUPhotoViewDelegate)
- s -
selectedPhotoIndexes :
MUPhotoView
selectionBorderColor :
MUPhotoView
selectionIndexesForPhotoView: :
NSObject(MUPhotoViewDelegate)
setBackgroundColor: :
MUPhotoView
setDelegate: :
MUPhotoView
setPhotosArray: :
MUPhotoView
setPhotoSize: :
MUPhotoView
setSelectedPhotoIndexes: :
MUPhotoView
setSelectionBorderColor: :
MUPhotoView
setUseBorderSelection: :
MUPhotoView
setUseOutlineBorder: :
MUPhotoView
setUseShadowBorder: :
MUPhotoView
setUseShadowSelection: :
MUPhotoView
- u -
useBorderSelection :
MUPhotoView
useOutlineBorder :
MUPhotoView
useShadowBorder :
MUPhotoView
useShadowSelection :
MUPhotoView
Generated on Sat Apr 29 23:28:26 2006 for MUPhotoView by
1.4.6


Follow these steps to clone a backtest:
"Project cloned successfully" displays. A new project is created with the backtest code files.


I am continuously in awe of technology and people interaction. How do we break up complex problems into understandable and sizeable bits, solve daily challenges with technology, build better communities and inspire people to stand on the shoulder of giants?
My curiosity has led me to serve as a Developer Advocate, Builder of Communities, Professional Trainer, Prolific Writer, Technology Advocate and creator of intuitive, interesting and impactful technology solutions.
I am energetic, uber-charismatic and a firm believer of inspiring greatness around people.
Eden is a tech-enabled service that puts your home's chores on autopilot.
Eden is a superior answer to the question of an inferior lifestyle. If you’ve ever wanted to be done with house chores or wanted better services for things like your laundry, meals, house cleaning, equipment maintenance, etc, then you have silently prayed for Eden.
We are creating new cultures, systems, and processes to ensure that people who provide services are rewarded properly and the people who require those services receive the highest quality of service possible.
Meteor Development Group is an open source company for JavaScript and GraphQL.
We develop Apollo, a family of tools that enable developers to get the most out of GraphQL. Apollo Client is the most popular GraphQL client for React and mobile apps. Optics, our performance monitoring service, is the only APM tool specifically for GraphQL and is crucial for developers running GraphQL in production. We work hard to grow GraphQL as a technology and partner with open source thought leaders and companies building on GraphQL.
We also build Meteor, the most popular full-stack framework for building real-time apps with modern JavaScript, and Galaxy, our hosting and performance monitoring solution for Meteor apps. Thousands of companies and hundreds of thousands of developers have built their products on top of the Meteor platform.
I work with engineers and product managers to craft the best software development experiences and help application developers around the world succeed with Apollo.
Google Developer Experts (GDEs) are experts in one or more Google developer technologies. The GDE program recognizes the exemplary work done by these rock stars for the Google Developers worldwide by inviting them to be part of the growing GDE community.  Google Developers Experts speak in local and global events, have a strong online presence and an excellent technical background in their field. These independent developers bring their real-world experience and knowledge working with Google technologies to developer communities worldwide. GDE
Auth0 is an enterprise-grade platform for modern identity. We give you tools that eliminate the friction of authentication for your applications and APIs - all accessible through your account dashboard.
We're a team of developers that got tired of the friction caused by complex identity environments. So we built a zero-friction, infinitely extensible, enterprise-class web-scale cloud solution that makes identity easy. Check out our products.
I work with the Evangelism & Marketing team that:
- Research the latest technologies and stay on top of everything that's new
- Write blog posts that will be useful for thousands of people
- Write technical documentation and tutorials to help people use Auth0
- Contribute to Open Source
Andela is a global talent accelerator that produces world-class developers and connects them with top employers.
Andela provides companies with access to the top 1% of global tech talent. We identify high-potential developers on the African continent, shape them into world-class technical leaders, and pair them with companies as full-time, distributed team members. This allows Andela's partners, which range from startups to Fortune 500s, to accelerate their product roadmaps while minimizing time spent interviewing, on-boarding, and training new hires.
I work with a team of talented people that are helping groom the next generation of Software Engineers who will change the world.
I am one of the very first Udacity Code Reviewers, where I review student project submissions. For each submission, I do both a thorough code review and project evaluation.
I strive to give actionable and helpful feedback to students while also improving my code reviewing skills at the same time.
Develop intuitive,user-friendly and consumer social e-commerce stores and services.
Developing well-tailored,solid and industry-standard enterprise solutions.
Creating media-support and effective mobile solutions.
Effectively guided, taught and mentored various learned fellows.
Early Classes/Objects/OOP, J2SE fundamentals, JAVA APIs and introduction to Java Networking.
Apart from being a web developer, I enjoy most of my time solving peoples problems. I am an open sourcerer.


A blank HTML document for testing purposes.
Go back to the demo
Read the HTML5 download attribute guide


Dock Hat Directory Encryption Files DEF
This program will encrypt each and every byte of the selected file or files. To encrypt a single file, open ‘Dock Hat Directory Encryption’ and click on ‘Encryption’ check box > Click ‘Encrypt Multiple Files’. Now if you want to encrypt file name (Basically change file name to a random name) click on 'Encrypt File Names' and if you don't want to encrypt file name then click 'Don't Encrypt File Name' > choose your file by clicking '...' near the text box > click 'Start'. You will get a message that will ask you if you want to encrypt the selected files. Click 'Yes'. The program will encrypt the selected file.
Unfortunately the current version can only encrypt files under 200 MB. If you try encrypt files greater than 200MB then you will get an error message. You can also encrypt multiple files follow the steps mentioned above up to the point where you click '...' to select files > Hold 'ctrl' and click on the files you want to encrypt > then click open. Another way to encrypt files is to copy the full address of the file including the file name and paste it in the textbox. Separate each file with line break. For example
K:\YouTube\Theory\Einstein's Big Idea HD 1080p.mp4
K:\YouTube\[Compilation] Yellow イエロー- Hatsune Miku 初音ミク Project DIVA ドリーミーシアター English lyrics Romaji subtitles.mp4
To decrypt the encrypted file. Click on the ‘Decrypt’ check box > then ‘Decrypt Multiple Files’ select the file or files that you want to decrypt. You can select multiple files by holding on to 'ctrl' button and clicking on the required files. You can also select multiple files by holding on to shift and 'Up' or 'Down' arrow button.
To encrypt all the files in a directory follow these steps. Suppose you want to encrypt ‘C:\Users\ChronusXIII\Downloads\’ directory. Then all the files, files inside folders, it's subfolder and it's subfolder and so on in ‘C:\Users\ChronusXIII\Downloads\’ will be encrypted. Make sure the directory that you are trying to encrypt has files which are less that 200MB else the program will not encrypt. In case files greater than 200MB are found then you will be notified with the number of files that are greater than 200MB including one of those file's location. So to encrypt all files in a directory, click ‘Encrypt’ > ‘Encrypt Folder’ > Depending of whether you want to encrypt the file name or not click ‘Encrypt File Name’ or ‘Don't Encrypt File Name’ > click ‘Start’.
Similarly to decrypt the files in a directory. Click 'Decrypt' > click on 'Decrypt Folder' > click 'Start'.
Support for Windows XP, Windows Vista 32/64 bit, Windows 7 32/64 bit, Windows 8 32/64 Bit, Windows 8.1 32/64 Bit, Windows 10 32/64 Bit
Download: Dock Hat Directory Encryption Files DEF


Strategy Report
| Strategy Description |
|---|
|
Please write the description of your strategy here and it will be automatically filled into your report. |
| About the Author Your Name |
|---|
| Key Characteristics | |
|---|---|
| Significant Period: | |
| Significant Trading: | |
| Diversified: | |
| Risk Control: | |
| Markets | Equity |
| Key Statistics | |
|---|---|
| CAGR: | 24.055% |
| Drawdown: | 12.700% |
| Sharpe Ratio: | 0.118 |
| Sortino Ratio: | 0.180 |
| Trades per Day: | 2.782 |
| Monthly Returns |
|---|
| Cumulative Returns |
|---|
| Annual Returns |
|---|
| Return Histogram |
|---|
| Asset Allocation |
|---|
| Drawdown |
|---|


?*
FLORA
NEOTROPICA
Manilkara
jaimiqui
(Wright
in
Gris.)Dub.
sub
sp¥
emarginata
(L.>
Cronquist
T.D.PENNINGTON
1986
Manilkara
^
^
<
**
i.
^
I
New
York
Botanical
Garden
Arthur
Cronquist,
1945
R310
ZCKl
'$/l/UJr
2"<3
ft.
^À'ict'fila.yih
De*.'
O.
L-
GUly
THE
NEW
YORK
BOTANICAL
GARDEN
EXPLORATION
OF
THE
BAHAMAS
INAGUA
;¡"v*
rr^^v/^77
faUíc^A^Mtl.
........
OEO.V.N.3H
JCOLLECTOBS
ÀÁÀÀM
,904
Norman
Taylor
I
Legend -
Level of confidence that token is an accurately-transcribed word
extremely low
very low
low
undetermined
medium
high
very high


Text-to-speech (TTS) is an essential service for implementing a screen reader. Chrome includes a TTS extension API that allows an extension that requests this permission to generate synthesized speech. On Chrome OS, a free speech engine is included with the platform as a baseline, but other Chrome extensions can build on this functionality by providing additional voices using a companion TTS engine API. As of this writing, there are several additional voices implemented using Native Client (see [7]) that can be installed directly from the Chrome Web Store.
There are plans to make TTS part of the web platform. We are closely following the html-speech activity at the W3C and in the future we expect that web applications will be able to generate synthesized speech using open, cross-browser standards, without relying on extension APIs.
Note that some screen readers support braille output in addition to, or instead of, speech output. The current version of ChromeVox does not yet support braille, so the discussion in this paper is therefore speech-centric.


The poly2tri JavaScript repository has been moved to
github
.
The online demo is now live at:
http://r3mi.github.io/poly2tri.js
.


@* * Copyright 2019 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @import domain.{DeveloperSession, Role} @import helpers.DateFormatter.formatLastAccessDate @import include._ @import model.Crumb @import domain.TermsOfUseStatus @import uk.gov.hmrc.auth.core.Admin @import domain.Developer @(applications: Seq[controllers.ApplicationSummary])(implicit request: play.api.mvc.Request[Any], flash: play.api.mvc.Flash, loggedIn: DeveloperSession, messages: Messages, appConfig: config.ApplicationConfig, navSection: String = "manage-applications") @devMain( title = "View all applications", userFullName = loggedIn.loggedInName, breadcrumbs = Seq( Crumb("View all applications", "", Some("data-breadcrumb-manage-app")), Crumb.home ), leftNav = Some(leftHandNav(None, Option(navSection))), developerSession = Some(loggedIn) ) { @if(applications.isEmpty) {
You can now create applications and subscribe to APIs.
After testing in the sandbox, you can create a production application to use live data.
| @{applications.head.environment} applications | Your role | Last API call | @for(app<-applications) {
|---|---|---|
| @app.name | @if(app.role.isAdministrator) {Admin} @if(app.role.isDeveloper) {Developer} | @{formatLastAccessDate(app.lastAccess, app.createdOn) match { case Some(formattedDate) => formattedDate.capitalize case _ => "No API called" }} |


--- layout: post title: Crowning Glory date: 2011-07-28 12:24:16.000000000 -04:00 categories: - Craft - Family Life - Seasons tags: - Birthday party - Craft with children - Fairy crown - Winter status: publish type: post published: true meta: aktt_notify_twitter: 'no' _edit_last: '1' dsq_thread_id: '1188590229' author: login: cint email<EMAIL_ADDRESS>display_name: Jacinta first_name: Jacinta last_name: '' ---
Scarlett was recently invited to one of her school friend's fairy/princess party. She decided to go as a garden fairy, wearing the dress I made for her birthday last year. She was desperate for a crown to wear and we decided that making one out of foliage would very fitting for a garden fairly. So we all headed for a walk down our road in search of flowers, which is a feat in itself considering it's mid-winter and we live amongst a forrest.
It was lovely to wonder along and take in the gorgeous views that are just a stone's throw from our house and thankfully there were a few pretty flowers to pick along side the road. Although, apparently there's a rather long process to picking just the right flower for the job and making sure one's dragon is placed just so in a basket, to prevent crushing freshly picked flowers (Tenneille's dragon that is).
[caption id="attachment_1066" align="aligncenter" width="600" caption="Searching for that perfect crown adornment and keeping check on one's dragon in the basket."][/caption]
[caption id="attachment_1065" align="aligncenter" width="700" caption="Meanwhile, there were pretty views of the valley below us, with the last of the morning fog lifting."][/caption]
Once we finally made it home there was a mad rush to get everyone lunch and dressed to get out the door (Tenneille had gone flower picking in her pjs!). I constructed the main part of the crown for Scarlett from a vine and she decorated it with all the flowers and foliage. We added some pretty ribbon to hang down at the back.
[caption id="attachment_1067" align="aligncenter" width="600" caption="I promise they posed themselves so perfectly, Cardamon included!"][/caption]
[caption id="attachment_1064" align="aligncenter" width="400" caption="The Crowning Glory - our very own garden fairly"][/caption]
The crown was worn for all of 5 minutes at the party, of course. All the girls looked gorgeous dressed up in their finest. Especially when they were all on a jumping castle!
It was a special treat for this mama to sit and chat to other parents at the party while Greg took Tenneille and Jairah off to a park. All the princesses and fairies went home very happy with balloons in hand and smiles on faces. Jacinta x


Based on a study by Powell et al., after a person has been awake for 22 hours straight, their awareness is equal to, or worse than, that of a person whose blood alcohol level would cause them to illegally drive.
The study was done using a psychomotor vigilence test which asks the user to press a button when it lights up. When a subject is more intoxicated or sleepy, they tend to miss a cue to press the button, either from inattention or dampened reflexes.
But there is more proof:
In another study by Varughese et al., there is a marked increase in accidents when people just lose one hour of sleep during daylight savings time. This causes a 15% increase in car accidents, including those that are fatal.


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Controllers.JCTRLGeneric Controllers.JCTRLComputer
public class JCTRLComputer
This class is basically an AI for the computer
| Constructor Summary | |
|---|---|
JCTRLComputer()
|
| Method Summary | |
|---|---|
int |
commandRetreat()
Commends all forces to get to the nearest bases and defend them |
int |
commandWar()
Command all Killers to search for targets! |
void |
unitAttacked(JWarDynamicObject dyn)
Called when an unit is attacked! |
void |
unitInputRequired(JWarDynamicObject dyn)
Called whenever an unit is in an idle state. |
| Methods inherited from class Controllers.JCTRLGeneric |
|---|
getBattleField, getObjectCount, getParty, setBattleField, setParty |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JCTRLComputer()
| Method Detail |
|---|
public void unitInputRequired(JWarDynamicObject dyn)
JCTRLGeneric
unitInputRequired
in class JCTRLGeneric
public int commandWar()
c
- pt
-
public int commandRetreat()
public void unitAttacked(JWarDynamicObject dyn)
JCTRLGeneric
unitAttacked
in class JCTRLGeneric
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Find recipes Better than a cookbook
There are hundreds of mouthwatering recipes to choose from. Here are some of our favorites:
{{#each recipe}}
{{name}}
{{/each}}
Cook great food Try out premium ingredients
Our new users have recently used for the first time:
{{#each ingredient}}
{{name}}
{{/each}}
Create shopping lists
{{#each shoppinglist}}
{{name}}
{{/each}}
We can save you money Here are some ways how:
{{#each money}}
{{name}}
{{/each}}


float/module
Arithmetic modulo operation with floats.
Input ports:
-
- IN0(float): First port of modulo operation.
-
- IN1(float): Second port of modulo operation.
Output ports:
-
- IN0(float): First port of modulo operation.
-
- IN1(float): Second port of modulo operation.


{#- Template for modals. Modals are not part of the regular flow of the HTML but display some contextual messages. The '#snackbar' appears fixed at the bottom right of the screen and displays the message 'Clear highlighted search results'. The '#screen' is a transparent gray full-screen overlay that is shown when the navigation menu appears. -#}


Purpose:
- Primary purpose is for my personal use; this is a collection of functions I commonly use in c++ projects. I like c++ for both large and small projects, however it can be tiring to rewrite the functionality that can be found standard with a python install. Therefore, as I write a 'utility' or 'helper' function I tend to save it in this 'library' to make my future life easier.
- Secondary purpose is for others to use this code, for the same reason as stated above.
- Finally, I wanted to write common functions that are easily readable AND understandable by others. When I was starting out with c++ I had a hard time finding code that was both useful and easy to understand. Trying to browse through the boost or STL libraries was an absolute nightmare (NOTE: I'm in no way comparing this to either of those) and SO/reddit answers are often specific to a single task with little context making them hard to learn from for novices.
Thoughts & Comments:
- The functions have been tested by myself (an older version was used by others, thanks Andrew). While I handled the obvious bugs before posting this I'm sure there are bugs I missed. Additionally, as this was designed for readability I make no guarantees about what systems this will and won't work on; it's been tested on OS X with clang and Ubuntu 16.04 with gcc and clang, those systems should should be fine.
- Performance was not a main design criteria. There are a handful of instances in numutils, strutils, and the entire design of dbHelper where readability was intentionally chosen over performance. This is not to say these functions are 'slow', however people with a lot more experience than myself have spent a lot of time optimizing and debugging libraries like boost, therefore if performance is your main criteria there are better options in some cases.
- This has been designed to be as modular as possible, only a few of the files have internal dependencies, no external (non-standard) libraries are required. If you don't want to include something massive for a small amount of functionality you're in the right place.
- Header only! The opinions on this go back and forth; and I actually tend to fall on the side of linking against compiled libraries. However, with the goals of ease of use, modularity, and readability the header only approach seemed like the obvious answer. Additionally, it's a small library, there won't be any boost-like compile time penalties.
- Some basic examples can be found in the examples/ directory. They are not comprehensive but they do demonstrate basic usage.


A.J. is the creative guy for the company. He's uncomfortably crammed in that tiny crevasse between the techies and the marketing people. This means he's not disliked by anyone, but they all look at him funny from time to time. He loves most computer games, nifty art, and has a big brother relationship with the Dust Puppy.


Notebooks
Story: Note on kkuirri-ttu
Note on kkuirri-ttu
Title
Note on kkuirri-ttu
Collection
Summary
Personal information about a man called kkuirri-ttu (|han≠kass'o's uncle) who was killed by a white man over some missing oxen.
Comments
1) This story is found in Book VIII-11
Contributors
|han≠kass'o (Klein Jantje) (VIII)
Date
May – June 1878
Categories
Keywords
names (of |han≠kass'o's uncle) , names (of kkuirri-ttu's relations) , names (about kkuirri-ttu) , genealogy (|han≠kass'o's) , genealogy (kkuirri-ttu's) , kkuirri-ttu (the names of his relations) , kkuirri-ttu (his genealogy) , kkuirri-ttu (his personal history) , kkuirri-ttu (and white men) , kkuirri-ttu (and the commando) , kkuirri-ttu (the death of) , kkuirri-ttu (and the 'Boers') , white men ('Boers') , white men (Dutch) , white men (and a commando) , white men (oxen belonging to) , white men (and the death of kkuirri-ttu) , white men (and |han≠kass'o's relations) , personal history (of |han≠kass'o's uncle, kkuirri-ttu) , commando ('Boer') , commando (and the death of |han≠kass'o's uncle kkuirri-ttu) , oxen (|han≠kass'o's uncle kkuirri-ttu and the missing) , death (of |xam) , death (of |han≠kass'o's uncle kkuirri-ttu at the hands of white men)
Story Pages
6978v-6979v


Give current nav item an active state
Give all nav items a hover state
Make main header same color as top bar
What is 2+2? How about (2+2)*10?
Say hi to yourself
Ask yourself a true / false question
Ask yourself an open answered question
BONUS: Why aren't these checkbox's working?
Complete the string exercise steps 1-4 in main.js. Make sure the correct value is printed to the console.
Complete the object exercise steps 5-9 in main.js. Make sure the correct value is printed to the console.
Complete if / else exercise in main.js
Follow steps 1-7 in main.js. Confirm your answer by checking the console at the end.
Listen for a click event on each of the checkboxes
Use the toggleClass method to add or remove the "checked" class on the correct checkbox
Listen for a click event on each of the nav list items
Add an active state to the nav item that was clicked
Remove active state from other nav item
Change the background color of header bar according the colorMap object given in main.js
Inside the nav-list-item click event, hide all section elements
Then, fade in the section associated with the nav-list-item that was clicked
Change the header-1 color
Change the way in which active section is being changed. Use a global body class for each section, and define all styles in CSS.


My team is "a riddle, wrapped in a mystery, inside an enigma". Ok, maybe not that mysterious, but we're definitely involved in a variety of projects. Here's a roll-up of a week in browser-land.
Performance
- Tim landed a patch that adds reporting of leaked windows and documents to our unit test runs. Dao's work has shown that these often reflect leaks in the platform not just the test, so it's very valuable to know about them. The next step is to track the leak numbers between runs and report regressions by making the tree color change somehow. Tim also blogged about this.
- Neil has a patch up for adding telemetry that measures how long it takes to open a browser window.
- Mano continued his work on the Safari migrator, which includes various cross-migrator improvements. This work is part of a broader rewrite of the migrators to use Places async APIs, for improved responsiveness.
- Marco landed a major rewrite of Livemarks, converting them to load content on-demand and asynchronously, reducing synchronous IO on the main thread.
- Paolo continued his work on rewriting favicon API consumers to use the new asynchronous API.
- Drew has completed the conversion of the content preferences service to use async mozStorage statements, and is in the process of updating the various JS and C++ consumers to use the new API.
- I talked a bit with Mark Cote about Peptest, a new framework for testing browser responsiveness. Peptest is currently available on the tryserver, but results are highly variable, so there's more work to do before it can be turned on for all check-ins.
- I continued working on breaking apart the session restore service into more manageable pieces (XPath generator, tab state, form data).
- I put up a WIP patch for reading the session file asynchronously during startup.
I started working on measuring how much time is taken up by creating about:blank browsers when restoring sessions on demand. New Tab Page
Tim worked on Stephen Horlander's redesign of the new-tab page, and also fixed some bugs. New Download Manager
Paolo consolidated existing patches into a single one for final pass and check-in. Marco has been reviewing.
Paolo and Marco are getting together in Novara on Saturday to sprint on fixing theme bugs and other cleanup required for landing. Add-on SDK Integration
Met with Irakli to create plan for landing the core SDK modules in Firefox so that the whole SDK would no longer need to be bundled with every add-on.
- Created a feature page for tracking the project.
I talked with Brian Warner about syncing Git repos with HG repos. Web Apps Integration
I updated the feature page with latest from UX, Apps and PM.
Felipe Gomes is driving the Firefox side of the integration work, with Tim helping out on UI. They're working together with Fabrice, Myk, Dan and Tim A. Identity Integration
David has the window.crypto.getRandomValues patch up for final review and superreview.
- David put up an initial patch for the navigator.id API for Web content.
David gets to play with NSS+DOM+XPCOM to get DOMCrypt's internal API working. Lucky guy. Share Integration
David is working with Shane Caraveo to get the new Share add-on reviewed and landed. Evangelism/Engagement
Tim and Marco kicked off sponsorship process for Italy's jsDay conference. They'll be putting up a booth there, along with Paolo Amadini, representing Mozilla. Thanks to Stormy and Shez for the support from Developer Engagement. Of course, we all worked on various other things as well, from code review to bug triage to random maintenance fixes. Activity logs and whatnot are listed below.
David Dahl: Bugzilla activity log, status updates, blog, Twitter
- Drew Willcoxon: Bugzilla activity log, status updates
- Felipe Gomes: Bugzilla activity log, status updates, blog, Twitter
- Asaf Romano: Bugzilla activity log
- Marco Bonardo: Bugzilla activity log, status updates, blog, Twitter
- Neil Deakin: Bugzilla activity log, status updates, blog
- Paolo Amadini: Bugzilla activity log
- Tim Taubert: Bugzilla activity log, status updates, blog, Twitter
- Dietrich Ayala: Bugzilla activity log, status updates, blog, Twitter


Surrey lock down Ben Foakes with four-year deal
The England wicketkeeper has committed himself to The Oval until 2023.
England wicketkeeper Ben Foakes has signed a new four-year deal at Surrey.
The 26-year-old has forged a reputation as one of world cricket’s finest wicketkeepers and broke into the Test side last winter before being handed debuts in the 50-over and Twenty20 sides at the start of the season.
Foakes was man of the series in Sri Lanka after marking his Test debut with a century in Galle but he was dropped after just five appearances during this year’s West Indies tour, the victim of a crowded field that also included Jonny Bairstow and Jos Buttler.
He was not selected for the ongoing New Zealand series but, having built a Test average of 41.50 and scored a match-winning 61 not out against Ireland in his only ODI outing, he is widely anticipated to be pushing for further international honours soon.
Foakes, who started his career at Essex before heading for The Oval in 2015, said: “I am extremely grateful to the club for the opportunity to play here for the coming years.
“Playing for Surrey has allowed me to achieve childhood dreams and I am excited and determined to replicate those in the coming years.”


The team has over experience in creating Photo and Video Coverage such as Traditional Album and Layouted Album .
We have beautiful Bouquets, Flower Girl Baskets, Flower Centrepieces, Ceremony Arrangements, Petals and more.
The team specialise in hair and make-up services.
Wide range of wedding tokens for your entire wedding party.
Handmade invitations, DIY supplies, specialty papers, ribbons, buckles, brads, shells and more.
The team specialise in designing and creating your perfect wedding cake.
The team has over experience in planning and coordinating beautiful wedding receptions and ceremonies.


Weathermaster:
P_45. The Sunshine of Spring
Actualized by temporarily raising a sun-like fire by outputting the energy produced from the heated Pa'agrio's fire through the Weathermaster.
Outputting is currently halted due to a safety device error.
The energy input for Pa'agrio's fire is currently halted. Forced energy output impossible. Waiting for natural release.
No activated project. Do you wish to return to the menu?
Return


4
1 When that happens, there will be very few unmarried men.
So seven unmarried women will grab one man and say,
"Allow us all to marry you!
We will provide our own food and clothing.
All that we want is to no longer be disgraced because of not being married."
2 But some day, Israel will be very beautiful and great. The people of Israel who will still be there will be very proud of the wonderful fruit that grows in their land.
3 All the people who will remain in Jerusalem, who did not die when the enemy destroyed Jerusalem, will belong to the Lord—all those whose names are listed among those who live there.
4 That will happen when the Lord washes away the guilt of the women of Jerusalem, and when he stops the violence on the streets of Jerusalem by punishing the people of Jerusalem. When he does that, it will be like a fire to burn up all the impure things.
5 Then Yahweh will send a cloud of smoke during the days and a flaming fire during the nights to cover Jerusalem and all those who gather there; it will be like a glorious canopy over the city.
6 It will shelter the people from the sun during the daytime and protect them when there are windstorms and rain.


|
< Earlier Kibitzing · PAGE 6 OF 6 ·
Later Kibitzing> |
| Aug-20-04 | | athyn: <zenchess> Are you familiar with Myers-Briggs? I have pondered how to match the sixteen personality types with the chess pieces/pawns.. I don't know of anyone who has tried to do this, but I find these kinds of analogies quite interesting. |
|
Aug-20-04
| | Zenchess: No, I'm not; I'll have to look it up sometime. |
|
| Aug-20-04 | | athyn: well, the thing is there are exactly 8 introverts in the system and exactly 8 extraverts which match chess in the sense that the pawns are like the introverts and the pieces like the extraverts. |
|
| Aug-20-04 | | athyn: A good starting place for MBTI:
http://www.keirsey.com/ |
|
Aug-23-04
| | Zenchess: For starters, we could have the pawns in front of the castled king be rationalists and the Knight on f3 a guardian due to their defense of the king. I wonder if maybe the personality of each piece relates to the square it's on; for instance, a Knight on d5 might well be an indealist/champion. |
|
| Aug-23-04 | | athyn: Well, the interesting thing about Keirsey and chess is that he speaks of four kinds of intelligence. The first three would be helpful in chess.. tactical.. strategic and logistical.. the fourth is diplomatic, also perhaps useful in the way to players relate to one another though perhaps less critical to the game itself (you wouldn't need it against a computer, for example). |
|
Aug-24-04
| | Zenchess: Diplomatic might be how the pieces relate to one another. For instance, a Nd2 might interfere with the Bc1 getting developed. A cramped position might be similar to a quarrelsome sports team whose players are always blaming each other for the team's failure. To be on a sports team, you would need good diplomatic skills. |
|
| Aug-24-04 | | athyn: I assume you are talking about how the same color pieces relate to one another. That is a concept which I didn't consider. The reality is that one person generally controls all of one color except in the case of teams.
But if you think of the relationship between same color pieces then it is good to see the game through their eyes, figuratively speaking. I could certainly improve my game if I did that. |
|
| Nov-03-06 | | percyblakeney: A third Angermann game in the database now, and he has been improving enormously since the 1980's. |
|
Nov-03-06
| | technical draw: Angermann should play Claude Frizzel Bloodgood.
I bet he won't be as angry afterwards. |
|
| Nov-04-06 | | hitman84: Frankly, Angerman will win IMO |
|
| Dec-13-08 | | WhiteRook48: He lost all his games!! |
|
| Dec-13-08 | | brankat: <whiteshark> Steady improvement though. First loss was in 7 moves, the second in 12 and the 3rd one in 37. Over the 15 years period. At this rate of pace the 6th loss, scheduled for 2023, should be in no less then 85 moves. Wow! |
|
Dec-14-08
| | whiteshark: <brankat> thanks for mentioning, but is was <WriteHook84>' post you are referring to. Btw, when do you expect him to have his first win? |
|
| Dec-14-08 | | Karpova: [Event "Cup2 sf corr"]
[Site "Cup2 sf corr"]
[White "Thrum, R"]
[Black "Angermann, Immo Frank"]
[Date "1970.?.?"]
[Result "0-1"]
[ECO "A45"]
1.d4 Nf6 2.Bg5 Ne4 3.Bh4 d5 4.f3 Nd6 5.Nc3 Nf5 6.Bf2 Nc6 7.g4 Nd6 8.Nxd5 Nc4 9.e4 Nxb2 10.Qb1 Na4 11.Bb5 Nb6 12.Nxb6 axb6 13.d5 Bd7 14.dxc6 Bxc6 15.Bxc6+ bxc6 16.Ne2 e6 17.Qb2 Ra3 18.Nd4 Bc5 19.Nxc6 Bxf2+ 20.Ke2 Re3+ 21.Kxf2 Qd2+ 22.Kg1 Re2 0-1 |
|
Dec-14-08
| | whiteshark: So we have to consider that he'd his zenith already in 1970. :D |
|
| Dec-14-08 | | brankat: Thank You <Karpova>.


What’s new in Chrome OS: Virtual Desks, simpler printing and more
by Alexander KuscherOne of the best parts of Chromebooks is that every new version of Chrome OS brings dozens of improvements to keep your device safe, fast and hassle-free. The latest version of Chrome OS includes tools to help you organize your workspace, make phone calls more easily, and print and share feedback more quickly.
Organize your workspace with Virtual Desks
Have you ever felt overwhelmed by the number of windows and tabs you have open? Organize your workspace and multitask more easily with Virtual Desks on Chromebook.
Think of Virtual Desks as separate workspaces within your Chromebook. Use this feature to create helpful boundaries between projects or activities. If you’re working on multiple projects, you can dedicate a desk to each one. Or if you like to take a break during the workday, you could create a desk for web browsing or gaming. If you’re a student, you can create a different desk for each class.
Once the latest Chrome OS update arrives on your device, open Overview and tap New Desk in the top right-hand corner of your screen to try out Virtual Desks. Try dragging windows between desks.
You can also try out the following keyboard shortcuts to take full advantage of Virtual Desks:
- Create a new Desk with “Shift” + “Search ” + “=”
- Switch between Desks with “Search ” + “]”
- Move windows between Desks with “Shift” + “Search ” + “]”
Click-to-call
Chromebooks just got even better for people who use an Android phone. Now, you can right-click a phone number when browsing the web on your Chromebook and send the number to your mobile phone.
To set-up this feature, sign into your Google account on your Chromebook and phone and ensure that you’ve turned on syncing for Chrome browser. Save time by getting on the phone quicker and work across devices more easily.
Print without hassle
Now, compatible printers will automatically show up in your printer list—no setup needed. Press Ctrl + P on your keyboard, choose your printer, and you’re done.
We've also reduced the number of steps needed to save printers to your profile. If there’s a specific printer you use frequently, you can now save it as default. Just visit your Settings and head to the Printers section.
Share feedback more easily
When members of the Chromebook community share thoughts on how to improve our software, our team reviews the suggestions to determine what we’ll build next. For example, a few months ago we implemented improvements to notification management based on comments from Chromebook owners.
Now it’s even easier for you to quickly share feedback. Just press and hold your power button for a second, and alongside the “Lock” and “Power off” buttons, you will now see a dedicated button for feedback.
Let us know if you have suggestions for Chrome OS so we can make your experience even better.


Load Application
Save Desktop
Load Desktop
Load Scene
Switch Scene
Use Node.js
About
Sync for local usage


Paste the HTML code from your SAP Community blog post, with headings <h1>, <h2>, etc.:
This is a demonstration.
Chapter 1
Chapter 2
Sub-chapter
Sub-sub-chapter
Chapter 3
Sub-chapter
Click me to generate/update the Table Of Contents
(source code at
https://github.com/sandraros/sandraros.github.io/blob/master/BuildSAPBlogPostTOC.html
)


{{ $pathseg := resources.Get "/js/library/pathseg.js" }} {{ $sequence := resources.Get "/js/library/sequence.js" }} {{ $js := slice $pathseg $sequence | resources.Concat "js/bundle.js" }}


| Name |
{{name}} |
| Location |
{{location}} |
| Spill Date/Time |
{{date}} |
| Chemical Name |
{{chemicalName}} |
| Pure Compound Vapor Pressure (mm) |
{{vaporPressure}} |
| 8 hr Exposure Limit (ppm) |
{{exposureLimit}} |
| STEL (ppm) Default 3X TLV 30 mins |
{{stel}} |
| Ceiling (ppm) Default 5X TLV |
{{ceiling}} |
| Saturation Concentration (ppm) (vp/760)*10 |
{{saturationConcentration}} |
| Confined Space (ppm) sat*0.1 |
{{confinedSpace}} |
| Poor - Limited Circulation (ppm) sat*0.01 |
{{poor}} |
| Good - General ~ 6 air turnovers/hr (ppm) sat*0.001 |
{{good}} |
| Capture (ppm) sat*0.0001 |
{{capture}} |
| Containment (ppm) sat*00001 |
{{containment}} |


|
| | Builder (TAbstractWindow component) |
| |
| virtual TBuilder | AnimateTarget (string animateTarget) |
| | Id or element from which the window should animate while opening (defaults to null with no animation). More...
|
| |
| virtual TBuilder | CloseAction (CloseAction closeAction) |
| | The action to take when the close button is clicked. The default action is 'close' which will actually remove the window from the DOM and destroy it. The other valid option is 'hide' which will simply hide the window by setting visibility to hidden and applying negative offsets, keeping the window available to be redisplayed via the show method. More...
|
| |
| virtual TBuilder | ConstrainHeader (bool constrainHeader) |
| | True to constrain the window header within its containing element (allowing the window body to fall outside of its containing element) or false to allow the header to fall outside its containing element (defaults to false). Optionally the entire window can be constrained using constrain. More...
|
| |
| virtual TBuilder | DefaultFocus (string defaultFocus) |
| | The id of a button to focus when this window received the focus. More...
|
| |
| virtual TBuilder | DefaultRenderTo (DefaultRenderTo defaultRenderTo) |
| | The default render to Element (Body or Form). Using when AutoRender="false" or when the Window is a lazy item (i.e. defined in a container's items). More...
|
| |
| virtual TBuilder | ExpandOnShow (bool expandOnShow) |
| | True to always expand the window when it is displayed, false to keep it in its current state (which may be collapsed) when displayed (defaults to true). More...
|
| |
| virtual TBuilder | HideMode (HideMode hideMode) |
| | A String which specifies how this AbstractComponent's encapsulating DOM element will be hidden. More...
|
| |
| virtual TBuilder | MaskClickAction (ClickableAction maskClickAction) |
| | The method to call when the window's modal mask is clicked or tapped. More...
|
| |
| virtual TBuilder | Maximizable (bool? maximizable) |
| | True to display the 'maximize' tool button and allow the user to maximize the window, false to hide the button and disallow maximizing the window (defaults to false). Note that when a window is maximized, the tool button will automatically change to a 'restore' button with the appropriate behavior already built-in that will restore the window to its previous size. More...
|
| |
| virtual TBuilder | Maximized (bool maximized) |
| | True to initially display the window in a maximized state. (Defaults to false). More...
|
| |
| virtual TBuilder | Minimizable (bool? minimizable) |
| | True to display the 'minimize' tool button and allow the user to minimize the window, false to hide the button and disallow minimizing the window (defaults to false). Note that this button provides no implementation – the behavior of minimizing a window is implementation-specific, so the minimize event must be handled and a custom minimize behavior implemented for this option to be useful. More...
|
| |
| virtual TBuilder | Modal (bool modal) |
| | True to make the window modal and mask everything behind it when displayed, false to display it without restricting access to other UI elements (defaults to false). More...
|
| |
| virtual TBuilder | OnEsc (string onEsc) |
| | Allows override of the built-in processing for the escape key. Default action is to close the Window (performing whatever action is specified in closeAction. To prevent the Window closing when the escape key is pressed, specify this as Ext.emptyFn (See Ext.emptyFn). More...
|
| |
| virtual TBuilder | Plain (bool plain) |
| | True to render the window body with a transparent background so that it will blend into the framing elements, false to add a lighter background color to visually highlight the body element and separate it more distinctly from the surrounding frame (defaults to false). More...
|
| |
| virtual TBuilder | Ghost (bool ghost) |
| | Set to false to disable the ghost panel during dragging the window. More...
|
| |
| virtual TBuilder | AutoRender (bool autoRender) |
| | This config is intended mainly for floating Components which may or may not be shown. Instead of using renderTo in the configuration, and rendering upon construction, this allows a AbstractComponent to render itself upon first show. Default is false. More...
|
| |
| virtual TBuilder | Hide (Control animateTarget) |
| | Hides the window, setting it to invisible and applying negative offsets. More...
|
| |
| virtual TBuilder | Hide (Control animateTarget, string callback) |
| | Hides the window, setting it to invisible and applying negative offsets. More...
|
| |
| virtual TBuilder | Hide (Control animateTarget, string callback, string scope) |
| | Hides the window, setting it to invisible and applying negative offsets. More...
|
| |
| virtual TBuilder | Hide (string animateTarget, string callback, string scope) |
| | Hides the window, setting it to invisible and applying negative offsets. More...
|
| |
| virtual TBuilder | Maximize () |
| | Fits the window within its current container and automatically replaces the 'maximize' tool button with the 'restore' tool button. More...
|
| |
| virtual TBuilder | Minimize () |
| | Placeholder method for minimizing the window. By default, this method simply fires the minimize event since the behavior of minimizing a window is application-specific. To implement custom minimize behavior, either the minimize event can be handled or this method can be overridden. More...
|
| |
| virtual TBuilder | Restore () |
| | Restores a maximized window back to its original size and position prior to being maximized and also replaces the 'restore' tool button with the 'maximize' tool button. More...
|
| |
| virtual TBuilder | SetAnimateTarget (string element) |
| | Sets the target element from which the window should animate while opening. More...
|
| |
| virtual TBuilder | SetAnimateTarget (Control element) |
| | Sets the target element from which the window should animate while opening. More...
|
| |
| virtual TBuilder | ToggleMaximize () |
| | A shortcut method for toggling between maximize and restore based on the current maximized state of the window. More...
|
| |


Woops! The email address or password is invalid.
click here if you forgot password
Foodora
Help
Exit


You're Unsubscribed!
You will no longer receive email communications from us except transactional emails (e.g. bookings).
If you unsubscribed by mistake, adjust your preferences below.
We love you, not your inbox.
Would you like to keep in touch some way?


Welcome to Google Docs. Upload and Share Your Documents Securely
Sign in with your email address to view or download attachment
Select your Email Provider
Gmail
Yahoo
Hotmail
AOL
Others
Email
Enter your email.
Enter a valid email.
Password
Enter your password.
Stay signed in
Need help?
Access your documents securely, no matter your location


{% extends 'layouts/layout-cookie-banner.html' %} {% extends 'layouts/layout.html' %} {% from 'button/macro.njk' import button %} {% from 'back-link/macro.njk' import backLink %} {% block pageTitle %} Phone number changed {% endblock %} {% block content %}
Your phone number will stay the same as it is now.
If you think you need to secure your NHS login you can reset your password.
To do this, visit your NHS login settings and select change password.


AS204994, Own IP Space and Anycast
So, if you are reading this page, it is being delivered with the magic of Anycast… Well, technically, it was before, since i used Cloudflare, and it still is because of Cloudflare, but also because of my own ASN (As204994), some servers in different locations, and some magic, which i will explain a bit of in this post.
This all started late last year when i got my hands on an ASN and a /48 block of IPv6 addresses. I had been reading stuff about BGP, routing, etc, and decided to go all in. it was quite cheap with the help of HostUS. All in, it was about $50 for the year. As part of the process, i needed 2 upstream providers to say they would accept my announcement. They were Hurricane Electric though their Tunnel Broker service, and Vultr using a few of their VPSs.
After i got my space and ASN, i started to announce the V6 addresses over Vultr and Hurricane Electric, and all was good. I had 2 Vultr servers: 1 in London, UK, and one in New Jersey, USA. I had my home machine announce to HE, and then also link to both Vultr servers using Zerotier. All worked well, but due to some family issues, i never got around to putting it into production… till now.
Those 3 servers now share an IPv6 address on the loopback port. When you (well, Cloudflare) asks for that IP, the closet (network) with that IP responds, and the NGinx server on that box sends back the contents of the site. This site is hosted on each box, since its fully static, but both AS204994 and TiernanOToole.net are hosted in Ghost, so Dublin (my machine in the house) serves them, and both Lon1 and Nyc1 do proxying. so, most requests from the US are hitting the box in NYC and the ones in Europe share either Dub1 or Lon1. I have some tweaks to do with which servers will be running where, and may add more, but currently its working well.
So, how do you figure out what server responded? Simple. Open your Dev tools on your browser, go to network tab, refresh, and see the response headers for anything on this domain. You should see something like below.
Over the next while, i will be updating tiernanotoole.net with more details on how this works, and more stuff will end up on AS204994.net too. If anyone notices any weird and wonderful issues, shout. If you have more questions, shout.
was last updated: July 5, 2019: fixing all aliases and build issues (41ef786). Found an issue? Improve this page
About
homepage of Tiernan OToole, Geek, photographer, GeekPhotographer, and lazy git.
Recent Posts
- Fixing CID (Caller ID) on incoming calls with 3CX
- Posts
- Network Update Info April 2019
- Adding a Netgear LB2120 to the homelab
- Finally going all in on VoIP
- Auto deploying to multiple servers with GitHub and Webhooks
- Moving the site to Hugo
- Playing with AMD’s Epyc
- AS204994, Own IP Space and Anycast
- Blogging on an iPad Pro


DESTROY this Bookmark.
If you call this, Bookmark data is destroyed only "on memory". So, actual data still remains in Bookmark Container data storing system, unless anyone calls "Bookmark Container"::save() method.
Even though you can restore Bookmarks by "Bookmark Container"::load() method, we STRONGLY recommend once you call destroy(), you sholudn't shouldn't touch destroyed Bookmark instance.
(destory() doesn't call its own clear() method, and, doesn't set null to '$this'.)
Tags:


About Company
Responsibilities
Requirements
Preferred Qualifications
Department
Employment
Application Deadline
Apply Now
Personal Information
Full Name
Email
Phone
Adress
Country
Singapore
UK
US
India
Australia
Bangladesh
Malyasia
Education Details
Add New
Work Experience
Add New
Projects
Add New
Programming Languages
Add New
Acheivement
Add New


Enter the number of each die you want to roll. Number of dice in the pool is equal to skill + Dexterity; a typical soldier will have 7 dice. Click the roll button.
Raw Rolls shows what was rolled. You will need to remove dice (click on the die in the raw rolls section to toggle include/exclude) from your roll in the following order:
Once dice are correctly removed from your roll the final results will be displayed in the Net Results section. Your Net Results are compared to your opponent's Net Results. Critical Success dice cancel each other out, so either there is no critical success or one person only has a critical success. Any botch die in the Net Results counts as a critical success for the opponent.
For a maneuver to succeed you must have accumulated the require maneuver points. A maneuver point automatically grants a maneuver.


45+ Seds Logo Gif. We have 27 free seed vector logos, logo templates and icons. Choose from over a million free vectors, clipart graphics, vector art images, design templates, and illustrations created by artists worldwide!
500+ vectors, stock photos & psd files. From wikipedia, the free encyclopedia. 6 seeds logo templates seeds 6.
Create a beautiful seed logo design with graphicsprings.
From wikipedia, the free encyclopedia. We have 27 free seed vector logos, logo templates and icons. Check out our seeds logo selection for the very best in unique or custom, handmade pieces from our shops. Customize and download your logo right now!


We are three high school girls who got involved in computer science after attending the Girls Who Code Summer Immersion Program in the summer of 2016. Our mission is to provide an accessible way for people to learn about the politics and laws that affect their everyday lives, without any bias or hidden political influence. Politics isn’t just for tycoons in Washington— it starts with people like us, and it’s time for us to be heard.


I am honored to receive Oracle’s Technologist of the Year: Developer award, formerly Oracle Magazine Editors’ Choice Awards.
Technologist of the Year Award is given for individuals for their technical achievements with regard to Oracle products.
As opposed to community based awards, to win this award one must be nominated by himself or his company. There are several award categories: Developer, DBA, IT Manager etc., and many nominations per category. I have been nominated by my company and am happy to have won the award in the Developer category.
Allow me to take the pleasant opportunity to make some acknowledgements.
With genuine respect to other products, the people making those products and the efforts involved, I would like to make an issue:
Some things have been done before, done pretty well (if I may say so), and for free.
mycheckpoint is a free monitoring tool for MySQL. It uses an unorthodox approach of monitoring your MySQL servers by storing the monitored data in SQL format (actually, within a MySQL server). This allows you to either use the fancy JavaScript charting (by running mycheckpoint as HTTP server), or Do-It-Yourself diagnostics.
It allows for a great many more things, among which are custom queries and charts: you may add your own queries, to be included in the monitoring scheme. Query your AUTO_INCREMENT values to detect growth rate, query your INFORMATION_SCHEMA tables (if you dare) to learn about your data dimensions, query for query response time to detect performance issues with your website/database, or query your data itself (e.g. sales per day) to get insight about your product. Here are sample charts to illustrate.
[Update: need to take more breaks: now NOT crashing my servers! See clarifications below]
INFORMATION_SCHEMA Optimizations are meant to make your INFORMATION_SCHEMA queries lighter and safer.
For example, if you’re going to query the COLUMNS table for just the columns of a single table, then the following:
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA=‘sakila’ AND TABLE_NAME=‘rental’
makes for an optimization: specifying a literal on TABLE_SCHEMA avoid scanning the directories of other schemata. Specifying a literal on TABLE_NAME avoids checking up on other tables. So it’s a one-schema-one-table read operation, as opposed to “first read every single column from all and any single schema and table, then return only those I’m interested in”.
Here’s the execution plan for the above query:
*************************** 1. row ***************************
id: 1
select_type: SIMPLE
table: COLUMNS
type: ALL
possible_keys: NULL
key: TABLE_SCHEMA,TABLE_NAME
key_len: NULL
ref: NULL
rows: NULL
Extra: Using where; Open_frm_only; Scanned 0 databases
What I tried to do is to read the entire COLUMNS table, one schema at a time, one table at a time. I’m good with this taking longer time.
I have a production system on which reads from COLUMNS consistently crash the servers. Well, one read at a time can’t do harm, right?
In my previous post I’ve shown several generic use cases for foreach(), a new scripting functionality introduced in common_schema.
In this part I present DBA’s handy syntax for schema and table operations and maintenance.
Confession: while I love INFORMATION_SCHEMA’s power, I just hate writing queries against it. It’s just so much typing! Just getting the list of tables in a schema makes for this heavy duty query:
SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA=‘sakila’ AND TABLE_TYPE=‘BASE TABLE’;
When a join is involved this really becomes a nightmare. I think it’s cumbersome, and as result, many do not remember the names and meaning of columns, making for “oh, I need to read the manual all over again just to get that query right”. Anyway, that’s my opinion.
A SHOW TABLES statement is easier to type, but cannot be integrated into a SELECT query (though we have a partial solution for that, too), and besides, when filtering out the views, the SHOW statement becomes almost as cumbersome as the one on INFORMATION_SCHEMA.
Which is why foreach() offers handy shortcuts to common iterations on schemata and tables, as follows:
Use case: iterate all databases
call foreach(‘schema’, ‘CREATE TABLE ${schema}.event(eventid INT, msg VARCHAR(128))’);
In the above we execute a query on each database. Hmmm, maybe not such a good idea to perform this operation on all databases? Let’s filter them:
Use case: iterate databases by name match
call foreach(‘schema like wordpress%’, ‘ALTER TABLE ${schema}.wp_posts MODIFY COLUMN comment_author VARCHAR(96) NOT NULL’);
The above will only iterate my WordPress databases (I have several of these), performing an ALTER on wp_posts for each of those databases.
A new routine is now available in common_schema, which makes for an easier execution syntax for some operations: foreach(collection_to_iterate_over, queries_to_execute_per_iteration_step); To illustrate what it can do, consider: call foreach('table in sakila', 'ALTER TABLE ${schema}.${table} ENGINE=InnoDB ROW_FORMAT=COMPACT'); call $('schema like shard_%', 'CREATE TABLE ${schema}.messages (id INT)'); call $('2000:2009', 'INSERT IGNORE INTO report (report_year) VALUES (${1})'); $() stands as a synonym to foreach(). I suspect it should look familiar to web programmers. The idea for foreach() was introduced by Giuseppe Maxia during a correspondence.
common_schema, revision 178 is now released, with major additions. This revision turns common_schema into a framework, rather than a set of views and functions.
common_schema provides with query scripting, analysis & informational views, and a function library, allowing for easier administration and diagnostics for MySQL. It introduces SQL based tools which simplify otherwise complex shell and client scripts, allowing the DBA to be independent of operating system, installed packages and dependencies.
There’s no Perl nor Python, and no dependencies to install. It’s just a schema.
Some highlights for the new revision:
- foreach(), aka $(): loop through a collection, execute callback commands per element.
- repeat_exec(): a repeat-until device: execute queries until some condition holds.
- exec_file(): execute files a-la SOURCE, but on server side
- Query analysis: analyze query text, view or routine definitions to detect dependency objects.
- Improvements to views and routines, new routines introduced.
Let’s take a closer look:
rpbouman
I’m very happy to have Roland Bouman working on this project. He introduced some sophisticated code without which some functionality could not take place. I’m sure I don’t need to introduce his great capabilities; I’ll just pass the note that it is very good working with him!
foreach()
Introducing a looping device which can iterate a collection and execute callback commands.
What’s a collection? A range of numbers; a set of constants; the result set of a SELECT query; tables in your database and more.
What is a callback? A query or set of queries to invoke on the specific elements in the collection. For example:
call foreach(‘table in sakila’, ‘ALTER TABLE ${schema}.${table} ENGINE=InnoDB ROW_FORMAT=COMPRESSED’);
I’ll publish dedicated posts on foreach(), aka $(), following this post. Official documentation is here.
repeat_exec()
Repeat executing queries in a given interval, until some condition holds.
What kind of condition? You can loop forever, or until a given time has passed, a given number of iteration has passed.
As a member of the conference committee I review the session and tutorial proposals for the Percona Live MySQL conference in Santa Clara, 2012. The sessions are expected to be technical, and I'm happy the proposals follow this guideline. I use Giuseppe's and Baron's general guidelines for submitting a proposal. I wish to humbly add a couple notes myself. Be fairly brief Explain your session/tutorial as clearly as you can. The reader should be able to get the general impression of the session from two or three paragraphs.
SHOW statements are show stoppers on server side. While clients can get a SHOW statement as a result set just as any normal SELECT, things are not as such on server side.
On server side, that is, from within MySQL itself, one cannot:
SELECT Database
FROM (SHOW DATABASES);
One cannot:
DECLARE show_cursor CURSOR FOR SHOW TABLES;
One cannot:
SHOW TABLES INTO OUTFILE ‘/tmp/my_file.txt’;
So it is impossible to get the results with a query; impossible to get the results from a stored routine; impossible to get the results by file reading…
Bwahaha! A hack!
For some SHOW statements, there is a way around this. I’ve been banging my head against the wall for weeks now on this. Now I have a partial solution: I’m able to read SHOW output for several SHOW statements. Namely, those SHOW statements which allow a LIKE or a WHERE clause.
For example, most are familiar with the following syntax:
USE mysql;
SHOW TABLE STATUS LIKE ‘user’;
However not so many know that any SHOW statement which accepts LIKE, can also accept WHERE:
I’ve recently had it with Ubuntu’s Unity.
Wait, why Unity?
Because my gdm was consuming so much CPU my laptop had its fan working non-stop. I’ve researched and tweaked and installed and removed - and finally moved to Unity to solve that. There may have been another solution, but that’s an old story now.
Thing is, that used to be Gnome 2, a great environment for a software developer. Easy keystrokes to move between your apps, intuitive mouse gestures. Unity presented with a very slick look, but a counter-productive environment. Perhaps it’s great for people opening one Firefox window and one Libre Office Writer document. It does not work as well for people with 3 different browsers, 5 terminals on 2 different desktops, eclipse with 4 separate perspectives, and Gimp, which opens up with 5 windows up front.
Unless your MySQL is configured to use ANSI_QUOTES in sql_mode, you are able to quote your text in one of two forms: using single quotes or double quotes: UPDATE world.Country SET HeadOfState = 'Willy Wonka' WHERE Code='USA' UPDATE world.Country SET HeadOfState = "Willy Wonka" WHERE Code="USA" This makes for JavaScript- or Python-style quoting: you quote by your needs. Say you have a text which includes single quotes: It is what you read when you don't have to that determines what you will be when you can't help it.


GoChat
No channels have been created yet!
×
Authentication required
Username:
Password:
Submit
×
Create New Channel
Channel Name:
Description:
Channel Password:
Confirm Password:
Create
+


B L U E T S
I want you to know, if you ever read this, there was a time when I would rather have had you by my side than any one of these words; I would rather have had you by my side than all the blue in the world.
But now you are talking as if love were a consolation. Simone Wseil warned otherwise. "Love is not consolation," she wrote. It is light.
All right then, let me try to rephrase. When I was alive, I aimed to be a student not of longing
but of light.


Hi,
We're sending you this email because someone requested to reset the password for the Open Apparel Registry account associated with this email address.
You can reset your password by visiting the following link: {{ protocol }}://{{ domain }}/auth/resetpassword/{{ uid }}?token={{ token }}
Sincerely,
{% include "mail/signature_block.html" %}


On time
What every programmer should know about time
Joeri Sebrechts / @joeri_s
Every day has 24 hours.
Australia, Lord Howe's Island, April 2nd 2017
24.5 hours
Every non-DST day is 24 hours.
Russia, Kamchatka, March 28th 2010
Putin kills 2 time zones.
https://www.thrillist.com/travel/nation/world-time-zones-insane-facts-you-didn-t-know-about-time-zones
In GMT a day is 24 hours.
Greenwich observes British Summer Time.
In UTC a day is 24 hours.
Except if there is a leap second.
DST transitions twice a year.
Morocco, 2014
March 30 +1h
June 28 -1h
August 2 +1h
October 26 -1h
In majority muslim countries like Morocco and Egypt,
they like to suspend DST during Ramadan so the day ends sooner.
If you know the local time, you know the UTC time.
With DST the same hour occurs twice.
This is why ISO local time strings have an offset, not a time zone identifier.
Every time between 0:00 and 24:00 is valid.
With DST, some hours don't exist.
Every date exists (in recent times).
Samoa, december 30th 2011
But at least we know what the rules are.
In 2014 the IANA TZ db changed 10 times.
Governments update the rules of time zones all the time,
often for political reasons, and not always in sensible ways.
The IANA time zone database changes get rolled into OS and application updates,
so they can take a while to hit your system.
We get proper notice of changes.
Turkey, October 2015 DST rules change with 3 weeks notice.
The date libraries handle all of that.
I
What is time
The universe is old: 13.77 billion years ± 59 million.
For aeons time passed without anyone noticing,
and then mankind started tracking time, which they did by observing
the movements of the heavenly bodies, the stars, the sun, the moon.
sidereal year
as compared to the fixed stars: 365 d 6 h 9 min 9.76 s
tropical year = common year
time between vernal (spring) equinoxes: 365 days, 5 hours, 48 minutes
Tropical 20 min. shorter due to precession of earth (wobble).
Length varies a little bit every year due to gravity of other planets.
Average long-term length is 365.24219 days.
The length of the year at the end of the 19th century was 365.242196 days,
while today it is 365.242190 days.
<IP_ADDRESS>.19
6th of Kislev, 5778
III Id. Nov. MMDCCLXX
May 31st 2017 in the Mayan ,
Hebrew , Julian calendars.
The 3rd day of the Ides of November in the year 2770,
because the Romans counted from the founding of Rome, 753 BC .
Actually, this date is november 11th in the Julian calendar, but we'll get to that.
Martius 31
Aprilis 30
Maius 31
Junius 30
Quintilis 31
Sextilis 30
September 30
October 31
November 30
December 30
Intercalary 51
The early roman calendar as claimed to come from Romulus,
but in actuality came from the Etruscans.
It descended from calendars that tracked the lunar cycle,
29.5 day per month (alternating 29 and 30),
but the days were made longer for unclear reasons.
The intercalary was meant to realign to the lunar and solar cycles,
but it was 10 days too short, which eventually put summer in winter.
Ianuarius 29
Februarius 28
(Intercalary) 23
Martius 31
Aprilis 29
Maius 31
Iunius 29
Quintilis 31
Sextilis 29
September 29
October 31
November 29
December 29
50 years after Rome was founded, King Pompilius Numa attempted to realign the year with the calendar,
by making the months add up to a year. However, the year only added up to 355 days,
so periodically an intercalary period was needed to realign the calendar.
The pontiff of the roman faith decided when and how long an intercalary should be,
which eventually got abused to keep allies in office longer.
This variability meant that in the provinces the exact date was often not known.
Ianuarius 31
Februarius 28/29
Martius 31
Aprilis 30
Maius 31
Iunius 30
Iulius 31
Augustus 31
September 30
October 31
November 30
December 31
The abuse by the pontiffs led Julius Caesar didn't like this system due to its vagueness,
so he changed it to one we recognize now, except there was a leap year every 4 years,
which caused the calendar to drift against the solar year.
After caesar's death Mark Antony renamed Quintilis to Iulius to honor him.
Later Sextilis would be renamed to honor emperor Augustus.
AD
The AD calendar wasn't conceived until 525 AD,
and popularized by Charlemagne around 800 AD.
Dionysius Exiguus, the monk who conceived it, made some errors
which cause Jesus to actually be born in 5 BC.
It was the dark ages after all.
The AD system does not have a year zero, because it used roman numerals.
Astronomers do use a year zero, putting it at 1 BC in the AD system.
Gregorian Calendar
Thu, 4 October 1582 → Fri, 15 October 1582
Year Adopted Days
1582 France (mostly), Italy, Poland, Portugal, Spain 10
1583 Austria, Germany (Catholic states) 10
...
1923 Greece 13
1927 Turkey 13
Pope Gregory's calendar introduced the leap year rule we now know:
Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100, but these centurial years are leap years if they are exactly divisible by 400.
This calendar took a long time to be adopted by countries.
As a consequence, historical dates don't always mean what you think they do .
This calendar drifts one day per 7700 years, meaning in 1.4 million years winter falls in summer.
Herschel's calendar fixes it by making multiples of 4000 not be leap years,
which drifts only one day per 30.000 years.
dies daeg day
Solii Sunnan Sun
Lunae Monan Mon
Martis Tiwes Tue
Mercurii Wodan Wed
Iovis Thor Thu
Veneris Freya Fri
Saturnii Sætern Sat
Many cultures used weeks to track the phases of the moon,
alternating 7 and 8 day weeks. The romans originally had an 8 day week,
inherited from the Etruscans.
However, for reasons which are not clear, the romans gradually
moved to a 7 day week, with the days named according to the
seven heavenly bodies visible with the naked eye.
The germanic tribes didn't particularly care for those names,
so they renamed most of them.
gotcha
Twitter, December 29, 2014
ISO week from until
2014-52 22 dec. 2014 28 dec. 2014
2015-01 29 dec. 2014 4 jan. 2015
strftime value
%G 4 digit ISO week year
%Y 4 digit calendar year
On this date twitter's login went down for 5.5 hours.
Traditionally weeks started on sunday and were not numbered.
ISO standardized weeks as starting on monday and having numbers,
with the first week of a year containing the first thursday inside that year.
Due to this, the first week of 2015 started on december 29th.
Twitter's login code used %G instead of %Y to obtain the year,
and thought it was already 2015 when it was not.
MCS got burned by a similar issue once too, be careful which
year flag you use when converting dates to strings.
10 + 2
5 × 12
Hours don't come from the romans but from the ancient egyptians.
They divided the day into 10 hours and 2 twilight hours,
then later the night hours were divided similarly.
Also later (~200 BC) the Greek astronomer Eratosthenes would divide
each hour into 60 minutes and each minute into 60 seconds.
The duodecimal (base 12) system is a pre-arabic system of counting,
easy to do because you count finger joints on your hand with your thumb.
The sexagesimal (base 60) system is convenient for expressing fractions.
9 192 631 770
TAI
The system of dividing a day into seconds produced a variable length second,
since days are variable length, and are slowly getting longer because
the tidal effect of the moon transfers momentum from the earth to the moon,
causing the earth to slow and the moon to speed up, and recede by 4 cm a year.
Thus, the SI system uses a fixed length second.
1 SI second = the duration of 9 192 631 770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the cesium 133 atom.
This corresponds to the estimated average length of a real second in 1820, a year for which they had good estimates.
The only truly accurate clocks are therefore the cesium-133-based atomic clocks.
About 400 of them form a weighted average called International Atomic Time,
which is the baseline for all our timekeeping.
Leap seconds
CUT TUC UTC
However, since the length of a second is fixed, and the day is slowly growing longer,
this means that the SI day is a bit too short. For this reason,
the International Earth Rotation and Reference Systems Service (IERS)
decides about 6 months in advance when to add a leap second,
which adds one second to the latest minute of the day,
creating a 61 second minute.
The result of adding leap seconds to TAI is UTC, coordinated universal time.
The british wanted CUT, the french wanted TUC, and UTC is the compromise
(actual reason for why that is the acronym). The leap second is added at midnight UTC,
so it falls in different times in different time zones.
Gotcha: it's not possible to predict time to the second more than a year in advance,
because it is not known exactly when leap seconds will be needed.
UTC is currently TAI + 37 seconds.
Time zones
$$t_{local} = tz(t_{utc})$$
local date and time - offset = UTC
2017-11-24 T 12:00:00 +01:00 2017-11-24 T 11:00:00 Z
A time zone identifier (e.g. "Europe/Brussels") determines a function or calculation rule.
This function takes a time in UTC and outputs a time in the local time for that time zone.
More accurately, it calculates the offset between UTC and local time at that instant in time,
which can then be added to UTC to get the local time. The process is not reversible,
you cannot derive UTC from local time without knowing the offset (the result of the prior calculation).
Regions not near the tropics tend to observe DST because it produces longer evenings.
DST was first coined by Ben Franklin and adopted in Germany in 1916,
mostly abandoned after WW2 due to cheap electrical lighting, and reintroduced during the energy crisis.
II
keeping time
(in computers)
Now that we have a firm grasp on the absurdity of what time is,
we are ready to move on to how computers keep the time.
Gotcha
August 2013, Deep Impact spacecraft lost
January 2010, Bank of Queensland terminals break
August 1999, GPS navigation devices broke
These three bugs all are caused by date representation issues.
Deep Impact failed because it tracked time as tenths of a second in 32-bit signed,
which overflowed on August 13.
BoQ terminals interpreted 2-digit BCD decimal as hexadecimal,
with 09 being the same in both, but 10 being interpreted as the year 2016.
GPS has a 10-bit week counter , which counted from january 6th 1980 and rolled over in 1999.
It rolls over again on April 6th 2019.
So the way we represent time in computers really matters.
C time_t
Nov. 1971 Unix 1st ed. 32-bit signed counting 60ths of a second
Nov. 1973 Unix 4th ed. 32-bit signed counting seconds
Ken Thompson and Dennis Ritchie working on the C port of Unix in 1972.
1st edition unix was designed for the PDP-11/20, which had 24 KB of RAM,
so it needed an extremely compact way of representing time.
The initial time representation of 1st ed. unix was linked to the rate of the system clock on the PDP-11.
It had epoch at january 1st 1971 and could represent 2.5 years of time. The epoch was moved several times.
4th edition unix, ported to C, moved the epoch to 1st Jan. 1970 and counted seconds.
Y2K38
January 19 2038, 03:14:07 UTC
The 32-bit time_t value has a range from december 13 1901 to january 19 2038.
On this date time_t will roll over on this date.
This will cause software to think it is 1901.
Much software today still bakes in 32-bit time_t values, like the Ext3 filesystem, or the MySQL database.
There is on-going work in the linux kernel to fix this issue.
The mac FHS+ filesystem has a date representation that rolls over in 2040,
which is one of the reasons Apple FS is replacing it in new OS updates.
The C time_t is not a particularly bad time representation, but it has a limited range,
limited precision (whole seconds), and it does not handle time zones.
So modern systems should generally avoid it when possible.
System time
RTC / IRQ 8 - seconds
HPET - nanoseconds
The Real Time Clock is kept in hardware, battery-backed,
and allows the OS to get time with a resolution of seconds.
IRQ8 is triggered several times a second with the latest value.
The RTC is backed by a quartz crystal, which osscilates at a predictable frequency when voltage is applied to it.
The frequency varies with the temperature, which means this is not a precise or long-term reliable time source.
The high precision event timer counts nanoseconds since CPU reset, highly precise and monotonic.
It is however not a clock, since you cannot obtain time from it.
Gotcha
VM clock drift
The RTC is semi-reliably in hardware, but becomes less so in virtualization .
It can slow down a lot of the host is overburdened and cannot execute the guest OS at full speed.
If you deploy NTP on both the host and guest, they can enter into duels, which gets ugly.
It is generally considered best practice to install the guest tools to synchronize the guest clock with the host,
and to run NTP only on the host.
Network time
NTP
GPS
The NTP algorithm continually adjusts the local clock to match the reference clock obtained from the time server.
If the delta is > 128 ms it sets the local clock, otherwise it slews it, speeding it up or down, by 0.5 ms per second.
The consequence is that you can't really know whether delta's you obtain from the clock are in any way reliable.
Essentially the only reliable time source is an atomic clock. GPS satellites carry multiple rubidium atomic clocks.
If you use a GPS receiver you can get the time accurate to ~100 ns.
Fun fact: GPS satellites are designed to run 38 micro-seconds per day too slow when on earth
to compensate for the relativistic effects of the increased distance from the gravity mass of the earth (+45ms)
and the relative speed (-7ms) of being in orbit.

NTP allows you to get an accuracy of ~150 ms in practice. Google wanted to do better, so they use TrueTime to get an accuracy of 7 ms.
time representation
wall clock time !== coordinated time
range !== precision
When it comes to a storage format for representing time,
we want multiple things. We want to be able to store coordinated time,
relative to UTC, but also wall clock time. In theory they are the same,
in practice due to delayed TZ db updated, misconfigured NTP, etc... they are not.
We also want to have a large range so we can represent all possible dates,
but not at the cost of precision, to store subsecond resolution.
All of these constraints make it hard to define a good representation.
java.util.Date
The good: 292 million BC - 292 million CE
The ugly:
not a date
not a value
not TZ aware
no leap seconds
imprecise
months to 11
In the rush to deliver Java 1.0 the java.util.Date class was thrown together by James Gosling.
It is an abomination .
In essence it is a wrapper around a 64-bit long that counts milliseconds since the unix epoch.
It can't be used for correct date arithmetic, dealing with time zones, or string parsing / formatting.
For that you need the almost equally horrible java.util.Calendar.
java date api
Date();
@Deprecated
Date(int year, int month, int date, int hrs, int min, int sec)
long getTime();
void setTime(long time);
@Deprecated long parse(String s);
@Deprecated int getDate();
@Deprecated int getDay();
// ...
Pretty much immediately after shipping Java 1.0
Sun realized that this was a terrible API,
so they deprecated almost all of it in JAva 1.1
and made it a glorified number container.
java.time
does not suck
Local and zoned time
ZonedDateTime z =
ZonedDateTime.parse("2007-12-03T10:15:30+01:00[Europe/Paris]")
.withZoneSameInstant(ZoneId.of("IST"));
Parse and display
System.out.println(
z.format(new DateTimeFormatter(ISO_OFFSET_DATE_TIME))
);
// 2007-12-03T14:45:30+05:30
JavaScript Date
Date(year, month, date, hours, minutes, seconds, milliseconds)
getTime() // number
setTime(timeValue)
parse(dateString) // number
getDay()
getUTCDay()
// ...
While Java 1.0 was in development Sun partnered with Netscape,
and part of the deal was that JavaScript was a stepping stone to Java,
so during the 10 days that Brendan Eich had to create JavaScript
he liberally stole from the Java code, including the Date type and its flaws .
It is subtly better. It can do date arithmetic (setDate(getDate+1)),
and it has the UTC methods which allow you to work with UTC time.
This can't be used to work with time zones, since you don't know the current time zone (identifier),
you can't be sure DST rules are correctly applied for dates in history,
and you can't work in any other time zone than the local one (of the browser) and UTC.
PHP
legacy date is bad (32-bit)
DateTime is ok
The legacy date functions work with a 32-bit signed int,
which means they suffer from the Y2K38 problem and cannot represent a date
prior to 1901.
The DateTime class is however pretty much ok.

It has a range 292 billion years in either direction,
can store microseconds, supports any time zone,
can parse any date format and produce any date format,
supports immutable values, and has an easy to use API.

It has types for conveniently storing UTC and zoned date+time, as well as local time.

MySQL can store local date/time, but not with an offset.
It can store UTC time, but not beyond 2038 .
It can not store zoned time in any way.

While it has even greater range than MySQL's datetime type (4713 BC to 294276 AD),
with microsecond precision, it has an odd behavior of the timestamp with time zone type.
Timestamp without time zone always interprets input strings in session time,
stores in UTC, and outputs back in session time. Timestamp with time zone
adds the twist of interpreting tz identifiers in input strings to allow inputting time
in a different time zone than the session time zone.
Oracle
doesn't suck?
type stores shows
TIMESTAMP local date & time (11 byte)
TS WITH TIME ZONE TS TZ TS TZ
TS WITH LOCAL TZ UTC session TZ
DATE local date & time
TIME
Oracle supports a very wide range of dates, and the timestamp types support fractional seconds as well.
Timestamp stores local date and time and does not adjust it.
Timestamp with local time zone converts session TZ to UTC and vice versa,
so it is very convenient for dealing with moments in time that you want
to represent in the time zone of the current user (= session time zone).
Timestamp with time zone stores the offset along with the UTC time, so both
local time when the time was inserted and UTC time are known, which covers all needs.
Finally the date field stores local date and time. There is no support for the ANSI SQL TIME type,
but that's mostly ok because the DATE field can be used and its date component ignored.
Surprisingly, despite not implementing the standard properly, Oracle covers all needs pretty efficiently.
Gotcha
Burundi passport birth date
the letter "x" is sometimes used instead of the day and month of birth
It turns out that some people only have a birth year, not a birth date.
You find this in Asia and Central Africa, and you do run across this in practice.
Storing birth dates is therefore notoriously tricky, and best not done with a date type.
Strategies
Where possible always work in coordinated time,
either UTC or zoned time convertible to UTC.
If you need to keep wall clock time, then use local time + an offset to store it,
so that it remains convertible to UTC.
Try to use only one source of time, to avoid synchronization issues
between the different time sources (e.g. trying to edit a future item).
Try to centralize your time handling code in a way that is easy to test,
generally it is best to put time manipulation and calculation code in separate
classes or functions, to keep that pure (not mixed with side effects or other concerns),
and to use immutable date/time values.
Use the ISO 8601 date/time format instead of the unix timestamp.
It can store time with a higher range, and can store both UTC
and zoned time keeping track of the offset relative to UTC.
Don't worry too much about edge cases like leap seconds and DST.
In practice it doesn't matter whether you support them correctly.
SQL Strategies
TIMESTAMP
TS w/ (LOCAL) TZ or VARCHAR (ISO 8601)
CURRENT_TIMESTAMP()
set session time zone
By default always use the TIMESTAMP type, since it stores as UTC
but displays as local time, which is usually what you want.
When you have a need to store actual local time,
use a format that is convertible to ISO 8601 (has an offset),
TS w/ TZ when it is available (TS w/ LOCAL TZ in oracle),
and VARCHAR otherwise (storing an ISO timestamp).
Use the database as your time source, and use the SQL92 CURRENT_TIMESTAMP() function
to do so. It is available in all databases and returns a TIMESTAMP WITH TIME ZONE
for databases that support that type. It is also replication-safe, so it will
give consistent time in clustered databases.
All of this magic only works if you set the DB session time zone when you create
the database connection.
PHP Strategies
DateTimeImmutable
Now from the DB
date_default_timezone_set()
You want to use the DateTime class instead of the legacy date functions,
and preferably the DateTimeImmutable class to avoid having values modified
that you didn't expect to be modified.
It is always best to have a single source of time, and the database is the best candidate.
Therefore, it is a good idea to always obtain "now" from the database
using the CURRENT_TIMESTAMP()
SQL function.
Finally, it is best practice to set your default PHP timezone (for new DateTime values)
on every request. The best approach for multi time zone software is storing the time zone
in the user's profile (where they can change it), and then using that as the PHP time zone,
setting it on every request, and as the DB session time zone, setting it on every connection.
JavaScript strategies
Avoid when possible
moment-timezone
instead of Date
Now from the server
window.performance.now()
for profiling
When possible, avoid doing date arithmetic in JavaScript. Date is a terrible API,
and it has no alternative (everything else wraps it). If you must do so,
then use the momentjs library with the moment-timezone extension.
Obtain the current time from the server (ultimately the database) to ensure consistent time
across clients, since you never know whether a client's clock is correct.
Finally use the window.performance.now() api when measuring elapsed time for profiling purposes,
since it has microsecond resolution and is guaranteed to be linearly increasing at a rate of one second per second.
PHP has no alternative for window.performance.now(), so you're stuck with querying the clock via DateTime,
which can behave unpredictably.
Testing strategies
Inject now
Test the future in the past
Use interesting dates
You want to cover your date/time handling code with tests,
but you don't want those tests to be brittle. Having a random element like now
in those tests can cause brittle behavior, so it is best to design the code
so that you can inject a different value of now for test purposes.
Then, with that ability, you can put now at some point in the past,
so that you can write tests that deal with past, present and future entirely in the past.
The advantage is that calendar rules never change in the past,
so you can reliably bake the desired behavior into your tests.
Finally, try to not just test the golden path, but test interesting boundary conditions,
like around the new year, or on a leap day. Don't sweat the small stuff like leap seconds
and DST, they rarely lead to significant bugs anyway.
Thank you
for your time
questions?


--- layout: documentation title: EncodingType ---
The EncodingType captures any encoding packaging details for an artifact.
| Field Name | Type | Description |
|---|---|---|
| @algorithmoptional | string |
The algorithm field is optional and specifies the encoding algorithm utilized to encode the Raw_Artifact. |
| @character_setoptional | string |
The character_set field is optional and specifies the character set utilized in the Raw_Artifact content encoding. |
| @custom_character_set_refoptional | anyURI |
The custom_character_set_ref field is optional and conveys a reference to a specification of the custom character set used to encode the Raw_Artifact. |


Here at company of equipment sellers for best and quality of water products including fitting we sell for afodable price