TextStyle
public final class TextStyle: NSObject
Define a TextStyle using TextStyle.Property
array.
Note
If you set the view style on given UI element it simply takes the text
assigned to it and tranforms it into NSAttributedString
applying
the array of TextStyle.Property
.
It can represent the style of:
- UITextView
- UILabel
- UITextField
Example
@IBOutlet weak var label: UILabel!
let redColor = TextStyle(.foregroundColor(.red))
label.textStyle = style
-
Defines a style of an paragraph. Can define
See moreNSTextAlignment
by.alignment
and.lineSpacing
Declaration
Swift
public enum ParagraphStyle
-
Overrides the writing direction. For more reference @see NSAttributedStringKey.writingDirection
See moreDeclaration
Swift
public enum WritingDirectionOverride: Int
-
Property enumerates the options available for
TextStyle
. You can pick from [.font, foregroundColor, .backgroundColor, .paragraphStyle, .letterSpacing, .strikethrought, .underline, .obliqueness, .shadow, .writingDirectionOverrides, .baselineOffset].@see
See moreParagraphStyle
,TextDecoration
,Shadow
,WritingDirectionOverride
Declaration
Swift
public enum Property
-
The array of NSAttributedStringKey which are created from
TextStyle.Property
array specified during initDeclaration
Swift
@objc public let attributes: [NSAttributedStringKey: Any]
-
Designated initializer of
TextStyle
Declaration
Swift
public init(_ properties: Property..., effects: [TextEffect] = [])
Parameters
properties
The array of properties defining the style
effects
The array of effects that should be applied to style.
Return Value
New instance of TextStyle @see
TextStyle.Property
,TextEffect
-
An empty TextStyle having no properties and effects
Declaration
Swift
public static let empty = TextStyle(attributes: [:], effects: [])
-
Applies self to given text by creating
NSAttributedString
usingattributes
Declaration
Swift
@objc public func apply(to text: String) -> NSAttributedString
Parameters
text
The string to apply style on it
Return Value
NSAttributedString
on which are theattributes
and the effects applied
-
Updates curent style with given properties. It uses right associativity rule thus if you redefine any of the original properties assigned to self it will ve overwritten by the new one
let redText = TextStyle(.foregroundColor(.red)) let redTextAndBackground = redText.updating(.backgroundColor(.red))
Declaration
Swift
public func updating(_ properties: Property...) -> TextStyle
Parameters
properties
The array of
Property
to be added to the styleReturn Value
The instance of
TextStyle
with combined properties -
Operator
+
combines two styles. It uses right associativity rule thus if both styles match any property the right will be used.Declaration
Swift
public static func +(left: TextStyle, right: TextStyle) -> TextStyle
Parameters
left
The
TextStyle
to be combined withright
right
The
TextStyle
to be combined withleft
Return Value
The resulting
TextStyle
containing bot properties fromleft
andright
-
Appends text effects to the current style. It uses right associativity rule thus if current style defines any effect contained in updating it will be overriden and newly defined one will be used.
Declaration
Swift
public func appending(_ other: TextEffect...) -> TextStyle
Parameters
other
An array of
TextEffect
Return Value
The
TextStyle
containing original and newly defined effects -
Appends text effect to the current style. It uses right associativity rule thus if current style defines an effect matching the updating one it will be overriden and newly defined one will be used.
Declaration
Swift
public func appending(_ other: TextEffect) -> TextStyle
Parameters
other
Return Value
The
TextStyle
containing original effects and newly defined one -
Removes text effects from the current style.
Declaration
Swift
public func removing(_ other: TextEffect...) -> TextStyle
Parameters
other
An array of
TextEffect
Return Value
The
TextStyle
containing original effects without specified ones -
Removes text effect from the current style.
Declaration
Swift
public func removing(_ other: TextEffect) -> TextStyle
Parameters
other
Return Value
The
TextStyle
containing original effects without specified one


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassFab
Used when fabricating a new class. Represents a wrapper around the Javassist library.
The core concept of Javassist is how method bodies (as well as constructor bodies, etc.)
are specified ... as a very Java-like scripting language. The
BodyBuilder
class is very useful for assembling
this method bodies. Details are available at the
Javassist home page.
Method bodies look largely like Java. References to java classes must be fully qualified. Several special variables are used:
$0
first parameter, equivalent to this
in Java code (and can't
be used when creating a static method)
$1, $2, ...
actual parameters to the method
$args
all the parameters as an Object[]
$r
the return type of the method, typically used as return ($r) ...
.
$r
is valid with method that return void
. This also handles conversions
between wrapper types and primitive types.
$w
conversion from primitive type to wrapper type, used as ($w) foo()
where
foo()
returns a primitive type and a wrapper type is needed
| Method Summary | |
|---|---|
void |
addConstructor(java.lang.Class[] parameterTypes,
java.lang.Class[] exceptions,
java.lang.String body)
Adds a constructor to the class. |
void |
addField(java.lang.String name,
java.lang.Class type)
Adds a new field with the given name and type. |
void |
addInterface(java.lang.Class interfaceClass)
Adds the specified interface as an interface implemented by this class. |
MethodFab |
addMethod(int modifiers,
MethodSignature signature,
java.lang.String body)
Adds a method. |
boolean |
canConvert(java.lang.Class inputClass)
|
boolean |
containsMethod(MethodSignature signature)
Convenience method for checking whether the fabricated class already contains a method. |
java.lang.Class |
createClass()
Invoked last to create the class. |
MethodFab |
getMethodFab(MethodSignature signature)
Returns a previous defined method so that it can be further enhanced (perhaps by adding additional catches, etc.). |
| Method Detail |
|---|
void addInterface(java.lang.Class interfaceClass)
void addField(java.lang.String name, java.lang.Class type)
boolean canConvert(java.lang.Class inputClass)
boolean containsMethod(MethodSignature signature)
signature
- the signature
MethodFab addMethod(int modifiers, MethodSignature signature, java.lang.String body)
modifiers
- Modifiers for the method (see Modifier
).signature
- defines the name, return type, parameters and exceptions thrownbody
- The body of the method.
ApplicationRuntimeException
- if a method with that signature has already
been added, or if there is a Javassist compilation errorMethodFab getMethodFab(MethodSignature signature)
signature
- the signature of the method previously added
void addConstructor(java.lang.Class[] parameterTypes, java.lang.Class[] exceptions, java.lang.String body)
parameterTypes
- the type of each parameter, or null if the constructor takes no parameters.exceptions
- the type of each exception, or null if the constructor throws no exceptions.body
- The body of the constructor.java.lang.Class createClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


|
ActiveTcl User Guide
|
||
Tk_AllocBitmapFromObj, Tk_GetBitmap, Tk_GetBitmapFromObj, Tk_DefineBitmap, Tk_NameOfBitmap, Tk_SizeOfBitmap, Tk_FreeBitmapFromObj, Tk_FreeBitmap - maintain database of single-plane pixmaps
#include <tk.h>
Pixmap
Tk_GetBitmapFromObj(interp, tkwin, objPtr)
Pixmap
Tk_GetBitmap(interp, tkwin, info)
Pixmap
Tk_GetBitmapFromObj(tkwin, objPtr)
int
Tk_DefineBitmap(interp, name, source, width,
height)
CONST char *
Tk_NameOfBitmap(display, bitmap)
Tk_SizeOfBitmap(display, bitmap, widthPtr,
heightPtr)
Tk_FreeBitmapFromObj(tkwin, objPtr)
Tk_FreeBitmap(display, bitmap)
These procedures manage a collection of bitmaps (one-plane pixmaps) being used by an application. The procedures allow bitmaps to be re-used efficiently, thereby avoiding server overhead, and also allow bitmaps to be named with character strings.
Tk_AllocBitmapFromObj returns a Pixmap identifier for a bitmap that matches the description in objPtr and is suitable for use in tkwin. It re-uses an existing bitmap, if possible, and creates a new one otherwise. ObjPtr's value must have one of the following forms:
In addition, the following pre-defined names are available only on the Macintosh platform:
Under normal conditions, Tk_AllocBitmapFromObj returns an identifier for the requested bitmap. If an error occurs in creating the bitmap, such as when objPtr refers to a non-existent file, then None is returned and an error message is left in interp's result if interp isn't NULL. Tk_AllocBitmapFromObj caches information about the return value in objPtr, which speeds up future calls to procedures such as Tk_AllocBitmapFromObj and Tk_GetBitmapFromObj.
Tk_GetBitmap is identical to Tk_AllocBitmapFromObj except that the description of the bitmap is specified with a string instead of an object. This prevents Tk_GetBitmap from caching the return value, so Tk_GetBitmap is less efficient than Tk_AllocBitmapFromObj.
Tk_GetBitmapFromObj returns the token for an existing bitmap, given the window and description used to create the bitmap. Tk_GetBitmapFromObj doesn't actually create the bitmap; the bitmap must already have been created with a previous call to Tk_AllocBitmapFromObj or Tk_GetBitmap. The return value is cached in objPtr, which speeds up future calls to Tk_GetBitmapFromObj with the same objPtr and tkwin.
Tk_DefineBitmap associates a name with in-memory bitmap data so that the name can be used in later calls to Tk_AllocBitmapFromObj or Tk_GetBitmap. The nameId argument gives a name for the bitmap; it must not previously have been used in a call to Tk_DefineBitmap. The arguments source, width, and height describe the bitmap. Tk_DefineBitmap normally returns TCL_OK; if an error occurs (e.g. a bitmap named nameId has already been defined) then TCL_ERROR is returned and an error message is left in interp->result. Note: Tk_DefineBitmap expects the memory pointed to by source to be static: Tk_DefineBitmap doesn't make a private copy of this memory, but uses the bytes pointed to by source later in calls to Tk_AllocBitmapFromObj or Tk_GetBitmap.
Typically Tk_DefineBitmap is used by #include-ing a bitmap file directly into a C program and then referencing the variables defined by the file. For example, suppose there exists a file stip.bitmap, which was created by the bitmap program and contains a stipple pattern. The following code uses Tk_DefineBitmap to define a new bitmap named foo:
Pixmap bitmap; #include "stip.bitmap" Tk_DefineBitmap(interp, "foo", stip_bits, stip_width, stip_height); ... bitmap = Tk_GetBitmap(interp, tkwin, "foo");
This code causes the bitmap file to be read at compile-time and incorporates the bitmap information into the program's executable image. The same bitmap file could be read at run-time using Tk_GetBitmap:
Pixmap bitmap; bitmap = Tk_GetBitmap(interp, tkwin, "@stip.bitmap");
The second form is a bit more flexible (the file could be modified after the program has been compiled, or a different string could be provided to read a different file), but it is a little slower and requires the bitmap file to exist separately from the program.
Tk maintains a database of all the bitmaps that are currently in use. Whenever possible, it will return an existing bitmap rather than creating a new one. When a bitmap is no longer used, Tk will release it automatically. This approach can substantially reduce server overhead, so Tk_AllocBitmapFromObj and Tk_GetBitmap should generally be used in preference to Xlib procedures like XReadBitmapFile.
The bitmaps returned by Tk_AllocBitmapFromObj and Tk_GetBitmap are shared, so callers should never modify them. If a bitmap must be modified dynamically, then it should be created by calling Xlib procedures such as XReadBitmapFile or XCreatePixmap directly.
The procedure Tk_NameOfBitmap is roughly the inverse of Tk_GetBitmap. Given an X Pixmap argument, it returns the textual description that was passed to Tk_GetBitmap when the bitmap was created. Bitmap must have been the return value from a previous call to Tk_AllocBitmapFromObj or Tk_GetBitmap.
Tk_SizeOfBitmap returns the dimensions of its bitmap argument in the words pointed to by the widthPtr and heightPtr arguments. As with Tk_NameOfBitmap, bitmap must have been created by Tk_AllocBitmapFromObj or Tk_GetBitmap.
When a bitmap is no longer needed, Tk_FreeBitmapFromObj or Tk_FreeBitmap should be called to release it. For Tk_FreeBitmapFromObj the bitmap to release is specified with the same information used to create it; for Tk_FreeBitmap the bitmap to release is specified with its Pixmap token. There should be exactly one call to Tk_FreeBitmapFromObj or Tk_FreeBitmap for each call to Tk_AllocBitmapFromObj or Tk_GetBitmap.
In determining whether an existing bitmap can be used to satisfy a new request, Tk_AllocBitmapFromObj and Tk_GetBitmap consider only the immediate value of the string description. For example, when a file name is passed to Tk_GetBitmap, Tk_GetBitmap will assume it is safe to re-use an existing bitmap created from the same file name: it will not check to see whether the file itself has changed, or whether the current directory has changed, thereby causing the name to refer to a different file.
Copyright © 1990 The Regents of the University of California. Copyright © 1994-1998 Sun Microsystems, Inc. Copyright © 1995-1997 Roger E. Critchlow Jr.


