Throw Class¶
In Craps, a throw of the dice may change the state of the game. This
close relationship between the Throw
class and CrapsGame
class
leads us to design the Throw
class
in detail, along with a rough stub for the CrapsGame
class.
We’ll try to keep the Throw
class as a parallel with
the Bin
class in Roulette.
We’ll look at the nature of a Throw
in Throw Analysis.
This will lead us to look – again – at The Wrap vs. Extend Question. This is an important question related to how we’ll use a collection class.
In Throw Design we’ll look at the top-level superclass. There are a number of subclasses:
Once we have the throw defined, we can examine the outline of the game in Craps Game Design. This will show how game and throw collaborate. In Throw Deliverables we’ll enumerate the deliverables for this chapter.
Throw Analysis¶
The pair of dice can throw a total of 36 unique combinations. These are summarized into fifteen distinct outcomes: the eleven numbers from 2 to 12, plus the four hardways variations for 4, 6, 8 and 10.
In Roulette, the randomized positions on the wheel were called Bin
instances
and each one had a collection of winning Outcome
instances.
The Outcome
objects were matched against the Bet
objects
created by the player.
In Craps, however, the throws of the dice serve three distinct purposes:
They resolve any of the one-roll proposition bets.
They may also resolve any hardways bets.
They may also change the game state. This may also resolve the game bets.
We’ll look at each of these responsibilities individually.
One-Throw Propositions. Each Throw
object can include a
collection of proposition Outcome
instances. These are immediate
winners. This collection will be some combination of 2, 3, 7, 11, 12,
Field, Any Craps, or Horn. For completeness, we note that each throw
could also contain one of the 21 hop-bet Outcome
instances;
however, we’ll ignore the hop bets.
Multi-Throw Propositions. A Throw
object may resolve
hardways bets (as well as place bets and buy bets). There are three
possible conditions for a given throw:
Some hardways bets may be winners because the number was two equal dice.
Some bets may be losers because the number was two non-equal dice or a seven.
Some bets may remain unresolved because the dice were neither the target number, nor a seven.
This tells us that a Throw
object may be more than a simple collection of winning
Outcome
instances.
It seems sensible for a Throw
object must also contain a list of losing
Outcome
instances. For example, any of the two easy 8 rolls (6-2 or
5-3) would contain winning Outcome
instances for the place-8 bet
and buy-8 bet, as well as a losing Outcome
instances for a hardways-8
bet. The hard 8 roll (4-4), however, would contain winning Outcome
instances
for the place-8 bet, buy-8 bet, and hardways-8 bet
Game State Change. Most importantly, a Throw
object
can lead to a state change of the game. If the game ends, this will resolve
game-level bets. From the Craps Game Overview, we see that
the state changes depend on both the CrapsGame
object’s state.
The rules identify the following species of Throw
instance:
Craps. These are throws of 2, 3 or 12. In the come-out roll state, this is an immediate loss. In any other state, this is ignored. There are 4 of these throws.
Natural. This is a throw of 7. In the come-out roll state, this is an immediate win. In any other state, this is an immediate loss and a change of state back to the start of a game. There are 6 of these throws.
Eleven. This is a throw of 11. In the come-out roll state, this is an immediate win. In any other state, this is ignored. There are 2 of these throws.
Point. This is a throw of 4, 5, 6, 8, 9, or 10. In the come-out roll state, this establishes the point, and changes the game state. In any other state, this is is compared against the established point: if it matches, this is a win and a change of game state. Otherwise, no game state change occurs. There are a total of 24 of these throws.
The state change can be implemented by defining methods in CrapsGame
class
that match the varieties of Throw
. We can imagine that the
design for the CrapsGame
class will have four methods: craps()
,
natural()
, eleven()
, and point()
.
Each kind of Throw
subclass will call the matching method of
the CrapsGame
class, leading to possible state changes, and possible game bet resolution.
The game state changes lead us to design a hierarchy of Throw
subclasses. We can then initialize a Dice
object with 36 Throw
objects, each of the appropriate subclass. When all of the subclasses
have an identical interface, this embodies the principle of
polymorphism. For additional information, see On Polymorphism.
In looking around, we have a potential naming problem: both a wheel’s Bin
and the dice’s Throw
are somehow instances of a common
abstraction. Looking forward, we may wind up wrestling with a deck of
cards trying to invent a common nomenclature for all of these
randomizers. All three create random events, and this leads us to a possible
superclass for the Bin
class and Throw
class: a RandomEvent
class.
Currently, we can’t identify any features that we can refactor up into the superclass. Rather than over-engineer this, we’ll hold off on complicating the design until we find something else that is common between our sources of random events.
The Wrap vs. Extend Question¶
Note that an instance of the Throw
class is effectively a container for
a set of Outcome
instances. We have the standard
Wrap vs. Extend question that we need to answer here.
Wrap. Each
Throw
class can have an internal frozenset ofOutcome
objects.Extend. We base the
Throw
class on thefrozenset
class directly and add methods to add features.
We have a fairly large number of methods that are introduced in this design.
When we look back at Roulette, a Bin
object had no impact on the state
of the game. In Craps, though, there’s a need for each Throw
object
to update the current state of the game.
Both options seem sensible.
Lacking further information, we’ll focus on using a Wraps approach,
and define the Throw
class
so it has a frozenset
object as an attribute.
Throw Design¶
-
class
Throw
¶ The
Throw
class is the superclass for the various throws of the dice. Each subclass is a different grouping of the numbers, based on the rules for Craps.
Fields¶
-
Throw.
outcomes
¶ A
Set
of one-rollOutcomes
that win with this throw.We’ll include the two numbers showing on the dice because it makes it easy to produce helpful debugging output. In the long run, the numbers don’t really matter as much as the state changes.
-
Throw.
d1
One of the two die values, from 1 to 6.
-
Throw.
d2
The other of the two die values, from 1 to 6.
Constructors¶
-
Throw.
__init__
(self, d1: int, d2: int, *outcomes: Outcome) → None Creates this throw, and associates the given
Set
ofOutcome
instances that are winning propositions.- Parameters
d1 – The value of one die
d2 – The value of the other die
outcomes – The various
Outcome
objects for this throw. These are bets immediately resolved as winners.
Methods¶
-
Throw.
hard
(self) → bool Returns
True
ifd1
is equal tod2
. This helps determine if hardways bets have been won or lost.
-
Throw.
updateGame
(self, game: CrapsGame) → None -
This method calls one of the
CrapsGame
state change methods:craps()
,natural()
,eleven()
,point()
. This may change the game state and resolve bets.
-
Throw.
__str__
(self) → str An easy-to-read string output method is also very handy. A form that looks like
1,2
works nicely.
Natural Throw Design¶
Constructors¶
-
NaturalThrow.
__init__
(self, d1: int, d2: int) → None¶ - Parameters
d1 – The value of one die
d2 – The value of the other die
Creates this
Throw
instance. The constraint is that . If the constraint is not satisfied, raise an exception.This uses the superclass constructor to add appropriate
Outcome
instances for a throw of 7.
Craps Throw Design¶
Constructors¶
-
CrapsThrow.
__init__
(self, d1: int, d2: int) → None¶ - Parameters
d1 – The value of one die
d2 – The value of the other die
Creates this
Throw
instance. The constraint is that . If the constraint is not satisfied, raise an exception.This uses the superclass constructor to add appropriate
Outcome
instances for a throw of craps.
Eleven Throw Design¶
-
class
ElevenThrow
¶ ElevenThrow
is a subclass ofThrow
for the number, 11. This is special because 11 has one effect on a come-out roll and a different effect on point rolls.
Constructors¶
-
ElevenThrow.
__init__
(self, d1: int, d2: int) → None¶ - Parameters
d1 – The value of one die
d2 – The value of the other die
Creates this
Throw
instance. The constraint is that . If the constraint is not satisfied, raise an exception.This uses the superclass constructor to add appropriate
Outcome
instances for a throw of 11.
Point Throw Design¶
-
class
PointThrow
¶ PointThrow
is a subclass ofThrow
for the point numbers 4, 5, 6, 8, 9 or 10.
Constructors¶
-
PointThrow.
__init__
(self, d1: int, d2: int) → None¶ - Parameters
d1 – The value of one die
d2 – The value of the other die
Creates this
Throw
instance. The constraint is that . If the constraint is not satisfied, raise an exception.This uses the superclass constructor to add appropriate
Outcome
instances for a throw of craps.
Craps Game Design¶
This is a stub class definition for CrapsGame
.
This initial design contains the interface used by the Throw
class hierarchy to implement game state changes. In a later section,
we’ll provide a more complete definition.
Fields¶
-
GrapsGame.
point
The current point. This will be replaced by a proper State design pattern.
Constructors¶
-
CrapsGame.
__init__
(self) → None Creates this game. A later version will use a constructor to include the
Dice
instance and theCrapsTable
instance.
Methods¶
-
CrapsGame.
craps
(self) → None¶ Resolves all current 1-roll bets.

