- valueOf(String)
- Static method in enum com.unity3d.ads.adunit.AdUnitError
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.adunit.AdUnitEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.api.DeviceInfo.StorageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.api.Intent.IntentError
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.broadcast.BroadcastError
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.broadcast.BroadcastEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.cache.CacheError
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.cache.CacheEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.configuration.ConfigurationFailure
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.connectivity.ConnectivityEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.device.Device.MemoryInfoType
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.device.DeviceError
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.device.StorageError
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.device.StorageEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.device.StorageManager.StorageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.log.DeviceLog.UnityAdsLogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.request.ResolveHostError
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.request.ResolveHostEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.request.WebRequest.RequestType
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.request.WebRequestError
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.request.WebRequestEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.UnityAds.FinishState
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.UnityAds.PlacementState
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.UnityAds.UnityAdsError
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.video.VideoPlayerError
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.video.VideoPlayerEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.webview.bridge.CallbackStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.webview.bridge.WebViewBridgeError
-
Returns the enum constant of this type with the specified name.
- valueOf(String)
- Static method in enum com.unity3d.ads.webview.WebViewEventCategory
-
Returns the enum constant of this type with the specified name.
- values()
- Static method in enum com.unity3d.ads.adunit.AdUnitError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.adunit.AdUnitEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum com.unity3d.ads.api.DeviceInfo.StorageType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.api.Intent.IntentError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum com.unity3d.ads.broadcast.BroadcastError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum com.unity3d.ads.broadcast.BroadcastEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.cache.CacheError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.cache.CacheEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.configuration.ConfigurationFailure
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.connectivity.ConnectivityEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum com.unity3d.ads.device.Device.MemoryInfoType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.device.DeviceError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.device.StorageError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.device.StorageEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.device.StorageManager.StorageType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.log.DeviceLog.UnityAdsLogLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum com.unity3d.ads.request.ResolveHostError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum com.unity3d.ads.request.ResolveHostEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.request.WebRequest.RequestType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum com.unity3d.ads.request.WebRequestError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum com.unity3d.ads.request.WebRequestEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.UnityAds.FinishState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum com.unity3d.ads.UnityAds.PlacementState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.UnityAds.UnityAdsError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.video.VideoPlayerError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.video.VideoPlayerEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum com.unity3d.ads.webview.bridge.CallbackStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values()
- Static method in enum com.unity3d.ads.webview.bridge.WebViewBridgeError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum com.unity3d.ads.webview.WebViewEventCategory
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VERSION_CODE
- Static variable in class com.unity3d.ads.BuildConfig
-
- VERSION_NAME
- Static variable in class com.unity3d.ads.BuildConfig
-
- VideoPlayer - Class in com.unity3d.ads.api
-
- VideoPlayer()
- Constructor for class com.unity3d.ads.api.VideoPlayer
-
- VideoPlayerError
- Enum in com.unity3d.ads.video
-
- VideoPlayerEvent
- Enum in com.unity3d.ads.video
-
- VideoPlayerView
- Class in com.unity3d.ads.video
-
- VideoPlayerView(Context)
- Constructor for class com.unity3d.ads.video.VideoPlayerView
-
- ViewUtilities - Class in com.unity3d.ads.misc
-
- ViewUtilities()
- Constructor for class com.unity3d.ads.misc.ViewUtilities
-


This article is still a work in progress that I regularly update.
Ever since hearing my first song in Cantonese, I have become obsessed with Cantopop. I have spent hours listening to songs from different periods, in the beginning without comprehending one word of the lyrics. Even as a musicologist I was not aware this music existed and that, when looking at its popularity in Asia until today, it has the same energizing effect on me as on millons other people. Even though Cantopop became a recognized genre worldwide, there is still a lot of terrain that is unknown to non-Cantonese or non-Chinese speakers. Of course, being accessible to other nationalities was never its goal. But in a globalized world where English became the lingua franca it is actually very refreshing to listen to music that still guards its own principles.
In the past year I have been looking into scientific literature about Cantopop to get a better grip on its history. As one might expect, the number of English written sources is rather limited. However, there is one important exception: Hong Kong Cantopop - A Concise History by Yiu-Wai Chu, pubished by Hong Kong University Press. This book presents a history of Cantonese pop songs and links it to Hong Kong culture. I highly recommend it to anyone that wants to take a closer look at Cantopop. Unfortunately, it will probably not be easily available at you local library. That is why I assembled a playlist of the most important songs that are mentioned in the book. Because reading a music history book without taking the time to properly listen to the audio, does not really make sense. Below you will find a link to the playlist and the table of songs ordered per chapter of the book. Those who cannot obtain the book can still enjoy the music by itself.
Remark: the romanization below the characters is pinyin (Mandarin romanization), not jyutping (Cantonese romanization). This is due to limitations of the automatic romanization software used.


Ulster pay heavy price for win over Bath
by By Online EditorsUlster squeezed out a vital 17-16 victory at Bath in their opening match in Pool Three of the European Champions Cup.
Tries in each half by John Cooney and Rob Lyttle helped the PRO14 side make it five straight wins against Bath in European competition. Scrum-half Cooney converted both and kicked a 70th-minute penalty to seal the win.
However, the win came with a price. Both prop Jack McGrath and secondrow Sam Carter had to leave the field with significant looking arm injuries early in the first half.
The Premiership side kept in touch with two penalties from Freddie Burns before replacement wing Gabriel Hamer-Webb scored their only try, converted by Burns. Rhys Priestland’s 66th-minute penalty put them ahead for the first time in the match but Cooney had the final say.
England World Cup trio Sam Underhill, Jonathan Joseph and Ruaridh McConnochie were making their first Bath appearances since returning from Japan.
They opened confidently and Priestland soon had a chance to open the scoring but pulled his 45-metre penalty just wide.
Instead, it was the visitors who struck first after 13 minutes. Will Chudley had only just charged down an attempted box-kick by his opposite number Cooney when his own kick through was blocked. Cooney was quickest to the loose ball, hacked on for a kind bounce and sprinted in from 40 metres.
Two penalties in quick succession from Burns, briefly taking over the place-kicking as Priestland nursed a knock to his leg, cut the lead to a single point on the half-hour.
Bath’s midfield passing lacked the precision of Ulster’s, for whom fullback Will Addison was a particularly creative influence.
The former Sale man, capped by twice by Ireland, was involved in a prolonged series of attacks at the end of the half which finally yielded a penalty in front of the Bath posts but Cooney somehow pushed his kick wide.
On their return from the half-time break, Ulster showed signs of wilting – missing tackles on Semesa Rokoduguni and Will Stuart and having a narrow escape when Charlie Ewels’ offload deep into the visitors’ 22 found Stuart McCloskey rather than Bath hands.
But it then took a try-saving tackle by Priestland to deny centre Luke Marshall at the other end before Ulster increased their lead on the hour with a try by right wing Lyttle, chasing Addison’s kick down the touchline.
Cooney converted to make it 14-6 but Bath hit back straight away as rookie left wing Hamer-Webb rounded Addison with ease to score in the corner, with Burns adding the conversion.
A high tackle by Alan O’Connor on Underhill allowed Priestland to give Bath the lead, but the advantage was short-lived as Cooney kicked a simple penalty in reply.
The match in pictures:


Result
Thank you for you report!We will deal with it quickly!
I have more question want to report!
Go back Index Page


Get key game design insights from Riot's Teamfight Tactics at GDC 2020!
by StaffThis summer League of Legends maker Riot Games added a mega-popular auto-battler mode to the game called Teamfight Tactics, and at the Game Developers Conference in March you'll have a chance to see how it was made!
This is a big deal because a team within Riot designed Teamfight Tactics in less than six months, honing in on what makes a great auto-battler game and finding a way to realize it within League of Legends, and you'll hear all about it in a GDC 2020 Design Track talk on 'Teamfight Tactics' Design Lessons.
Register now to attend GDC and check out this promising session, where you can expect to learn what Riot did about how to approach product discovery, how to characterize an audience and use that characterization to make design decisions, and how to lead teams to take real risks and make necessary pivots -- even when deadlines loom!
Next year GDC 2020 runs from Monday, March 16th through Friday, March 20th. This will be the 34th edition of GDC, and now that registration is officially open, you'll want to take a look at the (ever-expanding) session schedule and your GDC pass options -- register early to lock in the best price!
For more details on GDC 2020 visit the show's official website, or subscribe to regular updates via Facebook, Twitter, or RSS.
Gamasutra and GDC are sibling organizations under parent company Informa Tech


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit est facilis maiores, perspiciatis accusamus asperiores sint consequuntur debitis.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit est facilis maiores, perspiciatis accusamus asperiores sint consequuntur debitis.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit est facilis maiores, perspiciatis accusamus asperiores sint consequuntur debitis.
“Creativity is just connecting things. When you ask creative people how they did something, they feel a little guilty because they didn’t really do it, they just saw something. It seemed obvious to them after a while.”
“Creativity is just connecting things. When you ask creative people how they did something, they feel a little guilty because they didn’t really do it, they just saw something. It seemed obvious to them after a while.”


