Python (index)
Python (12) - Testing Python programs (networkx)
OUTLOOK
Test-driven development
Simple testing
Using doctest
Using unittest
Using pytest
Using unittest.mock
NetworkX - start
NetworkX - Graph
NetworkX - Tokyo metro
NetworkX - DiGraph
NetworkX - multigraphs
Homework
Python (index)


- Be a good programmer
- Work in a good job
- Have my own project
- Buy my own car
- Travel to Turkey
- Go "Omra"
- Have a beautiful family
- Visit Egypt to see the pirameds
- Have my own home
- Be better in Solidworks
Some information about me , you can take a hint from it ;) :
- My age is between(23-28).
- My study major focus on "elminating waste"
- I Studied in the jewel of Jordanian universities
- I worked in the field of "customer service"
- I love purple
😅


TODO - framebuffer handling has been broken out into a separate class, but
documentation is not yet up to date.
For now, please refer directly to src/webgl/frame-buffer.js
Program Method: setFrameBuffer
Creates or binds/unbinds a framebuffer. You can also use this method to
bind the framebuffer to a texture and renderbuffers. If the
framebuffer already exists then calling setFrameBuffer with
true or false as options will bind/unbind the framebuffer.
Also, for all properties set to a buffer, these properties are
remembered so they’re optional for later calls.
Syntax:
program.setFrameBuffer(name[, options]);
Arguments:
name - (string) The name (unique id) of the buffer.
options - (mixed) Can be a boolean used to bind/unbind
the framebuffer or an object with options/data described below:
Options:
width - (number) The width of the framebuffer. Default’s 0.
height - (number) The height of the framebuffer. Default’s 0.
bindToTexture - (mixed, optional) Whether to bind the framebuffer
onto a texture. If false the framebuffer wont be bound to a texture.
Else you should provide an object with the same options as in setTexture.
textureOptions - (object, optional) Some extra options for binding the framebuffer to the texture. Default’s { attachment: gl.COLOR_ATTACHMENT0 }.
bindToRenderBuffer - (boolean) Whether to bind the framebuffer to a renderbuffer. The width and height of the renderbuffer are the same as the ones specified above.
renderBufferOptions - (object, optional) Some extra options for binding the framebuffer to the renderbuffer. Default’s { attachment: gl.DEPTH_ATTACHMENT }.
Examples:
Using a frambuffer to render a scene into a texture. Taken from
[lesson 16]http://uber.github.io/luma.gl/examples/lessons/16/).
Program Method: setFrameBuffers
For each key, value of the object passed in it executes
setFrameBuffer(key, value).
Syntax:
program.setFrameBuffers(object);
Arguments:
object - (object) An object with key value pairs matching a
buffer name and its value respectively.
Program Method: setRenderBuffer
Creates or binds/unbinds a renderbuffer. If the renderbuffer already
exists and the second parameter is a boolean it’ll bind or unbind the
renderbuffer.
Also, for all properties set to a buffer, these properties are remembered
so they’re optional for later calls.
Syntax:
program.setRenderBuffer(name[, options]);
Arguments:
name - (string) The name (unique id) of the buffer.
options - (mixed) Can be a boolean used to bind/unbind the renderbuffer
or an object with options/data described below:
Options:
width - (number) The width of the renderbuffer. Default’s 0.
height - (number) The height of the renderbuffer. Default’s 0.
storageType - (enum, optional) The storage type. Default’s gl.DEPTH_COMPONENT16.
Program Method: setRenderBuffers
For each key, value of the object passed in it executes setRenderBuffer(key, value).
Syntax:
program.setRenderBuffers(object);
Arguments:
object - (object) An object with key value pairs matching a
buffer name and its value respectively.


Doctor who delivered India’s first test tube baby to get national award
Under Indira Hinduja’s guidance, India’s first test tube baby was born.
by Express News ServiceDr Indira Hinduja, a gynaecologist from Mumbai who has conducted research in IV technology, will receive this year’s Kirtan Sanjeevani Pushpalata Ranade Woman Researcher National Award.
Under Indira Hinduja’s guidance, India’s first test tube baby was born. She pioneered the gamete intrafallopian transfer technique resulting in the birth of India’s first baby under this technique in January 1988.
Hinduja has contributed immensely through her work and research in IVF technology in Indian medical science field. She has also received the Padma Shri. The awards will be presented on November 21.
Meanwhile, the Kirtan Sanjeevani Pushpalata Ranade Woman Bravery National Award will be given to the country’s first and only commando trainer from Mumbai, also known as ‘wonder woman’ Dr Seema Rao. Rao has secured a doctorate degree from Harvard Medical School and over the past 20 years, she has given commando training free-of-cost to at least 20,000 javans from the Indian Army and police force.


