Tags: music and stuff
Picnic - Picnic
FFO Roman Poirier and KMRU. Or basically anyone that likes music.
Release date: 2021-07-07
[9.1/10]
JPEGMAFIA - LP!
Glorious! Might his best one yet.
Release date: 2021-10-22
[8.7/10]
To Rococo Rot - Kölner Brett
Minimal techno masters do an soundtrack collection for a house. Underrated album for sure.
Release date: 2001-01-01
[8.6/10]
Joy Orbison - Still Slipping Vol. 1
Pleasant techno / UK bass. FFO Mount Kimbie & St. Germaine (kind of…). I think this is one of the most balanced techno records I’ve heard this year…
Release date: 2021-08-13
[8.5/10]
Sarah Davachi - Antiphonals
Drone / modern composition. Think taking a walk in an abandoned temple that has yet to decay into a ruin, and this is the music you’d hear in your head even if there’s really no one else around you.
Release date: 2021-09-10
[8.5/10]
Call Super - Cherry Drops I
Techno / house. Sounds like floating in mid air.
Release date: 2021-09-24
[8.4/10]
Miguel A. Ruiz - Climatery
Hazy ambient. Feels like an Apichatpong film…
Release date: 2018-11-09
[8.3/10]
h hunt - Playing Piano for Dad
Piano solo music. Found this through the recommended list for Duval Timothy. Played it through a speaker with a lot of low end, the thump he made when he hit the keys kind of reminds me Bendik Giske, but the noise on piano is much more subtle than hitting the sax keys.
Release date: 2016-05-20
[8.3/10]
Tarotplane - Horizontology
Mystical new-age / ambient.
Release date: 2021-03-05
[8.3/10]
Tara Clerkin Trio - In Spring
Lo-fi chamber noir-jazz / downtempo.
Release date: 2021-04-07
[8.1/10]
Kit Downes, Lucy Railton - Subaerial
Modern composition. This is some spooky music… But the more I listen to it the more I feel drawn to it.
Release date: 2021-08-13
[8.1/10]
Perila, Ulla - Memories Of Log
Degraded tape / ambient. Warbly sounds, should be longer though.
Release date: 2021-10-15
[7.9/10]
M. Sage with The Spinnaker Ensemble - The Wind Of Things
Organic, brooding ambient / field recording.
Release date: 2021-04-16
[7.8/10]
Jü - III
Math-ish jazz-rock with a lot of ethnic music influences, like gamelan scales or Japanese mode. Pretty cool sound. Kind of sounds like a more rock-based Horse Lord.
Release date: 2019-09-13
[7.8/10]
Benoît Pioulard - Sylva
Ambient pop. Maybe this would be a more immersive and holistic experience if paired with the companion photo book instead of doing housework, but I gotta mop the floor so there ya go.
Release date: 2014-05-13
[7.5/10]
Catherine Wheel - Chrome
I imagined this to be more like Cocteau Twins but it’s more like Failure / Hum. Pretty cool alt rock.
Release date: 2018-03-09
[7.4/10]
Two Shell - SoulCity EP
Techno / bass. I like the second track Soft Core the most, the others aren’t really that impressive. Must be total bangers in a club though.
Release date: 2021-03-12
[7.3/10]
Vanishing Twin - Ookii Gekkou
FFO Stereolab and Sun Ra. Psychedelic jazztronica / krautrock. Personally I like the jazzier cuts on this album than the psych pop ones.
Release date: 2021-10-15
[7.3/10]
Vertaal - Paradigm Shifting
Nu-jazz a la Yussef Kamaal, but less flashy. I feel like this kind of stuff is probably not something I’d revisit too frequently, sure they can play but the songs don’t offer too muchh impression, at least to me.
Release date: 2020-04-23
[7.2/10]
Black Country, New Road - For The First Time
A less abrasive, less shredy, more post-punk-y Black Midi.
Release date: 2021-02-05
[7.1/10]
佐井好子 - 萬花鏡
Before I listened to this I thought this was the seminal Japanese psych-ambient pop album, but turns out it’s just radio friendly pop music that gets stale pretty quickyly. Maybe my expectation was too high.
Release date: 1975-08-25
[6.8/10]
Audiobook - Astro Tough
Weird indie pop. I feel like the first and the last couple of songs are very different from the ones in the middle - the former more dance oriented, while the latter features more traditional instrumentation.
Release date: 2021-10-01
[6.7/10]
Priya Ragu - damnshestamil
Pop mixtape from Indian / Swiss artist. A lot of Indian sounding elements on this album.
Release date: 2021-09-03
[6.7/10]
Joyer - Perfect Gray
Slowcore. I feel like it’s all the same song on the entire album…
Release date: 2021-09-24
[6.5/10]
Explosions In The Sky - Big Bend (An Original Soundtrack for Public Television)
Don’t feel like they’ve brought anything new to the table.
Release date: 2021-10-01
[6.1/10]
Comments


{% extends "base.html" %} {% block content %}
Please select your passwords in the correct order from the grid below.
The chosen passwords need to be selected twice.


the401 Chat
Name
loading
Email
loading...
Email a Friend
To:
From:
Message:
x
5 users
uptime:
?
memory:
?
mb RSS