| I l@ve RuBoard |
13.9 The sre Module(Implementation) The sre module, used in Example 13-9, is a low-level implementation module for the 2.0 re module. There's usually no need to use this module directly (and code using it may stop working in future releases). Example 13-9. Using the sre ModuleFile: sre-example-1.py import sre text = "The Bookshop Sketch" # a single character m = sre.match(".", text) if m: print repr("."), "=>", repr(m.group(0)) # and so on, for all 're' examples... '.' => 'T' |
| I l@ve RuBoard |


Kannur district derived its name from the location of its headquarters at Kannur town. The old name ‘Cannanore’ is the anglicised form of the Malayalam word Kannur. According to one opinion, ‘Kannur’ is a derivation from Kanathur, an ancient village, the name of which survives even today in one of the wards of Kannur Municipality. Another version is that Kannur might have assumed its name from one of the , deities of the Hindu pantheon, a compound of two words, Kannan (Lord Krishna) and Ur (place) making it the place of Lord Krishna. In this context, it is worth mentioning that the deity of the Katalayi Sreekrishna temple was originally installed in a shrine at Katalayi Kotta in the south eastern part of the present Kannur town.


Student Application Form
If you are a motivated, passionate student looking for an internship, apply for a position below.
First and Last Name
Email Address
Phone Number
Preferred Method of Contact
What is your major?
Select an option here
Year in School
Select an option here
What school do you attend?
Select an option here
What type of internship are you looking for?
Select an option here
How many hours are you wanting to work?
Select an option here
How long do you want your internship to be?
Select an option here
If you enjoy the company you are placed with, are you available for a summer internship?
Select an option here
Any extra links (website, social media, etc.)
Submit Application


{% extends "my_ummeli_base.xml" %}
{% block content %}
Tell us what you're good at. All your experience and skills have value. Sharing these on Ummeli will help opportunity providers find you. You can do this by sharing your Work Profile Preview.
{% with user_profile=user.get_profile %}
{% if user_profile.is_complete %}
{{user_profile.primary_skill}}
{% if user_profile.city %}{{user_profile.city}} {% endif %}
{% if user_profile.gender %}{{user_profile.gender}} {% endif %}
{% if user_profile.other_skills.exists %}
Other areas of interest:
{% for skill in user_profile.other_skills.all %}
{{skill}}
{% endfor %}
{% endif %}
"{{user_profile.about_me}}"
Edit profile
{% else %}
Whoops!
No worries you can do this in a few minutes. Don't worry if you
have no experience all you need to complete to post here is your
name, date of birth, city, languages and your school education.
Complete your profile
Missing information
{% for field in user_profile.missing_fields %}
** {{field}}
{% endfor %}


Tag
public struct Tag : Codable, Equatable, TagType
Search.Tag
-
Tag id, eg. smart-contracts
Declaration
Swift
public let id: String
-
Tag name, eg. Smart Contracts
Declaration
Swift
public let name: String
-
Number of coins connected to this tag
Declaration
Swift
public let coinCounter: Int
-
Number of ICOs connected to this tag
Declaration
Swift
public let icoCounter: Int


Dialog with controls
Background image position
Dialog overlapping
Start demo
Start demo
Start demo
Checkbox
Radio
Button


Sonny John Moore
a.k.a
SkrilleX
Electronic music artist and vertents
"Sonny John Moore (born January 15, 1988), known professionally as Skrillex, is an American electronic dance music producer, DJ, singer, songwriter and multi-instrumentalist. Growing up in Northeast Los Angeles and in Northern California"
Source: Wikipedia


HCI and Machine Learning a harmonious relationship
10 Dec 2015Machine learning is one of the core topic in the computer science, which analyzes data, builds model by learning and finally infers or makes the decision using new data set. Human Computer Interaction is another research field, which designs the system, build the system, evaluate the system by conducting well-designed experimental and conduct the data analysis in the end.
Both fields requires data understanding and corresponding analysis, what is difference between the method in HCI differs in comparison to approaches in machine learning side? My short answer is the HCI research mainly conduct the exploratory data analysis whereas the machine learning research mainly do the confirmative data analysis.
CDA versus EDA
For the confirmatory data analysis (CDA), people focus on conducting the inferential statistics through the deductive reasoning. Researchers create probabilistic model, accept the untestable assumptions, look for definite answers to specific questions. They emphasizes on the numerical calculations, and test their hypothesis through the pre-defined model using hypothesis testing methods. That is the pipeline machine learning researchers normally follows with.
For the exploratory data analysis (EDA), people relies on the descriptive statistics through the inductive reasoning. Researchers look for flexible ways to examine data without preconceptions, attempt to evaluate validity of assumptions through different statistical testing such as t-test one tail, analysis of variance, multivariate analysis of covariance and etc. People are heavily stick on the graphical display of the data and let data indicate further questions or findings.
The advantage of CDA is to provide precise information in the right circumstances, the model is built by using Well-established theory and methods. However, the disadvantage of it is misleading impression of precision in less than ideal circumstances. The data analysis is driven by preconceived ideas. It is difficult to notice unexpected results.
The advantage of EDA is its flexibility to generate hypotheses. It does not require more than data to support its hypothesis. The method may lead researchers to deep understanding of processes. However, the disadvantage of EDA is that it does not provide definite answers, it is difficult to avoid optimistic bias produced by overfitting. Sometimes, this method requires judgement and artistry.
From wikipedia of exploratory data analysis, EDA is for seeing what the data can tell us beyond the formal modeling or hypothesis testing task. The goal of exploratory data analysis is to obtain confidence in your data to a point where you’re ready to engage a machine learning algorithm.
From the above higher-level understanding, exploratory data analysis do not conflict with the confirmative data analysis, we need both to understand data both in the breadth and the depth degree.
HCI versus Machine Learning
How do the above two data analysis approaches affect HCI and Machine Learning research fields?
In the machine learning fields, big data normally binds with clear definitions with different applied requirements. For instance, pixels in the image are data, which specifies its syntax and semantic; word in the language sentences are data, which specifies its syntax and semantic; gene in the cell are data, which specifies its syntax and semantic. With the confirmatory requirement, researchers use their talent to dive deeper to discover the accurate answer by using the confirmatory data analysis approach.
In the human computer interaction fields, data do not come in the air, it comes from the design and implementation of system prototype. For instance, an eye tracking application with the learning purpose captures data from users about their eye activities in different dimensions, such as fixation time, fixation area and moving frequency; an online web service captures kids’ online activities to talk with their mates about school homework experience. Since such design is tied with the unclear applied requirement, captured data mostly contains huge amount of information. Researchers need to explore such data in a coarse-grained manner first using the EDA approach creatively. The findings from data can further improve the user requirement, the system design or pass to the next-stage data analysis by collaborating with researchers from the machine learning field.
Conclusion
When I was learning computer science by reading the well-known book Structure and Interpretation of Computer Programs by Gerald Jay Sussman, Hal Abelson, I was impressed by the notion of interchangeable between data and procedure. In a more non computer science way, it is a chicken-egg process. Data relies on procedure; Procedure creates data.
Making a rational analogy, I do believe:
CDA needs EDA to elicit the requirement and refine data. EDA needs CDA to inform their precise discovery and well-defined model. In a such harmonious environment, people with different learning and research styles (EDA or CDA) can work together to build more usable and reliable systems to support humanity.


