--- title: Essays description: Being succinct is a weakness --- {{page.title}} {{page.description}} {% for post in site.categories.articles %} {{ post.title }} {% include post-title.html post=post %} {{ post.excerpt }} Read More {% endfor %} You can read all essays in the Archive
{{page.description}}
You can read all essays in the Archive


Rajesh Debnath
Software Engineer at Samsung R&D Institute Bangladesh (SRBD).
Email<EMAIL_ADDRESS>Technical Skills
- Programming Languages: Python, C, C++, Java, Go, Javascript, AngularJs
- Machine Learning Library: Pytorch, TensorFlow, Keras, Spacy, NLTK, HuggingFace
- Database: SQL
- Web: HTML, Latex, CSS
Experience
Samsung Research & Development Institute Bangladesh
Software Engineer, Dhaka, Bangladesh, December,2018-current
- Worked on Tizen web framework for samsung galaxy watch and Samsung Internet for Android.
- Worked on issues and implemented features as required.
Education
- B.Sc. Computer Science & Engineering, Bangladesh University of Engineering and Technology, Dhaka, Bangladesh, 2014-2018


PROJECTS
Categories:
Categories:
ProxyScript (PSC) is a JS library devoted to simplifing and amplifying JavaScript. It simplifies plain old JS and adds even more functionality.
FusionScript (FSC) is created to fuse JavaScript code and PHP code, making web development easier than ever.
XJS (Extended JavaScript) is designed to expand the core functionality of JavaScript and simplify existing methods.
GraphicScript, a JS library designed to draw. Using SVG's capibilities, GraphicScript creates an easy and user-friendly drawing experience.
Can't wait!
Can't wait!
Can't wait!
Can't wait!
Can't wait!
Can't wait!
Can't wait!
Can't wait!
Object Relational Scripting Language (ORSL) is created to merge PHP and SQL in a new and exciting approach to development.
Can't wait!
Can't wait!
Can't wait!


Person
open class Person : NSObject
Model class to represent People objects, you may write extensions to add additional properties of person.
-
Initializes object with data dictionary.
Declaration
Swift
public init(data: NSDictionary)
-
Initializes object with empty data dictionary.
Declaration
Swift
public override init()
-
Returns dictionary object representation of person
Declaration
Swift
public func dictionaryObject() -> NSMutableDictionary
Return Value
Dictionary object.
-
Debuggable description of person.
Declaration
Swift
override open var description: String { get }
-
Entracer id for person
Declaration
Swift
open var ident: String? { get set }
-
Person types could be
Lead
,Converted
.Declaration
Swift
open var type: String? { get set }
-
First name.
Declaration
Swift
open var first_name: String? { get set }
-
Last name.
Declaration
Swift
open var last_name: String? { get set }
-
Email address.
Declaration
Swift
open var email: String? { get set }
-
Mobile number.
Declaration
Swift
open var mobile: String? { get set }
-
Website url.
Declaration
Swift
open var website: String? { get set }
-
Person status can be
New
,Validated
,Qualified
,Rejected
Declaration
Swift
open var status: String? { get set }
-
Entracer tags for person.
Declaration
Swift
open var tags: [String]? { get set }
-
Department.
Declaration
Swift
open var department: [String]? { get set }
-
Person title.
Declaration
Swift
open var title: [String]? { get set }
-
Job title.
Declaration
Swift
open var job_title: [String]? { get set }
-
Street 1 for address.
Declaration
Swift
open var street_1: String? { get set }
-
Street 2 for address.
Declaration
Swift
open var street_2: String? { get set }
-
City for address.
Declaration
Swift
open var city: String? { get set }
-
State for address.
Declaration
Swift
open var state: String? { get set }
-
Zip code for address.
Declaration
Swift
open var zip_code: String? { get set }
-
Country.
Declaration
Swift
open var country: String? { get set }


Hey! I wanted to make this card for you to remind you how thankful I am of you guys.
Dad, I never really express feelings toward you, but I want you to know that I admire how hard you work.
Press the page.
Mom, I look up to you and hope I find a wife just like you!
You somehow manage to work hard and provide food and love to the family on a daily basis
You're amazing!
I love you guys!


version 2.2 changes¶
Change from BaseMap to Cartopy mapping.
0. Base code change from BaseMap to Cartopy mapping¶
Support for Basemap will be finish at the same time as Python 2.7 at the end of 2020. Cartopy is now quite mature and the change of use from Basemap to Cartopy should present only a few changes to cf-plot users while offering some useful enhancements.
Done
1. mapset - change of resolution parameters¶
resolution=resolution - the map resolution - can be one of '110m', '50m' or '10m'. '50m' means 1:50,000,000 and not 50 metre.
Done
2. setvars - continent linestyle¶
The setvars routine can now be used to set the continent linestyle
cfp.setvars(continent_linestyle='dashed') for instance
Done
3. vect - vector plots now respect reduced map grids¶
When plotting vectors onto a map previous versions used a whole globe cylindrical projection. This has now changed and will plot the map to match the input vector area unless any map settings have been changed by the user.
Fixed
4. lineplot - turning off the legend frame¶
To turn off the legend frame use cfp.setvars(legend_frame=False)
Done
5. con - colorbar font properties¶
colorbar font properties can now be set using the setvars routine: cfp.setvars(colorbar_fontsize=11) cfp.setvars(colorbar_fontweight='normal')
Done
6. lineplot - marker edge options added¶
Two new marker properties have been introduced to the lineplot routine.
Done
7. lineplot - legend frame options added¶
The default of having a frame around the legend can now be turned off with:
cfp.setvars(legend_frame=False)
Legend frame face and edge colors can be set with:
cfp.setvars(legend_frame_face_color='pink') cfp.setvars(legend_frame_edge_color='blue')
Done
8. axes - degree symbol option for longitude and latitude labelling¶
The default labelling for longitude and latitude axes is 90E, 30N etc. If a degree symbol is required this can be made the default for all subsequent plots with:
cfp.setvars(degsym=True)
Users can also add this option to the ~/.cfplot_defaults file as
degsym True
The degree symbol is '$degree$' as a string for any further plot customisation.
Done
9. rgrot, rgunrot - removed rotated axis routines¶
The rgrot and rgunrot routines are no longer needed and have been replaced by using the Cartopy ccrs.RotatedPole transform.
Done
10. con - incorrect cropping of polar stereographic and lcc projections¶
The crop limits used in Cartopy / Matplotlib for polarstereographic and lcc projections are slightly wrong. These were fixed by recalculating the limits and setting them with set_xlim and set_ylim within the plot_map_axes routine.
Done
11. stipple - Add ylog parameter¶
Stipple now works with log pressure plots by adding the ylog=True parameter.
Done
12. gvals - very small values bug¶
cfp.gvals(1.90028259794e-09, 1.05456045674e-07)
produced an array error.
Corrected
13. lineplot - y-axis labels fontsize and fontweight¶
lineplot y-axis labels fontsize and fontweight were unaffected by
Corrected
14. setvars - axis_width keyword added¶
The axis_width keyword was added to the setvars routine. This controls the width of the drawn axes around the plot.
15. cf-data-assign - rotated pole axis specification bug¶
A bug appears in the internal routine cf-data_assign for rotated pole plots when both the X and Y axes have the same number of points. The cf_data_assign routine was modified to properly assign grid_longitude and grid_latitude.
Fixed
16. graphs¶
Documentation updated on line labelling for legends in example 28. In addition it is also shown how to access a plot legend directly using Matplotlib commands to create a custom legend.
Updated
17. stipple¶
Incorrect stippling for longitudes < 0 in polar stereographic plots
Fixed
18. lineplot - incorrect axis labelling¶
In lineplot if no axis labels are provided then the axis labels were copied from the tick values. In the case of floating point numbers these can sometimes give large numbers of decimal places due to numeric rounding. A fix has been put in place to use the format specifier '{}'.format(val) so 13.899999999999997 becomes the more reasonable string value of '13.9'.
Fixed


This is a para.
This is a code block.
And this is another.
A para with mixed indents. and with much indent


NEW YORK -- This James Harden at point guard thing is starting to look so easy. As the Houston Rockets begin their tour through the NBA, Harden is showing people as the starting point guard -- or starting "points guard" as Mike D'Antoni calls him -- that he's elevating his game.
Wednesday night, Harden scored 30 points and had 15 assists in leading the Rockets past the New York Knicks, 118-99.
The media questioned D'Antoni before the game about just how potent of a point guard Harden can be.Well, in five games this season Harden is averaging 31.8 points and 12.4 assists. "He threw some passes that were ridiculous," D'Antoni said. "He hit some timely shots at the end of quarters. He played really well."
Harden completed passes for buckets for Trevor Ariza and Clint Capela as he stood with just one foot from the logo at center court. He earned another one with a behind the back pass to Ryan Anderson who buried a 3. After a missed bucket by the Knicks, Harden causally came down court and found Montrezl Harrell with a bounce pass that Harrell dunked with two hands.
"When he threw it I saw it, I had to spin back around," Harrell said.
When Harden wasn't displaying that magic eye, he was making shots. It was almost comical. In the fourth, after the Rockets snagged an offensive rebound, the shot clock was winding down leading to a possible rushed shot. Brandon Jennings was on Harden's left hip, and Harden calmly hit a 3.
Ask John Lucas, the Rockets' director of player development, about what Harden is doing. Lucas was a pretty good point guard in his prime, maybe the best in franchise history. Until now.
"I've been the best," Lucas said.
Lucas talked about how Harden makes all the passes: Through traffic, on the run, to the rim, behind the back, to open men for 3-pointers. "You're never out of a game because he's controlling it," Lucas said.
Harden made this look easy against the Knicks. It didn't matter if Courtney Lee was covering him or Derrick Rose or Justin Holiday or Brandon Jennings. At one point late in the fourth quarter Ron Baker, a rookie from Wichita State, was trying to guard Harden. He didn't make everyone look silly, but he just played with a fluidity that reminds you of the smoothness of legendary jazz musicians such as John Coltrane or Miles Davis.
"I'm able to control the game a lot more," Harden said.
That control from a passer's perspective almost overshadows his skills as a scorer.Late in the first quarter, Harden was on the run when Rose, in the proper defensive stance, tried to contain him near the basket. Harden moved left, right and up toward the basket for a layup. It was that patent EuroStep, so smooth, so deadly, almost automatic.
"He is a great player," Kristaps Porzingis said. "He is able to break our defense down and get to the basket early and get fouls. At the same time, we didn't really stop him. It is about team defense, it's on all of us."
If the Rockets are to achieve their goals of becoming an elite team, it will take more players than Harden. When he goes on these passing sprees others must finish the play.
"We got so many offensive weapons it makes my job a lot easier," Harden said. "I just got to pick my spots and make the right play. When guys are knocking down shots and even when we're not knocking down shots and we're not making our shots, they're still good shots. We just got to continue to take those shots."
For those who have seen the Earth from space, and for the hundreds and perhaps thousands more who will, the experience most certainly changes your perspective. The things that we share in our world are far more valuable than those which divide us.


