This is the base class of all rdf repositories, and can be considered an Abstract class. A subclass specialization is required to support a given repository - an example of which is VirtuosoRepository.
the base class must at least implement the methods
get_configuration - supplies a configuration class get_query_object - supplies class for of Rdf::Query get_repository_object - supplies an instance of Rdf::Repository config_filename - the filename (without the full path) of the configuration file, which will be found in config/ enabled_for_environment? - indicates whether the repository has been configured for the given Rails.env
provides a singleton instance of the configured repository
# File lib/seek/rdf/rdf_repository.rb, line 17 def self.instance #TODO: in the future, when/if we support more repository flavours, the instance we return will need to be configurable Seek::Rdf::VirtuosoRepository.instance end
# File lib/seek/rdf/rdf_repository.rb, line 130 def configured? File.exists?(config_path) && enabled_for_environment? end
execute a deletion query, which delegates to Rdf::Repository#query
# File lib/seek/rdf/rdf_repository.rb, line 38 def delete *args get_repository_object.delete *args end
Abstract methods
# File lib/seek/rdf/rdf_repository.rb, line 150 def get_configuration raise "Not implemented: subclass should provide a configuration class" end
# File lib/seek/rdf/rdf_repository.rb, line 154 def get_query_object raise "Not implemented: subclass should provide a suitable RDF::Query class" end
# File lib/seek/rdf/rdf_repository.rb, line 158 def get_repository_object raise "Not implemented: subclass should provide a suitable instance of RDF::Repository" end
execute a insert query, which delegates to Rdf::Repository#query
# File lib/seek/rdf/rdf_repository.rb, line 33 def insert *args get_repository_object.insert *args end
an RDF::Query that can be used to create queries to query the repository
# File lib/seek/rdf/rdf_repository.rb, line 23 def query get_query_object end
remove the rdf related to item from the repository, and delete the rdf file
# File lib/seek/rdf/rdf_repository.rb, line 62 def remove_rdf(item,graphs=[get_configuration.public_graph,get_configuration.private_graph].compact,delete_file = true) if configured? connect_to_repository rdf_file_path = last_rdf_file_path(item) if !rdf_file_path.nil? with_statements_from_file rdf_file_path do |statement| if statement.valid? graphs.each do |graph| remove_statement_from_repository statement,graph end end end end item.delete_rdf_file if delete_file end end
execute a selection query, which delegates to Rdf::Repository#query
# File lib/seek/rdf/rdf_repository.rb, line 28 def select *args get_repository_object.select *args end
send the rdf related to item to the repository, and update the rdf file
# File lib/seek/rdf/rdf_repository.rb, line 43 def send_rdf(item,graphs=rdf_graph_uris(item), save_file = true) if configured? connect_to_repository with_statements(item) do |statement| if statement.valid? graphs.each do |graph_uri| send_statement_to_repository statement, graph_uri end else Rails.logger.error("Invalid statement - '#{statement}'") end end item.save_rdf_file if save_file else Rails.logger.warn "Attempting to send rdf, but not configured" end end
updates the rdf in the repository and updates the rdf file. This is more efficient that calling #remove_rdf and #send_rdf, since it consolidates the triples that have changed since the last send (according to the rdf file), and only updates, add or removes those triples.
# File lib/seek/rdf/rdf_repository.rb, line 81 def update_rdf(item) if configured? connect_to_repository graphs = rdf_graph_uris(item) rdf_file_path = last_rdf_file_path(item) if !graphs.include?(get_configuration.public_graph) && !rdf_file_path.nil? remove_rdf(item,[get_configuration.public_graph],false) end if graphs.include?(get_configuration.public_graph) && rdf_file_path == item.private_rdf_storage_path send_rdf(item,[get_configuration.public_graph],false) end old_statements = [] unless rdf_file_path.nil? with_statements_from_file rdf_file_path do |statement| old_statements << statement end end new_statements = [] with_statements(item) do |statement| new_statements << statement end #cannot simply do new_statements - old_statements, because although eql? works, the same statements have different hashes to_add = new_statements.select { |s| !old_statements.include?(s) } to_remove = old_statements.select { |s| !new_statements.include?(s) } graphs.each do |graph| to_remove.each do |statement| if statement.valid? remove_statement_from_repository(statement, graph) else Rails.logger.error("Invalid statement - '#{statement}'") end end to_add.each do |statement| if statement.valid? send_statement_to_repository(statement, graph) else Rails.logger.error("Invalid statement - '#{statement}'") end end end item.delete_rdf_file item.save_rdf_file end end


location
mobile
New Jersey, USA
973 978 9459
<EMAIL_ADDRESS>Sept 2013 – current
Sole developer for company's initiative to mechanizing the insurance industry. Designed, developed, deployed, and maintained the InstantE&O web application. The application supports multi-user integration, custom insurance quote and policy creation, and user-specific administrative interfaces. Tools and Technologies: Ruby on Rails, JQuery, Javascript, SASS, Nginx
June 2013 – June 2014
Collaborated on all layers of the startup's web application. Integrated language parsing algorithms, designed visual layouts, and constructed a devops management platform using Docker technology. Practiced agile techniques for feature and bug sanity with Git in a small team. Designed server provision and deployment technologies, web scrapers, and HTML/CSS/JS templating for a consumer facing, physical product manufacturing business.
May 2013
Final project at Dev Bootcamp. The app served as an aggregator to keep up with all the amazing content the students produced during their 9-weeks, including tumblr posts, instagram photos, and tweets.
March 2013 – June 2013
9-week, intensive educational experience to mentor novices into entry-level web developers. Craving an opportunity to change my life for the better, I decided to leave the education industry and make the commitment to fully immerse myself with Dev Bootcamp's project-based curriculum.
2004 – 2008


FAQ
Problem with finding
Top Q: Element not found in such case:
$html->find('div[style=padding: 0px 2px;] span[class=rf]');
A: If there is blank in selectors, quote it!
$html->find('div[style="padding: 0px 2px;"] span[class=rf]');
$html->find('div[style=padding: 0px 2px;] span[class=rf]');
A: If there is blank in selectors, quote it!
$html->find('div[style="padding: 0px 2px;"] span[class=rf]');
Problem with hosting
Top Q: On my local server everything works fine, but when I put it on my esternal server it doesn't work.
A: The "file_get_dom" function is a wrapper of "file_get_contents" function, you must set "allow_url_fopen" as TRUE in "php.ini" to allow accessing files via HTTP or FTP. However, some hosting venders disabled PHP's "allow_url_fopen" flag for security issues... PHP provides excellent support for "curl" library to do the same job, Use curl to get the page, then call "str_get_dom" to create DOM object.
Example:
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, 'http://????????');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10);
$str = curl_exec($curl);
curl_close($curl);
$html= str_get_html($str);
...
A: The "file_get_dom" function is a wrapper of "file_get_contents" function, you must set "allow_url_fopen" as TRUE in "php.ini" to allow accessing files via HTTP or FTP. However, some hosting venders disabled PHP's "allow_url_fopen" flag for security issues... PHP provides excellent support for "curl" library to do the same job, Use curl to get the page, then call "str_get_dom" to create DOM object.
Example:
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, 'http://????????');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10);
$str = curl_exec($curl);
curl_close($curl);
$html= str_get_html($str);
...
Behind a proxy
Top Q: My server is behind a Proxy and i can't use file_get_contents b/c it returns a unauthorized error.
A: Thanks for Shaggy to provide the solution:
// Define a context for HTTP.
$context = array
(
'http' => array
(
'proxy' => 'addresseproxy:portproxy', // This needs to be the server and the port of the NTLM Authentication Proxy Server.
'request_fulluri' => true,
),
);
$context = stream_context_create($context);
$html= file_get_html('http://www.php.net', false, $context);
...
A: Thanks for Shaggy to provide the solution:
// Define a context for HTTP.
$context = array
(
'http' => array
(
'proxy' => 'addresseproxy:portproxy', // This needs to be the server and the port of the NTLM Authentication Proxy Server.
'request_fulluri' => true,
),
);
$context = stream_context_create($context);
$html= file_get_html('http://www.php.net', false, $context);
...
Memory leak!
Top Q: This script is leaking memory seriously... After it finished running, it's not cleaning up dom object properly from memory..
A: Due to php5 circular references memory leak, after creating DOM object, you must call $dom->clear() to free memory if call file_get_dom() more then once.
Example:
$html = file_get_html(...);
// do something...
$html->clear();
unset($html);
A: Due to php5 circular references memory leak, after creating DOM object, you must call $dom->clear() to free memory if call file_get_dom() more then once.
Example:
$html = file_get_html(...);
// do something...
$html->clear();
unset($html);
Author: S.C. Chen<EMAIL_ADDRESS>Original idea is from Jose Solorzano's HTML Parser for PHP 4.
Contributions by: Yousuke Kumakura, Vadim Voituk, Antcs


|
Parallel PopGen Package
|
functor: models selection coefficient as linearly dependent on frequency More...
Public Member Functions | |
| selection_linear_frequency_dependent () | |
| default constructor More... | |
| selection_linear_frequency_dependent (float slope, float intercept) | |
| constructor More... | |
| template<typename Functor_demography , typename Functor_inbreeding > | |
| selection_linear_frequency_dependent (float gamma_slope, float gamma_intercept, Functor_demography demography, Functor_inbreeding F, int forward_generation_shift=0) | |
| constructor: effective selection More... | |
| __device__ __forceinline__ float | operator() (const int population, const int generation, const float freq) const |
selection operator, returns selection coefficient, s , for a given population, generation, freq More... | |
Public Attributes | |
| float | slope |
| slope of selection coefficient's linear dependence on frequency More... | |
| float | intercept |
| selection coefficient's intercept with frequency 0 More... | |
functor: models selection coefficient as linearly dependent on frequency
(slope < 0)
:= balancing selection model (negative frequency-dependent selection)
(slope = 0)
:= constant selection
(slope > 0)
:= reinforcement selection model (positive frequency-dependent selection)
Definition at line 43 of file go_fish.cuh.
|
inline |
default constructor
slope = 0, intercept = 0
Definition at line 62 of file template_inline_simulation_functors.cuh.
|
inline |
constructor
Definition at line 63 of file template_inline_simulation_functors.cuh.
|
inline |
constructor: effective selection
slope = gamma_slope/(2*demography(0,forward_generation_shift)/(1+F(0,forward_generation_shift)))
intercept = gamma_intercept/(2*demography(0,forward_generation_shift)/(1+F(0,forward_generation_shift)))
| forward_generation_shift | (optional input) default 0 allows you to push the population size and inbreeding coefficient value to the state forward in time - useful if you are starting the simulation from a previous simulation state and are using the same functions as the previous simulation or any time you want to shift the generation of the demography and inbreeding functions from 0 |
Definition at line 69 of file template_inline_simulation_functors.cuh.
| __device__ __forceinline__ float Sim_Model::selection_linear_frequency_dependent::operator() | ( | const int | population, |
| const int | generation, | ||
| const float | freq | ||
| ) | const |
selection operator, returns selection coefficient, s
, for a given population, generation, freq
s = slope*freq + intercept
Definition at line 74 of file template_inline_simulation_functors.cuh.
| float Sim_Model::selection_linear_frequency_dependent::slope |
slope of selection coefficient's linear dependence on frequency
Definition at line 45 of file go_fish.cuh.
| float Sim_Model::selection_linear_frequency_dependent::intercept |
selection coefficient's intercept with frequency 0
Definition at line 46 of file go_fish.cuh.