The state doesn’t change.
A future version will delegate responsibility to the
craps()
method of a current state object.
-
CrapsGame.
natural
(self) → None¶ Resolves all current 1-roll bets.

A future version will delegate responsibility to the
natural()
method of a current state object.
-
CrapsGame.
eleven
(self) → None¶ Resolves all current 1-roll bets.

A future version will delegate responsibility to the
eleven()
method of a current state object.
-
CrapsGame.
point
(self, point: int) → None¶ - Parameters
point (integer) – The point value to set.
Resolves all current 1-roll bets.
If the point was
None
, this is a come out roll, and the value of the dice establishes the point.If the point was non-
None
and this throw matches the point the game is over: Pass Line bets and associated odds bets are winners; Don’t Pass bets and associated odds bets are losers; the point is reset to zero.Finally, if the point is non-
None
and this throw does not match the point, the state doesn’t change. Come point and Don’t come point bets may be resolved. Additionally, hardways bets may be resolved.A future version will delegate responsibility to the current state’s
point()
method to advance the game state.
-
Throw.
__str__
(self) → str An easy-to-read string output method is also very handy. The stub version of this class has no internal state object. This class can simply return a string representation of the point; and the string
"Point Off"
whenpoint
isNone
.
Throw Deliverables¶
There are eleven deliverables for this exercise.
A stub class for
CrapsGame
with the various methods invoked by the throws. The design information includes details on bet resolution that doesn’t need to be fully implemented at the present time. For this stub class, the change to thepoint
variable is required for unit testing. The other information should be captured as comments and output statements that help confirm the correct behavior of the game.The
Throw
superclass, and the four subclasses:CrapsThrow
,NaturalThrow
,ElvenThrow
,PointThrow
.Five classes which perform unit tests on the various classes of the
Throw
class hierarchy.


{% trans "About us" %}
{% trans "This Project" %}
{% trans "CareForYou aims to solve the problem faced by some First Generation Australians whose parent parents are working and whose native language is not English while growing up in Australia is that they find it difficult to understand and speak English as a second language early on in their lives, specially at school and day care." %}
{% trans "According to the Australian Bureau of Statistics from the 2011 census it is been said that almost 67% of the recent arrivals to Australia spoke a language other than English at home. Further, only 43% of the recent arrivals reported that they spoke English well." %}
{% trans "Our Team" %}
{% trans "Santosh Reddy"%}
{% trans "Master of Data Science" %}
{% trans "Actively building my career in the field of Data Science, skilled in collecting, wrangling, analyzing and interpreting large datasets, developing new models." %}
{% trans "Abhinav Kapoor" %}
{% trans "Master of Business Information Systems" %}
{% trans "I am a Business Analyst from India who aspires to work in the Data Analytics domain to find and solve inefficient business processes." %}
{% trans "Zhenyu Liu" %}
{% trans "Master of Data Science" %}
{% trans "Always being active and like to try new things and enjoy the journey of learning new stuff." %}
{% trans "Haoqi Xu" %}
{% trans "Master of Information Technology" %}
{% trans "I am enjoy to learn new skills and use my existing skills to implement projects with my team members." %}


Twitch Emotes
BTTV Emotes
FrankerFaceZ Emotes
Use the BZC 'Launch Meeting' button rather to open the web client.
If emotes do not appear, open the extension pannel.


When <!DOCTYPE> Strict is set, IE expects the :hover selector to always be anchored with the
tag.
Rule ID: non-link-hover
This rule checks that the :hover selector is always anchored with the
element otherwise its throws an error, Having un-anchored :hovers can have serve performance degradation in IE7. IE8 is also effected by this issue but to a lesser degree.
The following patterns will cause an error:
/* :hover is not anchored with an a tag*/
.test :hover{
top: 10px;
}
.test .event-link:hover {
top: 10px;
}
The following pattern is considered okay and does not cause an error:
/* :hover is anchored with an a tag*/
.test a:hover{
top: 10px;
}
.test a.event-link:hover {
top: 10px;
}
(bug report about un-anchored hovers in IE7 and IE8)
https://developers.google.com/speed/docs/best-practices/rendering
http://msdn.microsoft.com/en-us/library/ie/cc848866%28v=vs.85%29.aspx


Larissa Manlosa
Home
About
Coursework
Artifacts
Module Assignments
Contact Me
Own Creative Page
Please use the below form to Contact Me
Your Information
First & Last Name (Max 20 characters)
Email Address
Your Message:


C
R
I
M
E
D
E
T
E
C
T
home
Evidence
Evidence count
Log Out
POLICE / FOREST / INCOME TAX / NARCOTICS
CRIMEDETECT
EVIDENCE
COUNT
CHECK MEDIA
IMAGE
VIDEO
COUNT
Number of image uploads
POLICE
INCOME TAX
FOREST
NARCOTICS
Number of video uploads
POLICE
INCOME TAX
FOREST
NARCOTICS


Jeff Bezos is an American internet entrepreneur, industrialist, media proprietor, and investor. He is best known as the founder, CEO, and president of the multinational technology company Amazon. He is the world's richest man. Read More......
SPEND LIKE JEFF


