Well we'll start off with our questions today for readability I'll re-type the question for each paragraph.
What are the benefits of version control? How does git help you keep track of changes? Why use GitHub to store your code?
What are the benefits of VCS(Version Control System)?
Well there are several, but I think the best things to think about are accessability, continuity, and collaboration.
Accessability: The point of using a VCS is to be able to manage a project. For programmers, this means there are a lot of files in a lot of places. If you have a partner (which you almost always will) that creates two seperate workflows and directory flows unless you both syncronize via a VCS. You could both use a single access point without figuring out who has what and where.
Continuity: This where it gets good. Using VCS you can have several all work within that one directory and not save over each other's work. Using code commands you could grab the most recent change and work from the new starting point. It also means saving multiple versions of the same files to work without fear of irreversably damaging your code. Before you submit your code to the original, it can also be reviewed to make sure it is indeed ready for a final product. From step one to step done, everyone can work on seperate parts without overlapping; working worry free.
Collaboration: This one is short and simple. Using all the tools available, you can have a team of One Hundred work on seperate parts of a project simultaneously. Because of its accessability and continuity, creating with a team becomes vastly easier a task than without a VCS.
How does git help you keep track of changes?
To be honest, this one is short.
There are several git commands you use to keep track of changes. There are more but I will list some here:
- git log: generates a list of all changes made, when they were made, and who made them
- git status: generates a prompt of what branch you're on, whether it's up to date with its parent branch, tracked files, and untracked files
- git push: can be used to 'push' your files to the internet VCS
- git pull : an be used to 'pull' recent changes in the project to your computer
- git add: used to add untracked files to 'tracked files'
- git commit: used to add 'tracked files' to staging area before a 'push'
Why use GitHub to store your code?
Short again: I think the main reason that I like GitHub is that its system of push pull and fork(creating a copy of someone else's project) is automated to constantly notify GitHub. GitHub has a record of everything anyone has done to your code. That makes me feel secure with putting it up on the internet.
I think that's all for now, I may update when I learn more about GitHub and can give more reasons as to why it should be used, but for now I need more experience!


I'm Idris, Glad to see you!
I’m a software developer and Cloud Engineer! I can help you build a product, feature or website Look through some of my work and experience! If you like what you see and have a project you need coded, don’t hestiate to contact me.
let's connect


The most popular industrial group ever, and largely The most popular industrial group ever, and largely responsible for bringing the music to a mass audience. responsible for bringing the music to a mass audience.
The Promotion ei ei ei ei.


Gatekeeper Bella:
Yes, it is true. I am a Gatekeeper from the Ivory Tower, and also a member of the animal lover's association. Why have you come? Did Martin send you?
"I wish to learn about pets."


home
::
blog
::
projects
::
cv
Blog Generation...
Wednesday, June 20th, 2012 - Middle of the night!
This is a test of the python blog generation system. This is only a test.


Where have you been?:
Place
When did you go?
What did you see?
Would you recommend someone else to visit?
Submit
Places I've Been:
Date I visited:
What I saw:
Would I recommend?


Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
This package is known to build and work properly using an LFS-9.1 platform.
Download (HTTP): https://nodejs.org/dist/v12.16.1/node-v12.16.1.tar.xz
Download MD5 sum: 549582c075072c689c245ba12ecac54a
Download size: 23 MB
Estimated disk space required: 658 MB (add 31 MB for tests)
Estimated build time: 7.8 SBU (using parallelism=4; add 2.2 SBU for tests)
c-ares-1.16.0, ICU-66.1, libuv-1.35.0, and nghttp2-1.40.0
http-parser, npm (an internal copy of npm will be installed if not present)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/nodejs
Build Node.js by running the following commands:
./configure --prefix=/usr \ --shared-cares \ --shared-libuv \ --shared-nghttp2 \ --shared-openssl \ --shared-zlib \ --with-intl=system-icu && make
To test the results, issue: make check. One test, test-dns, is known to fail.
Now, as the root
user:
make install && ln -sf node /usr/share/doc/node-12.16.1
--with-intl=system-icu
: use
the system version of icu. Other
values are full-icu
(to build a local,
full icu library) and small-icu
(to build a local, minimal icu library).
--shared-{cares,libuv,nghttp2,openssl,zlib}
:
use the system installed libraries instead of local copies.
--without-npm
: do not build
npm (use if you'd like to build a
separate npm later).
--shared-http-parser
: use the system
installed library instead of a local copy.
Last updated on 2020-03-10 09:12:43 -0500


Jerry Rice has extremely high praise for Julian Edelman
by TSD Staff49ers legend Jerry Rice is the GOAT, as no other receiver who ever played the position was as dominant as he was, nor did they put up the numbers he did.
Rice leads all NFL receivers in both all-time passing yards and receptions — a record that may never be broken, given how players have a shorter shelf life nowadays, with the physical nature of the game, and all the injuries that come along with it.
So it’s clear that he knows the receiver position as well as anyone, and when he speaks, everyone listens.
That’s why when Rice made an appearance on “Good Morning Football” this week and stated that Edelman has the best footwork of any receiver in the NFL, he made headlines immediately after doing so.
“You’re not going to be able to cover him,” Rice said. “You can’t do it. He’s going to be able to get separation from you and make the catch.”
He also added this:
“What I like about him too is his physicality,” Rice stated. “He throws his body all over the field.”
That’s a fair take, and Rice may be right, but Michael Thomas and Larry Fitzgerald should be in that conversation as well.


--- title: ODF Export sidebar: documentation_sidebar permalink: ODFExport.html folder: documentation toc: false ---
MTEX support the following formats for storing and importing of ODFs:
We will demonstrate the the import and export of ODFs at the following sample ODF which is defined as the superposition of several model ODFs.
{% highlight matlab %} cs = crystalSymmetry('cubic'); mod1 = orientation.byAxisAngle(xvector,45*degree,cs); mod2 = orientation.byAxisAngle(yvector,65*degree,cs); model_odf = 0.5*uniformODF(cs) + ... 0.05*fibreODF(Miller(1,0,0,cs),xvector,'halfwidth',10*degree) + ... 0.05*fibreODF(Miller(0,1,0,cs),yvector,'halfwidth',10*degree) + ... 0.05*fibreODF(Miller(0,0,1,cs),zvector,'halfwidth',10*degree) + ... 0.05*unimodalODF(mod1,'halfwidth',15*degree) + ... 0.3*unimodalODF(mod2,'halfwidth',25*degree); plot(model_odf,'sections',6,'silent') {% endhighlight %}The most simplest way to store an ODF is to store the corresponding variable odf as any other MATLAB variable.
{% highlight matlab %} % the filename fname = fullfile(mtexDataPath, 'ODF', 'odf.mat'); save(fname,'model_odf') {% endhighlight %}Importing a .mat file is done simply by
{% highlight matlab %} load(fname) {% endhighlight %}By default and ODF is exported in an ASCII file which consists of a large table with four columns, where the first three column describe the Euler angles of a regular 5° grid in the orientation space and the fourth column contains the value of the ODF at this specific position.
{% highlight matlab %} % the filename fname = fullfile(mtexDataPath, 'ODF', 'odf.txt'); % export the ODF export(model_odf,fname,'Bunge') {% endhighlight %}Other Euler angle conventions or other resolutions can by specified by options to export. Even more control you have, if you specify the grid in the orientation space directly.
{% highlight matlab %} % define a equispaced grid in orientation space with resolution of 5 degree S3G = equispacedSO3Grid(cs,'resolution',5*degree); % export the ODF by values at these locations export(model_odf,fname,S3G,'Bunge','generic') {% endhighlight %}Using the options MTEX the ODF is exported to an ASCII file which contains descriptions of all components of the ODF in a human readable fassion. This format can be imported by MTEX without loss.
{% highlight matlab %} % the filename fname = [mtexDataPath '/ODF/odf.mtex']; % export the ODF export(model_odf,fname,'Bunge','interface','mtex') {% endhighlight %}TODO!!!
{% highlight matlab %} fname = [mtexDataPath '/ODF/odfvpsc.txt']; export(model_odf,fname,'VPSC') {% endhighlight %}


USU Bus is the easier, faster way to catch the bus to campus.
Plug Finder
Plug Finder is the near-effortless reference app that assists you in finding what plugs and cables do and what they look like.
Ride Systems
An alternate to the Ride Systems app built for speed and simplicity. Gives exactly the information you need about your local transit with as little taps and wait time as possible.
Contact Us
Thanks for contacting us! We will get back to you soon!


7 spectacular hotels in Africa and the Indian Ocean that won't break the bank
by Telegraph TravelPicture the likes of Mauritius, and 'affordable' might not be the first place that springs to mind. With Instagram-ready white-sand beaches, stylish décor and cool pools comes a hefty price tag - right? Not necessarily so, as you'll see when you peruse these seven incredible and, yes, affordable properties selected by our global expertsand all reviewed for us.
They all have a special feature: from stellar Cape Town views to bungalows in the Namibian desert and a rooftop bar at Mauritius' first eco hotel. Because paradise needn't cost the earth.
AFRICA
Tintswalo at Boulders
Simon's Town, Cape Town, South Africa
9 Telegraph expert rating
Right beside Cape Town’s penguin colony, this nine-room B&B offers direct access to one of the city’s prettiest beaches and best places to swim. Inside it is luxuriously appointed, with a relaxed atmosphere, and the view across the ocean to the bay’s mountainous embrace is a show-stopper. Read expert review From £ 157 per night Check availability Rates provided by Booking.com


|
RayTracer
|
#include <SDFSphere.h>
Public Member Functions | |
| SDFSphere (const Vector3D ¢er, double r) | |
| BoundingBox | get_bounds () const override |
| Public Member Functions inherited from SDFObject | |
| SDFObject () | |
| SDFObject (bool is_monotonic) | |
| SDFObject (bool is_monotonic, unsigned int max_iter, double epsilon) | |
| Intersection | ray_intersect (const Ray &ray) const override |
| Method to detect intersection of ray and object. More... | |
| virtual | ~SDFObject ()=default |
| Public Member Functions inherited from RenderObject | |
| virtual IntersectionProperties | intersect_properties (const Ray &ray) const =0 |
| If ray intersects this object, this method will provide additional Information. More... | |
| virtual std::ostream & | print (std::ostream &sink) const =0 |
| virtual | ~RenderObject () |
Private Member Functions | |
| double | distance_bound (const Vector3D &pos) const override |
Private Attributes | |
| Vector3D | center |
| BoundingBox | bounds |
| double | r |
| SDFSphere::SDFSphere | ( | const Vector3D & | center, |
| double | r | ||
| ) |
|
overrideprivatevirtual |
Implements SDFObject.
|
inlineoverridevirtual |
Implements BoundedVolume.
|
private |
|
private |
|
private |


Module: ActiveRecord::Calculations
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Included In:
| |
| Defined in: | activerecord/lib/active_record/relation/calculations.rb |
Instance Method Summary
-
#average(column_name)
Calculates the average value on a given column.
-
#calculate(operation, column_name)
This calculates aggregate values in the given column.
-
#count(column_name = nil)
Count the records.
-
#ids
Pluck all the ID’s for the relation using the table’s primary key.
-
#maximum(column_name)
Calculates the maximum value on a given column.
-
#minimum(column_name)
Calculates the minimum value on a given column.
-
#pick(*column_names)
Pick the value(s) from the named column(s) in the current relation.
-
#pluck(*column_names)
Use #pluck as a shortcut to select one or more attributes without loading a bunch of records just to grab the attributes you want.
-
#sum(column_name = nil)
Calculates the sum of values on a given column.
Instance Method Details
#average(column_name)
Calculates the average value on a given column. Returns nil
if there’s no row. See #calculate for examples with options.
Person.average(:age) # => 35.8
# File 'activerecord/lib/active_record/relation/calculations.rb', line 59
def average(column_name) calculate(:average, column_name) end
#calculate(operation, column_name)
This calculates aggregate values in the given column. Methods for #count, #sum, #average, #minimum, and #maximum have been added as shortcuts.
Person.calculate(:count, :all) # The same as Person.count
Person.average(:age) # SELECT AVG(age) FROM people...
# Selects the minimum age for any family without any minors
Person.group(:last_name).having("min(age) > 17").minimum(:age)
Person.sum("2 * age")
There are two basic forms of output:
-
Single aggregate value: The single value is type cast to
::Integer
for COUNT,::Float
for AVG, and the given column’s type for everything else. -
Grouped values: This returns an ordered hash of the values and groups them. It takes either a column name, or the name of a belongs_to association.
values = Person.group('last_name').maximum(:age) puts values["Drake"] # => 43 drake = Family.find_by(last_name: 'Drake') values = Person.group(:family).maximum(:age) # Person belongs_to :family puts values[drake] # => 43 values.each do |family, max_age| #... end
# File 'activerecord/lib/active_record/relation/calculations.rb', line 129
def calculate(operation, column_name) if has_include?(column_name) relation = apply_join_dependency if operation.to_s.downcase == "count" unless distinct_value || distinct_select?(column_name || select_for_count) relation.distinct! relation.select_values = [ klass.primary_key || table[Arel.star] ] end # PostgreSQL: ORDER BY expressions must appear in SELECT list when using DISTINCT relation.order_values = [] if group_values.empty? end relation.calculate(operation, column_name) else perform_calculation(operation, column_name) end end
#count(column_name = nil)
Count the records.
Person.count
# => the total count of all people
Person.count(:age)
# => returns the total count of all people whose age is present in database
Person.count(:all)
# => performs a COUNT(*) (:all is an alias for '*')
Person.distinct.count(:age)
# => counts the number of different age values
If #count
is used with {Relation#group}, it returns a ::Hash
whose keys represent the aggregated column, and the values are the respective amounts:
Person.group(:city).count
# => { 'Rome' => 5, 'Paris' => 3 }
If #count
is used with {Relation#group} for multiple columns, it returns a ::Hash
whose keys are an array containing the individual values of each column and the value of each key would be the #count
.
Article.group(:status, :category).count
# => {["draft", "business"]=>10, ["draft", "technology"]=>4,
["published", "business"]=>0, ["published", "technology"]=>2}
If #count
is used with {Relation#select}, it will count the selected columns:
Person.select(:age).count
# => counts the number of different age values
Note: not all valid {Relation#select} expressions are valid #count
expressions. The specifics differ between databases. In invalid cases, an error from the database is thrown.
# File 'activerecord/lib/active_record/relation/calculations.rb', line 43
def count(column_name = nil) if block_given? unless column_name.nil? raise ArgumentError, "Column name argument is not supported when a block is passed." end super() else calculate(:count, column_name) end end
#ids
Pluck all the ID’s for the relation using the table’s primary key
Person.ids # SELECT people.id FROM people
Person.joins(:companies).ids # SELECT people.id FROM people INNER JOIN companies ON companies.person_id = people.id
# File 'activerecord/lib/active_record/relation/calculations.rb', line 233
def ids pluck primary_key end
#maximum(column_name)
Calculates the maximum value on a given column. The value is returned with the same data type of the column, or nil
if there’s no row. See #calculate for examples with options.
Person.maximum(:age) # => 93
# File 'activerecord/lib/active_record/relation/calculations.rb', line 77
def maximum(column_name) calculate(:maximum, column_name) end
#minimum(column_name)
Calculates the minimum value on a given column. The value is returned with the same data type of the column, or nil
if there’s no row. See #calculate for examples with options.
Person.minimum(:age) # => 7
# File 'activerecord/lib/active_record/relation/calculations.rb', line 68
def minimum(column_name) calculate(:minimum, column_name) end
#pick(*column_names)
Pick the value(s) from the named column(s) in the current relation. This is short-hand for relation.limit(1).pluck(*column_names).first
, and is primarily useful when you have a relation that’s already narrowed down to a single row.
Just like #pluck, #pick
will only load the actual value, not the entire record object, so it’s also more efficient. The value is, again like with pluck, typecast by the column type.

Person.pluck(:name)
instead of
Person.all.map(&:name)
Pluck returns an ::Array
of attribute values type-casted to match the plucked column names, if they can be deduced. Plucking an SQL fragment returns ::String
values by default.
Person.pluck(:name)
# SELECT people.name FROM people
# => ['David', 'Jeremy', 'Jose']
Person.pluck(:id, :name)
# SELECT people.id, people.name FROM people
# => [[1, 'David'], [2, 'Jeremy'], [3, 'Jose']]
Person.distinct.pluck(:role)
# SELECT DISTINCT role FROM people
# => ['admin', 'member', 'guest']
Person.where(age: 21).limit(5).pluck(:id)
# SELECT people.id FROM people WHERE people.age = 21 LIMIT 5
# => [2, 3]
Person.pluck(Arel.sql('DATEDIFF(updated_at, created_at)'))
# SELECT DATEDIFF(updated_at, created_at) FROM people
# => ['0', '27761', '173']
See also #ids.
# File 'activerecord/lib/active_record/relation/calculations.rb', line 183
def pluck(*column_names) if loaded? && all_attributes?(column_names) return records.pluck(*column_names) end if has_include?(column_names.first) relation = apply_join_dependency relation.pluck(*column_names) else klass.disallow_raw_sql!(column_names) columns = arel_columns(column_names) relation = spawn relation.select_values = columns result = skip_query_cache_if_necessary do if where_clause.contradiction? ActiveRecord::Result.new([], []) else klass.connection.select_all(relation.arel, nil) end end type_cast_pluck_values(result, columns) end end
#sum(column_name = nil)
Calculates the sum of values on a given column. The value is returned with the same data type of the column, 0
if there’s no row. See #calculate for examples with options.
Person.sum(:age) # => 4562
# File 'activerecord/lib/active_record/relation/calculations.rb', line 86
def sum(column_name = nil) if block_given? unless column_name.nil? raise ArgumentError, "Column name argument is not supported when a block is passed." end super() else calculate(:sum, column_name) end end


[WEB APP] A predictive seed provenancing tool for ecological restoration.
This latest project, Seeds of Change, is once again in the shiny apps category. This tool is still under development but we now have prototype up and running. Developed as part of a partnership with folks at the National Park Service and the Golden Gate National Recreation Area, it is aimed at helping restoration managers identify seed collection localities for restoration projects by leveraging data on soil, climate, and projected climate change. Users select a planting site and a focal species, and the app predicts which populations across the species' range will have seeds that are most adapted to the future environment of the planting site.
This is by no means the first tool out there to address this need, including some great seed provenancing apps like the Seedlot Selection Tool. But our version does include some new bells and whistles that we hope will help advance the utility for managers. It leverages a new soil dataset, a step toward addressing an unmet need to account for local adaptation to different soil types. It integrates species distribution maps for every species of native plant within California. It includes past and future climate variables that are ecologically imporant in mediterranean-type ecosystems, including climatic water deficit and actual evapotranspiration. And it uses a new smoothing parameter that we developed to more realistically model how gene flow among sites might affect their adaptive evolution.
The app is still a prototype, and with ongoing work on this project the tool is sure to change as we integrate feedback from park managers at GGNRA and other interested parties. So please get in touch if you have thoughts!
Our team on this project includes fellow UCB students Sean Brown and Amelia Harvey, NPS climate scientist Patrick Gonzalez, and GGRNA seed ecologist Stacy Jacobsen.


History1
I worked for this company
History2
I worked for another company
WCS
Test Text 3
About Me
Test Text Me
History4
Test Text 4
History5
Test Text 5
History6
Test Text 6


| FALLOCATE(2) | Linux Programmer's Manual | FALLOCATE(2) |
#define _GNU_SOURCE /* See feature_test_macros(7) */ #include <fcntl.h>
int fallocate(int fd, int mode, off_t offset, off_t len);
fallocate() allows the caller to directly manipulate the allocated disk space for the file referred to by fd for the byte range starting at offset and continuing for len bytes.
The mode argument determines the operation to be performed on the given range. Details of the supported operations are given in the subsections below.
After a successful call, subsequent writes into the range specified by offset and len are guaranteed not to fail because of lack of disk space.
If the FALLOC_FL_KEEP_SIZE flag is specified in mode, the behavior of the call is similar, but the file size will not be changed even if offset+len is greater than the file size. Preallocating zeroed blocks beyond the end of the file in this manner is useful for optimizing append workloads.
If the FALLOC_FL_UNSHARE flag is specified in mode, shared file data extents will be made private to the file to guarantee that a subsequent write will not fail due to lack of space. Typically, this will be done by performing a copy-on-write operation on all shared data in the file. This flag may not be supported by all filesystems.
Because allocation is done in block size chunks, fallocate() may allocate a larger range of disk space than was specified.
The FALLOC_FL_PUNCH_HOLE flag must be ORed with FALLOC_FL_KEEP_SIZE in mode; in other words, even when punching off the end of the file, the file size (as reported by stat(2)) does not change.
Not all filesystems support FALLOC_FL_PUNCH_HOLE; if a filesystem doesn't support the operation, an error is returned. The operation is supported on at least the following filesystems:
A filesystem may place limitations on the granularity of the operation, in order to ensure efficient implementation. Typically, offset and len must be a multiple of the filesystem logical block size, which varies according to the filesystem type and configuration. If a filesystem has such a requirement, fallocate() fails with the error EINVAL if this requirement is violated.
If the region specified by offset plus len reaches or passes the end of file, an error is returned; instead, use ftruncate(2) to truncate a file.
No other flags may be specified in mode in conjunction with FALLOC_FL_COLLAPSE_RANGE.
As at Linux 3.15, FALLOC_FL_COLLAPSE_RANGE is supported by ext4 (only for extent-based files) and XFS.
Zeroing is done within the filesystem preferably by converting the range into unwritten extents. This approach means that the specified range will not be physically zeroed out on the device (except for partial blocks at the either end of the range), and I/O is (otherwise) required only to update metadata.
If the FALLOC_FL_KEEP_SIZE flag is additionally specified in mode, the behavior of the call is similar, but the file size will not be changed even if offset+len is greater than the file size. This behavior is the same as when preallocating space with FALLOC_FL_KEEP_SIZE specified.
Not all filesystems support FALLOC_FL_ZERO_RANGE; if a filesystem doesn't support the operation, an error is returned. The operation is supported on at least the following filesystems:
This mode has the same limitations as FALLOC_FL_COLLAPSE_RANGE regarding the granularity of the operation. If the granularity requirements are not met, fallocate() fails with the error EINVAL. If the offset is equal to or greater than the end of file, an error is returned. For such operations (i.e., inserting a hole at the end of file), ftruncate(2) should be used.
No other flags may be specified in mode in conjunction with FALLOC_FL_INSERT_RANGE.
FALLOC_FL_INSERT_RANGE requires filesystem support. Filesystems that support this operation include XFS (since Linux 4.1) and ext4 (since Linux 4.2).
| 2019-11-19 | Linux |


public class Tickets extends java.lang.Object implements commonInterface
| Modifier and Type | Field and Description |
|---|---|
static java.io.File |
file
This is the static File object only referenced
|
static java.util.Scanner |
read |
| Constructor and Description |
|---|
Tickets()
This is the default constructor of the class Tickets setting default
values to instance variables
|
Tickets(int t_id,
int p_id,
int b_id,
int seat_no,
java.lang.String city,
java.lang.String discount)
This is the overloaded constructor of the class Tickets taking six
variables as a parameter
|
Tickets(int ID,
java.lang.String name,
int id,
int seat_no,
java.lang.Double fare)
This is another overloaded constructor of the class Tickets taking five
variables as a parameter
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
This is the interface method to add the ticket against some passenger
|
static void |
cancelTicket(int ticket_no)
This is the static method to cancel the ticket of the passenger
|
static int |
checkcount(int bus_id)
This is the static method to check the number of lines to get the seat
availability
|
static boolean |
checkDiscount(java.lang.String read)
This is the static method which checks that promo code exists or not
|
static boolean |
checkID(int ID)
This is the static method to check that the id of the tickets is already
present if the file or not
|
static Slots[] |
checkRoute(java.lang.String city)
This is the static method to check the route is available or not to the
specific city
|
static boolean |
checkSeat(int seat,
int b_id)
This is the static method to check the seat availability
|
java.lang.String |
delete(int s_id)
This is the abstract method to delete the record
|
int |
getBus_id()
This is the accessors method to get the id of the bus
|
double |
getFare()
This is the accessors method to get the fare
|
java.lang.String |
getName()
This is the accessors method to get the name of the passenger to whom the
ticket is assigned
|
int |
getSeat_no()
This is the accessors method to get the seat no of the bus
|
int |
getT_id()
This is the accessors method to get the id of the ticket
|
java.lang.Object |
search(int s_id)
This is the abstract method to search the record by id
|
void |
setBus_id(int bus_id)
This is the mutator method to set the value of the id bus
|
void |
setFare(double fare)
This is the mutator method to set the value of the fare
|
void |
setName(java.lang.String name)
This is the mutator method to set the name of the passenger to whom
ticket is assigned
|
void |
setSeat_no(int seat_no)
This is the mutator method to set the value of the seat no of the bus
|
void |
setT_id(int t_id)
This is the mutator method to set the value of the id ticket
|
java.lang.String |
toString() |
static java.util.ArrayList |
viewTicket()
This is the static method which views the data of the tickets returning
ArrayList
|
public static java.io.File file
public static java.util.Scanner read
public Tickets(int t_id, int p_id, int b_id, int seat_no, java.lang.String city, java.lang.String discount)
t_id
- p_id
- b_id
- seat_no
- city
- discount
- public Tickets(int ID, java.lang.String name, int id, int seat_no, java.lang.Double fare)
ID
- name
- id
- seat_no
- fare
- public Tickets()
public void setT_id(int t_id)
t_id
- public void setName(java.lang.String name)
name
- public void setBus_id(int bus_id)
bus_id
- public void setSeat_no(int seat_no)
seat_no
- public void setFare(double fare)
fare
- public int getT_id()
public java.lang.String getName()
public int getBus_id()
public int getSeat_no()
public double getFare()
public java.lang.String toString()
toString
in class java.lang.Object
public static boolean checkID(int ID)
ID
- public void add()
add
in interface commonInterface
public static boolean checkDiscount(java.lang.String read)
read
- public static boolean checkSeat(int seat, int b_id)
seat
- b_id
- public static int checkcount(int bus_id)
bus_id
- public static java.util.ArrayList viewTicket()
public static Slots[] checkRoute(java.lang.String city)
city
- public static void cancelTicket(int ticket_no)
ticket_no
- public java.lang.Object search(int s_id)
commonInterface
search
in interface commonInterface
public java.lang.String delete(int s_id)
commonInterface
delete
in interface commonInterface


BY EDWIN JAHIEL
BETTER THAN CHOCOLATE (Canada, 1999) *** Directed by Anne Wheeler. Written by Peggy Thomson. Photography, Gregory Middleton. Editing,Alison Grace. Music Graeme Coleman. Production design, David Roberts. Produced by Sharon McGowan and Peggy Thomson. Cast: Wendy Crewson (Lila), Karyn Dwyer (Maggie), Christina Cox (Kim), Ann-Marie MacDonald (Frances), Marya Delver (Carla), Kevin Mundy (Paul), Peter Outerbridge (Judy/Jeremy) et al.  This week I saw the lesbian romantic comedy Better Than Chocolate. I keep no statistics on film genres, but it would seem that same-sex light fare is on the increase.
No doubt, any growing genre entails the creation of its own types of cliches. Even the so-called "independent" movies develop formulas. But in the case of gay-lesbian ones, it is rather nice to see cinema widening its scope--especially when this is done with total un-selfconciousness. If you think of those works as dealing with minorities, they could even help to get pictures out of the rut of older, mainstream types, by encouraging the making of movies about other minorities: vegetarians, atheists, Southern Democrats, well-paid teachers, efficient administrators, watchers of good TV, good spellers, people who use "whom" instead of "who," foreign-movie buffs, and so on. What a reservoir of fresh subjects!
The Canadian Better Than Chocolate is a light, zippy situation-yarn which won the top prize at the latest Gay and Lesbian Film Festival in London. Actually, it is not very exciting, yet it's not dull either, and it has its own charm.
Set in a lesbian milieu of Vancouver, its major focus is on Maggie and Kim .  She is cute. ( I like this word; it means something special and has no precise equivalent in any other language I know). By day she works in the lesbian Ten Percent Bookstore. By night she performs (regularly or not, it's unclear) at a lesbian club.
Maggie meets the somewhat older Kim, an itinerant artist whose drawings and body-painting are not bad at all. Kim lives in her van. For the two girls it's love at first sight. A quick first attempt at physical consummation takes place inside the van. It is interrupted, to their bewilderment (and laughter) as the illegally parked vehicle gets hauled away to the pound. Good gag.
Maggie, on the phone Lila, her mother, learns that she is divorcing Maggie's stepfather as that man has been sleeping for a year with a younger woman, his partner's wife I believe, but I can't guarantee this. Lila, in her upheaval, hears from Maggie that she's not in school, but makes no fuss. Instead, she announces that she's coming all the way from the distant East of the United States,with Paul (17 or so), Maggie's hunkish brother.They will stay (temporarily, I suppose) with Maggie.
Metaphorically speaking, trumpets blare and drums beat as Maggie, who sleeps in the bookstore and has not fessed up her sexual preferences to Mom, rushes to find a place to live in "en famille," which would also include "housemate" Kim. From a lesbian lady, she rents, for a short time, a large and rather shoddy loft.
Mom and Brother show up. A charade familiar from hetero-films gets going. Lila is ditzy and likable. She neither perceives nor is told by Maggie of the latter's sex choices. (But on his first morning there, Brother catches the girls making love. He takes it with cool and naturalness). Semi-complications ensue. These also involve 30-plus Judy who is also Jeremy, a transsexual in every way except that, if I got this right, he hasn't yet had The Operation. He/she is very simpatico and strikes a frienship with Mom, who has no clue about "her" being a man.
Later at the club Judy performs the song "I'm not a f... drag queen" well and with brio. But how I missed having a youngish Marlene Dietrich doing it! There's also a trio of day-glo/black light singers who do a lively homage to Julie Christie. (I'll have to find out more about her).
There are several small felicities, side events and mini-subplots : the Customs impound a shipment of porno (?) books from the United States; Judy "outs" her secret love for Frances, the bookstore's shy, spinsterish owner; Lila stumbles onto a stash of the loft-owner's sex toys and happily experiments with them; Paul gets panting sex going with the bookstore's pansexual employee: etc. etc.
The un-rated movie's sex scenes are pretty steamy-hot but ought not to annoy a savvy public. The younger actresses are convincing but no more. Peter Outerbridge (as Judy) is very good in moods that mix or alternate pathos and sophistication. Wendy Crewson (as Lila) all but steals the show.
The rub comes in some ways that make the film shaky.The characters, beyond functioning as servants to the plot, have really no dimension, personality or character. Maggie's efforts to hide her sexual nature from Mom are pretty inexplicable, since Lila seems to be receptive. And Lila's blitheness or blindness to what is obvious is overdone.
The latter weakness could have been taken care of by clues that Lila is so involved in her own problems thats she can't see the woods for the trees; and/or by having her get it but pretend she does not; or by refusing to admit it. Too bad, since Ms Crewson (about whom I know nothing, given the lack of press information) is such a colorful and dynamic performer.
The film's title comes from a Sarah McLachlan song, "ice cream." Lila spells it out : she is a secret chocolate-junkie. At some point she declares to the young ones, with her habitual candor and directness: "Since I probably won't ever have sex again, chocolate is the only pleasure left me." (That was before she discovered the sex gagdgets).
Let's not get too serious, however. There are side-isssues and subtexts about valid, serious matters, but the movie is primarily pleasant, good-humored, high-energy fluff.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 4
Roll the fat sides of the pork chops in the salt flakes.
Heat a griddle pan until smoking. Sear the fat side of the pork chops in the pan for 1-2 minutes, using tongs to keep the pork chops upright in the pan. When the fat is golden-brown and crisp, lay the pork chops down flat and fry for 3-4 minutes on both sides, or until the pork chop has deep griddle marks all over. Set aside.
Meanwhile, heat the olive oil in a large frying pan and fry the onion and bacon together for 4-5 minutes, or until the onion is starting to colour. Add the bouquet garni, button mushrooms and shallots to the pan and cook over a medium-low heat for 3-4 minutes.
Pour the cider into the pan and deglaze by scraping up any browned bits from the bottom of the pan with a wooden spoon, then bring to the boil. Add the pork chops and cook for 10-15 minutes, or until the pork is cooked through (the juices should run clear when the pork is pierced at the thickest part).
Meanwhile, dust the apple pieces with the muscovado sugar. Place the griddle pan used to cook the pork back over the heat, then add the apples and cook for 8-10 minutes, or until the apples are golden-brown and caramelised.
Remove the pork chops from the pan and set aside to rest. Return the pan to the heat and bring to a rapid boil, then stir in the mustard and cream and cook for 4-5 minutes, or until the liquid has reduced to a sauce consistency.
To serve, spoon the caramelised apples onto serving plates and arrange a pork chop next to the apples, with the cooked carrots and mashed potatoes alongside. Spoon over the sauce and serve.


If you can read this and still possess all ten fingers, Chicago Boss was set up successfully.
Beginner's guide: "An Evening With Chicago Boss"
Full API documentation at chicagoboss.org
Local model documentation at /doc
Administrative interface at {% url controller="index" %}
Internationalization Command Center at {% url controller="lang" %}
Mailing list at Chicago Boss Google Group


The tooltip is visible when the button is hovered, focused, or touched.
Additionally, the Tooltip's `md-visible` attribute can use data-binding to programmatically show/hide itself. Toggle the checkbox below...


Modules
Apps
Services
Types
Admin
Category
Read Processing
Genome Assembly
Stars
Runs
X
Assess Genome Quality with CheckM - v1.0.18
Runs the CheckM lineage workflow to assess the genome quality of isolates, single cells, or genome bins...
30
16,148 runs
Y
Assess Read Quality with FastQC
A quality control application for high throughput sequence data.
37
6,107 runs
Z
Filter Out Low-Complexity Reads with PRINSEQ - v0.20.4
Filter out low-complexity paired- or single-end reads with PRINSEQ.
0
0 runs
X
Assess Genome Quality with CheckM - v1.0.18
Runs the CheckM lineage workflow to assess the genome quality of isolates, single cells, or genome bins...
30
16,148 runs
Y
Assess Read Quality with FastQC
A quality control application for high throughput sequence data.
37
6,107 runs
Z
Filter Out Low-Complexity Reads with PRINSEQ - v0.20.4
Filter out low-complexity paired- or single-end reads with PRINSEQ.
0
0 runs
Previous
1
2
3
Next


Copyright © 2013 W3C® (MIT, ERCIM, Keio, Beihang), All Rights Reserved. W3C liability, trademark and document use rules apply.
This module contains the features of CSS relating to the alignment of boxes within their containers in the various CSS box layout models: block layout, table layout, flex layout, and grid layout. (The alignment of text and inline-level content is defined in [CSS3TEXT] and [CSS3LINE].) CSS is a language for describing the rendering of structured documents (such as HTML and XML) on screen, on paper, in speech, etc.
This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.
Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
The (archived) public mailing list<EMAIL_ADDRESS>(see instructions) is preferred for discussion of this specification. When sending e-mail, please put the text “css3-align” in the subject, preferably like this: “[css3-align] …summary of comment…”
This document was produced by the CSS Working Group (part of the Style Activity).
This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.
The following features are at risk: …
center
’, ‘stretch
’, ‘start
’,
‘end
’, ‘self-start
’, ‘self-end
’,
‘flex-start
’, ‘flex-end
’, ‘left
’, and
‘right
’ keywords
baseline
’ keyword
space-between
’,
‘space-around
’, and ‘space-evenly
’ keywords
safe
’ and ‘true
’ keywords
justify-content
’ and
‘align-content
’ properties
This section is not normative.
CSS Levels 1 and 2 allowed for the alignment of text via ‘text-align
’ and the alignment of blocks by
balancing ‘auto
’ margins. However, except in
table cells, vertical alignment was not possible. As CSS3 adds further
capabilities, the ability to align boxes in various dimensions becomes
more critical. This module attempts to create a cohesive and common box
alignment model to share among all of CSS.
The alignment of text and inline-level content is defined in [CSS3TEXT] and [CSS3LINE].
Inspiration for this document:
This module adds some new alignment capabilities to the block layout
model described in [CSS21] chapters 9 and 10 and defines
the interaction of these properties with the alignment of table cell
content using ‘vertical-align
’, as defined
in [CSS21] chapter
17. The interaction of these properties with Grid Layout [CSS3-GRID-LAYOUT] and
Flexible Box Layout [CSS3-FLEXBOX] is defined in
their respective modules.
No properties in this module apply to the ::first-line
or
::first-letter
pseudo-elements.
This specification follows the CSS property
definition conventions from [CSS21]. Value types not defined in
this specification are defined in CSS Level 2 Revision 1 [CSS21]. Other CSS
modules may expand the definitions of these value types: for example [CSS3VAL], when
combined with this module, adds the ‘initial
’
keyword as a possible property value.
In addition to the property-specific values listed in their definitions, all properties defined in this specification also accept the inherit keyword as their property value. For readability it has not been repeated explicitly.
The alignment properties in CSS can be described along two axes:
This proposal uses the terms ‘justify
’ and ‘align
’ to distinguish between alignment in the
inline and stacking dimensions, respectively. The choice is somewhat
arbitrary, but having the two terms allows for a consistent naming scheme
that works across all of CSS's layout models.
The following table summarizes the proposed alignment properties and the display types they can apply to.
| Common | Axis | Aligns | Applies to |
|---|---|---|---|
‘justify-content ’
| inline | content within element (effectively adjusts padding) | block containers and flex containers |
‘align-content ’
| stacking | block containers and flex containers | |
‘justify-self ’
| inline | element within parent (effectively adjusts margins) | block-level elements and grid items |
‘align-self ’
| stacking | flex items and grid items | |
‘justify-items ’
| inline | items inside element (controls child items’
‘align/justify-self: auto ’)
| grid containers |
‘align-items ’
| stacking | flex containers and grid containers |
The exact definition of these properties outside what's what's defined in Flexbox is still being worked out. This is a second Working Draft and is NOT STABLE.
The ‘-items
’ values don't
affect the element itself. When set on a flex container or grid container,
they specify the interpretation of any ‘align/justify-self: auto
’ used on the items in the
container element.
All of the alignment properties use a common set of values, defined below.
justify-self
’ and
‘align-self
’,
the alignment subject is the
margin box of the box the property is set on. For ‘justify-content
’ and ‘align-content
’,
the alignment subject is defined
by the layout mode.
center
’,
‘stretch
’, ‘start
’, ‘end
’, ‘self-start
’, ‘self-end
’, ‘flex-start
’, ‘flex-end
’, ‘left
’, and ‘right
’ keywordsThe positional alignment keywords specify a position for an alignment subject with respect to its alignment container.
The <item-position> set of
values is used by ‘justify-self
’ and ‘align-self
’ to align
the box within its alignment
container, and also by ‘justify/align-items
’ (to specify default values for
‘justify/align-self
’). The <content-position> set of
values is used by ‘justify-content
’ and ‘align-content
’ to
align the box's contents within itself.
<item-position> = center | start | end | self-start | self-end | flex-start | flex-end | left | right; <content-position> = center | start | end | flex-start | flex-end | left | right;
Values have the following meanings:
center
’
stretch
’
width
’ or ‘height
’ (as appropriate) of the alignment subject is ‘auto
’, its used value is the length necessary to make
the alignment subject’s outer
size as close to the size of the alignment container as possible,
while still respecting the constraints imposed by ‘min/max-width/height
’. Otherwise, this is equivalent
to ‘start
’.
start
’
end
’
self-start
’
self-end
’
flex-start
’
start
’.
flex-end
’
start
’.
left
’
start
’.
right
’
start
’.
Add example images.
baseline
’ keywordBaseline alignment is a form of positional alignment that relies on aligning the baselines of related alignment subjects to each other.
baseline
’
For table cells, grid items, and flex items, aligns the cell/item's
first formatted line's baseline, if any, with the same
baseline in other ‘baseline
’-aligned cells/items in the row/column
(as appropriate for the axis).
In the case of ‘align-content
’/‘justify-content
’, this shifts the content of
the box within it, and may also affect its sizing. In the case of ‘align-self
’/‘justify-self
’
this shifts the entire box within its container, and may affect the
sizing of its container.
If the alignment subject’s position is not fully determined by baseline alignment, the content is start-aligned insofar as possible while preserving the baseline alignment. (Content that has no first-line baseline is thus start-aligned.)
Add example images.
The baseline of a box is determined differently based on the layout model, as follow:
block
’
list-item
’
The inline-axis baseline of a block is the baseline of the first
in-flow line box in the block, or the first in-flow block-level child in
the block that has a baseline, whichever comes first. If there is no
such line box or child, then the block has no baseline. For the purposes
of finding a baseline, in-flow boxes with a scrolling mechanisms (see
the ‘overflow
’ property) must be
considered as if scrolled to their origin position.
A block has no block-axis baseline.
table
’
The inline-axis baseline of a table box is the baseline of its first row. However, when calculating the baseline of an inline-block, table boxes must be skipped.
The block-axis baseline of a table is undefined.
Or does it have no baseline? Or is it based on its first column?
table-row
’
If any cells in the row participate in its baseline alignment, the inline-axis baseline of the row is their baseline, after baseline alignment has been performed. Otherwise, the inline-axis baseline of the row is the bottom content edge of the lowest cell in the row. [CSS21]
A table row has no block-axis baseline.
table-cell
’
The inline-axis baseline of a table cell is the baseline of the first in-flow line box in the cell, or the first in-flow element that contributes a baseline in that axis, whichever comes first.
A table cell has no block-axis baseline.
flex
’
grid
’
Maybe these things are wrong? CSS 2.1 is really weird about baseline alignment. This whole section needs to be better defined and reviewed.
space-between
’, ‘space-around
’, and ‘space-evenly
’ keywordsThe distribution values are used by ‘justify-content
’ and ‘align-content
’ to
distribute the items in the alignment
subject evenly between the start and end edges of the alignment container. When the alignment subject cannot be
distributed in this way, they behave as their fallback alignment. Each distribution value
has an associated <content-position> as a fallback alignment, but one can
alternatively be explicitly specified in the property.
<content-distribution> = space-between | space-around | space-evenly | stretch
space-between
’
start
’.
space-around
’
center
’.
space-evenly
’
center
’.
stretch
’
auto
’-sized items have their size increased equally so
that the combined size exactly fills the alignment container. Otherwise, or
if there are no ‘auto
’-sized items, this value
is identical to ‘flex-start
’. (For layout modes
other than flex layout, ‘flex-start
’ is identical to ‘start
’.)
Add example images.
safe
’ and ‘true
’ keywordsWhen the alignment subject is larger than the alignment container, it will overflow. Some alignment modes, if honored in this situation, may cause data loss: for example, if the contents of a sidebar are centered, when they overflow they may send part of their boxes past the viewport's start edge, which can't be scrolled to.
To help combat this problem, an overflow alignment mode can be explicitly specified. "True" alignment honors the specified alignment mode in overflow situations, even if it causes data loss, while "safe" alignment changes the alignment mode in overflow situations in an attempt to avoid data loss.
If the overflow alignment isn't explicitly specified, the default overflow alignment is determined by the layout mode. Document-centric layout modes, such as block layout, default to "safe" overflow alignment, while design-centric layout modes, such as flex layout, default to "true" overflow alignment.
<overflow-position> = true | safe
safe
’
start
’.
true
’
Transplant example 10 from flexbox.
justify-content
’ and ‘align-content
’
propertiesThe ‘justify-content
’ and ‘align-content
’
properties control alignment of the box's content within the box.
| Name: | justify-content, align-content |
|---|---|
| Value: | auto | baseline | [ <content-distribution> <content-position>? | <content-position> ] && <overflow-position>? |
| Initial: | auto |
| Applies to: | block containers, flex containers, and grid containers |
| Inherited: | no |
| Percentages: | N/A |
| Media: | visual |
| Computed value: | specified value |
| Animatable: | no |
| Canonical order: | per grammar |
Aligns the contents of the box as a whole along the box's
inline/row/main axis. Values other than ‘auto
’
are defined above. If both a <content-distribution>
and <content-position> are
given, the second value represents an explicit fallback alignment.
The alignment container is the block container’s content box. The alignment subject is the entire contents of the block.
The ‘align-content
’ property applies along the
block axis, but if a <content-distribution>
is specified the fallback
alignment is used instead. The ‘justify-content
’ property does not apply to
and has no effect on block containers.
All values other than ‘auto
’ force the
block container to establish a new formatting context. For table cells,
the behavior of the ‘auto
’ depends on the
computed value of ‘vertical-align
’:
‘top
’ makes it behave as ‘start
’, ‘middle
’ makes it behave as ‘center
’, ‘bottom
’
makes it behave as ‘end
’,
and all other values make it behave as ‘baseline
’. ‘auto
’
otherwise behaves as ‘start
’.
The alignment container is the multi-column element’s content box. The alignment subject is the column boxes, as a unit.
The ‘align-content
’ property applies along the
block axis, but if a <content-distribution>
is specified the fallback
alignment is used instead. The ‘justify-content
’ property does not apply to
and has no effect on multi-column elements.
‘auto
’ behaves as ‘start
’.
‘auto
’ computes to ‘stretch
’.
The alignment container is
the flex container’s content box. For ‘justify-content
’, the alignment subject is the flex
items in each flex line; for ‘align-content
’,
the alignment subject is the
flex lines.
The ‘align-content
’ property applies along the
cross axis. The ‘justify-content
’ property applies along the
main axis, but ‘stretch
’ behaves as ‘start
’.
See [CSS3-FLEXBOX] for details.
‘auto
’ computes to ‘start
’, and ‘stretch
’ behaves like
‘start
’.
The alignment container is the grid container’s content box. The alignment subject is the bounds of the grid. Need to dfn a better term for this in Grid.
The ‘align-content
’ property applies along the
block (column) axis. The ‘justify-content
’ property applies along the
inline (row) axis. In both properties, if a <content-distribution>
is specified, the fallback
alignment is used instead.
The content of boxes participating in row-like layout contexts can be baseline-aligned to each other. The alignment subject of a box participating in baseline content-alignment is shifted such that the baseline of the first formatted line of all participating boxes align, and the intrinsic size of each box is increased by the distance the content needed to shift in order to thus align the baselines.
The set of boxes that participate in baseline content-alignment together depends on the layout model:
align-content
’ is ‘baseline
’.
align-content
’ is ‘baseline
’, its computed
‘align-self
’ is
‘stretch
’ or ‘start
’, and its inline
axis is parallel to the main axis.
align-content
’ is ‘baseline
’, and its
computed ‘align-self
’ or ‘justify-self
’
(whichever affects its block axis) is ‘stretch
’ or ‘start
’.
If a cell/item spans multiple rows or columns, it participates in alignment within its start-most row/column only.
The ‘justify-self
’ and ‘align-self
’
properties control alignment of the box within its containing block.
justify-self
’ property| Name: | justify-self |
|---|---|
| Value: | auto | stretch | baseline | [ <item-position> && <overflow-position>? ] |
| Initial: | auto |
| Applies to: | block-level boxes, absolutely-positioned boxes, and grid items |
| Inherited: | no |
| Percentages: | N/A |
| Media: | visual |
| Computed value: | specified value |
| Animatable: | no |
| Canonical order: | per grammar |
Justifies the box within its parent along the inline/row/main axis: the box's outer edges are aligned within its alignment container as described by its alignment value.
The ‘auto
’ keyword computes to ‘stretch
’ on
absolutely-positioned elements, and to the computed value of ‘justify-items
’ on
the parent (minus any ‘legacy
’ keywords) on all other boxes.
The ‘justify-self
’ property applies along its
containing block's inline axis.
The alignment container is
the block's containing block except that for block-level elements that
establish a block formatting context and are placed next to a float, the
alignment container is reduced
by the space taken up by the float. (Note: This is the legacy behavior
of HTML align
.) The alignment subject is the block's
margin box.
The default overflow
alignment is ‘safe
’. In terms of CSS2.1 block-level formatting
[CSS21], the rules
for "over-constrained" computations in section
10.3.3 are ignored in favor of alignment as specified here and the
used value of the offset properties are not adjusted to correct for the
over-constraint.
The ‘stretch
’
value is equivalent to ‘start
’ on block-level boxes.
This property does not apply to floats.
The ‘justify-self
’ property applies along its
containing block's inline axis.
When neither margin in this dimension is ‘auto
’ and neither offset property in this dimension
is ‘auto
’, values other than ‘stretch
’ cause non-replaced
absolutely-positioned boxes to use shrink-to-fit sizing for
calculating ‘auto
’ measures, and ‘justify-self
’
dictates alignment as follows:
The alignment container is
the box's containing block as modified by the offset properties
(‘top
’/‘right
’/‘bottom
’/‘left
’). The alignment subject is the box's
margin box.
The default overflow
alignment is ‘safe
’. In terms of CSS2.1 formatting [CSS21], the rules
for "over-constrained" computations in section
10.3.7 are ignored in favor of alignment as specified here and the
used value of the offset properties are not adjusted to correct for the
over-constraint.
The ‘stretch
’
keyword is equivalent to ‘start
’ on replaced absolutely-positioned boxes.
(This is because CSS 2.1 does not stretch replaced elements to fit into
fixed offsets.)
This property does not apply to table cells, because their position and size is fully constrained by table layout.
This property does not apply to flex items, because there is
more than one item in the main axis. See ‘flex
’ for stretching and ‘justify-content
’ for main-axis
alignment. [CSS3-FLEXBOX]
The ‘justify-self
’ property applies along the
grid's row axis.
The alignment container is
the grid cell. The alignment
subject is the grid item’s margin box. The default overflow alignment is ‘true
’.
Should we make ‘stretch
’ actually work on block-level/abspos
replaced boxes? To maintain legacy compat, this requires adding a new
value (named ‘normal
’?) which has the current
behavior of stretching non-replaced boxes and start-aligning replaced
ones.
The effect of these rules is that an auto-sized block-level table, for example, can be aligned while still having side margins. If the table's max-content size is narrower than its containing block, then it is shrink-wrapped to that size and aligned as specified. If the table's max-content size is wider, then it fills its containing block, and the margins provide appropriate spacing from the containing block edges.
align-self
’ property| Name: | align-self |
|---|---|
| Value: | auto | stretch | baseline | [ <item-position> && <overflow-position>? ] |
| Initial: | auto |
| Applies to: | block-level elements |
| Inherited: | no |
| Percentages: | N/A |
| Media: | visual |
| Computed value: | specified value |
| Animatable: | no |
| Canonical order: | per grammar |
Aligns the box within its parent along the block/column/cross axis: the box's outer edges are aligned within its alignment container as described by its alignment value.
The ‘auto
’ keyword computes to ‘stretch
’ on
absolutely-positioned elements, and to the computed value of ‘justify-items
’ on
the parent (minus any ‘legacy
’ keywords) on all other boxes.
The ‘align-self
’ property does not apply to
block-level boxes (including floats), because there is more than one
item in the block axis.
The ‘justify-self
’ property applies along its
containing block's inline axis.
When neither margin in this dimension is ‘auto
’ and neither offset property in this dimension
is ‘auto
’, values other than ‘stretch
’ cause non-replaced
absolutely-positioned boxes to use shrink-to-fit sizing for
calculating ‘auto
’ measures, and ‘align-self
’
dictates alignment as follows:
The alignment container is
the box's containing block as modified by the offset properties
(‘top
’/‘right
’/‘bottom
’/‘left
’). The alignment subject is the box's
margin box.
The default overflow
alignment is ‘safe
’. In terms of CSS2.1 formatting [CSS21], the rules
for "over-constrained" computations in section
10.6.4 are ignored in favor of alignment as specified here and the
used value of the offset properties are not adjusted to correct for the
over-constraint.
The ‘stretch
’
keyword is equivalent to ‘start
’ on replaced absolutely-positioned boxes.
(This is because CSS 2.1 does not stretch replaced elements to fit into
fixed offsets.)
This property does not apply to table cells, because their position and size is fully constrained by table layout.
The ‘align-self
’ property applies along the
flexbox's cross axis.
The alignment container is
the flex line the item is in. The alignment subject is the flex
item’s margin box. The default overflow alignment is ‘true
’. See [CSS3-FLEXBOX] for details.
The ‘align-self
’ property applies along the
grid's column axis.
The alignment container is
the grid cell. The alignment
subject is the grid item’s margin box. The default overflow alignment is ‘true
’.
Boxes participating in row-like layout contexts can be baseline-aligned to each other. An alignment subject participating in baseline content-alignment is shifted such that the baseline of the first formatted line of all participating boxes align, and the intrinsic size of its alignment container is increased by the largest distance a box needed to shift in order to thus align the baselines.
The set of boxes that participate in baseline self-alignment together depends on the layout model:
justify-self
’ or ‘align-self
’ property
(whichever matches its inline axis) computes to ‘baseline
’.
If a cell/item spans multiple rows or columns, it participates in alignment within its start-most row/column only.
The ‘align-items
’ and ‘justify-items
’
properties set the default ‘align-self
’ and ‘justify-self
’
behavior of the items contained by the element.
justify-items
’ property| Name: | justify-items |
|---|---|
| Value: | auto | stretch | baseline | [ <item-position> && <overflow-position>? ] | [ legacy && [ left | right | center ] ] |
| Initial: | auto |
| Applies to: | block containers, flex containers, and grid containers |
| Inherited: | no |
| Percentages: | N/A |
| Media: | visual |
| Computed value: | specified value |
| Animatable: | no |
| Canonical order: | per grammar |
This property specifies the default ‘justify-self
’ for all of the boxes (including
anonymous boxes) participating in this box's formatting context. Values
have the following meanings:
auto
’
If the element has a parent, and its computed value for ‘justify-items
’
includes the ‘legacy
’
keyword, ‘auto
’ computes to the parent's
value.
Otherwise, ‘auto
’ computes to:
legacy
’
center
’, ‘left
’, and ‘right
’ positions. The alignment keyword, but not
the ‘legacy
’ keyword, is
passed to ‘justify-self
’. It exists to implement the
legacy alignment behavior of HTML's <center>
element and
align
attribute.
Other values have no special handling and are merely passed to ‘justify-self
’.
align-items
’ property| Name: | align-items |
|---|---|
| Value: | auto | stretch | baseline | [ <item-position> && <overflow-position>? ] |
| Initial: | auto |
| Applies to: | block-level elements |
| Inherited: | no |
| Percentages: | N/A |
| Media: | visual |
| Computed value: | specified value |
| Animatable: | no |
| Canonical order: | per grammar |
This property specifies the default ‘align-self
’ for all of the boxes (including
anonymous boxes) participating in this box's formatting context. Values
have the following meanings:
Other values have no special handling and are merely passed to ‘align-self
’.
Changes since the First Public Working Draft include:
safe
’ and
‘true
’ as overflow alignment keywords and made the
default layout-mode-dependent.
head
’ and ‘foot
’ keywords, defined ‘start
’ and ‘end
’ keywords as relative to the alignment container‘s writing mode, and added
’‘self-start
’‘ and
’‘self-end
’‘ to be relative
to the alignment subject.
<CENTER>>
/align
attribute requirements by
adding ‘legacy
’ keyword.
justify-content
’ and ‘align-content
’.
Conformance requirements are expressed with a combination of descriptive assertions and RFC 2119 terminology. The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in the normative parts of this document are to be interpreted as described in RFC 2119. However, for readability, these words do not appear in all uppercase letters in this specification.
All of the text of this specification is normative except sections explicitly marked as non-normative, examples, and notes. [RFC2119]
Examples in this specification are introduced with the words “for
example” or are set apart from the normative text with
class="example"
, like this:
This is an example of an informative example.
Informative notes begin with the word “Note” and are set apart from
the normative text with class="note"
, like this:
Note, this is an informative note.
Conformance to CSS Box Alignment Module Level 3 is defined for three conformance classes:
A style sheet is conformant to CSS Box Alignment Module Level 3 if all of its statements that use syntax defined in this module are valid according to the generic CSS grammar and the individual grammars of each feature defined in this module.
A renderer is conformant to CSS Box Alignment Module Level 3 if, in addition to interpreting the style sheet as defined by the appropriate specifications, it supports all the features defined by CSS Box Alignment Module Level 3 by parsing them correctly and rendering the document accordingly. However, the inability of a UA to correctly render a document due to limitations of the device does not make the UA non-conformant. (For example, a UA is not required to render color on a monochrome monitor.)
An authoring tool is conformant to CSS Box Alignment Module Level 3 if it writes style sheets that are syntactically correct according to the generic CSS grammar and the individual grammars of each feature in this module, and meet all other conformance requirements of style sheets as described in this module.
So that authors can exploit the forward-compatible parsing rules to assign fallback values, CSS renderers must treat as invalid (and ignore as appropriate) any at-rules, properties, property values, keywords, and other syntactic constructs for which they have no usable level of support. In particular, user agents must not selectively ignore unsupported component values and honor supported values in a single multi-value property declaration: if any value is considered invalid (as unsupported values must be), CSS requires that the entire declaration be ignored.
To avoid clashes with future CSS features, the CSS2.1 specification reserves a prefixed syntax for proprietary and experimental extensions to CSS.
Prior to a specification reaching the Candidate Recommendation stage in the W3C process, all implementations of a CSS feature are considered experimental. The CSS Working Group recommends that implementations use a vendor-prefixed syntax for such features, including those in W3C Working Drafts. This avoids incompatibilities with future changes in the draft.
Once a specification reaches the Candidate Recommendation stage, non-experimental implementations are possible, and implementors should release an unprefixed implementation of any CR-level feature they can demonstrate to be correctly implemented according to spec.
To establish and maintain the interoperability of CSS across implementations, the CSS Working Group requests that non-experimental CSS renderers submit an implementation report (and, if necessary, the testcases used for that implementation report) to the W3C before releasing an unprefixed implementation of any CSS features. Testcases submitted to W3C are subject to review and correction by the CSS Working Group.
Further information on submitting testcases and implementation reports can be found from on the CSS Working Group's website at http://www.w3.org/Style/CSS/Test/. Questions should be directed to the<EMAIL_ADDRESS>mailing list.
[Change or remove the following CR exit criteria if the spec is not a module, but, e.g., a Note or a profile. This text was decided on 2008-06-04.]
For this specification to be advanced to Proposed Recommendation, there must be at least two independent, interoperable implementations of each feature. Each feature may be implemented by a different set of products, there is no requirement that all features be implemented by a single product. For the purposes of this criterion, we define the following terms:
The specification will remain Candidate Recommendation for at least six months.
Special thanks goes to Markus Mielke, Alex Mogilevsky, and the participants in the CSSWG's March 2008 F2F alignment discussions.
baseline
’, 3.2.
center
’, 3.1.
end
’, 3.1.
flex-end
’, 3.1.
flex-start
’, 3.1.
left
’, 3.1.
legacy
’, 6.1.
right
’, 3.1.
safe
’, 3.4.
self-end
’, 3.1.
self-start
’, 3.1.
space-around
’, 3.3.
space-between
’, 3.3.
space-evenly
’, 3.3.
start
’, 3.1.
stretch
’, 3.1., 3.3.
true
’, 3.4.
| Property | Values | Initial | Applies to | Inh. | Percentages | Media |
|---|---|---|---|---|---|---|
| align-content | auto | baseline | [ <content-distribution> <content-position>? | <content-position> ] && <overflow-position>? | auto | block containers, flex containers, and grid containers | no | N/A | visual |
| align-items | auto | stretch | baseline | [ <item-position> && <overflow-position>? ] | auto | block-level elements | no | N/A | visual |
| align-self | auto | stretch | baseline | [ <item-position> && <overflow-position>? ] | auto | block-level elements | no | N/A | visual |
| justify-content | auto | baseline | [ <content-distribution> <content-position>? | <content-position> ] && <overflow-position>? | auto | block containers, flex containers, and grid containers | no | N/A | visual |
| justify-items | auto | stretch | baseline | [ <item-position> && <overflow-position>? ] | [ legacy && [ left | right | center ] ] | auto | block containers, flex containers, and grid containers | no | N/A | visual |
| justify-self | auto | stretch | baseline | [ <item-position> && <overflow-position>? ] | auto | block-level boxes, absolutely-positioned boxes, and grid items | no | N/A | visual |


title: Crate & Google Cloud Platform description: We love using the Google Cloud Platform resources here at Crate.IO logo: /static/images/gce-logo.png {% extends "doc.html" %} {% block docs_content %}
We love using Google Cloud Platform resources here at Crate.IO. We've done quite a few Proof of Concepts using the platform. For example, we're currently running play.crate.io there, a public instance of Crate that lets you experiment with it without having to download or install anything.
Our current work involves using Docker or Docker on CoreOS, but you don't have to use either.  Please note: in the following command you cannot use the {1..3} substitution syntax, it’ll throw an error. This means you’ll have to run the command three times using 1 then 2, then 3.
gcloud compute instances create demo-{1..3} \ --zone us-central1-a \ --image ubuntu-14-04 \ --disk name=demo-ssd-{1..3} \ --machine-type n1-standard-8 \ --boot-disk-size 10GB \ --network demoIf you want a bash one-liner that loops, use this:
for i in {1..3}; do; gcloud compute instances create demo-$i --zone us-central1-a --image ubuntu-14-04 --disk name=demo-ssd-$i --machine-type n1-standard-8 --boot-disk-size 10GB --network demo; doneIt's important to note that the machine type you choose should have at least 32GB of RAM. The default heap size for Crate is 16GB, and should never take up more than half of the RAM available on the instance. No one machine type fits this perfectly, so you can use any of the following:
gcloud compute ssh demo-1
sudo su - mkfs.ext4 -F /dev/sdb mkdir -p /data/data1 mount /dev/sdb /data/data1
Now you're ready to install Crate. You can do this any way you choose (tarball, APT, yum, Docker, etc.) but we recommend using Docker containers. We also like CoreOS because of it's small footprint and ease of scaling. In the tabs below you'll find instructions for both Docker or Docker on CoreOS
sudo apt-get -y install docker.ioThen get Crate's official Docker container:
sudo docker pull crate:latestNow Crate should be ready to run in a container on your instance. Again, repeat these commands on each instance.
gcloud compute instances list | grep demoThen fill in the IPs from that list to the following line, making sure to add :4300
HOSTS="<IP_ADDRESS>:4300,<IP_ADDRESS>:4300,<IP_ADDRESS>:4300"
PRIVATE_IP=$(curl "http://metadata/computeMetadata/v1/instance/network-interfaces/0/ip" -H "X-Google-Metadata-Request: True") sudo docker run -d -p 4200:4200 \ -p 4300:4300 \ --volume /data:/data \ --env CRATE_HEAP_SIZE=16g \ crate \ crate \ -Des.path.data="/data/data1" \ -Des.multicast.enabled=false \ -Des.network.publish_host=$PRIVATE_IP \ -Des.discovery.zen.ping.unicast.hosts=$HOSTSRun this on each instance and the cluster should discover all of the nodes and become a 3-node cluster.
curl -XPOST $PRIVATE_IP:4200/_sql -d '{ "stmt": "select name from sys.nodes" }'
If you want to run CoreOS on your instances, it can take a few extra steps to get set up, but then you gain some benefits from using CoreOS. Create the networks and disks as before, but when it comes to building the instances, you'll pass in a YAML file that outlines the steps CoreOS should take while installing.
There are several different CoreOS cluster architectures you can read about. Here we're going to outline a simple small cluster with high-availability.
First, generate a new token for each unique cluster using: https://discovery.etcd.io/new. This will give you a token you'll need to put into the YAML file so all nodes register themselves and are then discoverable.
Here is a sample YAML file for Crate, CoreOS, and Docker. Be sure to add the Discovery token as well as your username and public key:
cloud-config.yaml#cloud-config coreos: update: reboot-strategy: off etcd: # generate a new token for each unique cluster from https://discovery.etcd.io/new discovery: https://discovery.etcd.io/YOUR_DISCOVERY_TOKEN_HERE # multi-region and multi-cloud deployments need to use $public_ipv4 addr: $private_ipv4:4001 peer-addr: $private_ipv4:7001 units: - name: etcd.service command: start - name: fleet.service command: start - name: docker.service command: start - name: docker-pull-crate.service command: start content: | [Unit] Description=Pull the latest Crate Docker Image After=docker.service [Service] Type=oneshot ExecStart=/usr/bin/docker pull crate:latest - name: format-data1.service command: start content: | [Unit] Description=Format SSD Before=mnt-data1.mount [Service] Type=oneshot ExecStartPre=/usr/bin/mkdir -p /mnt/data1 ExecStart=/usr/sbin/mkfs.ext3 -F /dev/sdb - name: mnt-data1.mount command: start content: | [Unit] Description=Mount SSD Requires=format-data1.service After=format-data1.service Before=docker.service [Mount] What=/dev/sdb Where=/mnt/data1 ssh_authorized_keys: - ssh-dss YOUR_PUBLIC_KEY_HERE users: - name: YOUR_DESIRED_USERNAME coreos-ssh-import-github: YOUR_GITHUB_ID groups: - sudo - docker
Now that you've got your cloud-config.yaml file ready, you can start up the instances. In the same directory as this file (or provide the proper path to it) you can do this. Reminder that the brace expansion doesn't work, so you'll need to run this 3 times.
$ gcloud compute instances create demo-{1..3} \ --zone us-central1-a \ --image coreos \ --disk name=demo-ssd-{1..3} \ --machine-type n1-standard-8 \ --boot-disk-size 10GB \ --network demo \ --metadata-from-file user-data=cloud-config.yaml
Again, if you want a bash one-liner that loops, use this:
for i in {1..3}; do; gcloud compute instances create demo-$i --zone us-central1-a --image coreos --disk name=demo-ssd-$i --machine-type n1-standard-8 --boot-disk-size 10GB --network demo --metadata-from-file user-data=cloud-config.yaml; doneWhen this completes, you should have 3 instances of Crate running in automatically discoverable nodes, inside Docker containers, with the SSD drives automatically mounted, and your user's SSH keys ready to go!
Fleetctl is the command line tool you use on a CoreOS instance to manage the "fleet" of machines. You provide the fleet with services which then get run on all of the CoreOS machines the fleet knows about. This is why CoreOS is so powerful, you don't have to install the containers on each instance, just let fleetctl take care of it!
First let's verify that all of the GCE instances are talking to each other and part of the fleet.
gcloud compute ssh demo-1
fleetctl list-machinesOutput:
MACHINE IP METADATA 58b93a38... <IP_ADDRESS> - d9c96412... <IP_ADDRESS> - dcb7f013... <IP_ADDRESS> -
Now let's copy the appropriate service files up to one of the instances.  Once you have the service file in place, starting Crate across the entire cluster is as simple as running:
fleetctl start crate.service
You can verify that it's running everywhere by typing:
fleetctl list-unitsOutput:
UNIT MACHINE ACTIVE SUB crate.service 58b93a38.../<IP_ADDRESS> active running crate.service d9c96412.../<IP_ADDRESS> active running crate.service dcb7f013.../<IP_ADDRESS> active running
Now let's just make sure that the Crate cluster is well-formed and operating correctly:
PRIVATE_IP=$(curl "http://metadata/computeMetadata/v1/instance/network-interfaces/0/ip" -H "X-Google-Metadata-Request: True") curl -XPOST $PRIVATE_IP:4200/_sql -d '{ "stmt": "select name from sys.nodes" }'Output:
{"cols":["name"],"duration":242,"rows":[["Scrier"],["Orphan-Maker"],["Micro"]],"rowcount":3}
There you have it! You can see that there are 3 Crate nodes running in this cluster. Now if you add another node to the CoreOS cluster, it will automatically join the Crate cluster and Crate will take care of the rest. Simple scalability FTW!


Comments
-
Greg Hurrell
Answer found here. The renegotiation is triggered because my the Base 64 representation of my password just happens to start with a capital R, meaning that it will trigger renegotiation as soon as I enter it.
This can be suppressed with the
-ign_eof
switch. Also from that link, I see that the-crlf
is a good idea to ensure that the end-of-message marker is correctly processed (the RFC expects\r\n.\r\n
to indicate the end of the message submission.No idea why this only recently became a problem in Mail.app. Never noticed it before.
Easiest work around for now seems to be to just change my password.
-
Greg Hurrell
Ok, I've changed my password and tested sending mail from the web interface and over the command line and both work but Mail.app is still being stubborn. Going to reboot just in case it's hanging on to some stale authentication info somewhere (although no idea where that might be, seeing as it should be in the keychain and the keychain is up to date).
-
Greg Hurrell
Nope, still not working, so something bizarre going on.
-
Greg Hurrell
Just tested with Thunderbird and it works fine for all 3 accounts, so this is buggy behavior in Mail.app.
-
Greg Hurrell
Ok, after deleting and re-adding all the server configs, things seem to be working in Mail.app again (all three servers).
-
Greg Hurrell
Status changed:
- From: new
- To: closed
Add a comment
Comments are now closed for this issue.


03 July 2001
Disease Outbreak Reported
During 2001 WHO has received reports of cases of W135 meningococcal disease, mainly associated with international travel or contact with travellers to Saudi Arabia.
France has updated its figures since the last report. Six cases (contacts with Haj pilgrims) have now been reported. N. meningitidis serogroup W135 has been laboratory confirmed.
For information about reports from other countries as well as background information and WHO recommendations for the control of meningococcal disease, please see the last report of 22 June 2001.


Tools of the Trade
Atom key commands
- ⌘-⬆-p - Opens command palette
- ⌘-p - Opens file finder
- ⌘-r - Go to symbol
- ⌘-/ - Toggle commenting
- ^-Space - Autocomplete
Atom
Command palette
- Editor: Auto Indent
Packages
- Linter
- Linter Ruby
- Linter Rubocop
Setting Atom as your EDITOR
Add to your ~/.profile
:
export EDITOR="atom -w"
Pry
gem install pry pry-byebug pry-doc
- From now on, run
pry
instead ofirb
Using pry in your code
```ruby # TOP OF FILE require 'pry'
LATER
name = gets.chomp binding.pry # Here is the important line puts "Hi, #{name}" ```
Wren
gem install wren
wren new <project>
Git and GitHub
- Creating a new git repository
- Adding files
- Committing files
- Creating a repository on GitHub
- Pushing to GitHub


Social media bill will protect human dignity — Lawmaker
by BankoleSen. Mohammed Musa (APC- Niger), has urged Nigerians to support the social media bill before the National Assembly because it was aimed at protecting human dignity.
Musa said this in a statement on Monday in Abuja.
Also read: Bill to regulate social media use scales second reading in Senate
He said the bill, when assented to, would protect human dignity among many other inherent gains.
The Senate had on Nov 5, re-introduced the ‘Protection from Internet Falsehood and Manipulations Bill 2019’, to regulate the use of social media in the country.
The bill, which was sponsored by Sen. Musa, was aimed at curbing fake news on the internet and to guide social media users.
“The social media bill comes with enormous gains such as a free internet that guarantees national security; protects minors from abusive forms of marketing, violence, and pornography.
“The bill, when assented to, will protect human dignity from incitement to racial hatred or racial discrimination.
”It will provide economic security and curb fraud, as well as provide instructions on pirating credit cards.
“It will also provide security, protect privacy from unauthorised communication of personal data, electronic harassment; protection of reputation and intellectual property as propounded by the European Union Paper on illegal and harmful content on the internet,’’ he said.
The lawmaker said that although Nigerians might be afraid that the law could be manipulated by politicians and government officials, it was not enough to negate the overall gains of the regulation.
He urged Nigerians to support the voyage, reiterating that it would guarantee sanity, protect rights and sensitivities on the internet.
He, however, faulted claim that the bill which had similarities with a Singaporean Statue subject was plagiarised.
According to him, it is preposterous that this is said to be an instance of plagiarism.
The lawmaker said that legislations across the globe are public documents and national legislatures do not claim right over them, as to form the basis for a claim for plagiarism over their effectiveness.
He said that the problems and challenges of regulating internet activities cut across jurisdictions and was therefore inevitable that lessons should be drawn from other jurisdictions in fashioning out workable solutions in Nigeria.
He urged the general public not to heed to the immature attempt by uninformed mischief makers who were trying to distort the progress of the bill.
Musa said the law when enacted, would become a universal template that could be adopted and domesticated to fit peculiarities.
“Beyond public speaking, internet space in Nigeria has become corrosive. Information whether true or false spreads like wildfire.

“We need a more standardised approach and this is the crux of the move to sanitise the corrosive internet space in Nigeria,” he said.


cluster:
name: kubernetes
# Kubernetes cluster version (supported minor version "v1.9.x").
version: v1.9.2
# Set to true if the nodes have the required packages installed.
disable_package_installation: false
# Set to true if you are performing a disconnected installation.
disconnected_installation: false
# Networking configuration of your cluster.
networking:
# Kubernetes will assign pods IPs in this range. Do not use a range that is
# already in use on your local network!
pod_cidr_block: <IP_ADDRESS>/16
# Kubernetes will assign services IPs in this range. Do not use a range
# that is already in use by your local network or pod network!
service_cidr_block: <IP_ADDRESS>/16
# Set to true if your nodes cannot resolve each others' names using DNS.
update_hosts_files: true
# Set the proxy server to use for HTTP connections.
http_proxy: ""
# Set the proxy server to use for HTTPs connections.
https_proxy: ""
# List of host names and/or IPs that shouldn't go through any proxy.
# All nodes' 'host' and 'IPs' are always set.
no_proxy: ""
# Generated certs configuration.
certificates:
# Self-signed certificate expiration period in hours; default is 2 years.
expiry: 17520h
# CA certificate expiration period in hours; default is 2 years.
ca_expiry: 17520h
# SSH configuration for cluster nodes.
ssh:
# This user must be able to sudo without password.
user: kubernetes
# Absolute path to the ssh private key we should use to manage nodes.
ssh_key: /home/kubernetes/kismetic/app-linux2.key
ssh_port: 22
# Override configuration of Kubernetes components.
kube_apiserver:
option_overrides: {}
kube_controller_manager:
option_overrides: {}
kube_scheduler:
option_overrides: {}
kube_proxy:
option_overrides: {}
kubelet:
option_overrides:
cgroup-driver: "systemd"
# Kubernetes cloud provider integration.
cloud_provider:
# Options: 'aws','azure','cloudstack','fake','gce','mesos','openstack',
# 'ovirt','photon','rackspace','vsphere'.
# Leave empty for bare metal setups or other unsupported providers.
provider: ""
# Path to the config file, leave empty if provider does not require it.
config: ""
# Docker daemon configuration of all cluster nodes.
docker:
# Set to true if docker is already installed and configured.
disable: false
logs:
driver: json-file
opts:
max-file: "1"
max-size: 50m
storage:
# Leave empty to have docker automatically select the driver.
driver: ""
opts: {}
# Used for setting up Device Mapper storage driver in direct-lvm mode.
direct_lvm_block_device:
# Absolute path to the block device that will be used for direct-lvm mode.
# This device will be wiped and used exclusively by docker.
path: ""
thinpool_percent: "95"
thinpool_metapercent: "1"
thinpool_autoextend_threshold: "80"
thinpool_autoextend_percent: "20"
# If you want to use an internal registry for the installation or upgrade, you
# must provide its information here. You must seed this registry before the
# installation or upgrade of your cluster. This registry must be accessible from
# all nodes on the cluster.
docker_registry:
# IP or hostname and port for your registry.
server: "https://index.docker.io/v1/"
# Absolute path to the certificate authority that should be trusted when
# connecting to your registry.
CA: ""
# Leave blank for unauthenticated access.
username: ""
# Leave blank for unauthenticated access.
password: ""
# Add-ons are additional components that KET installs on the cluster.
add_ons:
cni:
disable: false
# Selecting 'custom' will result in a CNI ready cluster, however it is up to
# you to configure a plugin after the install.
# Options: 'calico','weave','contiv','custom'.
provider: calico
options:
calico:
# Options: 'overlay','routed'.
mode: overlay
# Options: 'warning','info','debug'.
log_level: info
# MTU for the workload interface, configures the CNI config.
workload_mtu: 1500
# MTU for the tunnel device used if IPIP is enabled.
felix_input_mtu: 1440
dns:
disable: false
# Options: 'kubedns','coredns'.
provider: kubedns
heapster:
disable: true
options:
heapster:
replicas: 2
# Specify kubernetes ServiceType. Defaults to 'ClusterIP'.
# Options: 'ClusterIP','NodePort','LoadBalancer','ExternalName'.
service_type: ClusterIP
# Specify the sink to store heapster data. Defaults to an influxdb pod
# running on the cluster.
sink: influxdb:http://heapster-influxdb.kube-system.svc:8086
influxdb:
# Provide the name of the persistent volume claim that you will create
# after installation. If not specified, the data will be stored in
# ephemeral storage.
pvc_name: ""
dashboard:
disable: false
package_manager:
disable: false
# Options: 'helm'.
provider: helm
options:
helm:
namespace: kube-system
# The rescheduler ensures that critical add-ons remain running on the cluster.
rescheduler:
disable: false
# Etcd nodes are the ones that run the etcd distributed key-value database.
etcd:
expected_count: 1
# Provide the hostname and IP of each node. If the node has an IP for internal
# traffic, provide it in the internalip field. Otherwise, that field can be
# left blank.
nodes:
- host: "app-linux2.lab.com"
ip: "<IP_ADDRESS>"
internalip: ""
# Master nodes are the ones that run the Kubernetes control plane components.
master:
expected_count: 1
# If you have set up load balancing for master nodes, enter the FQDN name here.
# Otherwise, use the IP address of a single master node.
load_balanced_fqdn: "app-linux2.lab.com"
# If you have set up load balancing for master nodes, enter the short name here.
# Otherwise, use the IP address of a single master node.
load_balanced_short_name: "<IP_ADDRESS>"
nodes:
- host: "app-linux2.lab.com"
ip: "<IP_ADDRESS>"
internalip: ""
labels: {}
# Worker nodes are the ones that will run your workloads on the cluster.
worker:
expected_count: 2
nodes:
- host: "app-linux1.lab.com"
ip: "<IP_ADDRESS>"
internalip: ""
labels: {}
- host: "app-linux3.lab.com"
ip: "<IP_ADDRESS>"
internalip: ""
labels: {}
# Ingress nodes will run the ingress controllers.
ingress:
expected_count: 1
nodes:
- host: "app-linux2.lab.com"
ip: "<IP_ADDRESS>"
internalip: ""
labels: {}
# Storage nodes will be used to create a distributed storage cluster that can
# be consumed by your workloads.
storage:
expected_count: 0
nodes: []
# A set of NFS volumes for use by on-cluster persistent workloads.
nfs:
nfs_volume: []


Welcome to Cordova
Some code samples
Device
Network
Accelerometer
Capture
Events
Notification
Storage
File
A limited test-suite
Storage
Notification


Hide Page | Reload Cached
The goal of this page is to use JavaScript to manipulate the DOM while fonts are loading, and once they have all rendered.


Blog
Twitter
Facebook
Enjoy the demo!
Buy the full version on the
Chrome Web Store
or
Mac App Store
!


Questionare!
Name:
Age:
Gender:
Male
Female
E-mail:
Submit
List All Information
Return to Homepage
I try to make pages produced by CGI pass W3C validations, and I secceed. I didn't have enough time to using python to write CGI.


Try out our Premium Member services: Virtual Legal Assistant, Query Alert Service and an ad-free experience. Free for one month and pay only if you like it.
IN THE HIGH COURT OF KERALA AT ERNAKULAM PRESENT: THE HONOURABLE THE ACTING CHIEF JUSTICE MR.HRISHIKESH ROY & THE HONOURABLE MR. JUSTICE A.K.JAYASANKARAN NAMBIAR TUESDAY, THE 10TH DAY OF JULY 2018 / 19TH ASHADHA, 1940 WA.No. 1256 of 2017 IN WPC. 8619/2008 AGAINST THE ORDER/JUDGMENT IN WP(C) 8619/2008 of HIGH COURT OF KERALA DATED 20-03-2017 APPELLANT(S)/ADDITIONAL 6TH RESPONDENT IN WPC NO.8649/2008 SMT.P.THANKAKUTTY W/O.LATE SUDHAKARAN, CHARUVILA, PUTHEN VEEDU, UCHAKKADA, PAYATTUVILA P.O., NEYYATTINKARA TALUK, THIRUVANANTHAPURAM DISTRICT 695 501. BY ADVS.SRI.VADAKARA V.V.N.MENON SRI.N.S.GOPAKUMAR RESPONDENT(S)/WRIT PETITIONER & RESPONDENTS NOS1,2,4,5&7 IN WPC: 1. K.SUGATHA KUMARI W/O.RAVEENDRAN, KANJIRAM NINNA RAVIL BHAVAN,, CHOWARA, KOTTUKAL VILLAGE, NEYYATTINKARA TALUK,, THIRUVANANTHAPURAM DISTRICT. 2. THE AIR APPELLATE AUTHORITY THIRUVANANTHAPURAM, POOJAPPURA, REP. BY ITS, SECRETARY 3. THE DISTRICT ENVIRONMENTAL ENGINEER, KERALA STATE POLLUTION CONTROL BOARD,TC.NO.9/1858,, KOCHAR ROAD, SASTHAMANGALAM, THIRUVANANTHAPURAM 695 004. 4. KERALA STATE POLLUTION BOARD REPRESENTED BY ITS MEMBER SECRETARY, PATTOM, THIRUVANANTHAPURAM 695 004. 5. KOTTUKAL GRAMA PANCHAYAT, KOTTUKAL P.O., NEYYATTINKARA TALUK,, THIRUVANANTHAPURAM DISTRICT, REP. BY ITS SECRETARY 695 501. WA.1256/17 2 6. SRI.PRABHAKARAN S/O.KRISHNAN NADAR, CHARUVILA PUTHEN VEEDU, UCHAKKADA, PAYATTUVILA P.O., THIRUVANANTHAPURAM DISTRICT, 695 001. R1 BY ADV. SRI.V.G.ARUN (K/795/2004) R1 BY ADV. SRI.K.R.SYAM SEKHAR R1 BY ADV. SMT.V.JAYA RAGI R1 BY ADV. SMT.INDULEKHA JOSEPH R1 BY ADV.  & A.K.JAYASANKARAN NAMBIAR, J. ------------------------------------------------------ W.A.No.1256 of 2017 ------------------------------------------------------ Dated this the 10th day of July, 2018 JUDGMENT
Hrishikesh Roy, Ag C.J.
1. The 6th respondent in the writ petition, Smt.P.Thankakutty, has filed this appeal to challenge the judgment dated 20.3.2017 in the W.P(C).8619/08. She is the wife of K.Sudhakaran, the third respondent in the writ petition, who was the proprietor of a flour mill by the name 'Dhanya Floor Mill' at Chowara, Neyyattinkara Taluk. In the writ petition, the challenge is against Ext.P6 order of the Air Appellate Authority, Thiruvananthapuram, where the licensee was in appeal. That appeal was filed under Section 31 of the Air (Prevention and Control of Pollution) Act, 1981 , to challenge the Ext.P3 order dated 30.6.2004 of the Kerala State Pollution Control Board, because the consent to operate the mill was denied.
2. The appellate authority, under the Ext.P6 order, considered the circumstances of the case, but was unable to reach a definite conclusion on the correctness of the negative decision. Thus, the impugned order was set aside and the matter was remitted back to the Pollution Control Board for fresh disposal, after due inspection with notice to the licensee K.Sudhakaran, the third respondent in the writ petition.
WA.1256/17 2
3. Aggrieved by the Ext.P6 decision of the Air Appellate Authority, one K.Sugatha Kumari, residing within the neighbourhood of the flour mill, filed the writ proceeding and it came to light during the said proceeding that the licensee K.Sudhakaran had expired. The learned Judge accordingly said that since the licensee had expired, the licence for the flour mill cannot inure to the benefit of anyone else, including his wife. Thus it was observed that if the wife intends to operate the flour mill, she cannot do so on the strength of Ext.P6 order, but will have to apply fresh and obtain licence in her own name as the flour mill was being operated exclusively in the name of the third respondent, until he died. With such observation, the writ petition was closed, granting liberty to the aggrieved party to pursue her remedies in the writ proceeding.
4. Representing the appellant/6th respondent, Sri.V.V.N.Menon, the learned counsel, submits that when the licensee dies, it is normal for the authorities to issue licence to the successor in order to enable the family to carry on the business. In this context, Sri.T.Naveen, the learned counsel for the PCB, submits that the wife has to apply online for consent of the PCB, but the same is not yet done.
5. Reacting to the above projection from the PCB counsel, Sri.V.V.N.Menon, on behalf of the appellant as the wife of the original licensee, submits that his client will now apply online for the consent of the PCB and he prays for a direction that her application be considered on merits by the authority. WA.1256/17 3
6. Having considered the above, direction is issued to the PCB to take a decision on merit, after hearing not only the applicant but also the objector, the writ petitioner. Except to this limited extent, we do not interfere with the impugned judgment of the learned single Judge. The writ appeal is thus disposed of accordingly.
7. The Registry should post W.P(C).3638/17, before the appropriate Bench as per roster.
Sd/-
HRISHIKESH ROY ACTING CHIEF JUSTICE Sd/-
A.K.JAYASANKARAN NAMBIAR JUDGE kkb.


mod_wsgi¶
The mod_wsgi package implements a simple to use Apache module which can host any Python web application which supports the Python WSGI specification. The package can be installed in two different ways depending on your requirements.
The first is as a traditional Apache module installed into an existing Apache installation. Following this path you will need to manually configure Apache to load mod_wsgi and pass through web requests to your WSGI application.
The second way of installing mod_wsgi is to install it from PyPi using the
Python pip
command. This builds and installs mod_wsgi into your Python
installation or virtual environment. The program mod_wsgi-express
will
then be available, allowing you to run up Apache with mod_wsgi from the
command line with an automatically generated configuration. This
approach does not require you to perform any configuration of Apache
yourself.
Both installation types are suitable for production deployments. The latter
approach using mod_wsgi-express
is the best solution if wishing to use
Apache and mod_wsgi within a Docker container to host your WSGI application.
It is also a better choice when using mod_wsgi during the development of
your Python web application as you will be able to run it directly from
your terminal.


|
Lecture 1
|
Data Structure and Algorithms
|
|
Conventions
|
see Conventions
|
DS and ADT
Example: Vector
|
see ADT_SD
|
|
ADT Element and LessThanComparable Element
|
see TE-TCE-ATD
|
|
Containers (Collections). Essential properties.
|
see ContColl
|
|
|
Lecture 2
|
Collections. Set of operations. Specification.
|
|
Dynamic DS:
C++ implementation issues (example: Vector).
|
|
List and Position.
ADT List.
|
|
List in Java.util and C++ STL
|
|
|
Lecture 3
|
Containers and iterators.
|
Iterators.
Operations. Classification.
Examples of usage.
|
(see: Iterat).
|
|
Implementation issues.
|
(example: VectorIterat,
VectorIteratV2).
|
Iterators in Java.util.
Containers and iterators in C++ STL
|
(see bibliography:
Java™
and C++ STL
documentation ).
|
|
|
Lecture 4
|
Sorted Containers.
|
Iterators (part 2).
Read-write iterator example.
(Java.util: ListIterator)
|
|
Sorted Containers.
|
(example: SortedCont).
|
|
Discussions about project.
|
|
Discussion: Greedy method. Idea to solve project problems in the first set.
|
(Greedy. Interval Scheduling (kind of) problems:
Greedy )
|
|
|
Lecture 5
|
Vector. Capacity.
Linked List.
|
Vector. Capacity .
Amortized analisys for capacity grow or shrink strategies.
|
|
see VectCap.
(and also : Amortized analisys and example code support for analysis: VectAmAna.)
|
|
Singly Linked List.
Abstraction and general description.
Implementation issues.
|
|
|
Lecture 6
|
Linked List.
Stack & Queue. Representation.
|
Singly Linked List. Doubly Linked List.
Representation.
Comparison of various linked list.
|
(see LinkedList).
|
|
Stack & Queue.
Representation. (part 1)
|
(see StackQueueRepr).
|
|
|
Lecture 7
|
Queue & Deque.
Linked and array representations.
Trees
|
|
|
Lecture 8
|
Tree Parse
|
|
|
May 01, 2014
|
|
|
|
Lecture 10
|
Binary search tree
|
|
|
Lecture 11
|
Heap
Hash (intro)
|
|
|
Lecture 12
|
Hash
|
|
|
Lecture 13
|
Balanced search tree (algoritms)
|
|
Red black tree (algoritms)
|
(see treeRB).
|
|
AVL tree (algorithms)
|
(see treeAVL).
|
|
|
Lecture 14
|
Sorting algoritms
Discussion about the exam
|
|
Hash (part 3)
|
|
Sorting algoritms
|
(see Sorting).
|
|
Discussion about the exam
|
(see ex-QType).
|
|


Satisfaction in every bite
Every pizza is made by our professionals at our open kitchen counter.
All our toppings are produced according to exact and precise standards.
Our original hand-tossed pizza with premium flour makes the best pizza ever.
CONTACT US