These are always needed:
Email address is required to send the human an email Phone number is required to SMS the human Both are required for ....maximum notification


Tracking down spies C&C infrastructure for shits and giggles
08 Jul 2015This is a quick post to splainz the methodology behind how we were able to make fingerprints for the Hacking Team and Equation Group C&C infrastructure allowing remote identification of their servers, as shown in The Italian Job and Equation Smasher releases on Github.
Myself and March, the rootkit wizard, have been at this kind of thing for quite some time, and have had a great deal of success in enumerating and identifying C&C infrastructure based on various oddities in how they present themselves. A fine example of this was in our Hunting Red October work prior (which resulted in the “asdic.pl” and “sonar.py” scripts).
Basically, here is a TL;DR on how you, too, can hunt down shitbag spies and other such nasties.
Step 1: Get samples of the malware and/or IP’s of some still active C&C servers.
This is often trivial. Once someone publishes a report, or you get some nasty malware, identify the C&C server (run it in a sandbox or whatever and sniff those sweet, sweet pacotes).
Step 2: Muck about with the C&C server.
Next up, do a portscan of the C&C server(s). Of particular interest is the callback port. You want to fiddle with that port/service a bit and see if it returns a “weird” or unique banner or response, that you can chuck into shodan and try identify similar servers.
 Once you have a list of hosts that also act in the same fashion and “smell” the same (much of this is based on scientific jiggerypokery and general faffing about with them), you portscan those and look for further similarities. Most oftentimes, C&C infrastructure is “cloned” across hosts, so they all will be set up in the same fashion.
Optional Step 4: Scan the Planet
Optionally, here you can scan the entire planet with masscan or zmap looking for similar hosts that Shodan’s crawler might not have hit yet. This gives you a nice list of IP’s to compare against netflow logs and also to bang into online sandboxes/AV things to see if theres other samples out there calling back, so you can gather more information and link samples/campaigns together.
Optional Step 5: Hack the Planet
I have NOT engaged in this hypothetical step, and cannot legally advocate for it, however others such as Malware.lu in the case of APT-1 (warning: PDF link) have done so. Somehow procure a copy of the C&C software in question, fuzz the shit out of it, find some bugs, and own the spying bastards, preferably uninfecting their victims and burning their infrastructure to the ground. I include this step for completeness only, and to point out that there is some recourse to be had.
Good sources of DDoS numbers IP addresses/C&C hosts to initially target for, er, interrogation are reports from Citizen Lab and AV vendors on the latest and lamest surveillance campaigns. Also, because some espionage campaigns are cheapskates, obtaining copies of widely (ab)used RAT software sold/used by APT’s script kiddies (such as Poison Ivy/BlackShades/DarkComet) and analysing those examples is also a fine way to find new, exciting fingerprints (and vulnerabilities…) to go forth and ruin some attackers days.
Further note: If the malware uses a web based (say, written in PHP) web panel, you might be able to fingerprint on HTTP titles or figure out a google-dork or other way of identifying the panel. Think of web panels as vulnerable webapps and apply the same thinking to locating and finding vulnerabilities in them. Quite often the bit of the web panel (the “gate”) that the implant calls back to fails miserably at sanitizing inputs to databases or file outputs, so there are often some gloriously exploitable bugs there. See the Herpesnet teardown/ownage by malware.lu for some ideas on that :)
Have fun, and be safe.


|
F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/Comp/PassiveComponentBase.hpp>
Public Member Functions | |
| void | setIdBase (const U32) |
| Set the ID base. More... | |
| U32 | getIdBase (void) const |
| virtual | ~PassiveComponentBase () |
| Destructor. More... | |
| void | init (NATIVE_INT_TYPE instance) |
| Initialization function. More... | |
| NATIVE_INT_TYPE | getInstance (void) const |
Public Attributes | |
| PROTECTED | __pad0__: PassiveComponentBase(const char* name) |
| Named constructor. More... | |
| PRIVATE | __pad1__: U32 m_idBase |
| ID base for opcodes etc. More... | |
| NATIVE_INT_TYPE | m_instance |
| instance of component object More... | |
Additional Inherited Members | |
| Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. More... | |
| virtual | ~ObjBase () |
| Destructor. More... | |
| void | init (void) |
| Object initializer. More... | |
Definition at line 10 of file PassiveComponentBase.hpp.
|
virtual |
Destructor.
Definition at line 21 of file PassiveComponentBase.cpp.
| U32 Fw::PassiveComponentBase::getIdBase | ( | void | ) | const |
| NATIVE_INT_TYPE Fw::PassiveComponentBase::getInstance | ( | void | ) | const |
Definition at line 29 of file PassiveComponentBase.cpp.
| void Fw::PassiveComponentBase::init | ( | NATIVE_INT_TYPE | instance | ) |
Initialization function.
Definition at line 24 of file PassiveComponentBase.cpp.
| void Fw::PassiveComponentBase::setIdBase | ( | const U32 | idBase | ) |
Set the ID base.
Definition at line 33 of file PassiveComponentBase.cpp.
| PROTECTED Fw::PassiveComponentBase::__pad0__ |
Named constructor.
Definition at line 20 of file PassiveComponentBase.hpp.
| PRIVATE Fw::PassiveComponentBase::__pad1__ |
ID base for opcodes etc.
Definition at line 28 of file PassiveComponentBase.hpp.
| NATIVE_INT_TYPE Fw::PassiveComponentBase::m_instance |
instance of component object
Definition at line 30 of file PassiveComponentBase.hpp.


Favorite Things Favorite Places
Here are some of my favorite people!
These are my three favorites,in order:
Thanks for reading me!


|
|
| client (handshake_ptr hs, upper_layer_ptr up) |
| |
| error | start (octet_stream::lower_layer *down) override |
| | Initializes the upper layer.
|
| |
| void | abort (const error &reason) override |
| | Called by the lower layer for cleaning up any state in case of an error or when disposed.
|
| |
| ptrdiff_t | consume (byte_span buffer, byte_span delta) override |
| | Consumes bytes from the lower layer.
|
| |
| void | prepare_send () override |
| | Gives the upper layer an opportunity to add additional data to the output buffer.
|
| |
| bool | done_sending () override |
| | Queries whether all pending data has been sent.
|
| |
| virtual error | start (lower_layer *down)=0 |
| | Initializes the upper layer.
|
| |
| virtual ptrdiff_t | consume (byte_span buffer, byte_span delta)=0 |
| | Consumes bytes from the lower layer.
|
| |
| virtual void | prepare_send ()=0 |
| | Gives the upper layer an opportunity to add additional data to the output buffer.
|
| |
| virtual bool | done_sending ()=0 |
| | Queries whether all pending data has been sent.
|
| |
| virtual void | abort (const error &reason)=0 |
| | Called by the lower layer for cleaning up any state in case of an error or when disposed.
|
| |
Implements the client part for the WebSocket Protocol as defined in RFC.
- Initially, the layer performs the WebSocket handshake. Once completed, this layer decodes RFC 6455 frames and forwards binary and text messages to
UpperLayer
.


One member is given one technical word. He tries to convey this word to his team members by enacting it.
ROUND 1:
1. Each team would be given a technical term with one person acting and the other two guessing the right term.
2. The technical term may include following: Any technical jargon, any company/website/software logo, or software name etc.
3. The time limit will be 60 seconds.
ROUND 2:
1. One of the team members will be given a technical term. The other two persons can ask maximum 10 questions to guess the term.
2. The team members cannot ask direct questions.
3. The person given the term can only answer in Yes/No.
4. The time limit will be 60 seconds.
ROUND 3:
1. Each team would be given 10 technical terms to enact.
2. The team successfully identifying maximum terms in 60 seconds will clearly win.
Rules:
1. The team should constitute of 3 members.
2. Terms/words will be related to computer science.
3. Lip movement is not allowed-only hand movement should be there.
4. No lettering, no prompting, no props allowed.
3 members only
8TH March 2017
9:00 to 10.30AM
CR-27
Rs. 120/-
Himansu Panchal (MCA)
7568916911
himanshu.pancha001@gmail.com


Netflix says Staunton ‘The Crown’ casting reports ‘pure speculation’
LONDON, Nov 22 — Netflix has dismissed as “pure speculation” media reports that British actress Imelda Staunton would portray Queen Elizabeth in future seasons of The Crown, saying it was filming the fourth series and had yet to commission future instalments.
Several outlets today quoted a Daily Mail report saying the 63-year-old screen and stage actress had been “approached by senior producers and casting directors” from the hit show to portray the British monarch from her mid-60s.
Oscar winner Olivia Colman made her debut in season three of the show on Sunday, where a new cast picks up the story about the British royal family from the mid-1960s.
Actress Claire Foy won a Golden Globe for portraying the younger version of Elizabeth in the first two series that began with the princess ascending the throne aged 25 in 1952.
“We are currently filming season 4 of The Crown but have not commissioned any further seasons as yet, therefore any news on casting remains pure speculation,” a Netflix spokesperson said in an emailed statement.
Colman will continue playing Elizabeth in the fourth series of the show alongside actress Helena Bonham Carter, who portrays Elizabeth’s younger sister Princess Margaret.
Staunton is a veteran theatre, television and film actress, known for her Oscar-nominated role in Vera Drake, playing Dolores Umbridge in the Harry Potter films and taking to the West End stage for musicals like Gypsy and Guys and Dolls.
The actress will star in the musical Hello, Dolly! next year, producers of the West End show said today. — Reuters


BALLA beer
BALLA
About Us
Product for Men
Explore
Story of Company
Balla's beer has been raised in Nova Scotia since 1820. It's a province where the water informs every aspect of its character from dramatic scenery, to distinctive culture and of course, exceptional beer. The coast itself is where everything comes together: the land, the sea, and the people who have called it all home for generations. Our inspiration since 1820, is derived from these remarkable qualities and the extraordinary people met along the way.CONTACT US
Our Brewery
The brewery was founded in 1820. In 1928, the business was sold to Oland Brewery, which was in turn sold to the Labatt Brewing Company. Following a number of mergers and acquisitions, Labatt's is now part of Anheuser.SEE PRODUCTS
S