Welcome! These are homework exercises to accompany the Intro to HTML Curriculum
Homework: Class 2
For this week's homework assignment, use your newly aquired skills to create a special fan page for your favorite superhero or celebrity. Start by creating an HTML file called homework.html
Here is what I would like to see at minimum on each lovely page:
- A heading declaring your favorite superhero or celebrity.
- A couple paragraphs describing your favorite creature. Remember to use emphasis on key words!
- A list of your favorite things about this superhero or celebrity.
- An image of said creature. The image should link back to the source (where you found it). This link should be clickable, but the image doesn't need to be clickable.
- A footer at the bottom of the page declaring your copyright on such a wonderful write-up, and make sure you use the copyright symbol!
- Your page should validate in this at this link: W3 Validator.
You can always check the Class 2 slides for help.
Homework: Class 3
For this week's homework assignment, we will style our homework.html file
Here is what I would like to see at minimum on each lovely page:
- Create a style sheet and link to it from your HTML
- I like borders on images, add borders to all images you have. (Hint: border properties look like this 'border: 1px solid black;'.) Experiment!
-
Your Headings should be in Georgia font.
Extra Credit! Update your headings with a Google font: https://www.google.com/fonts
Lost? Try Googling how to do this :) - Your paragraphs should be in Helvetica.
- Footers are probably meant to be centered.
-
Extra points for finding a nice background image.
Hint: you're going to want to use the url() function to set up a background. If your text becomes hard to read, extra EXTRA points for setting a background color on your text-based elements. - Center those images using CSS!
- Try to make your borders have rounded corners. Google a bit. CSS3!
- Your page should still validate in this at this link: W3 Validator.
You can always check the Class 3 slides for help.
Homework: Class 4
For this week's homework, we are going to use JavaScript!
Here are this week's homework activities:
The Fortune Teller
Why pay a fortune teller when you can just program your fortune yourself?
- Store the following into variables: number of children, partner's name, geographic location, job title.
- Output your fortune to the screen like so: "You will be a X in Y, and married to Z with N kids."
The Calculator
- Write a function called squareNumber that will take one argument (a number), square that number, and return the result. It should also log a string like "The result of squaring the number 3 is 9."
- Write a function called halfNumber that will take one argument (a number), divide it by 2, and return the result. It should also log a string like "Half of 5 is 2.5.".
- Write a function called percentOf that will take two numbers, figure out what percent the first number represents of the second number, and return the result. It should also log a string like "2 is 50% of 4."
-
Write a function called areaOfCircle that will take one argument (the radius), calculate the area based on that, and return the result. It should also log a string like "The area for a circle with radius 2 is 12.566370614359172."
- Bonus: round the result so there are only two digits after the decimal.
-
Write a function that will take one argument (a number) and perform the following operations, using the functions you wrote earlier:
- Take half of the number and store the result.
- Square the result of #1 and store that result.
- Calculate the area of a circle with the result of #2 as the radius.
- Calculate what percentage that area is of the squared result (#3).
You can always check the Class 4 slides for help.
Homework: Class 5
For this week's homework, we are going to use advanced CSS to style our homework.html.
Here are this week's homework activities:
- Create several divs of various widths, heights, and colors. Use margin to push them around the page.
- Make some of the <div>'s into links (anchors). Then, make the background color of the div change on mouse over.
- Try to position some of the <div>'s relative-ly in a vertical line down the middle of the page.
- Create a class that you can use with <span> tags to make certain text twice the default size.
- Extra credit: Use images as links and change them on mouseover. This one is challenging BUT VERY FUN! Try searching fro "Turn links into images CSS".
You can always check the Class 5 slides for help.


Functions for rent
Run a single function in response to an event.
exports.handler = (event, context, callback) => {
callback(null, 'The time is ' + new Date());
};
Pay per use, first million free.
AWS Integration
| Amazon S3 |
Amazon DynamoDB |
Amazon Kinesis Streams |
| Amazon Simple Notification Service |
Amazon Simple Email Service |
Amazon Cognito |
| AWS CloudFormation |
Amazon CloudWatch Logs |
Amazon CloudWatch Events |
| AWS CodeCommit |
Scheduled Events |
AWS Config |
| Amazon Alexa |
Amazon Lex |
Amazon API Gateway |
| AWS IoT Button |
Amazon CloudFront |
Amazon Kinesis Firehose |
Supported Languages
- Javascript (with Node.js)
- Python
- Java
- C# (.NET Core)
Lambda let's you bundle assets and fork procresses so you can run anything really.
Limitations
- 300s max execution time
- RAM 1536MB
- Ephemeral disk 512MB
Creating a lambda function
API Gateway
What about dependencies?
Bundle assets and dependencies in .zip file.
Framework for managing lambda that takes care of the boilerplate and supports more languages.
apex deploy
apex logs
apex invoke
/function_name/index.js
const doc = require('dynamodb-doc')
const dynamo = new doc.DynamoDB()
exports.handle = function (event, context, callback) {
dynamo.putItem({
'TableName': 'votes',
'Item': {
'ip_addr': event.ipAddress,
'vote': event.vote
}
}, function (err, data) {
if (err) {
callback(null, { error: `error recording vote: ${err}` })
} else {
dynamo.scan({
'TableName': 'votes'
}, function (err, data) {
if (err) {
callback(null, { error: `error retrieving votes: ${err}` })
} else {
let votes = {}
data.Items.forEach(d => { votes[d.vote] ? votes[d.vote] = votes[d.vote] + 1 : votes[d.vote] = 1 })
callback(null, { results: votes })
}
})
}
})
}
Event, Context, Callback
- Event - request (or trigger) data
-
Context - metadata about the lambda process
e.g. remaining execution time, memory limits, Cognito ID
-
Callback - how you respond
Takes two parameters, the first modifies the reponse the second is the data payload.


Portcast iFrame Multicast Example
In this example, there are four iFrames (A-D).
- Messages from root page are multicast to all iframes.
- Messages from Frame A get sent to Frame B.
- Messages from Frame B get sent to Frame A and C.
- Messages from Frame C get sent to A, B, and D.
- Messages from Frame D get sent to A.


JoyToy Reference Manual
How to use
Syntax
Class
built-in Functions
If you do, please provide aid and development funds. If you can help, click the button below payments from PayPal.


COPPER FOR MEDIUM SIZED BUSINESSES
When it comes to growing and scaling efficiently, Copper is the leading relationship management tool.
SALES WORKFLOW AUTOMATION
Need to streamline your processes? Copper automates tasks and sales workflows, and even prompts you to follow up on next steps in your relationship cycle to help every seller move deals forward faster.
Start AutomatingSEAMLESS G SUITE INTEGRATION
Why should you have to leave your inbox to do your best work? After all, that’s where your relationships live. Copper seamlessly integrates with the G Suite apps you already use so you can track leads, win deals, and manage relationships—right from your inbox.
Learn MoreSALES WORKFLOW AUTOMATION
For growing teams, customer conversations and files are often tracked in different places. Copper automatically captures email history, meetings, notes, docs, and calls for every customer so you’ll get a real-time view of every single interaction.
Work TogetherREPORTING AND ANALYTICS
Copper’s out-of-the-box reporting and visual dashboards show you where your best leads are coming from, how sales are trending for the month, and which activities are leading to closed deals. You can even monitor performance and motivate your sellers by setting goals for individuals and teams across the business.
Learn MoreSuccess Story
We can push out 10x the amount of work because of the automation in Copper.Beverly Robinson
By The Numbers
hours per user per week saved on manual data entry
more accurate reporting
increase in team collaboration when closing deals
faster response time to prospects and clients
Resources
goodbye data entry


AULAST:
Section: System Administration Utilities (8)Updated: Nov 2008
Index Return to Main Contents
NAME
aulast - a program similar to lastSYNOPSIS
aulast [ options ] [ user ] [ tty ]DESCRIPTION
aulast is a program that prints out a listing of the last logged in users similarly to the program last and lastb. Aulast searches back through the audit logs or the given audit log file and displays a list of all users logged in (and out) based on the range of time in the audit logs. Names of users and tty’s can be given, in which case aulast will show only those entries matching the arguments. Names of ttys can be abbreviated, thus aulast 0 is the same as last tty0.The pseudo user reboot logs in each time the system is rebooted. Thus last reboot will show a log of all reboots since the log file was created.
The main difference that a user will notice is that aulast print events from oldest to newest, while last prints records from newest to oldest. Also, the audit system is not notified each time a tty or pty is allocated, so you may not see quite as many records indicating users and their tty's.
OPTIONS
- --bad
-
Report on the bad logins.
- --extract
-
Write raw audit records used to create the displayed report into a file aulast.log in the current working directory.
- -ffile
-
Use the file instead of the audit logs for input.
- --proof
-
Print out the audit event serial numbers used to determine the preceding line of the report. A Serial number of 0 is a place holder and not an actual event serial number. The serial numbers can be used to examine the actual audit records in more detail. Also an ausearch query is printed that will let you find the audit records associated with that session.
- --stdin
-
Take audit records from stdin.
EXAMPLES
To see this month's logins ausearch --start this-month --raw | aulast --stdin
SEE ALSO
last(1), lastb(1), ausearch(8), aureport(8).AUTHOR
Steve Grubb
Index
This document was created by man2html, using the manual pages.
Time: 05:34:24 GMT, December 24, 2015


If you love Telegram but don't want to leave Discord then you'll be pleased to find we've built a bridge in this channel. If you'd like to join the group in the Telegram app you can find it here: https://t.me/KomodoPlatform_Official.
100 messages
Before 05-Dec-19 12:00 AM
GatewayBOT13-Nov-19 09:29 PM
[telegram] <EPIDEMIC_media> Its more than just Binance? Also there is a obscene amount of wash trading going on Bilaxy ever since KMD launched on their too (re @Andi: People cant transfer kmd too exchanges..less resistance)
[telegram] <jeffja> It is manipulation due to closed deposits/withdrawals across the board.
[telegram] <jeffja> Nothing goes up twofold on thin air
GatewayBOT13-Nov-19 09:46 PM
[telegram] <EPIDEMIC_media> But.. but.. but... the marketing and the quantom computing protection! (re @jeffja: Nothing goes up twofold on thin air)
[telegram] <Andi> Who knows lets hope the value wont retrace too much :)
[telegram] <EPIDEMIC_media> I wouldnt bank on that. Last time Binance ran a scheme it was during the month long KMD airdrop. By the time the coins were issued they were worth half the value from when the giveaway started(edited)
5 Stablecoins Added to AtomicDEX
Komodo team announces the addition of five stablecoins to their AtomicDEX exchange
@KomodoPlatform @AtomicDex $KMD
@DailyChainNews
https://t.co/Po5Q51L1Ik
$TUSD is now supported on @KomodoPlatform's #AtomicDEX.
More integrations coming soon!
https://t.co/U6i5IYxOE8
Are you interested in listing your project? Reach out to us today at<EMAIL_ADDRESS>@TrustToken @theanchor_io @synthetix_io @Gemini @EOSDT https:/...
GatewayBOT13-Nov-19 10:50 PM
[telegram] <icantgiveyou> Any particular reason why kmd is up lately? Or just regular fluctuation
GatewayBOT13-Nov-19 10:58 PM
[telegram] <Buralux> may be simply that people are better educated on the blockchain and start to differentiate between bad projects and good projects with finished and palpable products such as Komodo (re @icantgiveyou: Any particular reason why kmd is up lately? Or just regular fluctuation)
[telegram] <polycryptoblog> Abra integration, Chuangshi investment announcement , Travala integration, Discussion with RVN about integrating assets, several events in Finland USA and Netherlands . Also exchanges being on hold for pending upgrade aids in the rise but unfortunately can’t deposit to capitalize on it.
[telegram] <polycryptoblog> Some smaller exchanges are still open I think , but idk I’m not really a trader
[telegram] <icantgiveyou> This I don’t believe, people will never get smarter (re @Buralux: may be simply that people are better educated on the blockchain and start to differentiate between bad projects and good projects with finished and palpable products such as Komodo)
GatewayBOT13-Nov-19 11:26 PM
[telegram] <coinstreetmesut> .
GatewayBOT14-Nov-19 01:06 AM
[telegram] <iqly_almond> When update wallet? This week? (re @polycryptoblog: Abra integration, Chuangshi investment announcement , Travala integration, Discussion with RVN about integrating assets, several events in Finland USA and Netherlands . Also exchanges being on hold for pending upgrade aids in the rise but unfortunately can’t deposit to capitalize on it.)
[telegram] <Caleb> I have a question regarding active user rewards... I have 979 KMD in my wallet. Lock time was 19 hours ago. I have only earned .1 KMD. From my estimation I should be making 49 KMD a month. Which means I should have roughly 16 times what I have by now. Is there an explanation? Do rewards accelerate as time goes on?
GatewayBOT14-Nov-19 01:18 AM
[telegram] <EPIDEMIC_media> Qtum just got the greenlight for Binance.US, another chinese project beats Komodo. No excuse why this cant get done
GatewayBOT14-Nov-19 01:57 AM
[telegram] <Kenny_Kobayashi> Greed (re @EPIDEMIC_media: Qtum just got the greenlight for Binance.US, another chinese project beats Komodo. No excuse why this cant get done)
[telegram] <Kenny_Kobayashi> Wat (re @Caleb: I have a question regarding active user rewards... I have 979 KMD in my wallet. Lock time was 19 hours ago. I have only earned .1 KMD. From my estimation I should be making 49 KMD a month. Which means I should have roughly 16 times what I have by now. Is there an explanation? Do rewards accelerate as time goes on?)
[telegram] <Kenny_Kobayashi> You mean 49 per year
[telegram] <Regnar> 49 KMD per year. It's 5.1% a year (re @Caleb: I have a question regarding active user rewards... I have 979 KMD in my wallet. Lock time was 19 hours ago. I have only earned .1 KMD. From my estimation I should be making 49 KMD a month. Which means I should have roughly 16 times what I have by now. Is there an explanation? Do rewards accelerate as time goes on?)
GatewayBOT14-Nov-19 02:31 AM
[telegram] <Regnar> That's actually pretty correct. (re @Caleb: I have a question regarding active user rewards... I have 979 KMD in my wallet. Lock time was 19 hours ago. I have only earned .1 KMD. From my estimation I should be making 49 KMD a month. Which means I should have roughly 16 times what I have by now. Is there an explanation? Do rewards accelerate as time goes on?)
GatewayBOT14-Nov-19 02:41 AM
[telegram] <Caleb> Oooooh I was very confused. When I read the article I thought it said rewards accrue every month. This make more sense. I thought that was too good to be true. (re @Regnar: That's actually pretty correct.)
GatewayBOT14-Nov-19 02:58 AM
[telegram] <Regnar> Haha yea you have to claim them monthly but the 5.1% is yearly. Otherwise inflation would be insane haha (re @Caleb: Oooooh I was very confused. When I read the article I thought it said rewards accrue every month. This make more sense. I thought that was too good to be true.)
GatewayBOT14-Nov-19 04:57 AM
[telegram] <Caleb> Haha yeah I thought it was crazy. Makes much more sense. (re @Regnar: Haha yea you have to claim them monthly but the 5.1% is yearly. Otherwise inflation would be insane haha)
GatewayBOT14-Nov-19 06:38 AM
[telegram] <Sgjreuy> Forwarded from Sgjreuy: Good day
Three reasons why you should start developing on Komodo's Antara Framework:
1. It's Sovereign
- Each independent chain has its own consensus rules, hashing algorithm, decentralized network, and coin.
[telegram] <Ecool> Hello everyone
[telegram] <Ecool> Hello everyone
[telegram] <Tems> Forwarded from Tems: Can I invest here
GatewayBOT14-Nov-19 07:35 AM
[telegram] <Zeehenk> Exchange
GatewayBOT14-Nov-19 10:07 AM
[telegram] <a274689099>
GatewayBOT14-Nov-19 10:31 AM
[telegram] <cccfchhh> Guys, good evening.
GatewayBOT14-Nov-19 10:52 AM
[telegram] <Valery> Hi, China !  Is that your GF? (re @Suzy: The kind your mom would make cookies for)
[telegram] <Suzy> It's a girl from ned's declassified (re @aaaaaaaaaaaaaaxrp589: The girl on your Foto is very sexy.. Is that your GF?)
GatewayBOT14-Nov-19 02:44 PM
[telegram] <Yagax> Who cares if true? (re @Suzy: JL777 is a girl)
GatewayBOT14-Nov-19 03:57 PM
[telegram] <Lordloverocket> Does binance still support KMD staking? I've been working at sea for months and not sure if I've had any extra kmd since I left.
[telegram] <Steven S.> Hallo guys. How can I do staking with KMD? Need I keep some tokens in my wallet?
@Steven S.
you can hold KMD coins in any of the recommended wallets https://komodoplatform.com/komodo-wallets/
and either click the "claim rewards" button month or send all coins to yourself once a month(edited)
A wide variety of wallets can be used to securely store KMD assets, including desktop, mobile, hardware, and paper. Check out all the Komodo wallets here.
GatewayBOT14-Nov-19 04:07 PM
[telegram] <Lordloverocket> Brilliant thanks, just checked and yeah I have been receiving them (and a JEX airdrop whatever the hell that is!). Thanks again (re @Matterbridge_kmdbot: [discord] <gcharang> @Lordloverocket
login to binance and go to https://www.binance.com/en/usercenter/wallet/distribution-history
you should see if you have received any KMD rewards)
[telegram] <Debodebeli> Hi
Where can i change kmd for dex?
[telegram] <Debodebeli> Ohhh. Sorry, i know on dex, i mean some other exchange or only on atomic dex?
[telegram] <Mixic> Blockchain Fundamentals with KomodoPlatform
In this article, we’ll explore the mechanics of margin trading, discuss a few important risk management tools, and cover some of the most popular platforms for trading digital assets on margin.
Read more here.
https://komodoplatform.com/margin-trading/
Margin trading is increasing a specific investment with additional funds borrowed from an exchange or brokerage. Learn more about margin trading here.
[telegram] <Lennart> not at the moment afaik.. used to be on coinexchange.io but that does not exist anymore (?) (re @Debodebeli: Ohhh. Sorry, i know on dex, i mean some other exchange or only on atomic dex?)
[telegram] <Lennart> always possible to ask for otc deals in discord
[telegram] <Acura360> Do you searching the Dex Asset from AtomicDex? (re @Debodebeli: Ohhh. Sorry, i know on dex, i mean some other exchange or only on atomic dex?)
[telegram] <Debodebeli> Yes
[telegram] <Acura360> You can make OTC Deals in our Discord or buy it directly in AtomicDex App (re @Debodebeli: Yes)
[telegram] <Debodebeli> (re @Acura360: You can make OTC Deals in our Discord or buy it directly in AtomicDex App)
[telegram] <Buralux> I was not aware that pirate was listed on citex
That’s really good
GatewayBOT14-Nov-19 04:45 PM
[telegram] <cccfchhh> Is there any good news?
[telegram] <Craig> Is there an article explaining how the DEX token works, specifically how are rewards distributed?

Also, can anyone share a screenshot of the BTCDEX or KMDDEX orderbook to give an idea of the current rate?
[telegram] <Yagax> Sure, lots of news in: @KomodoPlatformNews (re @cccfchhh: Is there any good news?)
[telegram] <Acura360> Dex
DEX receives 50% of all dex fees which are using AtomicDEX API. The current holdings of all dex fees can be seen by visiting
This shows all the dex fees collected for every coin. Before payout, these will be traded for KMD and then distributed according to the revenue sharing model. This is the distribution of the dex fees:
50% – DEX
15% – JUMBLR
15% – BOTS
5% – REVS
5% – MGW
10% – Claimed by the GUI developer (re @Craig: Is there an article explaining how the DEX token works, specifically how are rewards distributed?

Also, can anyone share a screenshot of the BTCDEX or KMDDEX orderbook to give an idea of the current rate?)(edited)
[telegram] <Acura360> Price is around 20 -35KMD actually - thin orderbook.
I can also offer Dex Asset if you are interested in large amounts.
[telegram] <Craig> Cheers Acura, I shouldn't need too many.
Once fees are covered to kmd, how are they delivered.to DEX holders? Does a DEX holders need to actively claim? Is system active or hypothetical atm?
Is DEX a bit like an erc20 token, so that if you know my KMD address you also know the DEX address?
[telegram] <Acura360> @everyone
Blockchain Fundamentals with KomodoPlatform
In this article, we’ll explore the mechanics of margin trading, discuss a few important risk management tools, and cover some of the most popular platforms for trading digital assets on margin.
Read more here.
https://komodoplatform.com/margin-trading/
Margin trading is increasing a specific investment with additional funds borrowed from an exchange or brokerage. Learn more about margin trading here.
GatewayBOT14-Nov-19 05:31 PM
[telegram] <Debodebeli> What is max supply of dex asset? (re @Acura360: Price is around 20 -35KMD actually - thin orderbook.
I can also offer Dex Asset if you are interested in large amounts.)
[telegram] <Ibnadams> Hi admin, pls I need assistance on how to do KMD mining
[telegram] <Acura360> Ca 1 Million (re @Debodebeli: What is max supply of dex asset?)
https://dexstats.info/assetinfo.php Assets from issuer Jl777 BOTS Total Coin Supply: 1,000,000 Currently, the BOTS asset chain derives its value from the fact that it collects 15% of all dex fees on BarterDEX. This feature is simply a part of the original concept of the BOTS ...
[telegram] <Acura360> We are happy to announce that KMD has been added to Atomic Wallet!
Atomic Wallet is a non-custodial decentralized wallet with a built-in Atomic Swap DEX that supports over 500+ digital assets.
https://atomicwallet.io/komodo-wallet
Read about Komodo blockchain and manage Komodo + other 300 coins and tokens in Atomic Wallet interface.
GatewayBOT14-Nov-19 09:46 PM
[telegram] <nourneme> where can I trade for DEX? (re @Acura360: Ca 1 Million)
[telegram] <nourneme> I dont see it on atomic dex
[telegram] <Acura360> Price is around 20 -35KMD actually - thin orderbook. You can Buy on AtomicDex, or via OTC Deal in our Komodo Discord.
I can also offer Dex Asset if you are interested in large amounts. (re @nourneme: where can I trade for DEX?)
[telegram] <Acura360> Which Beta Version do you have ? (re @nourneme: I dont see it on atomic dex)
[telegram] <nourneme> 0.2.5
[telegram] <Acura360> good, click on the + Symbol and add DEX (re @nourneme: 0.2.5)
[telegram] <nourneme> strange, its not there. nothing when i search DEX either
[telegram] <Acura360> Maybe its already activated in your wallet ? (re @nourneme: strange, its not there. nothing when i search DEX either)
[telegram] <t_dan> DEX only came in version 0.2.6 as far as I recall it. Edit: Yes, found it in an email.(edited)
[telegram] <nourneme> i have only ZILLA, KMD, BTC and Rick/Morty active
[telegram] <nourneme> ok, I'll upgrade. thnak all
[telegram] <Acura360> Ah, right, my mistake.
GatewayBOT14-Nov-19 10:34 PM
[telegram] <romainhabib> hello can you clarify that point for me. Magum store a seed on the computer i use? i usually acess with ledger. I mean if i loose my computer, will i be able to access my coins on magnum with my ledger and my password on another computer? (re @Regnar: If you can't or don't want to download anything you can use Magnum wallet. It is a 3rd party but they support KMD and rewards, they also have Ledger support and you can claim your rewards from ledger)
Atomic Swaps are the future of Blockchain. Which Projekt is your favorite and why ? Post below
#pantos #komodo #atomicswap #bitcoin #ethereum #cryptocurrency #xrp #Binance #bnb #VeChain
GatewayBOT14-Nov-19 11:30 PM
[telegram] <Vollka_Racho> if you use the ledger, your coins will not leave the ledger. So you can also access to another PC the magnum wallet via ledger. then have to import only there again (re @romainhabib: hello can you clarify that point for me. Magum store a seed on the computer i use? i usually acess with ledger. I mean if i loose my computer, will i be able to access my coins on magnum with my ledger and my password on another computer?)(edited)
actionslacks14-Nov-19 11:51 PM
you should be able to but you should check with magnum wallet.
magnum wallet is a closed source project that is not run by kmd
Block Party Amsterdam, hosted by @blocknorth_ & @syscoin was an incredible evening! Check out the highlights.
Block Party Amsterdam was proudly sponsored by @BlockFoundry, @KomodoPlatform, @qemsolutions / TrustMore & @aircardsco
#blockchain #blockchaincommunity https://t...
Watch the presentation of @KomodoPlatform by @bvanmaarseveen at the recent Block Party Amsterdam 2019, hosted by @Blocknorth_ & @Syscoin! Full video in comments below!
GatewayBOT15-Nov-19 01:00 AM
[telegram] <pungoio> Happy to share that you can use Pungo Wallet to swap KMD to BTC out of the box :)


