0 is not defined
10 is not defined
11 is not defined
12 is not defined
20. answers without statement / reason
21. unfounded answer
22. reasoned answer
201. approval
202. rejection
211. Unfounded claim
212. Unfounded contradiction
213. Unfounded defense
214. Unfounded approval
221. Reasoned statement / opinion
222. Reasoned contradiction
223. Reasoned defense
224. Well-founded approval
0. Empathy to other positions
1. Empathy to panelists
2. Empathy to third person
0. No degrading treatment
1. Despicable use of comments
2. Despicable treatment of statements
3. Dismissive handling of utterances
4. Despicable treatment of statements by several groups
9. Despicable treatment of statements made by other persons
0. Extraordinary courtesies do not occur
1. Extraordinary courtesies occur
0. Honesty of other panelists
1. Honesty of other panelists is questioned
2. Honesty of the journalist is questioned
3. Honesty of politicians is questioned
4. Honesty of several stakeholder groups is questioned
9. Honesty of other people is questioned
0. No expression of positive emotions
10. Contain positive emotion
11. Expressions of joy
12. Expressions of love
13. Expressions of positive
0. No expression of negative emotions
10. Negative emotion included
11. Expressions of anger
12. Expressions of sadness
13. Expressions of negative
14. Expressions of fear
0. No expression of humor in the post available
1. Humor in the post available
0. No question available or recognizable
10. Question in the discussion post of a user available
11. asked a question
12. Demand or inquiry
13. Rhetorical question that does not require
0. No corrective statement available
1. corrective statement on the journalistic
2. corrective statement to another discussion
0. No summary of previous discussion
1. Summary of previous discussion without synthesis.
2. Summary of previous discussion with synthesis.
0. No discussion of the enforcemen
10. Topic of the journalistic presentation
11. Positive comments
12. Negative Statements


Interactive Computer Graphics - Assignment 9
Texture Mapping
Topics:
This assignment involves writing two programs.
- In the first program you will extend your HW7 program by
placing an image-based texture map on the Bezier patch.
- You may read in an image, or you can procedurally generate the image data.
- The 2D texture should be applied to the patch in the fragment shader.
- The second program will extend your HW6 program with 3D
procedural texturing.
- Calculate an "interesting" (not just a
checkerboard or simple stripes) 3D texture that is applied to
an smf model in your fragment shader.
- Incorporate the texture data into the Phong shading model.
Grading Scheme
- 2D image-based texture mapping: 4 points
- All HW7 features present: 1 point
- 3D procedural texture mapping: 4 points
- All HW6 features present: 1 point
Last modified May 27, 2015.


Module ctaudio
Creator Tools LUA Audio Utilities File
Author: Native Instruments Written by: Yaron Eshkar
This file includes useful functions for usage in Creator Tools Lua scripts.
Simply include this line in any script (if running a script from another location that users this file, make sure to point to the correct path): local ctAudio = require("CtAudio") Then you can simply call any function like: ctAudio.test_function()
It is also possible of course to copy entire specific functions from this list directly into your script. In that case remove the CtAudio part from the function name, and then simply call it normally like: test_function()
Functions
Functions
- CtAudio.test_function ()
- Test Function. Takes no arguments, prints to console when called.
- CtAudio.set_verbose_string (verbose_mode)
-
Sets Verbose Mode for SoX operations.
Parameters:
- verbose_mode bool set to true or false.
Returns:
-
string
returns either "-V3" when verbose_mode is true or "-V0" when false or nil.
- CtAudio.decode_flac (input_file, output_file, delete_original, verbose_mode)
-
Decode a FLAC file to WAV.
Parameters:
- input_file string the path to the FLAC file to decode.
- output_file string the desired path of the output file. Defaults to input_file.wav.
- delete_original bool when true the original file is deleted after the operation.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.encode_flac (input_file, output_file, delete_original, verbose_mode)
-
Encode a WAV file to FLAC.
Parameters:
- input_file string the path to t he WAV file to encode.
- output_file string the desired path of the output file. Defaults to input_file.flac.
- delete_original bool when true the original file is deleted after the operation.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.encode_ogg (input_file, compression_factor, output_file, delete_original, verbose_mode)
-
Encode a WAV file to OGG.
Parameters:
- input_file string the path to t he WAV file to encode.
- compression_factor string the OGG compression factor, defaults to 5.
- output_file string the desired path of the output file. Defaults to input_file.ogg.
- delete_original bool when true the original file is deleted after the operation.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.filter_audio (file, filter_type, filter_cut, verbose_mode)
-
Filter an audio file.
Parameters:
- file string the audio file to filter.
- filter_type
string
filter type. Can be:
highpass
lowpass
- filter_cut string cutoff point of the filter.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.reverse_audio (file, verbose_mode)
-
Reverse an audio file.
Parameters:
- file string the source file to reverse.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.silence_remove_audio (file, verbose_mode)
-
Remove silence from the start if an audio file.
Parameters:
- file string the source file to remove silence from.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.normalize_audio (file, dB, verbose_mode)
-
Normalize peaks of an audio file to set dB.
Parameters:
- file string the source file to normalise.
- dB string setting to normalise to.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.concatenate_audio (file1, file2, file3, verbose_mode)
-
Append an audio file to the end of another.
Parameters:
- file1 string the path to the first source audio file.
- file2 string the path to the second source audio file to append to the first.
- file3 string the desired path and name for the resulting audio file.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.concatenate_audio_folder (path, result_file, verbose_mode)
-
Append all audio found in a folder in an alphanumeric order.
Parameters:
- path string the path to the directory containing audio files.
- result_file string the desired path and name for the resulting audio file.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.convert_audio_bd (file, original_bit_depth, out_bit_depth, verbose_mode)
-
Convert the bit depth of an audio file.
Parameters:
- file string the path to the audio file to be converted.
- original_bit_depth string the original sample rate of the audio file.
- out_bit_depth string the desired new sample rate for the file.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.convert_audio_sr (file, original_sample_rate, out_sample_rate, verbose_mode)
-
Convert the sample rate of an audio file.
Parameters:
- file string the path to the audio file to be converted.
- original_sample_rate string the original sample rate of the audio file.
- out_sample_rate string the desired new sample rate for the file.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.wave_synth (output_file, sampl_rate, length, shape, freq, verbose_mode)
-
Wave Synth
Synthesize a wave audio file.
Parameters:
- output_file string the desired path of the output file. Defaults to synth.wav in the directory where script was run.
- sampl_rate string the sample rate of the resulting file. Defaults to 44100.
- length string the length of the resulting sample in seconds. Defaults to 0.5.
- shape
string
the shape of the wave. Defaults to sine, can be one of:
sine
triangle
sawtooth
trapezium
exp
noise
tpdfnoise
pinknoise
brownnoise
pluck
- freq string the frequency of the wave.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.kick_synth (output_file, sample_rate, length, start_freq, end_freq, bend_start, bend_end, bend_freq, bend_twice, fade_time, verbose_mode)
-
Kick Synth.
kick audio sample generator.
Parameters:
- output_file string output_file the desired path of the output file. Defaults to kick.wav in the directory where script was run.
- sample_rate string the sample rate of the resulting files. Defaults to 44100.
- length string the total length of the sample in seconds. Defaults to 0.5
- start_freq string the starting frequency of the oscillation. Defaults to 100.
- end_freq string the end frequency of the oscillation. Defaults to 40.
- bend_start string the place in the sample from which to start the bend operation in % of overall sample length. Defaults to 0.
- bend_end string the place in the sample where the bend operation will end in % of overall sample length. Defaults to 0.25.
- bend_freq string the amount of pitch bend to apply over time from bend_start to bend_end, in cents. Defaults to -1200.
- bend_twice bool when true, performs the bend operation twice.
- fade_time string the volume fade out time, in % of overall sample length.
- verbose_mode bool when true prints information to console.
Returns:
-
bool
- CtAudio.get_wav_chunk (input_file, chunk_position, chunk_size)
-
Extract a chunk from a WAV file.
Parameters:
- input_file string the file to open.
- chunk_position int the starting byte position of the chunk.
- chunk_size int the length of the chunk in bytes.
Returns:
-
string
returns a string containing the chunk.
- CtAudio.inject_smpl_chunk (input_file, file_size, channels_number, riff_chunk, fmt_chunk, data_chunk, fact_chunk, manufacturer, product, srate, mroot, mpitch, smptef, smpteo, lnum, sdata, lcue, ltype, lstart, lend, lfraction, ltimes)
-
Extract a chunk from a WAV file.
Parameters:
- input_file string the WAV file to inject the smpl chunk into.
- file_size string
- channels_number string
- riff_chunk string
- fmt_chunk string
- data_chunk string
- fact_chunk string
- manufacturer string
- product string
- srate string
- mroot string
- mpitch string
- smptef string
- smpteo string
- lnum string
- sdata string
- lcue string
- ltype string
- lstart string
- lend string
- lfraction string
- ltimes string
Returns:
-
bool
- CtAudio.run_audio_process (file, process_type, param1, param2, param3, param4)
-
Run an audio process on a WAV file.
Parameters:
- file string the path to the file to process.
- process_type
string
the type of process to run. Can be one of:
normalize
filter
reverse
silence
convert_sr
convert_bd
concatenate
- param1 string the first parameter to pass to the audio process.
- param2 string the second parameter to pass to the audio process.
- param3 string the third parameter to pass to the audio process.
- param4 string the fourth parameter to pass to the audio process.
Returns:
-
bool
- CtAudio.check_sample_set_integrity (path, verbose_mode, perform_rms_check, deviance_rms_factor, perform_loudness_check, deviance_loudness_factor, perform_peak_check, deviance_peak_factor, perform_rate_check, expected_sample_rate, perform_depth_check, expected_bit_depth, perform_loop_check, expected_loop, perform_file_size_check, deviance_file_size_factor, perform_file_names_check)
-
Check the integrity of a directory of samples using various comparison metrics.
Parameters:
- path string the path to the directory of samples to check and compare.
- verbose_mode bool when true prints information to console.
- perform_rms_check bool when true, compare RMS values.
- deviance_rms_factor number the accpetable deviance in RMS valus between the files.
- perform_loudness_check bool when true, compare loudness values.
- deviance_loudness_factor number the accpetable deviance in loudness valus between the files.
- perform_peak_check bool when true, compare peak values.
- deviance_peak_factor number the accpetable deviance in peak valus between the files.
- perform_rate_check bool when true, compare sample rate values.
- expected_sample_rate int the expected sample rate. Defaults to 44100.
- perform_depth_check bool when true, compare bit depth values.
- expected_bit_depth int the expected bit depth. Defaults to 24.
- perform_loop_check bool when true, compare check if loop points exists.
- expected_loop bool when true and performing a loop check, the check should pass if a loop exists.
- perform_file_size_check bool when true, compare file size values.
- deviance_file_size_factor int the acceptable different between the file sizes.
- perform_file_names_check bool when true, compare file names, if duplicates exist the check fails.
Returns:
-
bool
returns true when all checks pass, false when any check fails.
- CtAudio.read_audio_file (input_file)
-
Reads and prints detailed information about a WAV file.
The following information is printed to console:
File mode
File name
Header chunks list
File size
Channels Sample rate
Byte rate
Block align
Bit depth
Samples per channel
Header size
Chunk data size
Chunk fmt size
Chunk smpl size
Chunk fact size
Extra chunks size
Chunk fmt position
Chunk data position
Chunk smpl position
Chunk fact position
Loop count position
Sampler data size
Number of loops
Loop cue
Loop cue position
Loop type Loop type position
Loop start
Loop start position
Loop end
Loop end position
Loop fraction
Loop fraction position
Loop times
Loop times position
Parameters:
- input_file string the WAV file to read.
Returns:
-
bool
- CtAudio.semitone_interval ()
-
Helper that returns 1.05946.
Returns:
-
float
simply returns 1.05946.