Element Index
Element Details
Frame
The root node of the document.
Frame must contain a Properties element, a NonVisualElements element,
a Layout element, and a Components element in that order.
id is always fixed to "this" to maintain a reference to the generated class object which will make code generation
easier.
Declared Attributes
Element Content Model
(Properties, NonVisualElements, Layout, Components)
Referenced by
Properties
The Properties element for the Frame;
it is divided into simple properties and complex properties.
The set method is used to set both types of properites in the generated code.
Element Content Model
(SimpleProperty | ComplexProperty)*
Referenced by
Frame, Element, Container, Component
SimpleProperty
The Simple Property does not require an object to be created first, and it can only take one value.
Example: foo.setHeight(10.4f);
Declared Attributes
- #REQUIRED CDATA name
- #REQUIRED CDATA type
- #REQUIRED CDATA value
Element Content Model
EMPTY
Referenced by
Properties
ComplexProperty
The Complex property requires an object to be created first with the listed parameters before using
the set method.
The name attribute is the name of the property to be set.
The type is the class type of the object to be created.
Declared Attributes
- #REQUIRED CDATA name
- #REQUIRED CDATA type
Element Content Model
(Parameters)
Referenced by
Properties
Parameters
Parameters element define a set of paramters to be sent to the constructor of an object.
Element Content Model
(Parameter)*
Referenced by
ComplexProperty, Element
Parameter
Parameter element encapsulates the value of the parameter passed to a constructor.
Declared Attributes
- #REQUIRED CDATA type
- #REQUIRED CDATA value
Element Content Model
EMPTY
Referenced by
Parameters
NonVisualElements
Non Visual Components are a set of elements that would represents components that are used by elements of the frame
but do not appear in the desginer such as appearance.
Element Content Model
(Element)*
Referenced by
Frame
Element
Element defines a class object that can be used either as a visual element in a component such as a sphere
or as a non-visual element such as appearance.
The value of the id attribute is unique and represents the element's variable name.
The type attribute defines the class type of the element.
Declared Attributes
- #REQUIRED ID id
- #REQUIRED CDATA type
Element Content Model
(Parameters, Properties)
Referenced by
NonVisualElements, Component
Layout
Layout describes the hierarchy of components and containers.
Element Content Model
(ContainerRef | ComponentRef)*
Referenced by
Frame
ContainerRef
ContainerRef represents a reference to a container and describes its layout.
A container can encompass an infinte depth of containers and components.
The ref attribute must reference an existing unique id attribute of a container.
Declared Attributes
Element Content Model
(ContainerRef | ComponentRef)
Referenced by
Layout, ContainerRef
ComponentRef
ComponentRef represents a reference to a component.
The ref attribute must reference an existing unique id attribute of a component.
Declared Attributes
Element Content Model
EMPTY
Referenced by
Layout, ContainerRef
Components
Components represents a set of components and containers (Visual Components).
Element Content Model
(Container | Component)*
Referenced by
Frame
Container
Container defines a Container3D object with its properties and event handlers.
The value of the id attribute is unique and represents the container's variable name.
The id attribute is referenced by ContainerRef's ref attribute in the Layout.
Declared Attributes
Element Content Model
(Properties, EventHandlers)
Referenced by
Components
Component
Component defines a Component3D object with its properties, event handlers, and element.
The value of the id attribute is unique and represents the component's variable name.
This id is referenced by ComponentRef's ref attribute.
Declared Attributes
Element Content Model
(Properties, EventHandlers, Element)
Referenced by
Components
EventHandlers
EventHandlers represents a group of event handlers that are defined on a component or a container.
Element Content Model
(EventHandler)*
Referenced by
Container, Component
EventHandler
EventHandler defines an event handler that handles an event on a component or a container.
The value of the event attribute represents the name of the event which is the name of the overriden function in
the inner annonymous class.
The value of the listener attribute represents the interface to be implemented or the abstract class to be extended
by the inner annonymous class.
The value of the parameter attribute represents the class type of the passed parameter.
The value of the handler attribute represents the name of the function to which the event is propagated;
this value must be unique since it is a function name.
Declared Attributes
- #REQUIRED CDATA event
- #REQUIRED CDATA listener
- #REQUIRED CDATA parameter
- #REQUIRED ID handler
Element Content Model
EMPTY
Referenced by
EventHandlers


backcountry_mtn_us package¶
Submodules¶
backcountry_mtn_us.backcountry_mtn_us module¶
-
backcountry_mtn_us.backcountry_mtn_us.
get_closest_park
(lat, lng, count)[source]¶ Returns a pandas DataFrame of closest parks by latitude and longitude.
lat : Latitude as an integer (must be within the bounds of -90 and 90) lng : Longitude as an integer (must be within the bounds of -180 and 180) count: How many parks you want returned based on your lat,lng. An integer input.
A pandas DataFrame object that describes distance, elevation, latitude, longitude, park name, timezone, and triplet code (park id).
>> get_closest_park(lat = 50, lng = -120, count = 3)
-
backcountry_mtn_us.backcountry_mtn_us.
get_data
(triplet, days)[source]¶ Returns a pandas DataFrame of detailing data of selected park .
triplet : The park id code. In the format of IdNumber:StateAbbreviation:SNTL. A string. days : Number of days (not including today) you want to retrieve data for chosen park
A pandas DataFrame object that describes date, snow water, change in snow water, snow depth, change in snow depth, and temperature.
>> get_data(triplet = ‘1159:WA:SNTL’, days = 2)
-
backcountry_mtn_us.backcountry_mtn_us.
get_data_history
(triplet, startdate, enddate)[source]¶ Returns a pandas DataFrame of detailing historical data of selected park .
triplet : The park id code. In the format of IdNumber:StateAbbreviation:SNTL. A string. startdate : Time period you want to start at. YYYY-MM-DD. A string. enddate : Time period you want to end at. YYYY-MM-DD. A string.
A pandas DataFrame object that describes date, snow water, change in snow water, snow depth, change in snow depth, and temperature.
>> get_data_history(triplet = “1125:AZ:SNTL”, startdate = “2013-01-19”, enddate = “2013-01-20”)
-
backcountry_mtn_us.backcountry_mtn_us.
get_state_park
(state)[source]¶ Returns a pandas DataFrame of all parks by selected state.
state : The state abbreviation/postal code. For example: California = CA. A string.
A pandas DataFrame object that describes elevation, park name, timezone, triplet/park id, latitude, and longitude.
>> get_state_park(state = “AZ”)