{% extends "base.html" %} {% from "timeslot/includes/booking_list.html" import booking_listing with context %} {% block page_title %}{{ profile.display_name }} | Users | {% endblock %} {% block page_id %}user_profile{% endblock %} {% block section_class %}profile{% endblock %} {% block content %}
{{ profile.bio }}
{% endif %} {% if profile.user == user %} {% endif %}{{ profile.bio }}
{% endif %} {% if need_booking_list or booked_list %}As you have green lit submissions (congrations by the way) you need to book up a time slot for a webcast. Please select a timeslot for each application you have below.
 Make sure you're ready to go for:
{% else %}You can view upcoming webcasts of their current idea and developments on their following submissions:
{% endif %} {{ booking_listing(booked_list) }} {% endif %}Application in draft
Only you can see this until you uncheck the "Save as draft?" option.
Edit your application


{% extends "_basenarrow.html" %}{% block page_title %}Reset password CMS Infotek{% endblock %} {% load staticfiles %} {% block extra_css %}{% endblock %} {% block body %} {% csrf_token %}
Your password was changed successfully.


Please send any suggestions, comments, or questions you have. It will help to make checkforbrokenlinks.com better in the future.


{% extends 'base.html' %} {% block main %} {% if system.apply_iptables %}There have been changes to the firewall, when you're ready, click here to apply them now.{% endif %}