Apply - Nigeria
.................................................Thank You for Visiting!!!!Work currently in Progress....... .........................................Thank You for Visiting!!!!Work currently in Progress.....................................


Hi there 👋 Welcome to the Deep Learning course for Vision, from basics to State-of-the-Art. Learn by coding without shortcuts, and with space-repetition.


Please wait while this device initialises.
This device has never checked in. Please connect your device to a working Internet connection. It will initialise automatically.
If it doesn't come online within a few minutes, check you have added the right MAC Address. And ensure it is connected to the Internet.
radius-1.ctapp.io
radius-2.ctapp.io
1812
1813
http://app.my-wifi.co
{{ box.upgrade_processing == true ? 'Upgrade Processing' : (box.state | deviceStatus) }}
Never
{{ box.connection_status_formatted }}
{{ box.tags || "No tags" }}
{{ box.wan_ip | emptyFilter }}
{{ box.public_ip | emptyFilter }}
{{ ::box.calledstationid }}
{{ box.uptime_seconds | amDurationFormat : 'second' }}
{{ (box.uptime | filterUptime) || '-' }}


WITNESS LIST Infrastructure Development and Security Committee February 24, 2003 -11:30A SB 209 ON: Rogers, Mark State Police Inspection (Texas Department of Public Safety), Austin, TX


Here they are:
-     Blockchain
-     Artificial Intelligence
-     AR/VR
-     Hardware
-     Game Development
Here they are:
Acceptances are rolled out individually. If more than 50% of the team is individually selected, the entire of the team gets selected. If not, please contact us immediately so that we can review your team again.
Unfinished or unimpressive (so you think) projects should be presented anyway!
Allahabad is well connected to all major cities of India by train. The airport at Allahabad has a daily flight to Delhi. Varansi International Airport is a 3 hour drive from Allahabad while Lucknow International Airport is 5 hours away.
Not to worry, most people don’t! We’ll have team formation and ideation events geared towards helping you find people to work with.
Then we're so glad HINT will be your first ever! It’s helpful to have some programming or technical experience, but it’s not a requirement. We’ll have talks, mentors and workshops to help you with your project.
HINT has always been a huge supporter of gender equality and empowerment. We've treasured swag exclusively for girls to promote and encourage their participation. Gotta grab em' all girls!
No. In the interest of fairness, students should not be working on their projects before Hack in the North begins and we do not allow participants to work on pre-existing projects. However, you can familiarize yourself with all the tools and technologies you intend to use beforehand!
We can’t guarantee reimbursements for everyone, but we don’t want money to keep you from experiencing HINT. You’ll get a reimbursement amount along with your invitation. Let us know if you still need help making your way to Allahabad and we’ll see what we can do.


Slack Documentation
RAMADDA Monitors and Slack Integration
You can add a monitor to your RAMADDA repository that will post a message to Slack when entries that match certain search criteria are created.
- Login to your RAMADDA and go to your User Settings->Monitors page.
- Create a new Slack Monitor, specify its effective date range and any search
criteria (e.g.,text, spatial, type).
- Enter the Incoming Web Hook URL you get from Slack.
- Save the Monitor. A link will be posted to slack when a new entry is created that meets the search criteria.


Go Back
Area of Triangle
Enter the lengths of three sides of triangle 👇
Sides:
Calculate
Formula will be used: Area= √s(s-a)(s-b)(s-c)