McJar Font Getter
Extracts the "Mojangles" font from a Minecraft .jar file
Center-align glyphs (uncheck for left-align)
Choose a Minecraft .jar file
Components are used under
MIT License
.
See the
readme
for instructions on getting a Minecraft .jar file.
Version 1.5. Check the
changelog
for changes.


The right pair of safe hands and the peace of mind delivered by your event We’ve delivered fabulous wedding event experiences over the last two decades and are now poisedsince the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries,
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
Working Checklist of the Event
It is a long established fact that a reader will be distracted by the readable content of a page when looking.
Business it will frequently occur that great pleasures one repudiated pleasure.
Alex Jhon Martin
Best Event Venue You have Find
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer
It is a long established fact that a reader will be distracted by the readable content of a page when looking at There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer
Leave a Reply


JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
P
R
S
T
U
V
W
E
EDIT_SUCCESS
- Static variable in class sg.edu.cs2103aug2015_w13_2j.commands.
EditHandler
EditHandler
- Class in
sg.edu.cs2103aug2015_w13_2j.commands
CommandHandler
which handles editing the details of a
Task
object in the master list of
Task
objects.
EditHandler()
- Constructor for class sg.edu.cs2103aug2015_w13_2j.commands.
EditHandler
EMPTY_TOKEN
- Static variable in class sg.edu.cs2103aug2015_w13_2j.parser.
Token
equals(Object)
- Method in class sg.edu.cs2103aug2015_w13_2j.
Task
Checks if two
Task
objects are equal to each other.
ERROR_INVALID_FILTER
- Static variable in class sg.edu.cs2103aug2015_w13_2j.ui.
FeedbackMessage
ERROR_INVALID_INDEX
- Static variable in class sg.edu.cs2103aug2015_w13_2j.ui.
FeedbackMessage
ERROR_INVALID_TASK
- Static variable in class sg.edu.cs2103aug2015_w13_2j.ui.
FeedbackMessage
ERROR_TASK_NOT_FOUND
- Static variable in class sg.edu.cs2103aug2015_w13_2j.ui.
FeedbackMessage
ERROR_UNRECOGNIZED_COMMAND
- Static variable in class sg.edu.cs2103aug2015_w13_2j.ui.
FeedbackMessage
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
AddHandler
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
CommandHandler
Executes the functionality of this
CommandHandler
based on the provided
Command
object.
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
DeleteHandler
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
EditHandler
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
FilterHandler
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
HelpHandler
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
LoadHandler
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
MarkCompletedHandler
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
MarkImportantHandler
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
PopHandler
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
RedoHandler
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
SearchHandler
execute(LogicInterface, Command)
- Method in class sg.edu.cs2103aug2015_w13_2j.commands.
UndoHandler
executeCommand(String)
- Method in class sg.edu.cs2103aug2015_w13_2j.
Logic
executeCommand(String)
- Method in interface sg.edu.cs2103aug2015_w13_2j.
LogicInterface
Executes the command string entered by the user.
A
B
C
D
E
F
G
H
I
K
L
M
N
P
R
S
T
U
V
W
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes


You can choose a custom popover target. It works best when using manual triggers.
You can click
but popover will appear here.


climate change health research Health NCDs Round priority areas Delphi Table policy priorities {border-style Public px;} questions #ffffff;} identified food global respondents Climate transport Lancet workshop Figure change, impact process McMichael collab: evidence interface non-communicable ./S-()- NCD consensus experts frameworks healthy high public ranked A.J. Research Sydney World change. design, diseases expert information new participants potential px; questionnaire social urban used way {font-family >% Med. United action analysis common font-size governance national needed policies question systems; ./s--- Colagiuri Environ. Geneva, Global However, International Organization Switzerland University aspects best broad change: communication development double; existing harms human identify impacts included knowledge legal method methods responses results systems understanding water (i) (ii) Control Int. Network Res. Resolution S). agenda agreement air and/or border-color border-width carbon challenges chronic current data developing disciplines disease effects environmental health: literature little major mitigating practices prevention priority. reduce risk solid; study survey sustainable {font-style {font-weight (accessed ... ./ijerph Available BCI Beaglehole Change Communiqué Framework Haines Nations Participants Priority Questions S.J. Urban academics access address agreed amenable area associated attended bold consistent courier; decisions delphi described diseases: em; example, final framework guide highest identifying importance include international issues lack low mitigate mitigation online: order panel policy; pollution population priorities. progress pt;} range rate response reviewed risks security security; solutions specifically structured supports trade versus workshop. world


There are several reasons why documentation is important:
DocumentJS is a new documentation solution for JavaScript applications. It makes creating, viewing, and maintaining documentation easy and fun. Out of the box, it features:
DocumentJS provides powerful and easy to extend documentation functionality.
Let's use an hypothetical little CRM system as an example of how easy it is to organize your documentation with DocumentJS.
First let's create our CRM documentation home page by creating a folder name crm. Paste this code into a file named crm.js inside crm folder.
/*
* @page index CRM
* @tag home
*
* ###Little CRM
*
* Our little CRM only has two classes:
*
* * Customer
* * Order
*/
Run the documentjs script to generate the docs:
documentjs/doc.bat crm
This is what you should see when you open crm\docs.html:
There are a few things to notice:
Next we document the two classes that make our little crm system. Paste each snippet of code into two files with names customer.js and order.js:
customer.js
/*
* @class Customer
* @parent crm
* @constructor
* Creates a new customer.
* @param {String} name
*/
var Customer = function(name) {
this.name = name;
}
order.js
/*
* @class Order
* @parent crm
* @constructor
* Creates a new order.
* @param {String} id
*/
var Order = function(id) {
this.id = id;
}
After runnig the documentjs script once again you should be able to see this:
We want to be able to both look for our customer's orders and dispatch them so let's add a findById method to our Order class and a dispatch method to our Order's prototype:
order.js
/*
* @class Order
* @parent crm
* @constructor
* Creates a new order.
* @param {String} id
*/
var Order = function(id) {
this.id = id;
}
$.extend(Order,
/*
* @static
*/
{
/*
* Finds an order by id.
* @param {String} id Order identification number.
* @param {Date} [date] Filter order search by this date.
*/
findById: function(id, date) {
}
});
$.extend(Order.prototype,
/*
* @prototype
*/
{
/*
* Dispatch an order.
* @return {Boolean} Returns true if order dispatched successfully.
*/
dispatch: function() {
}
});
Go ahead and produce the docs by running the documentjs script. You should see your Order methods organized by static and protoype categories.
There's one last thing we need to cover - customizing the document viewer template. The default viewer template file name is summary.ejs and it's located in documentjs/jmvcdoc/summary.ejs. You can use a customized template by copying summary.ejs into the crm folder and changing it according to your needs. Let's try changing the navigation menu core item to crm:

CRM

Remember the @tag directive? We can now change it in our examples from core to crm. You will notice that our crm page will show up every time you click the CRM menu item or type crm in the documentation viewer search box.
If you need for DocumentJS not to document a particular script you can do that by adding the @document-ignore directive to the top of the file.
As you see DocumentJS makes it super easy and fun to organize your documentation!
DocumentJS architecture is organized around the concepts of types and tags. Types are meant to represent every javascript construct you might want to comment like classes, functions and attributes. Tags add aditional information to the comments of the type being processed.
DocumentJS works by loading a set of javascript files, then by spliting each file into type/comments pairs and finally parsing each type's comments tag directives to produce a set of jsonp files (one per type) that are used by the document viewer (jmvcdoc) to render the documentation.
DocumentJS was written thinking of extensibility and it's very easy to add custom type/tag directives to handle your specific documentation needs.
DocumentJS currently requires Steal to be included on the pages you are documenting.
DocumentJS was inspired by the jQuery API Browser by Remy Sharp
DocumentJS(scripts, options)
{Array|String}
an array of script objects that have src and text properties like:
[{src: "path/to/file.js", text: "var a= 1;"}, { ... }]
{Object}
an options hash including
. name - the name of the application . out - where to generate the documentation files


Score Board
You scored {{ playerService.getCurrentPlayer().runs }} runs
in {{playerService.getCurrentPlayer().balls }} balls
{{ playerService.getOtherPlayer().name }}
scored {{ playerService.getOtherPlayer().runs }} runs
in {{playerService.getOtherPlayer().balls }} balls


The purpose of Seats is to allow you to plan the seating for a party you are hosting. Each row represents a table, and you can drag and drop guests to the table you want.
You can also just keep them stored in the "Unseated Guests" pool for now. Use the color settings when you define your guests to help keep track of odd seating issues (like adults on the wrong table).
Click on the list to get a nice seating list for your party
This version of Seats is fully functional but only stores your party data on your local machine.
Please click the save!
Seats has only been tested in Chrome on a desktop. Mobile touch screen tests have not gone well.
Copyright 2018, Michael Rich
Contact me on Twitter


{% extends "base.html" %} {% load i18n %} {% block extra-title %}{% blocktrans %}Server error{% endblocktrans %} (500){% endblock %} {% block content %}
{% blocktrans %}It looks like the server encountered an error. Even though it could be our fault I'm sure it's yours.{% endblocktrans %}
{% endblock %}


Food app
Why stay hungry when you can order form Bella Onojie
Download the bella onoje’s food app now on


\_(^.^)_/ - Thanks for being here, My name is Mohcine Rouessi and I am happy to have you in my cli!
please type `help` to get started.
root $


- Millets helps to lower blood glucose levels and improves insulin response. Besides, the magnesium present
in millets is a co-factor in various enzymes involved in the secretion of insulin and metabolism of glucose in the body.
Whole grains improve insulin sensitivity by lowering glycemic index of the diet by increasing content of fibre, magnesium and vitamin-E.
- Glycemic Index is a scale that ranks carbohydrates by how much they raise the blood glucose levels compared to
a reference food.
Millets have a low Glycemic index compared to most other cereals. Since millets have a low Glycemic
index they increase satiety by decreasing hunger because it slows the rate of digestion.
- Millets are a rich source of phosphorus which is an important mineral for energy production and is an essential component of ATP - the energy store of the body.
It also forms an essential part of nervous system and cell membranes.
- Millet is such a grain that should be included in the list of heart-healthy
choices because of its status as a good source of magnesium. Magnesium increases insulin sensitivity and lowers
triglycerides. It also acts as a co-factor for more than 300 enzymes.
- Lignans present in millets are converted to mammalian lignans and entero-lactone by the healthy gut micro flora in our body which is thought
to protect against breast cancer as well as heart diseases.
- Millets have amazing fatty acid profiles.
One might have heard about rice bran oil - the oil extracted from the bran of paddy rice.
- The fatty acid content in each of the millets is much higher than that in paddy or
wheat and the composition of the fatty acids are way more beneficial than what is found in paddy.
One has to keep in mind an important aspect of cereal grains - almost all the mineral and fatty acids and a good proportion of the fibre content is found in the bran layer. So one needs to make sure that the millet grains are unpolished, sometimes also referred to as whole grain millet rice, and have suffered minimal bran loss. Polishing millets removes the bran layer leading to major loss of nutrients. But it makes the over-all processing easier and allows for larger scale processing


