The most precious commodity in today’s world is not oil, but Data. It is collected, analyzed and sold by so many companies around the globe to benefit their purpose while folks inadvertently give permissions to such companies by accepting “terms and conditions”. While such companies collect data that might not be in public domain, there are many individuals as well who collect data that is in public domain. Not every such individual is a hacker, there are many professions that require them to utilize social engineering and extract public information about an entity that could be a person, a company or even some other hardware device.
Source Intelligence (OSINT) refers to the process of gathering information about an entity (a person, organisation or some device) using publicly available sources (as opposed to clandestine sources). Over the past many years, a lot of tools and programs have been created by open source community which can be used to gather such public information. This blog post focuses on some of such tools.
It should be noted that this blog post is only for educational purposes only and it is not to promote invading someone’s privacy. This blog post is intended to bring awareness among people of many such tools that exist so as to enable them better protect themselves when online
An open-source program written by a seasoned security programming enthusiast Raphaël who keep the repository highly up to date (last commit was yesterday from the time of writing this blog post) is undoubtedly one of the top choices among various other programmers when they start OSINT’ing (yeah, I just used OSINT as a verb, but believe me many people do that). You can use a phone number and extract quite a lot of information related to the phone number. It can also distinguish between actual phone numbers and disposable web phone number which uses VoIP.
The repository for PhoneInfoga is hosted here.
Although the repository has a very elaborate explanation, but Raphaël also wrote a blog post on Medium where he explains how to think intuitively when using OSINT to extract information about an entity. What you can take away from that blog post is how vulnerable you are if you share such information publicly. It certainly gives you an insight on how information is collected and how you can stay secure.
Maybe you think, why would someone try to use OSINT methods for your information, but remember, your information can give away some crucial information about someone else in your friend or family circle and hence when you protect yourself, you are protecting your loved ones too.
Popularized by an Amazon prime web series Mr. Robot, an Algerian developer name Manniso created this open source program which offers many services like information gathering, wireless testing to check your network is safe and well protected or not and lot of other Penetration testing services like port scanning, WordPress plug-in scanning, SQL injection scanning, making a Bluetooth honeypot and so on which makes it a one stop shop for all the commonly used tools.
The repository is hosted here
This repository is also maintained and updated regularly (last commit was 15 days ago at the time of writing this post). The repository has a decently written Readme file explaining usage for each and every service the tool offer.
One of my personal favorites is Sherlock. The name coincides with the fictional character of a private detective Sherlock Holmes who solves crime mysteries like no other. Sherlock tool hunts down social media accounts based on a username across various major social networks. So, if you have a friend who happen to use same username for many of his social media accounts, you will know where exactly he had created account and then you can blackmail him to go for a movie with you or pay for your pop-corns as you know his/her dirty little secret.
This open source project was started by a software developer named “Siddharth Dushantha” from Norway and later joined by “Yahya Sayad Arbabi”. Both the developers are incredibly talented.
The project is hosted here
This repository is maintained well and kept up to date (last commit was 5 hours ago) and has a verbose explanation for usage of the tool. It is highly unlikely that anyone would face any trouble using this tool given so precise explanations. Also, check out their startchart which shows their popularity growing so fast.
Whois is a an open source program built into Linux operating system using which you can find more information about a domain name like where it is registered, it’s registered office and other stuff provided the domain details are in public domain. Whenever you register a domain name, you have the option to make this information public or keep it private. Many private domain names now a days opt to keep it private in which case, it becomes hard to find such information. However, when a company goes public with IPO (Initial Public Offering), it has to make a lot of information as public including information of their domain registrations. Some companies even give Postal code, telephone, fax numbers as well. Using this information, you can be sure of their location geographically.
Whois is build in linux OS and there are many websites as well which query the whois database.
You can use whois from a terminal or you can use whois from websites like here.
Launched by a computer programmer John Matherly back in year 2009, Shodan serves as an open source search engine which can be used to find devices connected to the internet. Many devices across the globe are connected to internet and offer open access to anyone. Shodan collects data mostly on web servers (like on port number 80, 8080, 443, 8443), as well as FTP (port 21), SSH (port 22), Telnet (port 23), SNMP (port 161), IMAP (ports 143, or (encrypted) 993), SMTP (port 25), SIP (port 5060), and Real Time Streaming Protocol (RTSP, port 554). The latter can be used to access webcams and their video stream.
The name itself is a reference to Shodan, a character from the System Shock video game series, where Shodan is a fictional Artificial Intelligence (A.I.) much like the Ultron which is also a fictional A.I. character in the Marvel Universe.
Shodan can be accessed here.
Red hawk is very popular among OSINTers (and yeah, I used it as a noun this time). Its unique ability to detect a target’s Content Management System (CMS) like whether the website is running on WordPress, Drupal, Joomla, Wix, Squarespace etc., services offered by server, cloudflare detection, Geo-IP lookup, DNS lookup, reverse IP lookup, page ranking as per Alexa and port scanning. Basically whatever information a domain might have, pretty much everything.
The repository is hosted here.
The repository has not been update for the last one year but it still works as it says. I checked them myself.
Apart from these OSINT tools, there are many other tools which can prove to be useful when using OSINT methods like spoofing your own IP/email address when using OSINT tools using Lazy Script, another tool which is more often used in hacking (lets hope it is used for ethical purposes :p)
To conclude, virtual world is as unsafe as the real one. It all depends on us, how well informed we are and how much care we take ourselves. Now since you know how such information is collected, you can take better decision in virtual world (e.g, don’t use same usernames for all the social accounts, use VPN’s to connect to internet, you can check yourself how exposed you are in the virtual world)
I know, It has been a long pause since my last blog post. But I had couple of blog posts in drafts. Hopefully I will be publishing a few more very soon.  Peace.


WITNESS LIST Financial Institutions Committee March 3, 1997-2:00P HB 453 For: DOYLE, CHARLES THOMAS (HIMSELF/TEXAS CITY) EILAND, REP. CRAIG (HIMSELF) SCHNEIDER, ROB (CONSUMERS UNION) Against: HEASLEY, JOHN (TX BANKERS ASSN) On: GHIGLIERI, CATHERINE (TX DEPT OF BANKING) Registering, but not testifying: On: JOHNSON, D'ANN (TX DEPT OF BANKING) HB 594 For: GODDARD, RICHARD ELVIS (TX FINANCIAL SVCS ASSN) THOMPSON, REP SENFRONIA (HERSELF) Against: SCHNEIDER, ROB (CONSUMERS UNION) On: PETTIJOHN, LESLIE (OFC CONSUMER CREDIT COM) Registering, but not testifying: For: DUKE, ROBERT (TX FINANCIAL SVCS ASSN) POWER, ROBERT (NATIONS CREDIT CORP) RODGERS, KELLY (TX BANKERS ASSN) HB 876 For: NAISHTAT, REP. ELLIOTT (HIMSELF) Registering, but not testifying: On: COBB, SHARON (COORDINATING BOARD) MARTINEZ, SANDRA (COMPTROLLER OF PUB ACCT) HB 1277 For: ARMSTRONG, STEWART (HIMSELF/CREDICARD FINAN) DOYLE, CHARLES THOMAS (HIMSELF/TEXAS CITY) EILAND, REP. CRAIG (HIMSELF) HAYNES, JORGE (INTL BANK OF COMMERCE) KENNEDY, PATRICK (HIMSELF/KENNEDY & BARIS) Against: SCHNEIDER, ROB (CONSUMERS UNION) Registering, but not testifying: For: HEASLEY, JOHN (TX BANKERS ASSN) WILLISTON, CHRIS (IBAT) On: PETTIJOHN, LESLIE (OFC CONSUMER CREDIT COM) HB 1560 For: EAST, DAVID (HIMSELF/TX BUS LAW FDTN) Registering, but not testifying: For: NEELEY, KAREN (IBAT) RODGERS, KELLY (TX BANKERS ASSN) HB 1617 For: HILL, REP. FRED (HIMSELF) On: MANLEY, LARRY PAUL (TDHCA) Registering, but not testifying: For: BRIESEMEISTER, JANEE (CONSUMERS UNION) HENNEBERGER, JOHN (TX LOW INCOME HOUSING)