| HTML::FormatRTF - Format HTML as RTF |
HTML::FormatRTF - Format HTML as RTF
version 2.11
use HTML::FormatRTF;
my $out_file = "test.rtf"; open(RTF, ">$out_file") or die "Can't write-open $out_file: $!\nAborting";
print RTF HTML::FormatRTF->format_file( 'test.html', 'fontname_headings' => "Verdana", ); close(RTF);
HTML::FormatRTF is a class for objects that you use to convert HTML to RTF. There is currently no proper support for tables or forms.
This is a subclass of the HTML::Formatter manpage, whose documentation you should
consult for more information on underlying methods such as new
, format
,
format_file
etc
You can specify any of the following parameters in the call to new
,
format_file
, or format_string
:
Amount of extra indenting to apply to the left margin, in twips (twentieths of a point). Default is 0.
So if you wanted the left margin to be an additional half inch larger, you'd
set lm => 720
(since there's 1440 twips in an inch). If you wanted it to
be about 1.5cm larger, you'd set lw => 850
(since there's about 567
twips in a centimeter).
Amount of extra indenting to apply to the left margin, in twips (twentieths of a point). Default is 0.
This is the size of normal text in the document, in half-points. The default value is 22, meaning that normal text is in 11 point.
This is the size of text used in the document's page-header, in half-points. The default value is 17, meaning that normal text is in 7.5 point. Currently, the header consists just of "p.pagenumber" in the upper-right-hand corner, and cannot be disabled.
These control the font size of each heading level, in half-twips. For example,
the default for head3_halfpoint_size is 25, meaning that HTML
...

text will be in 12.5 point text (in addition to being underlined and in the
heading font).
This controls the font size (in half-points) of the text used for <
> text. By default, it is 18, meaning 9 point.
This option controls what font is to be used for the body of the text -- that is, everything other than heading text and text in pre/code/tt elements. The default value is currently "Times". Other handy values I can suggest using are "Georgia" or "Bookman Old Style".
This option controls what font is to be used for text in pre/code/tt elements. The default value is currently "Courier New".
This option controls what font name is to be used for headings. You can use the same font as fontname_body, but I prefer a sans-serif font, so the default value is currently "Arial". Also consider "Tahoma" and "Verdana".
This option controls what Microsoft language number will be specified as the language for this document. The current default value is 1033, for US English. Consult an RTF reference for other language numbers.
This option controls how many underline characters will be used for rendering a "
" tag. Its default value is currently 50. You can usually leave this alone, but under some circumstances you might want to use a smaller or larger number.
If this option is set to a true value, HTML::FormatRTF will make a point of not emitting the RTF prolog before the document. By default, this is off, meaning that HTML::FormatRTF will emit the prolog. This option is of interest only to advanced users.
If this option is set to a true value, HTML::FormatRTF will make a point of not emitting the RTF trailer at the end of the document. By default, this is off, meaning that HTML::FormatRTF will emit the bit of RTF that ends the document. This option is of interest only to advanced users.
the HTML::Formatter manpage, the RTF::Writer manpage
See perlmodinstall for information and options on installing Perl modules.
You can make new bug reports, and view existing ones, through the web interface at http://rt.cpan.org/Public/Dist/Display.html.
The project homepage is https://metacpan.org/release/HTML-Format.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see https://metacpan.org/module/HTML::Format/.
Nigel Metheringham<EMAIL_ADDRESS>Sean M Burke<EMAIL_ADDRESS>Gisle Aas<EMAIL_ADDRESS>This software is copyright (c) 2013 by Nigel Metheringham, 2002-2005 Sean M Burke, 1999-2002 Gisle Aas.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| HTML::FormatRTF - Format HTML as RTF |


File containing the definition of methods for interacting with an IR array .
More...
Go to the source code of this file.
|
|
void | ir_array_initArray () |
| | Initializes IR Array.
|
| |
| void | ir_array_ledSingleOn (uint8_t uiLedInstance) |
| | Turns on a single LED. More...
|
| |
|
void | ir_array_ledArrayOn () |
| | Turns on all LEDS of the array.
|
| |
| void | ir_array_ledSingleOff (uint8_t uiLedInstance) |
| | Turns off a single LED. More...
|
| |
|
void | ir_array_ledArrayOff () |
| | Turns off all LEDS of the array.
|
| |
| uint16_t | ir_array_takeSingleMeasurement (uint8_t uiIrChannelInstance) |
| | Takes a measurement of a single LED/sensor pair. More...
|
| |
| void | ir_array_takeMeasurement () |
| | Takes a measurement of all LED/sensor pairs. More...
|
| |
| void | ir_array_normalizeReadings (uint16_t *uiIrVector, float *fIrNormalizedReadings) |
| | Normalizes the IR sensor readings according to min and max values from calibration. More...
|
| |
| void | ir_array_calibrate (uint16_t *uiIrVector) |
| | Executes the calibration routine for all LED/sensor pairs. More...
|
| |
| float | ir_array_catmullRom (float p0, float p1, float p2, float p3, float t) |
| | Implements the uniform Catmull-Rom spline algorithm between point p1 and p2. More...
|
| |
| void | ir_array_interpolate (float *y, float y0, float y1, float y2, float y3, float y4, float y5) |
| | Executes the Catmull-Rom algorithm for all pairs of sensors (0-1, 1-2, 2-3, 3-4, 4-5). More...
|
| |
| float | ir_array_minMaxValuePosition (float y0, float y1, float y2, float y3, float y4, float y5) |
| | Evaluates the position of the trough, or occurence of a command bar. More...
|
| |
| float | ir_array_getPosition () |
| | Get position of trought or occurence of command bar. More...
|
| |
|
|
uint16_t | uiIrReadings [6] = {0, 0, 0, 0, 0, 0} |
| |
|
float | fIrNormalizedReadings [6] = {0, 0, 0, 0, 0, 0} |
| |
|
uint16_t | uiIrMinreadings [6] = {0, 0, 0, 0, 0, 0} |
| |
|
uint16_t | uiIrMaxreadings [6] = {65535, 65535, 65535, 65535, 65535, 65535} |
| |
| float const | fcx [10] |
| |
File containing the definition of methods for interacting with an IR array .
- Author
- Guilherme Kairalla Kolotelo
-
Bruno de Souza Ferreira
- Version
- 1.1
- Date
- 27 Jun 2016
-
07 Oct 2016
| void ir_array_calibrate |
( |
uint16_t * |
uiIrVector | ) |
|
Executes the calibration routine for all LED/sensor pairs.
Store minimum and maximum reading values on uiIrMinreadings and uiIrMaxreadings respectively.
- Parameters
-
| uiIrVector | Array pointer to store raw sensor measurements |
| float ir_array_catmullRom |
( |
float |
p0, |
|
|
float |
p1, |
|
|
float |
p2, |
|
|
float |
p3, |
|
|
float |
t |
|
) |
| |
Implements the uniform Catmull-Rom spline algorithm between point p1 and p2.
Uniform Catmull-Rom using float precision data-type given 4 points and position t.
- Parameters
-
| p0 | Point 0 |
| p1 | Point 1 |
| p2 | Point 2 |
| p3 | Point 3 |
| t | Position |
- Returns
- Returns the interpolated points fot position t between p1 and p2.
| float ir_array_getPosition |
( |
| ) |
|
Get position of trought or occurence of command bar.
[long description]
- Parameters
-
- Returns
- [description]
| void ir_array_interpolate |
( |
float * |
y, |
|
|
float |
y0, |
|
|
float |
y1, |
|
|
float |
y2, |
|
|
float |
y3, |
|
|
float |
y4, |
|
|
float |
y5 |
|
) |
| |
Executes the Catmull-Rom algorithm for all pairs of sensors (0-1, 1-2, 2-3, 3-4, 4-5).
Generates a 46 point vector from position 0 to position 5 (sensor 0 to 5) with 9 control points between each sensor: sensor: 0 1 ... 2 5 position: 0, 1, ..., 8, 9, 10, ..., 17, 18, 19, ..........44, 45
- Parameters
-
| y | Array pointer to store interpolated values |
| y0 | sensor 0 normalized measurement |
| y1 | sensor 1 normalized measurement |
| y2 | sensor 2 normalized measurement |
| y3 | sensor 3 normalized measurement |
| y4 | sensor 4 normalized measurement |
| y5 | sensor 5 normalized measurement |
| void ir_array_ledSingleOff |
( |
uint8_t |
uiLedInstance | ) |
|
Turns off a single LED.
- Parameters
-
| uiLedInstance | LED index [0-5]. |
| void ir_array_ledSingleOn |
( |
uint8_t |
uiLedInstance | ) |
|
Turns on a single LED.
- Parameters
-
| uiLedInstance | LED index [0-5]. |
| float ir_array_minMaxValuePosition |
( |
float |
y0, |
|
|
float |
y1, |
|
|
float |
y2, |
|
|
float |
y3, |
|
|
float |
y4, |
|
|
float |
y5 |
|
) |
| |
Evaluates the position of the trough, or occurence of a command bar.
Evaluates the position of the trough(pos), or occurence of a command bar(-1). If both are inexistent returns invalid (-2).
- Parameters
-
| y0 | sensor 0 normalized measurement |
| y1 | sensor 1 normalized measurement |
| y2 | sensor 2 normalized measurement |
| y3 | sensor 3 normalized measurement |
| y4 | sensor 4 normalized measurement |
| y5 | sensor 5 normalized measurement |
- Returns
- Trough Pos or -1 (command bar) or -2 (invalid/other)
Evaluates the position of the trough(pos), or occurence of a command bar(-1). If both are inexistent returns invalid (-2).
- Parameters
-
| y0 | sensor 0 normalized measurement |
| y1 | sensor 1 normalized measurement |
| y2 | sensor 2 normalized measurement |
| y3 | sensor 3 normalized measurement |
| y4 | sensor 4 normalized measurement |
| y5 | sensor 5 normalized measurement |
- Returns
- Trough Pos or -10 (command bar) or -20 (invalid/other)
| void ir_array_normalizeReadings |
( |
uint16_t * |
uiIrVector, |
|
|
float * |
fIrNormalizedReadings |
|
) |
| |
Normalizes the IR sensor readings according to min and max values from calibration.
- Parameters
-
| uiIrVector | Array pointer to store raw sensor measurements |
| fIrNormalizedReadings | Array pointer to store raw normalized measurements |
| void ir_array_takeMeasurement |
( |
| ) |
|
Takes a measurement of all LED/sensor pairs.
- Parameters
-
| uiIrVector | Array pointer to store raw sensor measurements |
| uint16_t ir_array_takeSingleMeasurement |
( |
uint8_t |
uiIrChannelInstance | ) |
|
Takes a measurement of a single LED/sensor pair.
- Parameters
-
| uiIrChannelInstance | LED index [0-5]. |
- Returns
- Raw sensor measurement
Initial value:= { 0.0, 0.111111, 0.222222, 0.333333, 0.444444,
0.555556, 0.666667, 0.777778, 0.888889, 1.0 }


Symbol Index for ".Agency States"
Symbol Index for diagram
".Agency States"
Activity (Class)
Activity/direction (Generalization Node)
Agency Active (Class)
Agency Ended (Class)
Agency Proposed (Class)
Agency Suspended (Class)
agent (Association)
Agent (Class)
Agent State (Class)
Agent State Change (Class)
Agent/lifespan (Generalization Node)
responsible for (Association)


mysterious messenger¶
A messenger program with many features such as phone calls, text messages, chatrooms, emails, and Visual Novel sections. This is an ongoing project intended to give me practice experimenting with the Ren’Py engine and its capabilities. I maintain a Mysterious Messenger Discord to facilitate discussion, bug reports, and update announcements.
Getting Started¶
If you want to run this code, you will need to download the Ren’Py engine: https://www.renpy.org/
As of 2019-12-28 (the time of this update) the version of Ren’Py used is <IP_ADDRESS>6
Download or clone the repository into your Ren’Py Projects Directory and unzip it into its own folder. If you don’t know what it is, you can change it from the Ren’Py launcher via
preferences -> Projects Directory
.Refresh your Projects list and you should see
mysterious-messenger
listedSave the Script Generator spreadsheet somewhere you can find it later
The images and sound files used in this project are not included in the repository. Please contact me directly if you would like to request the assets for personal use.
Getting the Program Running¶
If you’ve set up everything properly, from the Ren’Py Launcher you should be able to select the project you created from the column on the left and hit ‘Launch Project’. If you don’t have the images/sound files, you will likely run into several “not found” errors until you’ve created your own replacements; otherwise, you should be able to go ahead and type in your desired name for the protagonist and check out the “Tutorial Day”, which will walk you through some of the available features in the program.
Creating your own chatrooms¶
Included in the repository is a file called Script Generator.xlsx. The repository also includes a wiki which contains most of the information you’ll need to get started. The spreadsheet file has an instruction tab and a several templates to facilitate turning dialogue into readable code for the program. Once you’ve filled out the template sheet correctly, you can simply copy-paste the code into the program and add in any outstanding features, such as choice menus or background music.
Acknowledgments¶
I’d like to thank the following people for their contribution to this project:
CheruAngelic for giving me permission to use her art in this program
Manami for letting me use their art edits
mvngx.gif for contributing many of the assets used in the program
The people of the Lemma Soft forums and Ren’Py Discord for many tutorials, answers, and resources
RenpyTom for assistance in fixing some of the errors and animation issues I ran into


Interface for working with settings.
| Methods | |
|---|---|
|
public
|
Returns the current settings context. |
|
public
|
Returns the value of a settings parameter. |
|
public
|
Returns the validator for the settings. |
|
public
|
Initializes the settings manager with parameters. |
|
public
|
Loads the settings from the persitence source. |
|
public
|
Saves the settings from to the persitence target. |
|
public
|
Sets the settings context. |
|
public
|
Sets a settings parameter. |
|
public
|
Sets settings parameters from an array. |
|
public
|
Sets the validator for the settings. |
|
public
|
Validates the current settings values. |
Returns the current settings context.
Settings might be edited not in one dialog, There can be several masks for different type of settings, or the settings can be configured in a wizard. In this case, only a subset of settings has to be saved and validated. To be able to write a flexible validator for the subsets, the $context is used. It can be - step1, step1, server_settings, db_connection_settings etc.
Returns the current settings context.
Returns the value of a settings parameter.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $name | by value | string |
The name of the settings parameter. |
|
| $default | by value | mixed | null |
The default value of the settings parameter if it is not set yet. The parameter is a confortable way to pre-set a parameter to a default value if its value is not set yet. However, if the status of the data is dirty and the unsaved last entered value is requested, then always the actual last entered value is returned and this paramter is ignored. |
Returns the value of the settings parameter.
Returns the validator for the settings.
Returns the validator for the settings or null if none is defined.
Initializes the settings manager with parameters.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $parameters | by value | array |
The parameters may vary for each settings manager. |
It might throw an exception in the case of any system errors.
Loads the settings from the persitence source.
It might throw an exception in the case of any errors.
Saves the settings from to the persitence target.
It might throw an exception in the case of any errors.
Sets the settings context.
Settings might be edited not in one dialog, There can be several masks for different type of settings, or the settings can be configured in a wizard. In this case, only a subset of settings has to be saved and validated. To be able to write a flexible validator for the subsets, the $context is used. It can be - step1, step1, server_settings, db_connection_settings etc.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $context | by value | string | "default" |
The settings context. |
Sets a settings parameter.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $name | by value | string |
The name of the settings parameter. |
|
| $value | by value | mixed |
The value of the settings parameter. |
Sets settings parameters from an array.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $parameters | by reference | array |
Array of parameters in the form key => value. |
|
| $force_creation | by value | bool | false |
Flag which defines whether the parameter should be created if not exists. If false, only existing parameters are updated. |
Sets the validator for the settings.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $validator | by value | \SmartFactory\Interfaces\ISettingsValidator |
The settings validator. |
Validates the current settings values.
It should be called after settings the new values of the parameters and before their saving.
Returns true if there is no validator defined, otherwise lets the validator validate the settings.
It is not based on exceptions in order to allow catch many errors at once.


If Telegram bot for notification has already configured (See section 4.5.6 Telegram bot for details), you will see item 'Telegram ID' on the main menu.
Telegram is another instant messaging application, and it has built-in notification function. SMS uses it for more quicker way to inform SMS users
that they have new messages. Although most email applications also have built-in notification function, it is strongly advise SMS users don't use
them due to security reason (see section 5.4 secure your email account).
As you decide to use Telegram to help you, please make sure it won't bring you into trouble. That means you must make sure: (1) Telegram is legally
used in your country, and (2) Telegram installed in your device won't let you look suspicious by government agents. If anything is in doubt, don't use
it.
To let Telegram be your SMS notification worker, it has two steps setup to do (as figure 2.4.1 shown).
|
The first step is that you need to install your SMS notification bot to your Telegram. Click on the link 'Add SMS notification bot', a web page
will show up in your default web browser, in there, it has a green button called 'SEND MESSAGE', click on it then it will add a new Telegram group
into your Telegram application with your notification bot name, and you should make sure notifications of this group is on. Then, click on the link
'Check my Telegram ID' on step 2, also click on the button 'SEND MESSAGE', it will add you another Telegram group named 'What's my Telegram ID?',
in there input '/start' then send, it will show you your Telegram ID, and you put this value into the field of Telegram ID, and click the 'Save'
button. This is it, SMS will then inform you via Telegram as you have new messages.
Note:
By security concern: (1) no any notification will be sent via email or Telegram message as you have login into SMS, (2) Only one email and/or Telegram
message will be sent to you as you are off-line, no matter how many new messages you get.
|


AWS Thing Name:
cloud_off
Potentiometer
Button & LEDs
S1
off/on
D1
S2
off/on
D2
S3
off/on
D3
S4
off/on
D4
Home


Help
List of template tags
- random
Returns random item from passed arguments list.
Usage
{{random([arg1], [arg2] ... [argN])}}
Returns
*
- repeat
Specifies number of repeats of array item. Repeatable array must contains only
two items: first is repeat tag, second is item that must be repeated. If no arguments is
specified item will be repeated from 0 to 10 times. If min argument is specified, item will be
repeated that many times. If both arguments are specified, item will be repeated in specified
range of times.
Usage
{{repeat([min], [max])}}
Arguments
| Param |
Type |
Details |
| min
(optional)
|
Number |
Minimum number in the range. Default is 0. |
| max
(optional)
|
Number |
Maximum number in the range. Default is 10. |
Returns
Number
- index
Index of current cloned object starting from 0.
Usage
{{index([startFrom])}}
Arguments
| Param |
Type |
Details |
| startFrom
(optional)
|
Number |
Index will start from this value. Default is 0. |
Returns
Number
- integer
Random integer in specified range. Can be negative.
Usage
{{integer([min], [max], [format])}}
Arguments
| Param |
Type |
Details |
| min
(optional)
|
Number |
Minimum number in the range. Default is 0. |
| max
(optional)
|
Number |
Maximum number in the range. Default is 10. |
| format
(optional)
|
String |
Number format. For more info visit Numeral.js.
|
Returns
NumberString
- floating
Random float in specified range. If min argument is float, generated number
will be float too with same number of decimals. Can be negative.
Usage
{{floating([min], [max], [fixed], [format])}}
Arguments
| Param |
Type |
Details |
| min
(optional)
|
Number |
Minimum number in the range. Default is 0. |
| max
(optional)
|
Number |
Maximum number in the range. Default is 10. |
| fixed
(optional)
|
Number |
Number of decimals. Default is 4. |
| format
(optional)
|
String |
Number format. For more info visit Numeral.js.
|
Returns
NumberString
- bool
Random boolean value.
Usage
{{bool()}}
Returns
Boolean
- date
Random date in specified range.
Usage
{{date([min], [max], [format])}}
Arguments
| Param |
Type |
Details |
| min
(optional)
|
Date |
Minimum date in the range. Default is new Date(1970, 0, 1). |
| max
(optional)
|
Date |
Maximum date in the range. Default is new Date(). |
| format
(optional)
|
String |
Date format. For more info visit datef.
|
Returns
Number
- lorem
Random Lorem Ipsum text.
Usage
{{lorem([count], [units])}}
Arguments
| Param |
Type |
Details |
| count
(optional)
|
Number |
Number of generated units. Default is 1. |
| units
(optional)
|
String |
Units type. Can be words, sentences, or paragraphs. Default is sentences. |
Returns
String
- objectId
[new]
MongoDB's globally unique identifier for objects.
Usage
{{objectId()}}
Returns
String
- guid
Random globally unique
identifier.
Usage
{{guid()}}
Returns
String
- custom function
You can create your own function, that returns any value. this keyword
contains current generated object so you can refer previous existing fields as shown in
example.
Usage
function (tags, index) {
// Your code
}
Arguments
| Param |
Type |
Details |
| tags |
Object |
Object with generation methods which has same names as the tags. |
| index |
Number |
Index of current cloned object starting from 0. |
Returns
*
- firstName
Random person name of both genders if no gender is specified.
Usage
{{firstName([gender])}}
Arguments
| Param |
Type |
Details |
| gender
(optional)
|
String |
Gender of person name. Can be male or female. |
Returns
String
- gender
Previously generated person gender. Must be after field, that contains firstName
tag.
Usage
{{gender()}}
Returns
String
- surname
Random person surname.
Usage
{{surname()}}
Returns
String
- company
Random company name.
Usage
{{company()}}
Returns
String
- email
Generates email based on firstName, surname and company that are called before of
it.
Usage
{{email([random])}}
Arguments
| Param |
Type |
Details |
| random
(optional)
|
Boolean |
If true, random email address will be generated. Default is false. |
Returns
String
- phone
Generates random phone number.
Usage
{{phone([format])}}
Arguments
| Param |
Type |
Details |
| format
(optional)
|
String |
Format string which contains x letters. Default is "(xxx) xxx-xxxx". |
Returns
String
- country
Random country name.
Usage
{{country()}}
Arguments
| Param |
Type |
Details |
| abbreviation
(optional)
|
Boolean |
If passed returns country name abbreviation instead of full name. |
Returns
String
- countriesList
Returns a list of 205 unique countries instead of passed string.
Usage
{{countriesList()}}
Returns
Array
- state
Random US state name.
Usage
{{state()}}
Arguments
| Param |
Type |
Details |
| abbreviation
(optional)
|
Boolean |
If passed returns state name abbreviation instead of full name. |
Returns
String
- city
Random US city name.
Usage
{{city()}}
Returns
String
- street
Random US street name.
Usage
{{street()}}
Returns
String
Usage
JSON Generator has a convenient syntax. You can specify JavaScript object for template that you see
in the left box. It will be cloned in infinite depth. Fields may have any name and value, but it
must be valid JavaScript. Values, which are strings, may contain one or more template tags.
You can copy the generated JSON to clipboard by clicking "Copy to clipboard". If you click "Upload",
JSON will be stored on the server and you can download generated file by clicking "Download" button
or access it via ajax-request by URL that will be copied to clipboard after clicking "Copy URL"
button. Yes, JSON Generator can JSONP :) Supported HTTP methods are: GET,
POST, PUT, OPTIONS.
Size of uploaded generated files does not exceed 500 kB. Size appears at the top right of the field
with the generated data. If file size text is red - file is too large for saving on server, but you
can copy it to your clipboard and save locally to *.json file.
You can choose indentation for the generated JSON from the drop-down list. Also when you copy the
link to uploaded code there is an "indent" param in URL. It can has values of 2, 3 and 4. If param
is not specified code will be compact. Example: http://www.json-generator.com/j/JSON_ID?indent=4
Also you can choose status code for response by passing "status" param in URL. Example:
http://www.json-generator.com/j/JSON_ID?status=401
JSON Generator remembers your last template in localStorage. If you want to reset it, click "Reset"
button to reset template and UI.
About
We've all faced the problem of lack of information in our app. All interfaces seem lifeless and
empty. Debugging with no data is also not simple.
I think that each of us has at least once in their lives created a bunch of files with JSON data, but they were just one object propagated
without unique fields. JSON Generator was created in order to help with this. It provides an
opportunity generate any data and in any quantity. Edit template, click "Generate" and you're done.
If you have found a bug, you have a suggestion for improving the application or just want to thank
me, click on "Feedback".