About Us
MindWork is a local software and technology solution company based in Monrovia , Liberia that provide businesses technology needs.
Our Goal
Our goal is to be at the heart of all businesses and organizations in providing software solutions
Our Mission
Our mission is to create quality and cost efficient solution that meet the needs of growing and enterprise businesses
Process Flow Software
Nowadays, many businesses are still stuck behind by manual processes such as purchase order, invoicing, maker and checker processes and so forth, with this software all business or organization processes are automated completely.
Help Desk Software
Exploring this digital age comes with lot of support services to allow business or organization achieve its goals to its customer, stakeholders and employees. This software suite solve and automate all support and help provision services to meet your needs.
SchoolPlus
Education in Africa is growing rapidly due to the introduction of technology. SchoolPlus provide all operational solution for primary and secondary schools including, enrollment, registration, records management and more…
MessageBox
SMS and Email Communication is very significant for business customer interactions. MessageBox provide all operational solution for SMS and Email deilvery that meet business needs and more…
Swift Message Creator
Payments and Internation transfers are very vital for financial institution and its customers. SMC provide all solution for Swift payment message generation that meet fintech needs and more…
G Pay
Accepting payment form customer and payer is one of the relevant accept of today's business ecosystem. G Pay provide all solution for accepting payment online in a very secure and speedy manner and more…
Member Plus
Social grouping and unity among is peaople give better livelihood. MemberPlus provide all solution for union or organization management in a very unique way
Data Collect
Data collection and surveys is needed more these days to allow proper statistical and decision making purposes. Data Collect provide all in solution for data gathering and reporting in a genuine and sophistication manner
Happy Clients
Projects
Hours Of Support
Hard Workers
Services
Website Design and Development
Providing intuitive and design perfect website for business portfolio
Robotic Process Automation
Providing software that emulate and integrate the actions of a human interacting within digital systems to execute a business process
Enterprise Software Resale
Providing resale of enterprise software and solutions that suited your needs
Corporate Training
Providing corporate and individual technology solution training in your suited solutions


Big fan of irony and absurd humor. I am an explorer in my own city and when I can in other ones. I always get lost, but I don’t really care. For that reason instead of buying a map I decided to bring my camera. I also enjoy immitating accents, just for you to know. Apart from that I am passionate about entrepreneurship and innovation. And recently, I am interested in UX-UI Design and Product Management.
Well, I actually I have a background in Business and Marketing but when I moved to Barcelona I started working in an IoT and Big Data company. First, as an Experience Designer and then I end up running the Customer Experience and Product Marketing department. At that time, I was working so closely with the design and development team and that's how I realized that I just love creating digital products, and that with the experiences I carry on my back I could add value there.
You have a project idea in your mind and you don’t know how to start? Let’s make it tangible! Sounds good?
So you already know what you want to build but still, you need some help in defining the right features. Let's do it! Or maybe you already have that and just want a cool design for that awesome idea. I'm your girl!
Who is your customer? Which channels are you going to use to rich them? Which are the key activities you must accomplish to deliver value to your users? Do you have a clear business model? If one of your answers was "I don't know" Reach me.
If you want to collaborate on creating amazing products you are very welcome to contact me.


This server provides a couple of pre-defined queries to help getting started with searching the dataset.
On the
search page click on any of the "Example queries" and press the run
button to display the results found in the "Query results" section. Please note that most queries are
run with a certain results limit. The actual result might be larger than the limit defined and the query
limit can be adjusted accordingly.
Learn more about how to write your own SPARQL queries.


|
gtsam
4.0.0
gtsam
|
A factor graph is a bipartite graph with factor nodes connected to variable nodes.
In this class, however, only factor nodes are kept around.
Standard Constructors | |
| FactorGraph () | |
| Default constructor. | |
| template<typename ITERATOR > | |
| FactorGraph (ITERATOR firstFactor, ITERATOR lastFactor) | |
| Constructor from iterator over factors (shared_ptr or plain objects) | |
| template<class CONTAINER > | |
| FactorGraph (const CONTAINER &factors) | |
| Construct from container of factors (shared_ptr or plain objects) | |
Adding Factors | |||
| |||
| void | reserve (size_t size) | ||
| Reserve space for the specified number of factors if you know in advance how many there will be (works like FastVector::reserve). | |||
| template<class DERIVEDFACTOR > | |||
| std::enable_if< std::is_base_of< FactorType, DERIVEDFACTOR >::value >::type | push_back (boost::shared_ptr< DERIVEDFACTOR > factor) | ||
| Add a factor directly using a shared_ptr. | |||
| void | push_back (const sharedFactor &factor) | ||
| Add a factor directly using a shared_ptr. | |||
| template<class DERIVEDFACTOR , class... Args> | |||
| std::enable_if< std::is_base_of< FactorType, DERIVEDFACTOR >::value >::type | emplace_shared (Args &&... args) | ||
| Emplace a factor. | |||
| template<typename ITERATOR > | |||
| std::enable_if< std::is_base_of< FactorType, typename ITERATOR::value_type::element_type >::value >::type | push_back (ITERATOR firstFactor, ITERATOR lastFactor) | ||
| push back many factors with an iterator over shared_ptr (factors are not copied) | |||
| template<typename CONTAINER > | |||
| std::enable_if< std::is_base_of< FactorType, typename CONTAINER::value_type::element_type >::value >::type | push_back (const CONTAINER &container) | ||
| push back many factors as shared_ptr's in a container (factors are not copied) | |||
| template<class CLIQUE > | |||
| std::enable_if< std::is_base_of< This, typename CLIQUE::FactorGraphType >::value >::type | push_back (const BayesTree< CLIQUE > &bayesTree) | ||
| push back a BayesTree as a collection of factors. More... | |||
| template<class DERIVEDFACTOR > | |||
| std::enable_if< std::is_base_of< FactorType, DERIVEDFACTOR >::value >::type | push_back (const DERIVEDFACTOR &factor) | ||
| Add a factor by value, will be copy-constructed (use push_back with a shared_ptr to avoid the copy). More... | |||
| template<typename ITERATOR > | |||
| std::enable_if< std::is_base_of< FactorType, typename ITERATOR::value_type >::value >::type | push_back (ITERATOR firstFactor, ITERATOR lastFactor) | ||
| push back many factors with an iterator over plain factors (factors are copied) | |||
| template<typename CONTAINER > | |||
| std::enable_if< std::is_base_of< FactorType, typename CONTAINER::value_type >::value >::type | push_back (const CONTAINER &container) | ||
| push back many factors as non-pointer objects in a container (factors are copied) | |||
| template<class DERIVEDFACTOR > | |||
| std::enable_if< std::is_base_of< FactorType, DERIVEDFACTOR >::value, boost::assign::list_inserter< RefCallPushBack< This > > >::type | operator+= (boost::shared_ptr< DERIVEDFACTOR > factor) | ||
| Add a factor directly using a shared_ptr. | |||
| boost::assign::list_inserter< CRefCallPushBack< This > > | operator+= (const sharedFactor &factor) | ||
| Add a factor directly using a shared_ptr. | |||
| template<class FACTOR_OR_CONTAINER > | |||
| boost::assign::list_inserter< CRefCallPushBack< This > > | operator+= (const FACTOR_OR_CONTAINER &factorOrContainer) | ||
| Add a factor or container of factors, including STL collections, BayesTrees, etc. More... | |||
| template<class DERIVEDFACTOR > | |||
| std::enable_if< std::is_base_of< FactorType, DERIVEDFACTOR >::value >::type | add (boost::shared_ptr< DERIVEDFACTOR > factor) | ||
| Add a factor directly using a shared_ptr. | |||
| void | add (const sharedFactor &factor) | ||
| Add a factor directly using a shared_ptr. | |||
| template<class FACTOR_OR_CONTAINER > | |||
| void | add (const FACTOR_OR_CONTAINER &factorOrContainer) | ||
| Add a factor or container of factors, including STL collections, BayesTrees, etc. More... | |||
Testable | |
| void | print (const std::string &s="FactorGraph", const KeyFormatter &formatter=DefaultKeyFormatter) const |
| print out graph | |
| bool | equals (const This &fg, double tol=1e-9) const |
| Check equality. More... | |
Standard Interface | |
| size_t | size () const |
| return the number of factors (including any null factors set by remove() ). More... | |
| bool | empty () const |
| Check if the graph is empty (null factors set by remove() will cause this to return false). More... | |
| const sharedFactor | at (size_t i) const |
| Get a specific factor by index (this checks array bounds and may throw an exception, as opposed to operator[] which does not). | |
| sharedFactor & | at (size_t i) |
| Get a specific factor by index (this checks array bounds and may throw an exception, as opposed to operator[] which does not). | |
| const sharedFactor | operator[] (size_t i) const |
| Get a specific factor by index (this does not check array bounds, as opposed to at() which does). | |
| sharedFactor & | operator[] (size_t i) |
| Get a specific factor by index (this does not check array bounds, as opposed to at() which does). | |
| const_iterator | begin () const |
| Iterator to beginning of factors. More... | |
| const_iterator | end () const |
| Iterator to end of factors. More... | |
| sharedFactor | front () const |
| Get the first factor. | |
| sharedFactor | back () const |
| Get the last factor. | |
Modifying Factor Graphs (imperative, discouraged) | |
| iterator | begin () |
| non-const STL-style begin() | |
| iterator | end () |
| non-const STL-style end() | |
| void | resize (size_t size) |
| Directly resize the number of factors in the graph. More... | |
| void | remove (size_t i) |
| delete factor without re-arranging indexes by inserting a NULL pointer | |
| void | replace (size_t index, sharedFactor factor) |
| replace a factor by index | |
| iterator | erase (iterator item) |
| Erase factor and rearrange other factors to take up the empty space. | |
| iterator | erase (iterator first, iterator last) |
| Erase factors and rearrange other factors to take up the empty space. | |
Advanced Interface | |
| class | boost::serialization::access |
| Serialization function. | |
| size_t | nrFactors () const |
| return the number of non-null factors | |
| KeySet | keys () const |
| Potentially slow function to return all keys involved, sorted, as a set. | |
| KeyVector | keyVector () const |
| Potentially slow function to return all keys involved, sorted, as a vector. | |
| bool | exists (size_t idx) const |
| MATLAB interface utility: Checks whether a factor index idx exists in the graph and is a live pointer. | |
Public Types | |
| typedef FACTOR | FactorType |
| factor type | |
| typedef boost::shared_ptr< FACTOR > | sharedFactor |
| Shared pointer to a factor. | |
| typedef sharedFactor | value_type |
| typedef FastVector< sharedFactor >::iterator | iterator |
| typedef FastVector< sharedFactor >::const_iterator | const_iterator |
Protected Attributes | |
| FastVector< sharedFactor > | factors_ |
| concept check, makes sure FACTOR defines print and equals More... | |
|
inline |
Add a factor or container of factors, including STL collections, BayesTrees, etc.
|
inline |
Iterator to beginning of factors.
|
inline |
Check if the graph is empty (null factors set by remove() will cause this to return false).
|
inline |
Iterator to end of factors.
| bool gtsam::FactorGraph< FACTOR >::equals | ( | const This & | fg, |
| double | tol = 1e-9 |
||
| ) | const |
Check equality.
check whether the two factor graphs have the same number of factors_
check whether the factors_ are the same
|
inline |
Add a factor or container of factors, including STL collections, BayesTrees, etc.
|
inline |
push back a BayesTree as a collection of factors.
NOTE: This should be hidden in derived classes in favor of a type-specialized version that calls this templated function.
|
inline |
Add a factor by value, will be copy-constructed (use push_back with a shared_ptr to avoid the copy).
|
inline |
Directly resize the number of factors in the graph.
If the new size is less than the original, factors at the end will be removed. If the new size is larger than the original, null factors will be appended.
|
inline |
return the number of factors (including any null factors set by remove() ).
|
protected |
concept check, makes sure FACTOR defines print and equals
Collection of factors