RRPP: Linear Model Evaluation with Randomized Residuals in a
Permutation Procedure
Linear model calculations are made for many random versions of data.
Using residual randomization in a permutation procedure, sums of squares are
calculated over many permutations to generate empirical probability distributions
for evaluating model effects. This method is described by
Collyer, Sekora, & Adams (2015) <doi:10.1038/hdy.2014.75>. Additionally, coefficients, statistics, fitted values, and residuals generated over many
permutations can be used for various procedures including pairwise tests, prediction, classification, and
model comparison. This package should provide most tools one could need for the analysis of
high-dimensional data, especially in ecology and evolutionary biology, but certainly other fields, as well.
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=RRPP
to link to this page.


| Package | com.threerings.display |
| Class | public class JPGEncoder |
| Property | Defined by | ||
|---|---|---|---|
| _bytenew : int = 0 | JPGEncoder | ||
| _byteout : ByteArray Byte array to contain the jpg while encoding is in progress.
| JPGEncoder | ||
| _bytepos : int = 7 | JPGEncoder | ||
| _DCU : Number = 0 | JPGEncoder | ||
| _DCV : Number = 0 | JPGEncoder | ||
| _DCY : Number = 0 | JPGEncoder | ||
| _encodedJpeg : ByteArray Byte array to contain the resuling jpg
| JPGEncoder | ||
| _image : BitmapData The image to encode
| JPGEncoder | ||
| _pixelGranularity : int The minumum number of pixels that will be processed at a time.
| JPGEncoder | ||
| pixelsDone : Boolean = false | JPGEncoder | ||
| _xpos : int = 0 | JPGEncoder | ||
| _ypos : int = 0 | JPGEncoder |
| Method | Defined by | ||
|---|---|---|---|
|
JPGEncoder(image:BitmapData, quality:Number = 50, pixelGranularity:int = 100)
Construct a new JPGEncoder object.
| JPGEncoder | ||
|
getJpeg():ByteArray
Return a byte array containing the encoded jpeg.
| JPGEncoder | ||
|
isComplete():Boolean
Return true if the encoding is complete.
| JPGEncoder | ||
|
process(timeSlice:int):Boolean
Work on encoding the image for a specified number of milliseconds.
| JPGEncoder |
| Method | Defined by | ||
|---|---|---|---|
|
completeEncoding():void
Add the EOI marker to the end of the buffer, and make the result available to the consumer
of this class.
| JPGEncoder | ||
|
encodePixels(unitSize:int):void
Encode a specified number of pixels.
| JPGEncoder | ||
|
initializeEncoding():void
| JPGEncoder | ||
|
writeHeader():void
Write the jpeg header into the byte array for output.
| JPGEncoder |
| _bytenew | property |
protected var _bytenew:int = 0
| _byteout | property |
protected var _byteout:ByteArray
Byte array to contain the jpg while encoding is in progress.
| _bytepos | property |
protected var _bytepos:int = 7
| _DCU | property |
protected var _DCU:Number = 0
| _DCV | property |
protected var _DCV:Number = 0
| _DCY | property |
protected var _DCY:Number = 0
| _encodedJpeg | property |
protected var _encodedJpeg:ByteArray
Byte array to contain the resuling jpg
| _image | property |
protected var _image:BitmapData
The image to encode
| _pixelGranularity | property |
protected var _pixelGranularity:int
The minumum number of pixels that will be processed at a time.
| pixelsDone | property |
protected var pixelsDone:Boolean = false
| _xpos | property |
protected var _xpos:int = 0
| _ypos | property |
protected var _ypos:int = 0
| JPGEncoder | () | constructor |
public function JPGEncoder(image:BitmapData, quality:Number = 50, pixelGranularity:int = 100)
Construct a new JPGEncoder object.
Parametersimage:BitmapData — The image to encode
|
|
quality:Number (default = 50 ) — Quality level between 1 and 100 determining the level of compression.s
|
|
pixelGranularity:int (default = 100 ) — The minumum number of pixels to process at a time.
|
| completeEncoding | () | method |
protected function completeEncoding():void
Add the EOI marker to the end of the buffer, and make the result available to the consumer of this class.
| encodePixels | () | method |
protected function encodePixels(unitSize:int):void
Encode a specified number of pixels. Fewer pixels will be encoded if the end of the image is reached first.
ParametersunitSize:int |
| getJpeg | () | method |
public function getJpeg():ByteArray
Return a byte array containing the encoded jpeg.
ReturnsByteArray |
| initializeEncoding | () | method |
protected function initializeEncoding():void
| isComplete | () | method |
public function isComplete():Boolean
Return true if the encoding is complete.
ReturnsBoolean |
| process | () | method |
public function process(timeSlice:int):Boolean
Work on encoding the image for a specified number of milliseconds. Return true if there is no more processing to do.
ParameterstimeSlice:int |
Boolean |
| writeHeader | () | method |
protected function writeHeader():void
Write the jpeg header into the byte array for output.