Class: Aws::EC2::Types::CreateVpcRequest
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Struct
|
|
|
Instance Chain:
self,
::Aws::Structure ,
Struct
|
|
| Inherits: |
Struct
|
| Defined in: | gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb |
Overview
Constant Summary
Instance Attribute Summary
-
#amazon_provided_ipv_6_cidr_block ⇒ Boolean
rw
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.
-
#cidr_block ⇒ String
rw
The IPv4 network range for the VPC, in CIDR notation.
-
#dry_run ⇒ Boolean
rw
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#instance_tenancy ⇒ String
rw
The tenancy options for instances launched into the VPC.
-
#ipv_4_ipam_pool_id ⇒ String
rw
The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR.
-
#ipv_4_netmask_length ⇒ Integer
rw
The netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool.
-
#ipv_6_cidr_block ⇒ String
rw
The IPv6 CIDR block from the IPv6 address pool.
-
#ipv_6_cidr_block_network_border_group ⇒ String
rw
The name of the location from which we advertise the IPV6 CIDR block.
-
#ipv_6_ipam_pool_id ⇒ String
rw
The ID of an IPv6 IPAM pool which will be used to allocate this VPC an IPv6 CIDR.
-
#ipv_6_netmask_length ⇒ Integer
rw
The netmask length of the IPv6 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool.
-
#ipv_6_pool ⇒ String
rw
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
-
#tag_specifications ⇒ Array<Types::TagSpecification>
rw
The tags to assign to the VPC.
Instance Method Summary
::Aws::Structure
- Included
| #to_hash | Alias for Structure#to_h. |
Instance Attribute Details
#amazon_provided_ipv_6_cidr_block ⇒ Boolean
(rw)
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block.
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12462
class CreateVpcRequest < Struct.new( :cidr_block, :amazon_provided_ipv_6_cidr_block, :ipv_6_pool, :ipv_6_cidr_block, :ipv_4_ipam_pool_id, :ipv_4_netmask_length, :ipv_6_ipam_pool_id, :ipv_6_netmask_length, :dry_run, :instance_tenancy, :ipv_6_cidr_block_network_border_group, :tag_specifications) SENSITIVE = [] include Aws::Structure end
#cidr_block ⇒ String
(rw)
The IPv4 network range for the VPC, in CIDR notation. For example,
<IP_ADDRESS>/16
. We modify the specified CIDR block to its canonical
form; for example, if you specify <IP_ADDRESS>/18
, we modify it to
<IP_ADDRESS>/18
.
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12462
class CreateVpcRequest < Struct.new( :cidr_block, :amazon_provided_ipv_6_cidr_block, :ipv_6_pool, :ipv_6_cidr_block, :ipv_4_ipam_pool_id, :ipv_4_netmask_length, :ipv_6_ipam_pool_id, :ipv_6_netmask_length, :dry_run, :instance_tenancy, :ipv_6_cidr_block_network_border_group, :tag_specifications) SENSITIVE = [] include Aws::Structure end
#dry_run ⇒ Boolean
(rw)
Checks whether you have the required permissions for the action,
without actually making the request, and provides an error response.
If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12462
class CreateVpcRequest < Struct.new( :cidr_block, :amazon_provided_ipv_6_cidr_block, :ipv_6_pool, :ipv_6_cidr_block, :ipv_4_ipam_pool_id, :ipv_4_netmask_length, :ipv_6_ipam_pool_id, :ipv_6_netmask_length, :dry_run, :instance_tenancy, :ipv_6_cidr_block_network_border_group, :tag_specifications) SENSITIVE = [] include Aws::Structure end
#instance_tenancy ⇒ String
(rw)
The tenancy options for instances launched into the VPC. For
default
, instances are launched with shared tenancy by default.
You can launch instances with any tenancy into a shared tenancy VPC.
For dedicated
, instances are launched as dedicated tenancy
instances by default. You can only launch instances with a tenancy
of dedicated
or host
into a dedicated tenancy VPC.
Important: The host
value cannot be used with this parameter.
Use the default
or dedicated
values only.
Default: default
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12462
class CreateVpcRequest < Struct.new( :cidr_block, :amazon_provided_ipv_6_cidr_block, :ipv_6_pool, :ipv_6_cidr_block, :ipv_4_ipam_pool_id, :ipv_4_netmask_length, :ipv_6_ipam_pool_id, :ipv_6_netmask_length, :dry_run, :instance_tenancy, :ipv_6_cidr_block_network_border_group, :tag_specifications) SENSITIVE = [] include Aws::Structure end
#ipv_4_ipam_pool_id ⇒ String
(rw)
The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. For more information, see What is IPAM? in the Amazon VPC IPAM User Guide.
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12462
class CreateVpcRequest < Struct.new( :cidr_block, :amazon_provided_ipv_6_cidr_block, :ipv_6_pool, :ipv_6_cidr_block, :ipv_4_ipam_pool_id, :ipv_4_netmask_length, :ipv_6_ipam_pool_id, :ipv_6_netmask_length, :dry_run, :instance_tenancy, :ipv_6_cidr_block_network_border_group, :tag_specifications) SENSITIVE = [] include Aws::Structure end
#ipv_4_netmask_length ⇒ Integer
(rw)
The netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12462
class CreateVpcRequest < Struct.new( :cidr_block, :amazon_provided_ipv_6_cidr_block, :ipv_6_pool, :ipv_6_cidr_block, :ipv_4_ipam_pool_id, :ipv_4_netmask_length, :ipv_6_ipam_pool_id, :ipv_6_netmask_length, :dry_run, :instance_tenancy, :ipv_6_cidr_block_network_border_group, :tag_specifications) SENSITIVE = [] include Aws::Structure end
#ipv_6_cidr_block ⇒ String
(rw)
The IPv6 CIDR block from the IPv6 address pool. You must also
specify Ipv6Pool
in the request.
To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12462
class CreateVpcRequest < Struct.new( :cidr_block, :amazon_provided_ipv_6_cidr_block, :ipv_6_pool, :ipv_6_cidr_block, :ipv_4_ipam_pool_id, :ipv_4_netmask_length, :ipv_6_ipam_pool_id, :ipv_6_netmask_length, :dry_run, :instance_tenancy, :ipv_6_cidr_block_network_border_group, :tag_specifications) SENSITIVE = [] include Aws::Structure end
#ipv_6_cidr_block_network_border_group ⇒ String
(rw)
The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the address to this location.
You must set AmazonProvidedIpv6CidrBlock
to true
to use this
parameter.
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12462
class CreateVpcRequest < Struct.new( :cidr_block, :amazon_provided_ipv_6_cidr_block, :ipv_6_pool, :ipv_6_cidr_block, :ipv_4_ipam_pool_id, :ipv_4_netmask_length, :ipv_6_ipam_pool_id, :ipv_6_netmask_length, :dry_run, :instance_tenancy, :ipv_6_cidr_block_network_border_group, :tag_specifications) SENSITIVE = [] include Aws::Structure end
#ipv_6_ipam_pool_id ⇒ String
(rw)
The ID of an IPv6 IPAM pool which will be used to allocate this VPC an IPv6 CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across Amazon Web Services Regions and accounts throughout your Amazon Web Services Organization. For more information, see What is IPAM? in the Amazon VPC IPAM User Guide.
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12462
class CreateVpcRequest < Struct.new( :cidr_block, :amazon_provided_ipv_6_cidr_block, :ipv_6_pool, :ipv_6_cidr_block, :ipv_4_ipam_pool_id, :ipv_4_netmask_length, :ipv_6_ipam_pool_id, :ipv_6_netmask_length, :dry_run, :instance_tenancy, :ipv_6_cidr_block_network_border_group, :tag_specifications) SENSITIVE = [] include Aws::Structure end
#ipv_6_netmask_length ⇒ Integer
(rw)
The netmask length of the IPv6 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12462
class CreateVpcRequest < Struct.new( :cidr_block, :amazon_provided_ipv_6_cidr_block, :ipv_6_pool, :ipv_6_cidr_block, :ipv_4_ipam_pool_id, :ipv_4_netmask_length, :ipv_6_ipam_pool_id, :ipv_6_netmask_length, :dry_run, :instance_tenancy, :ipv_6_cidr_block_network_border_group, :tag_specifications) SENSITIVE = [] include Aws::Structure end
#ipv_6_pool ⇒ String
(rw)
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12462
class CreateVpcRequest < Struct.new( :cidr_block, :amazon_provided_ipv_6_cidr_block, :ipv_6_pool, :ipv_6_cidr_block, :ipv_4_ipam_pool_id, :ipv_4_netmask_length, :ipv_6_ipam_pool_id, :ipv_6_netmask_length, :dry_run, :instance_tenancy, :ipv_6_cidr_block_network_border_group, :tag_specifications) SENSITIVE = [] include Aws::Structure end
#tag_specifications ⇒ Array
<Types::TagSpecification> (rw)
The tags to assign to the VPC.
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12462
class CreateVpcRequest < Struct.new( :cidr_block, :amazon_provided_ipv_6_cidr_block, :ipv_6_pool, :ipv_6_cidr_block, :ipv_4_ipam_pool_id, :ipv_4_netmask_length, :ipv_6_ipam_pool_id, :ipv_6_netmask_length, :dry_run, :instance_tenancy, :ipv_6_cidr_block_network_border_group, :tag_specifications) SENSITIVE = [] include Aws::Structure end


R/nba_scraper.R
nba_scraper.Rd
This function scrapes the tabular data from the ESPN NBA website using RSelenium and returns a tibble object of the scraped data. Users can specify the season year and season type. Users should also specify the port for Selenium driver, and should be the same as the port number used for setting up the Docker container driver (if the user is using Docker as per the "rsketball" package repo instructions). By default, the function will not write to csv until a string input for "csv_path" is given.
nba_scraper( season_year = 2018, season_type = "regular", port = 4445L, csv_path = NULL )
| season_year | int from 2001 to 2019 (upper limit based on latest year) |
|---|---|
| season_type | string. Either "regular" or "postseason". |
| port | int with L suffix. Must not be negative. Should be same as port configuration used for Docker container driver setup. |
| csv_path | string for csv file. Defaults to NULL. If specified, must end with ".csv". |
A tibble of scraped ESPN NBA data
For detailed use cases, please refer to the vignette: https://ubc-mds.github.io/rsketball/articles/rsketball-vignette.html
# \donttest{ # Scrape regular season 2018/19 without saving to a csv file nba_2018 <- nba_scraper(2018, season_type = "regular", port=4445L)#> [1] "Scraping commencing. Please wait!" #> [1] "Connecting to remote server" #> $acceptInsecureCerts #> [1] FALSE #> #> $browserName #> [1] "chrome" #> #> $browserVersion #> [1] "80.0.3987.106" #> #> $chrome #> $chrome$chromedriverVersion #> [1] "80.0.3987.106 (f68069574609230cf9b635cd784cfb1bf81bb53a-refs/branch-heads/3987@{#882})" #> #> $chrome$userDataDir #> [1] "/tmp/.com.google.Chrome.ZMaT4W" #> #> #> $`goog:chromeOptions` #> $`goog:chromeOptions`$debuggerAddress #> [1] "localhost:36929" #> #> #> $networkConnectionEnabled #> [1] FALSE #> #> $pageLoadStrategy #> [1] "normal" #> #> $platformName #> [1] "linux" #> #> $proxy #> named list() #> #> $setWindowRect #> [1] TRUE #> #> $strictFileInteractability #> [1] FALSE #> #> $timeouts #> $timeouts$implicit #> [1] 0 #> #> $timeouts$pageLoad #> [1] 300000 #> #> $timeouts$script #> [1] 30000 #> #> #> $unhandledPromptBehavior #> [1] "dismiss and notify" #> #> $webdriver.remote.sessionid #> [1] "4463b32b1093d87ef6e59119e7523367" #> #> $id #> [1] "4463b32b1093d87ef6e59119e7523367" #> #> [1] "Data scraping of 2018 regular season completed."# Scrape playoffs season 2017/18 while saving to a local csv file. nba_2017 <- nba_scraper(2017, season_type = "postseason", port=4445L, csv_path = "nba_2017_playoffs.csv")#> [1] "Scraping commencing. Please wait!" #> [1] "Connecting to remote server" #> $acceptInsecureCerts #> [1] FALSE #> #> $browserName #> [1] "chrome" #> #> $browserVersion #> [1] "80.0.3987.106" #> #> $chrome #> $chrome$chromedriverVersion #> [1] "80.0.3987.106 (f68069574609230cf9b635cd784cfb1bf81bb53a-refs/branch-heads/3987@{#882})" #> #> $chrome$userDataDir #> [1] "/tmp/.com.google.Chrome.Lyq2CJ" #> #> #> $`goog:chromeOptions` #> $`goog:chromeOptions`$debuggerAddress #> [1] "localhost:43195" #> #> #> $networkConnectionEnabled #> [1] FALSE #> #> $pageLoadStrategy #> [1] "normal" #> #> $platformName #> [1] "linux" #> #> $proxy #> named list() #> #> $setWindowRect #> [1] TRUE #> #> $strictFileInteractability #> [1] FALSE #> #> $timeouts #> $timeouts$implicit #> [1] 0 #> #> $timeouts$pageLoad #> [1] 300000 #> #> $timeouts$script #> [1] 30000 #> #> #> $unhandledPromptBehavior #> [1] "dismiss and notify" #> #> $webdriver.remote.sessionid #> [1] "4df99c49f160c00ec54c5239bff260ef" #> #> $id #> [1] "4df99c49f160c00ec54c5239bff260ef" #> #> [1] "Data scraping of 2017 postseason season completed."# }