App
__init__(
self,
title="guizero",
width=500,
height=500,
layout="auto",
bg=None,
visible=True)
What is it?
The App
object is the basis of all GUIs created using guizero. It is the main window which contains all of the other widgets.
How do I make one?
Create an App
object like this:
from guizero import App
app = App()
app.display()
Starting parameters
When you create an App
object you can specify any of the following parameters, all of which are optional. Specify parameters in the brackets like this: app = App(bg="red", height=200)
| Parameter | Data type | Default | Compulsory | Description |
|---|---|---|---|---|
| bg | color | None | No | The background colour of the app window and widgets inside it. Takes a color value. |
| height | int | 500 | No | The height of the window in pixels. |
| layout | string | "auto" | No | Whether widgets pack themselves ("auto" ) or you specify their position on a grid ("grid" ) |
| title | string | "guizero" | No | The title displayed in the bar at the top of the window. |
| width | int | 500 | No | The width of the window in pixels. |
| visible | boolean | True | No | If the App should be visible. |
Methods
You can call the following methods on an App
object.
| Method | Takes | Returns | Description |
|---|---|---|---|
| add_tk_widget(tk_widget, grid=None, align=None, visible=True, enabled=None, width=None, height=None) | tk_widget (tk), grid (list), align (str), visible (bool), enabled (bool), width (int), height (int) | Widget | Adds a tk widget into a guizero container. Note - this is an advanced feature see Using tk for more information. |
| after(time, command, args=None) | time (int), command (function name), args (list of arguments) | - | Schedules a single call to command after time milliseconds. (To repeatedly call the same command, use repeat() ) |
| cancel(command) | command (function name) | - | Cancels a scheduled call to command |
| destroy() | - | - | Destroys the widget |
| disable() | - | - | Disables all the widgets in the app so that they cannot be interacted with |
| display() | - | - | Displays the app on the screen. You MUST call this method at the end of your program to display the app on the screen. |
| enable() | - | - | Enables all the widgets in the app |
| error(title, text) | title (str), text (str) | - | Displays a popup box with an error icon |
| exit_full_screen() | - | - | Exit full screen display |
| focus() | - | - | Gives focus to the widget |
| hide() | - | - | Hides the app window from view. |
| info(title, text) | title (str), text (str) | - | Displays a popup box with an information icon |
| question(title, text, initial_value=None) | title (str), text (str), initial_value (str) | Pressing Ok returns value entered into the box is returned and pressing Cancel returns None |
Displays a popup box with a question box which can accept a text response |
| repeat(time, command, args=None) | time (int), command (function name), args (list of arguments) | - | Repeats command every time milliseconds. This is useful for scheduling a function to be regularly called, for example updating a value read from a sensor. |
| select_color(color=None) | color (str) | color as RGB value string ('#000000' - '#ffffff') | Display a box to select a color. If a color is selected the color RGB value is returned, otherwise None is returned. |
| select_file(title="Select file", folder=".", filetypes=[["All files", "."]], save=False, filename="") | title (str), folder (str), filetypes (list), save (bool), filename (str) | Full path of the file selected as a string | Display a box to select a file to open or save. If Open or Save is pressed the filename path is returned. If Cancel is pressed "" is returned. |
| select_folder(title="Select folder", folder=".") | title (str), folder (str) | Full path of the folder selected as a string | Display a box to select a folder. If a folder is selected the folder path is returned, otherwise "" is returned. |
| set_full_screen(keybind) | String | - | Set the application to display full screen. Option to specify a key to exit full screen (default is 'Esc'.) |
| show() | - | - | Displays the app window if it was previously hidden |
| update() | - | - | Force the application to update itself, useful if changes aren't reflected in the UI. |
| warn(title, text) | title (str), text (str) | - | Displays a popup box with a warning icon |
| yesno(title, text) | title (str), text (str) | Pressing Yes returns True and pressing No returns False |
Displays a popup box with yes and no options |
Properties
You can set and get the following properties:
| Method | Data type | Description |
|---|---|---|
| bg | color | The background colour of the window |
| children | List | A list of widgets in this container |
| enabled | boolean | True if the app is enabled |
| height | int | The height of the window |
| font | string | The font that widgets should use |
| full_screen | boolean | False |
| image | image_source (string) | The file path, tkinter.PhotoImage or PIL.Image you wish to use as the window icon. |
| layout | string | The layout being used by the App ("auto" ) or ("grid" ) |
| title | string | The title of the window |
| text_size | int | The size of the text widgets should use |
| text_color | color | The colour of the text widgets should use |
| tk | tkinter.Tk | The internal tkinter object, see Using tkinter |
| visible | boolean | If the app is visible |
| width | int | The width of the window |
| when_closed | function | The function to call when the App is closed. Setting to None (the default) will reset. |
Refer to a property as <name of widget>.property
. For example, if your App
object is called app
you would write app.title
.
You can set the property (for example app.title = "Hello world"
) or get the value of the property to use (for example print(app.title)
).
Examples
Creating an App object
Create an App
object by calling the App()
constructor. You should give the object a name so you can refer to it later - in this case we have called it app
. It is best to keep the name you give to your App
object quite short, as you will have to use it to tell other widgets where they should be stored.
At the end of the program you MUST tell the app object to begin the display loop.
from guizero import App
app = App(title="My app", height=300, width=200)
app.display()
Changing the title
You can change the title of the app object once it has been created like this:
from guizero import App
app = App(title="My app", height=300, width=200)
app.title = "A different title"
app.display()
This will display the app with the updated title:


Notebooks
Story: The Mantis and the hunting of eland
The Mantis and the hunting of eland
Title
The Mantis and the hunting of eland
Collection
Summary
What the |kaggen (Mantis) does to see whether the people respect the eland.
Comments
1) This story was told to Dia!kwain by both his grandfather (!xugen-ddi) and father (Xaa-ttin), 2) See also Ssa ka Kumm and Further ceremonies in cutting up eland, 3) This story is found in Book V-17
Contributors
Date
12 December 1875
Categories
Custom and daily life, |kaggen (the Mantis)
Keywords
eland (hunting) , eland (ceremonies for the killing of) , eland (its actions when shot) , eland (|kaggen and the hunting of) , eland (|kaggen wants his to live) , eland (respect for) , eland (the actions of |kaggen when one has been shot) , |kaggen (the Mantis) , |kaggen (and the hunting of eland) , |kaggen (tests people's respect for the eland) , |kaggen (his actions when an eland has been shot) , |kaggen (deceives) , |kaggen (takes other forms) , |kaggen (wants his eland to live) , |kaggen (tells the eland to get up) , |kaggen (and killing eland) , |kaggen (the eland is his thing) , |kaggen (his magic powers) , |kaggen (and the passing of water) , respect (|kaggen tests people's respect for the eland) , respect (|kaggen and the hunting of eland) , ceremony (for the killing of eland) , ceremony (|kaggen and the hunting of eland) , ceremony (and the passing of water) , magic powers (of |kaggen and the hunting of eland) , hunting (|kaggen and the hunting of eland) , hunting (ceremonies for the killing of eland) , urination (and ceremonies for the killing of eland) , urination (|kaggen and the hunting of eland)
Story Pages
5345v-5348v