Minitest::Reporters::JsonReporter
This is an extension gem for the minitest-reporters gem. It adds JSON output as an output format.
Abstract
You can use this gem to interface Minitest output into automated tools like CI, CD or IDEs or code editors. An example interface might be to the Atom editor: https://atom.io
Use of JSON as a format for test runs opens up possibilities for different types of analysis. You can organize the output based on elapsed time or number of assertions of tests, for example. See the 'jq sort' example below.
I originally wrote this gem to interface to the Viper audible code editor for the blind community. See: https://github.com/edhowland/viper Using this gem with Viper also requires the 'viper_ruby' package. See https://github.com/edhowland/viper_ruby
Version 1.0.0
Installation
Add this line to your application's Gemfile:
gem 'minitest-reporters-json_reporter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install minitest-reporters-json_reporter
Usage
Add this line to your 'spec_helper.rb' or 'test_helper.rb':
require 'minitest/reporters/json_reporter'
In that same file, add something like this near the bottom of the file:
Minitest::Reporters.use! [ Minitest::Reporters::JsonReporter.new ]
Then run your tests as normal. You will get a JSON formatted string in stdout.
Object Summary
- status of the overall test run. Object.
- code - Success, Passed with skipped tests or Failed. String.
- color green, yellow or red. String.
- metadata The metadata of this particular test run. Object.
- generated_by Class name of the Minitest Reporter. Will usually be Minitest::Reporters::JsonReporter. String.
- version - Version of the minitest-reporters-json_reporter gem. String.
- ruby_version - RUBY_VERSION. String.
- ruby_patchlevel - RUBY_PATCHLEVEL. Integer.
- ruby_platform - RUBY_PLATFORM. String.
- time - Time of test run in UTC and ISO-8601 format. String.
- options - Options object as constructed by passed options, superclasses and command line args. Object.
- io - The class name of the IO object. Will be the string 'STDOUT' if equal to $stdout. String.
- keys of the options hash, if any. Various key/value pairs.
- args Array of arguments passed to the program. Array of String.
- total_count - Total number of tests ran. Integer.
- statisticsThe accumulated counts for this test run. Object.
- total Number of total runs. Integer.
- assertions Count of assertions performed. Integer.
- failures Number of failed tests. Integer.
- errors Number of errors encountered. Integer.
- skips Number of skipped tests. Integer.
- passes Number of passed tests. Integer.
- timings Object containing the computed timing information for the entire test run. Object.
- total_seconds total number of seconds for the entire test run. Float.
- runs_per_second Averaged number of runs per second. Float.
- assertions_per_second Averaged number of assertions per second. Float.
- fails - Array of failed or errored tests. Array of Object.
- type Type of the failure. Either 'failure' or 'error'. String.
- classClass name of the test. String.
- name Name of the test. String.
- assertions Number of the assertions for this test. Integer.
- time Time in seconds for this test. Float.
- message Message reported by this failure or error. String.
- location File name and line number. file:line. String.
- backtrace (exists only if type is 'error') Array of backtrace paths and line numbers. Array of String.
- skips Array of skipped tests. Array of Object.
- type The string 'skipped'. String.
- class Class name of the test. String.
- name The name of the test. String.
- assertions The count of the assertions for this test. Integer.
- time The time of this test in seconds. Float.
- message The message string passed to the 'skip()' method. String.
- location File name and line number. file:line. String.
- passes Array of passed test runs. Array of Object.
- type The string 'passed'. String.
- class Class name of the test. String.
- name The name of the test. String.
- assertions The count of the assertions for this test. Integer.
- time The time of this test in seconds. Float.
The last 2 objects: skips[] and passes[] are absent unless the --verbose command line flag was passed or if the options[:verbose] value is true.
Sample output
# Use jq to pretty print the JSON output
Example analysis feedback
JSON can be parsed and manipulated to provide many types of useful information. Below are some example usages. We use the 'jq' program to parse and select and arrange the output. The version of 'jq' is 1.5. It can be downloaded/install instructions here: Download JQ See: JQ Developer Manual
Sort by time, slowest first
This sort would show you the slowest tests first, getting faster further down the array. Similar to Minitest::Reporters::MeanTimeReporter which produces a report summary showing the slowest running tests.
$ ruby timings_spec.rb --verbose | jq '.passes | sort_by(.time) | reverse[] | .name, .time'
"test_0001_should be slow"
5.001584862009622
"test_0003_should be slightly faster"
1.0003409570199437
"test_0002_should be fast"
2.9060000088065863e-05
Group By Class example
Minitest usually runs your tests in a random sequence. This is great for test isolation and to check for state bleed-thru, but can be annoying if trying to determine where similar tests are failing. You can use the jq 'sort_by' or 'group_by' filters to get them back in some semblace of order.
Here we group the .fails[] array by their class name. (The file: 'group_by_spec.rb' contains 4 tests inside 2 classes.)
$ ruby group_by_spec.rb |jq '.fails | group_by(.class) | flatten[] | .class, .name'
"TestNumericalGroup"
"test_4_times_6_equals_24"
"TestNumericalGroup"
"test_positive_integers_are_greater_than_0"
"TestStringGroup"
"test_string_is_hello_world"
"TestStringGroup"
"test_value_length_equals_2"
Customizing the JSON format
You can adjust the contents of the returned JSON by sub-classing the Minitest::Reporters::JsonReporter class. Override the 'to_h' method and delete or modifythe hash it returns.
Here is a simple example that eliminates the 'metadata' and 'timmings' components:
# example spec_helper.rb:
class Minitest::Reporters::SlimJsonReporter < Minitest::Reporters::JsonReporter
def to_h
h = super
h.delete(:metadata)
h.delete(:timings)
h
end
end
Minitest::Reporters.use!( Minitest::Reporters::SlimJsonReporter.new )
Contributing
- Fork it ( https://github.com/edhowland/minitest-reporters-json_reporter/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Note: Extra credit if git flow feature branching was used.
Resources
- Code: https://github.com/edhowland/minitest-reporters-json_reporter
- Bugs: https://github.com/edhowland/minitest-reporters-json_reporter/issues
- Docs: http://www.rubydoc.info/gems/minitest-reporters-json_reporter/1.0.0
- Gem: https://rubygems.org/gems/minitest-reporters-json_reporter
Feedback
If you find this gem helpful, please slip me a note via e-mail<EMAIL_ADDRESS>I would like to know if anyone has used this approach to interface Minitest to any automated framework or editor.
Thanks, Ed.


Display Code
The w3-code class is used to display code in a readable mono-spaced font.
Example
fruits[0] = "Banana";
fruits[1] = "Apple";
fruits[2] = "Mango";
fruits[3] = "Plum";
Highlight Inline Code
The w3-codespan class is used to highlight inline code:
The html
element defines an HTML page.
Example
The
html element defines an HTML page.
Coloring Code
W3Schools provides a JavaScript library for coloring code.
Example
fruits[0] = "Banana";
fruits[1] = "Apple";
fruits[2] = "Mango";
fruits[3] = "Plum";
You can download the library from here: https://www.w3schools.com/lib/w3codecolor.js
If you use the w3codecolor.js library, you can also use the code classes described below:
Highlight JavaScript Code
The jsHigh class is used to highlight JavaScript code:
Example

.. JavaScript code here

Highlight HTML Code
The htmlHigh class is used to highlight HTML code:
Example

.. HTML code goes here

Highlight CSS Code
The cssHigh class is used to highlight CSS code:
Example

.. CSS code here


RSS-2-KINDLE is a free of charge and absolutely noncommercial service that allows you to transfer content of your RSS-feeds to your favourite kindle device. All you need is just SIGN UP, create a subscriber for your kindle and set up a list of RSS-feeds for it.
The service is provided "AS IS" without warranty of any kind. It is an open source project and code is available on github
Select "Subscribers" in the navigation menu and select tab "New subscriber".
In the field "Email" put email of your Kindle that you found in the Step 1.
In the filed "Name" you can put any word that you would like to use for identification of your kindle.
In "My profile" you can check your subscribers and subscriptions.
However, you can poll your subscriptions immediately. Just select "Service" in the navigation menu and push the button "Poll my subscriptions immediately"


Dev's week 7 Technical Blog Site
SQL databases vs NoSQL databases
SQL
- Standard SQL databases are what everyone has used for the last 40 years. These are standard relational database management systems.
- The most common well known SQL databases are Oracle, MySQL, and SQL Server.
Pros and Cons
- The advantages of SQL databases are that they can map most data, even XML and complex objects. Complex objects can be mapped to multiple rows divided up through normalization into multiple tables and subsequently retrieved using a View that implements the proper joins. Code libraries aid in the development of client code, and are not that difficult to use.
- The disadvantage of SQL databases is that joins n relational databases can slow the system down to a crawl, especially when millions of users are doing lookups against tables with millions of rows of data. Relational data does not map well to typical programming structures that often consist of complex data types or hierarchical data. Data such as XML is especially difficult because of its hierarchical nature. Complex objects that contain objects and lists inside of them do not always map directly to a single row in a single table.
NoSQL
- NoSQL databases came about when Google and Amazon decided that the joins of relational databases can really slow down a system when lots of users are doing lookups.
- The most common well known NoSQL databases are MongoDB, CouchDB, and BigTable.
NoSQL Vs. SQL
- The reality is that both of these systems do scale well enough for most applications. Most systems are not going to be as big as Google so that comparison is not always valid.
- Personally I would like to work with both. I think the key is how well does Ruby interact with each of the different database types and that ulitmately would be a major factor in my decision.


3
1 Terrible things will happen to Jerusalem,
that city whose people have rebelled against Yahweh
and who have become unacceptable to him because of the sins that they have committed.
They act violently toward others and they oppress other people.
2 The people there pay no attention to the prophets whom Yahweh has sent to tell them the wrong things that they are doing
and try to correct them.
The people in Jerusalem do not trust in their God or draw near to him.
3 Their leaders are like roaring lions;
they are like wolves that attack during the evening,
and eat everything that they kill,
with the result that the next morning there is nothing left of those animals to eat.
4 The prophets in Jerusalem are proud,
and the priests give messages that no one should trust.
They make the temple unholy by doing things that are against the law of Moses.
5 But Yahweh is also in the city, and he never does what is wrong.
He treats people justly, day after day;
but wicked people are never ashamed about their wrongdoing.
6 Yahweh says this:
"I have destroyed many nations;
I have destroyed their strong city walls and towers.
Now I have caused the streets in those cities to be completely deserted.
Those cities are ruined and there is no one still alive there.
They are all dead.
7 So I said to myself,
'Because of what I have done to those other nations,
surely the people of Jerusalem will honor me now
and allow me to correct them.
If they do that, I will not destroy them;
I will not punish them like I said that I would do.'
But in spite of knowing how I punished those other nations,
they were still eager to get up early each morning
and continue to perform evil deeds."
8 This is what Yahweh declares:
"Wait for the day when I will take action to plunder you!
I have decided to gather the people of the kingdoms of the earth
and cause them to know that I am very angry with them.
All over the earth I will punish and destroy people;
I will burn them up with my anger as if it were fire!
9 When that happens, I will cause all people to be changed
and enable them to speak only what is pure,
in order that everyone can worship me as one people.
10 Then my people who were forced to go to other countries, those who live along the upper part of the Nile River in Ethiopia,
will come to me and bring offerings to me.
11 At that time, you people in Jerusalem will no longer be ashamed about what has happened to you,
because you no longer will be rebelling against me.
I will get rid of all the people among you who are very proud.
No one on Zion, my holy hill, will strut around proudly anymore.
12 Those who are still alive in Israel will be poor and humble;
they will trust in me.
13 Those people who are still alive in Israel will not do anything wrong;
they will tell no lies or deceive anyone.

14 You people who live in Jerusalem and other places in Israel,
sing and shout loudly!
Be glad, and rejoice with all your inner beings,
15 because Yahweh will stop punishing you,
and he will send the armies of your enemies far away from you!
Yahweh himself, the king of the Israelites, will live among you,
and you will never again be afraid that others will harm you.
16 At that time, other people will say to us people of Jerusalem,
"You people of Jerusalem, do not be afraid; do not become weak or discouraged."
17 Yahweh your God will live among you.
He is mighty, and he will rescue you.
He will be very happy about you;
because he loves you, he will cause you to rest without being anxious.
He will sing loudly to rejoice about you,
18 like people who are happy at a festival.
I will rescue those who are helpless and those who were forced to go to other countries.
I will give them praise and honor in every country where they were exiled,
places where they had been disgraced.
20 At that time, I will gather you together and bring you back home to Israel.
I will cause you to have a good reputation and be greatly praised
among all the nations of the earth.
You will see when I cause you to prosper again."
This is what Yahweh, has declared!


Tap dancers rally together in world record bid
by Charlotte BentleyA dance school in Powys took part in a nationwide tapathon, aiming to beat a tap dancing world record.
Forty-four tap dancers, young and old, took to the Montgomery Town Hall on Sunday as part of a national attempt to get as many people tap dancing at the same time across the country, to break a Guiness World Record.
The tapathon is steered by the Performers Project and schools around the country take part each year. This year, the Sally Gartell Academy of Dance, based in Montgomery, joined the nationwide attempt.
Sally said she loves taking part in the tapathon each year, and so do the children she teaches. Money raised from the sale of T-shirts for the event goes to Children In Need – last year, they raised £48,000.
"We have been taking part for five years now," she said. "The kids love doing it. The last time we did it, I think we were about 200 people off the world record.
"The world record currently stands at 7,596 people tap dancing at the same time. It is a different routine each year and we try to get as many people involved as we can.
"We have adults and children taking part who already dance at the school and then they bring along friends and family.
"This year the routine was to a Take That song but we had to do it twice for the world record attempt, so it was about five-and-a-half minutes long.
"I had the mayor, Haydn Andrew, attend to officiate the attempt. I think what is nice is the parents get involved.
"We even had a two-and-a-half-year-old do it with her mother and sister this year. Hopefully we have broken the record this year.
"I have had dads join in which is nice because it is normally only mums taking part.
"It is a great thing to get the community involved with."


Source code for signalz.generators.cosinus
"""
.. versionadded:: 0.2
This function generates cosinus waves with given period, amplitude and offset.
It is also possible to use delay defined in samples to crop the first wave.
Example Usage
===============
Simple example
.. code-block:: python
N = 200 # number of samples
x = signalz.cosinus(N)
Function Documentation
======================================
"""
import numpy as np
import signalz
[docs]def cosinus(n, period=100, amplitude=2, offset=0, delay=0):
"""
Cosinus waves generator.
**Args:**
* `n` - length of the output data (int) - how many samples will be on output
**Kwargs:**
* `period` - length of one sinus wave period (1 / frequency)
* `amplitude` - difference between minimal and maximal value of waves
* `offset` - mean value (float)
* `delay` - how many samples should be croped from first wave (does not
influence full length of data)
**Returns:**
* vector of cosinus waves (1d array)
"""
delay += period/4.
return signalz.sinus(n, period, amplitude, offset, delay)


1 """
2 Ivy is a lightweight software bus for quick-prototyping protocols. It
3 allows applications to broadcast information through text messages, with a
4 subscription mechanism based on regular expressions.
5
6 If you're used to the standard Ivy API, you probably want to look at the
7 `std_api` module.
8
9 .. attention:: Version 2.0 broke backward compatibility. If you are upgrading
10 from ivy-python v1.x, be sure to read the `v2.0 compatibility notes`_,
11 below.
12
13 Introduction
14 ------------
15
16 The Ivy software bus was designed at the French Centre d'Etudes de la
17 Navigation Aerienne (CENA). The original work: sofware, documentation,
18 papers, credits can be found on the `Ivy Home Page`_; it contains all the
19 necessary materials needed to understand Ivy.
20
21 This package is the Python library; Ivy librairies are also available for
22 numerous languages, among wich: C, C#, C++, Java, Perl --see the `Ivy Download
23 Page <http://www.tls.cena.fr/products/ivy/download/index.html>`_ for details.
24
25 This python library is a full rewrite of the original software, and it is
26 written in pure python. Note that another python implementation is available
27 at the `Ivy downloads page`_, which is built by `SWIG <http://www.swig.org/>`_
28 on top of the Ivy C library.
29
30
31
32 Understanding the package
33 -------------------------
34
35 This Ivy package is made of two modules: `ivy` and `std_api`.
36
37 In order to understand the way it works, we highly suggest that you read the
38 materials available from the `Ivy Home Page`_. Within the documentation of
39 this python package we suppose that you are already familiar with the way an
40 ivy bus works, and with how the corresponding framework is organized.
41
42 `ivy.std_api`
43 ~~~~~~~~~~~~~
44 Once familiar with the ivy framework, you'll find in the `std_api` module the
45 exact API you're expecting (see for example the `The Ivy C library`_).
46
47 An example of use, directly taken from the original swig-base python release,
48 is included with the package, see ``examples/pyhello.py``.
49
50 .. important:: One big difference with the original implementation is that
51 there is nothing like a "main loop": the server is activated as soon as the
52 method `ivy.std_api.IvyStart` is called, and the `ivy.std_api.IvyMainLoop` method simply
53 waits for the server to terminate (the server is in fact
54
55 `ivy.ivy`
56 ~~~~~~~~~
57
58 It's where the "magic" goes: the module `std_api` is built on top of it.
59
60 You'll be interested in using this package if for example, you want to manage
61 more than one ivy-bus in an application. We won't give here much hint on how
62 to use it, since the code of the `ivy` odule itself serves as a perfect
63 example of use!
64
65 Logging
66 -------
67
68 The module issues messages through python's standard ``logging`` module:
69
70 - logger's name: ``'Ivy'``
71 - default level: ``logging.INFO``
72 - default handler: a ``logging.StreamHandler`` logging messages to the
73 standard error stream.
74
75 For example, if you need to see all messages issued by the package, including
76 debug messages, use the following code excerpt:
77
78 .. python::
79 import logging
80 logging.getLogger('Ivy').setLevel(logging.DEBUG)
81
82 Further details can be found in the `Python standard documentation
83 <http://docs.python.org/lib/module-logging.html>`_.
84
85 v2.0 compatibility notes
86 ------------------------
87
88 Version 2.0 broke the backward compatibility with former versions 1.x: every
89 callback methods now receives an `ivy.IvyClient` object as its first
90 parameter.
91
92 This makes it possible for the receiving code to know which agent on the bus
93 sends the corresponding event. Unfortunately, this breaks backward
94 compatibility and callback methods must be adapted to the new scheme.
95
96 For example, suppose you're binding a regexp to the callback ``on_msg``:
97
98 .. python::
99 IvyBindMsg(onhello, "^hello=([^ ]*) from=([^ ]*)")
100
101 In ivy-python 1.x, you used to declare the callback as follows
102
103 .. python::
104 def onhello(*arg):
105 print "Got hello message: %s from: %s"% (arg[0], arg[1])
106
107 or:
108
109 .. python::
110 def onhello(message, from):
111 print "Got hello message: %s from: %s"% (message, from)
112
113
114 In version 2.0, your callbacks also get the agent triggering the event as the
115 1st parameter; the previous callbacks should be rewritten this way:
116
117 .. python::
118 def onhello(*arg):
119 print "Got hello message: %s from: %s (coming from ivy agent: %r)"% (arg[1], arg[2], arg[0])
120
121 or:
122
123 .. python::
124 def onhello(agent, message, from):
125 print "Got hello message: %s from: %s (coming from ivy agent: %r)"% (message, from, agent)
126
127
128 Misc. notes
129 -----------
130
131 - direct msg: to app_name == the last one registered w/ that name (for
132 example register ivyprobe 3 times and send a direct msg to IVYPROBE from
133 one of them)
134
135 - regexps order and ids: ivyprobe e.g. subscribes regexp in reverse order of
136 ids. If two matches -> which one should we choose? Not explicitely
137 documented.
138
139
140 License
141 -------
142
143 This software is distributed under the `"new" BSD license
144 <http://www.opensource.org/licenses/bsd-license.php>`_,
145
146 (please refer the file ``LICENSE`` for full legal details)
147
148 Copyright (c) 2005-2008 Sebastien Bigaret<EMAIL_ADDRESS>149
150 .. _Ivy Home Page: http://www.tls.cena.fr/products/ivy/
151 .. _The Ivy C library: http://www.tls.cena.fr/products/ivy/documentation/ivy-c.pdf
152 .. _Ivy downloads page: http://www.tls.cena.fr/products/ivy/download/binaries.html
153 """
154 __version__='2.1'
155


The Gold Company measured property, plant and equipment at a revalued amount under local GAAP that was broadly consistent with fair value. Gold Co. elected to use the revalued amount as deemed cost under IFRS 1.
How should the entity classify the revaluation amount presented as a revaluation reserve in equity under Golds local GAAP at the date of transition to IFRS?
Click the graphic to find out more.


The last nba lockout was the 4 lockout ever which took place from July 1, 2011 to December 8, 2011which was 161 days long.A lockout is a temporary work stoppage or denial of employment initiated by the management of a company during a labor dispute.During this time, teams were not able to trade, sign or contact players, and players could not access NBA team facilities, trainers or staffs.


The Geography of the Superbowl
Charting the Location of Twitter Users during the 2017 Superbowl
I started thinking about this project as I was building the Twitter Stream project. Twitter has an API that allows you to filter and stream tweets based on hashtags, specific users, or geospatial restrictions. I collected every available tweet mentioning either team for the duration of the 2017 Superbowl. About 2,000,000 tweets in total. Analysis was done in Python. This page serves up a static .csv file with total count and proportion data.
The first chart is the total number of tweets. Pretty much as you would expect - dominated by the largest states and the two states principally involved in the game. Twitter rate limits streaming through the API. Usually they limit streaming capabilities to 1/10 of the total stream and moreso during periods of high traffic- like the Superbowl. The count listed here is far lower than true tweet total.
total number of tweets
The first chart suffers from the geographic profile effect. The second chart, which I think is more interesting, is a chart of the tweets per person.
tweets per person
This chart shows much more clearly the parties involved in the super bowl (in case you've forgotten, the game was between the New England Patriots and the Atlant Falcons). Lots to comment on here. One thing is apparent between both graphs: Texans love football. It's interesting that Nevada tweets a lot about the Superbowl. I imagine this is due to legalized sports gambling. In states where there are no NFL teams, people do not watch the Superbowl. I'm shocked.
South Carolinians tweeted the most frequently (0.0039 tweets/person), tweeting at nearly twice the rate of the second highest state, Georgia. South Carolinians must be huge Falcons fans or at least, relished in the neighbor's misery. Massachusettans(?) tweeted at a rate of 0.0015 tweets/person. I also appreciate that Alaska and Hawaii, despite the geographical distance, seemingly talk about the SuperBowl quite a lot. Keep in mind that due to API limiting, this is not the true rate of tweeting and should be only thought of as a vague 'frequency metric'.


There will be times when life becomes too overwhelming. There will be times in our lives where we have no idea how to go on. There will be times where doubt, fear, confusion, and uncertainty will set in and cloud our minds.
In this age of information where we are constantly bombarded by the tales of what we should want in life. “You have to get a degree from this university or college in order to be happy.” “You need a new phone in order to look good in front of your friends.” “You need that job/promotion.” “You have to have that big house to be accepted as ‘successful’.” “You need to get married by this and that age.” On and on and on we are fed by stories of what “happiness” is supposed to be. But instead, these so-called “happiness” often times left us with a sense inadequacy to life.
So what should one do when one is lost in life? Here are four simple steps to getting your life back on track.
4 Steps to Getting Your Life Back
1. Stop and Take A Step Back
One evening I return to my hermitage from a walk in the hills, and I found that all the doors and windows of the hermitage had been blown open. When I left the house, I hadn't secured them, and a cold wind blew through the house, opened the windows, and scattered the papers from the desk all over the room. Immediately I closed the doors and the windows, lit a lamp, picked up the papers, and arranged them neatly on my desk. Then I started a fire in the fireplace, and soon the crackling logs brought warmth back to the room. -Thich Nhat Hanh
Above is exactly what we do with our lives when we are lost. Thich Nhat Hanh equates our senses as the doors and windows of our life. It is difficult to pick yourself up in the middle of the storm. Sometimes it is wise to just stop and take a step back from it all. Of course, the purpose of this is not to run away or give up. Its purpose is to give ourselves the chance to recover and prepare to face life again.
To stop and take a step back from life could be anything from spending time with yourself, turning off all your electronics, a solo vacation, meditate, to participating in a meditation retreat. I do not recommend losing yourself to distractions or putting the problem off by making ourselves busy on purpose or do something just to forget the problem. The point is not to run away. The point is to allow you to step out of your situation to look inward and review your life with more clarity so that you can begin anew.
2. Understand That It’s Ok To Be Lost
It's ok to not be ok.
Life never goes according to what one wants. This is the fact of life. So it’s inevitable for everyone to, at some point, not be ok.
What is the worst and best thing that one can do at this point?
The worst thing anyone could do when facing such a situation is to hate the situation one is in. Imagine you are lost in a desert with a person who kept brooding, crying out loud, throwing tantrum, sending depressive comments, and complaining about the whole situation. How would that person help to make the situation any better if not worse?
Well, our own negative thoughts are like that person. Sometimes we can be the worst person to tag along with. Sometimes the person who is making the bad situation worse than what it is is no one other than ourselves. To hate the situation we are in is, therefore, to be a bad companion to ourselves. It is literally digging our own grave. It only makes everything worse.
In its worse form, it creates an infinite down spiral. When one dislikes the situation one is in, one tends to become dishearten and give up the whole thing which makes the situation even worse. And when the situation is worse, it makes one wants to give up even more.
The best thing that one could do when lost is simply to focus on the problem in front of us in order to put our lives back again. Don’t victimize yourself. Instead, find ways to encourage yourself. Don’t complain. Don’t blame. Instead, learning to be open to the problems of life and see it as an opportunity for you to learn to overcome. Keep going forward. Keep exploring for options. And most importantly, be nice to yourself.
3. Regaining Your Sense Of Direction
Once you have given yourself an opportunity to take a look at life from an objective point of view and your inner self is calm and collected enough to face the challenges of life then it is time to find your sense of direction in life.
Finding one’s sense of direction required a lot of inner and outer exploration. The purpose of the inner exploration is to be clear to oneself what one actually wants. The questions which one should try to answer are:
“If I die today, what is the one thing I want to do?”
“What matters to me most?”
“What am I good at?”
“What makes me feel alive?”
“If nothing else matters, what would I be doing right now?”
“What do you imagine your ‘perfect’ or ideal life to be like?”
There is a line in a famous Japanese anime where the main character said,
If you've got time to give yourself a beautiful end, then you might as well live beautifully to the end.
Well, if you are reading this then surely you still are capable of not only imagining but pursuing a beautiful life.
It’s ok to not be able to answer these questions right away. Many spent their lives never actually tried to answer these questions at all. Some never found their true sense of direction until later in life. Everything has its own time, so no need to rush in for the answers. However, to help you find your sense of direction. Here are some suggestions:
- Don't Overthink. Just Explore. The benefit of being lost is that it forces you to explore. So take this opportunity to learn more about yourself and find what it is that you truly believe in. Learn something new. Meet new and inspiring people. Learn from them how they succeed and get to where they are. Make drastic changes in life. Live life differently from what you used to. Just like when you are lost in a middle of a jungle. You probably need to try different routes before gaining some idea of which direction might be lead you to your destination. So get exploring both inside and outside. And do your best to not to do it out of fear, but out of joy.
- Simplify. The reason why we are confused about life might because we have too many wants--some even conflicting with one another. Having too much wants make our lives become too difficult to manage. As a rule of thumb, a simple life always lead to happiness. So find whatever that matters to you most and let go of others which are not. In this way, you have a clearer sense of the direction which you want to head toward.
- Revisit Your Inner Drive. If you are feeling lost then you must have known what it was like to not be lost. Revisit your past when you feel sure of life or when you felt you have a sense of purpose. This could be helpful in getting you back on track.
4. Taking Massive Action
When we are lost it is difficult to know what to do first, how to prioritize life or what we should or should not do. However, there is one thing we know for sure: if we give up and stay exactly where we are or do the exact same thing as we have always been doing then there is no hope.
"Insanity: doing the same thing over and over again and expecting different results." -Unknown
What we need when we are lost is to take action to change. Again, it does not need to be perfect but it just has to be something which improves our life.
To help us scope down to what we work on, the Buddha suggested 6 areas toward growth:
- Keep good health
- Discipline yourself
- Have good role model
- Learn to truly understand the nature of the thing in which you are engaging
- Do only that which is right and good
- Diligent on all tasks
These 6 areas are only a generalization which might point us toward an area in which we feel we need to work on. For example, finding a good role model could bring us hope as well as help us get to where we want to be in life. By learning how someone got to where you want to be, you automatically found a path or direction in which you can walk toward. It also gives you hope just knowing that there is already someone who has done it. And if you could learn from them then you just got yourself a shortcut toward your desired life. If you don’t have a role model yet then perhaps it is time to find one. Better yet, contact them! They might even help you out!
[youtube https://www.youtube.com/watch?v=HQMOzI_9Vpo?rel=0&w=560&h=315]
Once, you know which area(s) you need to change, come up with a plan and follow through. The more the specific the plan the better. It doesn’t have to be THE perfect plan. Keep a record and be mindful of your progress each day from moment to moment. Remember, without the commitment and action to change and grow, there is no hope of regaining one’s life back.
Keep Going, Keep Experimenting, Keeping Exploring. Do Not Give Up.
"Players with fight never lose a game, they just run out of time" - John Wooden
You are never lost until you give up. So never give up. Keep going. Eventually, you will find your way. Perhaps it is not the path you were expecting. But you will find it. It’s only a matter of time, patience, perseverance, and one’s willingness to change. You have my full support!
If you would like to share your story for others to help and support you or become an inspiration to others. You can do so at True Happiness’s Forum.
A Little Mental Candy for You <3
Posted with : Dealing With Unhappiness


This example shows basic usage of the YUI Test framework for testing browser-based JavaScript code.
Two different TestCase
objects are created and added to a
TestSuite
object. The TestRunner
is then used to run the tests once the page has loaded.


BTS V's Philippines fanbase TaehgersPh contributes in relief program for Earthquake Victims
by ThisKpopismyreliOn October 31, 2019, a 6.5 magnitude earthquake struck the island of Mindanao in the Philippines leaving Thousands in need of humanitarian assistance. BTS V’s Fanbase @TaehgersPh were seen doing their bit to help the needy people by providing essentials in association with Lingap Gabriella Inc. The FanBase also thanked BTS V for inspiring them to do humanitarian work.
They provided for the basic essential amenities such as bottled waters, canned goods, biscuits, blankets, medicines, etc. All the relief goods were handed over at GABRIELA National Office, Quezon City on behalf of Kim Taehyung (BTS V’s real name).
A Sunday Mass was also arranged at St. Joseph Church Gagalangin Tondo Manila at 6PM.
Gabriela Women's Party showed their appreciation by Thanking BTS V for donating goods for the disaster stricken area.
Some local people appreciated the positive influence of the idol which inspires fans to take part in welfare and betterment activities for betterment of humanity.
People who would like to donate, help and volunteer can find more information here: https://www.tienspeninggibadan...


It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters.
As opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for lorem ipsum.
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters.
As opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search of lorem ipsum
79
Projects
5
Clients
100%
Satisfaction
It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor
It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor


Occultation
Created as a typographic experiment, Occultation is a laser-cut acrylic sculpture.
The project prompt came from one word, revolution, and could take any form.
The typeface was designed to resemble each letter being cast as a shadow of itself, dispersed across the bottom panel to spell out the word revolution. The second layer has a small area allowing only one letter to be revealed at a time. As the top panel, a laser-engraved moon, is rotated, it causes the middle panel to rotate too, revealing the letters in sequence. This action was then filmed and set to music which, too, revolves. In addition to using interlocking rhythmic patterns, the melodies phase together, mimicking the sculpture’s movements and starting and ending at different points. The chord sequence for the piece is of an asymmetrical length and seems to cycle endlessly, without a natural start or finish. The music, too, revolves.
Occultation - one celestial body obscures another.


With the complete hardware calibrated, and having the objects in the workspace successfully detected, it is now possible to develop the precise bin-picking vision system. The description of the steps required for the development and Evaluation of the entire process is presented next; This section describes the purpose of each node, explains the connection among them all and how they communicate with each other and through each topics. ROS (ROBOT OPERATING SYSTEM) : It is a collection of tools, libraries, and conventions that aim to simplify the task of creating complex and robust robot behaviour across a wide variety of robotic platforms.
ROS contains diﬀerent distributions which are a versioned set of ROS packages. The one used in this project is the ROS Kinetic Kame. We attached an Intel Realsense D435i depth camera to the 6th link of a Aubo i5 robot. The workstation and the robot connected via Ethernet cable for fast communication and the rest camera was connected by USB Type–C in the drive.
Download : Link____Experimental Setup :
Running ROS master, camera node, DOPE node and rviz node:
1. Start ROS master :
cd ~/catkin_ws | source devel/setup.bash | roscore
roslaunch realsense2_camera rs_rgbd.launch # Publishes RGB images to `/camera/color/image_raw`
roslaunch dope dope.launch [config:=/path/to/my_config.yaml]
rosrun rviz rviz
Add > Image to view the raw RGB image or the image with cuboids overlaid | Add > Pose to view the object coordinate frame in 3D. | Add > MarkerArray to view the cuboids, meshes etc. in 3D. | Add > Camera to view the RGB Image with the poses and markers from above.
After the network has processed an image, it is necessary to extract the individual objects from the belief maps. In order to evaluate and demonstrate the performance of the developed bin-picking vision system, several tests were taken and a demonstration was held to present the versatility of the system. For this particular project, this sort of assessment could be done by evaluating the number of successes in the identiﬁcation and pose estimation of a demo object. For better results, we took the object cracker, almost random, at 4 various areas on a table in front of the robot, at 3 various orientations for each of the 4 places.
Detection
This approach relies on a simple postprocessing step that searches for local peaks in the belief maps above a threshold, followed by a greedy assignment algorithm that associates projected vertices to detected centroids. For each vertex, this latter step compares the vector ﬁeld evaluated at the vertex with the direction from the vertex to each centroid, assigning the vertex to the closest centroid within some angular threshold of the vector.
Pose Output
Once the vertices of each object instance have been determined, a PnP algorithm is used to retrieve the pose of the object. This step uses the detected projected vertices of the bounding box, the camera intrinsics, and the object dimensions to recover the ﬁnal translation and rotation of the object with respect to the camera. All detected projected vertices are used, as long as at least the minimum number (four) are detected.
The network employs multiple stages to reﬁne ambiguous estimates of the 2D locations of projected vertices of each object’s 3D bounding cuboid. These points are then used to predict the ﬁnal pose using PnP, assuming known camera intrinsics and object dimensions. The robot was programed to go to distance before grasp coordinates above the object. The prototype object detected and pose estimated successfully in various orientations. We rotated the objects 6-DOF and the object detection was quite successful.


Note: the last | is the separator for the tag arguments and the call back parameters. It must present even if the parameters are empty.
before `tag fooTag("hi") | `final String echo = "secret"; well ${echo} `tag anotherTag(echo) | String what got $what and $echo `tag moreTag(echo) | String more got $what and $echo and $more ` ` ` after


Click here to learn more about Transit Future - this will be a factsheet download.
Click here to learn more about similar campaigns in Los Angeles, Toronto, Seattle, New York and Minneapolis individual links to these campaigns
Click here to learn more about CNT’s research in the fields of housing and transportation
If your organization wants to join the campaign, contact Edward Oser.
If you are a member of the media, contact Ryan Kilpatrick.
A project by: OpenCity + Cartographika + CNT


Class: c3.Plot.Layer.Stackable Abstract
| Defined in: | js/c3-layers.coffee |
| Inherits: | c3.Plot.Layer |
Overview
safe
mode is not used.
An abstract class for layers that support stacking such as c3.Plot.Layer.Path and c3.Plot.Layer.Bar.
Stacking allows the user to group their data into different stacks, which are stacked
on top of each other in the chart. Stacking is enabled when you define either stack_options.key
, stacks
,
or both options. stack_options
allows you to configure how stacking is performed from the layer's data,
while stacks
allows you to manually configure the exact set of stacks.
This layer stacking is flexible to support several different ways of organizing the dataset into stacks:
- For normalized datasets you can define a
stack_options.key()
accessor to provide a key that uniquely identifies which stack an element belongs to. - Otherwise, you can manually define the set of
stacks
and the layer'sdata
is copied into each. - The layer
y
accessor will be called with the arguments (datum,index,stack) for you to provide the value for that element for that stack.
- The layer
- Or, you can define a
y
accessor for each stack to get the value for that element for that stack.
- Or, you can define a
- You can also directly define
data
in each stack specified instacks
.
Please view the examples for more explanation on how to stack data. Remember, the set and order or stacks can always be programmatically constructed and dynamically updated.
Extensibility
The following c3.Selection members are made available if appropriate:
- groups - An entry will exist for an svg:g node for each stack in the layer
Direct Known Subclasses
c3.Plot.Layer.Path c3.Plot.Layer.Bar
Variables Summary
- version =
-
0.2
- type =
-
'stackable'
- stack_options =
-
undefined
[c3.Selection.Options] Enable stacking and specify stacking options for this layer. This provides the normal c3.Selection.Options applied to each stack in the layer. For callbacks, the first argument is the stack object and the second argument is the index to the stack In addition, the following options control stacking behaviour:
- key [Function] An accessor you can define to return a key that uniquely identifies which stack a data element belongs to. If this is specified, then this callback is used to determine which stack each data element is assigned to. Otherwise, the layer data array is used in full for each stack.
- name [Function] A callback you define to set the name of a stack that is passed the stack key as an argument.
- offset [String, Function] The name or a function for the stacking algorithm used to place the data. See d3.stack.offset() for details.
zero
- The default for a zero baseline.
expand
- Normalize all points to range from 0-1.
- order [String] Specify the mechanism to order the stacks. See d3.stack.order() for details.
- stacks =
-
undefined
[Array<c3.Plot.Layer.Stackable.Stack>] An array of stack objects that can be used to manually specify the set of stacks. Stack objects may contain:
- key [String] The key for this stack
- y [Function] A y accessor to use for this stack overriding the one provided by the chart or layer.
- data [Array] Manually specified dataset for this stack instead of using the layer's
data
. - name [String] Name for the stack
- options [c3.Selection.Options] Options to manually set the class, classes, styles, events, and title of just this stack.
- safe =
-
true
[Boolean] Safe Mode. Preform additional checks and fix up the data for situations such as:
- Data not sorted along X axis
- Remove data elements where X or Y values are undefined
- Pad missing values where stacks are not defined for all X values. Note that this mode may cause the indexes passed to the accessors to match the corrected data instead of the original data array.
Variable inherited from c3.Plot.Layer
version type _next_uid data name class static_data h v x y options handlers restyle
Instance Method Summary
- # (void) _stack() Bound Restack the data based on the stack and stacks options.
- # (void) _update() Bound
- # (void) _style(style_new) Bound
- # (void) min_x() Bound
- # (void) max_x() Bound
- # (void) min_y() Bound
- # (void) max_y() Bound
Inherited Method Summary
Methods inherited from
c3.Plot.Layer
#init #size #update #draw #style #zoom #redraw #scale #min_x #max_x #min_y #max_y
Instance Method Details
#
(void)
_stack()
Bound
Restack the data based on the stack and stacks options.
#
(void)
_update()
Bound
#
(void)
_style(style_new)
Bound
#
(void)
min_x()
Bound
#
(void)
max_x()
Bound
#
(void)
min_y()
Bound
#
(void)
max_y()
Bound


89 If the object has neither a method nor a datum with the desired name, but it does have a parent, then the parent (that is, the parent’s dispatch procedure) is invoked with the message as its input. Eventually, either a match is found, or an object with no parent is found; the latter case is an error, meaning that the user has sent the object a message not in its repertoire. Messages can take any number of inputs, as in the class/instance system, but in the prototyping version, every method automatically gets the object to which the message was originally sent as an extra ﬁrst input. We must do this so that if a method is found in the parent (or grandparent, etc.) of the original recipient, and that method refers to a variable or method, it will use the child’s variable or method if the child has its own version. The clone of block below takes an object as its input and makes a child object. It should be considered as an internal part of the implementation; the preferred way to make a child of an object is to send that object a clone message.


Rotate counterclockwise:
Rotate clockwise:
Pause:
Player2 rotate cc:
Move left:
Move right:
Move down:
Player2 left:
Player2 right:
Player2 Move down:
Enter your name:


Your name must be 2-12 letters
Your username can be alphanumeric (_ and - are allowed) of 2-12 characters
Your email must be a valid email, e.g<EMAIL_ADDRESS>Your password must be alphanumeric (@,_ and - are allowed) of 6-32 characters
Your telephone number must be 11 characters with<PHONE_NUMBER> format or separated with space
Your bio must be minimum of 3-60 characters


r.js-built version of the multi level test to confirm build artifacts are correct and work without a config call.
Check console for messages


25% of all school aged children are unsupervised in the afternoon.
Students participating in a high quality after-school program
went to school more, behaved better, received better grades, and did better on tests.
9 in 10 working mothers said they are most concerned about their children’s safety during the after-school hours.
Low-income and minority parents are much more likely than
higher-income and white parents to say they have trouble finding appropriate after school care.
Data for the current study were collected from parents and staff in 24 elementary after-school program sites in a large Midwestern city.
After-school program sites in the current sample serve low-income, inner-city communities. The sample includes a total of 247 parents who were asked to
complete a survey while picking up their child from the after-school program. All but three parents (.01%) agreed to participate the in the study.
The sample also includes 158 ethnically diverse program staff members (M=34.28 years old, SD=16.18; 71% female) working at the after-school programs.
Parent engagement was measured with an 18 item survey developed for this study. Additionally, teams of two trained assessors observed and
rated the quality of 156 activities
over the course of three months using the Out-of-School Time Program Observation Tool (OST; Pechman, Russell & Birmingham, 2008). These observations create a
SAFE score which measured the quality of the after school program.
The results presented below were used to examine the qualities of the after school program that predict high parent engagement.


function GetFillLine: TFillLineEvent; abstract;
Descendants should override this abstract method. If overriden it should return a TFillLineEvent callback that is used to fill lines in a polygon.
[See also]:


Hello!
{% if changed.status %}Status has been changed from {{ changed.status }} to {{ issue.status }}.
{% endif %} {% if changed.description %}Description has been changed from {{ changed.description }} to {{ issue.description }}.
{% endif %} {% if changed.summary %}Summary has been changed from {{ changed.summary }} to {{ issue.summary }}.
{% endif %} {% if changed.priority %}Priority has been changed from {{ changed.priority }} to {{ issue.priority }}.
{% endif %}Please visit {{ site_name }} to find out more details.


| # | File | Line | Problem |
|---|---|---|---|
| 1 | /home/maxime/Documents/M1/S1/GenieLog/GildedRose/Java/src/test/java/com/gildedrose/GildedRoseTest.java | 11 | The String literal "quelconque" appears 6 times in this file; the first occurrence is on line 11 |
| 2 | /home/maxime/Documents/M1/S1/GenieLog/GildedRose/Java/src/test/java/com/gildedrose/GildedRoseTest.java | 51 | The String literal "Aged Brie" appears 4 times in this file; the first occurrence is on line 51 |
| 3 | /home/maxime/Documents/M1/S1/GenieLog/GildedRose/Java/src/test/java/com/gildedrose/GildedRoseTest.java | 99 | The String literal "Backstage passes to a TAFKAL80ETC concert" appears 7 times in this file; the first occurrence is on line 99 |
| 4 | /home/maxime/Documents/M1/S1/GenieLog/GildedRose/Java/src/test/java/com/gildedrose/TexttestFixture.java | 4 | Found 'UR'-anomaly for variable 'item' (lines '4'-'29'). |
| 5 | /home/maxime/Documents/M1/S1/GenieLog/GildedRose/Java/src/test/java/com/gildedrose/TexttestFixture.java | 18 | Found 'DU'-anomaly for variable 'app' (lines '18'-'34'). |
| 6 | /home/maxime/Documents/M1/S1/GenieLog/GildedRose/Java/src/test/java/com/gildedrose/TexttestFixture.java | 20 | Found 'DD'-anomaly for variable 'days' (lines '20'-'22'). |


23,456 documents
19,876 reviewed
11,123 produced
The available options are:
Defines the diameter of the chart. This will also accept a percentage value in the form of a string, e.g. "50%".
Defines the width of each ring.
Defines the spacing between each ring.
Defines whether or not ring should show a hover effect when the mouse is over it.
Defines a function to be called when a ring is hovered. The function should accept one argument that will contain the data corresponding to the hovered ring.
Defines a function to be called when a ring is clicked. The function should accept one argument that will contain the data corresponding to the clicked ring.
Defines the content and appearance of a center label if one is defined.
Defines tooltip options.
The following attributes should be defined within centerLabel.
Whether or not the chart should show a center label.
Defines the content of the center label.
Defines the color of the center label text.
Defines the font family of the center label.
Defines the font size of the center label. Take into account the size of the chart when considering a font size to ensure text is suitably displayed within the chart.
The following attributes should be defined within tooltip.
Defines whether a tooltip should show when a ring is hovered.
Defines the content of the tooltip. The function should accept one argument which will contain the data corresponding to the ring that was hovered. The function should return a HTML string.
Defines how the tooltip should be offset from the mouse position.
The following attributes should be defined within shifts.
Defines how many pixels left or right the tooltip should be positioned from the mouse position.
Defines how many pixels up or down the tooltip should be positioned from the mouse.
Nested Donut Charts are defined by the nested-donut
directive. The dataset and options
attributes define the nested donut chart data and options respectively. Dataset and Options are defined within the NestedDonutChartCtrl.
Note: Refer to the Flot Options page for details of chart options.
Note: This component can be used in an Angular application by importing the HybridModule.


Enter your website/domain name on the below given box.
Alexa Rank: Fetching...
Domain Engagement: Fetching...
Entered Domain Name: Fetching...
Total Time Taken: Fetching...


|
| Last modified on Sat Jul 22 11:14:10 2023 UTC. | Improve this page |
The µOS++ RTOS APIs are a set of RTOS interfaces, highly portable but designed to best match the ARM Cortex-M processor-based devices.
The project highlights are:
the core µOS++ RTOS is based on a C++ API (namespace os::rtos
), defined in <cmsis-plus/rtos/os.h>;
exactly the same functionality is provided in C, with a C wrapper, for those who prefer to use plain C; the C API is defined in <cmsis-plus/rtos/os-c-api.h>;
for compatibility reasons, the actual CMSIS API is also implemented in the C wrapper; it is defined in <cmsis_os.h> (functional, passed the CMSIS RTOS validation, using the FreeRTOS port);
on top of the core C++ API, the ISO standard thread library is fully implemented (namespace os::estd
), and this is the recommended C++ API for future applications; the definitions are available from <cmsis-plus/estd/*>;
all RTOS objects are based on the core C++ objects, and objects created in C++ can be used in C and similarly objects created in C can be used in C++ (there is no mystery here, they represent exactly the same objects);
the C++ API was originally derived from the original CMSIS RTOS C API, but was adjusted to match the POSIX and ISO requirements as close as possible, so now it is generally a C++ version of the POSIX pthread library;
the µOS++ RTOS specification will go one step further then the original CMSIS, it will also suggest a portable scheduler API, and a set of portable synchronisation primitives, calling the portable scheduler; the portable synchronisation objects can be considered a ‘reference implementation’, however µOS++ does not mandate the use of these objects, it is quite easy to forward all calls to the underlaying implementation, as the current version using FreeRTOS does (partly implemented, to be completed soon);
there will also be a reference scheduler implementation (called µOS++ III), that will also be highly portable; it will run in 32-bits and 64-bits environments but will be specifically tailored for Cortex-M cores; it’ll also run on synthetic POSIX platforms, for example as a user mode POSIX process, on OS X and GNU/Linux, possibly on Windows if MinGW-w64 will allow an easy port. (will be based on prior µOS++ versions, which are fully functional);
µOS++ also includes a POSIX IO interface (namespace os::posix
), bringing together access to terminal devices, files and sockets, via a unified and standard API (functional in a separate project, will be updated and moved here shortly);
µOS++ Drivers are the response to CMSIS Drivers, but designed in C++ (namespace os::drivers), and with a C API on top of them (µOS++ serial, USB Device and USB Host already defined and partly implemented);
the µOS++ packaging solution will extend and complement CMSIS Packs with xPack/XCDL packs.


Refreshing the Active Groups List
To update the list of groups, select Group > Refresh. Two conditions require you to refresh the Active Groups list:
• viewing groups that you have created using Access
• viewing changes to the Active Groups list when you have renamed one or more groups


Author: Sherif F. Makary
This example demonstrates the use of Java EE declarative security to control access to EJB3 and Security in JBoss Enterprise Application Platform 6 or JBoss AS 7.
This quickstart takes the following steps to implement EJB security:
standalone.xml
configuration file.WEB-INF/jboss-web.xml
.WEB-INF/web.xml
.When you review the code, note the allowed user role guest
in the annotation -@RolesAllowed
- is the same as the user role defined in step 2 above.
All you need to build this project is Java 6.0 (Java SDK 1.6) or better, Maven 3.0 or better.
The application this project produces is designed to be run on JBoss Enterprise Application Platform 6 or JBoss AS 7.
If you have not yet done so, you must Configure Maven before testing the quickstarts.
This quickstart uses a secured management interface and requires that you create an application user to access the running application. Instructions to set up an Application user can be found here: Add an Application User
The following shows the command line to start the server with the web profile:
For Linux: JBOSS_HOME/bin/standalone.sh
For Windows: JBOSS_HOME\bin\standalone.bat
NOTE: The following build command assumes you have configured your Maven user settings. If you have not, you must include Maven setting arguments on the command line. See Build and Deploy the Quickstarts for complete instructions and additional options.
Type this command to build and deploy the archive:
mvn clean package jboss-as:deploy
This will deploy target/jboss-as-ejb-security.war
to the running instance of the server.
The application will be running at the following URL http://localhost:8080/jboss-as-ejb-security/.
When you access the application, you should get a browser login challenge.
After a successful login using quickstartUser
/quickstartPassword
, the browser will display the following security info:
Successfully called Secured EJB
Principal : quickstartUser
Remote User : quickstartUser
Authentication Type : BASIC
You can now change the role in the quickstart /src/main/webapp/WEB-INF/classes/roles.properties
files to notauthorized
.
Rebuild and redeploy the quickstart following the instructions under Build and Deploy the Archive above.
Refresh the browser, clear the active login, and you should get a security exception similar to the following:
HTTP Status 403 - Access to the requested resource has been denied
type Status report
message Access to the requested resource has been denied
description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.
When you are finished testing, type this command to undeploy the archive:
mvn jboss-as:undeploy
You can also start the server and deploy the quickstarts from Eclipse using JBoss tools. For more information, see Use JBoss Developer Studio or Eclipse to Run the Quickstarts
If you want to debug the source code or look at the Javadocs of any library in the project, run either of the following commands to pull them into your local repository. The IDE should then detect them.
mvn dependency:sources
mvn dependency:resolve -Dclassifier=javadoc


Yalmaz Siddiqui on MGM Resorts International's approach to food waste management
MGM Resorts International brought its mobile food chiller to GreenBiz Group's annual VERGE 19 conference. The chiller is just one tool the company is using to help manage and divert its food waste. MGM uses multiple other programs to decrease its food waste. For example, in 2018, it sent 13,000 tons of food scraps to other sources — primarily to farms that used the scraps feed animals.


{% extends "base.html" %} {% block content %}
- The master table will be updated
      The data will be updated by querying the sciencebase servers,
      and in order to keep from overwhelming the servers, the query
      frequency has been throttled. Estimated update duration is
      1 hour 45 minutes.
- The project comparison graphs will be updated (estimated duration: 6 - 8 hours)
{% endif %} {% if update_proj_matches %}- The project match dictionaries will be updated (estimated duration: 6 minutes)
{% endif %} {% if cascs_to_update %}- The following CASC(s) will be updated (estimated duration: {{ cascs_to_update|length * 2 }} minutes):
{% for casc in cascs_to_update %}You may continue with your work


What is used to install and manage python packages globally?
pip: "pip installs packages". Like npm --global in javascript
What is an isolated working environment called in python?
virtualenv
If you want to run different versions of python in different projects, what would you use?
virtualenv: Creates an isolated working environment; enables side-by-side projects to work on different versions of python
What tool(s) in python are like a combination of nvm and node_modules in javascript?
pipenv: ties together pip and virtualenv to seem almost like npm and nvm working together.
What does PIPENV_VENV_IN_PROJECT=1 do?
It prevents pipenv from installing its virtual environments in a global area. Usually found in your shell init files like .bashrc, or .zshrc
What is the python version of package.json in javascript?
pipfile
Does pip understand pipfiles?
No! Only pipenv reads pipfiles.
How do you get a virtual environment setup in your project?
python versions
pipenv install --python
"PYENV_ROOT/versions/3.8.1/bin/python"
OR pipenv install --python
<version>
When you install the virtualenvironment in your project, what files do you get?
Now that you've installed virtualenv in your project, how do you activate it?
pipenv shell
: You will notice you have a prompt prepended your your normal prompt,
showing
your
project directory in parens
What tool would you use to write python tests?
pytest : pipenv install pytest
How do you uninstall a package from your pipenv?
pipenv uninstall <packageName>
How would you install a version of pytest that is less than or equal to version 5.3?
pipenv install "pytest<=5.3"
How would you run something in your virtualenv without running the
pipenv
shell
?
pipenv run <programName>
How do you run unit tests in Python?
pipinstall pytest
python -m unittest
What module do you need to run unittests?
import unittest
What must your testcase class inherit from to use unittest?
unittest.TestCase
In your test folder, what additional file do you need in order to run your testcases?
__init__.py
What three parts must a unittest have in order to run?
Arrange, Act, and Assert
Where do you put your variable assignments and instance instantiations?
#Arrange area of your unittest function: s = Stack()
Where do you "do something" in your unit test function?
#Act: s.push()
Where do you evaluate your tests results in your unittest function?
#Assert: self.assertEqual(s.peek(), True)
where s.peek() is a function that returns a
boolean
How do you name your unittest functions?
Name them what they are testing for: "test_peek_returns_last_item_but_does_not_remove_it_from_stack"
Write a unittest to pop the last item from the stack and remove it from the stack
import unittest
def TestStack(unittest.TestCase):
def test_constructor_is_no_arg(self):
#Arrange
s = Stack()
s.push(6.28)
#Act
result = s.pop()
#Assert
self.assertEqual(result, 6.28)
How do you create an environment to run pytest?
pipenv install --python 3.8.6
pipenv shell
pipenv install --dev pytest
__init__.py
file to your test folderpipenv install --dev
pycodestyle
then in VSCode choose linter of pycodestylepytest
: to run pytestHow do you name test files in pytest?
If they begin with test, or end with test, then pytest understands it's a test file
Write a test to test that your class peek function returns the item on the stack, but does not pull it off the stack, using the Stack class.
from stack import Stack #import your class you're testing
def test_peek_returns_last_item_pushed_but_leaves_it_on_stack():
s = Stack()
s.push(6.28)
assert s.peek() == 6.28
assert len(s) == 1
How do you name your test cases in pytest?
make sure they all begin with the word test. They can be camel cased - but must begin with the word "test"
Does pytest understand unittest code?
Yes!
import unittest
from stack import Stack
class TestStack(unittest.TestCase):
def test_constructor_is_no_arg(self):
#Arrange
#Act
Stack()
#Assert
def test_new_stack_has_zero_elements(self):
#Arrange
s = stack()
#Act
result = len(s)
#Assert
self.assertEqual(result,0)
How do you skip a single test in pytest?
use the @pytest.mark.skip()
decorator above the function (or in unittest, the class).
Note:
You
must import pytest to use the decorator.
Can you skip in the middle of a function in pytest?
Yes!
def test_new_stack_has_zero_elements():
if True:
pytest.skiip()
asert len(Stack()) == 0
What is a decorator
A function that takes in another function to extend its behavior and return a modified version of the inner function
Define metaprogramming
Dynamic modification through the use of Python decorators is a simple example of metaprogramming. Metaprogramming is when an object is created by other objects. Decorators are functions that return other functions.
Define introspection
The ability to examine objects to determine its behavior or type.
How would you "observe" an object?
use the dir() function: print(dir(myFunction))
# ['__annotations__', '__call__',
'__class__',
'__closure__', '__code__', '__defaults__', '__delattr__', '__dict__', '__dir__', '__doc__',
'__eq__',
'__format__', '__ge__', '__get__', '__getattribute__', '__globals__', '__gt__', '__hash__',
'__init__',
'__init_subclass__', '__kwdefaults__', '__le__', '__lt__', '__module__', '__name__', '__ne__',
'__new__',
'__qualname__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__',
'__subclasshook__']
Write a decorator function that will return: "Hi, Julia, This is a message from Ryan." You will use kwargs and the function as follows:
@message_decorator
def say_hi(name):
return f'Hi, {name}'
print(say_hi(name='Julia', author='Ryan'))
def message_decorator(message_func):
def message_wrapper(*args, **kwargs):
message = message_func(kwargs['name'])
author = kwargs['author']
return f'{message}! This is a message from {author}.'
return message_wrapper
Give a couple examples of context managers
f = open('some_file.txt')
How would you manage a file using a try/catch block in python?
f = none
try:
f = open('some_file.txt')
# do some stuff
finally:
if f:
f.close()
Change the open code, using with
with open('some_file.txt') as f:
#do stuff with f like read the file
Use with to create a database connection and create a table called CREATE_USERS_TABLE_SQL using with
with psycopg2.connect(CONNECTION_PARAMETERS) as conn: with con.cursor() as curs: curs.execute(CREATE_USERS_TABLE_SQL)
What are the two key dunder methods used with with?
Create a class to be used with with that will print 2. In __enter__" and "4. In __exit"
class WithLogger:
def __enter__(self):
print("2. In __enter__")
return self
def __exit__(self, type, value, traceback):
print("4. In __exit__", type, value
return True
Now use the class you just created with a with statement:
print("1. Before with")
with WithLogger() as logger:
print("3. In with block")
print("5. After with")
This will print:
How do you install psycopg2?
pipenv install psycopg2-binary
HJow would you setup connection parameters for use with psycopg2?
CONNECTION_PARAMETERS = {
'dbname': 'psycopg_test_db',
'user': 'psycopg_test_user',
'password': 'password',
}
What are the steps for opening a psycopg2 connection, and closing it, without using with
import psycopg2
CONNECTION_PARAMETERS = {
'dbname': 'psycopg_test_db',
'user': 'psycopg_test_user',
'password': 'password',
}
#Connect to the database
conn = psycopg2.connect(**CONNECTION_PARAMETERS)
#Create a cursor
curs = conn.cursor()
#Do stuff ...
#Commit the changes to the database
conn.commit()
#Close the connection
curs.close()
conn.close()
How would you open a psycopg2 connection, create a cursor, execute some code, and close the connection with a with statement?
import psycopg2
CONNECTION_PARAMETERS = {
'dbname': 'psycopg_test_db',
'user': 'psycopg_test_user',
'password': 'password',
}
def change_car_owner(car_id, new_owner_id):
with psycopg2.connect(**CONNECTION_PARAMETERS) as conn:
with conn.cursor() as curs:
curs.execute("""
UPDATE cars SET owner_id = %(new_owner_id)s
WHERE id = %(car_id)s
"""
{'car_id': car_id,
'new_owner_id': new_owner_id})
change_car_owner(5, 1)
What are the datatype conversions between PostgreSQL and Python?
| PostgreSQL | Pyton |
|---|---|
| NULL | None |
| bool | bool |
| double | float |
| integer | long |
| varchar | str |
| text | unicode |
| date | date |
How do you setup flask?
pipenv install Flask~=1.1
pipenv install python-dotenv~=0.13
#to use the .flaskenv fileHow do you check the flask version?
pipenv run flask --version
How would you create a route file using Flask?
from flask import Flask
app = Flask(__name__)
@app.route('/', methods=["GET", "POST"])
def hello():
return '
Hello, world!
'
What do you put in your .flaskenv file?
In your .flaskenv file, create the following entries:
FLASK_APP=<fileName>
FLASK_ENV=development
How do you run flask outside of the pipenv shell?
pipenv run flask run
In your route, how do you create a url that takes a path, and a variable, like "id"?
@app.route('/item/<id>') def item(id): return f'
How do you setup a route that serves two different routes with the same function?
@app.route('/')
@app.route('/home')
def home():
return '
Home
'
How would you perform some function BEFORE processing the request?
Use cases: opening a database connection or loading the logged-in user from the session.
@app.before_request
def before_request_function():
print("before_request is running")
How would you perform some function AFTER processing the request?
The function must take in the response as an argument, and must return a new, or the same response.
@app.after_request
def after_request_function(response):
print("after_request is running")
return response
How would you run a one-time initializer?
Runs before the first request is handled:
@app.before_first_request
def before_first_function():
print("before_first_request happens once"
How do you install Jinja?
pipenv install Jinja2~=2.11
, then make sure all your .html files are inside a templates
folder
What do you need to import to display a Jinja template?
from flask import render_template
In your Jinja template, how would you write an if statement?
{% if not logged_in %}
Log in
{% endif %}
How do you write a for loop in a Jinja template?

{% for item in navigation %}

{{ item.caption }}

{% endfor %}

How doo you create a template, like a copyright in Jinja and include it in your templates?
In copyright.html:
© 2020 Me, myself, and I. All rights reserved.
In nav.html:
Home
|
About
Then in your index.html file:

<title>{{ page }} = {{ sitename }} </title>

{{ sitename }}

{{ page }}

{% include 'nav.html' %}

Coming soon to a browser near you...

{% include 'copyright.html' %}

What does WT Forms use to prevent Cross-Site Request Forgery?
A SECRET_KEY
Where do you put your secret key?

Use config.py:
import os
class Config(object):
SECRET_KEY = os.environ.get('SECRET_KEY') or 'default-key-for-devs'
Where do you use your config class?
You need to use it in your route file:
from flask import (Flask, render_template)
from app.config import Config
app = Flask(__name__)
app.config.from_object(Config) #populate Flask config dictionary from config class
What do you need to install to use Flask, Jinja, and WT Forms?
pipenv install Flask~=1.1
pipenv install Jinja2~=2.11
pipenv install python-dotenv~=0.13
pipenv install Flask-WTF~=0.14
What files need to be setup to use WT Forms?


We will process your data electronically.
We will combine your coded study data with the coded study data of other volunteers.
We will store this combined coded study data in the United States on the Synapse data analysis platform. Synapse is run by Sage Bionetworks (non-profit).
We will analyze the combined coded study data. We will look for patterns. Also, we will investigate how mobile phones and sensors perform in this type of research. Our goal is to improve the quality of life for people with SAMPLE.
We will not use the coded study data for commercial advertising.


Watch - house stuffed full of duty free after man pinched £15,000 worth to flog on eBay
The man's home was described as 'unlivable' after an astonishing amount of stolen items were found
by Sian FilcherA man has been jailed after stealing alcohol and gift sets worth £15,000 from airlines - and stuffed them into his small home.
Eduard Caia, 28, was a warehouse cleaner for in-flight catering company Alpha LSG and managed to rack up £10,000 from online sales of stolen items.
Footage from inside Caia’s home in Hounslow shows boxes, alcohol and gift sets stacked and stashed in every crevice of the house.
Investigating officer PC Tom Blair described the home as ‘unlivable’ due to the astonishing amount of stolen products.
Caia was investigated after an employee spotted the branded kits being flogged on eBay.
Isleworth Crown Court heard how the security team at Alpha LSG emailed the seller pretending to be interested in the goods.
The team struck up a conversation with the seller and became confident that the thief was Caia.
Officers from the Metropolitan Police arrested Caia at the warehouse on 18 October 2017.
1,700 amenity kits worth £8,680 were stolen, along with 700 bottles and cans of alcohol worth more than £4,000.
Caia also pinched a stack of pyjamas and slippers worth £1,175 from the company.
A stash of £1,700 cash found in a bedroom drawer was also seized by officers.
Investigating officer, PC Tom Blair, of the Met’s Aviation Policing Command, said: “Caia was set to make more money selling all that was left in his house, but he didn’t count on the tight-knit relationship of the airlines, his own employers and the police.
“I really must applaud Alpha LSG who wasted no time in launching an internal investigation once they suspected a staff member of criminality.
“This case is evidence of how seriously this kind of crime is treated by businesses working at Heathrow Airport and the police.”
On Friday, 25 October, Caia pleaded guilty to one count of theft and one count of acquiring criminal property over the period 18 October 2016 to 18 October 2017.
He was sentenced on Thursday, 28 November to a total of 21 months’ imprisonment, suspended for 18 months. He was also ordered to carry out 200 hours of unpaid work.
Following the sentencing, officers will instigate proceedings under the Proceeds of Crime Act in relation to the £10,000 he made from selling the stolen goods.


--- layout: post title: Cisco Expands in Brazil, Education Segment date: '2012-04-03T14:27:27-07:00' tags: tumblr_url: http://alexhwilliams.tumblr.com/post/20426564407/cisco-expands-in-brazil-education-segment ---
http://bit.ly/HeIHkZ


Up: Miscellany
Next: Datatype Constructor MPI_TYPE_CREATE_INDEXED_BLOCK
Previous: Passing NULL to MPI_Init
The values for the MPI_VERSION and MPI_SUBVERSION for an
MPI-2 implementation are 2 and 0 respectively. This applies both to the
values of the above constants and to the values returned by
MPI_GET_VERSION.
Up: Miscellany
Next: Datatype Constructor MPI_TYPE_CREATE_INDEXED_BLOCK
Previous: Passing NULL to MPI_Init
Return to MPI-2 Standard Index
Return to MPI 1.1 Standard Index
Return to MPI Forum Home Page
MPI-2.0 of July 18, 1997
HTML Generated on September 10, 2001


---
layout: post
title: Food ad
date: '2015-06-21T18:30:30+02:00'
categories:
- Storyboards
picture_url: https://film-Storyboards.tumblr.com/post/122118858299/director-anne-marie-vandeputte-roduction-lovo
---
Director: Anne Marie Vandeputte
roduction: LOVO FILMS


Create a word cloud!
What kind of cloud do you want?
What shape would you like the word cloud to be?
Which image would you like to use as a background? The cloud will overlay words on all non transparent pixels.
How many layers would you like? (2-{{ MAX_LAYERS }})
Which image would you like to use as a background of layer {{ i }}?
What text set would you like to use for layer {{ i }}?
How many colors would you like in layer {{ i }}? (max 5)
What colors would you like?
What text set would you like to use for layer 1?
How many colors would you like in layer 1? (max 5)
What text set would you like to use for layer 2?
How many colors would you like in layer 2? (max 5)
Which text file would you like to use as input? The (frequency of) the words in this file will be used to create the cloud.
Would you like to use any excluded word sets? No words from the file selected will be used in the cloud.
How many colors would you like in the cloud? (max 5)
What width would you like for the word cloud?
How about the height?
What would you like the maximum font size to be?
How about the minimum font size?
How many words would you like to include (at maximum)?
What should the output be named?


CubeGeometry
CubeGeometry is the quadrilateral primitive geometry class. It is typically used for creating a cube or irregular quadrilateral of the dimensions provided within the (optional) 'width', 'height', & 'depth' constructor arguments.
Constructor
[name]([page:Float width], [page:Float height], [page:Float depth], [page:Integer segmentsWidth], [page:Integer segmentsHeight], [page:Integer segmentsDepth], [page:Array materials], [page:Array sides])
width — Width of the sides on the X axis.
height — Height of the sides on the Y axis.
depth — Depth of the sides on the Z axis.
segmentsWidth — Number of segmented faces along the width of the sides.
segmentsHeight — Number of segmented faces along the height of the sides.
segmentsDepth — Number of segmented faces along the depth of the sides.
materials — An array containing six [page:Material]s.
sides — An array containig six [page:Boolean]s defining whether the side needs to be created.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]


Click here to modify the background color!
Click here to modify the text color!
Click here to modify the box size!
Click here to modify the box position!


Slack Instant Messaging¶
-
class
importers.instant_messaging.slack.slack2db_extract_main.
Slack2DbMain
(db_name, project_name, type, instant_messaging_name, before_date, channels, tokens, config, log_root_path)[source]¶ This class handles the import of Slack data
-
class
importers.instant_messaging.slack.slack2db_update.
Slack2DbUpdate
(db_name, project_name, instant_messaging_name, tokens, config, log_root_path)[source]¶ This class handles the update of Slack data
-
class
importers.instant_messaging.slack.slack2db_extract_channel.
SlackChannel2Db
(db_name, instant_messaging_id, interval, token, config, log_root_path)[source]¶ This class handles the import of Slack channels
-
class
importers.instant_messaging.slack.slack_dao.
SlackDao
(config, logger)[source]¶ This class handles the persistence and retrieval of Slack data
-
get_channel_ids
(instant_messaging_id)[source]¶ gets list of channel ids in a given instant messaging
Parameters: instant_messaging_id (int) – DB instant messaging id
-
get_channel_last_change_at
(own_id, instant_messaging_id)[source]¶ gets last change date of a channel
Parameters:
-
get_comments
(message_id)[source]¶ gets comments of a message
Parameters: message_id (int) – DB message id
-
get_message_type_id
(message_type)[source]¶ gets the id associated to a given type of message
Parameters: message_type (str) – message type
-
insert_attachment
(own_id, message_id, name, extension, bytes, url)[source]¶ insert attachment of a message
Parameters:
-
insert_channel
(own_id, instant_messaging_id, name, description, created_at, last_change_at)[source]¶ inserts channel to DB
Parameters:
-
insert_instant_messaging
(project_id, instant_messaging_name, type)[source]¶ inserts instant messaging to DB
Parameters:
-
insert_message
(own_id, pos, type, channel_id, body, author_id, created_at)[source]¶ inserts message to DB
Parameters:
-
insert_message_dependency
(source_message_id, target_message_id)[source]¶ inserts dependency between two messages
Parameters:
-
insert_url_attachment
(own_id, message_id, name, extension, url)[source]¶ insert attachment URL
Parameters:
-
select_channel_own_id
(channel_id, instant_messaging_id)[source]¶ gets data source channel id
Parameters:
-
select_instant_messaging_id
(instant_messaging_name, project_id)[source]¶ gets DB instant messaging id by its name
Parameters:
-
-
class
importers.instant_messaging.slack.querier_slack.
SlackQuerier
(token, logger)[source]¶ This class collects the data available on the Eclipse forum viw Web scraping
-
file_attachment_get_comment
(message)[source]¶ gets the initial comment of an attached file
Parameters: message (Object) – the Object representing the message
-
generate_url_attachment_id
(message_id, pos)[source]¶ generates the id of an attachment URL
Parameters:
-
get_attachament_name
(attachment)[source]¶ gets the name of an attachment
Parameters: attachment (Object) – the Object representing the attachment
-
get_attachment_extension
(attachment)[source]¶ gets the extension of an attachment
Parameters: attachment (Object) – the Object representing the attachment
-
get_attachment_id
(attachment)[source]¶ gets the id of an attachment
Parameters: attachment (Object) – the Object representing the attachment
-
get_attachment_size
(attachment)[source]¶ gets the size (in bytes) of an attachment
Parameters: attachment (Object) – the Object representing the attachment
-
get_attachment_url
(attachment)[source]¶ gets the url of an attachment
Parameters: attachment (Object) – the Object representing the attachment
-
get_channel
(channel_id)[source]¶ gets the channel Object
Parameters: channel_id (int) – the data source channel id
-
get_channel_description
(channel)[source]¶ gets the channel description
Parameters: channel (Object) – the Object representing the channel
-
get_channel_ids
(before_date, channels)[source]¶ gets the data source channel ids
Parameters: - before_date (str) – selects channels with creation date before a given date (YYYY-mm-dd)
- channels (list str) – list of channels to retrieve
-
get_channel_last_change_at
(channel)[source]¶ gets the last change date of a channel
Parameters: channel (Object) – the Object representing the channel
-
get_channel_messages
(channel_id)[source]¶ gets the messages of a channel
Parameters: channel_id (int) – the id of the channel
-
get_comment_body
(comment)[source]¶ gets the body of a comment
Parameters: comment (Object) – the Object representing the comment
-
get_comment_created_at
(comment)[source]¶ gets the creation date of a comment
Parameters: comment (Object) – the Object representing the comment
-
get_comment_id
(comment)[source]¶ gets the id of a comment
Parameters: comment (Object) – the Object representing the comment
-
get_comment_message
(message)[source]¶ gets the comment of a message
Parameters: message (Object) – the Object representing the message
-
get_file_attachment
(message)[source]¶ gets the attachment of a message
Parameters: message (Object) – the Object representing the message
-
get_file_attachment_property
(file, property)[source]¶ gets a property of an attached file
Parameters: - file (Object) – the Object representing the file
- property (str) – the string representing the property
-
get_message_attachments
(message)[source]¶ gets the attachments within a message
Parameters: message (Object) – the Object representing the message
gets the author email of a message
Parameters: message (message) – the Object representing the message
gets the author of a message
Parameters: message (message) – the Object representing the message
-
get_message_body
(message)[source]¶ gets the body of a message
Parameters: message (Object) – the Object representing the message
-
get_message_created_at
(message)[source]¶ gets the creation date of a message
Parameters: message (message) – the Object representing the message
-
get_message_own_id
(message)[source]¶ gets the data source id of a message
Parameters: message (Object) – the Object representing the message
-
get_message_type
(message)[source]¶ gets the type of a message
Parameters: message (Object) – the Object representing the message
-
get_url_attachment_extension
(link)[source]¶ gets the extension of an attachment URL
Parameters: link (str) – attachment link
-
get_url_attachment_name
(link)[source]¶ gets the name of an attachment URL
Parameters: link (str) – attachment link
-


{% extends "datatables/list_base.html" %} {% load static %} {% load url %} {% block breadcrumbs %}
Add Cases (batch) Add Case (single)
Removing a case cannot be undone.
Are you sure that you want to continue?


Firefox
Top Sites
You don't have Top Sites yet. Enter a search term or web address to start browsing.


It will please some of you to know that I almost titled this post “I am Chun.” But friends in my life consistently knock me down a few pegs as a gentle reminder to be humble - which I am and prefer to be. You know who you are.
As an individual I seek to better myself and further my knowledge in all areas of life but my passion remains constant. Technology through digital transformation to contribute to society. A little about me. I am a Technical Advisor in the Canadian federal government, working with a brilliant team that (which keeps me on my toes as well as provides me hope that the public sector is capable of driving change) focuses on Cloud Native. We embrace all the buzzwords, (devops, microservices, containers, etc.) and would like to believe that we are pioneering the approach across the federal workspace. Aside from this, I work for one of top 10 Fortune 500 companies in various capacties over the last several years. Finally, over the last two years I have taught at the local college in their Advanced Computing Technology diploma, which I suppose in-part made me realize a few things.
- I am and will always be a lifelong learner.
- Teaching allowed me to exercise my creativity to adapt my methods to various students.
- Empowerment. Across all my jobs and even more so while teaching. The impactfulness of empowering even one indivdidual from the difference you can make as an indvidiaul is profound.
I have no idea of what will come from this and or how often I can commit to this given my various committments but know this. I am the type of individual if you asked me to change your brakes, I will most likely take a part the car first.
Don’t forget to visit my Youtube channel - All Over the Place
See you in the next post!