Issue: SYMBOL-MACROS-AND-PROCLAIMED-SPECIALSReferences: SYMBOL-MACROLET, SPECIAL proclamation,
AUGMENT-ENVIRONMENT,
CONSTANTP, VARIABLE-INFORMATION
Related issues: Issue SYMBOL-MACROLET-DECLARE
Issue SYMBOL-MACROLET-SEMANTICS
Issue SYNTACTIC-ENVIRONMENT-ACCESS
Issue CONSTANTP-ENVIRONMENT
Issue CONSTANTP-DEFINITION
Category: CLARIFICATION
Edit history: v1, 15 Feb 1991, Sandra Loosemore
v2, 13 Mar 1991, Sandra Loosemore
Problem description:
Can a symbol-macro definition shadow a variable that has been
PROCLAIMed SPECIAL or defined as a constant using DEFCONSTANT?
Both SPECIAL proclamations and DEFCONSTANT definitions pervasively
affect the semantics of variable bindings. The question is whether a
symbol-macro binding of a symbol in the variable namespace is a
variable binding in this sense.
Note that issues SYMBOL-MACROLET-DECLARE and SYNTACTIC-ENVIRONMENT-ACCESS
require that an error be signalled if a SPECIAL declaration is supplied
for a name being bound as a symbol-macro.
There are two proposals, SHADOWING-PERMITTED and SIGNALS-AN-ERROR.
Proposal (SYMBOL-MACROS-AND-PROCLAIMED-SPECIALS:SHADOWING-PERMITTED):
Clarify that a SYMBOL-MACRO definition of a symbol shadows any other
interpretation of that symbol as a variable, even if the symbol is
a keyword or has been PROCLAIMed SPECIAL or defined as a constant
using DEFCONSTANT.
Note that lexical shadowing of keywords and defined constants
requires the use of an environment argument with CONSTANTP (see issue
CONSTANTP-ENVIRONMENT). Clarify that if the first argument to
CONSTANTP is a symbol that is a keyword or globally defined as a
constant, CONSTANTP must return true only if that symbol is not
lexically shadowed by a symbol-macro definition in the specified
environment. Likewise, VARIABLE-INFORMATION returns :SYMBOL-MACRO
rather than :CONSTANT as its first value if the symbol is a keyword
or defined constant that has been lexically shadowed by a symbol-macro
definition in the specified environment.
Rationale:
This is a reasonable interpretation to some people.
Proposal (SYMBOL-MACROS-AND-PROCLAIMED-SPECIALS:SIGNALS-AN-ERROR):
Clarify that a SYMBOL-MACRO definition of a symbol that is a keyword
or that has been PROCLAIMed SPECIAL or defined as a constant using
DEFCONSTANT is not permitted.
Require SYMBOL-MACROLET to signal an error if any of the symbols being
bound as a symbol-macro are keywords, PROCLAIMed SPECIAL or defined as
a constant using DEFCONSTANT.
Require AUGMENT-ENVIRONMENT to signal an error if any of the symbols in
the :SYMBOL-MACRO alist are keywords, PROCLAIMed SPECIAL or defined as a
constant using DEFCONSTANT.
Rationale:
This is a reasonable interpretation to some people.
There is also a compatibility problem if CONSTANTP is permitted to
be sensitive to the lexical environment in which the form appears
(see the cost to users section below).
Examples:
#1: (defvar *foo* nil)
(symbol-macrolet ((*foo* t))
*foo*)
Under proposal SHADOWING-PERMITTED, this returns T.
Under proposal SIGNALS-AN-ERROR, an error is signalled.
#2: (defconstant frob "frob-constant")
(defmacro see-if-constant (form)
`(progn ,form ,(constantp form)))
(symbol-macrolet ((frob (funcall #'some-hairy-function)))
(see-if-constant frob))
Under proposal SHADOWING-PERMITTED, this returns T; note that
the call to CONSTANTP returns a value appropriate for the
null lexical environment but does not take into account the
local symbol-macro definition of FROB.
Under proposal SIGNALS-AN-ERROR, an error is signalled.
Current Practice:
Apparently shadowing is permitted in some implementations but not
others.
Cost to Implementors:
Proposal SHADOWING-PERMITTED is more work than SIGNALS-AN-ERROR
since all calls to CONSTANTP within the implementation need to be
examined to see whether an environment argument must be passed. This
also requires that something other than EVAL (like FUNCALL of ENCLOSE)
be used to compute the value of something that is CONSTANTP.
Cost to Users:
Many applications that now use CONSTANTP assume that the value it returns
is not sensitive to the lexical environment in which the form appears.
(Since CONSTANTP has not previously been specified to accept an
environment argument, it is hard to see how any other interpretation
could be made.) Proposal SHADOWING-PERMITTED represents an incompatible
change in this respect. All calls to CONSTANTP within user programs
would have to be examined to see whether an environment argument must
be passed. This also requires that something other than EVAL (like
FUNCALL of ENCLOSE) be used to compute the value of something that is
Cost of non-adoption:
The language specification is unnecessarily vague.
Performance impact:
Probably none.
Benefits:
The cost of non-adoption is avoided.
Esthetics:
Seems to depend on who you talk to.
Most people seem to acknowledge that shadowing proclaimed specials and
defined constants with symbol-macros is abominable programming style.
Some people think disallowing shadowing complicates the language
unnecessarily by introducing yet another special case.
Some people think permitting shadowing complicates the language
unnecessarily by destroying the "globalness" of special proclamations
and constant definitions.
Discussion:
This issue was discussed on the x3j13 mailing list in May/June 1990.


(spreadSheetSearch= to search drive)
Scraping... [[link]]
Graph Type: [[graphType]]
X: [[xCol]]
Y: [[yCol]]
Z: [[zCol]]
Line Graph
Scatter Graph
Bar Graph
3D Scatter
Coordinate Parallel
[[column]]


WITNESS LIST Administration Committee May 3, 2001 - 4:00P HCR 38 Registering, but not testifying: For: Gutierrez, Hector Mr. (Self), Austin, TX Sanchez, Tula Ms. (Self), McAllen, TX Tobias, Eduardo Mr. (Mexican Student Association), San Antonio, TX Torres, Aida Ms. (Self), McAllen, TX Providing written testimony: For: Barrera, Cayetano Doctor (Self), McAllen, TX Tijerina, Andres Mr. (Self), Austin, TX SB 1348 Registering, but not testifying: For: Hynson, Kathy Ms. (County Treasurers Association of Texas), Richmond, TX


Quick
Credit
APPLY FOR A LOAN
Select Empoyment Status
Employed
Unemployed
Entrepreneur
other
Select income range
100,000 - 200,000
201,000 - 350,000
351,000 - 500,000
500,000 and above
Do you have any other loan running:
No
Yes
Apply


{{ extend "admin/instructors.html"}} {{ block tabcontent }}
Upload a csv file with the following format to automatically register your students. Each row must have six elements in the order shown below.
username,email,first_name,last_name,password,course
You can make the file in your favorite Spreadsheet app and then export it to a CSV file to upload here. Please export without headers.
Notes -- Please Read
LTI is Community Supported! It works but you need to know how to configure things on your own LMS.
There is strong evidence that LTI works on Canvas, Sakai, Moodle, and Desire2Learn.
Please Read the docs first,
then feel free to ask for help on the #lti_community_support
channel on Slack. If you have it working on another
LMS please helps us out and contribute to the docs so that others can benefit.
To launch lti on Runestone use https://runestone.academy/runestone/lti
| Consumer Key: | {{=consumer}} |
| Secret: | {{=secret}} |
| Show Secret |


Toggle navigation
Home
Contact
Media
About
Artists
Appearances
Blog
Facebook
Twitter
Media
Home
Videos
Warriors
Promo [2015]
AAA Fashion Show 2015
Ryan Shi at Navy Pier Crystal Gardens


This was the first family holiday I went and it was in 2011.
We stayed in an apartment in Laguna Golf.
It was my first ever experience outside of Ireland's lovely weather and got toasted one day but I was lucky as my sister got heatstroke.
The food was very nice and I thoroughly enjoyed the experience.


Infinite Hash Terrain
arrow keys = move
Q/W = rotate left/right
A/Z = zoom in/out
S/X = more/less detail
B = toggle seabed
C = toggle crosshair
H/I = toggle help/info
Center position: (
)
Rotation:
°
Scale:
Detail:
Pixels:
Hashes per frame:
FPS:


I had a very normal morning. I stayed in bed for about an hour, then got up and took a shower. Here's what I ate for breakfast/lunch:
In the afternoon, I sat at the dining table in the sun and started reading Mike Freeman's book about interactive data visualizations using Javascript.


Home
Downloads
Documentation
Support
Community
Development
»
Overview
Git
Issue Tracker
Research
Contact
Site Map


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 4
Make this tasty chicken teriyaki recipe for a speedy supper. Serve with rice and steamed bok choi.
Put the Tabasco sauce (if using), honey, sesame oil and soy sauce in a bowl and mix well. Put the chicken slices into the bowl, stir well to coat and leave to marinate for 5 minutes.
Heat the vegetable oil in a frying pan. Remove the chicken slices from the marinade, reserving the marinade, and fry for 3-4 minutes on each side, or until completely cooked through. Remove the chicken from the pan and set aside, keep warm.
Pour the marinade into the pan and boil rapidly for a few minutes until slightly reduced.
To serve, put the chicken slices on a plate and pour over the sauce. Serve with rice and steamed bok choi.


Your PRIME enrolment is under review by the Ministry of Health. You will be notified once your application has been reviewed.
Questions about your enrolment should be directed to:


{* Copyright 2011-2013 Here's A Hand Limited 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. *} {extends file="sysadmin/page.htm"} {block name="content"}
| ID | Name | Account Created |
|---|---|---|
| {$user->getID()|escape} | {$user->getDisplayName()|escape} | {if $user->isAccountCreated()}Yes{else}No{/if} |


school
Education
- Php Full Stack Developer, John Brice High-Tech College (2018).
- Esmod France, Certificate of Fashion Designer.
- Master of L.A.E.C(Lettre-Art-Expression-Communication), Censier-Daubenton
University, France.
language
Languages
- French: Mother Tongue
- Hebrew: fluent
- English: medium level
group
Social Media
- Web site Project:
www.nemorak.com
- Source code avalable on :
https://github.com/slimeVidas26/playlist2019
- Linkedin:
https://www.linkedin.com/in/isaac-dahan-bb225b100/
settings
Work Experience
- 1994-2004 - Professional career as fashion
designer after having followed a course in French school of fashion in Paris.
- 2005 - My first steps in web development as a self-taught. Have done some very
basic websites
(http://www.class-un.com , http://www.zinota.com
, http://bossa-technologies.com.
At the same time, working as technical support in a high-tech company, Zinota, selling Automatic Optical
Inspection machines for semi- conductor
components.
- 2015 - Aliya in Israel.
After few months, I start working as warehouse manager in food company and started with
evening course at John Brice (2017-2018) for an
intensive training. At the end of this training, I got my diploma as PHP Full Stack Junior Developer


{% extends 'base.html' %} {% block content %} splash gallery. View all the images by categories and share it with your friends. Splash awards 2009 Every expression deserves a reward. {% for image in images %} {{image.image_name}} × Photo description : {{image.image_description}}. Shot in : {{image.location}} Category : {{image.category}} {% endfor %} {% endblock content %}
View all the images by categories and share it with your friends.
Every expression deserves a reward.
Photo description : {{image.image_description}}.
Shot in : {{image.location}}
Category : {{image.category}}


--- layout: page title: Projects subtitle: Projects desc: It's all about developing new things everyday. permalink: /projects/ ---
Kafka and Apache Streaming based scalable credit card fraud detection pipeline.
A Serverless Image based Authentication System built in Amazon Kinesis and Amazon Rekognition.
A Serverless Bot for giving tailored restaurant suggestions based on cuisine type/location from Yelp using Amazon Lex, Amazon SQS/SNS.
VAE and other methods for idetifying backdoored images in a given dataset.
A Smart Content Creation Tool.
Building a smart and live content creation and teaching platform using WebRTC and Mux Streaming over RTMP. Try here
Implementation and detailed study of popular Machine Learning Algorithms/Adversarial Attacks/Spam Filters.
Locally Adaptive Wiener Filters for Image Denoising. Try here
2 bit saturated branch predictor with BHR (Branch History Register)
Implemented a notebook for optimal scheduling given a CSV with a list of activities. Try here
Implemented a LCS match between sequences of gestures to create a Gesture Recognition Application using the micro-controller SAMD21 and sensor MPU6050
HOC to blur out, remove focus from a component and make it inactive by clicking outside.
Try here or install using
npm i @bit/rishiraj824.react-components.clicked-outside
Sol-United is a B2C solution for Innogy where Innogy’s Customers are Producers and Consumers of Power. We used Ethereum smart contract for the transactions between users.
Google Summer of Code 2017 Project, under FOSSASIA. To view more about this project go to https://gist.github.com/rishiraj824/2d0a4848d863a148c61d03bf487ee88d
Open Source Contributor in FOSSASSIA for making the Frontend of Loklak API on Angular 2.0
Built the frontend for this app on Angular 1.0. View the app here - https://vit-eee.netlify.app/
Built the frontend for this app on Angular 1.0. View the app here - https://vit-business-school.netlify.app
Website for the college event Riviera 2017. View the app here - https://riviera17.netlify.app/
Concept Landing Page for the startup Fitsquare. View the app here - https://fitsquare.netlify.app/


Classical Music Workshops Warm the White House
Maybe one day with enough practice, I’ll be able to play there. I didn’t see a kazoo being featured.Last Wednesday, the White House welcomed 120 middle and high school music students from all over the country to participate in four different engaging workshops. Â From the Blue Room to the Map Room and the East Room to the Diplomatic Reception Room, beautiful music and instructors’ guiding voices echoed through the halls of this historic home.Â Aspiring students plucked their bows and strummed the strings of their guitars, while picking up tips and queues from their instructors, renowned classical musicians Awadagin Pratt on the piano, Joshua Bell on violin, Sharon Isbin with classical guitar, and Alisa Weilerstein on cello.
In her session, Ms. Weilerstein posed a question to her students. “How do we get someone excited about classical music?” she asked. Â Bright young minds quickly offered up a number of ideas. “Use classical instruments to play modern pieces,” said one young lady. “Play Classical music for people who’ve never heard it,” said another. As the students listened to each otherâ€™s ideas, they also talked about the opportunities they had to discover magic through music; they discussed the importance of keeping music education in schools and communities, where all children would have an opportunity to discover these great art forms just like they did.
As the workshops concluded, everyone gathered in the historic East Room for a concert put on by their four instructors.Â First Lady Michelle Obama made a special visit, and told the students that through music, “You’ll learn that if you believe in yourself and put in your best effort, that there’s nothing you can’t achieve; and those aren’t just lessons about music, these are really lessons about life.”
It was a privilege to welcome so many young musicians living such talented and full lives on a beautiful fall day at the people’s house.Â The White House is honored to share these experiences with all students. Check out all the video:
Classical guitarist Sharon Isbin performs Isaac Albeniz’s Asturias and Agustin Barrios MangorÃ©’s Waltz Op. 8, No. 4:
Concert pianist Awadagin Pratt performs J.S. Bach’s Passacaglia and Fugue in C minor, BWV 582:
Cellist Alisa Weilerstein performs ZoltÃ¡n KodÃ¡lyâ€™s Sonata for Solo Cello, Op. 8 and III. Allegro molto vivace:
Cellists Alisa Weilerstein and 8 year-old Sujari Britt perform Luigi Boccherini’s Sonata for Two Cellos in C Major, 1st movement: Allegro moderato:
Cellist Alisa Weilerstein and 16 year-old percussionist Jason Yoder perform Camille Saint SaÃ«ns’ The Swan:
Joshua Bell and Awadagin Pratt perform Maurice Ravel’s Tzigane:
Joshua Bell and Sharon Isbin perform NiccolÃ² Paganini’s Cantabile:
Joshua Bell, Awadagin Pratt, and Alisa Weilerstein Perform Felix Mendelssohnâ€™s Piano Trio No. 1 in D minor, Op. 49 and the finale, Allegro assai appassionato:
Kalpen Modi and James Schuelke are with the Office of Public EngagementÂ


NYPD arrest women selling churros at subway stations
by The Associated Press, StaffNew York City police detained two women for selling churros without licences at subway stations, sparking backlash from social media users and at least one city official.
Officers can be seen in video captured Friday detaining a woman who was selling churros at a Brooklyn station. The bystander captures officers telling the woman she can turn over her cart and be fined or have it confiscated and face arrest.
NYPD says the woman has received 10 summonses over the past six months for "unlicensed vending." She was handcuffed and then released with a ticket.
Her cart was confiscated as "arrest evidence."
The New York Daily News reports a second woman was arrested for selling churros Monday at another Brooklyn station. Police say they learned she had warrants for failing to appear in court for selling without a license.


Women Empowerment
Home
Events
Login
Register
Home
Events
Profile
Logout
Events
Saastha Industries
Enroll


Copyright (c)1988 Walter Zamkauskas
Amazons is played on a 10x10 board, with the following setup:
MOVES - White moves first, and turns alternate. Each turn consists of two parts, and both parts are mandatory.
The player first moves one of his amazons. Amazons move as a chess queen. Amazons may not jump over or land on other pieces or arrows. Next, the Amazon which just moved "fires an arrow" from its new location. Arrows can be show in any direction, the same as a chess queen, and may not jump over or land on other pieces or arrows. Once an arrow lands, it acts as an immovable barrier to all arrows and amazons. GOAL - The first player that cannot finish his turn, loses.
An example White moves 1. g1-b6,c7. The arrow landed on c7, so neither player can cross that intersection.
There is a ZRF to play Amazons with Zillions. There is also a variant Killer Amazons where it's possible to capture any Amazon of either color.
Another variant from Chris Huntoon, Cowboys, uses Knights on a 8x8 chess board (with no capture):


{% extends "error.html" %} {% block error_detail %}
{% trans %}You are requesting a page that does not exist!{% endtrans %}


{% extends 'layout.html' %} {% block pageTitle %} What is your address? {% endblock %} {% block content %}
If you claim any benefits you must use the same address registered with the benefits agency (DWP or HMRC).
You should use the address that your GP or dentist holds for you. For example, if you're a student living away from home, this could be your home or term time address.
If you're homeless and living in temporary accommodation (for example, a long term hostel), you should use the address that your GP or dentist holds for you.


搜索：
1. 本团购主要是针对很难弄到的书，给大家提供一个一起优惠购买的平台。
2. 本站团购为阶梯定价方式，愈早购买的同学愈优惠。以成功支付时间为准。
3. 团购时间一般为1-10天。
4. 团购图书交付的日期一般为团购结束后1-5天。
5. 参加团购的同学如果已经符合代言人标准，可以同时申请代言人资格，获得代言人收益。
6. 如果团购人数达不到最少人数，管理员将原路退回会员所付款项。
• ISBN:<PHONE_NUMBER>661
• File Size: 948 KB
• Print Length: 178 pages
• Publisher:Ecademy Press Ltd (October 5 2011)
• Publication Date: October 5 2011
• Language: English
• ASIN: B006T37TNS
• ISBN:<PHONE_NUMBER>661
• File Size: 948 KB
• Print Length: 178 pages
• Publisher:Ecademy Press Ltd (October 5 2011)
• Publication Date: October 5 2011
• Language: English
• ASIN: B006T37TNS
No matter where you are on the organizational ladder the odds are high that you've delivered a high-stakes presentation to your peers your boss your customers or the general public. Presentation software is one of the few tools that requires professionals to think visually on an almost daily basis. But unlike verbal skills effective visual expression is not easy natural or actively taught in schools or business training programs. slide:ology fills that void.
No matter where you are on the organizational ladder the odds are high that you've delivered a high-stakes presentation to your peers your boss your customers or the general public. Presentation software is one of the few tools that requires professionals to think visually on an almost daily basis. But unlike verbal skills effective visual expression is not easy natural or actively taught in schools or business training programs. slide:ology fills that void.
Written by Nancy Duarte President and CEO of Duarte Design the firm that created the presentation for Al Gore's Oscar-winning film An Inconvenient Truth this book is full of practical approaches to visual story development that can be applied by anyone. The book combines conceptual thinking and inspirational design with insightful case studies from the world's leading brands. With slide:ology you'll learn to:
Millions of presentations and billions of slides have been produced -- and most of them miss the mark. slide:ology will challenge your traditional approach to creating slides by teaching you how to be a visual thinker. And it will help your career by creating momentum for your cause.


The god of thunder who?
Sharing an old-school photo of Mama Hemsworth during a camping trip, the Thor actor showed his younger self smiling away into the distance.
Meanwhile, he already looked to be a bit of a poser, with one foot in front of the other and his arms balancing him.
What an absolute angel. How things change, right Chris?
‘Happy birthday mum. True champion of champions. Love ya xo,’ the 36-year-old wrote.
And Chris has been all about the family love recently – even being spotted giving his dog a cuddle on the beach as he enjoyed a day out with his wife Elsa Pataky.
Sometimes even Thor needs some good old dog therapy.
Advertisement Advertisement
However, the star’s making sure to support the rest of his family too, buying the house next to his brother Liam after his split from Miley Cyrus.
Ah brotherly love.
The Hunger Games star’s new 35-hectare property is located in Broken Head, near Byron Bay, Australia, with the country’s Daily Telegraph newspaper reporting that the crib was bought by his family company CHLH Management last week for $4.25 million (£2.27 million).
Following Liam and Miley’s shock split, it was reported that Chris was lending a shoulder to his younger brother, with them both back in their Aussie homeland.
Laying low and heading out for a spot of frozen yoghurt followed by a surf, Liam extended his stay in the motherland Australia in the wake of the split with Chris being pretty helpful with the blues.
‘Liam is really sad about the breakup,’ a source claimed to Us Weekly.
‘His family has been taking care of him, and he’s been leaning on Chris throughout his trip to Australia.’
Can we get a Hemsworth brother of our own please?
Got a showbiz story?
If you've got a story, video or pictures get in touch with the Metro.co.uk Entertainment team by emailing us<EMAIL_ADDRESS>calling 020 3615 2145 or by visiting our Submit Stuff page - we'd love to hear from you.


Scriptable structures¶
module_qstate¶
-
class
module_qstate
¶ Module state, per query.
This class provides these data attributes:
-
qinfo
¶ (
query_info
) Informations about query being answered. Name, RR type, RR class.
-
query_flags
¶ (uint16) Flags for query. See QF_BIT_ predefined constants.
-
is_priming
¶ If this is a (stub or root) priming query (with hints).
-
reply
¶ comm_reply contains server replies.
-
return_msg
¶ (
dns_msg
) The reply message, with message for client and calling module (read-only attribute). Note that if you want to create of modify return_msg you should useDNSMessage
.
-
return_rcode
¶ The rcode, in case of error, instead of a reply message. Determines whether the return_msg contains reply.
-
region
¶ Region for this query. Cleared when query process finishes.
-
curmod
¶ Which module is executing.
-
ext_state[]
Module states.
-
env
¶ Environment for this query.
-
mesh_info
¶ Mesh related information for this query.
-
edns_opts_front_in
¶ Incoming EDNS options from the front end.
-
edns_opts_front_in_iter
¶ Iterator for edns_opts_front_in.
-
edns_opts_back_out
¶ Outgoing EDNS options to the back end.
-
edns_opts_back_out_iter
¶ Iterator for edns_opts_back_out.
-
edns_opts_back_in
¶ Incoming EDNS options from the back end.
-
edns_opts_back_in_iter
¶ Iterator for ends_opts_back_in.
-
edns_opts_front_out
¶ Outgoing EDNS options to the front end.
-
edns_opts_front_out_iter
¶ Iterator for edns_opts_front_out.
-
no_cache_lookup
¶ Flag to indicate whether modules should answer from the cache.
-
no_cache_store
¶ Flag to indicate whether modules should store answer in the cache.
-
query_info¶
-
class
query_info
¶ This class provides these data attributes:
-
qname
¶ The original question in the wireformat format (e.g. \x03www\x03nic\x02cz\x00 for www.nic.cz)
-
qname_len
¶ Length of question name (number of bytes).
-
qname_list[]
The question
qname
converted into list of labels (e.g. [‘www’,’nic’,’cz’,’‘] for www.nic.cz)
-
qname_str
¶ The question
qname
converted into string (e.g. www.nic.cz. for www.nic.cz)
-
qtype
¶ The class type asked for. See RR_TYPE_ predefined constants.
-
qtype_str
¶ The
qtype
in display presentation format (string) (e.g ‘A’ for RR_TYPE_A)
-
qclass
¶ The question class. See RR_CLASS_ predefined constants.
-
qclass_str
¶ The
qclass
in display presentation format (string).
-
edns_data¶
-
class
edns_data
¶ This class represents the EDNS information parsed/encoded from/to a packet. It provides these data attributes:
-
edns_present
¶ If EDNS OPT record is present.
-
ext_rcode
¶ Extended RCODE.
-
edns_version
¶ The EDNS version number.
-
bits
¶ The EDNS bits field from ttl (host order): Z.
-
udp_size
¶ UDP reassembly size.
-
opt_list
¶ The EDNS option list.
-
opt_list_iter
¶ Iterator for opt_list.
-
edns_option¶
reply_info¶
-
class
reply_info
¶ This class provides these data attributes:
-
flags
¶ The flags for the answer, host byte order.
-
qdcount
¶ Number of RRs in the query section. If qdcount is not 0, then it is 1, and the data that appears in the reply is the same as the query_info. Host byte order.
-
ttl
¶ TTL of the entire reply (for negative caching). only for use when there are 0 RRsets in this message. if there are RRsets, check those instead.
-
security
¶ The security status from DNSSEC validation of this message. See sec_status_ predefined constants.
-
an_numrrsets
¶ Number of RRsets in each section. The answer section. Add up the RRs in every RRset to calculate the number of RRs, and the count for the dns packet. The number of RRs in RRsets can change due to RRset updates.
-
ns_numrrsets
¶ Count of authority section RRsets
-
ar_numrrsets
¶ Count of additional section RRsets
-
rrset_count
¶ Number of RRsets: an_numrrsets + ns_numrrsets + ar_numrrsets
-
rrsets[]
(
ub_packed_rrset_key
) List of RR sets in the order in which they appear in the reply message. Number of elements is ancount + nscount + arcount RRsets.
-
ref[]
(
rrset_ref
) Packed array of ids (see counts) and pointers to packed_rrset_key. The number equals ancount + nscount + arcount RRsets. These are sorted in ascending pointer, the locking order. So this list can be locked (and id, ttl checked), to see if all the data is available and recent enough.
-
dns_msg¶
-
class
dns_msg
¶ Region allocated message reply
This class provides these data attributes:
-
qinfo
¶ (
query_info
) Informations about query.
-
rep
¶ (
reply_info
) This attribute points to the packed reply structure.
-
packed_rrset_key¶
-
class
packed_rrset_key
¶ The identifying information for an RRset.
This class provides these data attributes:
-
dname
¶ The domain name. If not empty (for
id = None
) it is allocated, and contains the wireformat domain name. This dname is not canonicalized. E.g., the dname contains \x03www\x03nic\x02cz\x00 for www.nic.cz.
-
dname_len
¶ Length of the domain name, including last 0 root octet.
-
dname_list[]
The domain name
dname
converted into list of labels (seequery_info.qname_list
).
-
dname_str
¶ The domain name
dname
converted into string (seequery_info.qname_str
).
-
flags
¶ Flags.
-
type
¶ The rrset type in network format.
-
type_str
¶ The rrset type in display presentation format.
-
rrset_class
¶ The rrset class in network format.
-
rrset_class_str
¶ The rrset class in display presentation format.
-
ub_packed_rrset_key¶
-
class
ub_packed_rrset_key
¶ This structure contains an RRset. A set of resource records that share the same domain name, type and class. Due to memory management and threading, the key structure cannot be deleted, although the data can be. The id can be set to 0 to store and the structure can be recycled with a new id.
The
ub_packed_rrset_key
provides these data attributes:-
entry
¶ (
lruhash_entry
) Entry into hashtable. Note the lock is never destroyed, even when this key is retired to the cache. the data pointer (if not None) points to apacked_rrset
.
-
id
¶ The ID of this rrset. unique, based on threadid + sequenceno. ids are not reused, except after flushing the cache. zero is an unused entry, and never a valid id. Check this value after getting entry.lock. The other values in this struct may only be altered after changing the id (which needs a writelock on entry.lock).
-
rk
¶ (
packed_rrset_key
) RR set data.
-
lruhash_entry¶
-
class
lruhash_entry
¶ The
ub_packed_rrset_key
provides these data attributes:-
lock
¶ rwlock for access to the contents of the entry. Note that you cannot change hash and key, if so, you have to delete it to change hash or key.
-
data
¶ (
packed_rrset_data
) entry data stored in wireformat (RRs and RRsigs).
-
packed_rrset_data¶
-
class
packed_rrset_data
¶ Rdata is stored in wireformat. The dname is stored in wireformat.
TTLs are stored as absolute values (and could be expired).
RRSIGs are stored in the arrays after the regular rrs.
You need the packed_rrset_key to know dname, type, class of the resource records in this RRset. (if signed the rrsig gives the type too).
The
packed_rrset_data
provides these data attributes:-
ttl
¶ TTL (in seconds like time()) of the RRset. Same for all RRs see rfc2181(5.2).
-
count
¶ Number of RRs.
-
rrsig_count
¶ Number of rrsigs, if 0 no rrsigs.
-
trust
¶ The trustworthiness of the RRset data.
-
security
¶ Security status of the RRset data. See sec_status_ predefined constants.
-
rr_len[]
Length of every RR’s rdata, rr_len[i] is size of rr_data[i].
-
rr_ttl[]
TTL of every rr. rr_ttl[i] ttl of rr i.
-
rr_data[]
Array of RR’s rdata (list of strings). The rdata is stored in uncompressed wireformat. The first 16B of rr_data[i] is rdlength in network format.
-
DNSMessage¶
-
class
DNSMessage
¶ Abstract representation of DNS message.
Usage
This example shows how to create an authoritative answer response
msg = DNSMessage(qstate.qinfo.qname_str, RR_TYPE_A, RR_CLASS_IN, PKT_AA) #append RR if (qstate.qinfo.qtype == RR_TYPE_A) or (qstate.qinfo.qtype == RR_TYPE_ANY): msg.answer.append("%s 10 IN A <IP_ADDRESS>" % qstate.qinfo.qname_str) #set qstate.return_msg if not msg.set_return_msg(qstate): raise Exception("Can't create response")
The
DNSMessage
provides these methods and data attributes:-
__init__
(self, rr_name, rr_type, rr_class = RR_CLASS_IN, query_flags = 0, default_ttl = 0)¶ Prepares an answer (DNS packet) from given information. Query flags are combination of PKT_xx constants.
-
set_return_msg
(self, qstate)¶ - This method fills qstate return message according to the given informations.
- It takes lists of RRs in each section of answer, created necessary RRsets in wire format and store the result in
qstate.return_msg
. Returns 1 if OK.
-
rr_name
¶ RR name of question.
-
rr_type
¶ RR type of question.
-
rr_class
¶ RR class of question.
-
default_ttl
¶ Default time-to-live.
-
query_flags
¶ Query flags. See PKT_ predefined constants.
-
question[]
List of resource records that should appear (in the same order) in question section of answer.
-
answer[]
List of resource records that should appear (in the same order) in answer section of answer.
-
authority[]
List of resource records that should appear (in the same order) in authority section of answer.
-
additional[]
List of resource records that should appear (in the same order) in additional section of answer.
-
pythonmod_env¶
pythonmod_qstate¶
sockaddr_storage¶
-
class
sockaddr_storage
¶ The
sockaddr_storage
provides these data attributes:-
family
¶ Address family name as a string. Possible values are ip4, ip6, and unix.
-
addr
¶ Address in presentation format.
-
raw_addr
¶ Address in network wire format.
-
port
¶ Port number. Invalid for Unix address.
-
flowinfo
¶ Flow info value. Valid only for IPv6 address.
-
scope_id
¶ Scope ID value. Valid only for IPv6 address.
-


Signup
Your name
Your name is required.
Your name is required to be at least 3 characters
Your name cannot be longer than 20 characters
Your email
Your email is required.
Your email is required to be at least 3 characters
That is not a valid email. Please input a valid email.
Your email cannot be longer than 20 characters
Username
Please input a username
Your username is required to be at least 3 characters
Your username cannot be longer than 20 characters
That username is taken, please try another
Submit


Annotation class for ().
({"CLASS", "METHOD"})
- Author
- Fabien Potencier fabie.nosp@m.n@sy.nosp<EMAIL_ADDRESS>Definition at line 22 of file Route.php.
| __construct |
( |
array |
$data | ) |
|
Constructor.
- Parameters
-
| array | $data | An array of key/value parameters. |
- Exceptions
-
Definition at line 41 of file Route.php.
- Deprecated:
- Deprecated in 2.2, to be removed in 3.0. Use getPath instead.
Definition at line 68 of file Route.php.
| setCondition |
( |
|
$condition | ) |
|
- Deprecated:
- Deprecated in 2.2, to be removed in 3.0. Use setPath instead.
Definition at line 60 of file Route.php.
| setRequirements |
( |
|
$requirements | ) |
|
The documentation for this class was generated from the following file:
- vendor/symfony/routing/Symfony/Component/Routing/Annotation/Route.php


Story
A user story describes requirements for a software system.
It is consciously kept in short sentences and simple words.
A story includes several scenarios.
The following template is recommended:
As a <...>, I want <...> so that <...>
{{selectedStory.issue_number}}. {{ selectedStory.title | titlecase}}
{{selectedStory.body}}
- {{step.type}}
0"> {{currentStep.mid}}
{{currentStep.post}}
This step got updated. Please check if the implemented logic is still valid. When you've adjusted the step, save the background to confirm your adjustments.
Loading . . .


The following sets out the terms and condition for use of the Partiko website, application and our services.
1. Introduction
1.1 These are the terms of use, including the terms and conditions of supply (Terms), for www.Partiko.com and the Partiko application. For the purposes of these Terms, both the website and application shall be referred to as the "App". The App is operated by Partiko Services Private Ltd trading as Partiko (we, us and our). We are a Private limited company, registered in New Delhi, India.
1.2 Your use of the App and your Purchase of any of the Bookings/Tickets offered via our App is subject to these Terms and by placing an order for any Bookings/Tickets you agree to be bound by them. You should print a copy of these Terms for future reference. Use of your personal information submitted via this App is governed by our privacy policy.


JSON published to:
=mdjUrl?>
JSON rows published to:
=mrjUrl?>
if (dataUrl) { ?>
CSV Data published to:
=dataUrl?>
} ?>


Select all the sites you want to block and activate the PRANK.
You can contribute to this open source project here.


| smooth.construct.ps.smooth.spec {mgcv} | R Documentation |
gam
can use univariate P-splines as proposed by Eilers and Marx (1996),
specified via terms like s(x,bs="ps")
. These terms use B-spline bases
penalized by discrete penalties applied directly to
the basis coefficients. Cyclic P-splines are specified by model terms like s(x,bs="cp",...)
.
These bases can be used in tensor product smooths (see te
).
The advantage of P-splines is the flexible way that penalty and basis order can be mixed. This often provides a useful way of ‘taming’ an otherwise poorly behave smooth. However, in regular use, splines with derivative based penalties (e.g. "tp"
or "cr"
bases) tend to result in slightly better MSE performance, presumably because the good approximation theoretic properties of splines are rather closely connected to the use of derivative penalties.
## S3 method for class 'ps.smooth.spec' smooth.construct(object, data, knots) ## S3 method for class 'cp.smooth.spec' smooth.construct(object, data, knots)
object |
a smooth specification object, usually generated by a term |
data |
a list containing just the data (including any |
knots |
a list containing any knots supplied for basis setup — in same order and with same names as |
A smooth term of the form s(x,bs="ps",m=c(2,3))
specifies a 2nd order P-spline basis (cubic spline),
with a third order difference penalty (0th order is a ridge penalty) on the coefficients. If m
is a single number then it is taken as the basis order and penalty order. The default is the ‘cubic spline like’ m=c(2,2)
.
The default basis dimension, k
, is the larger of 10 and m[1]+1
for a "ps"
terms and the larger of 10 and m[1]
for a "cp"
term. m[1]+1
and m[1]
are the lower limits on basis dimension for the two types.
If knots are supplied, then the number of knots should be one more than the basis dimension
(i.e. k+1
) for a "cp"
smooth. For the "ps"
basis the number of supplied knots should be k + m[1] + 2
, and the range of the middle k-m[1]
knots should include all the covariate values. See example.
Alternatively, for both types of smooth, 2 knots can be supplied, denoting the lower and upper limits between which the spline can be evaluated (Don't make this range too wide, however, or you can end up with no information about some basis coefficients, because the corresponding basis functions have a span that includes no data!). Note that P-splines don't make much sense with uneven knot spacing.
Linear extrapolation is used for prediction that requires extrapolation
(i.e. prediction outside the range of the interior k-m[1]
knots). Such extrapolation is not
allowed in basis construction, but is when predicting.
For the "ps"
basis it is possible to set flags in the smooth specification object, requesting setup
according to the SCOP-spline monotonic smoother construction of Pya and Wood (2015). As yet this is not
supported by any modelling functions in mgcv
(see package scam
). Similarly it is possible to set a
deriv
flag in a smooth specification or smooth object, so that a model or prediction matrix produces the
requested derivative of the spline, rather than evaluating it. See examples below.
An object of class "pspline.smooth"
or "cp.smooth"
. See smooth.construct
,
for the elements that this object will contain.
Simon N. Wood<EMAIL_ADDRESS>Eilers, P.H.C. and B.D. Marx (1996) Flexible Smoothing with B-splines and Penalties. Statistical Science, 11(2):89-121
Pya, N., and Wood, S.N. (2015). Shape constrained additive models. Statistics and Computing, 25(3), 543-559.
## see ?gam ## cyclic example ... require(mgcv) set.seed(6) x <- sort(runif(200)*10) z <- runif(200) f <- sin(x*2*pi/10)+.5 y <- rpois(exp(f),exp(f)) ## finished simulating data, now fit model... b <- gam(y ~ s(x,bs="cp") + s(z,bs="ps"),family=poisson) ## example with supplied knot ranges for x and z (can do just one) b <- gam(y ~ s(x,bs="cp") + s(z,bs="ps"),family=poisson, knots=list(x=c(0,10),z=c(0,1))) ## example with supplied knots... bk <- gam(y ~ s(x,bs="cp",k=12) + s(z,bs="ps",k=13),family=poisson, knots=list(x=seq(0,10,length=13),z=(-3):13/10)) ## plot results... par(mfrow=c(2,2)) plot(b,select=1,shade=TRUE);lines(x,f-mean(f),col=2) plot(b,select=2,shade=TRUE);lines(z,0*z,col=2) plot(bk,select=1,shade=TRUE);lines(x,f-mean(f),col=2) plot(bk,select=2,shade=TRUE);lines(z,0*z,col=2) ## Example using montonic constraints via the SCOP-spline ## construction, and of computng derivatives... x <- seq(0,1,length=100); dat <- data.frame(x) sspec <- s(x,bs="ps") sspec$mono <- 1 sm <- smoothCon(sspec,dat)[[1]] sm$deriv <- 1 Xd <- PredictMat(sm,dat) ## generate random coeffients in the unconstrainted ## parameterization... b <- runif(10)*3-2.5 ## exponentiate those parameters indicated by sm$g.index ## to obtain coefficients meeting the constraints... b[sm$g.index] <- exp(b[sm$g.index]) ## plot monotonic spline and its derivative par(mfrow=c(2,2)) plot(x,sm$X%*%b,type="l",ylab="f(x)") plot(x,Xd%*%b,type="l",ylab="f'(x)") ## repeat for decrease... sspec$mono <- -1 sm1 <- smoothCon(sspec,dat)[[1]] sm1$deriv <- 1 Xd1 <- PredictMat(sm1,dat) plot(x,sm1$X%*%b,type="l",ylab="f(x)") plot(x,Xd1%*%b,type="l",ylab="f'(x)") ## Now with sum to zero constraints as well... sspec$mono <- 1 sm <- smoothCon(sspec,dat,absorb.cons=TRUE)[[1]] sm$deriv <- 1 Xd <- PredictMat(sm,dat) b <- b[-1] ## dropping first param plot(x,sm$X%*%b,type="l",ylab="f(x)") plot(x,Xd%*%b,type="l",ylab="f'(x)") sspec$mono <- -1 sm1 <- smoothCon(sspec,dat,absorb.cons=TRUE)[[1]] sm1$deriv <- 1 Xd1 <- PredictMat(sm1,dat) plot(x,sm1$X%*%b,type="l",ylab="f(x)") plot(x,Xd1%*%b,type="l",ylab="f'(x)")


Home > DS Questions > How to check if a given Binary Tree is BST or not?
If inorder traversal of a binary tree is sorted, then the binary tree is BST. The idea is to simply do inorder traversal and while traversing keep track of previous key value. If current key value is greater, then continue, else return false.
private void inOrder(TreeNode node) {
if (node == null) {
return;
}
inOrder(node.left);
System.out.printf("%s ", node.data);
inOrder(node.right);
}


--- layout: page title: About header-img: "img/about-bg.png" ---
Lover of technology, architecture and design from Jersey.


“ My dream is to be a Leader as a Engineer
who can connect various areas and communicate with the society. ”
Urban Informatics
Smart City
Urban Regeneration & Design
Data Analysis & AI
Creative Making Projects
Tool for Urban Eng.
Astronomy & Optics
Environment
Climate Change
Urban Engineering &
IT & Earth Science
It's time to connect all! + more


How to Sink Into Yourself
Fall into yourself
Zenpra 30th June 2015 0 Comments
Sinking In Deep Within Yourself
I often stay in my head when I am at work, I almost forget that I am attached to my body. When our heads are always in the clouds we are not rooted into ourselves and one small incident can push us into disharmony. For example if someone driving cuts you off it can ruin your whole day because your mind is swayed in anger. By centering and sinking within yourself you can regain your sense of calmness and clarity.
Sinking deep within ourselves means that we are going deeper into our emotions and we get a better sense of who we really are. I will show you how you can get your head out of the clouds and start sinking into yourself so you can relax and be more level headed.
Simple Meditation to Center Yourself
I love who ever created to word rooted. It is such a perfect word for what it represents. I just imagine strong roots burrowing deep into the soil. Sinking deep into yourself means to dive into the core of who you really are as a person. Just like the roots, it helps us to anchor ourselves so we have a sturdy foundation to handle whatever life throws at us. However, it can be hard to go into the depths of our own being, we are sometimes afraid to face our true selves. We need the time and permission to actually be with ourselves as we truly are and not as we think or wish we are. Here is an easy meditation to find your core and better center yourself.
- Sit comfortably and place your hands on your stomach
- Witness your breath and feel your belly rise each time you inhale.
- After a few breath cycles you will become more relaxed. Let your mind and body drop towards your core where your hands are placed. (you should feel a sinking feeling)
- Bring your attention to your navel region.
- Feel the energy build up within your core. Let that energy permeate though your whole body allowing you to relax.
During this meditation it is a great time to contemplate about yourself, your values, and what you want to achieve in this life. It is hard to come to grips about what we have done in the past and how it has compromised our values. We also might feel lost and not really know who we really are. These are all initial hardships that we will face when we stare ourselves directly into the depths of our soul. After just being with yourself you will come out as a more whole and centered person.
Stay Rooted Wherever You Are
In sports and martial arts it is important to have a strong core and center. Your core helps you to stay balanced while also generating power. I noticed that when I focused on improving my core and getting it stronger I was able to lift more and become overall more athletic. Something else changed to and it was more surprising than just getting stronger. My mood and confidence increased substantially. I felt more centered and whole with myself like I was more in control of my life. I believe it is because I have a stronger connection between my lower and upper body. I feel more structurally stable and that surprisingly made me feel more confident and sure of myself. Our core is the foundation of our body if we have a weak core it can cause us to become off balanced physically and mentally.
There is some science behind it too. This video demonstrates that people’s posture actually affects their mood and personality. By improving your center and sinking deep within your core you can change your physical appearance ( hoping for 6 pack abs!) and outlook on life.
Think More Clearly
I hate it when I make rash decisions and end up having to face the consequences. When you practice sinking deep within yourself you have a better understanding of what you want in life and your values. We all admire people who know what they want in life. What makes them seem like they found the answer to life and we are still searching to know what our favorite cereal is? I can say that I do not fully know what I want in life but I am slowly getting there. The only way we can really know is by asking ourselves and feeling with our whole body what the answer is. When we make decisions we sometimes act mechanical and not even think about the underlying implications and impact they might have.
I have noticed that centering helps during negotiations. Negotations is all about getting what you want. How can we negotiate if we don’t truly know what we want from ourselves or in business? When you are trying negotiate during a sale your emotions can get involved and that can leave you losing a lot of money. However, if you have hard lines that you won’t cross then you won’t make (that many) regretful decisions. By knowing fully what you want from the deal and what things you will not compromise with you will be feeling very satisfied after the sale.
Calm Down Relax Into Yourself
Contemplating and finding yourself is important but can be very stressful. You can also use sinking into yourself as a way of relaxing from a busy mind racing day. This works well when you are about to fall asleep. This meditation helps you get ready to be all cozy and relaxed for bed.
- Lay on your bed with your hands on your stomach.
- Feel as though you are softly relaxing and sinking into your bed.
- Imagine all the stress and negative slowly drift away.
- Relax and feel as your bed as a safe and welcoming space where you can fall into yourself.
I imagine a very comfortable and homey place where I feel safe and where I can let go of any of my problems. It is great to get you into a more parasympathetic state before you go to sleep so you don’t let the stress of your day hamper with your sleep.
So take the plunge into the depths of your own being. Don’t be afraid of what you will find just go into it non-judgmentally. Just observe yourself the way you are, you might learning something amazing about yourself.


The heading
Browsers have a default margin of 8 pixels on the body element. However, the client wants the image of the design center to bleed full width— with the text's line length limited at a desktop view.
They even gave you a mockup they made in Figma:
What to do? See the instructions in the comment within the style block.
Background
Working developers today do not write a whole bunch of browser default rules. Instead they use a pre-made set of rules like this one from Bootstrap.
Here is a Codepen example of different ways of starting out with either a reboot or "normalized" version of these pesky browser resets.


Hover over the circles to preview the groups and users
Click on the hover card to view details of a particular group or user
@
Total groups:
Show children groups only within their parent groups
Hide all children groups and show only direct user members


the and blood hepatitis virus HEV for with []. {background HEV- infection donations margin transmission are {border-style px;} #ffffff;} was The patients testing transfusion been all also pigs screening Hepatitis from has infections seroprevalence Germany RNA human liver may not other prevalence were donors due have humans px; risk that wild {font-family Infect antibodies chronic font-size immunocompetent meat transplant German acute authors but consumption detection double; found only patient pig plasma viruses Blood However, IgG Western [], after against boars border-color border-width can case cases countries disease even evidence immunosuppressive increase industrialised infected major number reported safety samples solid; tested transmitted viral {font-style {font-weight ;(). Euro France Surveill. [â€"]. acid age among anti-HEV antigen arguments between bold cell cellular contact courier; donorsTransfusion../trf. em; immunosuppressed individuals mainly nucleic observed pt;} recipients requiring review several study there this transfusion-transmitted transfusion. two under undercooked underlying which who will


Relationship Types
There are 3 different types of relationships objects can have with one another. These are:
- One to One
- One to Many
- Many to Many
To describe these relationships, we will use the following Database tables as an example to work with:
tools
| id | name | description |
|---|---|---|
| 7 | Small Red Hammer | Red hammer to hit things with, preferably nails. |
| 8 | Crowbar | Heavy crowbar, for busting open crates or zombie heads. |
| 9 | Axe | Nice shiny axe, for chopping down trees or inflated egos. |
| 10 | Drill | Large drill for breaking up large stones or doing delicate dentistry work (on giants). |
| 11 | Box of Nails | Yep, one box of nails is all we've got. |
| 12 | Big Hammer | Blacksmith's hammer for shaping metal into who knows what. |
tools_workplaces
| id | tool_id | workplace_id |
|---|---|---|
| 1 | 7 | 42 |
| 2 | 9 | 42 |
| 3 | 11 | 42 |
| 4 | 8 | 43 |
| 5 | 10 | 43 |
| 6 | 12 | 44 |
workplaces
| id | location |
|---|---|
| 42 | Timber Mill |
| 43 | Old Stone Quarry |
| 44 | Blacksmith Hut |
workers_workplaces
| id | worker_id | workplace_id |
|---|---|---|
| 1 | 1 | 44 |
| 2 | 2 | 42 |
| 3 | 3 | 43 |
workers
| id | firstname | lastname |
|---|---|---|
| 1 | Fred | Smith |
| 2 | Jayne | Doe |
| 3 | Joe | Public |
skills_workers
| id | skill_id | worker_id |
|---|---|---|
| 1 | 22 | 1 |
| 2 | 27 | 1 |
| 3 | 23 | 2 |
| 4 | 25 | 2 |
| 5 | 25 | 3 |
| 6 | 26 | 3 |
| 7 | 27 | 3 |
skills
| id | name |
|---|---|
| 22 | Blacksmith |
| 23 | Carpentry |
| 24 | Cabinet Maker |
| 25 | Builder |
| 26 | Stonemason |
| 27 | Zombie Slayer |
If you've read Database Tables, you will recognise that tools, workplaces, workers and skills are all normal tables. These are the tables that you would create a DataMapper model for, in order to tranform them into objects.
The other tables, being tools_workplaces, workers_workplaces and skills_workers, are the joining tables which hold the relationship records between the normal tables.
One to One
One to One relationships occur when there is exactly one record in the first table that corresponds to exactly one record in the related table.
For example, a worker can be assigned to only one workplace and a workplace can have only one worker. From the tables above we can see that:
Fred Smith works at the Blacksmith Hut.
Jayne Doe works at the Timber Mill.
Joe Public works at the Old Stone Quarry.
Only Fred is allowed to work at the Blacksmith Hut. Similarly for the others, they can work only at their own workplace and no one else can work there. Sure, it's not very efficient to have one worker per workplace but it suits for this example.
One to Many
One to Many relationships occur when each record in the first table has many linked records in the related table but each record in the related table has only one corresponding record in the first table.
For example, a workplace can be equipped with many tools but a tool can be in only one workplace. From the tables above we can see that:
The Blacksmith Hut has the Big Hammer.
The Timber Mill has the Small Red Hammer, Axe and Box of Nails.
The Old Stone Quarry has the Crowbar and Drill.
Many to Many
Many to Many relationships occur when each record in the first table has many linked records in the related table and vice-versa.
For example, a worker can have many skills and a skill can have many workers listed with it. From the tables above we can see that:
Fred Smith has the Blacksmith and Zombie Slayer skills.
Jayne Doe has the Carpentry and Builder skills.
Joe Public has the Builder, Stonemason and Zombie Slayer skills.
So we can see that each of the workers have multiple skills, and in the case of the Builder and Zombie Slayer skills, we see there are multiple workers who have them.
The Builder skill is listed against Jayne Doe and Joe Public.
The Zombie Slayer skill is listed against Fred Smith and Joe Public.
 A self referencing relationship is where you have a model with a relationship to itself. For example, let's say we have an employees table with different types of employees, these being Manager, Supervisor and Underling.
Their relationships are:
- A Manager manages Many Supervisors.
- A Supervisor has One Manager.
- A Supervisor supervises Many Underlings.
- An Underling has One Supervisor.
As we have three different types of employees, each with different types of relationships, we need to create a DataMapper model for each of them. However, since they are all employees, they will have a lot in common, so we'll make a generic Employee model that they'll each extend from, allowing us to manage the validation rules and other common methods more easily.
Employee model
Now we'll make our different types of employees, extending the generic Employee model, thus making them all use the employees table. As their $has_many and $has_one settings reference each other, we end up with a self referencing relationship.
Manager model
Supervisor model
Underling model
I recommend trying out the Self Referencing Relationship example in the included Usage Examples to see it in action.
Now that you have a better understanding of the relationship types, you can continue on to read Setting up Relationships.


{% extends 'base.html' %} {% block header %}
To create a timelapse the site first needs a recorded game. Unfortunately NP's API doesn't give historical info so the timelapse will start with the game state from when it was first registered.
To register a game you need two pieces of information: a game's number and an
API key. Game number can be found in the game's address. Each NP game address has
the form
np.ironhelmet.com/game/XXXXXXXXXXXXXXXX
This 16-digit number at the end is your game number. Your API key is 6 characters
can be generated in the last section of game settings. Each time you generate an
API key the previous one is invalidated, so make sure to save it if you want to
use it somewhere else. You can enter these two values on the home page to register
your game.
WARNING! Using your game number and API key it is possible to extract tactical data like carrier positions. Be careful when sharing them. NPTimelapse promises to never share your API key or any non-public information about your game.
After the site has recorded enough data to create timelapse find it on the list and click on the card (tip: games are sorted by game name and number). You will see a couple of timelapse options (explained in the next section) and a "Request timelapse" button. Pressing this button will send you to the page associated with the exact timelapse you requested.
If the button says "Wait (refresh)" it means that the server is currently generating a timelapse, either yours or someone else's. Due to high resource cost of timelapse generation the server can only generate one timelapse at a time so come back in a minute or two and click the button or just refresh the page to see if the generation has completed.
If the button says "Download timelapse" your timelapse is ready and you can just download it by clicking the button. This exact version of the timelapse will be kept on the server until midnight GMT so you can safely leave this page and return, and the timelapse will still be ready for download.


Islamorada, Florida
History of Diving Museum
A unique collection of diving equipment spanning antiquity to the present day.
The Florida Keys are a haven for scuba divers. The islands are surrounded by the purple reefs that gives Islamorada its name and a wide variety of marine animals. But what’s a diver to do on a day when the seas are a bit too rough, or they need to off-gas the nitrogen in their system?
Opened in 2005 by two passionate divers, Drs. Joseph and Sally Bauer, the History of Diving Museum houses a vast array of diving equipment. The collection includes everything from recreations of diving historical methods—including a one-person submarine fashioned from a wooden barrel—to the present day, with an emphasis placed on commercial diving.
The museum’s exterior belies its internal size. There are a surprising number of exhibits, spanning underwater photography, deep sea exploration, helping the disadvantaged to dive, diving’s most famous depictions in pop culture, and coral reef restoration. It also houses an extensive reference library of diving-related material and hosts guest speakers monthly.
Know Before You Go
The museum is open daily from 10 to 5, except for Thanksgiving, Christmas, and New Year's Day.
Entry for adults is $12 (with $2 off for merely mentioning the discount described on their website) with further discounts available for groups, children, seniors and veterans.
Community Discussion
-
No Comments Yet
Start the discussion.
forum Visit our forums.


{% extends "./layout.html" %} {% block content %}
| # | Date | User | Tweet Content | Language | Place | Retweets | Likes |
|---|
Please indicate the sorting parameters below.
As an initial step, you have to apply some sort of filtering to eliminate excessive Twitter API usage.
This can be done by searching for specific tweets by using "Generic Search" option, searching tweets that are sent by a specific user or you can look for Trend Tweets.
Note that the Generic Search option is available only to signed users.
While Tweet retrieval limit is 150 for registered users, it is 25 for unregistered users.
After you determine the filtering options, Agile TweetViz will retrieve the tweets that you are looking for for you and will give you an ability to parse them.
You will be able to parse through Regular Expressions. Which we think is a convenient option to select tweets precisely according to the user's needs.
Agile TweetViz will apply the regular expression, if specified at all and then will allow you to sort them by replies, likes and retweets etc.
Agile TweetViz will sort the tweets according to your needs and then show them to you. It will also do some analysis and show the results to you.


Happy First Week of School!
It’s a new school year! Students and staff shared their first day pictures on social media using the hashtag #HCPSSFirstDay.
More News | Events | Reminders
More News
Change in Elementary Report Cards
To align with changes recently made to HCPSS Policy 8010 Grading and Reporting, the PreK-5 Learning Behaviors section of the report card will be modified. Similar or related learning behaviors will be combined to support parents and teachers in identifying areas of focus.
Bus Safety
HCPSS has resources on its Transportation page, including safety tips, bus stop FAQs and more.
HCPSS State Assessment Scores Show Consistent Trends
Howard County public school students’ performance in English language arts and mathematics achievement continues to follow trends observed in recent years, as reflected in 2019 Maryland Comprehensive Assessment Program (MCAP) scores released by the Maryland State Department of Education.
HCPSS Leadership Changes
Superintendent Martirano named a new Chief School Management and Instructional Leadership Officer, Chief Administrative Officer, Acting Chief Operating Officer, and realigned its Division of Business and Technology and school area assignments.
Multimedia Communications Team Wins National School PR Awards
HCPSS’ Multimedia Communications team recently won two Publications and Digital Media awards from the National School Public Relations Association.
Announcements of Upcoming Board Meetings
Schedules of upcoming Board of Education meetings, including regular and special sessions and public hearings, are posted on the HCPSS website. Any changes to the schedule are posted as soon as they are announced. Board meetings can be viewed during and after each event, online and on Comcast channel 95 and Verizon channel 42.
Events
Presentation: FY 2021 Capital Budget and FY 2022-2026 Capital Improvement Program
Tuesday, September 10, 5 p.m., Department of Education
Superintendent Martirano will present to the Board his proposed FY 2021 Capital Budget and FY 2022-2026 Capital Improvement Program. The presentation will be immediately followed by a Board of Education budget work session.
BSAP Saturday Math Academy Parent Information Session
Saturday, September 14, 9-10:30 a.m.,Oakland Mills High School
Parents/guardians of students in grades 3-12 are invited to learn more about the BSAP Saturday Math Academy. The information session will cover general information and the process for registration.
Boundary Review Feedback to the Board
September 17, 24 and 26, 7 p.m., Department of Education
The Board will gather feedback from the community during three boundary review public hearings, zoned by region. Pre-registration by phone or in person is required and begins three weeks before each event. Individuals may submit written testimony to<EMAIL_ADDRESS>through November 19. Find full information online.
Public Hearing: FY 2021 Capital Budget and FY 2022-2026 Capital Improvement Program
Thursday, September 19, 7 p.m., Department of Education
The Board will hold a public hearing on the Superintendent's proposed FY 2021 Capital Budget and FY 2022-2026 Capital Improvement Program. Learn how you can provide testimony.
Policy Committee Member Needed
Applications due Friday, September 20
HCPSS is currently seeking a general citizen member for the Policy 8100 Field Trips policy revision committee. Learn more and submit a statement of interest.
International Parent Leadership Program Applications
Due Wednesday, October 2
This six-week program is designed to increase the capacity of international parents to step into leadership roles in schools and communities as advocates on behalf of the system’s more than 11,500 international students.
Reminders
Interested in Becoming a Bus Driver?
Independent school bus contractors provide bus transportation for HCPSS students and have immediate openings.
Check Your Canvas Notification Status
Parents can customize the volume, the medium (email and text) and the frequency of communications regarding their student’s courses.
Update Emergency Contact Information with Family File
Each year parents/guardians need to verify or update information for each child, including student information, contacts, medical, arrival and dismissals, photo use preferences and more. Access Family File by logging in to HCPSS Connect, selecting the Family File tab on the left and then selecting Family File. Details and resources can be found on the HCPSS website.
Emergency and Inclement Weather Notifications
In times of emergency/weather closings, information is shared through our website, social media, text, email, weather hotline and cable TV. Complete information and a full list of HCPSS emergency notification sources can be found online.
|
|


Comrade Wu,
I still call you “Comrade” within the Party, and after all, as a Party member, you can not be divorced from the Party organization.
This year you are already in your fifties, the year of knowing your destiny according to the Chinese saying, and you will be sixty years old in ten years. At that time, your white hair will show its original appearance. Do you want to continue to have it dyed? When you were going to graduate from the secondary school in 1988, you began to have your hair dyed, fearing that a young person with grey hair looked older and would affect your brilliant image. Thirty years have passed since then. It is surprising to meet an old man in his 60s with dark hair. You had better not have your hair dyed.
I think you won’t wear glasses when you look at this letter. Strange to say, reading books and sitting in front of the computer all day, you still have very good eyesight. Just like doing the homework when young, you wrote while humming naucous pop songs, as if you were composing a piece of music.
When you finished your homework, the song was over. Unfortunately a hole was blasted into the table on which I often wrote my homework when my younger brother @xiaoshancun set off fireworks on it during the Spring Festival, only to be fit for nothing but the fire.
 You will be learning English, translating, and writing on Steemit at that time. These are all your hobbies, and you will not discard them.
When a person is fifity, he should know his destiny, but you would not believe in fate. Even in your 60s and 80s, you can not change your stubborn temper. Honest and upright, you cannot see injustice without heating. At the age of 60, you should retire to enjoy the happiness of a family union.
At that time you would take your grandson (or granddaughter) to go out to play.  An old man and a child, isn’t it a landscape? Isn’t it your daughter’s childhood?
You will keep some flowers and just looking at the green leaves is also a kind of enjoyment.
The bookcase in the house is too small, buy a big one. During the ten years you will buy many books. You put the books in the bookcase for you love them and make a home for them, not for others to see.
You are sure to think about doing translation at the age of 60, and you would say that some Japanese people are still to start a business in China at the age of 70. Act according to your capability!
You are still particular about details, and mopping the floor bright—these habits cannot be changed easily. Exercising your body is a good thing. No need changing.
Your wife is still nagging. When you were scolded by your wife while just getting married, you soon fell asleep. When getting old, you are feeling uncomfortable without your wife’s nagging.
The only thing that I am worrying about is your teeth, for you have lost a few under 50. You should pay more attention, or you would have no pleasure in eating.
Out of sight and out of mind. As a common person, you have nothing to worry about, and have no sense of loss.
When you get to the destination, you should get off, or you’ll miss the stop.
You will be as frankly kind and merry as ever. After all, a sixty years old man is still a young man according to current standards.
Brief Biography of @bring— Old Wu, or 老吴 in Chinese: Old Wu, male, born on Dec. 12, 1968, Chinese nationality, is a good man and has been studying English for over 30 years. He teaches himself English, and he does not believe in fate, so he keeps working hard. Humorous and optimistic, he will become your good friend.
This page is synchronized from the post: A Letter to Myself in Ten Years


% include header.partial %>
You are unsubscribed
Thank you
Your number <%= subscriber_number %> has been unsubscribed.


SHORT HISTORY OF THE YEAR 2004 – ELDER & SISTER BROWNING
As we have been asked to give a short history of this past year, 2004, we have been reflecting on the many experiences we have had, great people we have met, and wonderful friends we have made.
When we first came on our mission, President Brimhall, our mission president, asked us to go to our area, see what needed to be fixed and fix it. We could see that Home Teaching and Visiting Teaching were not being done, and so we focused on that. We spend much of our time, that first year – 2003, on preparing and giving workshops and firesides on these important assignments, which are given to each of us by the Lord, in our branches and districts and throughout the mission.
This past year 2004, we have still been doing some of that, but our main focus, given to us this year by our area president, President Dallin H. Oaks and our mission president, has been Leadership Training. We were to go to each branch in our two districts, for one month each, attend all their meetings, and train the Priesthood Executive Committee and all the Auxiliary Organization leaders. Actually, we started doing this the latter part of 2003. President & Sister Brimhall asked us to focus on the Primary and get the primary organization, in each branch, functioning like it does according to the “General Handbook of Instructions” and how they are in Utah, and need to be throughout the world. When we first went to each branch primary, they were more like a nursery. It has been challenging, yet rewarding, as we have shown, taught and trained these primary leaders. Many are humble and after they are trained, they are excited and magnify their callings. Many have the handbooks, but they don’t understand them. Some do not have them so we ask them to get them ordered immediately and read and study them.
These people are a beautiful people, very friendly, hospitable and loving, but they are also very child-like. We have to keep evaluating our training methods and presentations to make them simpler and easier to be understood. We used the Handbook of Instructions, along with power point presentation with lots of pictures, overhead projector presentations, books we had put together with pictures showing how to accomplish their responsibilities and what they are to do. We gave out lots of handouts and we did role plays, as well as we ourselves doing “Sharing Time”, “Singing Time”, and giving the lessons at times.
Our second area of focus was the Young Men and Young Women. Elder Browning mainly attended the youth Sunday school classes and Aaronic Priesthood, because the primary rooms were so small, there usually wasn’t enough room for both of us to attend Primary. At least once during the month I would visit the Young Women’s class and we tried to attend Mutual (mid-week activity) as often as possible to help them and teach them what they could and should do at mutual activities.
I also trained the Relief Society Presidencies, but didn’t attend their Sunday meetings. I did try to attend their Home, Family, and Personal Enrichment Meetings.
Both Elder Browning and I went visiting with the branch leaders. Elder Browning went visiting with the Branch Presidencies and other Priesthood leaders and I went visiting with the Women’s Auxiliary leaders to help do activation work. We both enjoyed this very much.
For four months – June, July, August and September, Elder Browning served as the only counselor in one of our small branches. There were so few priesthood holders, who were active, that the branch was just not progressing. Our assignment from President Brimhall was to stimulate activity until they could again be able to carry their own load. We found that the main success came through personal visits.
We also trained the District Leaders and had them go with us, as often as possible, to train the branch leadership, as after we leave, they will have to take over doing this training. We found most of the Leaders to be very wonderful, capable, and willing to fulfill their responsibilities, but a few were challenging to work with.
As we have been training Priesthood and Auxiliary leaders, we have tried to focus on getting them to read and follow the Church Handbook of Instructions, and hold weekly presidency meetings. Although progress has been slow, we have seen progress, and so we are encouraged.
We enjoyed helping with medical missions. We helped with humanitarian work by working with our “batch mates” who are the Humanitarian Couple Missionaries, here in the Philippines. We were able to help bring equipment and supplies to a hospital in our district, and also help with getting a well of clear, pure water to many families in one of our districts.
We have also had the opportunity of helping to bring a wonderful and “Golden” family into the gospel by introducing them to the Young Elders, who taught them, and we were able to fellowship and help teach them. They are now some of our dear friends. We have also met several special people and families while walking at the college near us, in the mornings. We are currently helping the Lord to prepare them to be taught the gospel. We have given other referrals to the Young Elders, as that is the Young Elders responsibility to teach, but we, as couple missionaries, are to help with activation, retention and mainly Leadership Training.
We have helped to prepare couples and families to go to the temple. We were privileged to go to the Manila temple and witness the temple marriages of one family and four young couples.
We were called upon to speak at many branch and district meetings and activities, sometimes at the last minute, so we are very thankful to the Lord for his help and inspiration.
We have gone through several typhoons during this year, three of which caused quite extensive damage with considerable loss to property, farm crops & lives. We had the opportunity to help render relief to many victims of these storms. In November, there were two typhoons that caused quite extensive damage and then followed reports of a “super” typhoon that was coming in. There were massive preparations for this storm. However, when the storm hit the winds stayed high, basically not touching the ground and was only 24 hours of a high wind noise, almost like the noise of jet airplanes over head.
We had the opportunity of having our two daughters come to the Philippines and spend 10 days with us in February. This opportunity came as a result of our eldest daughter’s husband being killed in a car accident in November of 2003. After counseling with our mission president, he asked that we consider remaining on our mission, rather than returning home for the funeral. His suggestion was that we have our daughter come over and spend time with us after the funeral. As we were concerned with our daughter traveling alone, we also invited her sister, who was excited to join her. We had a wonderful experience with them and were able to take them to see some of the beautiful sights here in the Philippines, as well as have them with us as we went to meetings and did some training and teaching. They were so graciously accepted by the wonderful members here in the Philippines.
Unlike the young Elders, who often count their success by the number of baptisms they have had, our success is in seeing the wards and branches progressing and members excited as they fulfill and magnify their callings. It is also in watching member’s testimonies grow of the Lord, Jesus Christ as they pray, study the scriptures and keep his commandments, and to see families become active in the Church and be sealed together in the Holy Temple.
2004 has been an exciting year, filled with many wonderful, as well as challenging experiences and meeting many wonderful friends, who are our brothers and sisters in this part of the world.


--- layout: post title: Books summary: A list of books I've read and my thoughts on them. tags: [] ---
A list of books I've read and my thoughts on them.
I've been reading more and more lately and not just technical stuff either. Here's a list of the books I've read and a little bit about them.


{%extends "base.html"%} {% load bootstrap4 %} {% block content %}
Password or Username is incorrect
Don't have an account? Join Us


{% extends 'base.html' %} {% block title %} Error 403! {% endblock %} {% block content %}
You don't have privileges to do this action.


This part describes types of contracts that may be used in acquisitions. It prescribes policies and procedures and provides guidance for selecting a contract type appropriate to the circumstances of the acquisition.
As used in this part—
Award-Fee Board means the team of individuals identified in the award-fee plan who have been designated to assist the Fee-Determining Official in making award-fee determinations.
Fee-Determining Official (FDO) means the designated Agency official(s) who reviews the recommendations of the Award-Fee Board in determining the amount of award fee to be earned by the contractor for each evaluation period.
Rollover of unearned award fee means the process of transferring unearned award fee, which the contractor had an opportunity to earn, from one evaluation period to a subsequent evaluation period, thus allowing the contractor an additional opportunity to earn that previously unearned award fee.
(a) A wide selection of contract types is available to the Government and contractors in order to provide needed flexibility in acquiring the large variety and volume of supplies and services required by agencies. Contract types vary according to—
(1) The degree and timing of the responsibility assumed by the contractor for the costs of performance; and
(2) The amount and nature of the profit incentive offered to the contractor for achieving or exceeding specified standards or goals.
(b) The contract types are grouped into two broad categories: fixed-price contracts (see Subpart 16.2) and cost-reimbursement contracts (see Subpart 16.3). The specific contract types range from firm-fixed-price, in which the contractor has full responsibility for the performance costs and resulting profit (or loss), to cost-plus-fixed-fee, in which the contractor has minimal responsibility for the performance costs and the negotiated fee (profit) is fixed. In between are the various incentive contracts (see Subpart 16.4), in which the contractor’s responsibility for the performance costs and the profit or fee incentives offered are tailored to the uncertainties involved in contract performance.
(a) Contracts resulting from sealed bidding shall be firm-fixed-price contracts or fixed-price contracts with economic price adjustment.
(b) Contracts negotiated under Part 15 may be of any type or combination of types that will promote the Government’s interest, except as restricted in this part (see 10 U.S.C. 2306(a) and 41 U.S.C. 3901). Contract types not described in this regulation shall not be used, except as a deviation under Subpart 1.4.
(c) The cost-plus-a-percentage-of-cost system of contracting shall not be used (see 10 U.S.C. 2306(a) and 41 U.S.C. 3905(a)). Prime contracts (including letter contracts) other than firm-fixed-price contracts shall, by an appropriate clause, prohibit cost-plus-a-percentage-of-cost subcontracts (see clauses prescribed in Subpart 44.2 for cost-reimbursement contracts and Subparts 16.2 and 16.4 for fixed-price contracts).
(d) No contract may be awarded before the execution of any determination and findings (D&F’s) required by this part. Minimum requirements for the content of D&F’s required by this part are specified in 1.704.
(a) Selecting the contract type is generally a matter for negotiation and requires the exercise of sound judgment. Negotiating the contract type and negotiating prices are closely related and should be considered together. The objective is to negotiate a contract type and price (or estimated cost and fee) that will result in reasonable contractor risk and provide the contractor with the greatest incentive for efficient and economical performance.
(b) A firm-fixed-price contract, which best utilizes the basic profit motive of business enterprise, shall be used when the risk involved is minimal or can be predicted with an acceptable degree of certainty. However, when a reasonable basis for firm pricing does not exist, other contract types should be considered, and negotiations should be directed toward selecting a contract type (or combination of types) that will appropriately tie profit to contractor performance.
(c) In the course of an acquisition program, a series of contracts, or a single long-term contract, changing circumstances may make a different contract type appropriate in later periods than that used at the outset. In particular, contracting officers should avoid protracted use of a cost-reimbursement or time-and-materials contract after experience provides a basis for firmer pricing.
(d)(1) Each contract file shall include documentation to show why the particular contract type was selected. This shall be documented in the acquisition plan, or in the contract file if a written acquisition plan is not required by agency procedures.
(i) Explain why the contract type selected must be used to meet the agency need.
(ii) Discuss the Government’s additional risks and the burden to manage the contract type selected (e.g., when a cost-reimbursement contract is selected, the Government incurs additional cost risks, and the Government has the additional burden of managing the contractor’s costs). For such instances, acquisition personnel shall discuss
(A) How the Government identified the additional risks (e.g., pre-award survey, or past performance information);
(B) The nature of the additional risks (e.g., inadequate contractor’s accounting system, weaknesses in contractor's internal control, non-compliance with Cost Accounting Standards, or lack of or inadequate earned value management system); and
(C) How the Government will manage and mitigate the risks.
(iii) Discuss the Government resources necessary to properly plan for, award, and administer the contract type selected (e.g., resources needed and the additional risks to the Government if adequate resources are not provided).
(iv) For other than a firm-fixed price contract, at a minimum the documentation should include
(A) An analysis of why the use of other than a firm-fixed-price contract (e.g., cost reimbursement, time and materials, labor hour) is appropriate;
(B) Rationale that detail the particular facts and circumstances (e.g., complexity of the requirements, uncertain duration of the work, contractor’s technical capability and financial responsibility, or adequacy of the contractor’s accounting system), and associated reasoning essential to support the contract type selection;
(C) An assessment regarding the adequacy of Government resources that are necessary to properly plan for, award, and administer other than firm-fixed-price contracts; and
(D) A discussion of the actions planned to minimize the use of other than firm-fixed-price contracts on future acquisitions for the same requirement and to transition to firm-fixed-price contracts to the maximum extent practicable.
(v) A discussion of why a level-of-effort, price redetermination, or fee provision was included.
(2) Exceptions to the requirements at (d)(1) of this section are
(i) Fixed-price acquisitions made under simplified acquisition procedures;
(ii) Contracts on a firm-fixed-price basis other than those for major systems or research and development; and
(iii) Awards on the set-aside portion of sealed bid partial set-asides for small business.
There are many factors that the contracting officer should consider in selecting and negotiating the contract type. They include the following:
(a) Price competition. Normally, effective price competition results in realistic pricing, and a fixed-price contract is ordinarily in the Government’s interest.
(b) Price analysis. Price analysis, with or without competition, may provide a basis for selecting the contract type. The degree to which price analysis can provide a realistic pricing standard should be carefully considered. (See 15.404-1(b).)
(c) Cost analysis. In the absence of effective price competition and if price analysis is not sufficient, the cost estimates of the offeror and the Government provide the bases for negotiating contract pricing arrangements. It is essential that the uncertainties involved in performance and their possible impact upon costs be identified and evaluated, so that a contract type that places a reasonable degree of cost responsibility upon the contractor can be negotiated.
(d) Type and complexity of the requirement. Complex requirements, particularly those unique to the Government, usually result in greater risk assumption by the Government. This is especially true for complex research and development contracts, when performance uncertainties or the likelihood of changes makes it difficult to estimate performance costs in advance. As a requirement recurs or as quantity production begins, the cost risk should shift to the contractor, and a fixed-price contract should be considered.
(e) Combining contract types. If the entire contract cannot be firm-fixed-price, the contracting officer shall consider whether or not a portion of the contract can be established on a firm-fixed-price basis.
(f) Urgency of the requirement. If urgency is a primary factor, the Government may choose to assume a greater proportion of risk or it may offer incentives tailored to performance outcomes to ensure timely contract performance.
(g) Period of performance or length of production run. In times of economic uncertainty, contracts extending over a relatively long period may require economic price adjustment or price redetermination clauses.
(h) Contractor’s technical capability and financial responsibility.
(i) Adequacy of the contractor's accounting system. Before agreeing on a contract type other than firm-fixed-price, the contracting officer shall ensure that the contractor’s accounting system will permit timely development of all necessary cost data in the form required by the proposed contract type. This factor may be critical
(1) When the contract type requires price revision while performance is in progress; or
(2) When a cost-reimbursement contract is being considered and all current or past experience with the contractor has been on a fixed-price basis. See 42.302(a)(12).
(j) Concurrent contracts. If performance under the proposed contract involves concurrent operations under other contracts, the impact of those contracts, including their pricing arrangements, should be considered.
(k) Extent and nature of proposed subcontracting. If the contractor proposes extensive subcontracting, a contract type reflecting the actual risks to the prime contractor should be selected.
(l) Acquisition history. Contractor risk usually decreases as the requirement is repetitively acquired. Also, product descriptions or descriptions of services to be performed can be defined more clearly.
The contracting officer shall complete and insert the provision at 52.216-1, Type of Contract, in a solicitation unless it is for—
(a) A fixed-price acquisition made under simplified acquisition procedures; or
(b) Information or planning purposes.


Reimplementation of the ConfigReader package.
This is a (possibly less efficient) reimplementation of the ConfigReader interface to keep some open source code intact.
This implementation should be enhanced to read the more complex configuration files the Lisp and Haskell implementations can handle. Configuration files are "compatible to some degree". This version will just ignore any section names and put anything into the flat hash.
Copyright (c): Thorsten Rangwich.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Indicator if any configuration file was read already. In fact it counts how often a configuration was read. If the configuration read was not stored globally but returned to the caller (readConfigFile in list context), the counter is not changed.
Internal function returning an array of (key, value) of the parsed line or an empty array (if line did not fit syntax - which includes comments and section names). This is used via map to read in the configuration.
No prototype here, otherwise map blames about missing parameter. The function reads $_ -- I do not know if this really is a parameter or is externally set by map.
Reads in a Java properties style configuration file. Accepts a string file name as input. In list context, returns a hash with the configuration ("properties"). This is useful if modules wish to read their own configuration file. It reads Windows ini files by ignoring the sections. This of course does not work properly.
Main usage will be to read in a global configuration file. This is done if scalar or void context (latter one is not a good idea) is chosen. The result is stored in a package variable to be retrieved using getVariables. It returns undef on error and 1 in scalar context and the read in hash in list context.
If a key is given, the value for the given key is returned (undef if it does not exist). If no key is given, the whole has is returned.
If the hash was not set / read in up to now, undef is returned.
As parameters are optional, no prototype is defined (or I don't know how to do properly without Perl complaining).
I thought about deriving the result from the value expected from the caller, i.e. returning the hash in list context and a variable in scalar context. This is not a good idea. What do we do in scalar context when no parameter is passed and what do we do in functions usually expecting list context (like print) where obviuosly not the whole hash is meant and a parameter is passed to get the particular value. This would make the interface too complex for the caller.
Thorsten Rangwich


I saw a werewolf with a Chinese menu in his hand. Walking through the streets of Soho in the rain. He was looking for a place called Lee Ho Fook's. Gonna get a big dish of beef chow mein.
He's the hairy-handed gent who ran amuck in Kent.
Lately he's been overheard in Mayfair.
Better stay away from him.
He'll rip your lungs out, Jim.
I'd like to meet his tailor.


hyperparameters.Rmd
Note that there is no universal way to assess the best number of topics (num_topics
) to fit a set of document, see this post.
As stated in table 2 from this paper, this corpus essentially has two classes of documents. First five are about human-computer interaction and the other four are about graphs. Therefore a process to assess the best number of topics to apply to a corpus should return 2
.
library(gensimr)
data("corpus", package = "gensimr")
texts <- prepare_documents(corpus)
#> → Preprocessing 9 documents
#> ← 9 documents after perprocessing
dictionary <- corpora_dictionary(texts)
corpus_bow <- doc2bow(dictionary, texts)
tfidf <- model_tfidf(corpus_bow, id2word = dictionary)
corpus_tfidf <- wrap(tfidf, corpus_bow)
We can run multiple Latent Dirichlet Allocation models given different number of topics then assess which is best using the perplexity score.
models <- map_model(
num_topics = c(2, 4, 8, 10, 12),
corpus = corpus_tfidf,
id2word = dictionary
)
plot(models)
get_perplexity_data(models)
#> # A tibble: 5 x 3
#> num_topics perplexity model
#> <int> <dbl> <list>
#> 1 2 -3.51 <gns...LM>
#> 2 4 -4.25 <gns...LM>
#> 3 8 -5.18 <gns...LM>
#> 4 10 -5.44 <gns...LM>
#> 5 12 -5.71 <gns...LM>


| Returns the mode number of a graphic mode meeting your criteria. |
| width = width, in pixels (i.e. 640) height = height, in pixels (i.e. 480) depth = color depth (i.e. 16, 24, 32) |
Command Description:
| Use this command to determine which of the user's graphic card mode supports the parameters you supply. You can get a full detailed list of the video card modes - see CountGFXModes(). |
Example:
| ; FindGFXMode example ; change values to see different mode numbers mode=FindGfxMode(800,600,16) ; If there is a mode, tell user If mode > 0 Then Print "The mode you requested is: " + mode Else Print "That mode doesn't exist for this video card." End If ; Wait for ESC press from user While Not KeyHit(1) Wend |