--- layout: post title: Yelly Rspec formatter - Now for linux too! tags: - rspec - ruby ---
Today I got ath CodeBrawl and really got interest in one of the chalenges.
Reading the Rspec Format chalenge Yelly, The Yellingist Formatter, writen by Chad Humphries<github> got my attention. The only problem is that I don’t code on Mac, so I don’t have the `say` command.
So, I made an improvement to use it under Linux. It requires esound (for sound routing) and festival (for speech synthesis)
On Arch, you can set it up using
# pacman -S esound festival
And here is the result. You may get it here <https://gist.github.com/1070850>


Dear {{ first_name }}{% if last_name %} {{ last_name}}{% endif %},
Your password has been updated. Here is your new password: {{ new_password }}
Thank you, {{ user_fullname }}


---
layout: post
title: After a long time
date: 2006-09-29 11:06:54 UTC
updated: 2006-09-29 11:06:54 UTC
comments: false
categories:
---
Well hi to those non-existent visitors of my blog ! :)
Lots of work got updated on the Microsoft development front(in my unfortunate absence). Anyway this post is to just store a link about UpdateControl, an aTlas how-to. Wonderful job done, i find it pretty soothing as i have just completed reading Atlas At Last:MSDN Mag article. Take a look at the how-to :
http://blogs.msdn.com/trobbins/articles/678575.aspx
Wish I had a PC at the place I stay :(


org.opensaml.xml.schema
Interfaces
XSAny
XSBase64Binary
XSBoolean
XSDateTime
XSInteger
XSQName
XSString
XSURI
Classes
SchemaBuilder
XSBooleanValue
Enums
SchemaBuilder.SchemaLanguage


--- layout: govuk_template --- {% assign version = 'v'|append:page.version %} {% assign criteria = site.service-standard | where: "phase", page.phase | where: "layout", "service-standard-article" | sort: "criterion" %}
The information on this page has been replaced by the 18 point Digital Service Standard. The 26 point Standard was in use until 1 June 2015.
{% else if page.version == 2 %}The Digital Service Standard was changed from 26 points to a more concise 18. From 1 June 2015 all transactional services will be assessed on the new 18 points.
{% endif %}The prompts and evidence differ for each assessment phase.


{% extends 'base.html' %} {% block header %}
This web application illustrates the use of the MovieStream database. The application is built using PyMySQL, Flask, and Jinja.
| Items | Count |
|---|---|
| Movies | {{ stats.movies }} |
| Actors | {{ stats.actors }} |
| Streams | {{ stats.streams }} |
Get movie info:
Search by title:
Get actor info:
Search by name (prone to SQL injection!)
Get genre info:


Keyboard © 2008 thamizha.com and Tavultesoft
This keyboard is designed for the Tamil language. It is a phonetic keyboard, which means the Tamil characters are arranged according to the letters of the English keyboard. This makes it easy to use for people learning Tamil, as well as Tamil speakers. Typing follows a consonant-vowel pattern, and the keyboard is designed for use with a normal QWERTY (English) keyboard.
This keyboard makes typing in Tamil straightforward for anyone familiar with a normal English keyboard. Consonants and vowels are arranged on the keyboard so that pressing an English letter displays the Tamil character which sounds closest to that letter. Some characters, however, representing sounds which do not exist in the English alphabet, are located on unused keys. Grantha consonants are also on the keyboard, and long vowels are typed by pressing the vowel key twice, or by pressing [S*]and the vowel key. For example, the vowel இ is typed by pressing i, while pressing ii or I produces the long vowel ஈ.
Most of the characters used in Tamil are combinations of consonants and vowels, and these do not appear on the keyboard. Combined consonant-vowel characters are entered by typing the consonant, then the vowel. To enter சா, which is a combination of ச் and ஆ, type s then A, and the combinant character will automatically be displayed. Pressing Backspace once will delete only the vowel component, so the character displayed on the screen will change back to ச், and change again if a different vowel is typed.
| Language | Phrase | Meaning | Type the following keys |
| Tamil | தமிழ் அரிச்சுவடி | "Tamil alphabet" | thamiz arissuvadi |
This keyboard uses a consonant-vowel order for text input, so the consonant character is always typed before the vowel, regardless of where (relative to the consonant) the vowel marker symbol appears. As syllables are typed, the characters entered are automatically converted to the appropriate consonant-vowel combinant. While only the combinant characters are displayed on screen, the consonant and vowel are both stored, so that pressing Backspace once after a combinant deletes only the vowel component. This means it is necessary to press Backspace twice to delete a combinant character. However, pressing the Delete key with the cursor in front of a combinant character removes the whole character with one keystroke.
The visible keyboard layout consists of the ten vowels அ ஆ இ ஈ உ ஊ எ ஏ ஒ ஓ (the vowels ஐ ஔ are typed with two keystrokes), the eighteen consonants க ங ச ஞ ட ண த ந ப ம ய ர ல வ ழ ள ற ன, the Grantha consonants ஸ ஜ ஹ க்ஷ (ஷ is typed with two keystrokes, and ஸ்ரீ with three) and the Aytham ஃ mark.
Most of the consonants are arranged so that they can be typed with a single key. A few consonants which use the same English (Roman) letter as another consonant, or which have no equivalent English letter, must be typed with two keystrokes. See the complete keyboard chart for details.
This keyboard does not have a key for the Pulli mark ், which defines a standalone consonant. Instead, every consonant will display the Pulli mark when it is typed, and the Pulli mark will disappear when a vowel is typed. The implicit vowel அ thus needs to be typed, though it is not actually displayed when combined with a consonant.
There are two ways of entering this character: Sri or Shri. Currently, some browsers support one, both or neither of these entry methods.
Vowels are typed using the English vowel letters. Tamil distinguishes between short and long vowel sounds, and the keyboard is arranged so that pressing any vowel key once will produce the short vowel, while pressing it twice, or pressing [S*]together with the vowel key, will produce the long vowel. When typing, it is often more efficient to press the vowel key twice rather than using [S*]. The vowels ஐ and ஔ, which do not have equivalent single letters in English, are typed with two keystrokes as shown below.
Note: for a complete table of characters and keystrokes, click here.
The following table gives specific examples of how to input characters based on the consonant க. The Grantha consonants use the same input method. Examples of these with the consonant ஜ are also given below.
| Tamil Consonants | Grantha Consonants | |||||||
| Consonant | Vowel/Pulli | Combinant | Keystrokes | Consonant | Vowel/Pulli | Combinant | Keystrokes | |
| க | ் | க் | g | ஜ | ் | ஜ் | j | |
| அ | க | ga | அ | ஜ | ja | |||
| ஆ | கா | gaa | ஆ | ஜா | jaa | |||
| இ | கி | gi | இ | ஜி | ji | |||
| ஈ | கீ | gii | ஈ | ஜீ | jii | |||
| உ | கு | gu | உ | ஜு | ju | |||
| ஊ | கூ | guu | ஊ | ஜூ | juu | |||
| எ | கெ | ge | எ | ஜெ | je | |||
| ஏ | கே | gee | ஏ | ஜே | jee | |||
| ஐ | கை | gai | ஐ | ஜை | jai | |||
| ஒ | கொ | go | ஒ | ஜொ | jo | |||
| ஓ | கோ | goo | ஓ | ஜோ | joo | |||
| ஔ | கௌ | gau | ஔ | ஜௌ | jau |
Aside from the alternate methods of typing long vowels described above, several other conventions are incorporated in this keyboard. These are not 'rules' which must be followed, rather they are shortcuts, or ways of increasing the efficiency of typing Tamil using English (Roman) letters. These conventions may not actually reduce the number of keystrokes needed for typing characters, but by largely avoiding [S*]combinations, they make typing Tamil easier and faster.
| ற் Consonant | ||
| The consonant ற் is usually typed with R, while typing a lower-case r produces ர். Because ற் sometimes appears twice in succession, the keyboard has been arranged so that pressing dr or tr produces ற்ற், without needing to use [S*]. | ||
| Similarly, because ற் never appears after ன், pressing dr or tr after ன் produces ன்ற், again avoiding the use of [S*]. | ||
| ன் and ந் Consonants | ||
| The consonant ன் is usually typed by pressing n, and ந் is produced by typing w or n-. However, if n is pressed after a space or a carriage return, it will produce ந். | ||
| ட், ன் and ண் Consonants | ||
| Typing d (ட்) after ன் will change the ன் to ண் (otherwise typed with N). ட் can also be entered by pressing t, but this will not change the ன் character. | ||
| ஞ் Consonant | ||
| This character can be entered either by typing W or nj. When ஞ் is followed by ச் which is often typed with ch (though s is an alternate way of typing this character), the sequence njj will produce ஞ்ச். | ||
| த் Consonant | ||
| This character can be typed using either T or th. In some words, this character is repeated twice in succession. Typing tth provides a shortcut to entering this. | ||
| English words used in Tamil | ||
| Some English words that can be written in Tamil script will not display correctly if typed exactly as they are written, as the keyboard automatically makes some of the changes listed above. To avoid this, it may be necessary to insert spaces when typing and delete these spaces afterwards. |
This keyboard does not contain characters such as the symbols for day, month, year, etc., or the glyphs used as vowel modifiers. Some of the alternate Tamil keyboards do allow these characters to be typed.
The following chart lists all the characters available with this keyboard. Below each character are the keystrokes required to type it.
| \ Vowels Consonants\ |
் |
அ a |
ஆ aa |
இ i |
ஈ ii |
உ u |
ஊ uu |
எ e |
ஏ ee |
ஐ ai |
ஒ o |
ஓ oo |
ஔ au |
| A | I | U | E | O | |||||||||
| க |
க் k |
க ka |
கா kaa |
கி ki |
கீ kii |
கு ku |
கூ kuu |
கெ ke |
கே kee |
கை kai |
கொ ko |
கோ koo |
கௌ kau |
| ங |
ங் X |
ங Xa |
ஙா Xaa |
ஙி Xi |
ஙீ Xii |
ஙு Xu |
ஙூ Xuu |
ஙெ Xe |
ஙே Xee |
ஙை Xai |
ஙொ Xo |
ஙோ Xoo |
ஙௌ Xau |
| ச |
ச் s |
ச sa |
சா saa |
சி si |
சீ sii |
சு su |
சூ suu |
செ se |
சே see |
சை sai |
சொ so |
சோ soo |
சௌ sau |
| ஞ |
ஞ் W |
ஞ Wa |
ஞா Waa |
ஞி Wi |
ஞீ Wii |
ஞு Wu |
ஞூ Wuu |
ஞெ We |
ஞை Wee |
ஞை Wai |
ஞொ Wo |
ஞோ Woo |
ஞௌ Wau |
| ட |
ட் t |
ட ta |
டா taa |
டி ti |
டீ tii |
டு tu |
டூ tuu |
டெ te |
டே tee |
டை tai |
டொ to |
டோ too |
டௌ tau |
| ண |
ண் N |
ண Na |
ணா Naa |
ணி Ni |
ணீ Nii |
ணு Nu |
ணூ Nuu |
ணெ Ne |
ணே Nee |
ணை Nai |
ணொ No |
ணோ Noo |
ணௌ Nau |
| த |
த் T |
த Ta |
தா Taa |
தி Ti |
தீ Tii |
து Tu |
தூ Tuu |
தெ Te |
தே Tee |
தை Tai |
தொ To |
தோ Too |
தௌ Tau |
| ந |
ந் w |
ந wa |
நா waa |
நி wi |
நீ wii |
நு wu |
நூ wuu |
நெ we |
நே wee |
நை wai |
நொ wo |
நோ woo |
நௌ wau |
| ப |
ப் p |
ப pa |
பா paa |
பி pi |
பீ pii |
பு pu |
பூ puu |
பெ pe |
பே pee |
பை pai |
பொ po |
போ poo |
பௌ pau |
| ம |
ம் m |
ம ma |
மா maa |
மி mi |
ம்மீ mii |
மு mu |
மூ muu |
மெ me |
மே mee |
மை mai |
மொ mo |
மோ moo |
மௌ mau |
| ய |
ய் y |
ய ya |
யா yaa |
யி yi |
யீ yii |
யு yu |
யூ yuu |
யெ ye |
யே yee |
யை yai |
யொ yo |
யோ yoo |
யௌ yau |
| ர |
ர் r |
ர ra |
ரா raa |
ரி ri |
ரீ rii |
ரு ru |
ரூ ruu |
ரெ re |
ரே ree |
ரை rai |
ரொ ro |
ரோ roo |
ரௌ rau |
| ல |
ல் l |
ல la |
லா laa |
லி li |
லீ lii |
லு lu |
லூ luu |
லெ le |
லே lee |
லை lai |
லொ lo |
லோ loo |
லௌ lau |
| வ |
வ் v |
வ va |
வா vaa |
வி vi |
வீ vii |
வு vu |
வூ vuu |
வெ ve |
வே vee |
வை vai |
வொ vo |
வோ voo |
வௌ vau |
| ழ |
ழ் z |
ழ za |
ழா zaa |
ழி zi |
ழீ zii |
ழு zu |
ழூ zuu |
ழெ ze |
ழே zee |
ழை zai |
ழொ zo |
ழோ zoo |
ழௌ zau |
| ள |
ள் L |
ள La |
ளா Laa |
ளி Li |
ளீ Lii |
ளு Lu |
ளூ Luu |
ளெ Le |
ளே Lee |
ளை Lai |
ளொ Lo |
ளோ Loo |
ளௌ Lau |
| ற |
ற் R |
ற Ra |
றா Raa |
றி Ri |
றீ Rii |
று Ru |
றூ Ruu |
றெ Re |
றே Ree |
றை Rai |
றொ Ro |
றோ Roo |
றௌ Rau |
| ன |
ன் n |
ன na |
னா naa |
னி ni |
னீ nii |
னு nu |
னூ nuu |
னெ ne |
னே nee |
னை nai |
னொ no |
னோ noo |
னௌ nau |
| Grantha Consonants | |||||||||||||
| ஜ |
ஜ் j |
ஜ ja |
ஜா jaa |
ஜி ji |
ஜீ jii |
ஜு jo |
ஜூ joo |
ஜெ je |
ஜே jee |
ஜை jai |
ஜொ ju |
ஜோ juu |
ஜௌ jau |
| ஷ |
ஷ் sh |
ஷ sha |
ஷா sha |
ஷி shi |
ஷீ shii |
ஷு sho |
ஷூ shoo |
ஷெ she |
ஷே shee |
ஷை shai |
ஷொ shu |
ஷோ shuu |
ஷௌ shau |
| ஸ |
ஸ் S |
ஸ Sa |
ஸா Saa |
ஸி Si |
ஸீ Sii |
ஸு So |
ஸூ Soo |
ஸெ Se |
ஸே See |
ஸை Sai |
ஸொ Su |
ஸோ Suu |
ஸௌ Sau |
| ஹ |
ஹ் h |
ஹ ha |
ஹா haa |
ஹி hi |
ஹீ hii |
ஹு ho |
ஹூ hoo |
ஹெ he |
ஹே hee |
ஹை hai |
ஹொ hu |
ஹோ huu |
ஹௌ hau |
| க்ஷ |
க்ஷ் x |
க்ஷ xa |
க்ஷா xaa |
க்ஷி xi |
க்ஷீ xii |
க்ஷு xo |
க்ஷூ xoo |
க்ஷெ xe |
க்ஷே xee |
க்ஷை xai |
க்ஷொ xu |
க்ஷோ xuu |
க்ஷௌ xau |
| Other Characters | ஸ்ரீ் S hri |
ஃ q |
This keyboard allows only the standard Tamil characters, so will work with the fonts supplied with Windows. No further downloads of fonts should be required.
If the characters you type or those on the On Screen Keyboard do not appear to display correctly, please read the KeymanWeb troubleshooting guide.
If the preceding consonant does not change to a vowel-consonant combinant character when you type a vowel, confirm that you have not typed the first vowel அ, which identifies the consonant as the implicit-vowel consonant, or a space. Typing either of these after a consonant will prevent that consonant from changing to a combinant character.
This keyboard requires an English QWERTY hardware keyboard.
This keyboard complies with Unicode 5.2
This keyboard was created by Mugunth (mugunth@gmail.com), Umar<EMAIL_ADDRESS>and K. Sethu (skhome@gmail.com). For more information about keyboards produced by these developers, see http://thamizha.com. Tavultesoft gratefully acknowledges the contribution made by the authors in developing this keyboard and making it freely available for use with Keyman Desktop and KeymanWeb. Their effort assists in enabling people to communicate in their own language.


Code 201 - Lab 02: About Me
Biography:
Name: Alan Yung-Ting Hung
Race: Asian
- College: ASU (Augusta State University)
- Degree: Bachelor's in Business Administration
- BI Analyst | Rylem LLC (Microsoft) | 2019-2020
- SR Reporting Analyst | Rylem LLC (Microsoft) | 2018-2019
- Cash Applications Analyst | T-Mobile USA | 2017-2018
- Financial Analyst 2 | Red Dog Interactive/Express (Microsoft) | 2012-2017
- Marvel Cinematic Universe
- Ip Man Anthology
- Indiana Jones Anthology
- James Bond Anthology
- Star Wars Anthology
- Back to the Future Trilogy
- Alien Anthology
- The Matrix Trilogy
- Terminator Anthology
- Rocky Anthology


June 8, 2015
Hash-tastic
This week I learned about the glorious data storage object that is the Hash. The following will be some fun information on how to differentiate, define, and reference arrays and hashes. Arrays and hashes are both constucts used for data storage. Their construction and syntax are different, so depending on what you're trying to do, one will likely be better than the other for specific applications.
Define
- Array -
Ordered, iteger-indexed collections of any object. Array indexing starts at 0 and goes to (n-1), where n is the number of array indices. A negative index is assumed to be relative to the end of the array—that is, an index of -1 indicates the last element of the array, -2 is the next to last element in the array, and so on.
- Hash -
A collection of key-value pairs. Indexing is done via arbitrary keys of any object type. Hashes order their values in the sequence that the corresponding keys were inserted. By default, hashes return 'nil' when accessing keys that do not exist in the hash. It's possible to define this value to something other than 'nil' (see below).
Create
Array.new
is functionally the same as array = []
for creating a new array, except Array.new
has some fun options for initializing the array however you like. For example:
Array.new # => []
Array.new(2) # => [nil,nil]
Array.new(3,"apple") # => ["apple","apple","apple"]
Or the following:
example_array = [1,2,3]
copycat_array = Array.new(example_array) # => [1,2,3]
The procedure for creating a new hash is all but identical: Hash.new
, or hash = {}
. Similarly, Hash.new
can do the following:
Hash.new # => {}
Hash.new(2) # => {}
Hash.new(3,"apple") # => probably a syntax error (don't do this)
The Hash.new(argument)
is the default value for accessing keys that do not exist in the hash. If you were to create an empty hash with the argument '2', and then try to access a nonexistent key (since our hash is empty in this example, ALL keys are nonexistent), the hash would return '2' instead of returning 'nil'.
Access
This is the easiest part:
puts array[integer] # => value of the array at the specified integer
puts hash["key"] # => value of the hash at the specified key
Arrays have integer index <-> value pairs, hashes have key <-> value pairs. Try creating and then accessing array/hash values at indices/keys that do not exist. That way, you'll be able to recognize it if you ever do it unintentionally.
Bonus
puts array.index(value) # => index of the array at the specified value
puts hash.key(value) # => key of the hash at the specified value
For duplicate values at different indices/keys, the above two statements will return the first index/key that corresponds to the specified value. But don't take my word for it, try it for yourself!


The request body must be formatted as JSON. The following fields are supported, and all fields are optional.
type: object
| Field | Required | Type | Description |
|---|---|---|---|
carrier |
optional | string | The carrier name. |
cellTowers |
optional | Array<CellTower> | The request body's cellTowers array contains zero or more cell tower objects. See CellTower for more information. |
considerIp |
optional | string | Specifies whether to fall back to IP geolocation if wifi and cell tower signals are not available. Defaults to true. Set considerIp to false to disable fall back. |
homeMobileCountryCode |
optional | integer | The cell tower's Mobile Country Code (MCC). |
homeMobileNetworkCode |
optional | integer | The cell tower's Mobile Network Code. This is the MNC for GSM and WCDMA; CDMA uses the System ID (SID). |
radioType |
optional | string | The mobile radio type. Supported values are lte, gsm, cdma, and wcdma. While this field is optional, it should be included if a value is available, for more accurate results. |
wifiAccessPoints |
optional | Array<WifiAccessPoint> | An array of two or more WiFi access point objects. See WifiAccessPoint for more information. |


a) X-ray patterns of the blue, black and yellow samples; b) pattern matching refinement for the yellow sample considering a monoclinic phase; c) pattern matching refinement for the blue sample with one cubic unit-cell; d) pattern matching refinement for the blue sample with three superimposed cubic unit-cells.