Note
Click here to download the full example code
1.5.1. Stepsize adaption in the LEM method¶
This example demonstrates the ability of the local error method (LEM) [S2003] to locally decrease the stepsize when higher accuracy is needed. As test case, the interaction dynamics of two colliding fundamental soliton governed by the standard nonlinear Schrödinger equation is considered.
We first import the functionality needed to perform the sequence of numerical experiments:
import sys
import numpy as np
from fmas.models import ModelBaseClass
from fmas.config import FTFREQ, FT, IFT, C0
from fmas.grid import Grid
from fmas.solver import LEM
from fmas.data_io import save_h5
from fmas.tools import plot_evolution
Next, we implement a model for the nonlinear Schrödinger equation. In particular, we here consider the standard nonlinear Schrödinger equation, given by
wherein \(u = u(z, t)\) represents the slowly varying pulse envelope, \(\beta_2=-1\) is the second order dispersion parameter, and \(\gamma=1\) is the nonlinear parameter:
class NSE(ModelBaseClass):
def __init__(self, w, beta, gamma):
super().__init__(w, beta_w=beta)
self.gamma = gamma
@property
def Lw(self):
return 1j*self.beta_w
def N(self, uw):
ut = IFT(uw)
return 1j*self.gamma*FT(np.abs(ut)**2*ut)
Next, we set up the computational domain, the model, and the LEM solver and prepare an initial condition with two fundamental solitons. The velocity of the solitons is adjusted so that they collide after approximately half a soliton period.
To construct the initial condition, we use the exact single-soliton solution of the nonlinar Schrödinger equation, given by
with \(P_0=|\beta_2|/(\gamma t_0^2)\). We here consider two fundamental solitons of duration \(t_0=1\) and frequency detunings \(\omega_0=25\) to construct the initial condition
The propagation is performed up to \(z_{\rm{max}}=\pi/2\), i.e. for one soliton period.
# -- SET MODEL PARAMETERS
t_max = -50.
Nt = 2**12
# ... PROPAGATION CONSTANT (POLYNOMIAL MODEL)
beta = np.poly1d([-0.5, 0.0, 0.0])
beta1 = np.polyder(beta, m=1)
beta2 = np.polyder(beta, m=2)
# ... NONLINEAR PARAMETER
gamma = 1.
# ... SOLITON PARAMTERS
t0 = 1. # duration
t_off = 20. # temporal offset
w0 = 25. # detuning
P0 = np.abs(beta2(0))/t0/t0/gamma # peak-intensity
LD = t0*t0/np.abs(beta2(0)) # dispersion length
# ... EXACT SOLUTION
u_exact = lambda z, t: np.sqrt(P0)*np.exp(0.5j*gamma*P0*z)/np.cosh(t/t0)
# -- INITIALIZATION STAGE
# ... COMPUTATIONAL DOMAIN
grid = Grid(t_max=t_max, t_num=Nt)
t, w = grid.t, grid.w
# ... NONLINEAR SCHROEDINGER EQUATION
model = NSE(w, beta(w), gamma)
# ... PROPAGATION ALGORITHM
solver = LEM(model.Lw, model.N, del_G = 1e-7)
# ... INITIAL CONDITION
u0_t = u_exact(0.0, t+t_off)*np.exp(1j*w0*t)
u0_t += u_exact(0.0, t-t_off)*np.exp(-1j*w0*t)
solver.set_initial_condition(w, FT(u0_t))
# -- RUN SOLVER
solver.propagate(
z_range = 0.5*np.pi*LD, # propagation range
n_steps = 512,
n_skip = 2
)
The figure below shows the propagation dynamics of the above initial condition:
plot_evolution( solver.z, grid.t, solver.utz, t_lim = (-30,30), w_lim = (-50.,50.))
Below we prepare a figure showing the variation of the local relative error upon propagation (top figure), and the decrease of the local stepsize in the vicinity of the soliton-soliton collision (bottom subfigure). In the top figure, the shaded region indicates the local goal error range. Aim of the LEM method is to keep the conservation quantity error within that range.
# sphinx_gallery_thumbnail_number = 2
import matplotlib as mpl
import matplotlib.pyplot as plt
import matplotlib.colors as col
f, (ax1,ax2) = plt.subplots(2, 1, figsize=(8,6))
ax1.plot(range(len(solver._del_rle)), solver._del_rle)
ax1.axhspan(0.5e-7,1e-7,color='lightgray')
ax1.set_ylabel(r"$\delta_{\rm{RLE}}$")
ax2.plot(range(len(solver._dz_a)), solver._dz_a)
ax2.set_ylabel(r"$h~{(\mathrm{\mu m})}$")
ax2.set_xlabel(r"$z$-slice number $n$")
plt.show()
References:
- S2003
O. V. Sinkin, R. Holzlöhner, J. Zweck, C. R. Menyuk, Optimization of the split-step Fourier method in modeling optical-fiber communications systems, IEEE J. Lightwave Tech. 21 (2003) 61, https://doi.org/10.1109/JLT.2003.808628.
Total running time of the script: ( 0 minutes 4.519 seconds)


---
layout: post
title: Eric's Top 10 Playlist
date: '2012-10-07T01:43:00.000-05:00'
author: Tom Ray
tags:
- blog
modified_time: '2013-02-09T22:55:20.894-06:00'
thumbnail: https://img.youtube.com/vi/videoseries/default.jpg
blogger_id: tag:blogger.com,1999:blog-11319466.post-4733805724654334528
blogger_orig_url: http://www.lorenzosmusic.com/2012/10/eric-top-10-playlist.html
---
Here's another in our on-going series of music we've been listening to.
This is Eric's playlist of his top 10 songs for October.


WUBBA LUBBA DUB DUB!
THE PORTAL GUN GLITCHED TO AN UNKONWN UNIVERSE
DON´T EVEN TRIP, DAWG.
WARP HOME


Tomato sauce for pasta
Rachel Graves
2012-04-18 00:00:00 +0100Ingredients
- Sherry Vinegar
- Salt, Pepper
- 1 large onion
- 1 can chopped tomatoes with basil
- 2 Cloves garlic
Method
Chop the onion as finely as you can and set aside. Crush and finely chop the garlic (or use a garlic mincer). Add to the chopped onions.
Heat a table spoon of olive oil in a large frying pan or wok and add the onions and garlic. Gently cook until the onions have softened and smell good. Add the tin of chopped tomatoes and then half-fill the empty can with water, swirl to get the left over tomato sauce from the can and add this to the wok.
Add salt, pepper and sherry vinegar to taste (I like a very generous splash of vinegar) and then simmer until the sauce has reduced.
Serve over pasta.
Magic Extras
Try adding 250-500g of lean minced beef as soon as the onions are cooked but before adding the tomatoes. This mix can be served over pasta or used in a lasagne.
Serve over meatballs.
Grate an Italian hard cheese to the top of your food for extra yumminess.


Highlight all games, copy and paste them into this box, and then press choose.
1 on 1 Soccer
10 Bullets
3 Pandas