--- layout: post status: publish published: true title: The Rain-Out That Saved the Season? author: display_name: Corey Fineran login: Corey email<EMAIL_ADDRESS>url: '' author_login: Corey author_email<EMAIL_ADDRESS>wordpress_id: 2760 wordpress_url: http://ivyenvy.com/?p=2760 date: '2010-06-03 10:12:36 +0000' date_gmt: '2010-06-03 15:12:36 +0000' categories: - Management - The Cubs - Cubs fans tags: - Angels - Astros - Carlos Zambrano - Houston - Pirates - Pittsburgh - Derrek Lee - Xavier Nady - Cliffy Six Nad - Starlin Castro comments: - id: 1356 author: Ryan author_email<EMAIL_ADDRESS>author_url: '' date: '2010-06-04 19:44:13 +0000' date_gmt: '2010-06-05 00:44:13 +0000' content: "Great picture.\r\n\r\nYeah, it is definitely very embarassing to see someone with such a low payroll constantly whooping our ass.\r\n\r\nI hope Derrek Lee doesn't go anywhere but I'm hearing a lot about the Angels going after him\r\n\r\nMeehan" ---
Last night had the makings of a disaster. I’m not sure us Cubs fans could handle another sweep and series loss to the Pirates. After Tuesday’s loss, I’m sure most Cubs fans were sensing that if the Cubs were swept again by the Pirates, everything would implode. The Cubs are currently 1-7 against the Bucs this year. You probably don’t need to be reminded, but consider their payrolls while looking at that record this season. The Cubs 2010 payroll is $146.8 million while the Pirates payroll is $34.9 million, which is the lowest in baseball. Let me give you a visual representation of these numbers.
I don’t know what would have happened if the Cubs lost to the Pirates again last night. It just felt like something big would happen. The last time the Cubs got swept by the Pirates, they called up Starlin Castro. You are hearing a lot more Cubs fans ready for changes in management and the line-ups.
There are whisperings of Derrek Lee being on the Angels’ radar after Kendry Morales’ celebration injury. There is no heir-apparent to first base in the Cubs system right now. Though, after Tuesday’s game, you have the sense that Cliffy Six Nad (Xavier Nady) might be able to fill the gap for a while. I love Derrek Lee and would hate to see him leave Chicago. But if he was going to go somewhere, the corner of Katella and State College (doesn’t have the ring of “Clark & Addison”) would be ok with me.
But now, the sweep can be completed on Monday, when the game is made-up. But I don’t think the reaction will be as monumental as if they would have lost last night. Of course, if the Cubs head to Houston and perform poorly against the Astros, a loss on Monday would be pretty devastating.
We will wait and see. Zambrano’s start is moved to Friday. It’s his first start since April 20th. So here’s what I will do and I suggest you do, too. Friday’s game in Houston starts a new season. Many of the Cubs starters have gotten quite a bit of rest in the last week. Zambrano is back and the rotation is set. The club is relatively healthy. I’m going to attempt to put my negativity aside. Tomorrow is Day #1. I’d encourage you to join me in this. It’s for our own sanity.


This plugin uses the results from the Global Build Stats Plugin to generate some basic build metrics. It is really useful in combination with the sidebar links plugin.
Plugin Information |
|---|
View build-metrics on the plugin site for more information. |
The current version of this plugin may not be safe to use. Please review the following warnings before use:
Requirements
This plugin requires Jenkins 1.509 or better and the Global Build Stats plugin 1.2 or better.
Installation
To install the build metrics plugin, Go to "Manage Jenkins" -> "Plugin Management". Check the latest version and install. You will probably need to restart the Jenkins server after that.
How To Use the Plugin
Manage Jenkins Screen
Go to "Manage Jenkins". You should see an icon of Jenkins with a little data grid in front. Click that and it will take you to the Built Metrics Search screen (see below).
Build Metrics Search Screen
The search screen is where you tell the plugin which jobs you wish to report on and what timeframe should be included in the report.
Configure the following parameters:
- Search Results Label: set this to whatever text you wish to be displayed at the top of the search results screen. Usually this would be some descriptive text for the build job metrics being summarized.
- Select the time window: default is 2 weeks (must be an integer)
- Configure the filters (for more information on this, see the Global Build Stats Plugin configuration since this part of the UI was copied directly from it).
Click Search and the report will be generated and displayed (see Build Metrics Report Screen below)
Build Metrics Report Screen
The build metrics report screen is split into two sections. The top section contains the selected jobs and their associated build metrics. The bottom section contains a list of failed builds; complete with the job name, a link to the console output of the build, and a link to the build itself as well as a section to display the 'cause' for the build (see description of adding build failure cause below).
Adding a Cause for a build failure
I found it useful to have a description in the report for why the build failed. This way I could see trends as they happened over time. To add a cause:
- Click on the build number link in the failed build list (at the bottom of the build metrics report screen). This will take you to the home screen for the indicated build number.
- Click the 'edit description' link (on the right hand side of the page). Enter a description for the cause of the build failure and click the submit button.
- Refresh the build metrics report screen and you will see the cause added to the build failure list.
Intended Use Case
This plugin was created because the team I work on needed to deliver some concise build metrics for our Jenkins builds on a rolling two week iteration. These build metrics needed to have an overall failure rate and an individual one per job, as well as a list of failed builds (with associated causes). This plugin provides that reporting mechanism. To be really useful though, we needed to be able to pull it up quickly and easily every time we wanted to generate the report. I use the sidebar links plugin to accomplish this, by simply copying the url for the build metrics report screen for a given set of search criteria. I then enter this URL as a sidebar link, using the icon that I created for the plugin and the description (1st parameter on the search page) as the txt of the link. This way all of our users can just go to the main Jenkins dashboard and pull up the report as needed.
We currently take the results of the report, copy them into an email and send that to our development teams as a 'report card'. A great next-step for the use of this plugin would be to have a job that ran the report and emailed out the contents on a scheduled basis.
Changelog
Version 1.3 - 2016-08-22
- fixed the "& nbsp ; " problem in output.
Version 1.2 - 2016-08-21
- fix JENKINS-37329 : Bug in StatsMath.java DecimalFormat
- fix JENKINS-16270 : Build metrics icon filename incorrect
- JENKINS-20945 : New filter for causes
- Updated to newer parent pom
- DO NOT USE THIS RELEASE USE 1.3 INSTEAD. The output in this release is broken.
Version 1.1 - 2016-03-08
- fix JENKINS-32651 : Incorrectly calculated reporting period can lead to an empty report
Version 1.0 - 2012-02-17
- Initial release
Attachments:
build-metrics-search.png (image/png)
build-metrics-search.png (image/png)
build-metrics-results.png (image/png)
дж1.png (image/png)
дж2.png (image/png)
дж3.png (image/png)


Revolut and Mastercard Join to Help Repair Schools in Mozambique
by JD AloisLeading digital bank Revolut is partnering with Mastercard to help repair four schools destroyed by Cyclone Idai in Mozambique. The charitable project is also in support of Universal Children’s Day.
According to Revolut, customers are able to round up their spare change and donate the difference, set up a recurring payment, or give a one-off amount via the Revolut Donations feature. Revolut and Mastercard said they will match every £1 donated by Revolut Mastercard users up to a total of £80,000, with an aim to fundraise £160,000 in total for the cause.
Importantly, Revolut said that one hundred percent of the amount donated by customers goes to charity, with Revolut and Mastercard charging no fees and taking no cut from donations.
Marsel Nikaj, Product Owner for Vaults & Donations at Revolut commented:
“We launched our Donations feature in July to make charitable donations simple, flexible and transparent. We hope that our partnership with Save the Children and Mastercard will help children affected by Cyclone Idai get the important education they deserve.”
Edoardo Volta, Head of Fintech Partnerships at Mastercard said they are delighted to be partnering with Revolut:
“Education is the passport to a better future and by raising these funds we hope to be able to offer that to the children affected by Cyclone Idai.”


{% extends 'base.html' %} {% block title %}Register{% endblock %} {% block content %} Register Username Password Have an account? LogIn Here. Submit {% endblock %}
Have an account? LogIn Here.