title=Does it matter whether I return an empty collection or a null one? date=2017-01-01 type=post tags=blog status=published ~~~~~~
This is kind of a philosophical question. Is code A any better or worse than code B?
Collection<String> words() { Collection<Sentence> sentences = dao.getSentences(); if (sentences != null) { return sentences.stream().flatMap(sentence -> sentence.getWords().stream()) .collect(Collectors.toList()); } else { return Collections.emptyList(); } }
Optional<Collection<String>> words() { Collection<Sentence> sentences = dao.getSentences(); if (sentences == null) { return Optional.empty(); } else { return Optional.of( sentences.stream().flatMap(sentence -> sentence.getWords().stream()) .collect(Collectors.toList())); } }
In the absence of documentation, here is how I would interpret two methods like those.
| Method | What the method is expected to do | What the method actually does | What you get |
|---|---|---|---|
| A | Obtain some X and give you some Y based upon those X |
If unable to obtain X, we'll just pretend that we did. Thereby, we can pretend that we know what Y exists, and arbitrarily provide some Y (zero of them, perhaps). No one will ever know the difference! |
Some (zero) Y |
| B | Obtain some X and give you some Y based upon those X |
If unable to obtain X, then we don't know what X exists. Some other source may know, but we don't. Therefore we don't know what Y exists either. We'll admit that we don't know, which may be a helpful signal to the user. |
null or Optional.empty() |
You may notice that I'm biased on this issue, but either way, there is a difference. For a given scenario, how do you decide whether this matters? Basically, how do you know whether it's going to affect a user's (another developer's) experience? A few factors may be considered:
In any case, is it really necessary to force developers to ask these questions and have to solve mysteries about what a function result is supposed to mean? Providing a clear contract can make this a non-issue:
/** * @return a Collection containing all the Words in all the Sentences. If the Sentences are unknown, * then an empty list will be returned. */ @NotNull public Collection<String> words() { ...


Namespace for jQuery plug-ins.
- Source:
- See:
-
Namespaces
- appendMoreLinks
- showOrHideSection
- slideToPanel
Methods
(static) appendMoreLinks()(optionsopt) → {jqr}
jQuery plug-in for showing only the first / top part of a section and appending a link
(like "more…") enabling users to show the rest of the section if they want to read it.
Take this HTML code for example:

Lorem Ipsum …

Some more…

Even more…

With JavaScript disabled, a user will see all thee paragraphs. With JavaScript enabled
you may execute a code like the following example in order to hide all ".more" blocks
on load and append a "more…" link to each ".appendMore" block, wich, when clicked, will
show the following ".more" block (and hide the link).
$(function() {
$(".more").hide();
$(".appendMore").appendMoreLinks();
});
- Of course, a web page may contains more than one pair of some node of class "appendMore"
followed by a node of class "more".
- The appendMoreLinks() function will simply append the links which will show the following
".more" node. It does not initially hide the ".more" sections, which you should do
dynamically by javascript just like in the example above. This has the advantage over static
style attributes in your HTML or a static CSS rule like (
.more{display:none}
)
that this way, the whole content will be visible if JavaScript should be disabled by the user,
which is also importent regarding accessibility.
- Of course you may choose different class names. If the "more" blocks should use different
classes than "more", don't forget to set the option
moreContentSelector
accordingly!.
- The following ".more" node does not have to be descendant of the same parent node as the "appendMore" node,
it may also be a descendant of one of the ".more"-links's parents, like for example:

Lorem Ipsum …

…

- Nesting of "append-more-sections" is allowed. Example:

Lorem Ipsum …

 class="appendMore"gt;Some more…

 class="more"gt;Even more…

- Even simpler, a section may be of both classes for a multi-step revelation of following content, Example:

Lorem Ipsum …

Some more…

Even more…

- When clicking the more link, the next "more" section will be shown with a
vertical slide-down transition. But this only works if the "more" section is a block
element (not an inline element).
Parameters:
| Name |
Type |
Attributes |
Description |
options |
object
|
<optional>
|
An objects whose properties may specify options (override default options),
see list of default options, which also specifies
all available/overridable options. |
- Source:
Returns:
the same jQuery resultset it was called on, allows chainable method calls.
-
Type
-
jqr
(static) childPanel(optionsopt) → {jqr}
jQuery plug-in function: Helper function when working with sliding panels
(see
jQuery.fn.slideToPanel()): When called on a one-element jQuery resultset
containing a sliding panel, this function returns a jQuery object containing the panel's
sub panel. If the panel ($(this)) does not yet contain a sub panel (i.e. it's the
last panel in the chain), a new sub panel will be appended and returned.
Depends on the options panelClass
and contentClass
,
see jQuery.fn.slideToPanel.DEFAULTS.
Selects the children of $(this) of class panelClass
, which should usually
be exactly one or none. If it's none, a div element of class panelClass
will be
created and appended (and returned), which in turn contains a div child element of class
contentClass
.
Parameters:
| Name |
Type |
Attributes |
Description |
options |
object
|
<optional>
|
An object defining options for the slideToPanel functions.
This function depends on the options panelClass and contentClass. |
- Source:
Returns:
a jQuery resultset containing the (previously existing or newly created)
child panel of $(this). Not empty.
-
Type
-
jqr
(static) getSectionHeading(optionsopt) → {jqr}
Parameters:
| Name |
Type |
Attributes |
Description |
options |
object
|
<optional>
|
Options just like for jQuery.fn.showOrHideSection().
Is searched for existance of the headingSelector option. If that's no present
(or no argument was given at all), the current setup)
is used, and if no setup is present, the default value
will be used. |
- Source:
Returns:
jQuery resultset (possibly empty) with the heading element, if found.
-
Type
-
jqr
(static) hideChildren(childrenSelect, optionsopt) → {jqr}
jQuery plug-in: Like
jQuery.fn.showOrHideChildren, but without evaluation of
a toggle condition. Instead, all selected children get hidden (if they aren't already hidden).
(And of cource the heading's class list and toggle's aria-expanded attribute will be set,
just like showOrHideChildren does when the condition evaluates to "hide".)
Parameters:
- Source:
- See:
-
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) hideSection(optionsopt) → {jqr}
jQuery plug-in function: Hide a section: If it's showing, hide it, if it's already hidden,
do nothing.
Parameters:
| Name |
Type |
Attributes |
Description |
options |
object
|
<optional>
|
Options for this function. This is merged with the setup.
If no options are given at all, the setup is used (see jQuery.fn.setupShowOrHideSection).
If no setup has been made, the DEFAULTS are used. |
- Source:
- See:
-
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) isBottomInViewport(viewportopt) → {boolean}
jQuery plug-in function: checks whether the bottom of the first element in the set of matched elements
is visible within the viewport.
Usage pattern:
if ($(selector).isBottomInViewport())
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to check against. The default viewport is the whole window. |
- Source:
- See:
-
Returns:
true if the bottom of the first element of the implicit argument is
within the viewport
-
Type
-
boolean
(static) isLeftInViewport(viewportopt) → {boolean}
jQuery plug-in function: checks whether the left of the first element in the set of matched elements
is visible within the viewport.
Like
jQuery.fn.isTopInViewport, but meant for horizontally scrolling viewports.
Usage pattern:
if ($(selector).isLeftInViewport())
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to check against. The default viewport is the whole window. |
- Source:
- See:
-
Returns:
true if the left of the first element of the implicit argument is
within the viewport
-
Type
-
boolean
(static) isLeftLeftOutOfViewport(viewportopt, deltaopt) → {boolean}
jQuery plug-in function: checks whether the left of the first element in the set of matched elements
is not within the viewport but to the left of it. The element itself may be partially visible, but
at least its left part is cut off.
Like
jQuery.fn.isTopAboveViewport, but meant for horizontally scrolling viewports.
Usage pattern:
if ($(selector).isLeftLeftOutOfViewport())
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to check against. The default viewport is the whole window. |
delta |
int
|
<optional>
|
0
|
The delta is added from the calculated viewport left, i.e.
if you enter a positive value, the function will return true "earlier", i.e. even if the
top might be in viewport, but less that delta pixels below the left viewport edge. |
- Source:
Returns:
true if the left side of the first element of the implicit argument is
to the left of the viewport (plus delta)
-
Type
-
boolean
(static) isLeftRightOutOfViewport(viewportopt, deltaopt) → {boolean}
jQuery plug-in function: checks whether the left of the first element in the set of matched elements
is not within the viewport but lies to the right of it.
Like
jQuery.fn.isTopBelowViewport, but meant for horizontally scrolling viewports.
Usage pattern:
if ($(selector).isLeftRightOutOfViewport())
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to check against. The default viewport is the whole window. |
delta |
int
|
<optional>
|
0
|
The delta is substracted from the calculated viewport right, i.e.
if you enter a positive value, the function will return true "earlier", i.e. even if the
top is not yet quite right out of the viewport, but to the right of viewport right minus delta. |
- Source:
Returns:
true if the left of the first element of the implicit argument is
to the right of the right-hand side of the viewport (minus delta)
-
Type
-
boolean
(static) isRightInViewport(viewportopt) → {boolean}
jQuery plug-in function: checks whether the right of the first element in the set of matched elements
is visible within the viewport.
Like
jQuery.fn.isBottomInViewport, but meant for horizontally scrolling viewports.
Usage pattern:
if ($(selector).isRightInViewport())
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to check against. The default viewport is the whole window. |
- Source:
- See:
-
Returns:
true if the right of the first element of the implicit argument is
within the viewport
-
Type
-
boolean
(static) isTopAboveViewport(viewportopt, deltaopt) → {boolean}
jQuery plug-in function: checks whether the top of the first element in the set of matched elements
is not within the viewport but lies above. The element itself may be partially visible, but
at least its top is cut off.
Usage pattern:
if ($(selector).isTopAboveViewport())
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to check against. The default viewport is the whole window. |
delta |
int
|
<optional>
|
0
|
The delta is added from the calculated viewport top, i.e.
if you enter a positive value, the function will return true "earlier", i.e. even if the
top might be in viewport, but less that delta pixels below the viewport top. |
- Source:
Returns:
true if the top of the first element of the implicit argument is
above the top of the viewport (plus delta)
-
Type
-
boolean
(static) isTopBelowViewport(viewportopt, deltaopt) → {boolean}
jQuery plug-in function: checks whether the top of the first element in the set of matched elements
is not within the viewport but lies beneath (so a user has to scroll forwards in order for
the element to enter the viewport).
Usage pattern:
if ($(selector).isTopBelowViewport())
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to check against. The default viewport is the whole window. |
delta |
int
|
<optional>
|
0
|
The delta is substracted from the calculated viewport bottom, i.e.
if you enter a positive value, the function will return true "earlier", i.e. even if the
top is not yet quite below viewport, but below viewport bottom minus delta. |
- Source:
Returns:
true if the top of the first element of the implicit argument is
below the bottom of the viewport (minus delta)
-
Type
-
boolean
(static) isTopInViewport(viewportopt) → {boolean}
jQuery plug-in function: checks whether the top of the first element in the set of matched elements
is visible within the viewport.
Usage pattern:
if ($(selector).isTopInViewport())
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to check against. The default viewport is the whole window. |
- Source:
- See:
-
Returns:
true if the top of the first element of the implicit argument is
within the viewport
-
Type
-
boolean
(static) panelContent(optionsopt) → {jqr}
jQuery plug-in function: Helper function when working with sliding panels
(see
jQuery.fn.slideToPanel()): When called on a one-element jQuery resultset
containing a sliding panel, this function returns a jQuery object containing the panel's
content. More precisely: This function returns the jQuery resultset from a search
for all children of $(this) of class
options.contentClass
,
(see
jQuery.fn.slideToPanel.DEFAULTS).
Parameters:
| Name |
Type |
Attributes |
Description |
options |
object
|
<optional>
|
An object defining options for the slideToPanel functions.
This function only depends on the option contentClass. |
- Source:
Returns:
a jQuery resultset containing the child element of the panel
which has the class options.contentClass
.
-
Type
-
jqr
jQuery plug-in function: Tries to scroll the selected section into view. The section
is the first element of the matched elements (jQuery result set).
If this sections height (minus twice the tolerance) is larger than the viewport's height,
it will be aligned by its top (see
viewportAlignTop),
otherwise it will be aligned by its bottom (see
viewportAlignBottom).
If the current viewport is above the target element, this will result in scrolling down only
as far as necessary to get the whole element into view (or to get its top into view, if it's too
large for the viewport).
Usage pattern:
$("#mySection").scrollDownIntoView();
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to align against. The default viewport is the whole window. |
tolerance |
int
|
<optional>
|
30
|
tolerance / approx. margin to be left free between the viewport
edges and the target element |
duration |
int
|
<optional>
|
200
|
duration of the scrolling animation. The default value of 200ms is defined
in jQuery.fn.showOrHideSection.DEFAULTS, which may be overridden.
(if the scrollTo plug-in is loaded). |
- Source:
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
jQuery plug-in function: Tries to horizontally scroll the selected section into view. The section
is the first element of the matched elements (jQuery result set).
If this sections width (minus twice the tolerance) is larger than the viewport's width,
it will be aligned by its left (see
viewportAlignLeft),
otherwise it will be aligned by its bottom (see
viewportAlignRight).
If the current viewport is to the left of the target element, this will result in scrolling right only
as far as necessary to get the whole element into view (or to get its left into view, if it's too
large for the viewport).
Usage pattern:
$("#mySection").scrollRightIntoView();
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to align against. The default viewport is the whole window. |
tolerance |
int
|
<optional>
|
30
|
tolerance / approx. margin to be left free between the viewport
edges and the target element |
duration |
int
|
<optional>
|
200
|
duration of the scrolling animation. The default value of 200ms is defined
in jQuery.fn.showOrHideSection.DEFAULTS, which may be overridden.
(if the scrollTo plug-in is loaded). |
- Source:
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) setupShowOrHideChildren(childrenSelect, optionsopt) → {jqr}
jQuery plug-in function: Stores a central setup for the functions
jQuery.fn.showOrHideChildren,
as well as
jQuery.fn.showChildren and
jQuery.fn.hideChildren.
A setup is recommended if you have multiple calls for those functions in your code and don't
want to redundantly configure options in each call.
The setup is stored in the data map for each selected node (of the jQuery resultset for which
this function is called).
Parameters:
| Name |
Type |
Attributes |
Description |
childrenSelect |
string
|
|
Selector String for selecting those ancestor nodes of each
selected node that should be shown or hidden. This is a required argument for a setup. |
options |
object
|
<optional>
|
Options for the showOrHide functions. |
- Source:
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) setupShowOrHideSection(options) → {jqr}
jQuery plug-in function: Saves options for
jQuery.fn.showOrHideSection() as well
as similar functions like
jQuery.fn.showSection permanently in a data cache
associated with all of the selected elements.
So whenever you later call something like
$(selector).showOrHideSection()
for the same selector or one selecting a subset of that used for this setup, the options
passed to this setup function will be used during that showOrHide operation.
Parameters:
| Name |
Type |
Description |
options |
object
|
An object defining options for the showOrHideSection(), showSection()
oder hideSection() functions. See DEFAULTS options
for a list of available options and their default values. For any option you omit in your options
argument, the default option will be used. So this argument only needs to specify options
that differ from the defaults. |
- Source:
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) setupSlideToPanel(optionsopt) → {jqr}
jQuery plug-in function: Saves options for
jQuery.fn.slideToPanel() as well
as similar functions like jQuery.fn.slideOutPanel permanently in a data cache
associated with all of the selected elements.
This function may be called for any element
containing sliding panels, and
the setup options provided to this function and stored in the data of the selected
container(s) will apply to all sliding panels found within this container (res. these containers).
Parameters:
| Name |
Type |
Attributes |
Description |
options |
object
|
<optional>
|
An object defining options for the slideToPanel(), slideOutPanel()
or childPanel() functions. See DEFAULTS options
for a list of available options and their default values. For any option you omit in your options
argument, the default option will be used. So this argument only needs to specify options
that differ from the defaults. |
- Source:
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) showChildren(childrenSelect, optionsopt) → {jqr}
jQuery plug-in: Like
jQuery.fn.showOrHideChildren, but without evaluation of
a toggle condition. Instead, all selected children get shown (if they aren't already visible).
(And of cource the heading's class list and toggle's aria-expanded attribute will be set,
just like showOrHideChildren does when the condition evaluates to "show".)
Parameters:
- Source:
- See:
-
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) showOrHideChildren(childrenSelect, optionsopt) → {jqr}
jQuery plug-in function: For each element of the jQuery resultset for which this function
is called, search all decendents (children of the node as well as their children etc.) for
matches of a child-selector (first argument) and either hide or show all those matching children.
If no condition option is passed in the options argument, the following default condition
will decide whether the children will be shown or hidden: If the selected heading element
(see
jQuery.fn.showOrHideSection() and
jQuery.fn.showOrHideSection.DEFAULTS
for details) has the class "showing" (more precisely the class defined in options.classShowing,
which defaults to "showing", see
jQuery.fn.showOrHideSection.DEFAULTS), then the
children will be hidden (and the class "showing" will be removed from the heading and
the class "hidden" (resp. options.classHidden) will be added).
For the default toggle condition to work, a heading element is obligatory.
See heading
option in Default Options!
If the default value (selecting an element with the ID of the selected parent plus "_h" suffix)
is not applicable in your code, don't forget to specify a suitable heading option in the arguments!
Just like jQuery.fn.showOrHideSections() this function changes the class list
of the heading element (see previous paragraph) which enables you to specify some CSS
for the state visualization, and it also supports specifying an aria-expanded
attribute of a toggle element (see options) for better accessibility.
Supports almost every option that jQuery.fn.showOrHideSection() supports,
see jQuery.fn.showOrHideSection.DEFAULTS for a list with their default values.
Please not, though, that the "store" option is currently unsupported for this plug-in.
Three call signatures are supported:
$(parentSelector).showOrHideChildren(childrenSelector, options)
: This is
the default signature and the only allowed one if no setup has been stored via
jQuery.fn.setupShowOrHideChildren. The options argument is optional,
the childrenSelector is required without a setup!
$(parentSelector).showOrHideChildren(options)
: This signature
is only valid if a setup has been stored which at least defines a childrenSelector.
Any options passed here will override options present in the setup, options not stated
in this arguments will be taken from the setup (or from the DEFAULTS
if not present in setup).
$(parentSelector).showOrHideChildren()
: The parameterless call
is also only allowed if a setup has been stored. That setup will then be used without
overrides.
Parameters:
| Name |
Type |
Attributes |
Description |
childrenSelect |
string
|
|
Selector String for selecting those ancestor nodes of each
selected node that should be shown or hidden. Usually a required argument, except
if a setup has been stored which already defines
such a childrenSelect selector. Then this argument on the actual showOrHideChildren()
call is optional. |
options |
object
|
<optional>
|
Options for this function. This is merged with the setup.
If no options are given at all, the setup is used (see jQuery.fn.setupShowOrHideChildren).
If no setup has been made, the DEFAULTS are used. |
- Source:
- See:
-
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) showOrHideSection()(optionsopt) → {jqr}
jQuery plug-in function: Toggle a section: If the
condition is true, show the section,
otherwise hide it. The condition can be specified by a predicate in the options argument,
the default condition (if none is specified by the caller) is that the selected element
is not visible (
!$(this).is(":visible")
).
This function does not only show or hide the selected element(s), it also supports,
changing the class of a heading, so this may reflect the state (hidden or showing).
Also a form element used for transmitting the current visibility state in a post request
can be implicitly updated.
Parameters:
| Name |
Type |
Attributes |
Description |
options |
object
|
<optional>
|
Options for this function. This is merged with the setup.
If no options are given at all, the setup is used (see jQuery.fn.setupShowOrHideSection).
If no setup has been made, the DEFAULTS are used. |
- Source:
- See:
-
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) showSection(optionsopt) → {jqr}
jQuery plug-in function: Show a section: If it's hidden, show it, if it's already visible,
do nothing.
Parameters:
| Name |
Type |
Attributes |
Description |
options |
object
|
<optional>
|
Options for this function. This is merged with the setup.
If no options are given at all, the setup is used (see jQuery.fn.setupShowOrHideSection).
If no setup has been made, the DEFAULTS are used. |
- Source:
- See:
-
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) slideInPanel(optionsopt) → {jqr}
jQuery plug-in function: Slide the selected panel into view if not yet visible.
Differs from
jQuery.fn.slideToPanel() only in the case that its child panel
is already visible: Then this function will
not hide the child panel (or any
successors).
Simply ensures that the selected panel and all its predecessors are made visible.
I.e.: If the selected panel is still invisible, show it (after showing all still invisible
predecessord). If the selected panel is already visible nothing changes.
Parameters:
| Name |
Type |
Attributes |
Description |
options |
object
|
<optional>
|
An object defining options.
See DEFAULTS options
for a list of available options and their default values. For any option you omit in your options
argument, the default option will be used. So this argument only needs to specify options
that differ from the defaults. |
- Source:
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) slideToPanel()(optionsopt) → {jqr}
jQuery plug-in function: Slide the selected panel into view (to be the last visible panel).
Ensure that the selected panel and all its predecessors are made
visible while all child panels stay or get hidden.
I.e.: If the selected panel is still invisible, show it (after showing all still invisible
predecessord). If the selected panel is already visible and one or more of its successors are
visible too, then hide all those successors.
Parameters:
| Name |
Type |
Attributes |
Description |
options |
object
|
<optional>
|
An object defining options.
See DEFAULTS options
for a list of available options and their default values. For any option you omit in your options
argument, the default option will be used. So this argument only needs to specify options
that differ from the defaults. |
- Source:
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) viewportAlignBottom(viewportopt, toleranceopt, durationopt) → {jqr}
jQuery plug-in function: Tries vertical scroll in order to align the bottom of the first
element in the set of matched elements (jQuery result set) with the bottom of the viewport.
The alignment isn't always quite accurate, also an exact alignment with the bottom of the viewport
often isn't desirable, a little margin between the viewport and the element may look better.
That's why a tolerance is specified, defaulting to 30 px. This means, the plug-in will try
to align the bottom of the matched element approximately 30px above the bottom of the viewport,
the effective margin may be smaller.
Optional Dependency: jquery.scrollTo:
If this plug-in is available, it will be used to scroll animatedly, otherwise the alignment
will be instantaneous, without animation.
Usage pattern:
$("#mySection").viewportAlignBottom();
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to align against. The default viewport is the whole window. |
tolerance |
int
|
<optional>
|
30
|
approx. margin between bottom of the element and bottom of the viewport, see above |
duration |
int
|
<optional>
|
200
|
duration of the scrolling animation. The default value of 200ms is defined
in jQuery.fn.showOrHideSection.DEFAULTS, which may be overridden.
(if the scrollTo plug-in is loaded). |
- Source:
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) viewportAlignLeft(viewportopt, toleranceopt, durationopt) → {jqr}
jQuery plug-in function: Tries horizontal scroll in order to align the left of the first
element in the set of matched elements (jQuery result set) with the left end of the viewport.
(Horizontal version of
jQuery.fn.viewportAlignTop.)
Optional Dependency: jquery.scrollTo:
If this plug-in is available, it will be used to scroll animatedly, otherwise the alignment
will be instantaneous, without animation.
Usage pattern:
$("#mySection").viewportAlignLeft();
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to align against. The default viewport is the whole window. |
tolerance |
int
|
<optional>
|
20
|
approx. margin between left of the element and left of the viewport, see above |
duration |
int
|
<optional>
|
200
|
duration of the scrolling animation. The default value of 200ms is defined
in jQuery.fn.showOrHideSection.DEFAULTS, which may be overridden.
(if the scrollTo plug-in is loaded). |
- Source:
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) viewportAlignRight(viewportopt, toleranceopt, durationopt) → {jqr}
jQuery plug-in function: Tries horizontal scroll in order to align the right of the first
element in the set of matched elements (jQuery result set) with the right of the viewport.
(Horizontal version of
jQuery.fn.viewportAlignBottom.)
Optional Dependency: jquery.scrollTo:
If this plug-in is available, it will be used to scroll animatedly, otherwise the alignment
will be instantaneous, without animation.
Usage pattern:
$("#mySection").viewportAlignRight();
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to align against. The default viewport is the whole window. |
tolerance |
int
|
<optional>
|
30
|
approx. margin between right of the element and right of the viewport, see above |
duration |
int
|
<optional>
|
200
|
duration of the scrolling animation. The default value of 200ms is defined
in jQuery.fn.showOrHideSection.DEFAULTS, which may be overridden.
(if the scrollTo plug-in is loaded). |
- Source:
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr
(static) viewportAlignTop(viewportopt, toleranceopt, durationopt) → {jqr}
jQuery plug-in function: Tries vertical scroll in order to align the top of the first
element in the set of matched elements (jQuery result set) with the top of the viewport.
The alignment isn't always quite accurate, also an exact alignment with the top of the viewport
often isn't desirable, a little margin between the upper window edge and the element may look better.
That's why a tolerance is specified, defaulting to 20 px. This means, the plug-in will try
to align the top of the matched element approximately 20px above the top of the viewport,
the effective margin may be smaller.
Optional Dependency: jquery.scrollTo:
If this plug-in is available, it will be used to scroll animatedly, otherwise the alignment
will be instantaneous, without animation.
Usage pattern:
$("#mySection").viewportAlignTop();
Parameters:
| Name |
Type |
Attributes |
Default |
Description |
viewport |
jqr
|
<optional>
|
$(window)
|
jQuery resultset, the first element in this set
defines the viewport to align against. The default viewport is the whole window. |
tolerance |
int
|
<optional>
|
20
|
approx. margin between top of the element and top of the viewport, see above |
duration |
int
|
<optional>
|
200
|
duration of the scrolling animation. The default value of 200ms is defined
in jQuery.fn.showOrHideSection.DEFAULTS, which may be overridden.
(if the scrollTo plug-in is loaded). |
- Source:
Returns:
the same jQuery resultset this function was called upon,
allows for chaining several jQuery plug-in calls on the same result set.
-
Type
-
jqr