SearchConfig
Stores the repository search configuration, e.g. full text search options and pagination options.
Tags
Table of Contents
- FTS_BINARY = 'BINARY'
- $class : string
- An optional class of the for the objects returned as the search results (to be used by extension libraries).
- $count : int
- Total number of resources matching the search (despite limit/offset)
- $ftsFragmentDelimiter : string
- Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
- $ftsHighlightAll : bool
- Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
- $ftsMaxFragments : int
- Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
- $ftsMaxWords : int
- Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
- $ftsMinWords : int
- Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
- $ftsProperty : string
- Data to be used for full text search results highlighting.
- $ftsQuery : string
- A full text search query used for search results highlighting.
- $ftsShortWord : int
- Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
- $ftsStartSel : string
- Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
- $ftsStopSel : string
- Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
- $limit : int
- Maximum number of returned resources (only resources matched by the search are counted - see `$metadataMode`).
- $metadataMode : string
- Controls amount of metadata included in the search results.
- $metadataParentProperty : string
- RDF predicate used by some of metadataModes.
- $offset : int
- Offset of the first returned result.
- $orderBy : array<string|int, string>
- List of metadata properties to order results by.
- $orderByLang : string
- If specified, only property values with a given language are taken into account for ordering search matches.
- factory() : self
- Creates an instance of the SearchConfig class form the POST data.
- getHeaders() : type
- Returns HTTP request headers setting metadata read mode and metadata parent property according to the search config settings.
- toArray() : array<string|int, mixed>
- toQuery() : string
Constants
FTS_BINARY
public
mixed
FTS_BINARY
= 'BINARY'
Properties
$class
An optional class of the for the objects returned as the search results (to be used by extension libraries).
public
string
$class
$count
Total number of resources matching the search (despite limit/offset)
public
int
$count
Set by RepoInterface::getGraphBy*() and RepoInterface::getResourceBy*() methods.
$ftsFragmentDelimiter
Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
public
string
$ftsFragmentDelimiter
$ftsHighlightAll
Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
public
bool
$ftsHighlightAll
$ftsMaxFragments
Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
public
int
$ftsMaxFragments
$ftsMaxWords
Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
public
int
$ftsMaxWords
$ftsMinWords
Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
public
int
$ftsMinWords
$ftsProperty
Data to be used for full text search results highlighting.
public
string
$ftsProperty
-
null
if both resource metadata and binary content should be used; - an RDF property if a given metadata property should be used
-
SearchConfig::FTS_BINARY
if the resource binary content should be used
$ftsQuery
A full text search query used for search results highlighting.
public
string
$ftsQuery
See https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-PARSING-QUERIES and the websearch_to_tsquery() function documentation.
Remember this query is applied only to the search results and is not used to perform an actual search (yes, technically you can search by one term and highlight results using the other).
$ftsShortWord
Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
public
int
$ftsShortWord
$ftsStartSel
Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
public
string
$ftsStartSel
$ftsStopSel
Full text search highlighting options see - https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE
public
string
$ftsStopSel
$limit
Maximum number of returned resources (only resources matched by the search are counted - see `$metadataMode`).
public
int
$limit
$metadataMode
Controls amount of metadata included in the search results.
public
string
$metadataMode
Value should be one of RepoResourceInterface::META_*
constants.
Tags
$metadataParentProperty
RDF predicate used by some of metadataModes.
public
string
$metadataParentProperty
| null
$offset
Offset of the first returned result.
public
int
$offset
Remember your search results must be ordered if you want get stable results.
$orderBy
List of metadata properties to order results by.
public
array<string|int, string>
$orderBy
= []
Only literal values are used for ordering.
$orderByLang
If specified, only property values with a given language are taken into account for ordering search matches.
public
string
$orderByLang
Methods
factory()
Creates an instance of the SearchConfig class form the POST data.
public
static factory() : self
Return values
self —getHeaders()
Returns HTTP request headers setting metadata read mode and metadata parent property according to the search config settings.
public
getHeaders(Repo $repo) : type
Parameters
- $repo : Repo
Return values
type —toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —toQuery()
public
toQuery() : string