| Date: | January 26, 2019 6:09:55 PM MST |
| Host: | Yiyangs-MacBook-Pro.local |
| Command: |
Go0.py |
name
= Go0
version
= 1.0
cputime
? Unknown command
boardsize 7
=
clear_board
=
play B E1
=
0 play W E1
#? [illegal move: "e1" occupied]
= illegal move: "e1" occupied
clear_board
=
1 play Q A1
#? [illegal move: "q" wrong color]
= illegal move: "q" wrong color
2 play B A8
#? [illegal move: "a8" wrong coordinate]
= illegal move: "a8" wrong coordinate
clear_board
=
play B A1
=
play W B3
=
play B A2
=
play W B4
=
play B A3
=
play W B5
=
play B A4
=
play W B1
=
play B A7
=
play W E1
=
play B A6
=
play W E2
=
play B A5
=
3 gogui-rules_final_result
#? [black]
= black
4 genmove w
#? [resign]
= resign
clear_board
=
play B A1
=
play W C5
=
play B B1
=
play W F2
=
play B C1
=
play W A3
=
play B D1
=
play W A2
=
play B E1
=
5 gogui-rules_final_result
#? [black]
= black
clear_board
=
play B E3
=
play W G1
=
play B D4
=
play W G2
=
play B C5
=
play W G5
=
play B B6
=
play W G7
=
play B A7
=
6 gogui-rules_final_result
#? [black]
= black
clear_board
=
play B B2
=
play W A1
=
play B C3
=
play W A3
=
play B D4
=
play W A5
=
play B E5
=
play W A4
=
play B F6
=
7 gogui-rules_final_result
#? [black]
= black
clear_board
=
play B A1
=
play W E3
=
play B E1
=
play W E2
=
play B B3
=
play W E5
=
play B D5
=
play W E4
=
play B E7
=
play W E6
=
8 gogui-rules_final_result
#? [white]
= white
clear_board
=
play B C6
=
play W C4
=
play B D6
=
play W D4
=
play B E6
=
play W E4
=
play B A4
=
play W G4
=
play B B4
=
play W F4
=
9 gogui-rules_final_result
#? [white]
= white
clear_board
=
play B A2
=
play W E1
=
play B C2
=
play W D2
=
play B G2
=
play W C3
=
play B F3
=
play W B4
=
play B F4
=
play W A5
=
10 gogui-rules_final_result
#? [white]
= white
clear_board
=
play B A1
=
play W A3
=
play B A2
=
play W B4
=
play B A4
=
11 gogui-rules_final_result
#? [unknown]
= unknown
play W C5
=
play B E2
=
play W D6
=
play B E3
=
play W E7
=
12 gogui-rules_final_result
#? [white]
= white
clear_board
=
play B E1
=
play W B1
=
play B F2
=
play W A2
=
play B A1
=
play W C4
=
play B E3
=
play W D5
=
play B D2
=
play W C6
=
play B C5
=
play W B5
=
play B G1
=
play W E2
=
play B G2
=
play W G5
=
play B D6
=
play W G6
=
play B G4
=
play W E4
=
play B F3
=
play W F5
=
play B F4
=
play W F6
=
play B F1
=
play W F7
=
play B G3
=
play W G7
=
play B C1
=
play W D1
=
play B E5
=
play W E6
=
play B D7
=
play W E7
=
play B A7
=
play W C7
=
play B B7
=
play W C2
=
play B B2
=
play W A4
=
play B D3
=
play W D4
=
play B B4
=
play W A6
=
play B B3
=
play W B6
=
13 gogui-rules_legal_moves
#? [a3 a5 c3]
= a3 a5 c3
play B A5
=
play W C3
=
14 gogui-rules_legal_moves
#? [a3]
= a3
15 genmove b
#? [a3]
= a3
16 gogui-rules_legal_moves
#? []
=
17 gogui-rules_final_result
#? [draw]
= draw
18 genmove w
#? [pass]
= pass
19 genmove b
#? [pass]
= pass
cputime
? Unknown command
quit
=
Generated on 1/26/19 6:09 PM by gogui-regress 1.5.0 (http://gogui.sf.net)


Arduino X2PAV
Scenario Editor
Version 0.0.2 (October 9, 2019)
❔
The confirmation was done only with Chrome.
License:
MIT
Acknowledgements
Sortable
(License:
MIT
)
Pickr
(License:
MIT
)
Bitmaps
Palettes
➕ Add new palette
Scenario
Background color
█
➕ Add new scene
Preview
📥 Export to header file.
Base name:
How to design your scenario
Drag and drop image files into the yellow area.
Width and height of each image must be 16 pixels or less.
Colors containing in the image are appended to the focusing palette.
An image is removed by click with pressing shift-key.
Manage the palettes if necessary.
A color can be changed by click. The order can be changed by drag and drop. A color is removed by click with pressing shift-key.
You can change focusing palette by click at a blue-circled-mark, and you can change the order by drag and drop a blue-circled-mark.
Set parameters for each scene.
Choose a bitmap by click one of them in the yellow area, and choose a palette by focusing one.
Set display duration. The unit of number is 1/60 second.
You can change focusing scene by click at a blue-circled-mark, and you can change the order by drag and drop a blue-circled-mark.
Finally, click "Export to header file" and you will obtain a header file.
The file name and variables name are decided according to "Base name".
Close
🔵
🎨
📄
❌
🔵
⏱
♻
↕
↔
⤵ X:
Y:
📄
❌


SSH concepts
SSH Guide: Index
Before you can establish an SSH connection, you have to find the right software, i.e. a client that places a terminal on your desktop, if you are using Windows or Mac OS 9 (Mac OS X has SSH built in). Fortunately, there are several excellent clients (both free and not) that offer Windows and Mac OS users desktop terminals. The section below discusses them in detail. Of course, if you are using Linux (or some other Unix variant), then you can skip that section and go right to the section, Tunneling Using Cygwin that describes the key elements in establishing an SSH tunnel in a Unix-like environment.
Once you have obtained a client terminal, the process of establishing a tunnel to the server housing the CVS repository is fairly simple. The crucial element is making sure you connect to the right server and that you use the right port numbers in establishing your tunnel. Fortunately, that number has been standardized: 2401.


The Original Kings of Comedy (2000) 3 stars out of 4. Starring Steve Harvey, D.L. Hughley, Cedric the Entertainer and Bernie Mac. Directed by Spike Lee. Rated R.
"The Original Kings of Comedy "is a raw, funny concert film spotlighting four of the funniest black comedians on the circuit today - Steve Harvey, D.L. Hughley, Cedric the Entertainer and Bernie Mac.
This is an interesting experience, not so much for the four gentlemen named above, who all are very fine comedians. No, it is more for the cultural significance of this venture.
It is interesting to compare this concert film with Richard Pryor's groundbreaking 1979 `Live in Concert' movie.
My, how times have changed. The language is still as biting as it was 20-plus years ago. In fact, Bernie Mac delivers an entire riff on the word `motherf ...,' explaining why black people like to use it so much.
But the anger of Pryor's time concerning the gap between blacks and whites has subsided, replaced by a bemused indulgence as if the Caucasian race was a beat behind and not quick enough to get the joke.
That is not to say that this quartet of well-dressed funnymen don't do a number on the foibles of blacks.
Harvey, for instance, begins by spoofing the hit film "Titanic," ridiculing the concept of the band staying on board and playing until the ship sinks. Black musicians, he says, would have dropped their instruments, grabbed the nearest piece of furniture for ballast and dove in.
Harvey then berates rap music, explaining his love for the `old school' - as he calls the sounds of the soul groups of the ‘60s and ‘70s. He doesn't like going to rap concerts because it's too much work, he explains. The singers always are barking out orders: clap yo' hands, get on your feet, feel the groove.

This is the tenor of the routines by the talented foursome.
Watching the comedians interact with the audience brings to mind a church service. The fervor and love in which the Charlotte, N.C., crowd embraces these men is akin to a clergyman-congregation relationship.
Director Spike Lee intercuts several audience reaction shots, and as you watch, you feel as if he is more interested in the byplay between performer and customer than in the actual comedic routines.
And he probably is. After all, Harvey, Hughley, Cedric and Bernie Mac are not doing anything differently than they've done on various comedy specials on HBO, Showtime or some other cable network.
It's not the comedy that is the main focus, but the cultural phenomenon. The audience inspires the comedians, urging them on, applauding, shouting encouragement and agreement, recognizing and laughing at themselves in the various descriptions of black life spotlighted by the standups.

Unfortunately, "The Original Kings of Comedy" will probably have a limited appeal. I saw it with a mostly black preview audience, who howled, stomped and clapped, enjoying themselves immensely.
I would urge others to take a chance. You may surprise yourself and laugh along with the rest of us.
Bob Bloom is the film critic at the Journal and Courier. in Lafayette, IN He can be reached by e-mail at<EMAIL_ADDRESS>or at<EMAIL_ADDRESS>Reviews by Bloom can be found on the Internet Movie Database at: http://www.imdb.com/M/reviews_by?Bob+Bloom
Bring It On (2000) 1 1/2 stars out of 4.. Starring Kirsten Dunst, Eliza Dushku, Jesse Bradford and Gabrielle Union. Written by Jessica Bendinger. Directed by Peyton Reed. Rated PG-13.
Probably the one saving grace of "Bring It On" is its sincerity.
After all, this is a story about cheerleaders - usually a target of cinematic ridicule - and their struggles to make it to the national championships in Orlando, Fla.
Admittedly, the plot isn't "War and Peace." This is just a silly, formulaic movie with stock characters who are pretty to ogle.
The photography is well lit, the film's score is bouncy and the cast plays it straight. It avoids the pitfalls of tackiness and sexism.
The story centers around the Rancho Carne High School cheerleading squad in San Diego. The squad has won the national championship five consecutive years. Now, under the leadership of newly appointed captain Torrance Shipman (Kirsten Dunst), the Toros squad will shoot for title No. 6.
But Torrence makes a disturbing discovery. The squad's routines had been stolen from the Clovers, a hip-hop squad from East Compton, by the Toros' former captain.
Thus Torrance must create enough confidence in herself and her squad's abilities to devise all new routines to carry them to the championship.
Meanwhile Isis (Gabrielle Union), the driven captain of the Clovers, must concoct a way for her squad to raise money to attend the nationals so they can gain the recognition they so richly deserve.
"Bring It On" does have a certain innocent charm to it, despite its PG-13 rating. The sexual innuendo is limited to the cheerleading routines.
The movie's main flaw is that most of the characters, especially the Toros girls, are types.
But this is not the fault of the performers, but of writer Jessica Bendinger.
Dunst, who made a startling film debut in "Interview With the Vampire," and since then has gone on to do fine work in such films as "Little Women," "Drop Dead Gorgeous" and the made-for-cable drama "Devil's Arithmetic," is smart, honest and inventive as Torrance.
the school has no gymnastics program. Dushku, best known for her role as Faith in WB's "Buffy the Vampire Slayer," plays Torrance's new best friend who opens her eyes to the Toros' former captain's perfidy.
Acting honors, though, go to Union as the tough, self-sufficient Isis who fights to bring her squad to the nationals.
"Bring It On" is very lightweight fare. Honestly, who takes cheerleading - or cheerleaders - seriously. The good folks at Universal, though, in trying to emphasize the importance of cheerleading enclosed a fact sheet in the press kit that includes a list of famous people who were cheerleaders. Among the names, Madonna, Kathie Lee Gifford, Donna Rice, Alicia Silverstone, Meryl Streep, Paula Adbul, Halle Berry and Sheryl Crow.
Come on, studio folks. It's only a movie - loud, colorful, but feathery, with limited appeal for those who believe cheerleading is the alpha and omega of their existence.
Bob Bloom is the film critic at the Journal and Courier. in Lafayette, IN He can be reached by e-mail at<EMAIL_ADDRESS>or at<EMAIL_ADDRESS>Reviews by Bloom can be found on the Internet Movie Database at: http://www.imdb.com/M/reviews_by?Bob+Bloom
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


host.coffee |
|
|
GOAL: A simple to setup and run, multi-tenant Git Server written in NodeJS. This was initially created to be used as a multi-tenant git server with powerful event triggers. |
|
|
Require the modules needed: |
pushover = require 'pushover'
http = require 'http'
https = require 'https'
async = require 'async'
fs = require 'fs'
class GitServer
|
|
Constructor function for each instance of GitServer Params
repos
Array
List of repositories
repoLocation
String
Location where the repo's are/will be stored
port
Int
Port on which to run this server.
certs
Object
Object of 'key' and 'cert' with the location of the certs (only used for HTTPS)
|
constructor: ( @repos = [], @logging = false, @repoLocation = '/tmp/repos', @port = 7000, @certs )->
|
|
Create the pushover git object: |
@git = pushover @repoLocation, autoCreate:false
@permMap = fetch:'R', push:'W'
|
|
Setup the repo listeners: |
@gitListeners()
|
|
Go through all the @repo's and create them if they dont exist: |
@makeReposIfNull =>
|
|
Route requests to pushover: |
if @certs?
@server = https.createServer @certs, @git.handle.bind(@git)
else
red = `'\033[31m'`
reset = `'\033[0m'`
message = """
WARNING: No SSL certs passed in. Running as HTTP and not HTTPS.
Be careful, without HTTPS your user/pass will not be encrypted"""
console.log red + message + reset
@server = http.createServer @git.handle.bind(@git)
|
|
Open up the desired port ( 80 requires sudo ) |
@server.listen @port, =>
|
|
Just let the console know we have started. |
@log 'Server listening on ', @port, '\r'
|
|
Create a repo on the fly Params
repoName
Object
Name of the repo we are creating.
|
createRepo: ( repo, callback )=>
if !repo.name? or !repo.anonRead?
@log 'Not enough details, need atleast .name and .anonRead'
false
|
|
make sure it doesnt already exist: |
if !@getRepo repo.name
@log 'Creating repo', repo.name
@repos.push repo
@git.create repo.name, callback
else
@log 'This repo already exists'
|
|
Log all arguments passed into this function IF @logging = true |
log: ()=>
args = for key,value of arguments
"#{value}"
if @logging then console.log "LOG: ", args.join(' ')
|
|
Process the request and check for basic authentication. Params
gitObject
Object
Git object from the pushover module
method
String
Method we are getting security for ['fetch','push']
repo
Object
Repo object that we are doing this method on
|
processSecurity: ( gitObject, method, repo )=>
|
|
Try to get the auth header |
req = gitObject.request
res = gitObject.response
auth = req.headers['authorization']
if auth is undefined
|
|
if they didnt send a auth header, tell them we need one: |
res.statusCode = 401
res.setHeader 'WWW-Authenticate', 'Basic realm="Secure Area"'
res.end 'Need some creds son'
|
|
now they should have responded with the auth headers: |
else
|
|
Decode the auth string |
plain_auth = ( new Buffer( auth.split(' ')[1], 'base64' ) ).toString()
|
|
split the string to get username:password |
creds = plain_auth.split ':'
|
|
Send off this user info and authorize it: |
@permissableMethod creds[0], creds[1], method, repo, gitObject
|
|
Check to see if: return Username and password match return This user has permission to do this method on this repo Params
username
String
Username of the requesting user
password
String
Password of the requesting user
method
String
Method we are checking against ['fetch','push']
gitObject
Object
Git object from pushover module
|
permissableMethod: ( username, password, method, repo, gitObject )=>
|
|
Just let the console know someone is trying to do something that requires a password: |
@log username,'is trying to', method,'on repo:',repo.name,'...'
|
|
Find the user object: |
user = @getUser username, password, repo
|
|
check if the user exists: |
if user is false
|
|
This user isnt in this repo's .users array: |
@log username,'was rejected as this user doesnt exist, or password is wrong'
gitObject.reject(500,'Wrong username or password')
else
if @permMap[ method ] in user.permissions
@log username,'Successfully did a', method,'on',repo.name
@checkTriggers method, repo
gitObject.accept()
else
@log username,'was rejected, no permission to',method,'on',repo.name
gitObject.reject(500,"You dont have these permissions")
|
|
Setup the listeners for git events: |
gitListeners: ()=>
|
|
On each git push request |
@git.on 'push', @onPush
|
|
On each git fetch request |
@git.on 'fetch', @onFetch
|
|
On each git info request |
@git.on 'info', @onFetch
|
|
Checks all the passed in repo's to make sure they all have a real .git directory. |
makeReposIfNull: ( callback )=>
@log 'Making repos if they dont exist';
|
|
Get all the repo names in an Array |
repoNames = []
for repo in @repos
|
|
Make sure this repo has the require fields, if so, add to array: |
if repo.name? and repo.anonRead? and repo.users?
repoNames.push("#{repo.name}.git")
|
|
This repo was missing some field we require |
else
console.log 'Bad Repo', repo.name, 'is missing an attribute..'
|
|
Call .exists on each repo name |
async.reject repoNames, @git.exists.bind(@git), ( results )=>
|
|
If we have repo's that need to be created: |
if results.length > 0
|
|
Create each repo that doesn not exist: |
console.log('Creating repo directory: ', repo ) for repo in results
|
|
call .create on each repo: |
async.map results, @git.create.bind(@git), callback
else callback() # Otherwise, open up the server.
|
|
When the git fetch command is triggered, this is fired. Params
fetch
Object
Git object from pushover module.
|
onFetch: ( fetch )=>
@log 'Got a FETCH call for', fetch.repo
repo = @getRepo fetch.repo
if repo isnt false # if this repo actually exists:
|
|
This repo allows anyone to fetch it, so accept the request: |
if repo.anonRead is true
@checkTriggers 'fetch', repo
fetch.accept()
|
|
this repo has no anon access, so we need to check the user/pass |
else
@processSecurity fetch, 'fetch', repo
else # otherwise we need to reject this
@log 'Rejected - Repo',fetch.repo,'doesnt exist'
fetch.reject(500,'This repo doesnt exist')
|
|
When the git push command is triggered, this is fired. Params
push
Object
Git object from pushover module.
|
onPush: ( push )=>
@log 'Got a PUSH call for', push.repo
repo = @getRepo push.repo
if repo isnt false # if this repo actually exists:
@processSecurity push, 'push', repo
else
@log 'Rejected - Repo',push.repo,'doesnt exist'
push.reject(500,'This repo doesnt exist')
|
|
Check if this repo has onSuccessful triggers Params
method
String
fetch|push
repo
Object
Repo object we are checking
|
checkTriggers: ( method, repo )=>
|
|
If .onSuccessful exists: |
if repo.onSuccessful?
|
|
If this method exists in it: |
if repo.onSuccessful[method]?
|
|
log it, and call it |
@log 'On successful triggered: ', method, 'on',repo.name
repo.onSuccessful[method]?( repo, method )
|
|
Get the user object, check user/pass is correct and it exists in this repo. Params
username
String
Username to find
password
String
Password of the Username
repo
Object
Repo object this user should be in.
|
getUser: ( username, password, repo )=>
for userObject in repo.users
|
|
If we found this user, return it |
return userObject if userObject.user.username is username and userObject.user.password is password
false # Otherwise, return a false
|
|
Get the repo from the array of repos Params
repoName
String
Name of the repo we are trying to find
|
getRepo: ( repoName )=>
for repo in @repos
|
|
If the repo exists, return it. |
return repo if repo.name+'.git' is repoName
false # Otherwise, return a false
|
|
Export this as a module: |
module.exports = GitServer
|


An encapsulation of an OpenGL GPU-backed memory multi-buffer.
More...
#include <glMultiBuffer.hpp>
|
| static void | WaitForFence (GLsync &fence) noexcept |
| | Wait for the fence at the supplied index to pass. More...
|
| |
template<int BufferCount = 3>
class mini::glMultiBuffer< BufferCount >
An encapsulation of an OpenGL GPU-backed memory multi-buffer.
◆ bindBuffer()
template<int BufferCount = 3>
Bind this buffer to the target specified.
- Parameters
-
| target | the target type of this buffer. |
◆ bindBufferBase()
template<int BufferCount = 3>
| void mini::glMultiBuffer< BufferCount >::bindBufferBase |
( |
const GLenum |
target, |
|
|
const GLuint |
index |
|
) |
| const |
|
inlinenoexcept |
Bind this buffer to a particular shader binding point.
- Parameters
-
| target | the target type of this buffer. |
| index | the binding point index to use. |
◆ WaitForFence()
template<int BufferCount = 3>
Wait for the fence at the supplied index to pass.
- Parameters
-
| fence | the fence belonging to a particular internal buffer. |
◆ m_writeFence
template<int BufferCount = 3>
Protected Attributes.
Fence for writing data.
The documentation for this class was generated from the following file:


Home
Blog
(current)
Credits
Project Title
Author
Blog Link/Page
Pneumonia Detection From X-Ray Images
Amit Kumar
Link
Please visit
Credits
for license and copyright information.


Skill sharing
Your name:
Submit a talk
Title:
Summary:
Send
{{title}}
by
{{presenter}}
{{summary}}
Add comment
Delete talk
{{author}}
: {{message}}


A GrahpQL implementation of JSONPlaceholder
Try it out on GraphQL Playground
Made by Mark Njung'e
Source code available on Github


The website showcases the Rohingya Refugees settlement data in an interactive map. This website allows us visually inspect the camp location on the map with additional information like the name of the settlement, population and which Upazila and Union the camp belong to. All this data is publicly available and collected from The Humanitarian Data Exchange website.
The app contains three types of data with individual API endpoint


Return the debug info about this component.
Disable the component. Normally this means that the component will not execute handlers for the framework events (query events, for example). Component are enabled by default on creation.
Enable the component. Normally this means that the component will execute handlers for the framework events (query events, for example). Components are enabled by default on creation.
Return the bindings, or environment, for the current component.
Opens the result in the same window, no matter how the actual component is configured for the end user.
Specifies whether the method should log an analytics event.
Opens the link in the same manner the end user would.
This essentially simulates a click on the result link.
Specifies whether the method should log an analytics event.
Opens the result in a new window, no matter how the actual component is configured for the end user.
Specifies whether the method should log an analytics event.
Tries to open the result in Microsoft Outlook if the result has an outlookformacuri
or outlookuri
field.
Normally, this implies the result should be a link to an email.
If the needed fields are not present, this method does nothing.
Specifies whether the method should log an analytics event.
Get the bound component to the given HTMLElement. Throws an assert if the HTMLElement has no component bound, unless using the noThrow argument.
If there is multiple component bound to the current HTMLElement, you must specify the component class.
HTMLElement for which to get the bound component.
Optional component class. If the HTMLElement has multiple components bound, you must specify which one you are targeting.
Boolean option to tell the method to not throw on error.
Allows the component to bind events and execute them only when it is enabled.
Contains the state of options for different components. Mainly used by ResultLink.
Contains the state of different components (enabled vs disabled). Allows to get/set values. Triggers component state event when modified. Each component can listen to those events.
A disabled component will not participate in the query, or listen to ComponentEvents.
Allows component to log in the dev console.
Contains the singleton that allows to trigger queries.
Contains the state of the query. Allows to get/set values. Trigger query state event when modified. Each component can listen to those events.
A reference to the root HTMLElement (the SearchInterface).
A reference to the root of every component, the SearchInterface.
The static ID that each component need to be identified.
For example, SearchButton -> static ID : SearchButton -> className : CoveoSearchButton
A reference to the Analytics.client.
Specifies whether the component should open its link in a new window instead of opening it in the current context.
If this option is true
, clicking the ResultLink
calls the
openLinkInNewWindow
method instead of the
openLink
method.
Note:
If a search page contains a
ResultPreferences
component whoseenableOpenInNewWindow
option istrue
, and the end user checks the Always open results in new window box,ResultLink
components in this page will always open their links in a new window when the end user clicks them, no matter what the value of theiralwaysOpenInNewWindow
option is.
Default value is false
.
data-always-open-in-new-window='true' data-always-open-in-new-window='false'
Specifies the field to use to output the component href
attribute value.
Tip:
Instead of specifying a value for the
field
option, you can directly add anhref
attribute to theResultLink
HTML element. Then, you can use a custom script to generate thehref
value.
Examples:
ResultLink
outputs its href
value using the @uri
field (rather than the
default field):
getMyKBUri()
function provides the href
value:
See also hrefTemplate
, which can override this option.
By default, the component uses the @clickUri
field of the item to output the value of its href
attribute.
data-field='@foo'
Specifies a template literal from which to generate the ResultLink
href
attribute value (see
Template literals).
This option overrides the field
option value.
The template literal can reference any number of fields from the parent result. It can also reference global scope properties.
Examples:
href
value such as http://uri.com?id=itemTitle
:
href
value such as localhost/fooBar
:
Default value is undefined
.
data-href-template='foo'
Specifies an event handler function to execute when the user clicks the ResultLink
component.
The handler function takes a JavaScript Event
object and
an IQueryResult
as its parameters.
Overriding the default behavior of the onClick
event can allow you to execute specific code instead.
Note:
You cannot set this option directly in the component markup as an HTML attribute. You must either set it in the
init
call of your search interface (see Passing Component Options in the init Call), or before theinit
call, using theoptions
top-level function (see Passing Component Options Before the init Call).
Example:
// You can set the option in the 'init' call:
Coveo.init(document.querySelector("#search"), {
ResultLink : {
onClick : function(e, result) {
e.preventDefault();
// Custom code to execute with the item URI and title.
openUriInASpecialTab(result.clickUri, result.title);
}
}
});
// Or before the 'init' call, using the 'options' top-level function:
// Coveo.options(document.querySelector('#search'), {
// ResultLink : {
// onClick : function(e, result) {
// e.preventDefault();
// // Custom code to execute with the item URI and title.
// openUriInASpecialTab(result.clickUri, result.title);
// }
// }
// });
Specifies whether the component should try to open its link in Microsoft Outlook.
Setting this option to true
is normally useful for ResultLink
instances related to Microsoft Exchange emails.
If this option is true
, clicking the ResultLink
calls the
openLinkInOutlook
method instead of the
openLink
method.
Default value is false
.
data-open-in-outlook='true' data-open-in-outlook='false'
Specifies whether the component should open its link in the Quickview
component rather than
loading through the original URL.
Default value is false
.
data-open-quickview='true' data-open-quickview='false'
Specifies a template literal from which to generate the ResultLink
display title (see
Template literals).
This option overrides the default ResultLink
display title behavior.
The template literal can reference any number of fields from the parent result. However, if the template literal
references a key whose value is undefined in the parent result fields, the ResultLink
title displays the
name of this key instead.
This option is ignored if the ResultLink
innerHTML contains any value.
Examples:
ResultLink
display title such as Case number: 123456
if both the
raw.objecttype
and raw.objectnumber
keys are defined in the parent result fields:
${myField}
as a ResultLink
display title if the myField
key is undefined
in the parent result fields:
Foobar
as a ResultLink
display title, because the ResultLink
innterHTML is
not empty:Foobar
Default value is undefined
.
data-title-template='foo'
Creates a new ResultLink
component.
The HTMLElement on which to instantiate the component.
The options for the ResultLink
component.
The bindings that the component requires to function normally. If not set, these will be automatically resolved (with a slower execution time).
The result to associate the component with.
The
ResultLink
component automatically transform a search result title into a clickable link pointing to the original item.This component is a result template component (see Result Templates).


Hello,nice to see you here! I have completed BE in Information Technology from Datta Meghe college of Engineering(Mumbai University), and currently I am working for Cisco Systems as a Senior software developer.
Experience: 8 Years 4 months.
Domain: Finance,Banking,Telecom
The Policy Control function is related to the 3GPP 5G Architecture. This function supports the unified policy framework that governs network behaviour. In so doing, it provides policy rules to control plane function(s) to enforce them.
Currently working in a development and maintainence of PCF application. Worked extensively on java based development with docker, helm & kubernentes for managing deployment process on local and other testing environments.
Also working with US team for maintainence activities and debugging issues of application deployed in production.
DOME is a event driven, batch processing payment engine to process domestic payments of BNP Paribas in European countries for a replacement of existing legacy payment system.
Researched, designed and developed batch processes for this payment system from scratch using components like Apache camel, ActiveMQ, CXF & Quartz. Played a crucial role in designing and implementing Accounting module which is a core of payment engine. Designed & developed DOME GUI as an interface to manually intervene the payment processing operations using Spring,CXF service. Apart from development, streamlined the process of application versioning and release management.Gained functional knowledge of payment processing and overall system architecture design process.
Existing login module of trading system has been migrated from C/C++ to Java to perform broker logins,order validations and routing. Worked extensively on changed requests and involved in production support activities of Currency and Equity derivatives trading system. Worked with client like NSE and gained business knowledge of trading. Developed a web portal to automate trading system related tasks,operations and report generation process.
Angular 4
Hibernate,MongoDB
JAVA 8,Spring
Docker,Kubernetes,Jenkins,Helm
Apart from being a developer, I enjoy most of my time playing outdoor games like cricket and football.I love to explore new places,new cultures and environments.


| MATLAB 文件帮助: cv.convertMaps | 查看 cv.convertMaps 的代码 | Index |
convertMaps Converts image transformation maps from one representation to another
[dstmap1, dstmap2] = cv.convertMaps(map1, map2)
[dstmap1, dstmap2] = cv.convertMaps(map1)
[...] = cv.convertMaps(..., 'OptionName',optionValue, ...)
int16
(MxNx2), single
(MxN), or
single
(MxNx2).uint16
(MxN) or single
(MxN), or none (empty map if map1
is
(x,y) points), respectively.DstMap1Type
and the same row/col size as src
. See details below.map1
is in fixed-point representation, the output type is
'single2' (for combined floating-point representation), otherwise if
map1
is in floating-point representation, the output type is `int16'
(for fixed-point representation). Accepted types are:int16
arraysingle
matrixsingle
matrixThe function converts a pair of maps for cv.remap from one representation to
another. The following options (map1, map2) -> (dstmap1, dstmap2)
are
supported (in terms of class and number of channels of maps):
(single 1-cn, single 1-cn) -> (int16 2-cn, uint16 1-cn)
: This is the
most frequently used conversion operation, in which the original
floating-point maps (see cv.remap) are converted to a more compact and
much faster fixed-point representation. The first output array contains
the rounded coordinates and the second array (created only when
NNInterpolation=false
) contains indices in the interpolation tables.
(single 2-cn, []) -> (int16 2-cn, uint16 1-cn)
: The same as above but
the original maps are stored in one 2-channel matrix.
(int16 2-cn, uint16 1-cn) -> (single 1-cn, single 1-cn)
or
(int16 2-cn, uint16 1-cn) -> (single 2-cn, [])
: Reverse conversion.
Obviously, the reconstructed floating-point maps will not be exactly the
same as the originals.


Heading of the content
An example content here for demonstration. This is some dummy text. Some dummy text inside a dummy paragraph pretending to be a real content.
Really? Are there real content here? What do you think? Here are just some dummy text.
Demo of 2 columns inside parent column.
An example content here for demonstration. This is some dummy text. Some dummy text inside a dummy paragraph pretending to be a real content.
Really? Are there real content here? What do you think? Here are just some dummy text.
An example content here for demonstration. This is some dummy text. Some dummy text inside a dummy paragraph pretending to be a real content.
Really? Are there real content here? What do you think? Here are just some dummy text.


Before Change
import time
import datetime
for i in range(100):
print(datetime.datetime.now())
status = submission_status(submission_id, public_id, secret_key)
print(status)
if status.values().count(None) == 0:
break
time.sleep(1)
return submission_id
def submission_status(submission_id, public_id, secret_key):
After Change
This function assume that the scope of your token is both
upload_submission and read_submission_info.
t0 = time.time()
api = Numerai(public_id, secret_key)
if not api.has_token():
raise ValueError("Must supply public_id, secret_key")
filename = os.path.basename(full_filename)
auth_query = \
"""
query($filename: String!) {
submission_upload_auth(filename: $filename) {
filename
url
}
}
"""
submission_resp = api.call(auth_query, {"filename": filename})
submission_auth = submission_resp["data"]["submission_upload_auth"]
file_object = open(full_filename, "rb").read()
requests.put(submission_auth["url"], data=file_object)
create_query = \
"""
mutation($filename: String!) {
create_submission(filename: $filename) {
id
}
}
"""
create = api.call(create_query, {"filename": submission_auth["filename"]})
submission_id = create["data"]["create_submission"]["id"]
// diplay status until complete
seen = []
print(" minutes")
fmt = "{:>10.6f} {:<.4f} {:<}"
while True:
status = submission_status(submission_id, public_id, secret_key)
for key, value in status.items():
if value is not None and key not in seen:
seen.append(key)
t = time.time()
minutes = (t - t0) / 60
print(fmt.format(value, minutes, key))
if len(status) == len(seen):
break
time.sleep(1)


Functions related to VM nodes.
Some of the functions in this module are inlined by the compiler,
similar to functions in the Kernel
module and they are explicitly
marked in their docs as "inlined by the compiler". For more information
about inlined functions, check out the Kernel
module.
| Function | Description |
|---|---|
| alive?() | Returns true if the local node is alive |
| connect(node) | Establishes a connection to node |
Specs:
alive? :: boolean
Returns true if the local node is alive.
That is, if the node can be part of a distributed system.
Specs:
alive? :: boolean
Returns true if the local node is alive.
That is, if the node can be part of a distributed system.
Specs:
alive? :: boolean
Returns true if the local node is alive.
That is, if the node can be part of a distributed system.
Specs:
alive? :: boolean
Returns true if the local node is alive.
That is, if the node can be part of a distributed system.


COVID-19 STATISTICS
Confirmed Cases-
158338637
Active
1583338637
338637
new
Recovered
1583338637
338637
new
Vaccinated
1583338637
338637
new
Deaths
1583338637
338637
new


Blue
Green
Yellow
Pink
Red
Brown
HEY YOOoooO!
BACK IN A DAY !
:D
ELLO
PLEASE
Give Me
ONEHUNDERED
Other...


Chamba : A Pristine Hamlet
By Anjali PanwarIn the state Uttarakhand lies all three Himalayan ranges and lower plain areas at the foothills of shivalik. Uttarakhand formerly known as Uttaranchal was formed on 9th November 2000 which became 27th state of the republic of India. It was carved out from Uttar Pradesh. It is bordered by China in the north, Nepal from east, UP from south and himachal Pradesh from north. The state is divided into 2 divisions , Garhwal region and Kumaon region which have distinct culture, language, food and dressing. These both divisions comprise of 13 districts . Dehradun is the winter capital of the state and on 4 march 2020, Gairsain, a town in Chamoli district was declared as the summer capital of the state. List of districts in the state are- Almora, Bageshwar, Chamoli, Champawat, Dehradun, Haridwar, Nainital, Pauri Garhwal, Pithoragarh, Rudraprayag, Tehri garhwal, Udham singh Nagar and Uttarkashi. The study area lies in the district of Tehri Garhwal. District Tehri Garhwal is one of the largest districts in the hill state of Uttarakhand, India. Its administrative headquarters is at New Tehri. It is surrounded by Rudraprayag District in the east, Dehradun District in the west, Uttarkashi District in the north, and Pauri Garhwal District in the south.
Bhagirathi which runs through appears to divide the tehri district into two, while the Bhilangna, Alaknanda, Ganga and Yamuna rivers border it on the east and west. Tehri's neighbouring districts are Uttarkashi, Chamoli, Pauri, Rudraprayag and Dehradun. Tehri was a former princely state of British India, named after its capital; area 3642 sq. km. It contains the sources of both the Ganges and the Yamuna, which are visited by thousands of Hindu pilgrims. According to the 2011 census Tehri Garhwal district has a population of 618,931, roughly equal to the nation of Solomon Islands or the US state of Vermont. This gives it a ranking of 520th in India (out of a total of 640). The district has a population density of 170 inhabitants per square kilometre. Its population growth rate over the decade 2001-2011 was 2.3 %. Tehri Garhwal has a sex ratio of 1077 females for every 1000 males, and a literacy rate of 76.4 %. According to 2011 census Hindus are 609,835(98.5%); Muslims 7,374 (1.2%); and Sikhs (0.2%).The district of Tehri Garhwal is divided into two subdivisions: Kirti Nagar and TehriPratap Nagar.
It has seven tehsils, one sub-tehsil, nine blocks, two municipalities and four town area committees. The district covers 75 nyaya panchayats and 979 gram panchayats.
Location And Extent
The study area for this report is block Chamba of Tehri Garhwal district of Uttarakhand. Chamba is a town area commitie also. It is located in 30 degree 25.860 minutes north and 30 degree 43.811 minutes north to 78 degree 45.672 minutes east and 78 degree 73.345 minutes east. This block comprise of 53 villages and basically composed of 100% rural population with two uninhabited villages. Initially it was called Chamma but difficulty in saying Chamma ultimately lead to its present name Chamba. It act as a focal point where most famous destination of this area lies. It is 50 KM away from MUSSOORIE and lie in Mussoorie-Chamba-New Tehri road.
Relief
Chamba lies 1600M above sea level and is in the lesser Himalayan range basically in the part of Garhwal Himalayas and Mussoorie Range of it. It raised high in the air in the Miocene age. Middle Himalayas is the range in which the most famous hill stations are located, Chamba is also one of them.
Climate and Rainfall
The climate in Chamba varies from cold temperate to sub tropical. The weather is very cold in winter and pretty hot in summers. The most pleasant season is spring. This area receives rainfall almost throughout the year but the main raining seasons are July-September. The mean temperature ranges from 10.1-19.1 degree Celsius. Annual humidity is between 54.7 and 76.5. The annual total rainfall is 1367.80mm. (UUHF metrological data, 2015).
Drainage
The drainage in the district Tehri Garhwal is well developed by rivers Bhagirathi, Alaknanda and Bhilangana. Near Chamba near Old Tehri Bhilangana and Bhagrirathi rivers meet. These rivers are perennial and carry water all year round. Tehri Dam the highest dam in India on Bhagirathi river. It is primary river of THDC India Ltd. The entire area is supplied by electricity by this power plant.
Soil
Major soil in the area is hilly soil which developed from graniteferous biotite, sctics, granites, gnesiss, Phillies. These are brown to dark grayish in color and acidic in reaction.
Flora and Fauna
Chamba is the abode of forest and community reserves which comprises high species endemism and is of enormous and aesthetic value to our country.  Within those unwinding creepers, unending tall trees, herbaceous plants can lay the bullet to this invisible enemy. Here is the list of 8 medicinal plants which possess anti viral properties
-
Jakhiya (wild mustard)(cleome viscose)
In most of the Garhwali region of Uttarakhand jakhiya seeds is used to temper aloo ke gutke (colloquial) and curries. These seeds impart a mouth watering taste to these delicacies.
-
Kafal (Myrica esculenta)
This is a sweet wine red / red colour fruit which grow in the forests and pathways of Uttarakhand. Children here feast upon these mini fruit in spring season. It is widely used to treat various viral fevers, cough, ear, nose and throat disorders. This can be found in garhwal region of Uttarakhand.
-
Bedu (Ficus palmate)
This plant is huge source of minerals, phosphorus and vitamin C. This plant grow in wild in Uttarakhand. Bedu is used to relieve inflammation and its sap is used to relieve warts.Bedu can be found in entire hilly region of Uttarkhand.
-
Burash (Rhododendron Arboreum)
It is an evergreen tree that is the state tree of Uttarkhand. Indigenous and welcome people with burash juice .  It can provide treatment to asthama, bronchitis, constipation etc.
-
Gaath pulse
This himalyan pulse is full with antioxidants and is very useful in kidney stones, diabetes, womb related problems etc.
-
Jhangora(Barnyard millet)
This staple cereal in himalayan region is superfood, easy to digest being gluten free and highly nutritious. This is highly beneficial in diabetes. In uttarakhand it is usually grown at the altitude of 400-2100 M above sea level.
 This can be consumed as powder and whole plant can be used to remedify stomach ache and fever.
-
Somavalli (Sacrostemma acidum)
This plant is also called sanjivani . This plant is comprise anti viral properties and is bitter coolant.
There are many animals in the area. As the area come has protected forest there is restriction of activities in the forest. There have been many instances of tigers roaming around at night sometimes at day time. Monkeys are in abundance, with many reptiles and birds.
Demography Setting
As of 2011 India census, Chamba is a Nagar Panchayat city in district of Tehri Garhwal, Uttarakhand. The Chamba city is divided into 7 wards for which elections are held every 5 years. The Chamba Nagar Panchayat has population of 7,771 of which 4,149 are males while 3,622 are females as per report released by Census India 2011.
Population of Children with age of 0-6 is 1010 which is 13.00% of total population of Chamba (NP). In Chamba Nagar Panchayat, Female Sex Ratio is of 873 against state average of 963. Moreover, Child Sex Ratio in Chamba is around 857 compared to Uttarakhand state average of 890. Literacy rate of Chamba city is 89.04% higher than state average of 79.82%. In Chamba, Male literacy is around 91.71% while female literacy rate is 85.99%.
Chamba Nagar Panchayat has total administration over 1,971 houses to which it supplies basic amenities like water and sewerage. It is also authorized to build roads within Nagar Panchayat limits and impose taxes on properties coming under its jurisdiction.
Housing Type and Pattern
The basic pattern in the town of Chamba is nucleated because in the area this is the only town that has less rural style of living. In the periphery villages of Chamba houses are made in linear pattern along the kutchha road. Chamba with its periphery villages has distinct type of houses (kutchha house) made up of black flat stones and are floored with cow dung and walled too with it which keep it warm during winter and cold during summers.
Society and culture
Chamba has different Garhwali cuisines that make it a cake walk to travel in the area and make it fun too.
Schedule Caste (SC) constitutes 7.73% while Schedule Tribe (ST) were 0.59% of total population in Chamba (NP).Garhwali culture is very different from the adjacent Kumauni culture. We have different food, language, and lifestyle.  Young girls generally wear suit and sometimes SAPA is worn on head. We have big and vibrant golden NATH that is so distinct from other culture that it just mesmerizes everyone.
Lifestyle of People
Out of total population, 2,517 were engaged in work or business activity. Of this 2,085 were males while 432 were females. In census survey, worker is defined as person who does business, job, service, and cultivator and labour activity. Of total 2517 working population, 85.78% were engaged in Main Work while 14.22% of total workers were engaged in Marginal Work
Chamba is hub for tourist as it is nodal point between Mussoorie, Tehri lake and Rishikesh. The most famous tourist destination nearby is Tehri lake where tourist come and have a lot of fun.
Chamba has quite a number of Hotels for tourists among which are Hotel Akash Deep, Tehri Club Resort, Himalaya Holiday Inn, Jal Nigam Rest House, Tourist Rest House, Hotel Neelkanth, Social Palace and Hotel Classic Hill Top and many others providing comfortable accommodation. Some hotels are having further contact in upper hill region for camping and adventurous sports games.


For Ludum Dare 33.
Objectives:
Control:
Hint 1: There are five levels.
Hint 2: Wearing a pair of sunglesses makes you invincible.
Hint 3: A tamed satellide dish can remotely launch a missile.


If the user enters a valid phone number in the search box of a ContactList, but that number is not found, an application may request that the ContactList send out a notification using a variable data field. (This variable data field is available on devices with version numbers "Responder Build 4...." and higher. See Software Version Number for information about finding out the software version of the user's device.)
Give the ContactList a ATTR_CONTACT_LIST_NOTIFY_NUMBER_ENTERED_MSG variable data field. This field's data is a message.
The message should have parameters:
void MSG_MY_CL_NOTIFY( MemHandle phNumber = cx);
The passed block contains the phone number string. The message's recipient is responsible for freeing the passed block.


RoboPet
Robo Pet Your Robot Assistant
Income / Expense
Borrowing / Lending
Important Docs
Aur Kuch To
Aur Kuch To


[GJC-17] Performance Bottleneck: extensive use of toLowerCase in com.generationjava.web.HtmlW.getIndexOpeningTag | |
| Status: | Closed |
| Project: | Genjava |
| Component/s: | gj-scrape |
| Affects Version/s: | scrape-1.0 |
| Fix Version/s: | scrape-2.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | None | Assignee: | Henri Yandell |
| Resolution: | Fixed | ||
| Environment: |
| Description |
| Bottleneck in calling toLowerCase while getting tags, specifically in the com.generationjava.web.HtmlW class. |
| Comment by bayard [ Fri, 18 Jun 2004 13:47:18 -0700 (PDT) ] |
| Going to go with the easy issue of adding a: tagsToLowerCase method onto HtmlW. HtmlScraper would then tagsToLowerCase on its scraping target. |
| Comment by bayard [ Fri, 18 Jun 2004 14:02:42 -0700 (PDT) ] |
| Changed my mind. HtmlScraper will maintain a lower-cased version, jump to XmlW for optimal performance when possible and juggle things. Would be nice to get rid of the data variable in HtmlScraper and have it merely remember an index on the main page text. This will create quite a few method calls to substring, so that may hurt performance. |
| Comment by bayard [ Fri, 18 Jun 2004 15:21:24 -0700 (PDT) ] |
| This is done. Will test in the originator's application (work colleague) to see if the modifications have created the necessary dramatic speed improvement. |
| Comment by bayard [ Sat, 19 Jun 2004 11:16:20 -0700 (PDT) ] |
| First index is the number of tr tags, second is the number of td tags in them. Speed is massively improved. 1.0 == [1,1] 0:00:00.049 [10,2] 0:00:00.201 [100,5] 0:00:01.349 [100,10] 0:00:03.522 [250,5] 0:00:05.840 2.0 == [1,1] 0:00:00.048 [10,2] 0:00:00.016 [100,5] 0:00:00.148 [100,10] 0:00:00.104 [250,5] 0:00:00.027 |


This is the API documentation for the Java Dns Cache Manipulator, a simple 0-dependency thread-safe lib for setting dns programmatically without touching host file, make unit/integration test portable.


If you see this page, then the server successfully active!
To check if API is worked, try send GET Request on this route!
If the request is successfull, then you will see a JSON data showed!
Use JSON Formatter to see the JSON without using Postman, Insomnia, etc


ON TRIAL
Driver denies speeding in horror crash that killed East Kilbride schoolgirl Megan Scott
by Wilma RileyA MOTORIST is on trial at the High Court in Glasgow accused of causing the death of a 15-year-old schoolgirl by dangerous driving.
Kieran Kennedy denies driving at excessive speed for the road conditions when he hit Megan Scott on a pedestrian crossing in East Kilbride.
The incident took place at the A749 Kingsway on October 18, 2017.
The 20-year-old, of Chapelton, South Lanarkshire, also denies accelerating and failing to brake for an amber light at the crossing and then failing to stop for the red light, where he hit Megan.
Constable Helen Howie told the court that she and a colleague received a call to a road traffic collision at the Kingsway and when they got there realised it was a very serious incident.
She said: “I made my way to the crowd of people. There was a pedestrian lying on the carriageway – it was a female. I wanted to find the driver.”
The police officer said that Kennedy approached her and said: “I was the driver.”
She added: “He said he had struck the female, but he hadn't been speeding.”
Prosecutor Chris McKenna said: “Did you look at his vehicle,” and she replied: “There was damage to the vehicle and the windscreen was damaged.”
Constable Howie said when she spoke to Kennedy he was 'really upset' and added: “He kept asking if he had killed her. He was upset.”
The court was told that Kennedy took a roadside breath test which was negative.

The QC then asked: “Did he tell you he hadn't seen the female,” and she said: “I can't recall that.”
However, she agreed that she had written this in her operational notes which was written up at the time.
Mr Scullion said: “How would you describe Mr Kennedy's condition at the time,” and the witness said: “He was distraught, shaking and crying.”
The jury was told that Kennedy, who was not physically injured, was checked both by paramedics and at hospital.
Constable Howie said: “I thought he was suffering from shock.”
The trial before judge Lord Armstrong continues.


FilmedIn
Opportunities
Finding Talent
Rent Equipment
Send Feedback
Post a Job
Logout
Success!
Added Successfully!
Send Us Your Feedback | 1-(800)-FILMEDN |<EMAIL_ADDRESS>Enter your email ID
Is this the first time you have visited the website?
Yes
No
What was the primary reason for visiting this website?
Select one of the reasons below
Look up the news and announcements.
Post details about an upcoming production.
Search for possible candidates.
Search for possible opportunities to paricipate in productions.
Rent equipment from the inventory
Did you achieve your goal?
Yes
Partially
No
What was the reason for you to not achieve your goal?
Select one of the reasons below
Something went wrong with the website
There is incorrect or missing information
Hard to navigate through the system
What is your overall impression of the site?
Below Expectations
Meets Expectations
Exceeds Expectations
Professional
1
2
3
Informative
1
2
3
Visually pleasing
1
2
3
Please add any comments you have for improving the website.
Send Feedback


- RADIUS - Static variable in class com.shopgun.android.sdk.api.Parameters
-
API v2 parameter name for radius.
- RADIUS_MAX - Static variable in class com.shopgun.android.sdk.SgnLocation
-
- RADIUS_MIN - Static variable in class com.shopgun.android.sdk.SgnLocation
-
- readBytes(InputStream) - Static method in class com.shopgun.android.sdk.network.mock.MockApiNetworkResponse
-
- readString(InputStream) - Static method in class com.shopgun.android.sdk.network.mock.MockApiNetworkResponse
-
- RealmObjectExclusionStrategy - Class in com.shopgun.android.sdk.corekit.gson
-
- RealmObjectExclusionStrategy() - Constructor for class com.shopgun.android.sdk.corekit.gson.RealmObjectExclusionStrategy
-
- recover(ShopGunError) - Method in class com.shopgun.android.sdk.SessionManager
-
Ask the SessionManager to refresh the session.
- recoverableError(ShopGunError) - Static method in class com.shopgun.android.sdk.SessionManager
-
Method for determining is a given error is an error that the SessionManager.
- RedirectProtocol - Interface in com.shopgun.android.sdk.network
-
- REFERENCE - Static variable in class com.shopgun.android.sdk.utils.SgnJson
-
- registerCallback(LifecycleManager.Callback) - Method in class com.shopgun.android.sdk.corekit.LifecycleManager
-
- registerOnInstanceCreationListener(ShopGun.OnInstanceCreationListener) - Static method in class com.shopgun.android.sdk.ShopGun
-
- releaseDb() - Method in class com.shopgun.android.sdk.database.SQLDataSource
-
Release the instance of the
SQLiteDatabase
that you have
acquired
.
- removeAllEventListeners() - Method in class com.shopgun.android.sdk.eventskit.EventManager
-
- removeEventListener(EventListener) - Method in class com.shopgun.android.sdk.eventskit.EventManager
-
- removeShare(Share) - Method in class com.shopgun.android.sdk.model.Shoppinglist
-
Deprecated.
- Request<T> - Class in com.shopgun.android.sdk.network
-
- Request(Request.Method, String, Response.Listener<T>) - Constructor for class com.shopgun.android.sdk.network.Request
-
Creates a new request with the given method (one of the values from
Request.Method
),
URL, and error listener.
- Request.Method - Enum in com.shopgun.android.sdk.network
-
Supported request methods.
- Request.Priority - Enum in com.shopgun.android.sdk.network
-
- RequestCreator - Class in com.shopgun.android.sdk.requests
-
- RequestCreator() - Constructor for class com.shopgun.android.sdk.requests.RequestCreator
-
- RequestDebugger - Interface in com.shopgun.android.sdk.network
-
- RequestQueue - Class in com.shopgun.android.sdk.network
-
- RequestQueue(ShopGun, Cache, Network, int, Delivery) - Constructor for class com.shopgun.android.sdk.network.RequestQueue
-
Construct a new RequestQueue for processing requests.
- RequestQueue(ShopGun, Cache, Network) - Constructor for class com.shopgun.android.sdk.network.RequestQueue
-
Construct with default pool-size, and the ShopGun handler running on main thread
- requestToUrlAndQueryString(Request<?>) - Static method in class com.shopgun.android.sdk.utils.SgnUtils
-
Builds a url + query string.
e.g.: https://api.etilbudsavis.dk/v2/catalogs?order_by=popular
- resetstate() - Method in class com.shopgun.android.sdk.network.Request
-
- RESOURCE_DELETED - Static variable in class com.shopgun.android.sdk.network.ShopGunError.Code
-
Request resource not found because it has been deleted
- RESOURCE_NOT_FOUND - Static variable in class com.shopgun.android.sdk.network.ShopGunError.Code
-
Requested resource(s) not found
- Response<T> - Class in com.shopgun.android.sdk.network
-
- Response.Listener<T> - Interface in com.shopgun.android.sdk.network
-
Callback interface for delivering parsed responses.
- result - Variable in class com.shopgun.android.sdk.network.Response
-
Parsed response, or null in the case of error.
- run() - Method in class com.shopgun.android.sdk.eventskit.EventDispatcher
-
Take an event from the queue and processes it.
- run() - Method in class com.shopgun.android.sdk.eventskit.LegacyEventDispatcher
-
- run() - Method in class com.shopgun.android.sdk.network.CacheDispatcher
-
- run() - Method in class com.shopgun.android.sdk.network.Delivery.DeliveryRunnable
-
- run() - Method in class com.shopgun.android.sdk.network.NetworkDispatcher
-
- RUN_FROM - Static variable in class com.shopgun.android.sdk.api.Parameters
-
String identifying the run from parameter for all list calls to the API
- RUN_FROM - Static variable in class com.shopgun.android.sdk.utils.SgnJson
-
- RUN_TILL - Static variable in class com.shopgun.android.sdk.api.Parameters
-
String identifying the run till parameter for all list calls to the API
- RUN_TILL - Static variable in class com.shopgun.android.sdk.utils.SgnJson
-
- runLoader(Request<?>, LoaderRequest<T>, T, RequestQueue) - Static method in class com.shopgun.android.sdk.requests.ModelRequestTools
-
Run the requests needed to load the given requests, model object with the requested data.
- runParkedQueue() - Method in class com.shopgun.android.sdk.network.RequestQueue
-
Method that allows SessionManager to resume all requests, when no more session requests are to be made.


Mangel group talk
- Presented nonparametric-bayes slides
- ADP introduction / trouble-shooting (see yesterday’s entry), html5 slides
Notes
- Decent convergence in the forward algorithm is hard. Consider basis function representation of value function to decrease the search space in the backwards-algorithm first. Also consider searching for policy function (under appropriate piecewise constraints).
- Starts to sound more and more similar to POMDP
Misc
- Trouble with equations in slidify/214
Finishing up posts from last week
R packages state licenses in the DESCRIPTION file, which automatically recognizes standard licenses rather than distributing a copy of the license. This seems sensible but it’s not like we don’t have a few bits to spare for a million duplicate copies of license files, so I suppose I could add this in explicitly.
Clearly my own thinking on licenses has evolved ahead of my adaptation:
$ grep "License" code/*/DESCRIPTION
AdaptiveDynamics/DESCRIPTION:License: GPL (>= 2)
earlywarning/DESCRIPTION:License: BSD
fluctuationDomains/DESCRIPTION:License: CC ZERO 1.0 + file LICENSE
knitcitations/DESCRIPTION:License: CC0
mcmcTools/DESCRIPTION:License: BSD
multiple_uncertainty/DESCRIPTION:License: BSD
nonparametric-bayes/DESCRIPTION:License: BSD
OUwie/DESCRIPTION:License: GPL (>= 2)
pdg_control/DESCRIPTION:License: BSD
pmc/DESCRIPTION:License: CC0
populationdynamics/DESCRIPTION:License: BSD
prosecutors-fallacy/DESCRIPTION:License: BSD
socialR/DESCRIPTION:License: GPL (>= 2)
structured-populations/DESCRIPTION:License: GPL (>= 3)
warningsignals/DESCRIPTION:License: GPL (>= 2)
wrightscape/DESCRIPTION:License: GPL-2
Looks like it’s time for a little
sed -i "s/License: .*/License: CC0/" */DESCRIPTION
Yeehaw!
Just for the sake of being pendantic,
wget https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
mv legalcode.txt LICENSE
echo */R/.. | xargs -n 1 cp LICENSE
RCurl query from Scott
Translate a cURL command’s -d
flag to RCurl, e.g.
curl -H "X-Gauges-Token: <token>" \
-d "title=Example" \
-d "tz=Eastern Time (US %26 Canada)" \
https://secure.gaug.es/gauges
I proposed
httpPOST("https://secure.gaug.es/gauges",
postfields="title=Example&tz=Eastern Time (US %26 Canada)",
httpHeader=c("X-Gauges-Token"="<token>"), verbose=TRUE)
Though here is an SO example with slightly more elegant construction of postfields.
Two column layout with longtable
Pandoc now uses the longtable
package to generate tables. Annoyingly, these insist on being single-column objects and are not handled properly by elsarticle
two-column layouts. To get around this, I edit the latex Pandoc creates, wrapping the table in a float environment (\begin{figure}
), followed by a toggle to \onecolumn
. After the longtable
envirnoment block ends, I include the caption, then toggle back to \twocolumn
layout. I also have to tune the width of the minipage
objects used by longtable
, and change its alignment option to left-align (\begin{longtable}[l]
). After these modifications I have a nice floating table in the width of a single column, embedded in my two-column layout.
Brilliantly, arXiv has no trouble with the scores of extra package dependencies introduced by pandoc, as long as the document is pdflatex compatible (no xelatex, hence non-ascii UTF-8, or custom fonts, sorry). Still far ahead of my experience submitting the same document to the acutal journal…
This nicely formatted tex is in the repository as arxiv-copy.tex. Should be generated from source with make fancy
, since default make
builds the 1980s plaintex format for the journal. I need to add make commands to automatically wrap the longtable as described above, hopefully a few lines of sed
should do this…
So, arXiv copy sumbmitted… stay tuned on Thursday.


My name is Tyler Tiggs. I am in Mr Rice's 6th period Engneering Class , I enjoy playing sports and chilling with my friends. In my free time I enjoy playing video games and I also like working out. I have 3 older brother and 1 older sister which makes me the youngest of 5 siblings.