{% include 'analytics/initial/global.html' %} {% include 'analytics/initial/google.html' %} {% include 'analytics/initial/kissmetrics.html' %} {% include 'analytics/initial/hubspot.html' %} {% include 'analytics/initial/appcues.html' %}


Company
Team
Employment
Home
Services
About
Contact
Alexandria, VA · Washington D.C.
703 · 354 · 2939
View a list of all teammember
Shermane Willis
Name:
Shermane Willis
Create Date:
December 04 2018
Last Updated:
December 05 2018
Publish Date:
undefined NaN NaN
Position:
Office Manager
Image:


{% extends "layout.html" %} {% block styles %} {% endblock %} {% block body %} {% if not user.public %}
You can change it to public on your profile page.
Thanks for helping make {{ site_name }} more awesome!
Double check that your mod meets our guidelines, please.
Craft files should be uploaded to KerbalX instead of {{ site_name }}.


JavaScript - thoughts
During my research, I found out that JavaScript is the most language in the web. It makes Web pages dynamic and interactive. Javascript runs in a browser, so if you want to see how your favorite websites will look without it, you can disable it, and then you can find out how much work it does. For example Google Maps is built using Javascript, when you see tweets changing on Twittter page without refreshing the page that's Javasrcipt too. They are countless games written using it, and extensions in your browser – the same thing build with Javascript.
It looks like it everywhere on the web and it is not going away anytime soon.
05/11/2014


Note: Search is limited to 4 cultural variables maximum
Number of variables selected: {{ numSelectedVars }}


Ajax requests are simulated by stubbing Ajax.Request#onComplete and may not work on some browser (like IE) One second delay is set to simulate also internet traffic
Type "e" for example to see autocompletion.
option 1 option 2 option 3


Plugin Information |
|---|
View extreme-feedback on the plugin site for more information. |
This plugin allows to easily manage Gitgear eXtreme Feedback lamps.
Configuration
The Aggregate option combines results all the jobs tied to a lamp to a single status. The overall result will always be the 'lowest denominator' meaning if you have 3 jobs tied to the lamp and one of the jobs is 'red' the lamp will show 'red' as status.
If the aggregate option is off the lamp will display the result of the job that ran last.
The Alarm option makes a very noisy beep sound when a build fails.
The SFX sounds can be configured to some extend. If the SFX option is on the Lamp will play a file by random from one of the directories on the lamp, depending on the job status:
/home/pi/extremefeedbacklamp/XFD-Audio/Green
/home/pi/extremefeedbacklamp/XFD-Audio/Yellow
/home/pi/extremefeedbacklamp/XFD-Audio/Red
You can ssh into the lamp and place your own files (mp3) in the folders, then they will be considered when playing a sound.
Features
- Automatically look for lamps in the subnet (1.0)
- Possibility to label lamps, for easy ideantification (1.0)
- Manually add lamps given the IP adress (1.1)
- This is particularly useful for large Jenkins installation, where broadcasting to the whole subnet wouldn't be ideal
- Possibility to enable an alarm sound on the lamps (1.2)
- Event stream CLI (1.3)
- This allows to reach lamps that sit behind a firewall
- Possibility to use sound effects on the lamps (1.4)
- Optional aggregate results for lamps with multiple jobs. (1.5)
- After 3 seconds from the end of the build the worst last results among the jobs is shown.
Changelog
1.6
- Added support for aggregating results for lamps with multiple jobs
1.5
- Bug Fixes
1.4
- Added support for sound effects on the lamp
- Bug Fixes
1.3
- Brand new UI based on AngularJS
- Added event stream CLI command
1.2
- Added support for the buzzer on the lamp
1.1
- Added support for manual lamp adding
- Bug Fixes
1.0
- Initial Release


LeetCode Timer
00
h
00
m
00
00
arrow_forward_ios
Start
update
Reset
save
Save
arrow_forward_ios
Your Statistics
arrow_forward_ios
Problems List
unarchive
Export as CSV
search
All
Easy
Medium
Hard
clear
Clear
Name
Difficulty
Time Taken
Date Solved


Bayelsa election: Jonathan decries late arrival of election materials at Otuoke polling unit
by Agency ReportFormer President Goodluck Jonathan has expressed disappointment over the late arrival of election materials to his Polling Unit 39, Ward 13, in Otuoke, Ogbia Local Government Area (LGA) of Bayelsa State.
Jonathan, who expected to cast his vote, stepped out of his house at 8.30 a.m. but met only journalists as the Independent National Electoral Commission officials were yet to arrive at the venue.
“Are you an electoral officer, where are they?” The former president asked a journalist at the venue.
“Well this is where I will vote, but since they are not here yet, let me go back inside.
“You see now, youths of nowadays, you need to do more,” he stated.
The News Agency of Nigeria reports that as of the time of filing this report at 10.30 a.m, no official had arrived at the polling unit with materials for the exercise.
(NAN)


--- layout: post title: OpenToonz date: '2017-07-22T10:30:34+02:00' categories: - Apps & Software picture_url: https://film-Storyboards.tumblr.com/post/163291173540/open-toonz ---
OpenToonz is a 2D animation software based on “Toonz”, originally developed by Digital Video S.p.A. in Italy, and customized by Studio Ghibli. In March 26, 2016, Dwango releases the Studio Ghibli version as open source, in cooperation with Digital Video and Studio Ghibli, under the name “OpenToonz”:
This software can be used by anyone free of charge, no matter whether the purpose of use is commercial or not.
This is available as an open source, so that users can modify its source code freely.
Ensuring continuity, Toonz Premium, a new commercial version of Toonz Harlequin is released by Digital Video.


Toggle navigation
Tracktion
Jump to date:
Simulated current date:
Hello
Bob
Loading Data
Session on
Sunday, February 15
:
Duration:
Activity Type:
Okay
Delete
Cancel
Set Weekly Goal
Duration Goal:
Okay
Cancel
Drag to log a new exercise session
Drag to change your goal for the week
History


The Chennai Silks at its own cost guarantees to deliver products to all cities across India and states all over India.
Domestic orders (within India) would be processed within 24 hours and shipping will be done through a domestic courier company (for south India The Professional Courier & North,East & West are through Delhivery)
Once the products are shipped from our location, we will send you the Airway number/docket number through SMS & email.
All domestic shipments are insured by Us against loss or theft on premium payment by us !
To ensure safe delivery of all products,
the same are double packed in waterproof and corrugated box.
All International orders (outside India) would be processed within 2 days and shipped through an International courier company.
Most orders are delivered within 7 days to foreign destinations as maximum.
If you wish to purchase multiple items and ship them to two or more different addresses, please place them as saparate orders.
Once the products are shipped from our location, we will send you the shipper’s reference number (airway bill number/docket number) along with the courier company details through email.
You can track the status of your package through the courier’s website or by contacting their local customer service center.
The courier will attempt delivery twice at your specified shipping address, before they inform us that your package is not deliverable.
Shipping Charges are based on shipping destination and quantity of units purchased. Please note that shipping companies determine shipping charges based on the package weight.
All products are shipped via reputed International courier companies such as DHL, FedEx and WNX other such renowned companies that are completely insured and reliable.
Our Shipping Rates are subsidized and are much lower than what the shipping companies usually charge for International shipments. We always strive to offer our shoppers the lowest shipping charges possible.
We are not responsible for any delay caused by any unforeseen time lags by the courier companies in delivering the parcels to the customer, or if the customer is not available at the time of delivery.
Please note that if there are any customs or duties applicable for the ordered items, it would be billed separately to the customer by the courier company at the time of delivery.
The duties and taxes are not a part of the customer’s payment made to us.
According to the policies of the International carrier, an additional surcharge may be levied if the shipping address is defined by the carrier as a remote area.
This Remote Area Surcharge (RAS) would not be charged at the time of placing the order. Instead, it would be informed to you before shipping the goods. In such case, you have to pay the surcharge through the website.
If the surcharge is not paid within 3 days after our notification, then we would cancel
your order .
For some countries, Our Carrier will clear your parcel from the customs,An occasian if requires.
Any additional taxes, import duties or customs charges levied in this process will be charged to you.
You are liable to pay the carrier for those charges in such cases.
So we recommend you to be aware of the laws and regulations governing
the import of goods in the country where you want the items shipped.
Payment:
Shipping:
About Us
Our policies
contact
Track Your Order


This example works with the TI SensorTag CC2650. It also works with the TI SensorTag CC2541 if you modify file index.html. Activate the SensorTag and press Connect to begin. Tilt the SensorTag to move the Evothings Logo.
Please upgrade the firmware of your SensorTag.
Status: Initializing