Before Change
// (B, in_dim*K, T_in)
// Concat conv1d bank outputs
x = torch.cat([conv1d(x)[:, :, :T] for conv1d in self.conv1d_banks], dim=1)
assert x.size(1) == self.in_dim * len(self.conv1d_banks)
x = self.max_pool1d(x)[:, :, :T]
for conv1d in self.conv1d_projections:
After Change
// (B, in_features*K, T_in)
// Concat conv1d bank outputs
outs = []
for conv1d in self.conv1d_banks:
out = conv1d(x)
out = out[:, :, :T]
outs.append(out)
x = torch.cat(outs, dim=1)
assert x.size(1) == self.in_features * len(self.conv1d_banks)
x = self.max_pool1d(x)[:, :, :T]


BASIC INSTINCT [**SPOILERS**] A film review by Dwight Joe Copyright 1992 Dwight Joe
(By the way, if you find that the use of the word "fuck" is offensive, then don't read this review of BASIC INSTINCT. I use that word liberally, because it proves to be effective for what I to say to the rather contemporary audience that reads this newsgroup. I think that "fuck" is the key word for this movie; you'll agree if you've seen it. 8^) )
Spoilers:
This review of BASIC INSTINCT departs from the traditional type of review; I shall delve much more into the psyche of the movie. The entire movie is a ~100-minute mind game among three main characters who are mind-fucking each other. The sex fucks are only part of the story.
Nick ---- He is the protagonist who's had something eating at him for years. Earlier in his career, he had been consuming coke, which was ruining his judgment as a police office. His lapses in judgment caused him to shoot 4 tourists at a shopping mall. His wife knew about his problem, couldn't live with it, and committed suicide.
Ever since, he has been like a man with a restless mind that cannot pause for even a second. The restlessness just eats him and eats him. He wants to relax but can't. The pressures don't destroy him or cause him to "crack", but they eat at him and eat at him. Whether by his doing or by the circumstances of life, he's been fucked.
Katharine --------- She is the antagonist.   Her career is to get into people's minds, manipulate people to obtain what she wants, and to spew it all out into a novel. The main mindgame in the movie was framing Elizabeth with the murders.
Yeah. She's the antagonist, but she is just what Nick needs. Somehow, her mindgames provide the kind of excitement that functions as a valve to release all the pressures in Nick's mind.
Don't you see? It takes a little more than sex. It takes Katharine's mind games to make it work.   He always has the last fuck, so he thinks that he "wins" (the mindgame contest). That provides the release for all his mental pressures.
The trouble with Elizabeth is that she just provided the "win." Katharine provided the both the "game" (the mindgame) and the "win."
Elizabeth --------- Elizabeth was a tragic victim. She was a bisexual, and so was Katharine. She wasn't really playing a full-blown mind game; she was just lying to hide her background. The obvious reason is that she would lose her job as the resident police psychologist.
(If I understood the movie correctly, Katharine framed Elizabeth. Katharine planted the pictures and clippings in Elizabeth's home. The minor "give away" is the murder scene in the elevator, which matched exactly the description in the final page of Katharine's latest book about a flaky policeman. The major "give away" is the final shot in the movie with the ice pick at the bottom of Nick's bed, where Nick had just done another "mental release" with Katharine.)
Final Comments -------------- I find it difficult to evaluate whether this movie is enjoyable in the general sense. The movie isn't very deep, and there is no general theme to it. It says nothing about society. Some people will simply not like this movie because of the lack of depth. Does "mind-gaming" demonstrate "depth"? I'm not so sure.
The type of person who would enjoy this movie might be (1) someone who understands mindgames, (2) someone who resembles Nick 8^), (3) someone who practices mindgames, etc.
Evaluation ---------- So, what would I give this movie?
Funny, I'm not even sure why, but ...
4 stars out of 5 2 thumbs up (3 thumbs up for Sharon Stone 8^) )
(If I recollect correctly, Siskel and Ebert gave it 2 thumbs down.)
Responses? If you have comments, then please (1) send e-mail or (2) send e-mail and post what you e-mailed. Thanks.
.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Over the years, in talking to people and observing the outlook of people towards life, I have observed that people tend to underestimate the importance of incremental improvements, and overestimate the impact of efforts that are put on the "fundamental" or "drastic" improvements. This reduces the overall effectiveness both at personal and at organisational level.
Some improvements in


Beowulf
by Francis Barton Gummere
Chapter 27
Additional Information
- Year Published: 1910
- Language: English
- Country of Origin: England
- Source: Gummere, F.B. (1910) Beowulf New York: P.F. Collier and Son
-
Readability:
- Flesch–Kincaid Level: 11.2
- Word Count: 572
- Genre: Epic
- Keywords: british literature
- ✎ Cite This
Downloads
CAME now to ocean the ever-courageous
hardy henchmen, their harness bearing,
woven war-sarks. The warden marked,
trusty as ever, the earl's return.
From the height of the hill no hostile words
reached the guests as he rode to greet them;
but "Welcome!" he called to that Weder clan
as the sheen-mailed spoilers to ship marched on.
Then on the strand, with steeds and treasure
and armor their roomy and ring-dight ship
was heavily laden: high its mast
rose over Hrothgar's hoarded gems.
A sword to the boat-guard Beowulf gave,
mounted with gold; on the mead-bench since
he was better esteemed, that blade possessing,
heirloom old. — Their ocean-keel boarding,
they drove through the deep, and Daneland left.
A sea-cloth was set, a sail with ropes,
firm to the mast; the flood-timbers moaned; [footnote 1]
nor did wind over billows that wave-swimmer blow
across from her course. The craft sped on,
foam-necked it floated forth o'er the waves,
keel firm-bound over briny currents,
till they got them sight of the Geatish cliffs,
home-known headlands. High the boat,
stirred by winds, on the strand updrove.
Helpful at haven the harbor-guard stood,
who long already for loved companions
by the water had waited and watched afar.
He bound to the beach the broad-bosomed ship
with anchor-bands, lest ocean-billows
that trusty timber should tear away.
Then Beowulf bade them bear the treasure,
gold and jewels; no journey far
was it thence to go to the giver of rings,
Hygelac Hrethling: at home he dwelt
by the sea-wall close, himself and clan.
Haughty that house, a hero the king,
high the hall, and Hygd [footnote 2] right young,
wise and wary, though winters few
in those fortress walls she had found a home,
Haereth's daughter. Nor humble her ways,
nor grudged she gifts to the Geatish men,
of precious treasure. Not Thryth's pride showed she,
folk-queen famed, or that fell deceit.
Was none so daring that durst make bold
(save her lord alone) of the liegemen dear
that lady full in the face to look,
but forged fetters he found his lot,
bonds of death! And brief the respite;
soon as they seized him, his sword-doom was spoken,
and the burnished blade a baleful murder
proclaimed and closed. No queenly way
for woman to practise, though peerless she,
that the weaver-of-peace [footnote 3] from warrior dear
by wrath and lying his life should reave!
But Hemming's kinsman hindered this. —
For over their ale men also told
that of these folk-horrors fewer she wrought,
onslaughts of evil, after she went,
gold-decked bride, to the brave young prince,
atheling haughty, and Offa's hall
o'er the fallow flood at her father's bidding
safely sought, where since she prospered,
royal, throned, rich in goods,
fain of the fair life fate had sent her,
and leal in love to the lord of warriors.
He, of all heroes I heard of ever
from sea to sea, of the sons of earth,
most excellent seemed. Hence Offa was praised
for his fighting and feeing by far-off men,
the spear-bold warrior; wisely he ruled
over his empire. Eomer woke to him,
help of heroes, Hemming's kinsman,
Grandson of Garmund, grim in war.
Footnotes
1. With the speed of the boat.
2. Queen to Hygelac. She is praised by contrast with the antitype, Thryth, just as Beowulf was praised by contrast with Heremod.
3. Kenning for "wife."