About Ethnos360
In 2,500 of the world’s 6,500 people groups, there is no church, nor is there any work being done to establish a church. These are the people among whom Ethnos360 works.
These tribes’ cultures and languages have isolated them from the Gospel. Missionaries must learn their language and understand their culture in order to clearly present the Gospel and effectively plant a church.
Unreached people groups have no concept of the God of the Bible. So Bible teaching begins at the same place God began with His chosen people: at the beginning. Chronological Bible teaching presents a foundation for understanding Jesus’ death and resurrection.
Following the pattern seen in Acts as God’s people carried out the Great Commission, missionaries seek to establish mature churches that can take their rightful place as agents of change in their own communities and partners in the Great Commission. Learn more here
About the name change:
Have you noticed New Tribes Mission has changed their name to Ethnos360? Find out why here: https://ethnos360.org/about
Learn More: The Beginnings Where We're Headed Internship Ethnos360
Information taken from the Ethnos360 website


Head's Up Deep learning methods are easy to overfit and are best suited when there are a lot of samples (> 100 samples).
{% include 'notifications.html' %}
{% include 'download_container.html' %}
| Label |
Train (n=) |
Val (n=) |
Test (n=) |
|
Samples for Label |
AUC |
Samples for Label |
AUC |
Samples for Label |
AUC |
| Dataset |
Mean Absolute Error |
Mean Squared Error |
Not Enough Samples Warning Results here may be susceptible to overfitting and show high variation between runs
Interpreting Your Results
- Assess the predictive performance of your model using the test error.
- Tune your model for better performance by looking only at the validation error.
- If your model is properly trained, the loss should decrease over time for both the train and validation sets.
- The AUC tells you the probability that a randomly sampled positive patient will have a higher predicted score for the positive class than the negative class.
Learn More
{% include 'footer-viz-d3v4.html' %}


Transformations
Summary
This week we will talk about transformations in p5. We will review progress on P1 before the midterm next week.
Example Code
Links
Deliverables
- Daily Practice: Daily Practice: daily development for project 1:
- Use the "p5 template" file as a starting point
- Only spend 20 - 40 minutes per sketch
- Focus on creating simple programs
- Explore elements of your P1 project
- If you get stuck ask for help
- Draw out what you want your program to do, using flow charts before writing a single line of code
- Remember the midterm is due in one week!


I am a fully flexible web developer. I'd love challenges and I am able to work independently or as a part of a team. Most importantly, I am focus on my career-growth.
Apart from being a web developer, I enjoy most of my time being outdoors. I love basketball. I do biking, swimming, trecking and many more. I am very adventurous person.
Handle object-oriented PHP programming and MVC framework such as Yii Framework.
Work with MySQL and SQL databases.
Created Graphical Dashboard with daily, weekly, monthly and annual report.
Created file uploader with dynamic column picker.
Created calendar shifting schedule.
Created Cron-Job for data support such as cron-job for consolidation of data, cron-job for removing duplicate values, cron-job for weekly and daily schedule, etc.
Optimized existing data and enhanced existing web application.
Able to use jQuery and has brief knowledge about third party application such as Node.js, Socket.io and RabbitMQ.
Built Truck Bay Positioning.
Built API Webservice for data maintenance.
Used PHP, HTML, CSS, JAVASCRIPT, BOOTSTRAP FRAMEWORK , MYSQL for my past project.
Web Programmer Trainee
Golden Country Homes, Alangilan, Batangas City 4200


How it works
First Login to Open Humans to upload our experiences. The platform uses OH for the storing of data, the platform tool collects
Login
Add your experience
Share your experiences


The role of the hackathon: ElleHacks is a women-only* hackathon taking place in the Lassonde School of Engineering, North York. It is organized by students with background in STEM fields. We welcome women of all experience levels from a variety of technical and creative disciplines to participate in a collaborative, technical project in an inclusive and safe space.
ElleHacks acknowledges the complicated nature of the word “women,” knowing it may not work for many, and can feel unwelcoming or alienating for some. We recognize the imperfection of language, and we use * to specifically and intentionally include cis women, trans, non-binary, agender, intersex, and queer people.
Women are underrepresented in the tech world, but it’s up to us women to change that! We are creating a welcoming environment to show that there is a place in tech for every lady out there while building cool projects and sharing stories at ElleHacks.
Students of all skill levels are encouraged to attend, even if you’ve never written a line of code. We’re prepared to teach you everything you need to learn right here while also supporting the most experienced hackers.
Please register to be a volunteer here, we'd love to have you! Volunteers can be any gender, and are critical to ensure that ElleHacks operates smoothly. This year, we expect around 200 hackers, so we need all the help that we can get!
ElleHacks 2018 will be held in the Bergeron School of Engineering Excellence at York University from February 2th-4th, 2018.
Anyone who identifies as a woman or non-binary may register as a hacker! All ages are welcome. Additionally, all participants must follow the MLH Code of Conduct.
Please register to be a mentor here, we'd love to have you! Mentors can be any gender, and make the hackathon experience impactful by guiding participants through technical challenges and sharing stories along the way.
You can work on a team or work solo. Teams can be constructed prior to arrival with friends, or can be formed during the time allocated for team formation before the official hacking begins. Team size must not exceed four members, according to MLH rules.
You must bring a valid student or government issued ID card for admission. Bring your laptop, charging cables, and a sleeping bag/pillow if that makes you more comfortable for the night. We also recommend bringing toiletries and a change of clothes. Everything else will be provided!
Unfortunately, this year we will not be providing travel reimbursements. We do offer transportation to various universities around Ontario.
There is no registration fee.
Jan 22 is the last day to register.
Under MLH code, participants are required to be students (highschool, university or college student) with at most 1.5 years grace period off school.
Its a 32 hour event. We will be serving breakfast, lunch and dinner, and lots of snacks (all free)! We will have designated area for sleeping purposes, which students will bring their own sleeping bags to sleep. For hygienic purposes, we have included gifts in your tote bag and we also have a shower available if needed! (bring your toothbrush!)


headOption
lastOption
Before:
if (seq.nonEmpty) Some(seq.head) else None seq.lift(0) if (seq.size == 0) None else seq.lastOption seq.lift(seq.size - 1)
seq.headOption seq.headOption seq.lastOption seq.lastOption


About PyREx¶
PyREx (Python package for an IceCube Radio Extension) is, as its name suggests, a Python package designed to simulate the measurement of Askaryan pulses via a radio antenna array around the IceCube South Pole Neutrino Observatory. The code is designed to be modular so that it can also be applied to other askaryan radio antennas (e.g. the ARA and ARIANA collaborations).
Installation¶
The easiest way to get the PyREx package is using pip
as follows:
pip install git+https://github.com/bhokansonfasig/pyrex#egg=pyrex
PyREx requires python version 3.6+ as well as numpy version 1.13+ and scipy version 0.19+, which should be automatically installed when installing via pip
.
Alternatively, you can download the code from https://github.com/bhokansonfasig/pyrex and then either include the pyrex
directory (the one containing the python modules) in your PYTHON_PATH
, or just copy the pyrex
directory into your working directory.
PyREx is not currently available on PyPI, so a simple pip install pyrex
will not have the intended effect.
Quick Code Example¶
The most basic simulation can be produced as follows:
First, import the package:
import pryex
Then, create a particle generator object that will produce random particles in a cube of 1 km on each side with a fixed energy of 100 PeV:
particle_generator = pyrex.ShadowGenerator(dx=1000, dy=1000, dz=1000,
energy=1e8)
An array of antennas that represent the detector is also needed. The base Antenna
class provides a basic antenna with a flat frequency response and no trigger condition. Here we make a single vertical “string” of four antennas with no noise:
antenna_array = []
for z in [-100, -150, -200, -250]:
antenna_array.append(
pyrex.Antenna(position=(0,0,z), noisy=False)
)
Finally, we want to pass these into the EventKernel
and produce an event:
kernel = pyrex.EventKernel(generator=particle_generator,
antennas=antenna_array)
kernel.event()
Now the signals received by each antenna can be accessed by their waveforms
parameter:
import matplotlib.pyplot as plt
for ant in kernel.ant_array:
for wave in ant.waveforms:
plt.figure()
plt.plot(wave.times, wave.values)
plt.show()
Units¶
For ease of use, PyREx tries to use consistent units in all classes and functions. The units used are mostly SI with a few exceptions listed in bold below:
| Metric | Unit |
|---|---|
| time | seconds (s) |
| frequency | hertz (Hz) |
| distance | meters (m) |
| density | grams per cubic centimeter (g/cm^3) |
| material thickness | grams per square centimeter (g/cm^2) |
| temperature | kelvin (K) |
| energy | gigaelectronvolts (GeV) |
| resistance | ohms (Ω) |
| voltage | volts (V) |
| electric field | volts per meter (V/m) |


Featured projects
Angullak:Online Wallet
CT Skylines
DataBlazeAnswerz
ES 5 Explorer
Flexbox One
About me
Things I like:
My favourite songs
My favourite tweets


EUR/GBP resumes the downside, in 3-day lows near 0.8550
by Pablo Piovano- EUR/GBP moves lower to the 0.8550 region on Monday.
- The sterling remains bid despite the firm greenback.
- Tories keeps leading the election polls.
The continuation of the selling bias around the single currency plus the positive start of the week for the pound are motivating EUR/GBP to challenge 3-day lows in the mid-0.8500s.
EUR/GBP focused on December elections
The European cross has resumed the downside following Friday’s positive price action, although it remains confined within the sideline theme prevailing since early November.
The euro has faded the earlier optimism after the German IFO showed the morale in the first economy of the bloc remains depressed in spite of the tepid bounce seen in November. In addition, and in the wake of the data releases, IFO officials noted that the outlook on the German manufacturing sector remains fragile, but some recovery is expected in the next months.
On the other shore of the Channel, the Conservative Party keeps leading the election polls with around 40/44% of the vote intention, while the Labour Party is gyrating around the 30% and LibDems are up and down the 15% area.
Data wise in the UK, the CBI Distributive Trades Survey improved to -3 for the current month. Later in the week, the BoE Treasury Committee Hearings will grab all the attention along with housing sector data releases and several BoE monetary gauges. Closer to home, advanced November’s inflation figures in Germany and the euro area will keep EUR in centre stage in the next sessions.
EUR/GBP key levels
The cross is losing 0.37% at 0.8551 and a breach of 0.8521 (monthly low Nov.18) would expose 0.8488 (monthly low May 6) and finally 0.8471 (2019 low Mar.13). On the upside, the next hurdle lines up at 0.8605 (high Nov.22) seconded by 0.8667 (78.6% Fibo of the May-August rally) and then 0.8676 (high Oct.24).


Before Change
tabular.record("QFunction/MaxY", np.max(self._epoch_ys))
tabular.record("QFunction/AverageAbsY",
np.mean(np.abs(self._epoch_ys)))
tabular.record("AverageSuccessRate",
np.mean(self._success_history))
if not self.smooth_return:
self._episode_rewards = []
self._episode_policy_losses = []
After Change
if self._episode_rewards:
last_average_return = np.mean(self._episode_rewards)
if self._success_history:
if itr % self.steps_per_epoch == 0 and self._buffer_prefilled:
avg_success_rate = np.mean(self._success_history)
for _ in range(self.n_train_steps):
if self._buffer_prefilled:
// pylint: disable=fixme


Click anywhere on the page to add measurements. The green circle is your predicted next location.
Keep in mind that the timestep between clicks is fixed, meaning it doesn't matter how often do you click.
Your next click always provides the location at t = t + 1
The Kalman filter expects a linear movement with a constant velocity. So one thing in particular that you can see is how poorly the filter reacts to sudden changes in movement direction.


Hayley Kiyoko's "L.O.V.E. Me" Has Major Spice Girls Energy
by Allison StubblebineThis could fit right in on the 'Lizzie McGuire Movie' soundtrack
Former NYLON cover star Hayley Kiyoko threw it back to our favorite sounds of the late '90s and early '00s girl groups with her new single, "L.O.V.E. Me," released on Friday. It's the latest off her forthcoming project, I'M TOO SENSITIVE FOR THIS SHIT, and follows the salsa-inspired "Demons" and witchy lead single "I Wish." In a statement, Kiyoko revealed that "L.O.V.E. Me" is something she's been "trying to write for years," coming to fruition just in time for her sophomore project.
"I'm very protective of my personal life but admittedly I'm a big romantic at heart," Kiyoko continues in her statement. "'L.O.V.E. Me' captures what it feels like to fall head over heels and want to shout from the rooftops about it. It's showcasing the classic struggle we sometimes face when someone tells you they love you in private, but is too scared to express that love publicly." It's the flirty antidote to the unrequited feelings of "I Wish" — and definitely the biggest bop on the project so far.
Listen to "L.O.V.E. Me," below.