BREAKING Stoke sack Nathan Jones after dismal start to the season
The Potters are second bottom of the Championship table after just two league wins all season
by Jacob Murtagh, https://www.mirror.co.uk/authors/jacob-murtagh/Stoke have axed manager Nathan Jones after a disastrous start to the campaign.
The struggling Potters have lost 10 of their 14 matches and sit 23rd in the Championship table after just two wins all season.
Departing boss Jones said: “I would like to thank John and Peter Coates, firstly for the opportunity to manage this Football Club and then for the continued support and patience throughout my time here.
"I would also like to thank the supporters for their fantastic support. Finally, I wish the Club the very best for the future.”
We'll be bringing you the very latest updates, pictures and video on this breaking news story.


Ideationclose
What is the name of your app?
FixYourStuff.
What collaborative activity can people do together using your app?
Users can help one another to fix their stuff.
What is the ideal number of concurrent users (must be at least 10 but no more than 40)?
The ideal number is between 30 to 40.
What skills do people need in order to do this activity?
People need to be proficient in the category they enrolled in.
Is this activity for fun or for something practical?
It is for practical use and it can be for fun.
How can a person see what everyone else is doing?
Each user has its own profile. The profile has some information about which item the user is responsible for to fix
How can a person see the most recent result of everyone's collaborative effort?
As soon as the issue is fixed, the user has to send a broadcast for the solution.
What can an admin see (i.e., God's mode)?
Admins can see a list of all of the current users and issues.


Package chess.pieces
Class King
java.lang.Object
boardgame.Piece
chess.ChessPiece
chess.pieces.King
public class King extends ChessPiece
This child class of the class ChessPiece represents a King piece. This class
will contain the king movement logic.
- Author:
- João Victor
-
Field Summary
Fields Modifier and Type Field Description private ChessMatch
chessMatch
-
Constructor Summary
Constructors Constructor Description King(Board board, Color color, ChessMatch chessMatch)
creates the king chess piece, which is associated with a board and has a color besides having an dependency with a chess match -
Method Summary
Modifier and Type Method Description private boolean
canMove(Position position)
determines whether the king can move to the position referred to as the method parameter.boolean[][]
possibleMoves()
Implements king chess piece move logic.private boolean
testRookCastling(Position position)
this method tests whether in a given position there is a rook suitable for the castling special move. initially theBoard.piece(Position)
method returns a possible chess piece located in the position that was passed as a parameter.java.lang.String
toString()
Methods inherited from class chess.ChessPiece
decreaseMoveCount, getChessPosition, getColor, getMoveCount, increaseMoveCount, isThereOpponentPiece
Methods inherited from class boardgame.Piece
getBoard, isThereAnyPossibleMove, possibleMove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
chessMatch
-
-
Constructor Details
-
King
creates the king chess piece, which is associated with a board and has a color besides having an dependency with a chess match- Parameters:
board
- chessboardcolor
- piece colorchessMatch
- chess match
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
- Returns:
- the symbol that will represent the king piece
-
canMove
determines whether the king can move to the position referred to as the method parameter. This method will check if in a position there is a piece, and if there is, it will verify if it is an opponent piece through theChessPiece.getColor()
method, which will indicate whether this piece has a different color. These checks occur, because a king can only move to a position that doesn't contain any piece, or a position that contains a opponent, a piece of different color of the king- Parameters:
position
- a position- Returns:
- a boolean value that if true indicates that the king can move to the indicated position.
-
testRookCastling
this method tests whether in a given position there is a rook suitable for the castling special move. initially theBoard.piece(Position)
method returns a possible chess piece located in the position that was passed as a parameter. Then it is analyzed, if a chess piece was really returned, if the returned chess piece is a rook, if this rook is the same color as the king, and if this rook has not moved yet, if all the conditions are met, this will mean that the rook will be able to castling- Parameters:
position
- a position- Returns:
- a boolean that, if true, will indicate that in a position there is a rook suitable for the castling special move.
-
possibleMoves
public boolean[][] possibleMoves()Implements king chess piece move logic. This implementation occurs by marking the matrix positions with true value. These marked positions consist of the possible moves that can be performed by the king. Thus, positions are marked above, left, right and below of the king. At the end of this method, the boolean matrix that will contain the marked positions will be returned. In the case of the king, only positions around that piece are possible target positions. Then each of the positions around the king are checked by thecanMove(Position)
method, and if the method indicates that it is possible to perform the move, the position in question will be marked as true by the boolean matrix. Furthermore, the king will have one more possible additional move with the use of the castling special move. For this special move to be performed, at first it is necessary that the king hasn't performed any moves and that the king isn't in check, this last condition can be realized using theChessMatch.getCheck()
method. Then, it is checked if the positions between the king and the rook on the king side are vacant, if they are and by checking using thetestRookCastling(Position)
method if the rook on the king side is suitable for the castling move, then the small castling move can be performed and the two-column position towards that rook will be marked as true. There is also the possibility of making the big castling movement that follows the same logic as the small one, but with the rook on the queen's side.- Specified by:
possibleMoves
in classPiece
- Returns:
- a boolean matrix that will indicate the possible moves of the king chess piece
-


Display portfolio and pending orders
Position netting profile is affecting the display of positions. See the example on Position Netting Profiles. On SIM, prices might be unavailable, when no live account is linked.
More info: https://www.developer.saxo/openapi/learn/price-formattingClient:
AccountGroup:
Account:
Response:
Click button to launch function.
JS code:
Click button to show code.


XINS - Ajax Examples
Examples
The "myproject" XINS API included in the releases has been deployed on this server
in order to let you experience a live XINS API.
You can call the API with:
More information avaible on XINS home page
or on the demo page.


Mediaframework - Output - API 0.0.2
Output API documented for subscribers through socket IO websockets.
Receive an update to start showing Scene and Theme combinations.
Payload
| Name |
Type |
Description |
| scenes |
array(string) |
All the scenes ids as strings |
| themes |
array(string) |
All the themes as strings |
Tags
Receive an update to start showing scenes
Payload
| Name |
Type |
Description |
| scenes |
array(string) |
All the scenes ids as strings |
Tags
Receive an update to start showing a media object
Payload
| Name |
Type |
Description |
| _id |
string |
|
| type |
string |
|
| tags |
string |
|
| text |
string |
|
| style |
object |
|
| url |
string |
|
Tags
Receive an update to start showing theme
Payload
| Name |
Type |
Description |
| theme |
string |
|
Tags
Receive an update to set a local tag matcher for content filtering
Payload
Tags
Receive an update to start showing a singular scene
Payload
| Name |
Type |
Description |
| scene |
string |
|
Tags
Receive an update to start showing a scene and theme
Payload
| Name |
Type |
Description |
| scene |
string |
|
| theme |
string |
|
Tags
Request a client to transition a piece of media
Payload
| Name |
Type |
Description |
| _id |
string |
|
| type |
string |
|
| tags |
string |
|
| text |
string |
|
| style |
object |
|
| url |
string |
|
Tags
Request a client to end a piece of media
Payload
| Name |
Type |
Description |
| _id |
string |
|
| type |
string |
|
| tags |
string |
|
| text |
string |
|
| style |
object |
|
| url |
string |
|
Tags
Allow a client to receive schemaless iot data
Payload
Tags
Allow a client to receive schemaless iot data
Payload
| Name |
Type |
Description |
| iotData |
|
|
Request a client to transition a piece of media
Payload
| Name |
Type |
Description |
| _id |
string |
|
| type |
string |
|
| tags |
string |
|
| text |
string |
|
| style |
object |
|
| url |
string |
|
Request a client to end a piece of media
Payload
| Name |
Type |
Description |
| _id |
string |
|
| type |
string |
|
| tags |
string |
|
| text |
string |
|
| style |
object |
|
| url |
string |
|
Required by a client to authenticate with the web sockets
Payload
| Name |
Type |
Description |
| password |
string |
|
| token |
string |
|
Allow a client to subscribe to topics for a given room
Payload
| Name |
Type |
Description |
| subscribe |
|
|
Receive an update to start showing Scene and Theme combinations.
Payload
| Name |
Type |
Description |
| scenes |
array(string) |
All the scenes ids as strings |
| themes |
array(string) |
All the themes as strings |
Receive an update to start showing scenes
Payload
| Name |
Type |
Description |
| scenes |
array(string) |
All the scenes ids as strings |
Receive an update to start showing a media object
Payload
| Name |
Type |
Description |
| _id |
string |
|
| type |
string |
|
| tags |
string |
|
| text |
string |
|
| style |
object |
|
| url |
string |
|
Receive an update to start showing theme
Payload
| Name |
Type |
Description |
| theme |
string |
|
Receive an update to set a local tag matcher for content filtering
Payload
| Name |
Type |
Description |
| tagMatcherShow |
|
|
Receive an update to start showing a singular scene
Payload
| Name |
Type |
Description |
| scene |
string |
|
Receive an update to start showing a scene and theme
Payload
| Name |
Type |
Description |
| scene |
string |
|
| theme |
string |
|
iotData
| Name |
Title |
Type |
Format |
Default |
Description |
| iotData |
|
object |
|
|
|
sceneShowPayload
| Name |
Title |
Type |
Format |
Default |
Description |
| scene |
|
string |
|
|
|
sceneThemeShowPayload
| Name |
Title |
Type |
Format |
Default |
Description |
| scene |
|
string |
|
|
|
| theme |
|
string |
|
|
|
tagMatcherShowPayload
| Name |
Title |
Type |
Format |
Default |
Description |
| tagMatcherShowPayload |
|
string |
|
|
|
themeShowPayload
| Name |
Title |
Type |
Format |
Default |
Description |
| theme |
|
string |
|
|
|
authPayload
| Name |
Title |
Type |
Format |
Default |
Description |
| password |
|
string |
|
|
|
| token |
|
string |
|
|
|
subscribePayload
| Name |
Title |
Type |
Format |
Default |
Description |
| subscribePayload |
|
string |
|
|
|
mediaAsset
| Name |
Title |
Type |
Format |
Default |
Description |
| _id |
|
string |
|
|
|
| type |
|
string |
|
|
|
| tags |
|
string |
|
|
|
| text |
|
string |
|
|
|
| style |
|
object |
|
|
|
| url |
|
string |
|
|
|
scenesThemesShowPayload
| Name |
Title |
Type |
Format |
Default |
Description |
| scenes |
|
array(string) |
|
|
All the scenes ids as strings |
| themes |
|
array(string) |
|
|
All the themes as strings |
scenesShowPayload
| Name |
Title |
Type |
Format |
Default |
Description |
| scenes |
|
array(string) |
|
|
All the scenes ids as strings |


features
Why choose us
exprienced staff
Lorem ipsum dolor sit amet consectetur adipisicing elit. Reprehenderit pariatur asperiores vero nemo praesentium voluptatum?
exprienced staff
Lorem ipsum dolor sit amet consectetur adipisicing elit. Reprehenderit pariatur asperiores vero nemo praesentium voluptatum?
exprienced staff
Lorem ipsum dolor sit amet consectetur adipisicing elit. Reprehenderit pariatur asperiores vero nemo praesentium voluptatum?
services
We provide better
Hair Styling
This is test under description or barber foundation this is test under description of barber foundation
Hair Styling
This is test under description or barber foundation this is test under description of barber foundation
Hair Styling
This is test under description or barber foundation this is test under description of barber foundation
Hair Styling
This is test under description or barber foundation this is test under description of barber foundation


Hackathon Team Builder
A Team-formation site for upcoming and current Hackathons
Choose a Hackathon
Suns Out Hacks Out
First Day Back Hacks
MedHacks


4. SOURCE ORGANIZATION
4.1 Directory Structure
A key recommendation of this manual is to separate the directory
hierarchy containing your source code (described in this section) from
the directory hierarchy containing your deployable application
(described in the preceding section). Maintaining this separation has
the following advantages:
- The contents of the source directories can be more easily administered,
moved, and backed up if the "executable" version of the application
is not intermixed.
- Source code control is easier to manage on directories that contain
only source files.
- The files that make up an installable distribution of your
application are much easier to select when the deployment
hierarchy is separate.
As we will see, the ant
development tool makes the creation
and processing of such directory hierarchies nearly painless.
The actual directory and file hierarchy used to contain the source code
of an application can be pretty much anything you like. However, the
following organization has proven to be quite generally applicable, and is
expected by the example build.xml
configuration file that
is discussed below. All of these components exist under a top level
project source directory for your application:
- etc/ - Directory containing special files related to your
application that will be copied to the
WEB-INF
directory.
In all cases, this will include the application deployment
descriptor file (web.xml
), but may include others as well.
- lib/ - Directory containing JAR files that will be copied to
the
WEB-INF/lib
deployment directory.
- src/ - Java source files that generate the servlets, beans,
and other Java classes required by your application. If your source
code is organized into packages (highly recommended for large projects),
the package hierarchy should be reflected as a directory structure
underneath this directory.
- web/ - Directory containing the HTML files, JSP pages, and other
resource files (such as JavaScript and stylesheet files) that will be
accessible to browser clients. The entire hierarchy underneath this
directory will be copied to the document root directory of your
deployment home.
4.2 Source Code Control
As mentioned earlier, it is highly recommended that you place all of the
source files that comprise your application under the management of a
source code control system like the Concurrent Version System (CVS). If you
elect to do this, every directory and file in the source hierarchy should be
registered and saved -- but none of the generated files. If you register
binary format files (such as images or JAR libraries), be sure to indicate
this to your source code control system.
Detailed instructions for your source code control environment are beyond
the scope of this manual. However, the following steps are followed when
using a command-line CVS client:
- To refresh the state of your source code to that stored in the
the source repository, go to your project source directory, and
execute
cvs update -d
.
- When you create a new subdirectory in the source code hierarchy, register
it in CVS with a command like
cvs add {subdirname}
.
- When you first create a new source code file, navigate to the directory
that contains it, and register the new file with a command like
cvs add {filename}
.
- If you no longer need a particular source code file, navigate to the
containing directory and remove the file. Then, deregister it in CVS
with a command like
cvs remove {filename}
.
- While you are creating, modifying, and deleting source files, changes
are not yet reflected in the server repository. To save your changes in
their current state, go to the project source directory
and execute
cvs commit
. You will be asked to write a brief
description of the changes you have just completed, which will be stored
with the new version of any updated source file.
CVS, like other source code control systems, has many additional features
(such as the ability to tag the files that made up a particular release, and
support for multiple development branches that can later be merged). See the
links and references in the Introduction for
more information.
4.3 BUILD.XML Configuration File
We will be using the ant
tool to manage the compilation of
our Java source code files, and creation of the deployment hierarchy. Ant
operates under the control of a build file, normally called
build.xml
, that defines the processing steps required. Like a
Makefile, the build.xml
file provides several "targets" that
support optional development activities (such as creating the associated
Javadoc documentation, erasing the deployment home directory so you can build
your project from scratch, or creating the web application archive file so
you can distribute your application.
To give you a head start, a
basic build.xml file is provided
that you can customize and install in the project source directory for your
application. This file includes comments that describe the various
targets that can be executed. Briefly, the following targets are generally
provided:
- prepare - This target "prepares" the deployment directory,
creating subdirectories as required. A common use of this target is
to copy static files (documentation, HTML pages, and JSP pages)
from the source directory to the deployment directory. When
executed, this target will only create directories if they do not
exist, and only copy files if the destination file does not exist,
or the source version of the file is newer. This target is generally
invoked indirectly, by virtue of a
depends
attribute on
some other task.
- compile - This target is used to compile any source code that
has been changed since the last time compilation took place. The
resulting class files are created in the deployment directory, so
that they can be directly executed when Tomcat is run.
NOTE - Previous versions of Ant copied properties files
and other resource files for you as part of the execution of the
<javac>
task. You must now do this explicitly.
- javadoc - This target creates Javadoc API documentation for the
Java classes in this web application. The example
build.xml
file assumes you want to include the API documentation with your app,
so it generates the docs in a subdirectory of the deployment directory.
- all - This target deletes the entire deployment directory and
then recreates everything.  In particular, you should perform
build all
before you use the "dist" target to create a distribution of your
application, to ensure that the distribution contains no unwanted files.
- dist - This target creates a web application archive (WAR) file
containing your application, and a JAR file containing all of the
source code. In the example
build.xml
file, the contents
of the WAR file are based on the most recent build in the deployment
directory.
In the following section, scripts will be described that use Ant to
compile your project, based on the contents of the build.xml
file defined here.
4.4 Shell and Batch Scripts
The primary script we will utilize is generically called the build
script. It executes Ant, which reads and processes the build.xml
file discussed above. Each time you execute the build script, you will
specify the build "target" that you wish to execute. Users of a command
line MAKE tool (which processes a makefile) will recognize this approach.
On UNIX-based systems, the following script should be saved as file
build.sh
in the project source directory, with file permissions
that make it executable, and customized as required:
#!/bin/sh
# build -- Build Script for the "Hello, World" Application
# $Id: source.html,v 1.2 2001/08/14 18:50:09 pier Exp $
# Identify the custom class path components we need
CP=$CATALINA_HOME/lib/ant.jar:$CATALINA_HOME/lib/servlet.jar
CP=$CP:$CATALINA_HOME/lib/jaxp.jar:$CATALINA_HOME/lib/parser.jar
CP=$CP:$JAVA_HOME/lib/tools.jar
# Execute ANT to perform the requested build target
java -classpath $CP:$CLASSPATH org.apache.tools.ant.Main \
-Dtomcat.home=$CATALINA_HOME "$@"
On Windows-based systems, the following script should be saved as file
build.bat
in the project source directory, and customized
as required:
@echo off
rem build.bat -- Build Script for the "Hello, World" Application
rem $Id: source.html,v 1.2 2001/08/14 18:50:09 pier Exp $
set _CP=%CP%
rem Identify the custom class path components we need
set CP=%CATALINA_HOME%\lib\ant.jar;%CATALINA_HOME%\lib\servlet.jar
set CP=%CATALINA_HOME%\lib\jaxp.jar;%CATALINA_HOME%\lib\parser.jar
set CP=%CP%;%JAVA_HOME%\lib\tools.jar
rem Execute ANT to perform the requird build target
java -classpath %CP%;%CLASSPATH% org.apache.tools.ant.Main -Dtomcat.home=%CATALINA_HOME% %1 %2 %3 %4 %5 %6 %7 %8 %9
set CP=%_CP%
set _CP=
Build script customizations you might consider include:
- Setting the JAVA_HOME and CATALINA_HOME environment variables (probably
near the top of the script) if they are not defined already.
- Overriding properties defined in the
build.xml
file
with default values. For example, to change the distribution home
directory (property dist.home
), you would include the
following command line option after the word "java":
-Ddist.home=xxxxx.


{% extends "layout.html" %} {% block content %}
| No | Billing Month | Total Received | Count | Average |
|---|---|---|---|---|
| 1 | Apr-2019 | 1161.20 | 49 | 23.70 |
| Total : | Summary 2 | Summary 2 | Summary 2 |
| No | Usage Id | Supply No | Customer | Barcode | Prev Read | Curr Read | Used KW | Unit Rate | Bill | Discounted | Biller | Date |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Total : |
| No | Supply No | Name | Barcode | Prev Read Date | Curr Read Date | Prev Read | Curr Read | Used KW | Unit Rate | Discounted | Bill | User | Create Date |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Total : |


The goal in making a website including this one was to get an understanding of html coding and to be able to show the work we do in our class to the world.


Session 1
Sunday, October 11
Who am I?
Former La Gente Newsmagazine EIC, 2011-2012
After UCLA, I went to Columbia Graduate School of Journalism
I've worked for Univision, NPR, GOOD Magazine, and the LA Times
Who are you?
Name
Major
Publication
What's the last thing (.gif, video, status, vine) you shared on social media?
Where do you get your news?
Facebook feed, Twitter moments, newsletters, Tumblr
What are your expections for the news on each social media site?
Anything else? (Reddit, Pinterest, etc)
What's your criteria for sharing a post?
Anything else? (Reddit, Pinterest, etc)
What are the ways you can share a post on each social media site?
Anything else? (Reddit, Pinterest, etc)
Where are your communities online?
What are they reading and sharing?
Listen to your communities.
What are the ways you can all colloborate together online for a news story?
Are you set up on Twitter, Snapchat, Tumblr, Vine, etc?
Write a lede and a tweet:
This morning, Kenneth Lee Chotiner, the presiding judge of the Van Nuys Muncipal Court, noticed that yellow ribbons were tied around five redwood tres that stand near a small parkway next to the courthouse garage. The trees are about 30 feet tall.
The judge said he found out later that morning that the ribbons were put there because the trees were to be chopped down to make room for two stairwells that were going to be added to the outside of the parking strucuture. Distressed, the judge began calling county officials, the contractor who was building the addition to the parking structure, a member of the Sierra Club and a community beautification specialist.
After a three-hour meeting on Wednesday, contractor Derrick Williamson agreed to transplant four of the trees. A fifth one will be chopped down.
Session 2
October 18, 2015
Share your two tweets & one Facebook post
"Inverted Pyramid"
Most Important Facts
Additional Facts
More Facts
Etc., Etc.
Etc.
News briefs, breaking news
Summarize the key facts in a concise lede. Then organize the story as logically as possible, arranging paragraphs in descending order of importance. End the story when you run out of facts.
"Hourglass"
The Lede
Key Facts
Facts
Etc.
Chronology of Events
Additional Facts, Quotes
Kicker
Crimes, disasters, other stories to show how it unfolded
Begin with an inverted pyramid summary of the story's most important facts. Then, shift into a chronological narrative. Detail what happened, step by step. End with a kicker, which is a surprise twist or strong closing quote.
"The Circle"
Anecdote
Nut Graf
Details
Details
Details
Anecdote
Stories on trends or events where you want to show how people are affected or invovled
The story beigns with a quote or anecdote about a specific person. Then it broadens into a general discussion of the topic. It ends by returning to that person again.
The Problem
What it Means
What Happens Next
Look: This Person Has a Problem
Uh-oh: The Problem is Everywhere
What the Experts Say
What the Future Holds
What it All Means for That Person We Met at the Start of the Story
Groups
Put the paragraphs before you in order
Headline
Lede
Subsequent facts & quotes
Kicker
Is it a News Article, Opinion Piece, Essay?
Pair up: You are going to do an interview!
- What is your favorite word?
- What is your least favorite word?
- What turns you on creatively, spiritually or emotionally?
- What turns you off?
- What is your favorite curse word?
- What sound or noise do you love?
- What sound or noise do you hate?
- What profession other than your own would you like to attempt?
- What profession would you not like to do?
- If Heaven exists, what would you like to hear God say when you arrive at the Pearly Gates?
Session 3
October 24, 2015
Any new students? Introduce yourselves!
Name
Major
Publication
What's the last thing (.gif, video, status, vine) you shared on social media?
Activity
Read the story
Outline the parts of the story structure: lede, nutgraf, experts or background research
What kind of assets should accompany this story? Photos, video, pullout quotes, gifs
What's the best platform(s) to share this story?
Create your community map
Create your publication's community map
Things you can consider:
- Platform (Instagram, Tumblr, Facebook, etc.)
- Who you follow on those platforms
- What kind of content (articles, images, .gifs, videos, etc) you share
- Language you consume it in & share
- Geography
- Age
Tips for your social media platforms
*Keep to a posting schedule
*Don't be afraid to create content only for social media
Instagram
- Engaging/Inspiring/Enlightening/Impactful photo, illustration, video, or screenshot
- Engaging and informative caption, aka a mini article
- Attribute source, photographer
- Use emojis
- Minimize hashtags, but it can depend on your IG growth strategy
- Link in bio
- Share your content, or create/curate content only for IG
- To grow followers, follow other accounts and comment on their posts
- Examples: LA Times, Remezcla, NPR, FEM
Facebook
- Articles: headline, summary, and status
- Photos: create galleries with captions and a status
- Videos: take advantage of automatic scroll and sound off for big text
- Target posts
- Post often to stay in readers' feed
- Examples: Mother Jones, ProPublica, Mic News
Twitter
- Concise text
- Upload photos, gifs, videos
- Minimize hashtags, but use if revelant to story
- Retweet, engage with readers
- Participate in events, i.e. Presidential Debates
- Use your staff's accounts
- Coordinate under a hashtag
- Examples: LA Times Politics
Snapchat
- Tell whatever story you want
- What's unique to your publication? Content that impacts __________ students
- To build followers, download your Snapchats, and then share them on other platforms + your username or Snapcode.
- Take advantage of WHERE you are & WHEN
- Read: When I was a Snapchat correspondent for the LA Times
- Examples: lacma_museum, losangelestimes, thenytimes
Tips for using social media in reporting
- Roundup of readers' reactions
- Hosting Twitter/Reddit chats
- Using Google form for people to share stories
- Solicit content via hashtag
5 different online posts you can produce
- Listicle
- Q&A
- Aggregated short news article
- About a photo, video
- Data Visualization (Map, Graphs, etc)
News ecosystem
Wires
National
State
Regional
Hyperlocal
Blogs, Single Issue, Online-only, Tech Companies
Membership, networking, conferences, scholarships
Any questions?
Follow me on Twitter: @Helga_Salinas
Email me<EMAIL_ADDRESS>Thank you for attending!


An overview of MVML, it's API's and helpers, and how to integrate it into your website.
MVML isn't natively supported by browsers so it needs to be parsed into HTML and JavaScript Our API makes that an easy step for you.
The quickest way to utilize this is to make an API request from an HTML page. We've built a helper script that can handle that for you:
<script src="http://content.dev.mvml.net:6865/js/mvml-api.js"></script>
<script>
window.onload = function() {
MVML.load_string(document.getElementsByTagName("mvml")[0].innerHTML);
}
</script>
<mvml>
---
title: JavaScript test
player:
start: (0, 0, 20)
gravity: 0
scene:
- primitive: sphere
position: (0, 4, 0)
</mvml>
That's it! Just upload that to your website. You can also load it directly from a hosted MVML file:
<script src="http://content.dev.mvml.net:6865/js/mvml-api.js"></script>
<script>
MVML.load_file("http://dev.mvml.net/mvml/spec.mvml");
</script>
If you have access to server-side code you can also make a call from there. These examples show how I do it for this very page in NodeJS. It should be pretty similar across frameworks.
Privacy issues? You can also host the MVML parsing server yourself. Check out the Github page for more details.
Just like HTML, MVML is built out of a syntax of tags. In order to build worlds, you'll need to understand these.
Just like HTML is essentially XML, MVML is essentially YAML. This is important because unlike XML, YAML is very strict on indentation. Even missing a space could cause an error which forces us to write legibly.
# Valid:
title: Hello metaverse!
scene:
- primative: sphere
- primative: box
color: red
# Broken
title: Hey metaverse
scene:
- primative:
sphere
- primative: box
color: red
You create worlds in MVML by stringing together components such as the
scene
tag or player
tag. Knowing how to use these
is important.
Unfortunately I don't have full documentation of this yet. Until I do, please read spec.mvml which uses each component and its properties at least once. You can see it rendered here.


Use the Buttons to zoom in/out a focal point
2014 file by Saumya
Zoom In
Zoom Out
Reset
2014 Raw File without basemap
Zoom In
Zoom Out
Reset


{% load wagtailcore_tags gem_tags %}
{% if user.is_authenticated and user.is_active or request.is_preview or survey.allow_anonymous_submissions %}
{% include "patterns/basics/headings/sp_variations/heading.html" with type="component" htmltag="h1" title=survey.title %}
{% if survey.homepage_introduction %}
{% include "patterns/basics/headings/sp_variations/heading.html" with type="subheading" htmltag="p" title=survey.homepage_introduction|smarttruncatechars:100|safe %}
{% endif %}
{% trans "Take Survey" as buttontext %}
{% with trans_buttontext=survey.homepage_button_text|default:buttontext %}
{% pageurl survey.specific as the_url %}
{% include "patterns/basics/buttons/sp_variations/button.html" with type="primary" hyperlink=the_url text=trans_buttontext %}
{% endwith %}
{% else %}
{% include "patterns/components/banners/join-banner.html" %}
{% endif %}


--- layout: post status: publish published: true title: ! 'Hiring a non-tech person for a CTO ' author: display_name: iguy login: iguy email<EMAIL_ADDRESS>url: '' author_login: iguy author_email<EMAIL_ADDRESS>wordpress_id: 290 wordpress_url: http://itsjustanotherlayer.com/?p=290 date: !binary |- MjAwOS0wOS0yOSAwMjo0OToyMyAtMDUwMA== date_gmt: !binary |- MjAwOS0wOS0yOSAwMjo0OToyMyAtMDUwMA== categories: - VMware tags: - citrix comments: - id: 84 author: Paras author_email<EMAIL_ADDRESS>author_url: '' date: !binary |- MjAwOS0wOS0yOSAwMzo0MTo1MCAtMDUwMA== date_gmt: !binary |- MjAwOS0wOS0yOSAwMzo0MTo1MCAtMDUwMA== content: ! "CTO, a non-technical person, huh!!!, wonder why his designation would still be called CTO,that's probably the first one I heard off in my 5 years in IT. Never seen a CTO being a non-techie.\n\nbut just read this last line \n\n\"For the ones that are wondering: Simon Crosby is still at his position as the CTO of the Virtualization & Management division\"\n\nso this pretty much explains that new CTO will be the guys who will speak where as Simon will be asked to focus more on product improvement rather than have him speak at conferences." - id: 85 author: Jase McCarty author_email<EMAIL_ADDRESS>author_url: http://www.jasemccarty.com/blog date: !binary |- MjAwOS0wOS0yOSAxMzoxMDoyMiAtMDUwMA== date_gmt: !binary |- MjAwOS0wOS0yOSAxMzoxMDoyMiAtMDUwMA== content: ! 'I always think of this commercial when I hear someone say "I have an MBA": http://www.youtube.com/watch?v=NcoDV0dhWPA You have to wonder how a non-technical CTO is going to do, and how that portion of the company is going to grow in a technical sense. To me, a CTO needs to have the tech background, coupled with business sense. Cheers, Jase' - id: 86 author: Jase McCarty author_email<EMAIL_ADDRESS>author_url: http://www.jasemccarty.com/blog date: !binary |- MjAwOS0wOS0yOSAxMzoyMToxMSAtMDUwMA== date_gmt: !binary |- MjAwOS0wOS0yOSAxMzoyMToxMSAtMDUwMA== content: ! 'Let me add to my post, by saying that from the tweets I have seen by Harry Labana, he does seem to be technically oriented. Good luck to Harry @ Citrix! Cheers, Jase' - id: 87 author: Ami author_email<EMAIL_ADDRESS>author_url: '' date: !binary |- MjAxMi0wNi0wNSAxNToxMzoyOCAtMDUwMA== date_gmt: !binary |- MjAxMi0wNi0wNSAyMDoxMzoyOCAtMDUwMA== content: I am a developer. My current company CTO is non technical ... hahaha ---
Citrix has gone and hired a new CTO
For me I'm seeing another business person at Citrix in charge of the technical direction, not someone that has a strong basis of engineering and technology.
Maybe I'm judging MBA's harshly, though they are bred and trained to aim for sales and revenue. Engineering backgrounds aim for better products and solutions. There is nothing wrong with either and every software business needs both. For me, it just tells you the focus Citrix has at the top. It isn't about the tech, its about the sales first and foremost.
What are your thoughts on a non-scientific or non-engineering based Chief Technical Officer?


VideoControlViewDelegate
public protocol VideoControlViewDelegate : NSObject
Protocol for handling button presses in the video control panel that need to trigger Agora functionality.
-
Handler for the mute button being pressed. Mutes or unmutes the local audio.
Declaration
Swift
func toggleLocalAudio()
-
Handler for the toggle video button being pressed. Mutes or unmutes the local video.
Declaration
Swift
func toggleLocalVideo()
-
Handler for the hang up button being pressed. Leaves the video channel and dismisses the view controller.
Declaration
Swift
func leaveCall()
-
Handler for the switch camera button being pressed. Toggles between the front and back cameras.
Declaration
Swift
func switchCamera()


Google Joins the Race
Authored By: Eric Johnson
Google LLC is an American multinational technology company that specializes in Internet-related services and products, which include online advertising technologies, a search engine, cloud computing, software, and hardware.
2004 - By the end of 2004 to early 2005 Google was already the second most viewed site behind Yahoo with just over 2 billion monthly viewers. Yahoo had about 6 billion.
2005 - Google grew at an incredible amount in 2005 by going from 1 billion visitors to over 4 billion. Coming up close on Yahoo.
2006 - 2006 Google continues to grow and it surpasses Yahoo as the most visited website with over 7 billion monthly visitors. Yahoo drops down to about 5 billion.
2007 - Google remains at the top with close to 8 billion visitors. However, Yahoo is rising back with close to 7 billion themselves.
2004-2007


|
ChibiOS/RT
|
This package contains versions of the ChbiOS/RT RTOS for AVR Arduinos, the Due Arduino, and Teensy 3.0.
Information about Teensy 3.0 can be found here:
These systems are packaged as the Arduino libraries ChibiOS_ARM and ChibiOS_AVR. In addition the SdFat library for ARM/AVR is included.
SdFat is a FAT16/FAT32 file system for SD cards. More information is available here:
http://code.google.com/p/sdfatlib/
And beta versions are here:
http://code.google.com/p/beta-lib/
The documentation for ChibiOS/RT is located here:
http://www.chibios.org/dokuwiki/doku.php?id=start
Also please explore the above tabs.
If this is your first exposure to a RTOS you will likely feel some pain.
You may want to start using ChibiOS in cooperative mode. See the chCoop.ino example below. In this mode preemptive context switches are disabled for threads of the same priority.
The normal Arduino environment is single-threaded so code does not need to be reentrant or threadsafe. With a preemptive RTOS, the same resources may be accessed concurrently by several threads.
Many arduino libraries and functions are not reentrant or threadsafe.
To protect resource integrity, code written for multithreaded programs must be reentrant and threadsafe.
Reentrance and thread safety are both related to the way that functions handle resources. Reentrance and thread safety are separate concepts: a function can be either reentrant, threadsafe, both, or neither.
A reentrant function does not hold static data over successive calls, nor does it return a pointer to static data. A reentrant function must not call non-reentrant functions.
A threadsafe function protects shared resources from concurrent access by locks. Only one thread can be executing at a time.
The dynamic memory functions malloc and free are not threadsafe. This means that libraries like String and SD.h are not thread safe since they use malloc/free.
SdFat does not use malloc but is not threadsafe. Notice that I put all access to the SD in the low priority loop thread to avoid problems.
You must not use Arduino delay() in other than the lowest priority task. delay() will block all lower priority threads.
Two of the most common design problems for embedded developers are the deadlock and the priority inversion problem. You should start with very simple designs to avoid these subtle problems.
I have installed simple exception error handlers for three ISR vectors. If an execution fault causes one of these exception, I blink the pin 13 LED. The codes are:
Hard fault - blink one short flash every two seconds
Bus fault - blink two short flashes every two seconds
Usage fault - blink three short flashes every two seconds
There are a number examples in each RTOS library.
The chBlink.ino example demonstrates thread definition, semaphores, and thread sleep.
Thread 1 waits on a semaphore and turns the LED off when signalled by thread 2.
Thread 2 turns the LED on, sleeps for a period, signals thread 1 to turn the LED off, and sleeps for another period.
The blink/print example in each library is chBlinkPrint.ino.
Each of the blink/print examples has three threads. A high priority thread blinks an LED, a medium priority thread prints a counter every second, and a low priority thread increments the counter.
The print thread also checks Serial for input. If the input is available, the print thread will display stack usage information for each thread and stop the blink thread.
An interesting experiment is to observe the nonatomic behavior of incrementing count in loop().
Comment out noInterrupts() and interrupts() like this:
// noInterrupts(); count++; // interrupts();
You will then see occasional large counts when the print thread tries to zero count while the loop() thread is incrementing count.
You need an oscilloscope to run this example. This example is chContextTime.ino.
To run this example, connect the scope to pin 13. You will see two pulses. Measure difference in time between first pulse with no context switch and the second pulse started in ledControl and ended in ledOffTask.
The difference is the time for the semaphore and a context switch.
ChibiOS/RT uses cooperative scheduling when CH_TIME_QUANTUM is set to zero. This disables preemption for threads with equal priority and the round robin becomes cooperative. Note that higher priority threads can still preempt, the kernel is always preemptive.
The chCoop.ino example illustrates this feature.
Note that is is not necessary to protect count or maxDelay in this example since a context switch can not happen while these variables are accessed.
The chDataSharing.ino example illustrates thread safe data sharing between two threads.
Thread 1 reads a sensor into temp variables. Thread 1 calls chMtxLock() to prevent Thread 2 from accessing the shared data, and copies the temp variables to the shared area, and then unlocks access to the shared area.
Thread 2 runs every second. Thread 2 locks the shared data, copies the shared values to temp variables, and unlocks access to the shared area.
Thread 2 then prints the temp values and unused stack stats.
The fast data logger example is chFifoDataLogger.ino. This example require connection to an SD socket.
Two semaphores are used to implement a FIFO for data records. This uncouples the data acquisition task from the SD write task. SD card have unpredictable write latencies that can be over 100 milliseconds.
You need a quality SD card to avoid data overrun errors. Overruns could be avoided by allocating more memory to the buffer queue.
This example logs a counter as dummy data. You can replace this with data from an analog pin or your sensor.
Type any character to terminate the example. Memory usage information will be printed.
The chJitter.ino example delays for one tick and measures the time difference in micros between delay calls.
The min and max times are printed by a lower priority task.
The chIsrSemaphore.ino example demonstrates how a handler task can be triggered from an ISR by using a binary semaphore.
The chMailPool.ino example demonstrates use of a memory pool and mailboxes with two senders and one receiver.
The chMutex.ino example shows how to protect a shared resource. In this case the mutex is used to share Serial between three threads. The mutex prevents print calls from the three threads from being scrambled.
chRoundRobin.ino is a very simple demonstration of two tasks running in round robin mode.
chSemaphore.ino demonstrates use of a counting semaphore by three tasks. Execution is restrict execution of at most two tasks in one region of code.


Onco Query Language
This demo parses queries written in the Onco Query Language.
Enter an expression to evaluate, such as BRAF
, TP53: EXP<-2
, or
DATATYPES: MUT; TP53 BRAF
:
This demo parses queries written in the Onco Query Language.
Enter an expression to evaluate, such as BRAF
, TP53: EXP<-2
, or
DATATYPES: MUT; TP53 BRAF
:


New ambulances being digitized to improve emergency response – Bawumia
The Vice President, Dr Mahamudu Bawumia says management systems of the ambulances that will be distributed across the constituencies in Ghana will be tracked by a digital address system.
Speaking at the 3rd Chamber Business Awards 2018, Vice President Dr. Bawumia said by the end of next month, when ambulance numbers are called in times of distress, the problem of having to identify locations would be a thing of the past.
“We are making sure that we have an ambulance management system to manage these ambulances. So every ambulance is going to be uniquely tracked, fitted with tablets and with all the digital address systems. So, by the end of next month, when you dial the 112 number, the police ambulance or fire service will know exactly the digital address from which that call is coming,” he said.
Arrival of first batch of ambulances
The first batch of ambulances arrived in September 2019 for all 275 constituencies in the country.
The arrival of the ambulances is part of the fulfilment of a promise made by President Nana Akufo-Addo and the NPP Government in the build-up to the 2016 general elections.
President Nana Akufo-Addo promised that each of the 275 constituencies will be given an ambulance.
He also promised to revamp the ailing National Ambulance Service, which as of 2018 had only about 55 ambulances working across the country.
As at today, 96 out of the 275 ambulances are currently parked at the State House awaiting distribution.
However, after calls by the Minority side on Parliament’s Health Committee for the immediate release of the ambulances at the State House, the Ministry of Special Development Initiatives has assured the general public that the ambulances will be released in January 2020.


Airbnb partners with the IOC to provide Olympic accommodation
LONDON — Short-term home rental company Airbnb Inc on Monday said it was becoming a worldwide Olympic partner in time for the 2020 Olympics in Tokyo as the games' organizers bid to cut the costs associated with hosting the event.
Airbnb said that the partnership with the International Olympic Committee (IOC) would cover five Olympics and Paralympics over the next nine years. Financial details of the partnership were not disclosed.
IOC President Thomas Bach said that the partnership would not replace the Olympic village but would be based on a guarantee of accommodation for visitors, families of athletes, and officials, and would reduce the need for host cities to unsustainably invest in new hotels.
"One of the goals of (our) agenda is to make the Olympic Games more feasible and more sustainable," Bach said at an event in London to announce the partnership.
"There, this partnership will greatly help, because it will provide accommodation that will reduce the costs for the Olympic Games organizers and all the stakeholders."
Locals staged protests at the last summer games in Rio de Janeiro because of the cost of hosting the event while Brazil was mired in recession.
© (c) Copyright Thomson Reuters 2019.


Pursuing Masters in Computer Engineering at Trinity College Dublin.
I hail from New Delhi, the captial of INDIA. I came to Dublin in september 2019 to continue my bachelor's degree.
I am very fond of learning new technologies whatever trends in software/IT industry and ready to kickstart my career.


|
Blinded by Personal Expectations
by Jeffrey Thomas
I thoroughly enjoyed the premier
episode of The Practice, "The Candidate" (part
1). In typical fashion, it raised a variety of interesting issues
in a provocative way. As with other episodes, this one explored
the uncertainty between guilt and innocence, interjected several
ethical conundrums, and considered the importance of media coverage
of the legal system, all in the context of a case about a popular
and persuasive state senator. Although these are fascinating
issues, what caught my attention was this episode's depiction
of the role of personal expectations in the search for truth.
It showed that people, including those who operate our legal
system, can be blinded by their personal expectations of the
truth.
From the outset, all of the
players believe that Senator Keith Ellison shot his wife's lover.
The police, prosecutors, and even the defense attorneys focus
on evidence to support this belief. The prosecutors obtain a
warrant to take a bodily fluid sample from his wife looking for
proof of the affair. The police test only the Senator for gunshot
residue. The defense team interview witnesses to assess evidence
of the affair. The Senator's daughter is ordered to give a statement
to the prosecution, and her testimony neatly fits everyone's
expectations. The story is further solidified when the Senator
publicly "confesses" that he shot the victim in the
mistaken belief that he was attacking the Senator's wife.
When the daughter takes the
stand at trial, however, she tells a different story. This time,
she claims to have shot the victim. The prosecution immediately
assumes that the daughter is lying to protect her father, as
does the defense team. The prosecution, with the consent of the
judge, offer to give the daughter immunity if she'll recant,
and when the defense takes this offer to their client, her father,
the Senator decides to plead guilty in an apparent attempt to
protect his daughter.
After the court accepts the
Senator's plea, and during the press conference in which the
Senator explains that he changed his plea to protect his daughter,
the truth finally comes out. It wasn't the Senator after all,
which is no surprise to regular viewers. My point, however, is
that no one-not the police, the prosecution, or the defense-considered
the any possibility other than the Senator. The linked video
clip delivers the punch line. (Don't view it if you don't
want to know who did it.)
My point is that all of us
perceive reality through our own set of expectations, and tend
to fit the evidence and data we collect into our expectations.
Perhaps we should be more circumspect as we piece together a
story.
Posted October 29, 2001
|


Hello all,
completely new to Emoncms so please forgive me if I'm asking questions that have already been answered. I have searched :-)
I am using a Kaco Powador Solar PV Inverter which outputs on RS232. The RS232 is received by my apache webserver (Linux)
It produces an input stream like the example below -
17.11.2012 06:50:15 3 255.6 0.03 9 243.6 1.12 9 13
17.11.2012 06:50:25 3 255.6 0.03 8 243.6 1.11 8 13
17.11.2012 06:50:35 3 255.6 0.03 9 243.5 1.12 9 13
17.11.2012 06:50:45 3 255.6 0.03 7 243.3 1.11 7 13
17.11.2012 06:50:55 3 255.6 0.03 8 243.8 1.11 8 13
The format according to the manual is -
1 Placeholder
2 Daily running time
3 Operating state
4 Generator voltage in V
5 Generator current in A
6 Generator power in W
7 Line voltage in V
8 Line current, feed-in current in A
9 Power fed into the grid in W
10 Temperature of the unit in °C
Can anybody give me guidance on how I feed this data into emoncms?
Thanks,
Chris.
Re: RS232 input on Linux
I'm guessing the RS232 is connect directly to the linux box, and the "input stream" you see is taken from your web browser window?
One way to approach this would be to read the RS232 port , reformat the data and the send it on the emoncms database.
There are guide on how to read the serial console online such as:
http://www.cyberciti.biz/hardware/5-linux-unix-commands-for-connecting-t...
Then also have a look at:
https://github.com/openenergymonitor/EmoncmsPythonLink
and https://github.com/openenergymonitor/EmoncmsPythonLink/blob/master/pylink.py
this script does effectively the same thing as you want to do taking data from an emonbase using a raspberry pi written in python, by reading the serial port and sending it on to emoncms
I'm guessing you will need to do some formatting in python to get it into the right format. Python is fairly easy to pick up, but if you post the serial console line here I'm sure somepeople will help you (the webbrowser might reformat it hence the suggestion for the serial console line)
Hopefully this is enough to get you started?


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.
BEFORE THE MADURAI BENCH OF MADRAS HIGH COURT DATED : 31/07/2007 CORAM THE HONOURABLE MR. JUSTICE P.D.DINAKARAN AND THE HONOURABLE MR. JUSTICE P.R.SHIVAKUMAR W.P.(MD)No.5123 of 2007 and M.P(MD)Nos.1 and 2 of 2007 V.R.Thangaraj, Door No.6/104 D, Keelavazhavu, Melur, Madurai - 625 102. ... Petitioner Vs 1. State of Tamil Nadu, represented by its Secretary Public Works Department, Fort. St. George, Chennai. 2. The Member Secretary, Tamil Nadu Pollution Control Board, Guindy, Chennai. 3. The District Collector, Madurai District, Madurai. 4. P.K.Ravi 5. Pallava Granites rep. By its Manager, Keezhavhavu, Melur Taluk, Madurai. 6. Mohamed Ibrahim Sait 7. PRP Granites, represented by its Manager, Keezhavhavu, Melur Taluk, Madurai. ... Respondents Writ Petition filed under Article 226 of the Constitution of India, praying for issuance of a Writ of Mandamus to direct respondents 1 to 3 to take effective steps to preserve the tanks and water sources under the Periyar Vaigai Irrigation Scheme and remove the dumped granite and other waste materials from the Irrigation tanks under the Periyar Vaigai Scheme in Madurai District and restore its utility within the time stipulated by this Hon'ble Court. !For Petitioner ... Mr. T. Lajapathi Roy ^For Respondents ... Mr. R. Janakiramalu for R-1 and R-3 Special Government Pleader Mr. R. Ramanlal for R-2 Mr. Santhosh Kumar for Mr. Ramakrishna Reddy for R-5 :ORDER
(Order of the Court was delivered by P.D.DINAKARAN, J.) Heard Mr.T.Lajapathi Roy, learned counsel appearing for the Petitioner, Mr.R.Janakiramalu, learned Special Government Pleader for Respondents 1 and 3, Mr. R.Ramanlal, learned counsel appearing for Second Respondent and Mr. Santhosh Kumar, learned counsel for Fifth Respondent.
2. The Petitioner has preferred this petition pro bono publico complaining that respondents 4 to 7 are dumping their granite waste into irrigation tanks in Periyar Vaigai River Basin and thereby blocking the free flow of water to the next tanks; that they are exploiting public tanks as a dumping yard and are creating an environmental hazard and are causing hardship to the irrigation facilities of the agriculturists as well as the inland fishing rights of the villagers, and prays for issuance of a Writ of Mandamus to direct respondents 1 to 3 to take effective steps to preserve the tanks and water sources under the Periyar Vaigai Irrigation Scheme and remove the dumped granite and other waste materials from the Irrigation tanks under the Periyar Vaigai Irrigation Scheme in Madurai District and restore its utility within the time stipulated by this Court.
3. The Third Respondent District Collector, Madurai has filed a Counter Affidavit dated 04.07.2007, to the effect that the water bodies under reference have not received adequate water to sustain agricultural operations or fish culture and the entire ayacut area of Sirumanickam Kanmai of Keelavalavu Village had been sold by the concerned pattadars to the granite entrepreneurs for extracting granite blocks for more than 25 years. In the absence of enough water in the water bodies, the fish culture cannot be carried out. According to the District Collector, the granite lessees are dumping the granite rock waste in the patta lands separately for future use of the Government. Few quarry contractors have dumped the granite rock waste in the peripheral non water spread high level portions of the water bodies after obtaining necessary permission from P.W.D authorities so as to protect the bunds of the water bodies and to prevent cutting of the bunds by the anti social elements. It is explained that the granite rock waste dumped around the periphery of the water bodies act as a permanent barrier for the water bodies. The Collector has stated that the granite waste are also used for forming the roads, repairing and strengthening the existing roads in public interest and that the quarry operators neither produce nor discharge any hazardous or chemical effluents from the quarries and therefore, there is no question of depletion and contamination of ground water due to quarrying operations. Due to paucity of water in the area, as the water from Periyar Vaigai River Basin does not reach out to the area, it is submitted that the fish culture is not a thriving business for the common public in the area at any point of time. The Collector has also stated that the Government has taken all necessary steps to protect the ecologically fragile area and strict measures have been taken to reduce the risk of hazard to the community while granting the quarry leases in a manner that would pose the least risk of danger to the community and for maximizing the safety requirements while conducting quarrying operations. The basic environment viz., Air, Water and Soil have not been disturbed and there is no public health hazard in the area due to quarrying operations. It is also stated that the Government has taken all necessary precautions while granting lease / licence to utilise the granite potential available in the area, in public interest, so as to provide employment to the local people and to realise revenue to Government without any hindrance to the public and to protect the rights of persons conferred under Article 21 of the Constitution of India as well as to protect and to improve the natural environment including forest, lakes, river and wildlife as contemplated under Article 51-A(g) of the Constitution of India.
4. We have given our careful consideration to the submissions of both sides.
5. Undoubtedly, there are Constitutional mandates under Articles 14, 21 of the fundamental rights, 47, 48A of the directive principles of State Policy and 51A(g) of the Fundamental Duty, to protect and improve the environment. That apart, there are plenty of post-independence legislations on the subject but more relevant enactments for our purpose are: the Water (Prevention and Control of Pollution) Act, 1974 (the Water Act), the Air (Prevention and Control of Pollution) Act, 1981 (the Air Act) and the Environment (Protection) Act, 1986 (the Environment Act). The Water Act provides for the constitution of the Central Pollution Control Board by the Central Government and the constitution of the State Pollution Control Boards by various State Governments in the country. The Boards function under the control of the Governments concerned. The Water Act prohibits the use of streams and wells for disposal of polluting matters. It also provides for restrictions on outlets and discharge of effluents without obtaining consent from the Board. Prosecution and penalties have been provided which include sentence of imprisonment. The Air Act provides that the Central Pollution Control Board and the State Pollution Control Boards constituted under the Water Act shall also perform the powers and functions under the Air Act. The main function of the Boards, under the Air Act, is to improve the quality of the air and to prevent, control and abate air pollution in the country.
6.1. Before proceeding further, we feel it apt to make a reference to the concept of Sustainable Development.
6.2. In Vellore Citizens' Welfare Forum v. Union of India (AIR 1996 SC 2715) a three-Judge Bench of the Apex Court referred to the "precautionary principle" in environmental matters. Kuldip Singh,J. after referring to the principles evolved in various international conferences and to the concept of "Sustainable Development", stated that the precautionary principle, the polluter-pays principle and the special concept of onus of proof have now emerged and govern the law in our country too, as is clear from Articles 47, 48- A and 51-A(g) of our Constitution and that, in fact, in the various environmental statutes, such as the Water Act, 1974 and other statutes, including the Environment (Protection) Act, 1986, these concepts are already implied. These principles have now become part of our law. Thus, it was held that "The Precautionary Principle" and "The Polluter Pays Principle" are essential features of "Sustainable Development".
6.3. The "Precautionary Principle" - in the context of the municipal law - means:
(i) Environmental measures - by the State Government and the statutory authorities - must anticipate, prevent and attack the causes of environmental degradation.
(ii) Where there are threats of serious and irreversible damage, lack of scientific certainty should not be used as a reason for postponing measures to prevent environmental degradation.
(iii) The "onus of proof" is on the actor or the developer/industrialist to show that his action is environmentally benign.
6.4. "The Polluter Pays Principle" has been held to be a sound principle by the Apex Court in Indian Council for Enviro-Legal Action v. Union of India, 1996 (3) SCC 212. The Court observed:
"... we are of the opinion that any principle evolved in this behalf should be simple, practical and suited to the conditions obtaining this country". The Apex Court observed that "... once the activity carried on is hazardous or inherently dangerous, the person carrying on such activity is liable to make good the loss caused to any other person by his activity irrespective of the fact whether he took reasonable care while carrying on his activity. The rule is premised upon the very nature of the activity carried on". ...
"Consequently the polluting industries are absolutely liable to compensate for the harm caused by them to villagers in the affected area, to the soil and to the underground water and hence, they are bound to take all necessary measures to remove sludge and other pollutants lying in the affected areas. The 'Polluter Pays Principle' as interpreted by this Court means that the absolute liability for harm to the environment extends not only to compensate the victims of pollution but also the cost of restoring the environmental degradation. Remediation of the damaged environment is part of the process of 'Sustainable Development' and as such the polluter is liable to pay the cost to the individual sufferers as well as the cost of reversing the damaged ecology. The Precautionary Principle and the Polluter Pays Principle have been accepted as part of the law of the land. Article 21 of the Constitution of India guarantees protection of life and personal liberty. "
6.5. For Sustainable Development, the onus of proof lies on the developer, who is on the actor or the developer / industrialist to show that his action is environmentally benign.
7.1. Now, turning to the other side of the coin of "Sustainable Development", we must never overlook the basic aim of our country, viz., to make India into a powerful model industrial country.
7.2. Industrialization alone can generate the wealth required for taking care of the people, as is the mandate of the Directive Principles of our Constitution. No body can dispute the need for protecting the environment, as everyone is entitled to pure air and water. Greenery should be protected to ensure pure air. Trees and forest have to be protected for ensuring regular rainfall and preventing soil erosion. Wild life has to be protected for maintaining ecological balance.
7.3. But, there should not be a tug-of-war between industrialization and environment protection. Industrialization should certainly ensure a good environment. Thus, without compromising any harm to the environment, the industrialization should also grow, otherwise, we would not be in a position meet the economic challenges particularly in the context of globalization.
8.1. Industrialization, particularly Granite Industry is of vital importance to the country, as it generates foreign exchange and employment avenues. But, at the same time, undoubtedly, such industrialists have no right to destroy the ecology, degrade the environment and pose any health hazard. Hence, such Industrialisation can be permitted to continue and expand only when such Industries tackle by themselves the problems of pollution created by them.
8.2. It is a settled law that the balance between environmental protection and developmental activities could only be maintained by strictly following the principle of "Sustainable Development". This is a development strategy that caters to the needs of the present without negotiating the ability of upcoming generations to satisfy their needs. The strict observance of Sustainable Development will put us on a path that ensures development while protecting the environment, a path that works for all peoples and for all generations. It is a guarantee to the present and a bequeath to the future. All environment-related developmental activities should benefit more people while maintaining the environmental balance. This could be ensured only by strict adherence to Sustainable Development without which life of the coming generations will be in jeopardy. The adherence to Sustainable Development principle is a sine qua non for the maintenance of the symbiotic balance between the rights to environment and development. Right to environment is a fundamental right. On the other hand, right to development is also one. Here the right to Sustainable Development cannot be singled out. Therefore, the concept of Sustainable Development is to be treated as an integral part of life under Article 21. Weighty concepts like intergenerational equity, public trust doctrine and precautionary principle, which have been declared as inseparable ingredients of our environmental jurisprudence, could only be nurtured by ensuring Sustainable Development. To ensure Sustainable Development is one of the goals of the Environment (Protection) Act, 1986 and this is quite necessary to guarantee the right to life under Article 21. If the Act is not armed with the powers to ensure Sustainable Development, it will become a barren shell. In other words, Sustainable Development is one of the means to achieve the object and purpose of the Act as well as the protection of life under Article 21. Acknowledgment of this principle will breathe new life into our environmental jurisprudence and constitutional resolve. Sustainable Development could be achieved only by strict compliance with the directions under the Act. The object and purpose of the Act: "to provide for the protection and improvement of environment" could only be achieved by ensuring strict compliance with its directions. The authorities concerned by exercising their powers under the Act will have to ensure the acquiescence of Sustainable Development. Therefore, the directions or conditions put forward by the Act need to be strictly complied with. Thus the power under the Act cannot be treated as a power simpliciter, but it is a power coupled with duty. It is the duty of the State to make sure the fulfilment of conditions or direction under the Act. Without strict compliance, right to environment under Article 21 could not be guaranteed and the purpose of the Act will also be defeated. The commitment to the conditions thereof is an obligation both under Article 21 and under the Act [vide N.D.Jayal v. Union of India, (2004) 9 SCC 362].
9. When our country is emerging as one of the major power in the global arena, a duty is cast on the State to maintain the environmental protection to protect and maintain the environmental elements such as Air, Water and Soil and also for the economic development of the country by Industrialisation. While the right to life is legitimate expectation as the same is protected under Articles 14 and 21 of the Constitution of India, the right for Industrialisation conferred under Article 19(1)(g) of the Constitution of India to generate more wealth and get more foreign exchange is also equally to be taken care of for the socio-economic welfare of the community. Industrialisation should also grow without causing any harm to the environment, otherwise, we would not be in a position to meet the economic challenges particularly in the context of globalisation.
10. For Sustainable Development, it is thus the duty of the authorities, particularly, in the instant case Respondents 1 to 3 to strictly adopt and adhere to all precautionary measures for fulfillment of the essential features both in maintaining the environmental conditions and developing the Industrialisation. The Government and the Statutory Authority therefore must anticipate, prevent and attack causes of environmental degradation. The Government is also shouldered with the responsibility to monitor environmental protection equipment / measure for protection of eco-friendly environment and to ensure socio-economic growth for a Sustainable Development in the locality.
11. It is under such circumstances, judicious conscience requires the Court to direct the Government and the Executive viz., Respondents 1 to 3 to effectively oversee the Sustainable Development for the growth of the Industrialisation, in the instant case granite mining operations, without giving room for any environmental hazard, which would cause loss to the irrigation facility of the locality of the people and also local rights such as inland fishery etc., if exists.
12. While the petitioner has implored against the alleged dumping of granite waste in Periyar Vaigai River Basin, the Collector in his Counter Affidavit has stated that the quarry operators are dumping waste in the peripheral non water spread high level portions of the water bodies after obtaining necessary permission from the Public Works Department, so as to protect the bunds of the water bodies and to prevent cutting of the bunds by the anti social elements and that the quarry operators neither produce nor discharge any hazardous or chemical effluents from the quarries or where they dump the granite wastes in their private lands and therefore, there is no question of depletion and contamination of ground water due to quarrying operations. On the other hand, it is acknowledged that the granite lessees are only rendering their help to the common public to redress their grievances relating to the drinking water and road facilities problems. However, a public duty is cast on the District Collector to ensure that neither the quarry operations nor dumping of the granite wastes cause any environmental hazard.
13.1. It is further acknowledged that the quarry operators were permitted by the Public Works Department to dump the waste in the peripheral non water spread high level portions of the water bodies so as to protect the bunds of the water bodies and to prevent cutting of the bunds by the anti social elements. The District Collector is obligated to oversee that such quarry operators do not exploit such permission.
13.2. The proposal of the Executive that the granite waste would be used for forming the roads in the patta lands, repairing and strengthening the existing roads in the public interest is of course convincing. However, we add that such proposal is required to be implemented effectively by entering into appropriate agreement with the quarry operators.
14. In the circumstances of the case, suffice it to direct Respondents 1 to 3 to make periodical inspections of the granite quarrying areas and ensure Sustainable Development and to give necessary direction from time to time to the quarry operators to maintain an eco-friendly environment and to ensure socio-economic growth for a Sustainable Development in the locality, protecting the rights conferred under Articles 14, 19(1)(g) and 21 of the Constitution of India.
15. With the above observations and directions, this writ petition is disposed of. No costs. Consequently, the connected M.P(MD)Nos.1 and 2 of 2007 are closed.
Dpn/-
To:
1. The Secretary, State of Tamil Nadu, Public Works Department, Fort. St. George, Chennai.
2. The Member Secretary, Tamil Nadu Pollution Control Board, Guindy, Chennai.
3. The District Collector, Madurai District, Madurai.


Create an Account!
Name
Email
Phone Number
Department
Gender
Male
Female
Date of Birth
Library Number
Username
Password
Confirm Password
Register Account
Already have an account? Login!


http://action.vday.org/site/R?i=ZwZwj1t-dcc9WbV_ZFH_Sg
http://action.vday.org/site/R?i=kS57v0L-iLDlCitr8JAlQA
http://action.vday.org/site/R?i=6umTsNzO2zGfGzNHvmfSBw
http://action.vday.org/site/R?i=EnNXDe7ChudACzedxsCKnQ
This Is What It Looks Like When The World Rises For Justice!
VISIT The One Billion Rising Website To See The World!
Activists Have Shared Their Photos And Videos. It’s Beautiful To Read
And Watch >
http://action.vday.org/site/R?i=dNXqExhUJY9EJZxfYRFg4w
SHARE What One Billion Rising For Justice Looked Like In YOUR
Community:
* Submit A Photo To Our Map >
http://action.vday.org/site/R?i=1QgtfgsfC2WwkPxGAWRnYA
* Tag Your Photos On Facebook
http://action.vday.org/site/R?i=uA0CdmKeWdIU3TxAr9SKvA
, Twitter
http://action.vday.org/site/R?i=cnw0sKEpLeq_6vUWwQ9kNA
& Instagram
http://action.vday.org/site/R?i=pYaVEV7Pas3sHJmk1bUjVQ
:
Documentary Film Call For Submissions - Share Your Media!
Last year many of you submitted footage from your events that was used
in our award winning short film ONE BILLION RISING
http://action.vday.org/site/R?i=yctyMqXUhf1EDCnn8tNYLg
. The bar has been set high as the film went on to debut at Sundance
Film Festival this year, but with your help we think we can create
something even bigger, we can go even deeper, and we can make an even
bigger impact!
So, we are calling on you once again to submit footage and photos from
your One Billion Rising for Justice events!
We will need the highest resolution files available shared with us via
Dropbox. These can be RAW footage, edited pieces, single photographs
or folders with multiple images.
Simply follow the instructions at our “Share Your Media” page and add
the Dropbox link of your material in the provided field.
SHARE Your Media! >
http://action.vday.org/site/R?i=AHRv3-5FiEw5mEQrhMd15Q
http://action.vday.org/site/R?i=_mqfW0jnmUvRrsVM9u8UXg
http://action.vday.org/site/R?i=OlwrQKbETluh4ZeT73HP7A
http://action.vday.org/site/R?i=vxJ34WOH-wxn0YRgGPwRdA
http://action.vday.org/site/R?i=mcExUbI7itiS3BOuqkAzVA
http://action.vday.org/site/R?i=UESTO4iNPbis0o70q6j8yA
unsubscribe
http://action.vday.org/site/CO?i=Zv61nw14W8hvgYRZy7lZUOQtM0Bwn_5l&cid=1062
Powered By Blackbaud


:Unite file
:Unite file_rec/async:!
:Unite tag
:Unite buffer
file/new
file/async
file_rec/async
file_rec/git
buffer
buffer_tab
(current tab only)tab
register
bookmark
source
| Option | Description |
|---|---|
-start-insert |
|
-no-quit |
|
-winheight=10 |
|
-quick-match |
select by pressing asdf keys |
-winwidth=40 |
use with vertical |
-no-split |
open in current buffer |
-auto-preview |
great for outline |
-vertical |
open as sidebar |
-buffer-name=xxx -resume |
resume the next time it's called (faster) |
-input= |
reset input (use with -resume) |
-unique |
remove duplicates (eg, if using file_rec with file_mru ) |