Extending Geopackages via SQLite’s Run-Time Loadable extensions
Introduction
SQLite is expected to be very important for GIS users. It’s non-trivial that two of the most promising GIS formats are based on SQLite: Spatialite and Geopackage. This way, understanding the basics of SQLite can be very useful for making the most of these data formats.
Particularly, geopackages are good for many different reasons and one can expect to find all of our favorite features in this modern GIS data format. In this sense, I’m a huge fan of Postgres extensibility. When using Postgres, you can create new operators, aggregates, functions, types, etc… and pack everything in a custom extension. PostGIS itself is a Postgres extension. Every-time we need to create a complex parametrized query, we can use Postgres CREATE FUNCTION
and encapsulate it. This makes it easier to read/write complex queries (or Postgis geoprocesses) and improves code (re)usability. I would like to have such useful features in other databases and it would be amazing to have this features when working with Geopackages.
After my very first searches, I have learnt that SQLite is not intended to have stored functions, so CREATE FUNCTION
does not work. However, in SQLite we can map functions from several programming languages (C, PHP, Python, Perl, .NET, among others) to SQL functions, namely user-defined functions and pack them in Run-Time Loadable extensions. It would be amazing if this approach could work also for Spatialite and Geopackages.
There are various ways for extending SQLite, but using its C API seems more straightforward and portable. I guess that everything done this way should work in the most used GIS (QGIS, ArcGIS, etc). Let’s do some tests…
Experimenting
I’m working with Ubuntu 16.04, SQLite 3.11.0 and QGIS (2.8 and 3.0). First, install sqlite3
and the libsqlite3-dev
.
sudo apt-get install sqlite3 libsqlite3-dev
I’m not installing QGIS directly on my Ubuntu. Instead, I’m using dockers for testing on different QGIS versions without complications (check the kartoza QGIS docker lib for mor info).
Sample extension
There are some official SQLite extensions and source code to read and get some ideas. After exploring some resources, I’ve created a simple ifelse
function based on this example.
/* ifelse.c */
#include "sqlite3ext.h"
SQLITE_EXTENSION_INIT1;
#include <stdlib.h>
typedef sqlite3_int64 i64;
static void ifelseFunc(sqlite3_context *context, int argc, sqlite3_value **argv) {
int flag = sqlite3_value_int(argv[0]);
char *v1 = (char *)sqlite3_value_text(argv[1]);
char *v2 = (char *)sqlite3_value_text(argv[2]);
if (flag != 0)
sqlite3_result_text(context, v1, -1, SQLITE_TRANSIENT);
else
sqlite3_result_text(context, v2, -1, SQLITE_TRANSIENT);
}
int ifelse_init( sqlite3 *db, char **error, const sqlite3_api_routines *api )
{
SQLITE_EXTENSION_INIT2(api);
sqlite3_create_function( db, "ifelse", 3, SQLITE_ANY,
NULL, ifelseFunc, NULL, NULL);
return SQLITE_OK;
}
Then, compile it to get the binaries.
gcc -shared -fPIC -o ifelse.so ifelse.c -lsqlite3
SQLite command-line testing
We need to be sure that this will work on a raw SQLite database, from the command-line, so I’m creating a dummy Landuse/Landcover (LULC) database.
sqlite3 lulc
After inserting some test data, we will use the ifelse
function to print a description for two LULC codes (FOR -> Forest; URB -> Urban).
CREATE TABLE lulc (cover text NOT NULL);
INSERT INTO lulc VALUES('FOR');
INSERT INTO lulc VALUES('FOR');
INSERT INTO lulc VALUES('URB');
INSERT INTO lulc VALUES('FOR');
INSERT INTO lulc VALUES('URB');
Now, load the extension via the SQL function and the command-line, which should print an empty line.
SELECT load_extension('/path/to/extension/ifelse.so', 'ifelse_init');
The ifelse
function can be tested and it works as expected.
SELECT ifelse(cover='FOR', 'Forest', 'Urban') FROM lulc;
--Forest
--Forest
--Urban
--Forest
--Urban
Finally, it can be checked that it is necessary to load this extension every-time we connect to the database. So .quit
from sqlite3 and try to use the function again.
sqlite3 lulc
SELECT ifelse(cover='FOR', 'Forest', 'Urban') FROM lulc;
Error: no such function: ifelse
As you can see, it is necessary to load the extension every-time we connect to the lulc database.
SELECT load_extension('./ifelse.so', 'ifelse_init');
SELECT ifelse(cover='FOR', 'Forest', 'Urban') FROM lulc;
--Forest
--Forest
--Urban
--Forest
--Urban
Working with geopackages in QGIS
Unfortunatelly, I have tested this approach via DBmanager
in QGIS 3.0, but it didn’t work. The extension can’t be loaded using this approach. The load_extension()
call returns a pretty clear message: Not authorized
.
We can do this test in QGIS 2.8 and it will work correctly for Spatialite. However, Geopackages were not so well supported before QGIS 3.0. This difference between QGIS versions is due to a change in the Python version used since QGIS 3.x (see this answer on gis.stackexchange).
Conclusions
We have revised how to use the SQLite C API and it seems a very powerful approach for distributing data with some useful logic. For example, imagine that you want to distribute some data to GIS users, avoiding to describe complex parametrized queries. This could be achieved through Run-Time Loadable extensions…
I have discovered that the most recent Python distributions are blocking this mechanism for some security reasons and this is directly incorporated into QGIS. However, this functionality seems very useful and I think that there are other ways for loading extensions without compiling QGIS from sources.
Resources
These are some resources I have revised for writing this post.
Geopackages
- FOSS4G-2013 slides
- Switch from Shapefile
- Comparing GEOCSV, Geopackage and Geojson (spanish)
- Geopackages in ArcGIS, QGIS and Geoserver (spanish).


We are a team of full stack web development students at Lambda School
Matt is a full stack web developer attending Lambda School. He knows JavaScript, CSS, HTML, React, Redux, Node and SQL, and he plans to continue learning and expanding his knowledge of each language.
Emilio was born and raised in New York. He started coding in 2019, shortly before deciding not to attend law school. He's very passionate and dedicated when it comes to coding.
Lorem ipsum dolor sit amet consectetur adipisicing elit. Ad voluptates magnam qui in quos. Ab praesentium eaque culpa magni, aut commodi incidunt, itaque sunt atque, mollitia iure? Non aperiam temporibus enim aliquam.
Alex is currently a full-stack web development student at Lambda School. Previously, he led sales & partnerships at fintech startup Guideline 401(k).


Outlines keep you honest. They stop you from indulging in poorly thought-out metaphors about driving and keep you focused on the overall structure of your post
We host program-specific AMPED mentorship calls using Google Hangouts.


About
My name is Ryan Kazokas. I live and work in the Scranton/Wilkes Barre area at TMG Health. I specialize in java software development but my expertise skills have a range that extends to C#, javascript, among other languages, working in frameworks such as Spring, Hibernate, MyBatis, Reactjs, and node. Striving for personal and professional excellence, I spend a lot of time improving my skills to become the best person and the best professional software engineer I can be. I try to stay up on and evaluate current and emerging technologies to be used in my personal and work projects.
For my education, I obtained my bachelors degree from the Pennsylvania State University in Information Sciences and Technology. I have also received a Master’s of Software Engineering from the Pennsylvania State University in the Summer of 2016.
I have a wife(Sam), daughter(Auden), and a new born son(Cooper) as of December 2016. I am more than thrilled to be part of all of their lives. They are the most important things in my life and always will be.(Software is a close second!)


{%extends "crowdcop_web/main_template.html"%}
{%block title%}Creators{%endblock}
{%block content%}
RPI 2019, CS Major
- I grew up believing that every problem has a solution, it just takes creativity to find the one that works. One of the great things about college has been that I have met people and gotten in touch with organizations who I am now working with to make my ideas, like CrowdCop, into a reality. I'm also a strong advocate for the ASD community and have worked with organizations like Artists with Autism as a mentor teaching entrepreneurial skills to special needs individuals.
-
RPI 2019, CSE Major
- I started working with technology when I was just six years old. I have always dreamed of changing the world using technology, and RCOS was the perfect opportunity to do so. I am also an advocate for diversity in STEM fields and was an NCWIT Affiliate Award winner in the past.
{%endblock%}


WITNESS LIST Transportation Committee February 24, 1997-3:00P HB 17 For: Chisum, Rep. Warren (Author of H.B. 17) Lewis, Bill (M.A.D.D.) HB 344 For: Solomons, Rep. Burt (Author of H.B. 344) On: Bisson, Jim (TXDOT) HB 920Committee Substitute (Uher) For: Joiner, Gary (Texas Farm Bureau) Jones, Rep. Delwin (Author of H.B. 920) HB 977 For: Brimer, Rep. Kim (Author of H.B. 977) On: Christian, Maj. Burton (TX DPS) HB 1025 For: Bosse, Rep. Fred (Author of H.B. 1025) Cernosek, Larry (TX Towing & Storage Ass) Rash, Jeanette (TX Towing & Storage Ass) HB 1137 Committee Substitute (Siebert) For: Blanton, Tom (TX Auto Dealers Assoc.) Brinkmeyer, Barbara (Bastrop County/TACA) Calvert, Carol (Tax Ass-Coll Assoc.(TX)) Cernosek, Larry (TX Towing & Storage Ass) Sanberg, Eric (TX Savings & Comm. Bank) Uher, Rep. Tom (Author of H.B. 1137) HB 1288 For: Oliveira, Rep. Rene (Author of H.B. 1288) Weber, Daniel T. (City of Brownsville) Worburten, Geoff (City of Brownsville) Registering, but not testifying: For: Igo, Shanna (Texas Municipal League)


Class: RubyInstaller::Build::Task
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Openstruct
|
|
|
Instance Chain:
self,
Utils ,
Rake::DSL,
Openstruct
|
|
| Inherits: |
RubyInstaller::Build::Openstruct
|
| Defined in: | lib/ruby_installer/build/task.rb |
Constant Summary
Utils
- Included
Class Method Summary
Instance Method Summary
Utils
- Included
| #eval_file, | |
| #file | Extend rake’s file task to be defined only once and to check the expected file is indeed generated. |
| #msys_sh, | |
| #ovl_expand_file | Returns the absolute path of |
| #ovl_glob | Scan the current and the gem root directory for files matching |
| #ovl_read_file | Read |
| #q_inno | Quote a string according to the rules of Inno-Setup. |
| #rubyinstaller_build_gem_files | Return the gem files of “rubyinstaller-build”. |
| #task | Extend rake’s task definition to be defined only once, even if called several times. |
| #with_env, #with_sandbox_ruby, #task_once |
Openstruct
- Inherited
Constructor Details
.new(thisdir:, **hash) ⇒ Task
# File 'lib/ruby_installer/build/task.rb', line 10
def initialize(thisdir: , **hash) super(hash) self.thisdir = thisdir ovl_glob(File.join(thisdir, "[0-9][0-9]-*.rake")).sort.each do |taskfile| eval_file( (taskfile)) end end
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RubyInstaller::Build::Openstruct


4
1 Therefore, my brothers, whom I love and long for, my joy and crown, stand firm thus in the Lord, my beloved.
Exhortation, Encouragement, and Prayer
2 I entreat Euodia and I entreat Syntyche to agree in the Lord.
3 Yes, I ask you also, true companion, help these women, who have labored side by side with me in the gospel together with Clement and the rest of my fellow workers, whose names are in the book of life.
4 Rejoice in the Lord always; again I will say, Rejoice.
5 Let your reasonableness be known to everyone. The Lord is at hand;
6 do not be anxious about anything, but in everything by prayer and supplication with thanksgiving let your requests be made known to God.
7 And the peace of God, which surpasses all understanding, will guard your hearts and your minds in Christ Jesus.
8 Finally, brothers, whatever is true, whatever is honorable, whatever is just, whatever is pure, whatever is lovely, whatever is commendable, if there is any excellence, if there is anything worthy of praise, think about these things.
9 What you have learned and received and heard and seen in me—practice these things, and the God of peace will be with you.
God's Provision
10 I rejoiced in the Lord greatly that now at length you have revived your concern for me. You were indeed concerned for me, but you had no opportunity.
11 Not that I am speaking of being in need, for I have learned in whatever situation I am to be content.
12 I know how to be brought low, and I know how to abound. In any and every circumstance, I have learned the secret of facing plenty and hunger, abundance and need.
13 I can do all things through him who strengthens me.
14 Yet it was kind of you to share my trouble.
15 And you Philippians yourselves know that in the beginning of the gospel, when I left Macedonia, no church entered into partnership with me in giving and receiving, except you only.
16 Even in Thessalonica you sent me help for my needs once and again.
17 Not that I seek the gift, but I seek the fruit that increases to your credit.
18 I have received full payment, and more. I am well supplied, having received from Epaphroditus the gifts you sent, a fragrant offering, a sacrifice acceptable and pleasing to God.
19 And my God will supply every need of yours according to his riches in glory in Christ Jesus.
20 To our God and Father be glory forever and ever. Amen.
Final Greetings
21 Greet every saint in Christ Jesus. The brothers who are with me greet you.
22 All the saints greet you, especially those of Caesar's household.
23 The grace of the Lord Jesus Christ be with your spirit.