All of the examples on this page have the window resizability set to the content size. This allows the size of the window to be defined by the chart view.
import SwiftUI
@main
struct LineChartApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
.windowResizability(.contentSize)
}
}
A basic line chart using an array of structs is demonstrated below. Notice a minimum frame width and height is used so the chart will change size with the window.
import SwiftUI
import Charts
struct Point: Identifiable {
let id = UUID()
let x: Float
let y: Float
}
let points = [
Point(x: 0, y: 1),
Point(x: 1, y: 4.5),
Point(x: 2, y: 3),
Point(x: 3, y: 6),
Point(x: 4, y: 7),
Point(x: 5, y: 5.2),
Point(x: 6, y: 9),
Point(x: 7, y: 12.5),
Point(x: 8, y: 5)
]
struct ContentView: View {
var body: some View {
Chart(points) { point in
LineMark(
x: .value("X values", point.x),
y: .value("Y values", point.y)
)
}
.chartXAxisLabel("The x-axis")
.chartYAxisLabel("The y-axis")
.padding()
.frame(minWidth: 400, minHeight: 300)
}
}
In this example, a ForEach
loop is used with an array of structs. The x and y axis labels are centered and the y axis is moved to the left side of the chart view.
import SwiftUI
import Charts
struct Point: Identifiable {
let id = UUID()
let x: Float
let y: Float
}
let points = [
Point(x: 0, y: 1),
Point(x: 1, y: 4.5),
Point(x: 2, y: 3),
Point(x: 3, y: 6),
Point(x: 4, y: 7),
Point(x: 5, y: 5.2),
Point(x: 6, y: 9),
Point(x: 7, y: 12.5),
Point(x: 8, y: 5)
]
struct ContentView: View {
var body: some View {
Chart {
ForEach(points) { point in
LineMark(
x: .value("X values", point.x),
y: .value("Y values", point.y)
)
}
}
.chartXAxisLabel("The x-axis", alignment: .center)
.chartYAxisLabel("The y-axis", position: .leading)
.chartYAxis {
AxisMarks(position: .leading)
}
.padding()
.frame(minWidth: 400, minHeight: 300)
}
}
For this example, the chart data is provided has an array of tuple values and circle symbols represent each data point on the line.
import SwiftUI
import Charts
let y = [1, 4.5, 3, 6, 7, 5.2, 9, 12.5, 5]
var data: [(Int, Double)] {
let x = Array(0..<y.count)
return Array(zip(x, y))
}
struct ContentView: View {
var body: some View {
Chart(data, id: \.0) {
LineMark(
x: .value("X values", $0),
y: .value("Y values", $1)
)
.symbol(.circle)
}
.chartXAxisLabel("The x-axis")
.chartYAxisLabel("The y-axis")
.padding()
.frame(minWidth: 400, minHeight: 300)
}
}
In this example, the chart data is just an array of values where circle symbols represent each data point on the line.
import SwiftUI
import Charts
struct ContentView: View {
let ydata = [1, 4.5, 3, 6, 7, 5.2, 9, 12.5]
var body: some View {
Chart(0..<ydata.count, id: \.self) { idx in
LineMark(
x: .value("X values", idx),
y: .value("Y values", ydata[idx])
)
.symbol(.circle)
}
.padding()
.frame(minWidth: 400, minHeight: 300)
}
}
Here is an example that uses an enumerated array for the chart data and square symbols represent each data point on the line.
import SwiftUI
import Charts
struct ContentView: View {
let numbers = [1, 4.5, 3, 6, 7, 5.2, 9, 14.5, 12]
var body: some View {
Chart(Array(numbers.enumerated()), id: \.offset) { index, value in
LineMark(
x: .value("Index", index),
y: .value("Value", value)
)
.symbol(.square)
}
.padding()
.frame(minWidth: 400, minHeight: 300)
}
}
Swift Programming for macOS © 2023
Built by Gavin Wiggins