{{goal.description}}
This Quote will be felt in {{goal.completeDate|dateCount}} days
{{numberOflikes}}
{{numberOfDislikes}}


Dhapakhel, Lalitpur
KEC Computer Club is a club founded by the talented students of Kantipur Engineering College, Dhapakhel,Lalitpur. Joining this club students can get lots of knowledge about comuter technology and various other computer related activities.


|
| static final float | PROTEIN_PHIL_THRESHHOLD (float protein_max_store) |
| |
| static final float | PHIL_THRESHHOLD (float max_store) |
| |
| static int | TRIGGER_DONATE () |
| |
|
static int | TRIGGER_DONATE_MAIZE () |
| |
|
static int | TRIGGER_DONATE_PRO () |
| |
|
static int | TRIGGER_REQUEST () |
| |
|
static int | TRIGGER_REQUEST_MAIZE () |
| |
|
static int | TRIGGER_REQUEST_PRO () |
| |
|
static int | REQUEST_FROM () |
| |
|
static int | REQUEST_FROM_MAIZE () |
| |
|
static int | REQUEST_FROM_PRO () |
| |
| static final double | PHIL_THRESHHOLD (int max_store) |
| |
| static int | DONATE_TO () |
| |
| static int | DONATE_TO_MAIZE () |
| |
| static int | DONATE_TO_PRO () |
| |
| static final int | wrapX (int dx, int x, int worldX) |
| |
|
static final int | wrapY (int dy, int y, int worldY) |
| |
| static synchronized double | uniformDblRand (double min, double max) |
| |
| static synchronized int | uniformIntRand (int min, int max) |
| |
|
| static final int | FILESUFX = 55 |
| |
| static final boolean | OUTPUT = true |
| |
|
static final boolean | OUTPUT_TRADE = false |
| |
|
static final boolean | PRINT_AGENT_STATS = true |
| |
|
static final boolean | PRINT_SYSTEM_STATS = true |
| |
|
static final boolean | PRINT_RUN_PARAMETERS = true |
| |
| static final String | OUTPUT_DIR = "output" |
| |
|
static final String | DATA_DIR = "VEPI_data" |
| |
| static final int | ALL = 0 |
| |
|
static final int | HOOPER = 1 |
| |
|
static final int | TURKEY = 2 |
| |
|
static int | GUI_VERSION = ALL |
| |
| static final boolean | LOG_CELL = false |
| |
| static final boolean | LOG_FOOD = false |
| |
| static final int | WORLD_X_SIZE = 227 |
| |
|
static final int | WORLD_Y_SIZE = 200 |
| |
| static final int | UTMY = 4165786 |
| |
|
static final int | UTMX = 676599 |
| |
| static final String | DATAFILE = DATA_DIR + "/al_year600-1300.dat" |
| |
| static final int | PROTEIN_NEED = 5 |
| |
| static final int | PROTEIN_PENALTY = 1 |
| |
| static final boolean | NEED_MEAT = false |
| |
| static final boolean | DEER = true |
| |
|
static final boolean | RABBIT = true |
| |
|
static final boolean | HARE = true |
| |
| static final double | PROTEIN_PER_DEER = 10800 |
| |
| static final double | PROTEIN_PER_HARE = 455.4 |
| |
| static final double | PROTEIN_PER_RABBIT = 177.2 |
| |
| static final float | PROTEIN_STORAGE_DECR = 0.75f |
| |
| static final int | PROTEIN_KG_CAL = 1200 |
| |
| static final float | RABBIT_USE = .7f |
| |
|
static final float | HARE_USE = .7f |
| |
| static final float | DEER_USE = .5f |
| |
| static final float | DEER_R = .4f |
| |
| static final float | HARE_R = 1.75f |
| |
| static final float | RABBIT_R = 2.3f |
| |
| static final float | DEER_K = .55f |
| |
| static final float | HARE_K = .04453f |
| |
| static final float | RABBIT_K = .06935f |
| |
|
static final float | HARE_WEIGHT = 1.38f |
| |
|
static final float | RABBIT_WEIGHT = .537f |
| |
| static final boolean | DIFFUSION = true |
| |
| static final boolean | EXPLICIT = false |
| |
| static final int | DEER_TEST = 0 |
| |
| static final int | DEER_OUTPUT = 0 |
| |
|
static final int | HUNTERS = 1 |
| |
|
static final int | HLAG_HUNT = 2 |
| |
|
static final int | RLAG_HUNT = 5 |
| |
|
static final int | DEER_DISTANCE = 20 |
| |
| static final int | HUNT_SRADIUS = 20 |
| |
|
static final int | MAX_CELLS_HUNTED = 50 |
| |
| static final int | DEATH_YEAR = 3 |
| |
| static final double | PROTEIN_ENDOWMENT = 1.33 |
| |
| static final float | HARVEST_ADJUST_FACTOR = 0.75f |
| |
| static final int | SOIL_DEGRADE = 1 |
| |
| static final float | FALLOW_FACTOR = 1.0f |
| |
| static final int | MAX_PLOTS = 9 |
| |
| static final int | AD_PLOTS = 2 |
| |
| static final int | MAIZE_ENDOWMENT = 300 |
| |
| static final int | MAIZE_INITIAL_MAX = 350 |
| |
| static final float | MAIZE_STORAGE_DECR = 0.1f |
| |
| static final int | AVG_FARM_COST = 101760 |
| |
| static final int | MAIZE_KG_CAL = 3560 |
| |
| static final float | MAIZE_PER = 0.7f |
| |
| static final int | COOP = 4 |
| |
| static final int | COOP_ATTEMPTS = 8 |
| |
| static final int | COOP_LEARNING = 1 |
| |
| static final float | COOP_RATE = 1.00f |
| |
| static final int | GRN_COOP_RATE = 1 |
| |
|
static final boolean | COOP_DEBUG = false |
| |
|
static final boolean | BRN_COOP_DEBUG = false |
| |
| static final int | MAX_COOP_COUNT_PER_ANNUM = 4 |
| |
| static final int | PHIL_RADIUS = 15 |
| |
| static final float | PHIL_INCREASE = 0.01f |
| |
| static final int | PHIL_N = 2 |
| |
| static final int | CRITICAL = 1 |
| |
|
static final int | HUNGRY = 2 |
| |
|
static final int | SATISFIED = 4 |
| |
|
static final int | PHILANTHROPIST = 8 |
| |
|
static final int | FULL = 16 |
| |
|
static final int | DEAD = 0 |
| |
| static final int | MAX_TRADER_LIST_SIZE = 10 |
| |
|
static final int | MAX_TRADE_NEIGHBOR_SEARCH = 5 |
| |
|
static final int | MAX_TRADE_ATTEMPTS = 1 |
| |
|
static final float | TRADE_INTEREST_RATE = 0.1f |
| |
|
static final int | DEAD_TRADER_CLEANUP_FREQUENCY = 1 |
| |
|
static final int | NEIGHBOR_TRADER_UPDATE_FREQUENCY = 1 |
| |
|
static final int | MAX_HLIST_LIST_SIZE = 42 |
| |
|
static final int | MAX_HLIST_RADIUS = 20 |
| |
|
static final int | MAX_HLIST_NEIGHBOR_SEARCH = 40 |
| |
|
static final int | MAX_HLIST_ATTEMPTS = 1 |
| |
|
static final int | DEAD_HLIST_CLEANUP_FREQUENCY = 4 |
| |
|
static final int | NEIGHBOR_HLIST_UPDATE_FREQUENCY = 4 |
| |
|
static final int | HUBNET_UNION = 0 |
| |
|
static final int | HUBNET_INTERSECT = 1 |
| |
| static final int | MAX_EXCHANGE_AMOUNT = 50 |
| |
| static final int | MAX_PROTEIN_EXCHANGE_AMOUNT = 10000 |
| |
| static final int | MAX_COOP_RADIUS_GRN = 30 |
| |
| static final int | MAX_COOP_RADIUS_BRN = 40 |
| |
|
static final int | PHIL_THRESHHOLD = 0 |
| |
| static final boolean | CA_ENABLE = true |
| |
| static final boolean | SITUATIONAL = true |
| |
| static final boolean | NORMATIVE = true |
| |
| static final boolean | HISTORY = false |
| |
| static final int | MEMORY = 0 |
| |
| static final float | INFLUENCE_PROB = 0.8f |
| |
| static final int | ACCEPTANCE_PROB = 1 |
| |
| static final float | MUTATION = 0.01f |
| |
| static final int | MAX_EXAMPLAR = 50 |
| |
| static final int | MAX_MEM_INTERACTION = 1 |
| |
| static final int | MOVE_STRATEGY = 0 |
| |
| static final int | H2O_TYPE = 2 |
| |
| static final float | STATE_GOOD = 0.1f |
| |
| static final int | TRAVEL_SPEED = 15 |
| |
| static final int | H2O_RAD = 2 |
| |
| static final boolean | NEED_H2O = true |
| |
| static final boolean | SOCIAL = false |
| |
| static final int | MOVE_RAD = 40 |
| |
| static final int | BUD_OFF = (int) MOVE_RAD / 2 |
| |
| static final int | HOUSE_LIMIT = 200 |
| |
| static final int | BASE_CAL_MAN = 170820 |
| |
| static final int | BASE_CAL_WOM = 142350 |
| |
| static final int | BASE_CAL_KID = 91250 |
| |
| static final int | WORK_CAL_MAN = 240 |
| |
|
static final int | WORK_CAL_WOM = 200 |
| |
|
static final int | WORK_CAL_KID = 92 |
| |
| static final int | CARRY_CAPACITY = 20 |
| |
| static final int | DW_COLLECT = 1 |
| |
| static final int | SC_COLLECT = 4 |
| |
| static final int | S_ARRAY = 100 |
| |
| static final int | PIYEAR = 910 |
| |
| static final int | PIIYEAR = 1140 |
| |
| static final int | PIIIYEAR = 1280 |
| |
| static final int | PIVYEAR = 1281 |
| |
| static final int | P6YEAR = 725 |
| |
| static final int | P7YEAR = 800 |
| |
| static final int | P8YEAR = 840 |
| |
| static final int | P9YEAR = 880 |
| |
| static final int | P10YEAR = 920 |
| |
| static final int | P11YEAR = 980 |
| |
| static final int | P12YEAR = 1020 |
| |
| static final int | P13YEAR = 1060 |
| |
| static final int | P14YEAR = 1100 |
| |
| static final int | P15YEAR = 1140 |
| |
| static final int | P16YEAR = 1180 |
| |
| static final int | P17YEAR = 1225 |
| |
| static final int | P18YEAR = 1260 |
| |
| static final int | P19YEAR = 1280 |
| |
| static final boolean | DEBUG = false |
| |
|
static final int | TAG = 1 |
| |
| static final int | MATE_SELECTION_METHOD = 1 |
| |
|
static final int | MAX_CHILD_LINKS = 20 |
| |
|
static final int | MAX_RELATIVE_LINKS = 20 |
| |
| static final int | HH_SIZE = 10 |
| |
|
static final int | INITIAL_AGENT_COUNT = 200 |
| |
| static final int | MAX_AGENT = 10000 |
| |
|
static final int | MALE = 1 |
| |
|
static final int | FEMALE = 0 |
| |
|
static final int | SINGLE = 0 |
| |
|
static final int | MARRIED = 1 |
| |
| static final int | GREEDY = 2 |
| |
|
static final int | MIN_MOVE_RAD = 0 |
| |
|
static final int | MAX_MOVE_RAD = 40 |
| |
| static final boolean | SAVE_LINKS = false |
| |
|
static final boolean | ENABLE_DEFECTING_AGENT = false |
| |
|
static final int | MAX_DEFECTORS = 1 |
| |
| static final int | DEFECTOR_TYPE = 3 |
| |
| static final int | DEFECTOR_PROPAGATE_FAMILY = 1 |
| |
| static final float | SHRUB_SC_PERCENT = .013f |
| |
| static final float | SHRUB_DW_PERCENT = .0335f |
| |
| static final float | TREE_SC_PERCENT = .013f |
| |
| static final float | TREE_DW_PERCENT = .0655f |
| |
| static final int | FW_SEARCH_DISTANCE = 10 |
| |
|
static final int | WOOD_NEED = 1130 |
| |
|
static final int | WATER_NEED = 3650 |
| |
| static final int | MAX_REMARRIAGE_COUNT = 2 |
| |
| static final int | MAX_REMARRIAGE_ATTEMPTS = 5 |
| |
| static final boolean | REMOVE_FAILED_REMARRIAGE = false |
| |
| static final boolean | NUKE = false |
| |
| static final int | NUKE_T = 705 |
| |
| static final int | NUKE_X = 39 |
| |
| static final int | NUKE_Y = 5 |
| |
| static final int | FUEL_TEST = 0 |
| |
| static final boolean | SPEED_MOVE = false |
| |
|
static final int | REGULAR_AGENTS = 0 |
| |
|
static final int | SPECIALIZED_AGENTS = 1 |
| |
|
static final int | HOOPER_AGENTS = 2 |
| |
|
static int | AGENT_TYPE = REGULAR_AGENTS |
| |
|
static final boolean | ENABLE_LEARNING_FOR_HOOPER = true |
| |
|
static final boolean | POPULATE_EXCHANGE_ARRAY_LIST = true |
| |
| static final boolean | TRADE_BOOSTED_MOVE = false |
| |
|
static final int | TRIGGER_COOP_STATE = 0 |
| |
|
static boolean | ENABLE_MULTITHREADING = false |
| |
| static final boolean | HUNTING = true |
| |
|
static final boolean | DOMESTICATION = true |
| |
|
static final boolean | PROTEIN_TRADE = true |
| |
|
static final boolean | BURN_WOOD = true |
| |
|
static final boolean | DRINK_WATER = true |
| |
§ DONATE_TO()
| static int com.mesaverde.village.Village.DONATE_TO |
( |
| ) |
|
|
static |
§ DONATE_TO_MAIZE()
| static int com.mesaverde.village.Village.DONATE_TO_MAIZE |
( |
| ) |
|
|
static |
§ DONATE_TO_PRO()
| static int com.mesaverde.village.Village.DONATE_TO_PRO |
( |
| ) |
|
|
static |
§ PHIL_THRESHHOLD() [1/2]
| static final float com.mesaverde.village.Village.PHIL_THRESHHOLD |
( |
float |
max_store | ) |
|
|
static |
amount of maize storage need to become a philanthropist
- Parameters
-
- Returns
§ PHIL_THRESHHOLD() [2/2]
| static final double com.mesaverde.village.Village.PHIL_THRESHHOLD |
( |
int |
max_store | ) |
|
|
static |
§ PROTEIN_PHIL_THRESHHOLD()
| static final float com.mesaverde.village.Village.PROTEIN_PHIL_THRESHHOLD |
( |
float |
protein_max_store | ) |
|
|
static |
amount of maize storage need to become a philanthropist
- Parameters
-
- Returns
§ TRIGGER_DONATE()
| static int com.mesaverde.village.Village.TRIGGER_DONATE |
( |
| ) |
|
|
static |
use bitwise or, then use bitwise and to check
- Returns
§ uniformDblRand()
| static synchronized double com.mesaverde.village.Village.uniformDblRand |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
|
static |
DC: returns a uniform random float in the range of [min,max)
§ uniformIntRand()
| static synchronized int com.mesaverde.village.Village.uniformIntRand |
( |
int |
min, |
|
|
int |
max |
|
) |
| |
|
static |
DC: returns a uniform random int in the range of [min,max]
§ wrapX()
| static final int com.mesaverde.village.Village.wrapX |
( |
int |
dx, |
|
|
int |
x, |
|
|
int |
worldX |
|
) |
| |
|
static |
BEGIN OTHER PARAMETERS FOR STANDARD RUN
§ ACCEPTANCE_PROB
| final int com.mesaverde.village.Village.ACCEPTANCE_PROB = 1 |
|
static |
§ AD_PLOTS
| final int com.mesaverde.village.Village.AD_PLOTS = 2 |
|
static |
Number of additional plots an agent can plant above the number of workers in the agent
§ ALL
| final int com.mesaverde.village.Village.ALL = 0 |
|
static |
Selects the version of the GUI to run, if being run as GUI
0 - All graphs, landscapes, and options 1 - GUI for looking at group formation 2 - GUI for looking at the impact of turkey domestication and protein use
§ AVG_FARM_COST
| final int com.mesaverde.village.Village.AVG_FARM_COST = 101760 |
|
static |
This is the average cost in calories it takes to plant and maintain 1 plot excluding harvest costs
§ BASE_CAL_KID
| final int com.mesaverde.village.Village.BASE_CAL_KID = 91250 |
|
static |
§ BASE_CAL_MAN
| final int com.mesaverde.village.Village.BASE_CAL_MAN = 170820 |
|
static |
§ BASE_CAL_WOM
| final int com.mesaverde.village.Village.BASE_CAL_WOM = 142350 |
|
static |
§ BUD_OFF
| final int com.mesaverde.village.Village.BUD_OFF = (int) MOVE_RAD / 2 |
|
static |
radius searched when daughter household formed
§ CA_ENABLE
| final boolean com.mesaverde.village.Village.CA_ENABLE = true |
|
static |
New Belief space and exchange variables Toggle Cultural Algorithm ON="true"; OFF="false"
§ CARRY_CAPACITY
| final int com.mesaverde.village.Village.CARRY_CAPACITY = 20 |
|
static |
Amount able to be carried in one trip in kg
§ COOP
| final int com.mesaverde.village.Village.COOP = 4 |
|
static |
0=Disable Reciprocity/Cooperation between households; 1=Enable (request ?) 2=Philanthropic reciprocity model 3=Both 1 and 2 4=Balanced Reciprocity (With 3)
§ COOP_ATTEMPTS
| final int com.mesaverde.village.Village.COOP_ATTEMPTS = 8 |
|
static |
number of times to request food in GRN and BRN network
§ COOP_LEARNING
| final int com.mesaverde.village.Village.COOP_LEARNING = 1 |
|
static |
2: mem+roulette 1: roulette learning 0: random
§ COOP_RATE
| final float com.mesaverde.village.Village.COOP_RATE = 1.00f |
|
static |
Chance that an agent would cooperate Affects GRN & BRN
§ CRITICAL
| final int com.mesaverde.village.Village.CRITICAL = 1 |
|
static |
COOP STATES used by coop_state
§ DATAFILE
| final String com.mesaverde.village.Village.DATAFILE = DATA_DIR + "/al_year600-1300.dat" |
|
static |
AgentModelSwarm file for database use "VEPI_data/year600-1300.dat" for PDSI only use "VEPI_data/al_year600-1300.dat" for Almagre temperature correction use "VEPI_data/pr_year600-1300.dat" for prin temperature correction
§ DEATH_YEAR
| final int com.mesaverde.village.Village.DEATH_YEAR = 3 |
|
static |
under protein penalty 2, this number is the year agent dies if deficient for entire time
§ DEBUG
| final boolean com.mesaverde.village.Village.DEBUG = false |
|
static |
turns on/off some debugging output for agent TAG false suppresses a lot of output
§ DEER
| final boolean com.mesaverde.village.Village.DEER = true |
|
static |
The core parameters controlling animal presence and hunting in the village model.
Each toggles a class that extends a general "Animal" class. Animals that require diffusion and larger cells (Deer) also have classes that extend the Cell class.
§ DEER_K
| final float com.mesaverde.village.Village.DEER_K = .55f |
|
static |
amount of food (Megagrams) eaten by deer in single year
§ DEER_OUTPUT
| final int com.mesaverde.village.Village.DEER_OUTPUT = 0 |
|
static |
Create Flat File of deer populations in deer cells
§ DEER_R
| final float com.mesaverde.village.Village.DEER_R = .4f |
|
static |
float intrinsic rate of increase for deer
§ DEER_TEST
| final int com.mesaverde.village.Village.DEER_TEST = 0 |
|
static |
these variables are used to test the regrowth of animals and plants in a cell where everything has been destroyed Perform Deer Test that kills off deer pop in an area
§ DEER_USE
| final float com.mesaverde.village.Village.DEER_USE = .5f |
|
static |
percentage of food deer can use
§ DEFECTOR_PROPAGATE_FAMILY
| final int com.mesaverde.village.Village.DEFECTOR_PROPAGATE_FAMILY = 1 |
|
static |
allow children to inherit defection
§ DEFECTOR_TYPE
| final int com.mesaverde.village.Village.DEFECTOR_TYPE = 3 |
|
static |
1: kinship only 2: trade only 3: defect in both
§ DIFFUSION
| final boolean com.mesaverde.village.Village.DIFFUSION = true |
|
static |
"false" = no diffusion "true" = diffusion
§ DW_COLLECT
| final int com.mesaverde.village.Village.DW_COLLECT = 1 |
|
static |
Number of hours it takes to collect 1 load of deadwood fuel
§ EXPLICIT
| final boolean com.mesaverde.village.Village.EXPLICIT = false |
|
static |
"true" = explicit deer diffusion "false" = implicit deer diffusion
§ FALLOW_FACTOR
| final float com.mesaverde.village.Village.FALLOW_FACTOR = 1.0f |
|
static |
if >1, assumes fields planted every other year, or "thinly". Carla used this adjustment in her carrying capacity calculations 1 makes no adjustment, 2 divides yields in half, etc.
§ FILESUFX
| final int com.mesaverde.village.Village.FILESUFX = 55 |
|
static |
Model Run Identifier used in DataBase.*
§ FUEL_TEST
| final int com.mesaverde.village.Village.FUEL_TEST = 0 |
|
static |
creates average growth flat files for NPP and new deadwood
§ FW_SEARCH_DISTANCE
| final int com.mesaverde.village.Village.FW_SEARCH_DISTANCE = 10 |
|
static |
of cells that household will search further
out to get deadwood before harvesting standing crop
§ GREEDY
| final int com.mesaverde.village.Village.GREEDY = 2 |
|
static |
2: enable multiple variable search 1: enable greedy search in SearchNeighborhood 0: to disable and use regular approach
§ GRN_COOP_RATE
| final int com.mesaverde.village.Village.GRN_COOP_RATE = 1 |
|
static |
Chance that an agent would cooperate on the GRN network (0=no coop on GRN)
§ H2O_RAD
| final int com.mesaverde.village.Village.H2O_RAD = 2 |
|
static |
search radius for water in cells
§ H2O_TYPE
| final int com.mesaverde.village.Village.H2O_TYPE = 2 |
|
static |
(possible values 1-4), used by agents to determine what kind of water resources needed
§ HARE_K
| final float com.mesaverde.village.Village.HARE_K = .04453f |
|
static |
amount of food (Megagrams) eaten by hares in single year
§ HARE_R
| final float com.mesaverde.village.Village.HARE_R = 1.75f |
|
static |
float intrinsic rate of increase for hares
§ HARVEST_ADJUST_FACTOR
| final float com.mesaverde.village.Village.HARVEST_ADJUST_FACTOR = 0.75f |
|
static |
Note: VW max harvests are >3 times higher than max harvests calculated by Kohler et al. 1986, Orcutt (various) and Wetterstrom, so for comparability purpose we define an adjustment factor allowing these to be scaled according to earlier estimates. To use Van West's estimates, set ADJUST_FACTOR=1; to scale them to be roughly equal to earlier estimates, use ADJUST_FACTOR=3. GENERAL BACKGROUND: Wetterstrom (1986:47) suggests yields of about 600 kg/ha for Arroyo Hondo. At this productivity, assuming 60% of Cal are from maize, 1 ha would feed about 5 people using 2000 Cal/year. Therefore, if we were using Wetterstrom's productivities, one of our .4 ha (1-ac) plots would feed about 2 people. Very roughly, 1 ha feeds 1 household (very generously).
§ HH_SIZE
| final int com.mesaverde.village.Village.HH_SIZE = 10 |
|
static |
HH_SIZE > 2 default is 10: lowest feasible value is 6
§ HISTORY
| final boolean com.mesaverde.village.Village.HISTORY = false |
|
static |
Toggle Historical/temporal Knowledge in BeliefSpace ON="true"; OFF="false"
§ HOUSE_LIMIT
| final int com.mesaverde.village.Village.HOUSE_LIMIT = 200 |
|
static |
max n households per cell
§ HUNT_SRADIUS
| final int com.mesaverde.village.Village.HUNT_SRADIUS = 20 |
|
static |
§ HUNTING
| final boolean com.mesaverde.village.Village.HUNTING = true |
|
static |
0=Disable Reciprocity/Cooperation between households; 1=Enable (request ?) 2=Philanthropic reciprocity model 3=Both 1 and 2 4=Balanced Reciprocity (With 3)
§ INFLUENCE_PROB
| final float com.mesaverde.village.Village.INFLUENCE_PROB = 0.8f |
|
static |
§ LOG_CELL
| final boolean com.mesaverde.village.Village.LOG_CELL = false |
|
static |
true= write log cellnnn.out, false=no log (faster)
§ LOG_FOOD
| final boolean com.mesaverde.village.Village.LOG_FOOD = false |
|
static |
§ MAIZE_ENDOWMENT
| final int com.mesaverde.village.Village.MAIZE_ENDOWMENT = 300 |
|
static |
Initial maize storage endowment per family member to a new agent, in kg
§ MAIZE_INITIAL_MAX
| final int com.mesaverde.village.Village.MAIZE_INITIAL_MAX = 350 |
|
static |
Initial maize maximum storage per family member, in kg.
see Maize Use by Rural Mesoamerican Household in Human Organization 49(2):135-139 by James W. Stuart (1990) for various estimates of maize intake in g/person/day estimates of 300-500 g/person/day appear plausible at .4 Kg/person/day, a family of 4 needs 584 kg/year maize
§ MAIZE_KG_CAL
| final int com.mesaverde.village.Village.MAIZE_KG_CAL = 3560 |
|
static |
kcal per kg; dividing by this converts kcal to kg
§ MAIZE_PER
| final float com.mesaverde.village.Village.MAIZE_PER = 0.7f |
|
static |
prop of diet assumed to come from maize adjustment for MAIZE_PER is applied in Agent.m: to -eatMaize (draws down maize_storage by only MAIZE_PER of cals_spent); to E(use kg) reported by Debug; in -evalState to calculate max_stor, used in setting household state; in computing value for cals returned (EXP_cal_need) by -calcExpCalUse
in computing exp_needed in calcFarmPl base are for a 3-month season, drawing on Wing & Brown 1979:17-72 base estimates are for completely sedentary people these are unadjusted for MAIZE_PER
§ MAIZE_STORAGE_DECR
| final float com.mesaverde.village.Village.MAIZE_STORAGE_DECR = 0.1f |
|
static |
maize decrement year-to-year in storage
§ MATE_SELECTION_METHOD
| final int com.mesaverde.village.Village.MATE_SELECTION_METHOD = 1 |
|
static |
§ MAX_AGENT
| final int com.mesaverde.village.Village.MAX_AGENT = 10000 |
|
static |
§ MAX_COOP_COUNT_PER_ANNUM
| final int com.mesaverde.village.Village.MAX_COOP_COUNT_PER_ANNUM = 4 |
|
static |
Allow the agent to ask for food n times a year
§ MAX_COOP_RADIUS_BRN
| final int com.mesaverde.village.Village.MAX_COOP_RADIUS_BRN = 40 |
|
static |
Agents will go further for BRN
§ MAX_COOP_RADIUS_GRN
| final int com.mesaverde.village.Village.MAX_COOP_RADIUS_GRN = 30 |
|
static |
Split max_coop_radius into 2 variables, one for GRN and one for BRN
§ MAX_EXAMPLAR
| final int com.mesaverde.village.Village.MAX_EXAMPLAR = 50 |
|
static |
§ MAX_EXCHANGE_AMOUNT
| final int com.mesaverde.village.Village.MAX_EXCHANGE_AMOUNT = 50 |
|
static |
Limit the amount of maize and protein that can be traded
§ MAX_MEM_INTERACTION
| final int com.mesaverde.village.Village.MAX_MEM_INTERACTION = 1 |
|
static |
Agent memory How many successful exchange partners to remember (max)
§ MAX_PLOTS
| final int com.mesaverde.village.Village.MAX_PLOTS = 9 |
|
static |
max plots of .4 ha (about 1 ac) per cell
§ MAX_PROTEIN_EXCHANGE_AMOUNT
| final int com.mesaverde.village.Village.MAX_PROTEIN_EXCHANGE_AMOUNT = 10000 |
|
static |
§ MAX_REMARRIAGE_ATTEMPTS
| final int com.mesaverde.village.Village.MAX_REMARRIAGE_ATTEMPTS = 5 |
|
static |
n = 5 track number of times and agent attempted to get remarried, allow MAX_REMARRIAGE_ATTEMPTS only then remove it.
§ MAX_REMARRIAGE_COUNT
| final int com.mesaverde.village.Village.MAX_REMARRIAGE_COUNT = 2 |
|
static |
track number of times an agent got remarried, allow MAX_REMARRIAGE_COUNT only then remove it.
§ MAX_TRADER_LIST_SIZE
| final int com.mesaverde.village.Village.MAX_TRADER_LIST_SIZE = 10 |
|
static |
DC: Changing to 10 as per discussion with Dr. Kohler
§ MEMORY
| final int com.mesaverde.village.Village.MEMORY = 0 |
|
static |
custom memory of positive interactions
§ MOVE_RAD
| final int com.mesaverde.village.Village.MOVE_RAD = 40 |
|
static |
radius searched in -moveHouse (Agent.m) default is 20
§ MOVE_STRATEGY
| final int com.mesaverde.village.Village.MOVE_STRATEGY = 0 |
|
static |
ENABLE AGENT TO DIRECT ITS MOVE
§ MUTATION
| final float com.mesaverde.village.Village.MUTATION = 0.01f |
|
static |
Mutation rate for the belief space knowledge
§ NEED_H2O
| final boolean com.mesaverde.village.Village.NEED_H2O = true |
|
static |
"true" to make agents consider water distribution in -evalCell (Agent.m), otherwise false
§ NEED_MEAT
| final boolean com.mesaverde.village.Village.NEED_MEAT = false |
|
static |
Controls agent movement depending on availability of protein resources. 1 = only move to cells where hunting is possible 0 = can move to cells where no meat was found
§ NORMATIVE
| final boolean com.mesaverde.village.Village.NORMATIVE = true |
|
static |
Toggle Normative Knowledge in BeliefSpace ON="true"; OFF="false"
§ NUKE
| final boolean com.mesaverde.village.Village.NUKE = false |
|
static |
Perform NUKE test "true" = yes "false" = no
§ NUKE_T
| final int com.mesaverde.village.Village.NUKE_T = 705 |
|
static |
Year that Nuke test is performed
§ NUKE_X
| final int com.mesaverde.village.Village.NUKE_X = 39 |
|
static |
X-coordinate of deer cell to be destroyed
§ NUKE_Y
| final int com.mesaverde.village.Village.NUKE_Y = 5 |
|
static |
Y-coordinate of deer cell to be destroyed
§ OUTPUT
| final boolean com.mesaverde.village.Village.OUTPUT = true |
|
static |
DATA OUTPUT FOR STATISTICAL ANALYSES Agent-stats record annual variables for each household, while System_stats outputs global variables, such as the number of households on the landscape. prints out agent statistics; true = print, false = no output
§ OUTPUT_DIR
| final String com.mesaverde.village.Village.OUTPUT_DIR = "output" |
|
static |
output and data directories.
§ P10YEAR
| final int com.mesaverde.village.Village.P10YEAR = 920 |
|
static |
End of Phase 10 period Crow Canyon
§ P11YEAR
| final int com.mesaverde.village.Village.P11YEAR = 980 |
|
static |
End of Phase 11 period Crow Canyon
§ P12YEAR
| final int com.mesaverde.village.Village.P12YEAR = 1020 |
|
static |
End of Phase 12 period Crow Canyon
§ P13YEAR
| final int com.mesaverde.village.Village.P13YEAR = 1060 |
|
static |
End of Phase 13 period Crow Canyon
§ P14YEAR
| final int com.mesaverde.village.Village.P14YEAR = 1100 |
|
static |
End of Phase 14 period Crow Canyon
§ P15YEAR
| final int com.mesaverde.village.Village.P15YEAR = 1140 |
|
static |
End of Phase 15 period Crow Canyon
§ P16YEAR
| final int com.mesaverde.village.Village.P16YEAR = 1180 |
|
static |
End of Phase 16 period Crow Canyon
§ P17YEAR
| final int com.mesaverde.village.Village.P17YEAR = 1225 |
|
static |
End of Phase 17 period Crow Canyon
§ P18YEAR
| final int com.mesaverde.village.Village.P18YEAR = 1260 |
|
static |
End of Phase 18 period Crow Canyon
§ P19YEAR
| final int com.mesaverde.village.Village.P19YEAR = 1280 |
|
static |
End of Phase 19 period Crow Canyon
§ P6YEAR
| final int com.mesaverde.village.Village.P6YEAR = 725 |
|
static |
End of Phase 6 period Crow Canyon
§ P7YEAR
| final int com.mesaverde.village.Village.P7YEAR = 800 |
|
static |
End of Phase 7 period Crow Canyon
§ P8YEAR
| final int com.mesaverde.village.Village.P8YEAR = 840 |
|
static |
End of Phase 8 period Crow Canyon
§ P9YEAR
| final int com.mesaverde.village.Village.P9YEAR = 880 |
|
static |
End of Phase 9 period Crow Canyon
§ PHIL_INCREASE
| final float com.mesaverde.village.Village.PHIL_INCREASE = 0.01f |
|
static |
% reward in terms of increased yearly maximum storage limits
§ PHIL_N
| final int com.mesaverde.village.Village.PHIL_N = 2 |
|
static |
Number of philanthropic attempts
§ PHIL_RADIUS
| final int com.mesaverde.village.Village.PHIL_RADIUS = 15 |
|
static |
philanthropy donation radius 20
§ PIIIYEAR
| final int com.mesaverde.village.Village.PIIIYEAR = 1280 |
|
static |
End of the Pueblo III period ala Pecos Classification
§ PIIYEAR
| final int com.mesaverde.village.Village.PIIYEAR = 1140 |
|
static |
End of the Pueblo II period ala Pecos Classification
§ PIVYEAR
| final int com.mesaverde.village.Village.PIVYEAR = 1281 |
|
static |
Ending year for present simulation.
§ PIYEAR
| final int com.mesaverde.village.Village.PIYEAR = 910 |
|
static |
End of the Pueblo I period ala Pecos Classification
§ PROTEIN_ENDOWMENT
| final double com.mesaverde.village.Village.PROTEIN_ENDOWMENT = 1.33 |
|
static |
Initial protein storage endowment multiplier per family member to a new agent. Defines amount of protein allotted beyond a year's storage. So, 1.33 is 1 1/3 years of protein to get the agent started. This accounts for spoilage.
§ PROTEIN_KG_CAL
| final int com.mesaverde.village.Village.PROTEIN_KG_CAL = 1200 |
|
static |
kcal per kg protein; based on USDA data for uncooked wild deer meat.
§ PROTEIN_NEED
| final int com.mesaverde.village.Village.PROTEIN_NEED = 5 |
|
static |
number of grams of protein needed by each person in the agent
§ PROTEIN_PENALTY
| final int com.mesaverde.village.Village.PROTEIN_PENALTY = 1 |
|
static |
1 = penalty to birth/death rates ie, life table mortality/natality used opposed to state good bonus 0 = no penalty
§ PROTEIN_PER_DEER
| final double com.mesaverde.village.Village.PROTEIN_PER_DEER = 10800 |
|
static |
protein per deer = 10800 based on USDA database protein on 36kg of cooked deer meat ("Game meat, deer, cooked, roasted") 36kg is meat weight of 60 kg deer Hobbs and Swift 1985, Simms 1987, Christenson 1981
§ PROTEIN_PER_HARE
| final double com.mesaverde.village.Village.PROTEIN_PER_HARE = 455.4 |
|
static |
protein per hare = 455.4 g based on usda database protein on 1.38 kg of cooked rabbit meat ("Game meat, rabbit, wild, cooked, stewed") 1.38 kg is meat weight of 2.3 kg hare Haskell and Reynolds 1947, Simms 1987, Christenson 1981
§ PROTEIN_PER_RABBIT
| final double com.mesaverde.village.Village.PROTEIN_PER_RABBIT = 177.2 |
|
static |
protein per hare = 177.2 g based on usda database protein on 537g of cooked rabbit meat ("Game meat, rabbit, wild, cooked, stewed") 537g is meat weight of 895g rabbit Haskell and Reynolds 1947, Simms 1987, Christenson 1981
§ PROTEIN_STORAGE_DECR
| final float com.mesaverde.village.Village.PROTEIN_STORAGE_DECR = 0.75f |
|
static |
protein decrement year-to-year in storage
§ RABBIT_K
| final float com.mesaverde.village.Village.RABBIT_K = .06935f |
|
static |
amount of food (Megagrams) eaten by rabbits in single year
§ RABBIT_R
| final float com.mesaverde.village.Village.RABBIT_R = 2.3f |
|
static |
float intrinsic rate of increase for rabbits (MYERS 1964)
§ RABBIT_USE
| final float com.mesaverde.village.Village.RABBIT_USE = .7f |
|
static |
percentage of food rabbits can use
§ REMOVE_FAILED_REMARRIAGE
| final boolean com.mesaverde.village.Village.REMOVE_FAILED_REMARRIAGE = false |
|
static |
Kill agents if they do not remarry after certain attempts (code given to us has this on for some reason) toggling this switch with low numbers of remarriage attempts drastically reduces population sizes.
§ S_ARRAY
| final int com.mesaverde.village.Village.S_ARRAY = 100 |
|
static |
length of search array used for movement
§ SAVE_LINKS
| final boolean com.mesaverde.village.Village.SAVE_LINKS = false |
|
static |
"true" = saves link files "false" = do not run
§ SC_COLLECT
| final int com.mesaverde.village.Village.SC_COLLECT = 4 |
|
static |
Number of hours (was 2) it takes to collect 1 load of standing crop fuel
§ SHRUB_DW_PERCENT
| final float com.mesaverde.village.Village.SHRUB_DW_PERCENT = .0335f |
|
static |
average percent of shrub standing crop that is dead wood
§ SHRUB_SC_PERCENT
| final float com.mesaverde.village.Village.SHRUB_SC_PERCENT = .013f |
|
static |
definitions below used in animal and firewood production average percent of shrub standing crop that is new growth
§ SITUATIONAL
| final boolean com.mesaverde.village.Village.SITUATIONAL = true |
|
static |
Toggle Situational Knowledge in BeliefSpace ON=TRUE;OFF=FALSE
§ SOCIAL
| final boolean com.mesaverde.village.Village.SOCIAL = false |
|
static |
"true" = enable social moves, otherwise "false"
§ SOIL_DEGRADE
| final int com.mesaverde.village.Village.SOIL_DEGRADE = 1 |
|
static |
Toggle for soil degradation 0=no degradation; 1=light degrade down to 30% 2=heavy degrade down to 60%
§ SPEED_MOVE
| final boolean com.mesaverde.village.Village.SPEED_MOVE = false |
|
static |
Faster Hunting Search Algorithm This Algorithm reduces program run time by condensing the number of hunting searches when an agent decides to move. Instead of hunting at every possible move location this algorithm will create a single number for all 25 cells in a 5 cell square.
§ STATE_GOOD
| final float com.mesaverde.village.Village.STATE_GOOD = 0.1f |
|
static |
default .1 natality/mortality revision for good times, negative for bad times
§ TRADE_BOOSTED_MOVE
| final boolean com.mesaverde.village.Village.TRADE_BOOSTED_MOVE = false |
|
static |
true indicates we will use proximity of trade partners to boost the move value of a cell.
§ TRAVEL_SPEED
| final int com.mesaverde.village.Village.TRAVEL_SPEED = 15 |
|
static |
In cells/hour 1 km = 5 cells so 15 = 3 km/hour. Value given here overridden in calcTravelCal()
§ TREE_DW_PERCENT
| final float com.mesaverde.village.Village.TREE_DW_PERCENT = .0655f |
|
static |
average percent of tree standing crop that is dead wood
§ TREE_SC_PERCENT
| final float com.mesaverde.village.Village.TREE_SC_PERCENT = .013f |
|
static |
average percent of tree standing crop that is new growth
§ UTMY
| final int com.mesaverde.village.Village.UTMY = 4165786 |
|
static |
UTM coordinates of cell (0,0) 12/04
§ WORK_CAL_MAN
| final int com.mesaverde.village.Village.WORK_CAL_MAN = 240 |
|
static |
caloric increments per hour work
§ WORLD_X_SIZE
| final int com.mesaverde.village.Village.WORLD_X_SIZE = 227 |
|
static |
World size in 200m x 200m cells.
The documentation for this class was generated from the following file:
- src/com/mesaverde/village/Village.java