Example of Zombie Sim
Zombies (red) cannot go into dark blocks (walls). They can move in any adjacent white space (including diagonals).


Saturday 24/9
12am
1am
2am
3am
4am
5am
6am
7am
8am
9am
10am
11am
12pm
1pm
2pm
3pm
4pm
5pm
6pm
7pm
8pm
9pm
10pm
11pm


{{ define "title" }}Slowest Tracks{{ end }} {{ define "main" }}
{{ partial "breadcrumb.html" . }} {{ partial "tag-list.html" . }}
{{ range (where .Site.RegularPages "Section" "track") }} {{ partial "computed_track_fields" . }} {{ $.Scratch.Add "enriched" (slice (dict "page" . "speed" (.Scratch.Get "speed_rating"))) }} {{ end }}


sub solution1() { my @doors = False xx 101; (.=not for @doors[0, $_ ... 100]) for 1..100; say "Door $_ is ", <closed open>[ @doors[$_] ] for 1..100; } sub solution2() { say "Door $_ is open" for map {$^n ** 2}, 1..10; } sub solution3() { say "Door $_ is ", <closed open>[.sqrt == .sqrt.floor] for 1..100; } solution1; solution2; solution3;


Default configuration. Dropdown shows a list of default system fonts, as well as an extensive list of Google fonts.
<input id="font1" type="text">
<script>
$('#font1')
.fontselect()
.on('change', function() {
applyFont(this.value);
});
</script>
The dropdown shows the default list of system fonts. The list of Google fonts the user can choose from is customized. The search box is disabled and a placeholder text is set.
<input id="font2" type="text">
<script>
$('#font2').fontselect({
googleFonts: [
'Pacifico', 'Press+Start+2P',
'ZCOOL+KuaiLe', 'Gloria+Hallelujah',
'Changa:200', 'Changa:300',
'Changa:400', 'Changa:500'
],
placeholder: 'Pick a font from the list',
searchable: false
})
.on('change', function() {
applyFont(this.value);
});
</script>
The dropdown only shows (the default list of) Google fonts. The search box is enabled, but has an overridden placeholder text. The lookahead is increased to 4.
<input id="font3" type="text" value="Caudex">
<script>
$('#font3').fontselect({
systemFonts: false,
placeholderSearch: 'Type to search...',
lookahead: 4
})
.on('change', function() {
applyFont(this.value);
});
</script>
The dropdown shows just 3 system fonts, as well as a few custom (local) fonts. There are a few Google fonts to choose from as well.
The local font files have to be in Woff format (for best compatibility with as many
browsers as possible), and they should all be put in a single folder, under the
document root folder of your site. Something like /fonts makes sense.
Provide the path to this folder as the localFontsUrl configuration parameter.
In this specific example, there are 3 files in the htdocs/fonts folder:
Action Man.woff Bauer.woff Bubble.woff
Make sure the font files are named the same as the font names you provide in the localFonts array.
<input id="font4" type="text" value="Bauer">
<script>
$('#font4').fontselect({
systemFonts: ['Arial','Times+New+Roman', 'Verdana'],
localFonts: ['Action+Man', 'Bauer', 'Bubble'],
googleFonts: ['Piedra', 'Questrial', 'Ribeye'],
localFontsUrl: 'fonts/' // End with a slash!
})
.on('change', function() {
applyFont(this.value);
});
</script>