#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @Author: Jialiang Shi
from sonarqube.config import (
API_QUALITYGATES_LIST_ENDPOINT,
API_QUALITYGATES_PROJECT_STATUS_ENDPOINT,
API_QUALITYGATES_SELECT_ENDPOINT,
API_QUALITYGATES_DESELECT_ENDPOINT,
API_QUALITYGATES_SHOW_ENDPOINT,
API_QUALITYGATES_GET_BY_PROJECT_ENDPOINT,
API_QUALITYGATES_COPY_ENDPOINT,
API_QUALITYGATES_CREATE_ENDPOINT,
API_QUALITYGATES_DESTROY_ENDPOINT,
API_QUALITYGATES_RENAME_ENDPOINT,
API_QUALITYGATES_CREATE_CONDITION_ENDPOINT,
API_QUALITYGATES_DELETE_CONDITION_ENDPOINT,
API_QUALITYGATES_UPDATE_CONDITION_ENDPOINT,
API_QUALITYGATES_SEARCH_ENDPOINT,
API_QUALITYGATES_SET_AS_DEFAULT_ENDPOINT
)
[docs]class SonarQubeQualityGates:
def __init__(self, sonarqube):
self.sonarqube = sonarqube
[docs] def copy_quality_gate(self, source_id, gate_name):
"""
Copy a Quality Gate.
:param source_id: The ID of the source quality gate
:param gate_name: The name of the quality gate to create
:return:
"""
params = {'id': source_id, 'name': gate_name}
self.sonarqube.make_call('post', API_QUALITYGATES_COPY_ENDPOINT, **params)
[docs] def create_quality_gate(self, gate_name):
"""
Create a Quality Gate.
:param gate_name: The name of the quality gate to create
:return:
"""
params = {'name': gate_name}
self.sonarqube.make_call('post', API_QUALITYGATES_CREATE_ENDPOINT, **params)
[docs] def delete_quality_gate(self, gate_id):
"""
Delete a Quality Gate.
:param gate_id: ID of the quality gate to delete
:return:
"""
params = {'id': gate_id}
self.sonarqube.make_call('post', API_QUALITYGATES_DESTROY_ENDPOINT, **params)
[docs] def rename_quality_gate(self, gate_id, gate_name):
"""
Rename a Quality Gate.
:param gate_id: ID of the quality gate to rename
:param gate_name: New name of the quality gate
:return:
"""
params = {'id': gate_id, 'name': gate_name}
self.sonarqube.make_call('post', API_QUALITYGATES_RENAME_ENDPOINT, **params)
[docs] def create_condition_to_quality_gate(self, gateId, metric, error, op=None):
"""
Add a new condition to a quality gate.
:param gateId: ID of the quality gate
:param metric: Condition metric.
Only metric of the following types are allowed:
* INT
* MILLISEC
* RATING
* WORK_DUR
* FLOAT
* PERCENT
* LEVEL
:param error: Condition error threshold
:param op: Condition operator
Possible values are for:
* LT = is lower than
* GT = is greater than
:return:
"""
params = {
'gateId': gateId,
'metric': metric.upper(),
'error': error
}
if op:
params.update({'op': op.upper()})
self.sonarqube.make_call('post', API_QUALITYGATES_CREATE_CONDITION_ENDPOINT, **params)
[docs] def delete_condition_from_quality_gate(self, condition_id):
"""
Delete a condition from a quality gate.
:param condition_id: Condition ID
:return:
"""
params = {'id': condition_id}
self.sonarqube.make_call('post', API_QUALITYGATES_DELETE_CONDITION_ENDPOINT, **params)
[docs] def update_condition_to_quality_gate(self, condition_id, metric, error, op=None):
"""
Update a condition attached to a quality gate.
:param condition_id: Condition ID
:param metric: Condition metric.
Only metric of the following types are allowed:
* INT
* MILLISEC
* RATING
* WORK_DUR
* FLOAT
* PERCENT
* LEVEL
:param error: Condition error threshold
:param op: Condition operator
Possible values are for:
* LT = is lower than
* GT = is greater than
:return:
"""
params = {
'id': condition_id,
'metric': metric.upper(),
'error': error
}
if op:
params.update({'op': op.upper()})
self.sonarqube.make_call('post', API_QUALITYGATES_UPDATE_CONDITION_ENDPOINT, **params)
[docs] def get_qualitygate_projects(self, gate_id, selected="selected"):
"""
Search for projects associated (or not) to a quality gate.
:param gate_id: Quality Gate ID
:param selected: Depending on the value, show only selected items (selected=selected),
deselected items (selected=deselected), or all items with their selection status (selected=all).
Possible values are for:
* all
* deselected
* selected
default value is selected
:return:
"""
params = {
'gateId': gate_id,
'selected': selected
}
page_num = 1
page_size = 1
total = 2
while page_num * page_size < total:
resp = self.sonarqube.make_call('get', API_QUALITYGATES_SEARCH_ENDPOINT, **params)
response = resp.json()
page_num = response['paging']['pageIndex']
page_size = response['paging']['pageSize']
total = response['paging']['total']
params['p'] = page_num + 1
for result in response['results']:
yield result
[docs] def set_default_qualitygate(self, gate_id):
"""
Set a quality gate as the default quality gate.
:param gate_id: ID of the quality gate to set as default
:return:
"""
params = {'id': gate_id}
self.sonarqube.make_call('post', API_QUALITYGATES_SET_AS_DEFAULT_ENDPOINT, **params)
[docs] def get_project_qualitygates_status(self, project_key=None, analysisId=None, branch=None):
"""
Get the quality gate status of a project or a Compute Engine task. return 'ok','WARN','ERROR'
The NONE status is returned when there is no quality gate associated with the analysis.
Returns an HTTP code 404 if the analysis associated with the task is not found or does not exist.
:param project_key: Project key
:param analysisId: Analysis id
:param branch: Branch key
:return:
"""
params = {}
if project_key:
params.update({'projectKey': project_key})
if branch:
params.update({'branch': branch})
elif analysisId:
params.update({'analysisId': analysisId})
resp = self.sonarqube.make_call('get', API_QUALITYGATES_PROJECT_STATUS_ENDPOINT, **params)
response = resp.json()
return response['projectStatus']
[docs] def get_quality_gates(self):
"""
Get a list of quality gates
:return:
"""
resp = self.sonarqube.make_call('get', API_QUALITYGATES_LIST_ENDPOINT)
response = resp.json()
return response['qualitygates']
[docs] def select_quality_gate_for_project(self, project_key, gate_id):
"""
Associate a project to a quality gate.
:param project_key: Project key
:param gate_id: Quality gate id
:return:
"""
params = {'gateId': gate_id, 'projectKey': project_key}
self.sonarqube.make_call('post', API_QUALITYGATES_SELECT_ENDPOINT, **params)
[docs] def remove_project_from_quality_gate(self, project_key):
"""
Remove the association of a project from a quality gate.
:param project_key: Project key
:return:
"""
params = {'projectKey': project_key}
self.sonarqube.make_call('post', API_QUALITYGATES_DESELECT_ENDPOINT, **params)
[docs] def show_quality_gate(self, gate_id=None, gate_name=None):
"""
Display the details of a quality gate.
:param gate_id: ID of the quality gate. Either id or name must be set
:param gate_name: Name of the quality gate. Either id or name must be set
:return:
"""
params = {}
if gate_id:
params.update({'id': gate_id})
elif gate_name:
params.update({'name': gate_name})
resp = self.sonarqube.make_call('get', API_QUALITYGATES_SHOW_ENDPOINT, **params)
response = resp.json()
return response
[docs] def get_quality_gate_of_project(self, project_key):
"""
Get the quality gate of a project.
:param project_key: Project key
:return:
"""
params = {'project': project_key}
resp = self.sonarqube.make_call('get', API_QUALITYGATES_GET_BY_PROJECT_ENDPOINT, **params)
response = resp.json()
return response['qualityGate']


Please fill in this form to create an account.
By creating an account you agree to sell your data to third company (Just a joke).


Vendor management system is Web-enabled, customizable secure system to manage vendor relations. It can provide you a single, unified view to understand how your company uses contractors and how much you are spending on them. It can also help you significantly shorten the time it takes to fill a request for a vendor resource.
More Products


WELCOME TO BUSY BRAIN SCHOLAR INSTITUTE
Facebook@BUSY BRAIN
Twitter@BUSY BARIN
Instagram@BUSY BRAIN
Homepage