Schedule a 1-on-1 portfolio review or career consultation with an experienced member of our staff,
and get straightforward advice on the fastest way to achieve your goals. Whether you're creatively
unfulfilled in your current job or looking to broaden your skill-set with new technologies or techniques,
we believe in making the path to great design easy for everyone to achieve.


21 April 2000
Disease Outbreak Reported
There have been a number of cases of meningococcal disease which are associated with returnees from the Haj and their close contacts.
France- Update. The number of cases of meningococcal disease associated with pilgrims who have travelled for the Haj has increased, and the total number of cases to date is 14, including 4 deaths. Eleven of the confirmed cases were of meningococcal serogroup W135.
United Kingdom- Update. The number of cases of meningococcal disease linked to pilgrims has increased, and is now 22 with 4 deaths. Twenty of the confirmed cases are of meningococcal serogroup W135 and 1 of N. meningitidis serogroup A. The onset of the last case of meningococcal disease reported to date (in a contact) was on 11 April.
Oman. There have been 12 cases to date, all have recovered. Of these, 3 were pilgrims (2 males aged 40 and 55 years and 1 female aged 60 years) returning from the Haj, and 9 cases were close contacts of those returned from the Haj. The ages of these patients ranged from 6 months to 80 years. The date of onset of the first case was 20 March, and the most recent case was reported on 6 April. Seven of the confirmed cases are of meningococcal serogroup W135 and 2 of Neisseria meningitidis serogroup A.
Saudi Arabia. A total of 199 cases with 55 deaths has been reported since the Haj last month. Bacteriological investigations have revealed N. meningitidis serogroup A in 55 cases, serogroup W135 in 30 and serogroup B in 1 case. A record number of pilgrims (around 1.3 million) travelled to Saudi Arabia for the Haj this year, with an increase in the number from South-East Asia. The health authorities are monitoring the situation closely. Case management and contact tracing are taking place.
Netherlands. There have been 2 confirmed cases and 1 probable case of meningococcal disease in close contacts of pilgrims returning from the Haj. The dates of onset in the confirmed cases were 5 and 6 April. Serogroup W135 Neisseiria meningitidis has been isolated from both.
Meningococcal disease. As with all types of meningococcal disease, early diagnosis and treatment are essential. The symptoms of group W135 meningococcal disease are the same as for other groups of the disease: sudden onset of intense headache, high fever, nausea, and vomiting, photophobia and stiff neck. The most severe clinical form of the disease, meningococcal septicaemia can be presented by abrupt onset, high fever, petechial rash or purpura.
WHO recommends that chemoprophylaxis be given to close contacts of the cases, such as persons sleeping in the same dwelling. In most countries rifampicin is recommended. Immunization against meningococcal disease A+C has been an entry requirement by Saudi Arabia for pilgrims travelling to the Haj. However, the meningococcal A+C vaccine does not protect against group W135 infection.
WHO encourages national reference laboratories to closely monitor meningococcal disease.