The machines created by this program are all single tape "standard" Turing machines. These have one start and end state each, and the order of operations is read -> evaluate -> write -> move
For the "description", enter transitions, one per line, of the form ABCDE, where A is the original state, B is the read character, C is the new state, D is the write character, and E = L, R, or S, for the tape head. For example, if your TM is on state 4, reads character 'f' and then moves the tape head right, writes character '8', and goes to state 7, that line would look like 4f78R
States can only be natural numbers, but characters can be anything (as long as they're single characters, not strings)
Make sure your transitions are total (every combination of state and read symbol are accounted for). However, you don't have to write transitions from the halting state (assume that the TM never "passes through" that state - once computation reaches there, everything halts). If your transitions aren't total besides that, the computation may not work
For the input, write it exactly as it would appear on the tape. For example, in a unary addition TM that takes two unary numbers 111 and 11 separated by the blank symbol 0, you would write 111011 as the input. Don't use any characters that aren't part of the alphabet!
The start position is the spot on the tape where the head initially starts. You can choose any number in the range [0, len(input) + 1], with the ends of the interval representing the tape squares immediately to the left and the right of the input (which will be blank). To start the head on the first character of the input, choose a start position of 1
When you generate a TM, the URL will be of the form http://platm.herokuapp.com/custom/`tm code`/`init code`/input. The TM code is a base 64 string specifiying the machine's transitions, while the init code is a base 64 string that specifies the initial conditions (q0, qH, blank symbol, start position). To use the same Turing machine later, you can simply save these codes and re-enter this url along with a string for the input
As an example, here is the description for a Turing machine for binary addition


[gecode-users] Python wrappers
Nicolas Chauvat
nicolas.chauvat at logilab.fr
Fri Oct 30 12:07:24 CET 2009
Hi,
On Thu, Oct 29, 2009 at 06:57:32PM +0000, Ellis Breen wrote:
> I'm currently looking for a free-as-in-beer constraint programming library
> with bindings in both C/C++ and Python. It seems Logilab started a Python
> wrapper for Gecode but never completed it.
logilab-constraint is a rather inefficient constraint programming
library in pure python:
http://www.logilab.org/project/logilab-constraint
http://hg.logilab.org/logilab/constraint/
We use gecode in our project management tool called projman:
http://www.logilab.org/project/projman
I think we started by trying to wrap the whole gecode library, then
realized that it was more efficient to use only a part of it. Our work
can be looked at in the projman.scheduling module:
http://hg.logilab.org/projman/file/d1672cf96df7/scheduling
Maybe Ludovic will be able to tell you more about this.
Hope this helps,
--
Nicolas Chauvat
logilab.fr - services en informatique scientifique et gestion de connaissances
More information about the gecode-users
mailing list


As part of a provincial and federal partnership, BC Registries and Online Services, our New West Partners, and other Canadian jurisdictions have developed an agreement to share company information.
The initiative will facilitate the updating of information to new or existing extra provincial registrations of your BC company with one or more of the partner jurisdictions. Select the jurisdictions you wish to be redirected from the list below. You may want to submit a name search, register extra provincially or update an existing extra provincial registration.
Our Partners:
If your jurisdiction is not listed as one of BC's extraprovincial partners, you must contact the jurisdiction you wish to register in directly in order to submit a name request or complete an extraprovincial registration.


1. Introduction
This post lists some resources on how to create smart contract from scratch. To browse online smart contracts, Etherscan and Etherchain are two good websites.
2. Programming Resources
There is an excellent tutorial about how to program smart contract using Solidity here Smart Contract.
3. Hello World with Geth
This page will help you build a Hello, World contract with the ethereum Geth. The code is taken here for future reference:
4. Mix IDE
Here is a post on how to program and debug with Mix IDE.


Projects and Major Achievements
2017 :
Became and Ed-Support Fellow for the organisation - Make A Dfiference
2016 :
iOS Project on TicTacToe
iOS Project on information on restaurants and travel agents near my college
2013 :
Criminal Database Project in C++ made for class 12, acknowledged as Project of the Year
2012 :
Qualified and won scholarship in All India Talent Search(AITS) three times (2008, 2009, 2012)
Miscellaneous :
Won Best Badminton Player Award for 2012
Active participant in IT Quizzes, Math Olympiads during schooling, winning various competitions and certificates.


Class: Aws::DirectoryService::Types::RadiusSettings
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Struct
|
|
|
Instance Chain:
self,
::Aws::Structure ,
Struct
|
|
| Inherits: |
Struct
|
| Defined in: | gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb |
Overview
Contains information about a Remote Authentication Dial In User Service (RADIUS) server.
Constant Summary
Instance Attribute Summary
-
#authentication_protocol ⇒ String
rw
The protocol specified for your RADIUS endpoints.
-
#display_label ⇒ String
rw
Not currently used.
-
#radius_port ⇒ Integer
rw
The port that your RADIUS server is using for communications.
-
#radius_retries ⇒ Integer
rw
The maximum number of times that communication with the RADIUS server is attempted.
-
#radius_servers ⇒ Array<String>
rw
An array of strings that contains the fully qualified domain name (FQDN) or IP addresses of the RADIUS server endpoints, or the FQDN or IP addresses of your RADIUS server load balancer.
-
#radius_timeout ⇒ Integer
rw
The amount of time, in seconds, to wait for the RADIUS server to respond.
-
#shared_secret ⇒ String
rw
Required for enabling RADIUS on the directory.
-
#use_same_username ⇒ Boolean
rw
Not currently used.
Instance Method Summary
::Aws::Structure
- Included
| #to_hash | Alias for Structure#to_h. |
Instance Attribute Details
#authentication_protocol ⇒ String
(rw)
The protocol specified for your RADIUS endpoints.
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 3426
class RadiusSettings < Struct.new( :radius_servers, :radius_port, :radius_timeout, :radius_retries, :shared_secret, :authentication_protocol, :display_label, :use_same_username) SENSITIVE = [:shared_secret] include Aws::Structure end
#display_label ⇒ String
(rw)
Not currently used.
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 3426
class RadiusSettings < Struct.new( :radius_servers, :radius_port, :radius_timeout, :radius_retries, :shared_secret, :authentication_protocol, :display_label, :use_same_username) SENSITIVE = [:shared_secret] include Aws::Structure end
#radius_port ⇒ Integer
(rw)
The port that your RADIUS server is using for communications. Your self-managed network must allow inbound traffic over this port from the Directory Service servers.
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 3426
class RadiusSettings < Struct.new( :radius_servers, :radius_port, :radius_timeout, :radius_retries, :shared_secret, :authentication_protocol, :display_label, :use_same_username) SENSITIVE = [:shared_secret] include Aws::Structure end
#radius_retries ⇒ Integer
(rw)
The maximum number of times that communication with the RADIUS server is attempted.
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 3426
class RadiusSettings < Struct.new( :radius_servers, :radius_port, :radius_timeout, :radius_retries, :shared_secret, :authentication_protocol, :display_label, :use_same_username) SENSITIVE = [:shared_secret] include Aws::Structure end
#radius_servers ⇒ Array
<String
> (rw)
An array of strings that contains the fully qualified domain name (FQDN) or IP addresses of the RADIUS server endpoints, or the FQDN or IP addresses of your RADIUS server load balancer.
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 3426
class RadiusSettings < Struct.new( :radius_servers, :radius_port, :radius_timeout, :radius_retries, :shared_secret, :authentication_protocol, :display_label, :use_same_username) SENSITIVE = [:shared_secret] include Aws::Structure end
#radius_timeout ⇒ Integer
(rw)
The amount of time, in seconds, to wait for the RADIUS server to respond.
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 3426
class RadiusSettings < Struct.new( :radius_servers, :radius_port, :radius_timeout, :radius_retries, :shared_secret, :authentication_protocol, :display_label, :use_same_username) SENSITIVE = [:shared_secret] include Aws::Structure end
#use_same_username ⇒ Boolean
(rw)
Not currently used.
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 3426
class RadiusSettings < Struct.new( :radius_servers, :radius_port, :radius_timeout, :radius_retries, :shared_secret, :authentication_protocol, :display_label, :use_same_username) SENSITIVE = [:shared_secret] include Aws::Structure end


Drag & drop an image file here.
- Online Image Thining -
This page thins lines in a dropped image. Note that your image file won't be uploaded: it will be processed in the browser.


POSTQUEUE
Section: User Commands (1)Index Return to Main Contents
NAME
postqueue - Postfix queue controlSYNOPSIS
postqueue [-v] [-c config_dir] -f
postqueue [-v] [-c config_dir] -i queue_id
postqueue [-v] [-c config_dir] -p
postqueue [-v] [-c config_dir] -s site
DESCRIPTION
The postqueue(1) command implements the Postfix user interface for queue management. It implements operations that are traditionally available via the sendmail(1) command. See the postsuper(1) command for queue operations that require super-user privileges such as deleting a message from the queue or changing the status of a message.The following options are recognized:
- -c config_dir
- The main.cf configuration file is in the named directory instead of the default configuration directory. See also the MAIL_CONFIG environment setting below.
- -f
-
Flush the queue: attempt to deliver all queued mail.
This option implements the traditional "sendmail -q" command, by contacting the Postfix qmgr(8) daemon.
Warning: flushing undeliverable mail frequently will result in poor delivery performance of all other mail.
- -i queue_id
-
Schedule immediate delivery of deferred mail with the
specified queue ID.
This option implements the traditional sendmail -qI command, by contacting the flush(8) server.
This feature is available with Postfix version 2.4 and later.
- -p
-
Produce a traditional sendmail-style queue listing.
This option implements the traditional mailq command,
by contacting the Postfix showq(8) daemon.
Each queue entry shows the queue file ID, message size, arrival time, sender, and the recipients that still need to be delivered. If mail could not be delivered upon the last attempt, the reason for failure is shown. This mode of operation is implemented by executing the postqueue(1) command. The queue ID string is followed by an optional status character:
-
- *
- The message is in the active queue, i.e. the message is selected for delivery.
- !
- The message is in the hold queue, i.e. no further delivery attempt will be made until the mail is taken off hold.
-
- -s site
-
Schedule immediate delivery of all mail that is queued for the named
site. A numerical site must be specified as a valid RFC 2821
address literal enclosed in [], just like in email addresses.
The site must be eligible for the "fast flush" service.
See flush(8) for more information about the "fast flush"
service.
This option implements the traditional "sendmail -qRsite" command, by contacting the Postfix flush(8) daemon.
- -v
- Enable verbose logging for debugging purposes. Multiple -v options make the software increasingly verbose. As of Postfix 2.3, this option is available for the super-user only.
SECURITY
This program is designed to run with set-group ID privileges, so that it can connect to Postfix daemon processes.
DIAGNOSTICS
Problems are logged to syslogd(8) and to the standard error stream.ENVIRONMENT
- MAIL_CONFIG
-
Directory with the main.cf file. In order to avoid exploitation
of set-group ID privileges, a non-standard directory is allowed only
if:
-
- *
- The name is listed in the standard main.cf file with the alternate_config_directories configuration parameter.
- *
- The command is invoked by the super-user.
-
CONFIGURATION PARAMETERS
The following main.cf parameters are especially relevant to this program. The text below provides only a parameter summary. See postconf(5) for more details including examples.
- alternate_config_directories (empty)
- A list of non-default Postfix configuration directories that may be specified with "-c config_directory" on the command line, or via the MAIL_CONFIG environment parameter.
- config_directory (see 'postconf -d' output)
- The default location of the Postfix main.cf and master.cf configuration files.
- command_directory (see 'postconf -d' output)
- The location of all postfix administrative commands.
- fast_flush_domains ($relay_domains)
- Optional list of destinations that are eligible for per-destination logfiles with mail that is queued to those destinations.
- import_environment (see 'postconf -d' output)
- The list of environment parameters that a Postfix process will import from a non-Postfix parent process.
- queue_directory (see 'postconf -d' output)
- The location of the Postfix top-level queue directory.
- syslog_facility (mail)
- The syslog facility of Postfix logging.
- syslog_name (see 'postconf -d' output)
- The mail system name that is prepended to the process name in syslog records, so that "smtpd" becomes, for example, "postfix/smtpd".
- trigger_timeout (10s)
- The time limit for sending a trigger to a Postfix daemon (for example, the pickup(8) or qmgr(8) daemon).
Available in Postfix version 2.2 and later:
- authorized_flush_users (static:anyone)
- List of users who are authorized to flush the queue.
- authorized_mailq_users (static:anyone)
- List of users who are authorized to view the queue.
FILES
/var/spool/postfix, mail queue
SEE ALSO
qmgr(8), queue manager showq(8), list mail queue flush(8), fast flush service sendmail(1), Sendmail-compatible user interface postsuper(1), privileged queue operations
README FILES
Use "postconf readme_directory" or "postconf html_directory" to locate this information.
ETRN_README, Postfix ETRN howto
LICENSE
The Secure Mailer license must be distributed with this software.
HISTORY
The postqueue command was introduced with Postfix version 1.1.
AUTHOR(S)
Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- SECURITY
- DIAGNOSTICS
- ENVIRONMENT
- CONFIGURATION PARAMETERS
- FILES
- SEE ALSO
- README FILES
- LICENSE
- HISTORY
- AUTHOR(S)
This document was created by man2html, using the manual pages.
Time: 05:29:09 GMT, December 24, 2015


struct GistFilePayload
- GistFilePayload
- Struct
- Value
- Object
Overview
Represents a file
NOTE Fields which are required to gist creation
#filename
Included Modules
- JSON::Serializable
Defined in:
githubcr/payloads/gist.crConstructors
Instance Method Summary
- #clone
- #content : String
- #copy_with(content _content = @content, filename _filename = @filename)
- #filename : String?


Eminem involved in row with rapper Lord Jamar over “blackface mask”
The claims date back to 2000
Eminem has come under fire after being accused of wearing a “blackface mask” by rapper Lord Jamar.
- Read More: Ouch. All the people Eminem disses on surprise album ‘Kamikaze’ – and their responses
Rapper Lord Jamar posed several old photographs of Eminem wearing the mask at the MTV 2000 Europe Music Awards.
He tweeted: “Hey @eminem please put this in context for me…I’m trying to understand why you’d be clowning in a BLACKFACE MASK backstage at the MTV AWARDS?
“You should come on the YANADAMEEN GODCAST so we can discuss this among other things. #weneedanswers,” the wrapper wrote in his caption.
At the time of the photo, Eminem was on tour in America and couldn’t accept the award in person. Sending a pre-recorded acceptance speech, Eminem also appeared in a second video at the time wearing what appeared to be a Will Smith mask in which he apologised to fans for missing out on the show.
Lord Jamar said he still didn’t think it was appropriate for Eminem to be wearing the mask.
He went on: “If it is a WILL SMITH MASK, what gives this WHITEBOY the right to wear it? Especially in EUROPE where he knew he could get away with it, also if it’s NO PROBLEM then why have these pics been hidden up until now?” the rapper wrote in the comments section of his Instagram.
The two rappers have been involved in a beef for some years ever since Eminem called the rapper on ‘Fall’ from his surprise album, ‘Kamikaze’ last year. Eminem has yet to comment on Lord Jamar’s post.
Earlier this week, Eminem was embroiled in a further controversy when he appears to “side with Chris Brown” over assaulting Rihanna in what is thought to be a leaked track snippet.
A Reddit user uploaded a seven-second clip titled ‘(SNIPPET) Eminem – Things Get Worse (Rihanna Diss)’ earlier this week, which is said to have been recorded during sessions for Marshall Mathers’ 2009 album, ‘Relapse’.

Despite the line being removed for the final version, the rapper does say he “murdered” Dakota Fanning – who was then 16 years old – and “put Natasha Bedingfield in a washer” in the release.
NME has contacted representatives of Eminem for comment.


Before Change
if "plot_height" in kwargs and "height" in kwargs:
raise ValueError("figure() called with both "plot_height" and "height" supplied, supply only one")
if "height" in kwargs:
kwargs["plot_height"] = kwargs.pop("height")
if "width" in kwargs:
kwargs["plot_width"] = kwargs.pop("width")
if "responsive" in kwargs and "sizing_mode" in kwargs:
raise ValueError("figure() called with both "responsive" and "sizing_mode" supplied, supply only one")
if "responsive" in kwargs:
kwargs["sizing_mode"] = _convert_responsive(kwargs["responsive"])
del kwargs["responsive"]
fig = Figure(**kwargs)
return fig
_marker_types = [
After Change
"""
return Figure(**kwargs)
_marker_types = [
"asterisk",


# This is a Markdown document
You can now write your web page in Markdown.
You opened a `textarea` tag, but a `xmp` tag works as well.
And, yes, it is **as simple** as **one** HTML line at the beginning and **one** HTML line at the end of this document.
# This second example supports UTF-8 input
Yes, that's cool.
Did you know that [Næreen](http://gravatar.com/naereen) is originally an Iranian name ?
---


imfunny
@imfunniee
undefined
null
null
https://imfunniee.github.io/
Mars
Available for hire
Work.
gitfolio
personal website + blog for every github user
JavaScript
4056
332
gitark
Dark theme for Github
CSS
209
21
fimbo
free to use portfolio templates
JavaScript
53
2
imfunniee.github.io
👨💻 personal portfolio website and projects
HTML
17
6
NoOS
🚀 An OS launcher that runs on your current OS
JavaScript
13
2
pymine
python learns to play minecraft (TOTALLY not copying https://github.com/Sentdex/pygta5 😂)
Python
13
0
secret-img
encrypt/decrypt images 🤫
JavaScript
9
1
zucc
browser voice-controlled personal assistant
JavaScript
8
1
gitfolio-in-wild
A list of portfolios that uses gitfolio 🎉
null
8
4
yt-upload
basically youtube in your terminal
JavaScript
8
0
Pluto
a peer to peer video and text chat
HTML
5
0
youtube-discord-rpc
🎵 Discord Rich Presence for Youtube
JavaScript
3
2
todo
a todo app ;)
CSS
2
1
meteo
⛈ a simple weather app
HTML
1
1
polymerBot
🤖 A Discord bot for Moderation and stuff
JavaScript
0
1
chat-on-github
undefined
null
0
2
Forks.
awesome-css-frameworks
List of awesome CSS frameworks
CSS
6
0
opensource.guide
Community guides for open source creators
JavaScript
1
0
8D-Audio
Some dsp to make songs "8D"
Python
1
1
node-github-emoji
Node.js library for GitHub Emoji
typed with TypeScript
TypeScript
1
0
smooth-ui
Modern React UI library 💅👩🎤🍭
JavaScript
0
0
discord-vscode
🖋 Update your discord status with the newly added rich presence
TypeScript
0
0
WebGL-Fluid-Simulation
Play with fluids in your browser (works even on mobile)
JavaScript
0
0
adobe-rpc
A universal Discord Rich Presence for almost all of Adobe's apps.
Python
0
0
Blog.


Contact
BARON global optimization solver
BARON was developed by Nick Sahinidis and his research group. It is available from The Optimization Firm, http://www.minlp.com. For more information about BARON, please contact Nick Sahinidis or<EMAIL_ADDRESS>MATLAB/BARON interface
The MATLAB/BARON interface was developed by Jonathan Currie. For more information on the MATLAB/BARON interface, please contact Jonathan Currie and/or<EMAIL_ADDRESS>The MATLAB/BARON interfarce is provided from http://www.minlp.com.


{%extends "blog/base.html" %} {% block content %} {% load staticfiles %}
Once you receive the six digit code on your mail, paste the code onto the input field and continue.You will be redirected to the login page on sucessfull activation.USe your username and password to login onto your account.


public class Instruction
extends java.lang.Object
CECIL assembly language instructions object.
CECIL instructions objects are created through this class.
These objects constitute data on the name and description of CECIL instructions.
Supplies the necessary information for the instructions tool tips employed by the interface.
Instruction language reference:
Instruction "stop"
Machine code: 0
Full description: This simple command tells CECIL to stop executing the program. Note that a program may have more than one stop instruction, although good programming practice recommends each program (and subroutine) has only a single entry point, and a single exit point.
Affected by flags: none
Affects flags: none
Instruction "print"
Machine code: 1
Full description: This instruction causes the contents of the ACCUMULATOR to be printed in the output window — in the form of a decimal integer.
Affected by flags: none
Affects flags: none
Instruction "printch"
Machine code: 2
Full description: This instruction displays in the output window the character whose ASCII code is currently in the ACCUMULATOR (so if “65” were in the ACCUMULATOR then an upper case “A” would be displayed in the output window).
Affected by flags: none
Affects flags: none
Instruction "printb"
Machine code: 3
Full description: This instruction causes the contents of the ACCUMULATOR to be printed in the output window — in the form of a BINARY number. The ACCUMULATOR is unchanged.
Affected by flags: none
Affects flags: none
Instruction "cclear"
Machine code: 4
Full description: This simply operation sets the carry flag to “0” (whatever its previous value). Since the carry flag is referred to by the “add” and “sub” operations, it is important to set or clear the flag appropriately before executing those operations. Always zero the carry flag before an “add” statement.
Affected by flags: none
Affects flags: carry flag is set to 0
Instruction "cset"
Machine code: 5
Full description: This simply operation sets the carry flag to “1” (whatever its previous value). Since the carry flag is referred to by the “add” and “sub” operations, it is important to set or clear the flag appropriately before executing those operations. Always set the carry flag before a “sub” statement.
Affected by flags: none
Affects flags: carry flag is set to 1
Instruction "xinc"
Machine code: 6
Full description: This command adds 1 to the current value of the X-register.
Affected by flags: none
Affects flags: sets carry flag if result would have been greater than 1023
Instruction "xdec"
Machine code: 7
Full description: This command subtracts 1 from the current value of the X-register. If this results in a zero or negative result, the appropriate flag is set.
Affected by flags: none
Affects flags: sets zero flag if new X-register value is zero sets negative flag if new X-register value is negative
Instruction "yinc"
Machine code: 8
Full description: This command adds 1 to the current value of the Y-register.
Affected by flags: none
Affects flags: sets carry flag if result would have been greater than 1023
Instruction "ydec"
Machine code: 9
Full description: This command subtracts 1 from the current value of the Y-register. If this results in a zero or negative result, the appropriate flag is set.
Affected by flags: none
Affects flags: sets zero flag if new Y-register value is zero sets negative flag if new Y-register value is negative
Instruction "insert"
Machine code: 10
Full description: Instructs the compiler to store the given integer as a 10-bit word in memory — an address label is optional (but usually present).
Affected by flags: none
Affects flags: none
Instruction "load"
Machine code: 11
Full description: This instruction replaces the contents of the ACCUMULATOR with the integer stored at the labelled address.
Affected by flags: none
Affects flags: none
Instruction "xload"
Machine code: 12
Full description: A copy of the number stored in the labelled address is copied into the X-register.
Affected by flags: none
Affects flags: none
Instruction "yload"
Machine code: 13
Full description: A copy of the number stored in the labelled address is copied into the Y-register.
Affected by flags: none
Affects flags: none
Instruction "add"
Machine code: 14
Full description: This adds the contents of the number at the data label 'Data', the current value of the accumulator (it also adds to this the current value of the carry flag).
Affected by flags: will add the contents of the carry flag (1 or 0) to the result
Affects flags: carry flag set if total of addition is greater than 1023 zero flag set if result of addition is zero
Instruction "sub"
Machine code: 15
Full description: The number at the labelled address is subtracted from the current value of the accumulator, leaving the result in the accumulator.
Affected by flags: the current value of the carry flag, this is subtracted as well as the number stored at the labelled address
Affects flags: zero flag set if result is zero negative flag set if result is negative
Instruction "and"
Machine code: 16
Full description: A logical AND is performed between the current value of the ACCUMULATOR and the number at the given address label. The result of the AND is placed in the ACCUMULATOR, and the zero flag set accordingly. I.e. for each of the 10 bits in the ACCUMULATOR and the labelled address an AND is performed, and where both bits are 1, the new bit for the ACCUMULATOR is 1. If either or both bits are 0, then the new bit is 0.
Affected by flags: none
Affects flags: zero flag set if result of AND is zero for all 10 bits
Instruction "or"
Machine code: 17
Full description: A logical OR is performed between the current value of the ACCUMULATOR and the number at the given address label. The result of the AND is placed in the ACCUMULATOR, and the zero flag set accordingly. I.e. for each of the 10 bits in the ACCUMULATOR and the labelled address an OR is performed, and where both bits are 1, the new bit for the ACCUMULATOR is 1. If either or both bits are 0, then the new bit is 0.
Affected by flags: none
Affects flags: zero flag set if result of “OR” is zero for all 10 bits
Instruction "xor"
Machine code: 18
Full description: This instruction performs a logical "EXCLUSIVE OR" operation between the bits of the current value of the ACCUMULATOR, and the integer stored at the labelled address. The result of the “EOR” is stored in the ACCUMULATOR (overwriting the previous value). A logical "EOR" compares each bit of two binary numbers in turn, the result of each comparison is a new bit, a '1' if one of the bits were '1', a '0' otherwise (i.e. 0 if both 0 or both 1).
Affected by flags: none
Affects flags: zero flag set if result of “OR” is zero
Instruction "jump"
Machine code: 19
Full description: Pass control to the instructions beginning at the labelled address. (i.e. change the program counter to the labelled address).
Affected by flags: none
Affects flags: none (but changes program counter)
Instruction "comp"
Machine code: 20
Full description: Compares the value at the labelled address with the current value of the Accumulator
Affected by flags: none
Affects flags: zero flag set if numbers are the same negative flag set if number at labelled address is larger than value in Accumulator
Instruction "xcomp"
Machine code: 21
Full description: The value at the labelled address is compared with the current value of the X-register (rather than with the ACCUMULATOR for the “comp” instruction).
Affected by flags: none
Affects flags: zero flag set if numbers are the same
Instruction "ycomp"
Machine code: 22
Full description: The value at the labelled address is compared with the current value of the Y-register (rather than with the ACCUMULATOR for the “comp” instruction).
Affected by flags: none
Affects flags: zero flag set if numbers are the same negative flag set if number at labelled address is larger than value in Y-register
Instruction "jineg"
Machine code: 23
Full description: If the negative flag is set, THEN jump to a different part of the program (change the program counter to the labelled address), otherwise do nothing.
Affected by flags: only executed if negative flag is set
Affects flags: none (but changes program counter)
Instruction "jipos"
Machine code: 24
Full description: If neither the zero or negative flags are set, THEN jump to a different part of the program (change the program counter to the labelled address), otherwise do nothing.
Affected by flags: only executed if neither zero flag or negative flag is set
Affects flags: none (but changes program counter)
Instruction "jizero"
Machine code: 25
Full description: If the zero flag is set, THEN jump to a different part of the program (change the program counter to the labelled address), otherwise do nothing.
Affected by flags: only executed if zero flag is set
Affects flags: none (but changes program counter)
Instruction "jicarry"
Machine code: 26
Full description: If the carry flag is set, THEN jump to a different part of the program (change the program counter to the labelled address), otherwise do nothing.
Affected by flags: only executed if carry flag is set
Affects flags: none (but changes program counter)
| Constructor and Description |
|---|
Instruction(java.lang.String name,
java.lang.String description,
int mnemonic)
Parametric Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Gets an instruction's tool-tip description
|
int |
getMnemonic()
Gets an instruction's machine mnemonic code
|
java.lang.String |
getName()
Gets instruction name
|
public Instruction(java.lang.String name, java.lang.String description, int mnemonic)
name
- description
- mnemonic
- public java.lang.String getName()
public java.lang.String getDescription()
public int getMnemonic()