Overview
This document explains how you can use Twisted to implement network protocol parsing and handling for TCP servers (the same code can be reused for SSL and Unix socket servers). There is a separate document covering UDP.
Your protocol handling class will usually subclass twisted.internet.protocol.Protocol
. Most
protocol handlers inherit either from this class or from one of
its convenience children. An instance of the protocol class
is instantiated per-connection, on demand, and will go
away when the connection is finished. This means that
persistent configuration is not saved in the
Protocol
.
The persistent configuration is kept in a Factory
class, which usually inherits
from twisted.internet.protocol.Factory
. The buildProtocol
method of the Factory
is used to create
a Protocol
for each new connection.
It is usually useful to be able to offer the same service on
multiple ports or network addresses. This is why
the Factory
does not listen to connections, and in
fact does not know anything about the
network. See the endpoints
documentation for more information,
or twisted.internet.interfaces.IReactorTCP.listenTCP
,
and the other IReactor*.listen*
APIs for the lower
level APIs that endpoints are based on.
This document will explain each step of the way.
Protocols
As mentioned above, this, along with auxiliary classes and functions, is where most of the code is. A Twisted protocol handles data in an asynchronous manner: the protocol responds to events as they arrive from the network; the events arrive as calls to methods on the protocol.
Here is a simple example:
1 2 3 4 5 6
from twisted.internet.protocol import Protocol class Echo(Protocol): def dataReceived(self, data): self.transport.write(data)
This is one of the simplest protocols. It simply writes back whatever is written to it, and does not respond to all events. Here is an example of a Protocol responding to another event:
1 2 3 4 5 6 7
from twisted.internet.protocol import Protocol class QOTD(Protocol): def connectionMade(self): self.transport.write("An apple a day keeps the doctor away\r\n") self.transport.loseConnection()
This protocol responds to the initial connection with a well known quote, and then terminates the connection.
The connectionMade event is usually where set up of the
connection object happens, as well as any initial greetings (as
in the QOTD protocol above, which is actually based on RFC
865). The connectionLost
event is where tearing down of any
connection-specific objects is done. Here is an example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
from twisted.internet.protocol import Protocol class Echo(Protocol): def __init__(self, factory): self.factory = factory def connectionMade(self): self.factory.numProtocols = self.factory.numProtocols+1 self.transport.write( "Welcome! There are currently %d open connections.\n" % (self.factory.numProtocols,)) def connectionLost(self, reason): self.factory.numProtocols = self.factory.numProtocols-1 def dataReceived(self, data): self.transport.write(data)
Here connectionMade
and
connectionLost
cooperate to keep a count of the
active protocols in a shared object, the factory. The factory must
be passed to Echo.__init__
when creating a new
instance. The factory is used to share state that exists beyond the
lifetime of any given connection. You will see why this object is
called a "factory" in the next section.
loseConnection() and abortConnection()
In the code above, loseConnection
is called immediately
after writing to the transport. The loseConnection
call will
close the connection only when all the data has been written by Twisted
out to the operating system, so it is safe to use in this case without
worrying about transport writes being lost. If
a producer is being used with the
transport, loseConnection
will only close the connection once
the producer is unregistered.
In some cases, waiting until all the data is written out is not what we
want. Due to network failures, or bugs or maliciousness in the other side
of the connection, data written to the transport may not be deliverable,
and so even though loseConnection
was called the connection
will not be lost. In these cases, abortConnection
can be
used: it closes the connection immediately, regardless of buffered data
that is still unwritten in the transport, or producers that are still
registered. Note that abortConnection
is only available in
Twisted 11.1 and newer.
Using the Protocol
In this section, you will learn how to run a server which uses your
Protocol
.
Here is code that will run the QOTD server discussed earlier:
1 2 3 4 5 6 7 8 9 10 11 12
from twisted.internet.protocol import Factory from twisted.internet.endpoints import TCP4ServerEndpoint from twisted.internet import reactor class QOTDFactory(Factory): def buildProtocol(self, addr): return QOTD() # 8007 is the port you want to run under. Choose something >1024 endpoint = TCP4ServerEndpoint(reactor, 8007) endpoint.listen(QOTDFactory()) reactor.run()
In this example, I create a protocol Factory
. I want to tell this
factory that its job is to build QOTD protocol instances, so I set its
buildProtocol
method to return instances of the QOTD class. Then, I want to listen
on a TCP port, so I make a TCP4ServerEndpoint
to identify the
port that I want to bind to, and then pass the factory I just created to
its listen
method.
Because this is a short example, nothing else has yet started up the
Twisted reactor. endpoint.listen
tells the reactor to handle
connections to the endpoint's address using a particular protocol, but the
reactor needs to be running in order for it to do anything.
reactor.run()
starts the reactor and then waits forever for
connections to arrive on the port you've specified.
You can stop the reactor by hitting Control-C in a terminal or calling
reactor.stop
.
For more information on different ways you can listen for incoming connections, see the documentation for the endpoints API.
Helper Protocols
Many protocols build upon similar lower-level abstraction. The most popular in internet protocols is being line-based. Lines are usually terminated with a CR-LF combinations.
However, quite a few protocols are mixed - they have line-based sections and then raw data sections. Examples include HTTP/1.1 and the Freenet protocol.
For those cases, there is the LineReceiver
protocol. This protocol dispatches to two different event
handlers - lineReceived
and
rawDataReceived
. By default, only
lineReceived
will be called, once for each line.
However, if setRawMode
is called, the protocol
will call rawDataReceived
until
setLineMode
is called, which returns it to using
lineReceived
. It also provides a method,
sendLine
, that writes data to the transport along
with the delimiter the class uses to split lines (by default,
\r\n
).
Here is an example for a simple use of the line receiver:
1 2 3 4 5 6 7 8 9 10 11
from twisted.protocols.basic import LineReceiver class Answer(LineReceiver): answers = {'How are you?': 'Fine', None : "I don't know what you mean"} def lineReceived(self, line): if self.answers.has_key(line): self.sendLine(self.answers[line]) else: self.sendLine(self.answers[None])
Note that the delimiter is not part of the line.
Several other, less popular, helpers exist, such as a netstring based protocol and a prefixed-message-length protocol.
State Machines
Many Twisted protocol handlers need to write a state machine to record the state they are at. Here are some pieces of advice which help to write state machines:
- Don't write big state machines. Prefer to write a state machine which deals with one level of abstraction at a time.
- Don't mix application-specific code with Protocol handling code. When the protocol handler has to make an application-specific call, keep it as a method call.
Factories
Simpler Protocol Creation
For a factory which simply instantiates instances of a
specific protocol class, there is a simpler way to implement the factory.
The default implementation of the buildProtocol
method calls
the protocol
attribute of the factory to create
a Protocol
instance, and then sets an attribute on it
called factory
which points to the factory
itself. This lets every Protocol
access, and possibly
modify, the persistent configuration. Here is an example that uses these
features instead of overriding buildProtocol
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
from twisted.internet.protocol import Factory, Protocol from twisted.internet.endpoints import TCP4ServerEndpoint from twisted.internet import reactor class QOTD(Protocol): def connectionMade(self): # self.factory was set by the factory's default buildProtocol: self.transport.write(self.factory.quote + '\r\n') self.transport.loseConnection() class QOTDFactory(Factory): # This will be used by the default buildProtocol to create new protocols: protocol = QOTD def __init__(self, quote=None): self.quote = quote or 'An apple a day keeps the doctor away' endpoint = TCP4ServerEndpoint(reactor, 8007) endpoint.listen(QOTDFactory("configurable quote")) reactor.run()
Factory Startup and Shutdown
A Factory has two methods to perform application-specific
building up and tearing down (since a Factory is frequently
persisted, it is often not appropriate to do them in __init__
or __del__
, and would frequently be too early or too late).
Here is an example of a factory which allows its Protocols to write to a special log-file:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
from twisted.internet.protocol import Factory from twisted.protocols.basic import LineReceiver class LoggingProtocol(LineReceiver): def lineReceived(self, line): self.factory.fp.write(line+'\n') class LogfileFactory(Factory): protocol = LoggingProtocol def __init__(self, fileName): self.file = fileName def startFactory(self): self.fp = open(self.file, 'a') def stopFactory(self): self.fp.close()
Putting it All Together
As a final example, here's a simple chat server that allows users to choose a username and then communicate with other users. It demonstrates the use of shared state in the factory, a state machine for each individual protocol, and communication between different protocols.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
from twisted.internet.protocol import Factory from twisted.protocols.basic import LineReceiver from twisted.internet import reactor class Chat(LineReceiver): def __init__(self, users): self.users = users self.name = None self.state = "GETNAME" def connectionMade(self): self.sendLine("What's your name?") def connectionLost(self, reason): if self.users.has_key(self.name): del self.users[self.name] def lineReceived(self, line): if self.state == "GETNAME": self.handle_GETNAME(line) else: self.handle_CHAT(line) def handle_GETNAME(self, name): if self.users.has_key(name): self.sendLine("Name taken, please choose another.") return self.sendLine("Welcome, %s!" % (name,)) self.name = name self.users[name] = self self.state = "CHAT" def handle_CHAT(self, message): message = "<%s> %s" % (self.name, message) for name, protocol in self.users.iteritems(): if protocol != self: protocol.sendLine(message) class ChatFactory(Factory): def __init__(self): self.users = {} # maps user names to Chat instances def buildProtocol(self, addr): return Chat(self.users) reactor.listenTCP(8123, ChatFactory()) reactor.run()
The only API you might not be familiar with
is listenTCP
. listenTCP
is
the method which connects a Factory
to the network.
This is the lower-level API
that endpoints wraps for you.
Here's a sample transcript of a chat session (this is text entered by the user):
$ telnet <IP_ADDRESS> 8123 Trying <IP_ADDRESS>... Connected to <IP_ADDRESS>. Escape character is '^]'. What's your name? test Name taken, please choose another. bob Welcome, bob! hello <alice> hi bob twisted makes writing servers so easy! <alice> I couldn't agree more <carrol> yeah, it's great


Brett Zamir
on 2012-06-21 21:01:12
@Mike: Are you talking about this example?
$array1 = {'a' : 'green', 0:'red', 1: 'blue'};
$array2 = {'b' : 'green', 0:'yellow', 1:'red'};
$array3 = ['green', 'red'];
$result = array_intersect($array1, $array2, $array3);
What do you get if you add this to iterate over the properties?
for (var i in $result) {
alert(i+'::'+$result[i])
}
What browser are you using? I am seeing the alert() in the code above run twice with the given example as it should--i.e., it is not empty.
Mike
on 2012-06-18 15:25:11
I found bug with count of parameters for this function. So if we set over than 2 arguments - function returns empty object.
You can test own example with colors on this page.


{% extends "_base.html" %} {% block body %}
This is to be used to migrate a GitHub pull request from ansible-modules-core or ansible-modules-extras, due to the merger of the modules repos back into the core Ansible repository.
Log in to continue


To allow AI pick like for you, please complete the steps below:
- Create a Google cloud account
then create a project and enable Vision API
here
.
- Create API Key for Vision API to allow this extension access it
here
.
Copy it and paste below. (The key start with AIz...)
Google Vision API Key:


Good day, everybody!
I'm in Canada where our regular home 120/240V split phase power system is supporting by my small 915W array of solar panels (as test). They are connected to a 1000W grid-tie inverter (only for one 120V-phase "A"), and working properly. System is upgradeable up to 2kW.
The problem is that they are producing too much power at times and I would like to limit the amount of power produced by them.
1) I would like to have sketch based on Mk2 program with 2 independent modes:
a) diverting the power to an external load (like a MK2)
b) limiting the amount of DC from the solar panels to GT inverter
by using a PWM regulator (based on a modified solar PWM charger).
(Pls look at the attached picture for a better understanding and details).
One of this modes can be chosen by a toggle switch.
In PWM mode the Arduino must send out a signal to PWM regulator "A" in order for the power
produced by the GT inverter not to exceed the power consumed by the house.
For the system to function smoothly the Arduino has to delay the changes in PWM,
since the inverter's MPPT function can't stabilize instantly.
2) Also the Arduino has to run a web server (runs in the Ethernet shield)
It based on "SD Card Web Server I/O" tutorial from
http://startingelectronics.com/tutorials/arduino/ethernet-shield-web-ser...
My (raw) version of web server (index.htm as txt file) and raw Arduino code are attached.
Also I made independent sketch for logging all results to a file on the SD card.
Both of the functions (web server and logger) are working properly independently,
but they both require a file to be open on the SD card all of the time.
Since the Arduino can only have one file open at a time,
is this possible to achieve ? If so then how ?
3) So basically the Arduino has to measure everything, calculate everything,
send out the PWM, write to the web server and log data to the SD card really fast.
Will the Arduino have enough speed to do all of this?
If not, how can I make it less recourse heavy (slower measuring).
I'm a newbie at Arduino programming.
Could somebody else help me write and combine a sketch for my system
which will include:
- MK2 with Triac + PWM modes
- SD Card Web Server I/O
- data logger ?
(indexTXT is actually a .htm file, won't let me attach)
Thanks all for your advice and help!
Canada-Man
Re: Canadian version of MK2 with Triac + PWM modes... Help, please!
Hi Canada man, you show the water heater just using phase 'A' 120v this will work fine as thats also where the inverter feed goes with the Mk2 as you will be using the 'A' line for the CT measuring the usage on this line. you can have a Mk2 chugging away on its own as it's independent of other devices.
Where I am confused is your need to limit the solar you produce, in the UK we are paid (a little) for any power we send back to the grid, in Spain they are penalized and are charged for what they feed in as its considered waste for disposal. What is the situation in Canada and why do you need to limit what is produced? After all if you don't need the power you just don't use it.
The Mk2 as you have probably read is a burst fire system, there have been others who have experimented with phase control but this has limitations and problems of its own. It would demand quite a rewrite to even try PWM.
Rather than try to have the Arduino do two jobs (the Mk2 is basically a balancing system), I would suggest a Mk2 controlling the water heater and a separate measuring system somthinge like the emon or eco eye.
If you could explain your need to lose some of your generated power it would be useful.
Re: Canadian version of MK2 with Triac + PWM modes... Help, please!
b) limiting the amount of DC from the solar panels to GT inverter
by using a PWM regulator (based on a modified solar PWM charger).
That might be problematic. The DC voltage in your typical domestic grid-attached PV system is very high.... many hundreds of volts. You typically need a seriously heavy duty DC isolation switch. The DC voltages and currents involved are pretty scarey.
And even if you could solve the switching problems, I think your inverter's maximum power point tracker would get very confused.
Re: Canadian version of MK2 with Triac + PWM modes... Help, please!
richmc: Hi Canada man, you show the water heater just using phase 'A' 120v this will work fine as thats also where the inverter feed goes with the Mk2 as you will be using the 'A' line for the CT measuring the usage on this line. you can have a Mk2 chugging away on its own as it's independent of other devices.
I suspect that Canadian metering works in a similar fashion to UK 3-phase metering in that it just measures the total power from both phases. If so you will only have excess PV power if it exceeds the total load on both phases so you need to measure both and only turn the triac on if the total load is less than the solar power.
Re: Canadian version of MK2 with Triac + PWM modes... Help, please!
The first point is Robin has done a Mk2 that uses phase control - the sketch is documented and listed here, so no rewrite is necessary. All that changes is the opto-isolator / driver i.c. Second, it would be wise to check early on whether the meter does in fact aggregate the two legs ("phases") for the purpose of calculating the nett energy flow, as that will define the strategy that you use. My suspicion too is it will, but evidence is needed.
I think MartinR might have a better feel for the capabilities of the Arduino than I have, but my first reaction would be to follow Rich's philosophy and have several devices each doing a specific task. I think it could be seriously slow trying to do all you require with one.
"The DC voltages and currents involved are pretty scarey." and they don't take prisoners.
Surely the answer is to control the MPPT, if the inverter allows it? And if not, get one that does. I can't believe it would operate anywhere near correctly when fed with chopped d.c. At best you'd need to heavily filter the output of the PWM switch.
Re: Canadian version of MK2 with Triac + PWM modes... Help, please!
"The first point is Robin has done a Mk2 that uses phase control "
Yes but the OP was asking for PWM, not quite the same and very inappropriate for AC.
Re: Canadian version of MK2 with Triac + PWM modes... Help, please!
And Rich mentioned phase control. I do know the difference between a.c and d.c, believe it or not.
Re: Canadian version of MK2 with Triac + PWM modes... Help, please!
I don't think I understand how PWM is intended to work here.
With my 'Mk1' PV Diverter, I used a smoothed PWM output from the Arduino to create a pseudo-analogue signal which fed an external power controller. The system did work, but was complex, expensive and slow to respond, and did nothing that a simple triac can't do. So I went down the Mk2 route instead.
Re: Canadian version of MK2 with Triac + PWM modes... Help, please!
Robin, I think the idea is to chop the d.c upstream of the inverter to limit the PV power (almost) at source. We don't yet know the reason for that - I think there is speculation that it might be down to (possibly ill-conceived) legislation, as in Spain. Whatever the reason, the next question is how will the inverter and the maximum power algorithm react. I fear it could get very messy.
I think the control scheme is that the Mk 2 is regulating the dump load to match the generated capacity, as the 'primary' load, and when that cuts out at maximum temperature, the PWM on the d.c. side throttles generation to match the house load - effectively taking the place of a second level dump load.
Re: Canadian version of MK2 with Triac + PWM modes... Help, please!
I know modern "smart inverters" allow remote control of their real and reactive power output. I think this is now a requirement in Germany, but I think the grid manager "owns" those controls. Attached is an example of how one inverter manufacturer does it. The master inverter is set up for direct connection to the 4 relays in a Radio Ripple Control Receiver and it then passes those settings along to the slave inverters via RS485. The grid manager can then manage inverters in real time, and potentially even use them to inject reactive power deep into the network.
http://www.solaredge.com/files/pdfs/power-reduction-control-application-...
http://www.solaredge.com/files/pdfs/application_note_power_control_confi...
Re: Canadian version of MK2 with Triac + PWM modes... Help, please!
Hi everyone!
The first of all I would like to thank all for your fast and friendly responses!
My answers:
0) My small system made for increasing of my usage of power from local provider.
Not for commercial feeding....
Now, even in cloudy day, my PV supports my home appliances well.
Pls look at my "My usage" picture.
In sunny day I lost a lot of energy (marked by red text on my Hourly usage (from Hydro One web site))...
---------------------------------------------
1) My grid-tie inverter (from China): input 22-60(!)DCV, output 900-1000W @90-130ACV, 60Hz.
3 of 305W solar are connected in parallel.
For regulation I would like to make a modification of my broken Morning Star TS-60 charge controller to a PWM regulator.
12 of IRFB421 MOSFET transistors of TS-60 can work up to 150V, 60A (up to 3600W)/
For smoothing of "chopped" DC from PWM regulator I can install 2-3 big capacitors (and coil if it necessary).
Could help me to make this modification?
---------------------------------------
2) Reasons for limiting are very simple:
a) According my real local experience and real understanding of local Ontario "green" rules a procedure of legislation is very difficult (very long term bureaucrat way) and absolutely unprofitable (for my case).
As a result of this:
b) I don't want to feed lines of Hydro One (the biggest energy power in the World!) for free.
c) I want to increase a life of my solar panels.
d) For direct water heating I would like to have a independent solar water heating system (with vacuum tubes).
----------------------------------------
Thanks for your links and advises about using of other system.
Unfortunately there are not for my idea.
==================
Thanks ALL again!
Re: Canadian version of MK2 with Triac + PWM modes... Help, please!
"I do know the difference between a.c and d.c, believe it or not."
Yep, one tingles the other hurts. ;-)


| Name | City | Address | PIB | Number of employees | Web site | Work field | Specialty | |
| {{c.name}} | {{c.city}} | {{c.address}} | {{c.pib}} | {{c.numberOfEmployees}} | {{c.email}} | {{c.website}} | {{c.workField}} | {{c.specialty}} |
| Company | Name | Deadline |
| {{o.companyName}} | {{o.name}} | {{o.deadline| date:'d.M.y H:mm'}} |
| {{o.text}} |


Romania is a country located at the crossroads of Central, Eastern, and Southeastern Europe. It shares land borders with Bulgaria to the south, Ukraine to the north, Hungary to the west, Serbia to the southwest, and Moldova to the east and has its opening to the Black Sea. It has a predominantly temperate-continental climate. With a total area of 238,397 square kilometres, Romania is the twelfth-largest country in Europe and the seventh-most populous member state of the European Union, having approximately 19.3 million inhabitants. Its capital and largest city is Bucharest. Other major urban areas include: Cluj-Napoca, Timișoara, Iași, Constanța, Craiova, Brașov, and Galați.
The River Danube, Europe's second-longest river, rises in Germany's Black Forest and flows in a generally southeasterly direction for 2,857 km, coursing through ten countries before emptying into Romania's Danube Delta. The Carpathian Mountains, which cross Romania from the north to the southwest, include Moldoveanu Peak, at an altitude of 2,544 m.
On the map you can click on the most representative cities from Romania: Bucharest, Cluj-Napoca, Iasi, Timisoara, Constanta, Galati, Brasov, Sinaia, Suceava and Targu Jiu to find out more information about them.


|
mxnet
|
#include <mkldnn_types.h>
Memory descriptor. The description is based on a number of dimensions, dimensions themselves, plus information about elements type and memory format. Additionally, contains format-specific descriptions of the data layout.
| mkldnn_blocking_desc_t mkldnn_memory_desc_t::blocking |
Description of the data layout for memory formats that use blocking.
| mkldnn_data_type_t mkldnn_memory_desc_t::data_type |
Data type of the tensor elements.
| mkldnn_dims_t mkldnn_memory_desc_t::dims |
Dimensions in the following order:
{N, C, [[D,] H,] W}
){[G,] O, I, [[D,] H,] W}
){T, N, C}
) or layers, directions, states, mini-batch, channels ({L, D, S, N, C}
){L, D, I, G, O}
).{N, C, H, W}
. | mkldnn_memory_format_t mkldnn_memory_desc_t::format |
Memory format.
| union { ... } mkldnn_memory_desc_t::layout_desc |
| int mkldnn_memory_desc_t::ndims |
Number of dimensions
| mkldnn_primitive_kind_t mkldnn_memory_desc_t::primitive_kind |
The kind of primitive. Used for self-identifying the primitive descriptor. Must be mkldnn_memory.
| mkldnn_rnn_packed_desc_t mkldnn_memory_desc_t::rnn_packed_desc |
Tensor of packed weights for RNN.
| mkldnn_wino_desc_t mkldnn_memory_desc_t::wino_desc |
Tensor of weights for integer 8bit winograd convolution.


Create a Map
We’ll start with point data.
The data will show up on your map like this.
You can see specific data points by hovering.
Edit your data layers by clicking on the edit button.
You can specify which dimension is used to label the points (tooltip).
When we first plotted the points, they were sized by items per location. If we uncheck that option, we can focus our attention on the unique locations.
Unsized data looks like this.
There are a number of basemap layers to choose from.
We’ve added satellite imagery as a tile layer.
Investigate multiple dimensions of the data using interactive filters like the Timeline shown below.
##To learn more about using the Timeline, Timespan, and Facet Filters, see our separate tutorials.
Another mapping option is Point to Point, which requires two sets of place data (birthplaces and deathplaces in this example).
Here you can see the paths between birthplace (source) and death place (target). The clockwise arc of the line indicates the direction of the relationship.
You can add multiple data layers and choose the color.
In this map, we’ve assigned red to birthplaces to more easily distinguish them from death places.
With this view, you can more easily follow the arc between birthplace and death place.


I am a responsive web designer and developer.
I am a responsive web designer and developer.
I am a Brooklynite! But all in all I am a true New Yorker. I grew up in Queens, went to school in Manhattan and college in the Hudson Valleys. Other than myself, all members of my family are from Japan.
My passion is anything creative. From cooking, design, sewing, photography, playing the piano, I love all variety of the arts.
Other facts: I am bilingual (by conversational Japanese). I love great food! Thank goodness for NYC. And one of my favorite ways to spend time with friends is doing karaoke!


| Height: | < Prev 5734135 Next > |
| TimeStamp: | 7 mins ago (Jun-05-2018 02:32:36 AM +UTC) |
| Transactions: | 163 transactions and 11 contract internal transactions in this block |
| Hash: | 0x59eabf389c9f13642f3a89ccfb8aaf50272ea2b6e7c52595897955bd5c216d8f |
| Parent Hash: | 0x1099bff501aac5e8d3eb5acfd9efb45f27cb23835148d530ed26922bab06646a |
| Sha3Uncles: | 0x631c19fa4a1ffec9442b366b278d7aea2bd87319ff33816309f9b8b58a56d909 |
| Mined By: | 0x5a0b54d5dc17e0aadc383d2db43b0a0d3e029c4c (SparkPool) in 3 secs |