Algorithms
Run
in this directory
Arithmetic Analysis
Backtracking
Bit Manipulation
Blockchain
Boolean Algebra
Cellular Automata
Ciphers
Compression
Computer Vision
Conversions
Data Structures
- Binary Tree
- Disjoint Set
- Hashing
- Heap
- Linked List
- Queue
- Stacks
- Trie
Digital Image Processing
Divide And Conquer
Dynamic Programming
Electronics
File Transfer
Fractals
Fuzzy Logic
Genetic Algorithm
Geodesy
Graphics
Graphs
Hashes
Knapsack
Linear Algebra
Machine Learning
Maths
Matrix
Networking Flow
Neural Network
Other
Physics
Project Euler
- Problem 001
- Problem 002
- Problem 003
- Problem 004
- Problem 005
- Problem 006
- Problem 007
- Problem 008
- Problem 009
- Problem 010
- Problem 011
- Problem 012
- Problem 013
- Problem 014
- Problem 015
- Problem 016
- Problem 017
- Problem 018
- Problem 019
- Problem 020
- Problem 021
- Problem 022
- Problem 023
- Problem 024
- Problem 025
- Problem 026
- Problem 027
- Problem 028
- Problem 029
- Problem 030
- Problem 031
- Problem 032
- Problem 033
- Problem 034
- Problem 035
- Problem 036
- Problem 037
- Problem 038
- Problem 039
- Problem 040
- Problem 041
- Problem 042
- Problem 043
- Problem 044
- Problem 045
- Problem 046
- Problem 047
- Problem 048
- Problem 049
- Problem 050
- Problem 051
- Problem 052
- Problem 053
- Problem 054
- Problem 055
- Problem 056
- Problem 057
- Problem 058
- Problem 059
- Problem 062
- Problem 063
- Problem 064
- Problem 065
- Problem 067
- Problem 069
- Problem 070
- Problem 071
- Problem 072
- Problem 074
- Problem 075
- Problem 076
- Problem 077
- Problem 080
- Problem 081
- Problem 085
- Problem 086
- Problem 087
- Problem 089
- Problem 091
- Problem 097
- Problem 099
- Problem 101
- Problem 102
- Problem 107
- Problem 109
- Problem 112
- Problem 113
- Problem 119
- Problem 120
- Problem 121
- Problem 123
- Problem 125
- Problem 129
- Problem 135
- Problem 173
- Problem 174
- Problem 180
- Problem 188
- Problem 191
- Problem 203
- Problem 206
- Problem 207
- Problem 234
- Problem 301
- Problem 551
Quantum
Scheduling
Searches
Sorts
Strings
Web Programming


Total Score:
60
points
Speed Draw
Finish three drawings within 60sec
...
1. test
+10pts
1. test
+10pts
1. test
+10pts
...
1. test
+10pts
1. test
+10pts
1. test
+10pts
...
1. test
+10pts
1. test
+10pts
1. test
+10pts