Programming Problem Solutions
-
A program that prints ‘Hello World’ to the screen.
-
A program that asks for your name and greets you with your name.
-
The previous program (modified), such that only the people Alice and Bob are greeted with their names.
-
A program that asks for a number n and prints the sum of the numbers 1 to n.
-
The previous program (modified), such that only multiples of three or five are considered in the sum, e.g. 3, 5, 6, 9, 10, 12, 15 for n = 17.
-
A program that asks the user for a number n and gives people the possibility to choose between computing the sum and computing the product of 1, …, n.


Software Engineer product oriented with more than 10 years of experience delivering top-quality software for world-class companies.


AWS::NetworkFirewall::RuleGroup
Use the AWS::NetworkFirewall::RuleGroup to define a reusable collection of stateless or stateful network traffic filtering rules. You use rule groups in an AWS::NetworkFirewall::FirewallPolicy to specify the filtering behavior of an AWS::NetworkFirewall::Firewall.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::NetworkFirewall::RuleGroup", "Properties" : { "Capacity" :
Integer
, "Description" :String
, "RuleGroup" :RuleGroup
, "RuleGroupName" :String
, "Tags" :[ Tag, ... ]
, "Type" :String
} }
YAML
Type: AWS::NetworkFirewall::RuleGroup Properties: Capacity:
Integer
Description:String
RuleGroup:RuleGroup
RuleGroupName:String
Tags:- Tag
Type:String
Properties
Capacity
-
The maximum operating resources that this rule group can use.  When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.
Required: Yes
Type: Integer
Update requires: Replacement
Description
-
A description of the rule group.
Required: No
Type: String
Maximum:
512
Pattern:
^.*$
Update requires: No interruption
RuleGroup
-
An object that defines the rule group rules.
Required: No
Type: RuleGroup
Update requires: No interruption
RuleGroupName
-
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
Required: Yes
Type: String
Minimum:
1
Maximum:
128
Pattern:
^[a-zA-Z0-9-]+$
Update requires: Replacement
Tags
-
An array of key-value pairs to apply to this resource.
For more information, see Tag.
Required: No
Type: List of Tag
Maximum:
200
Update requires: No interruption
Type
-
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
Required: Yes
Type: String
Allowed values:
STATEFUL | STATELESS
Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns the Amazon Resource Name (ARN) of the rule group. For example:
{ "Ref": "arn:aws:network-firewall:us-east-1:012345678901:stateful-rulegroup/myStatefulRuleGroupName" }
For more information about using the Ref
function, see Ref.
Fn::GetAtt
The Fn::GetAtt
intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt
intrinsic function, see Fn::GetAtt.
RuleGroupArn
-
The Amazon Resource Name (ARN) of the AWS::NetworkFirewall::RuleGroup.
RuleGroupId
-
The unique ID of the AWS::NetworkFirewall::RuleGroup resource.
Examples
Create a stateful rule group
The following shows example stateful rule group specifications.
JSON
"SampleStatefulRulegroup": { "Type": "AWS::NetworkFirewall::RuleGroup", "Properties": { "RuleGroupName": "SampleStatefulRulegroupName", "Type": "STATEFUL", "RuleGroup": { "RulesSource": { "RulesString": "pass tcp <IP_ADDRESS>/24 45400:45500 <> <IP_ADDRESS>/24 5203 (msg:\"test\";sid:1;rev:1;)" } }, "Capacity": 100, "Description": "Rulegroup description goes here", "Tags": [ { "Key": "Foo", "Value": "Bar" } ] } }
YAML
SampleStatefulRulegroup: Type: 'AWS::NetworkFirewall::RuleGroup' Properties: RuleGroupName: SampleStatefulRulegroupName Type: STATEFUL RuleGroup: RulesSource: RulesString: >- pass tcp <IP_ADDRESS>/24 45400:45500 <> <IP_ADDRESS>/24 5203 (msg:"test";sid:1;rev:1;) Capacity: 100 Description: Rulegroup description goes here Tags: - Key: Foo Value: Bar
Create a stateless rule group
The following shows example stateless rule group specifications.
JSON
"SampleStatelessRulegroup": { "Type": "AWS::NetworkFirewall::RuleGroup", "Properties": { "RuleGroupName": "SampleStatelessRulegroupName", "Type": "STATELESS", "RuleGroup": { "RulesSource": { "StatelessRulesAndCustomActions": { "StatelessRules": [ { "RuleDefinition": { "MatchAttributes": { "Sources": [ { "AddressDefinition": "<IP_ADDRESS>/0" } ], "Destinations": [ { "AddressDefinition": "<IP_ADDRESS>/8" } ], "SourcePorts": [ { "FromPort": 15000 }, { "ToPort": 30000 } ], "DestinationPorts": [ { "FromPort": 443 }, { "ToPort": 443 } ], "Protocols": [ 6 ] }, "Actions": [ "aws:pass" ] }, "Priority": 1 } ] } } }, "Capacity": 100, "Description": "Rulegroup description goes here", "Tags": [ { "Key": "Foo", "Value": "Bar" } ] } }
YAML
SampleStatelessRulegroup: Type: 'AWS::NetworkFirewall::RuleGroup' Properties: RuleGroupName: SampleStatelessRulegroupName Type: STATELESS RuleGroup: RulesSource: StatelessRulesAndCustomActions: StatelessRules: - RuleDefinition: MatchAttributes: Sources: - AddressDefinition: <IP_ADDRESS>/0 Destinations: - AddressDefinition: <IP_ADDRESS>/8 SourcePorts: - FromPort: 15000 ToPort: 30000 DestinationPorts: - FromPort: 443 ToPort: 443 Protocols: - 6 Actions: - 'aws:pass' Priority: 1 Capacity: 100 Description: Rulegroup description goes here Tags: - Key: Foo Value: Bar


Enter the three sides of a triangle to find out what kind of triangle.
Enter the first side of the triangle.
Enter the second side of the triangle.
Enter the third side of the triangle.
Check triangle type
The entered triangle lengths are
triangle.


I have not conciously used the techniques but feel they are things that I have experienced in the past, both in working and personal relationships. I definitely see their value and will try in future to use them more actively.
I have listened empathetically, but not consistently and I know I have sometimes been guilty of psychologising so I will certainly distinguish between the two now.
I found it very useful in solidifing my own beliefs and feel that if only we could think this way more often the world be a lot happier place.
At my last job my manager resigned and I was hopeful that I would be given a chance to replace him.
From my perspective I was a suitable candidate because of my knowledge and experience of the working environment. I felt I knew what worked well but also what was required to take the department forward and be more efficient, giving greater value to the company.
From the companies perspective I did not have much managerial experience and the department could benifit from fresh thinking.
I can see the reasonings behind their thinking and although at the time I felt very undervalued in retrospect I think I should of done more to put forward my case.
Only that on a good day I have the ability to be empathetic, however it is something that I can improve on with practice so that it is more consistent.