As a data abstraction, a queue is traditionally defined as any object that implements the following operations given in Table 17:
| Function | Implemented operation |
empty() | Returns true if the collection is empty |
size() | Returns number of elements in collection |
front() | Returns (but does not remove) the element at the front of the queue |
back() | Returns (but does not remove) the element at the end of the queue |
push(newElement) | Pushes a new element on to the end of the queue |
pop() | Removes (but does not return) the element at the front of the queue |
Note that removing the element at the front of the queue does not return a value. If the value of the element is important, you must retrieve the element before you remove the element
Programs that use the queue data abstraction should include the queue header file:
#include <queue>
A declaration for a queue must specify the element type, and can also specify the container that will hold the values. For a queue the default container is a deque, but a list can also be used. The list version is generally smaller, while the deque version may be slightly faster. The following are sample declarations for a queue:
std::queue<int, list<int> > queueOne; std::queue<double> queueTwo; // uses a deque std::queue<Part*, list<Part*> > queueThree; std::queue<Customer, list<Customer> > queueFour;
The last example creates a queue of a user-defined type named Customer. As with the stack container, all objects stored in a queue must understand operator<() and operator==().
Because the queue does not implement an iterator, few of the generic algorithms described in Part IV apply to queues.
NOTE -- The complete version of the bank teller simulation program is in teller.cpp.
Queues are often found in businesses, such as supermarkets or banks. Suppose you are the manager of a bank, and you need to determine how many tellers to have working during certain hours.  For example, you note that during peak hours there is a ninety percent chance that a customer will arrive every minute.
We create a simulation by first defining objects to represent both customers and tellers. For customers, the information we want to know is the average amount of time they spend waiting in line. Thus, customer objects simply maintain two integer data members: the time they arrive in line, and the time they spend at the counter. The latter is a value randomly selected between 2 and 8.
class Customer { public: int arrivalTime; int processTime; Customer (int at = 0) : arrivalTime (at), processTime (2 + irand () % 6) {} // are we done with our transaction? bool done () { return --processTime < 0; } // order by arrival time bool operator< (const Customer& c) const { return arrivalTime < c.arrivalTime; } };
Because objects can only be stored in a standard queue if they can be compared for ordering, it is necessary to define operator<() for customers. Customers can also tell us when they are done with their transactions. Tellers are either busy servicing customers, or they are free. Thus, each teller value holds two data members: a customer, and a boolean flag. Tellers define a member function to answer whether they are free or not, as well as a member function that is invoked when they start servicing a customer.
class Teller { public: Teller (): free (true) { } bool isFree () { // are we free to service new customer? if (free) return true; if (customer.done()) free = true; return free; } // start serving new customer void addCustomer (const Customer &c) { customer = c; free = false; } private: bool free; Customer customer; };
The main program, then, is a large loop cycling once each simulated minute. The probability is 0.9 that each minute a new customer is entered into the queue of waiting customers. Each teller is polled, and if any are free they take the next customer from the queue. Counts are maintained of the number of customers serviced and the total time they spent in queue. From these two values we can determine, following the simulation, the average time a customer spent waiting in the line.
int main () { const int numberOfTellers = 5; const int numberOfMinutes = 60; double totalWait = 0; int numberOfCustomers = 0; std::vector<Teller> teller (numberOfTellers); std::queue<Customer> line; for (int t = 0; t < numberOfMinutes; t++) { if (irand() % 10 < 9) line.push (Customer (t)); for (int i = 0; i < numberOfTellers; i++) { if (teller[i].isFree () && !line.empty ()) { Customer& frontCustomer = line.front (); numberOfCustomers++; totalWait += t - frontCustomer.arrivalTime; teller[i].addCustomer (frontCustomer); line.pop (); } } } std::cout << "average wait: " << (totalWait / numberOfCustomers) << std::endl; }
By executing the program several times, using various values for the number of tellers, the manager can determine the smallest number of tellers that can service the customers while maintaining the average waiting time at an acceptable level.


Custom Callbacks¶
-
class
callbacks.
BatchLogger
(batch_f, epoch_f, batchInterval, metrics)[source]¶ Bases:
keras.callbacks.Callback
Custom keras callback to record the results more frequently
Initialize the batch Logger.
Parameters: - batch_f (String) – file to put batch results in
- epoch_f (String) – file to put epoch results in
- batchInterval (int) – number of batches between the recording batch results
- metrics (list) – the metrics used to measure model performance


The weekly Link Mash is a curated selection of tools, stories, and other links that I found during my travels on the web. All of my links can be found on my Pinboard; you can also find the Link Mash archives here.
- jlevy/the-art-of-command-line. “the-art-of-command-line – Master the command line, in one page.” Such a handy reference!
- Here’s The First Actual Gameplay Footage Of Star Wars Battlefront | TechCrunch. I LITERALLY CANNOT WAIT.
- How to Force an MSI Package to Install Using Administrator Mode. Installing an MSI under Administrator privileges is such a hassle; leave it to the HowTo Geek to make my life easier.
- airbnb/javascript · GitHub. “A mostly reasonable approach to JavaScript.” Another wonderfully handy reference.
- US DOLLAR REDESIGN PROJECT on Behance. This may be a pipe dream, but I think U.S. currency is long overdue for a refresh.
- blackbox/README.md at master · StackExchange/blackbox. A great means to store secure information in an otherwise “other-person-accessible” Git repository.
- what3words | Addressing the world. “what3words is a giant grid comprised of 57 trillion 3m x 3m squares that cover the entire globe. It is the simplest way to communicate location.”
This Link Mash was generated by PinPress, a simple tool to generate text templates from Pinboard data.


About me:
DJ and Radio Producer for XRAY.FM KXRY Portland at 91.1 FM and 107.1 FM.
I enjoy creative projects related to music.
Strong communication skills. Easy collaboration across a diverse set.
I work in many environments and can assimilate quickly.
Education
Skidmore College 1999 Bachelor of Science degree in Studio Art and Art History.
Catlin Gabel School 1995
Work Experience
- Communications/Radio WSPN, KALX, KZSU, & XRAY.FM 1995-2021
- Banking Wells Fargo 2015-2021
- Ermenegildo Zegna Specialist Nordstrom/Wilkes Bashford 2010-2014
- Video Lair Sellwood Oregon Small Business Owner 2003-2010
- Patagonia Grant Writer and Sales 1999-2001
Radio
WEB
Clothing Work


KituraCache
public class KituraCache
A thread-safe, in-memory cache for storing an object against a Hashable
key.
-
Statistics
about the cache.Declaration
Swift
public private(set) var statistics: Statistics
-
Initialize an instance of KituraCache.
Usage Example:
let cache = KituraCache(defaultTTL: 3600, checkFrequency: 600)
Declaration
Swift
public init(defaultTTL: UInt = 0, checkFrequency: UInt = 60)
Parameters
defaultTTL
The Time to Live value (in seconds) used for a new entry if none is specified in
setObject(_:forKey:withTTL:)
. IfdefaultTTL
is not specified, a value of 0 (never expire) will be used.checkFrequency
The frequency (in seconds) to check for expired entries. If
checkFrequency
is not specified, a value of 600 will be used (the check will occur every 10 minutes).
-
Adds a new entry or updates the existing entry if the key is already associated with an object in the cache. The lifespan of the entry (in seconds) in the cache can be set using the optional withTTL parameter.
Usage Example:
In this example, item is an instance of a
struct
object with an id field which conforms toHashable
.let cache = KituraCache() ... cache.setObject(item, forKey: item.id)
Declaration
Swift
public func setObject<T: Hashable>(_ object: Any, forKey key: T, withTTL: UInt?=nil)
Parameters
object
The object to store in the cache.
forKey
The
Hashable
key to be associated with the entry.withTTL
The optional Time to Live value (in seconds) for the entry. If not specified, the default TTL is used.
-
Retrieve an object from the cache for a specified key.
Usage Example:
In this example, item has been stored in the cache with an integer key.
let cache = KituraCache() ... if let item = cache.object(forKey: 1) { //Object with key of 1 retrieved from cache. ... } else { //No object stored in cache with key of 1. ... }
Declaration
Swift
public func object<T: Hashable>(forKey key: T) -> Any?
Parameters
forKey
The key associated with the entry you want to retrieve.
Return Value
The object stored in the cache for the specified key, or nil if there is no object with the specified key.
-
Retrieve all of the keys present in the cache.
Usage Example:
let cache = KituraCache() ... let allKeys = cache.keys()
Declaration
Swift
public func keys() -> [Any]
Return Value
An array of all the keys present in the cache.
-
Remove an object from the cache for a specified key.
Usage Example:
In this example, objects have been stored in the cache with an integer key.
let cache = KituraCache() ... cache.removeObject(forKey: 1)
Declaration
Swift
public func removeObject<T: Hashable>(forKey key: T)
Parameters
forKey
The key associated with the entry you want to remove from the cache.
-
Remove objects from the cache for multiple, specified keys.
Usage Example:
In this example, objects have been stored in the cache with an integer key.
let cache = KituraCache() ... cache.removeObjects(forKeys: 1, 2, 3)
Declaration
Swift
public func removeObjects<T: Hashable>(forKeys keys: T...)
Parameters
forKeys
The keys associated with the entries you want to remove.
-
Remove objects from the cache for multiple, specified keys provided in an array.
Usage Example:
In this example, objects have been stored in the cache with an integer key.
let cache = KituraCache() ... cache.removeObjects(forKeys: [1, 2, 3])
Declaration
Swift
public func removeObjects<T: Hashable>(forKeys keys: [T])
Parameters
forKeys
An array of keys associated with the entries you want to remove.
-
Remove all objects from the cache.
Usage Example:
let cache = KituraCache() ... cache.removeAllObjects()
Declaration
Swift
public func removeAllObjects()
-
Set the Time to Live value (in seconds) for a cache entry.
Usage Example:
In this example, objects have been stored in the cache with an integer key.
let cache = KituraCache() ... cache.setTTL(ttl: 360, forKey: 1)
Declaration
Swift
public func setTTL<T: Hashable>(_ ttl: UInt, forKey key: T) -> Bool
Parameters
ttl
The Time to Live value in seconds.
forKey
The key specifying for which entry to set the TTL.
Return Value
True if the TTL was set successfully. False if the key doesn’t exist.
-
Remove all cache entries and reset the cache statistics.
Usage Example:
let cache = KituraCache() ... cache.flush()
Declaration
Swift
public func flush()


{{ name }},
Welcome to {{ app.forum_name }}! To complete the registration, please click the button below to verify your account.
If you did not initiated this request, please ignore and delete this email.
{{ name }},
Welcome to {{ app.forum_name }}! To complete the registration, please click the button below to verify your account.
If you did not initiated this request, please ignore and delete this email.


AROBD's Public Website
Eshika Task 1
Eshika Task 2
Farah Task 1
Salik Task 1
Salik Task 2
Salik My Website
Zarif Task 1
Zarif Task 2


Graduated magna cum laude from Palo Verde College with an AS Degree in Business Management. Completed The Last Mile's Frontend Web Development coding bootcamp. Earned Office Services and Related Technologies as well as Microsoft Office Word, Excel and PowerPoint certifications.
Dedicated to creating a better world by participating in several organizations. Co-Facilitated several Alternative to Violence workshops. Participated in Canine Support Teams in training dogs for disabled. Donated several original art pieces to various organizations assisting victims of Domestic Violence.


Text Size: T T
Logout Internet Banking
Please see below for sample form elements and example classes to enable them to be styled by the framework.
Test 2-1
Test 3-1
You are here: Account Info
You can find impartial information and guidance on money matters on the "Money advice service" website.Clydesdale Bank is covered by the Financial Services Compensation Scheme (FSCS), Find out more.Copyright National Australia Group Europe Limited


Fine Dining, Delivered
Place an ordershopping_basket Shop Online
Using our convenient web app, you'll get all the power of gFood without having to call your order in. Order in your pajamas, order 24 hours a day, order on Christmas, we're here to serve you.
shopping_basket Fast Delivery
You've never seen ordering this quick.  We'd ask what that is, but gFood respects your privacy.
local_atm Great Deals
Money: You've got it, we want it. But let it never be said we're not incredibly fair! Burger sales? Check. Pizza sales? Check. Burger and pizza sales?? Check, check, check! We seriously can't stop making deals.


{% seo %} {% if jekyll.environment == 'production' and site.google_analytics_key != '' %} {% endif %}
Hosted on Github Pages | Template by CloudCannon | Globe Vector Designed by Freepik | Target Vector Designed by Rawpixel.com


|
C-ATTL3
0.5
|
A template class representing the cross entropy loss function. More...
#include <CrossEntropyLoss.hpp>
Public Member Functions | |
| CrossEntropyLoss (Scalar epsilon=NumericUtils< Scalar >::EPSILON2) | |
| Public Member Functions inherited from cattle::UniversalLoss< Scalar, Rank, Sequential > | |
| ColVector< Scalar > | function (typename Base::Data out, typename Base::Data obj) const |
| It calculates the error on each sample given the output and the objective tensors. More... | |
| Base::Data | d_function (typename Base::Data out, typename Base::Data obj) const |
| It calculates the derivative of the loss function w.r.t. More... | |
Protected Member Functions | |
| ColVector< Scalar > | _function (typename Root::Data out, typename Root::Data obj) const |
| It computes the loss of a batch of non-sequential data. More... | |
| Protected Member Functions inherited from cattle::UniversalLoss< Scalar, Rank, Sequential > | |
| virtual Base::Data | _d_function (typename Base::Data out, typename Base::Data obj, const RankwiseArray &grad_dims) const =0 |
| It computes the gradient of the output batch. More... | |
A template class representing the cross entropy loss function.
This class assumes the objective values for each sample (and time step) to be in the range [0, 1].
\(L_i = -\ln(\hat{y_i} + \epsilon) y_i\)
|
inline |
| epsilon | A small constant used to maintain numerical stability. |
|
inlineprotectedvirtual |
It computes the loss of a batch of non-sequential data.
| out | The output tensor. |
| obj | The objective tensor. |
Implements cattle::UniversalLoss< Scalar, Rank, Sequential >.


Mirman Apps developers are as bright as they get. Smart code from smart coders.
We build high-performing apps using the latest web technologies, specializing in AngularJS.
Our apps serve a purpose. Ain't no Flappy Bird here; we write applications that solve problems and improve people's lives.
Our apps serve a purpose. Ain't no Flappy Bird here; we write applications that solve problems and improve people's lives.


The Immense Duckpond Pamphlet, episode eighteen. The serial began on 23 January
It will come as no surprise to reveal that the corpse bundled up in burlap in the pointless hut was that of Doctor Cack. He had not been seen for some days. It is worth noting that because of the presence of potatoes in and about his body, rigor mortis had been delayed. Doctor Cack's corpse was floppy and malleable, like a floppy and malleable thing, by dint of a variety of chemical compounds present within the experimental potatoes and their interaction both with the cadaver and with the stifling fug of the pointless hut. The names of the chemical compounds are so lengthy, and so hard to pronounce, that they shall not detain us here.


But here, there are only two factors that have to be multiplied, so that we could follow this process.
Now, here there were only two terms in one bracket and another two terms in another bracket.
Here we are having three terms in the first bracket, and two terms in the latter.
Here, let us generalize this entire process first.
A constant part over here, and...
What if we have one more term over here?
I'm not going to expand it any further because we are here to simplify things, and not to complicate it any more.
Here, there is three and here there is one.


Factoriole
The internet's greatest database for facts.
Search:
Popular Tags:
{{tag.tag}}
Links:
Advanced Search
Recent
Random
About
Contact
Reading List
Factoriole API
Add fact
Welcome to Factoriole, the world's number one site for facts! Check out the selection of recently added facts below, and click on them if you would like more details.
{{fact.fact}}
{{fact.sources[0].citationMLA}}
About
Insert your 'About' section here.
Contact
Insert your contact information here.
Reading List
No such facts found.


ATTR_GEN_FILE_SELECTOR_NAME_MASK, MSG_GEN_FILE_SELECTOR_SET_MASK, MSG_GEN_FILE_SELECTOR_GET_MASK
By setting up a filename mask, you can limit the File Selector's displays to only those files that conform to the mask characters. For example, to show only those files with the .BAT extender, you could set the mask to *.BAT.
Only one mask may be in use at any given time. If you need to mask for two different sets of characters (e.g. *.BAT and *.EXE), you will need to subclass the File Selector and modify its behavior. (See Searching Via Callback Routine for more information.)
The mask is stored in the File Selector's variable data instance attribute
ATTR_GEN_FILE_SELECTOR_NAME_MASK
and consists of a null-terminated character string.
This field is defined as type
GenFileSelectorMask
, the same as
FileLongName
. This string may contain the DOS "
*
" and "
?
" wildcard characters. The filter applied by the File Selector is the same as that applied by the
FileEnum()
routine detailed in the File System chapter. In short, the mask is taken as a character string matched to the entire file name (thus, a mask of *.*
implies all files with a period in their names; the period separating a filename and an extension will not count as a period).
Normally, the mask is applied only to files and not to directories or volumes. However, if the
GFSI_fileCriteria
attribute FSFC_USE_MASK_FOR_DIRS is set, directories will also be subject to the mask. (Volumes are never subject to the mask filter.)
By default, the mask filter is case-sensitive. You can make the mask filter be case-insensitive, however, by setting FSFC_MASK_CASE_INSENSITIVE in the File Selector's
GFSI_fileCriteria
instance field.
You can set the mask in your application's Goc code or by sending the message
MSG_GEN_FILE_SELECTOR_SET_MASK
to the File Selector. To retrieve the current mask, use
MSG_GEN_FILE_SELECTOR_GET_MASK
. If you do not explicitly set a mask string, the File Selector will not make any filename mask comparisons.
void MSG_GEN_FILE_SELECTOR_SET_MASK( char *mask);
This message sets the
ATTR_GEN_FILE_SELECTOR_NAME_MASK
variable instance field of the File Selector. This field contains a null-terminated character string (of type
GenFileSelectorMask
); during a directory scan, the File Selector checks all filenames against this mask, and only those files that contain the mask characters are displayed. The mask string may contain DOS wildcard characters ("
*
" and "
?
").
The mask works for both DOS and GEOS files. However, unless the FSFC_USE_MASK_FOR_DIRS flag is set in the
GFSI_fileCriteria
attribute, directories will be unaffected by the mask. Volumes are unaffected in any case.
If the File Selector is visible on the screen when it receives this message, it will automatically rescan the current directory with the new mask. Otherwise, the new mask will be stored for later use.
Source: Unrestricted.
Destination: Any GenFileSelector object.
Parameters:
mask
A pointer to the mask string to be set. This is a null-terminated character string.
Return: Nothing.
Interception: Generally not intercepted.
See Also:
MSG_GEN_FILE_SELECTOR_SET_FILE_CRITERIA
void MSG_GEN_FILE_SELECTOR_GET_MASK( char *mask);
This message returns the mask string in the File Selector's
ATTR_GEN_FILE_SELECTOR_NAME_MASK
field.
Source: Unrestricted.
Destination: Any GenFileSelector object.
Parameters:
mask
A pointer to an empty character string. The string must be at least
sizeof(GenFileSelectorMask)
characters.
Return: The character string pointed to by
mask
will contain the mask string set in
ATTR_GEN_FILE_SELECTOR_NAME_MASK
.
Interception: Generally not intercepted.
See Also:
MSG_GEN_FILE_SELECTOR_SET_MASK, MSG_GEN_FILE_SELECTOR_SET_FILE_CRITERIA


{% include "bonus_header.html" %} {##################### Answer to bonus exercise 7, 8 #####################} {% if temperature and description %}
{{ description.capitalize() }}


General support queries. User Guides: https://support.komodoplatform.com/ Support staff: Angelina#6231 gcharang#6833. If you want to ask JL777 a question, use the #ask-jl777 channel.
100 messages
Before 05-Dec-19 12:00 AM
Buddz199316-Sep-18 11:59 PM
And why that transaction doesnt appear in my transaction history.
Problem solved ahd to log out and log In again from wallet.
had*
sbucks17-Sep-18 12:15 AM
is there a newer version of 0.2.41d-beta that i need to install before i claim my interest? i am using native mode(edited)
yorklab17-Sep-18 12:32 AM
That should be latest.
sbucks17-Sep-18 12:35 AM
thanks, i just claimed my interest, and it has over 10 confirmations but the transaction is not showing up in my transaction history but the transparent balance is right i clicked the refresh symbol on the transaction history but the transaction is still not there. how do i get the transaction to show up?
yorklab17-Sep-18 12:36 AM
If it's native it will be on a new address.(edited)
You could check explorer.
sbucks17-Sep-18 12:37 AM
true, but shouldnt it be showing on the transaction history section?
yorklab17-Sep-18 12:37 AM
Yes
Stop wallet, close then reopen.
sbucks17-Sep-18 12:39 AM
how do you stop the wallet first? or just close the wallet?
i am using the windows version
yorklab17-Sep-18 12:40 AM
Actually I always just close it out, shut it down. I also have Windows.
In the upper left under Windows there is an option to close.
sbucks17-Sep-18 12:41 AM
i closed it down, and now restarting the agama app
on windows, where is the komodo.dat file located?
Nabob17-Sep-18 12:45 AM
%appdata%\komodo folder
yorklab17-Sep-18 12:45 AM
beat me to it.
Nabob17-Sep-18 12:47 AM
you can also check path of your wallet.dat file, under Agama settings >app info tab
sbucks17-Sep-18 12:47 AM
thanks,
but transaction is still not showing in the transaction history for the interest claimed
i found the block using the komodo exporer via the web, but it would be nice have the transaction listed in the transaction history
Nabob17-Sep-18 12:50 AM
transaction will be listed in tx history, after you have one confirmation, just refresh tx history
sbucks17-Sep-18 12:52 AM
@Nabob it has over 25 on the block explorer. come to think of it , it doesnt show the tx i did in august either. any way to fix it in debug?
Nabob17-Sep-18 12:57 AM
i thought, you just claimed your rewards, please post your address here or transaction id which you can see explorer.
and tell us , you used native or lite mode earlier ?
and your agama and OS version
sbucks17-Sep-18 01:00 AM
using native , agama v0.2.41d-beta for windows
used native time before
Nabob17-Sep-18 01:08 AM
you used native mode, when checking balance are you checking explorer or agama wallet, i see transaction went successful, all your rewards moved to your change address.
dm me screenshot of your dashboard, your total balance shows you correctly check
sbucks17-Sep-18 01:10 AM
@Nabob checking agama wallet in the transaction history section. the TX IN and Tx OUT are not listed in the transaction history of the the agama wallet.
Nabob17-Sep-18 01:12 AM
please raise support ticket, we will help you troubleshoot this issue
<EMAIL_ADDRESS>sbucks17-Sep-18 01:12 AM
will do
Nabob17-Sep-18 01:15 AM
if your transparent balance shows correctly, rewards alredy there in your wallet, rewards details shown in transaction itself
Nabob17-Sep-18 01:29 AM
as for your best practice we ask users to send your total balance to your original kmd address after every transaction,
it benefits you in two ways, one your balance will be stored in one address and you have your private key and other one is your rewards will be calculated on your total balance
Iminedur⛏💵$ιooοο⛏💵17-Sep-18 12:39 PM
im trying to get into lite on agama but i forgot my seeds, is there a file i can look at that stores it so i can type it as i stupidly forgot it again after long time not accessing it
SHossain17-Sep-18 12:49 PM
@Iminedur⛏💵$ιooοο⛏💵 Agama doesn't store seed for Lite mode anywhere in your system. did you use any PIN or password to encrypt the seed?

 You can only encrypt it with password or PIN in lite mode. Without the seed you will not be able to access the funds.
Iminedur⛏💵$ιooοο⛏💵17-Sep-18 01:11 PM
i can see balance if i enter address
Iminedur⛏💵$ιooοο⛏💵17-Sep-18 01:22 PM
i don't want access to wallet i just want to get rid of it now and withdraw my funds and retire from kmd project
esp on-site wallets, they all to problematic to me to have on-board now with my lifestyle
i quit mining it 2 months ago almost now as i can make more money hashing my gpus doing non crypto jobs and there aint many gpus hashing that other cyber project
Iminedur⛏💵$ιooοο⛏💵17-Sep-18 01:31 PM
if most miners realize this other project gpu's can do and the reward per watts used is 10 times higheron lower entry level god bless crypto afterwards esp payment is not in crypto but paypal which most new miners prefer as payment, bit like folding but you get paid no free gpu processing for points like seti projects
Dr Debt18-Sep-18 12:14 AM
Error
Can't broadcast transaction
the transaction was rejected by network rules. Missing inputs
anyone knwo what this is?
Hermes18-Sep-18 12:23 AM
It can happen because of a wrong timeclock setting , also try sending the balance to the same public address it could help with the mix of UTXOs in that particular address for that specific transaction .
if that doesn't help please send us a ticket at<EMAIL_ADDRESS>so that we can review this
Seko18-Sep-18 05:29 AM
Can someone explain how Einsteinium will use dPoW, if they don’t use a Komodo chain? How it works exactly?
blackjok3r18-Sep-18 05:30 AM
its a code change to the consensus of the coin.... basically it checks for valid notarizations, and then creates a checkpoint in the chain, and they chain can no longer be reorged back past that checkpoint.
effecivly making a private mining 51% double spend attack almost impossible. In my #private-staked project I am working on, we are using a very fast frequency of notarizations, I doubt it is even possible to 51% attack that coin at all, but we are still in testing phase... I don think frequency that fast is going to be somthing we can take to mainnet.(edited)
Seko18-Sep-18 05:31 AM
Wow, the answer was faster than my question...;)
1
Than can use every other coin this service without being on a Komodo chain? I didn’t realize how that worked. The own code of Einsteinium is changed? it is not an „API“?
blackjok3r18-Sep-18 05:37 AM
It requires a hard fork in the code to achaive it yes. I guess every coin could use it. I am working on creating a way to have 3rd party notaries, which is almost done and in testing phase, as the main KMD notaries will eventually reach a limit of how many coins they can handle at once.
Seko18-Sep-18 05:40 AM
How does Komodo benefit? By payments for the service?
blackjok3r18-Sep-18 05:40 AM
free marketing
no point creating something open source if nodody uses it.
1
all notarizations transactions pay an address called the CRYPTO address, anyone who notarizes to KMD has to pay that assset KMD.
Seko18-Sep-18 05:42 AM
Is Komodo than running on Einsteinium? Is it than a Komodo chain? Or only a change in the own code?
blackjok3r18-Sep-18 05:43 AM
I am not 100% sure on the specifics, and i dont think the code is even finished... Their coin will remain their own coin as I understnad it, they will just have a Hard fork to implement the code chainge.
Seko18-Sep-18 05:43 AM
Thank you, that is helpful...
blackjok3r18-Sep-18 05:44 AM
no problem... Spent the last few weeks figuring out how it all works myself. Really cool stuff
Seko18-Sep-18 06:38 AM
Genius...
Better for the ecosystem is a migration to Komodo. Do you agree?(edited)
CrisF18-Sep-18 09:10 AM
Hi, could someone please point me to where I can find what the -ac_params for KMD are? (Sry, not sure where to post this.)
TonyL18-Sep-18 09:32 AM
Hi @CrisF KMD blockchain params you can get from getinfo. Why you have to start Komodo like this, not just komodod without params?
I've runned daemon as komodod -ac_name=KMD and komodo-cli -ac_name=KMD calls instead of just komodo-cli worked for me to interact with Komodo chain
CrisF18-Sep-18 09:36 AM
Thanks, @TonyL . I knew there must be an easy place to find the info. Just couldn't think of it
It's not for running it, I just want some more example params to play around with and make a test chain with.
Thought KMD would be a good example.
TonyL18-Sep-18 09:39 AM
Actually I think I've misinformed you a little bit regards getinfo since misunderstood you, sorry It's actually getting a state for user.
https://docs.komodoplatform.com/komodo/example-asset-chains.html here you can find a lot of useful examples of different ACs starting
CrisF18-Sep-18 09:41 AM
Thanks, yeah, I've been looking at those. I'd like to see what KMD would look like written with params and use that with the docs to sort it out in my head.
TonyL18-Sep-18 10:07 AM
@CrisF Have to be something like this:
komodod -ac_name=KMD -ac_supply=100000000 -ac_reward=300000000 -ac_end=7777777
100000000 premine, 3 KMD reward per block, 100000000 more have to be mined,
but not 100% sure about the math(edited)
1
jl777c18-Sep-18 10:15 AM
ac_end 7777777
1
1
TonyL18-Sep-18 10:15 AM
The magic seven
CrisF18-Sep-18 10:25 AM
Thank you both!
1
Deleted User19-Sep-18 12:26 AM
if blocks and longest chain are not the same after already deploying assetchain... what do i have to do to sync?(edited)
Hermes19-Sep-18 12:47 AM
you mean that you haven't been able to load fully the asset chain? Blocks and longest chain should be the same after the finish loading the blocks
Deleted User19-Sep-18 01:40 AM
yeah they used to be but not anymore...maybe i have to connecct again
yes please send the fixed amount of 0.00000000 BTC to jl777 when submitting pull request to add new coin to BarterDEX via this coinsdb repo:
https://github.com/jl777/coins
coin parameters and all files needed for GUI support - jl777/coins
1
jasonabis21-Sep-18 03:40 AM
Hello! Any support available?
Gordon Komodo21-Sep-18 03:44 AM
what do you need support with @jasonabis ?(edited)
jasonabis21-Sep-18 03:46 AM
Hi Gordon. I had an airdrop of MGNX to a KMD address. I want to stake the coins. Don’t know if I should stake them in the agama wallet or in the Linux wallet I have set up. Completely ignorant on all of it.
Alright was just helping me. I believe I’ve found my address and key in agama settings. Should i import those into the Linux wallet?
Alright21-Sep-18 03:48 AM
yes import it to the CLI
1
./komodo-cli -ac_name=MGNX importprivkey <WIF>
jasonabis21-Sep-18 03:51 AM
Command not found
Wait sorry
Hell yes!
Thx so much! So if I ran that staking command earlier, it should already be staking?
Gordon Komodo21-Sep-18 03:56 AM
It should be, unless you close the wallet earlier after running the command.(edited)


THE BEST FOOD BLOG ON THE WEB
Posted on 15 Dec 2013 / Desserts
For the fig-swirl: Melt butter over medium heat in a saucepan. Add brown sugar and stir to dissolve. Halve all of the figs and toss in the saucepan with water and lemon juice. Cook over medium heat, sturring frequently, until you have a chunky-jammy mixture. Add salt with one or two stirs, set aside and let cool completely.
Ice Cream: In a small pot over medium heat, combine milk, and granulated sugar until sugar is completely dissolved and the milk is just barely lukewarm. Whish in the egg yolks. Set mixturein the fridge and wait until the fig mixture is cooled.
Using an ice cream machine, pour liquids nto the frozen basin and process according to manufacturer instructions, i.e., let spin and thicken for 20 minutes before adding mascarpone, fig jam, and the nuts. Continue to process for +/- 10 minutes. Pour semi-frozen mixture into a pyrex dish or glass tupperware. Freeze for atleast two hours before serving.
Food Enthusiast, photography fan. Add a pinch of raw foodism and that's pretty much who I am.


11. Power control¶
pyb.wfi()
is used to reduce power consumption while waiting for an
event such as an interrupt. You would use it in the following situation:
while True:
do_some_processing()
pyb.wfi()
Control the frequency using pyb.freq()
:
pyb.freq(30000000) # set CPU frequency to 30MHz


You can create any clone from a Default Model by clicking on the 'Clone' icon
| Identity | Version | Name | Age | Energy Percent | Damage Percent | Actions |
|---|---|---|---|---|---|---|
| {{cyberpunk.id}} | {{cyberpunk.version+'.0'}} | {{cyberpunk.name}} | {{cyberpunk.age}} |
|
|
You can also create a new Clone from a existent one, as well as edit and delete
| Identity | Parent Identity | Version | Name | Creation Date | Age | Energy Percent | Damage Percent | Actions |
|---|---|---|---|---|---|---|---|---|
| {{cyberpunk.id}} | {{cyberpunk.parentId}} | {{cyberpunk.version}} | {{cyberpunk.name}} | {{cyberpunk.creationDate | date:'dd/MM/yyyy'}} | {{cyberpunk.age}} |
|
|