We offer around all kinds of books in almost all fields of interests.
It includes fiction, science, technology , mathematics , computer science and many more...
And this is also considered as the the world's first best library on 2020 , with it's wide ranging collection
After the arrival of covid-19 most of the libraries shut-down but our's was the only one who offerd virtual platform for the readers a different experience
To develop a love of reading, children need books in their own language with characters, themes, and settings that reflect their lives.
Let’s Read is a new initiative that draws on The Asia Foundation’s deep expertise and networks in communities across Asia
to cultivate the skills of local authors and illustrators while building Asia’s only free digital library for children.


">
Recipe Application
Home
(current)
About
Add Recipe
Recipe Name
Recipe Category
"Ingredient"
Direction


| ID | Formula | FW | DSSTox_CID | DSSTox_RID | DSSTox_GSID | DSSTox_FileID_Sort | TS_ChemName | TS_ChemName_Synonyms | TS_CASRN | CASRN_ChemName_Relationship | TS_Description | ChemNote | STRUCTURE_Shown | STRUCTURE_Formula | STRUCTURE_MW | STRUCTURE_ChemType | STRUCTURE_DefinedOrganicForm | STRUCTURE_IUPAC | STRUCTURE_SMILES | STRUCTURE_SMILES_Desalt | Substance_modify_yyyymmdd | |
| 2386-87-0 | 5177 | C14H20O4 | 252.3062 | 7466 | 78463 | 27466 | 3146 | 3,4-Epoxycyclohexylmethyl 3,4-epoxycyclohexanecarboxylate | 3,4-Epoxycyclohexylmethyl 3,4-epoxycyclohexanecarboxylate (7-Oxabicyclo[4.1.0]heptane-3-carboxylic acid, 7-oxabicyclo[4.1.0]hept-3-ylmethyl ester) | 2386-87-0 | primary | single chemical compound | tested chemical | C14H20O4 | 252.3062 | defined organic | parent | 7-oxabicyclo[4.1.0]hept-3-ylmethyl 7-oxabicyclo[4.1.0]heptane-3-carboxylate | O=C(OCC1CC2OC2CC1)C3CCC4OC4C3 | O=C(OCC1CC2OC2CC1)C3CCC4OC4C3 | 20080429 |