About
FileBot makes scripting and automation as easy as it gets. Just script everything in Groovy instead of bothering with cumbersome cmd and bash scripts. It's the same on all platforms and much more powerful. The provided functions are the same as in the CLI and parameter usage is also exactly the same.
Examples
Running Scripts
filebot -script "path/to/script.groovy" args...
Execute a given Groovy script. Parameters defined on the cmdline when starting a script will serve as default parameters
while running that script.
Script Repository
Find scripts for common tasks here. You can just use these scripts straight away or as a reference for building your own more advanced scripts. If you wrote a really useful script please share it with us.
- Automated Media Center
- Fetch artwork and nfo files for TV Shows
- Fetch artwork and nfo files for Movies
- Fetch subtitles for all files
- Delete left behind clutter files and empty folders
- Query Rename History
- View or Clear Extended Attributes
- Export Media Index to CSV file
- Calculate CRC32 and Verify File Integrity
- Find Missing Episodes
- Find Duplicate Movie or Episode files
- Write Embedded Tags
Example Scripts
args.eachMediaFolder {
getMissingSubtitles(folder:it)
rename(folder:it)
compute(file:it.listFiles{ it.isVideo() })
}
Fetch subtitles, rename and compute checksums for all media folders in the file hierarchy.['E:/TV Shows' as File].eachMediaFolder{ rename(folder:it, db:'TheTVDB') }
['E:/Anime' as File].eachMediaFolder{ rename(folder:it, db:'AniDB') }
['E:/Movies' as File].eachMediaFolder{ rename(folder:it, db:'TheMovieDB') }
Run rename on different folder hierarchies using different episode/movie datasources.args.getFiles{ it.isVideo() }
.sort{ a, b -> a.name.compareTo(b.name) }
.each{ println getMediaInfo(file:it, format:'{fn} [{vf} {vc} {af}]') }
Print media info for all video files using the given format pattern.Function Reference
Rename media files
File[] rename(folder|file, query, output, format, db, lang, strict)
- Parameters:
- folder - process media files in this folder
- file - process these media files
- action - rename action name or closure
- conflict - define conflict handling
- output - output folder, if format expression is not absolute
- format - episode/movie naming scheme
- db - episode/movie database
- query - force series/movie name, auto-detect if not set
- sortOrder - episode sort order
- filter - episode filter expression
- lang - preferred language for episode/movie titles
- strict - turn on/off strict matching
Fetch subtitles for media files
File[] getSubtitles(folder|file, query, lang, output, encoding, strict)
getMissingSubtitles
so subtitles that have already been downloaded will not be downloaded again overridding existing subtitle files.
- Parameters:
- folder - process media files in this folder
- file - process these media files
- db - database filter expression (e.g. opensubtitles|subscene)
- query - lookup subtitles by series/movie name
- lang - subtitle language
- output - force output format (e.g. srt)
- encoding - force output charset
- strict - enable matching subtitles via filename
File verification
boolean check(folder|file)
- Parameters:
- folder - check the sfv/md5/sha1 files in this folder
- file - check these sfv/md5/sha1
File compute(folder|file, output, encoding)
- Parameters:
- folder - compute checksums for files in this folder
- file - compute checksums for these files
- output - absolute or relative output file or just output format (sfv, md5 or sha1)
- encoding - output charset, defaults to UTF-8
Other
File[] extract(folder|file, output)
- Parameters:
- folder - extract all archives that are in this folder
- file - extract this archive
- output - output folder, defaults to archive path
- conflict - define conflict handling
String[] fetchEpisodeList(query, format, db, lang)
- Parameters:
- query - tv series name
- format - episode naming scheme
- db - episode database
- sortOrder - episode sort order
- lang - preferred language for episode titles
String getMediaInfo(file, format)
- Parameters:
- file - get info for this file
- format - media naming scheme
Extras
Need some help getting started? Check the forums.


Vai's Blog
Meditation Process
Date: 25th April 2016
How did the 'process over product' concept affect the way you tackled the site redesign and rebuild?
The process over product is the perfect way to start learning things and if I be honest then I have been about 80 to 85 percent successful in my endeavour as well.
My website could obviously be better than what it is now but my focus was on learning. There were times when the Virgo in me would demand perfection however, I had to use my meta-attention to bring myself back to do what I am supposed to be doing.
At some places I did want things to be at least presentable and hence I was giving that extra attention but even that was part of learning things. I didn’t want to just keep moving ahead abandoning everything that I was getting stuck at... so yes at some places I was persistent that I wanted it in a certain way but that was part of the target that I had set in my learning curve for myself.
What did you think about mediation before reading chapter 2?
I had a fair idea about meditation since long, as many in my extended family have been practising it for a long time. However, for me it is a means to achieve the ultimate concentration. I get distracted easily and hence meditation is a means to develop that focus and concentration that I lack naturally.
What new things have you learnt about mediation?
I knew that it helps improve the concentration and also boost health and longevity. But the revelation that the brain (neo cortex) is thicker for people practising meditation was something I had no clue about and that it has direct effect on certain diseases.
And that distraction is very important in the process of mindfulness is also something that I never knew about it. For me distraction was always an unwanted guest as I felt others are able to do it and I am not able to and which in turn was more distraction. But the idea to acknowledge, release and return being the main brain exercise is motivating. I think that since its part of training, I will try harder now.
The posture is also something that I always thought should be like the traditional position and the reasoning and justification that why in olden days that position held importance and how we can experiment with it, is news to me.
The concept of phantom limb was something I had never heard about and all about “self” and the ability to modulate or release the sense of self, and the ability to see fluidity in self and the paradox of open awareness and focus awareness is all very interesting.
I think the chapter 2 has affected me more than I think it has…
Did any of the suggested mediation techniques stand out to you?
I am going to try and practice this every day from now on…
I am going to practise open awareness and focus awareness and try and experiment with different methods to create my own personalised mind circuit training. And overall work on acknowledge, release and return for a few weeks to see how it fits with me.
Any other musings?
I am just so surprised that only two chapters and I came across a wealth of knowledge that I had no clue of and now I am anxious as to what will be there in the next forth coming chapters.


Derek Eder
@derekeder
This was @DataMadeCo's last week working at the @thoughtworks office. A huge thank you to @EliseZelechowsk, Robert, Scarlett, Rainey and the whole Chicago office for hosting us all these months!
3/1/2019, 12:05:07 PM
Favs: 17
Retweets: 1
link


Cargo Tracker
Welcome to the Cargo Tracker application.
There are three web interfaces available:
Please visit the project website
for more information about the application and it's goals.
This project is an effort by a few Java EE and DDD practitioners within Oracle Corporation


Next
Enable AI
Auto-Restart AI
Wait between moves (ms)
▲
◀
▶
▼
Threes
with basic animation & AI on the web.
But please play the real game, it's so cute!
- June


Trump expected to delay EU auto tariff decision for six more months: Politico
U.S. President Donald Trump is expected to announce this week that he is delaying a decision on whether to slap tariffs on imported European Union autos for another six months, Politico reported on Monday, citing an unnamed person familiar with the decision.
WASHINGTON: U.S. President Donald Trump is expected to announce this week that he is delaying a decision on whether to slap tariffs on imported European Union autos for another six months, Politico reported on Monday, citing an unnamed person familiar with the decision.
The United States must decide by Nov. 14 whether to impose threatened U.S. national security tariffs of as much as 25per cent on vehicles and parts under a law known as Section 232. The tariffs have already been delayed once by six months.
(Reporting by Tim Ahmann; Writing by Mohammad Zargham; Editing by Chris Reese)