Nyzo version 527 (commit on GitHub) adds a basic web server to the client and verifier.
This version affects the client and the verifier. It does not affect the sentinel.
In an effort to promote decentralization and to provide a foundation for future improvements, this version adds a basic web server that can be activated in both the client and verifier.
In Verifier, if the appropriate preference is set, the web listener is started just before the main verifier loop.
If you want to activate the web listener for your verifier or client, add start_web_listener=1 to /var/lib/nyzo/production/preferences. Also, you will likely need to open port 80 to incoming traffic. If you are running a verifier or client locally and enable the web listener, you will be able to monitor the cycle through a web browser using the localhost or <IP_ADDRESS> address.
In Client, if the appropriate preference is set, the web listener is started just before the command loop is started.
In MicropayCreateCommand, a specific notice is shown if the provided argument appears to be a raw hexadecimal string. Also, an issue with the argument validation message has been corrected. The hexadecimal warning has also been added in other locations where a user might use a raw hexadecimal string when a Nyzo string is required.
The warning, presented for both private keys and public IDs, informs the user of the Nyzo string input requirement and references the appropriate command for generating a Nyzo string.
This is an example of how the warnings appear before the validation table in the send command.
The CycleController class builds the one page that is currently served by the Nyzo client and verifier. The page is very simple: it shows the frozen edge and the cycle. It performs an Ajax update every 5 seconds to refresh the content.
The EndpointMethod interface declares the method that is used for endpoints. In the next version, this interface will likely be modified to allow specification of a content type.
The WebListener class services HTTP requests. Note the com.sun.net imports. If anyone is using a Java runtime that does not include these imports, let us know, and we will look into alternative options for providing basic HTTP server functionality.
The buildEndpointMap() method builds the map that is used to direct endpoints to methods. The method references (::) used in this method were introduced in Java 8. In this case, endpointMap contains references to objects implementing the EndpointMethod interface. Because this interface only declares a single method that takes no arguments and returns byte[], then a method reference to a method that takes no arguments and returns byte[] is treated as a class implementing that interface. We generally avoid such succinct, clever code features (note the absence of Lambda expressions in the Nyzo codebase), as we find the verbose typing of Java generally improves readability of code. However, in this instance, the succinctness of method references allows for such a clean, easy-to-read assembly of an endpoint map that we feel use of the feature is justified.
The add() method is used to shorten each line of map-building code by a few more characters to make the code more compact and reduce the number of line breaks with longer endpoint and method names.
The WebUtil class contains methods for sanitizing strings for inclusion in web pages. It also contains a simple method for generating identifiers for page elements.
A number of small classes have been added for structuring HTML elements. Most elements extend the abstract HtmlTag class, and the only method they need to implement is the abstract getName() method.
The HtmlElement interface is the basic interface that all elements must implement to be included in the structure of a document. It declares a single method for rendering the element to a String.
The abstract HtmlTag class provides the core functionality of HTML document construction. The elements list provides the necessary structure for the document tree, and the attributes map provides storage of arbitrary attributes.
The ajaxUpdate method generates a simple script for updating an element from a specified endpoint.