|
- 3.0.2 core module.
|
Event handler to kill integration. More...
#include <KillIntegrationEventHandler.h>
Public Types | |
| typedef Eigen::Matrix< double, STATE_DIM, 1 > | State_T |
Public Member Functions | |
| KillIntegrationEventHandler () | |
| default constructor More... | |
| virtual | ~KillIntegrationEventHandler () |
| default destructor More... | |
| virtual bool | callOnSubsteps () override |
| bool | checkEvent (const State_T &state, const double &t) override |
| checks the kill flag More... | |
| void | handleEvent (const State_T &state, const double &t) override |
| interrupts integration More... | |
| void | setEvent () |
| enables killing at next call More... | |
| void | resetEvent () |
| disable killing at next call More... | |
| virtual void | reset () override |
| resets kill flag to false More... | |
| Public Member Functions inherited from ct::core::EventHandler< STATE_DIM > | |
| EventHandler () | |
| Default constructor. More... | |
| virtual | ~EventHandler () |
| destructor More... | |
| virtual bool | checkEvent (const StateVector< STATE_DIM, double > &state, const double &t)=0 |
| check if an event has happened More... | |
| virtual void | handleEvent (const StateVector< STATE_DIM, double > &state, const double &t)=0 |
| handle the event More... | |
Event handler to kill integration.
This event handler kills the integration if the kill flag is set. This is useful for multi-threaded applications where an external kill signal needs to interrupt an ongoing integration
| STATE_DIM | size of the state vector |
| typedef Eigen::Matrix<double, STATE_DIM, 1> ct::core::KillIntegrationEventHandler< STATE_DIM >::State_T |
|
inline |
default constructor
sets kill event to false
|
inlinevirtual |
default destructor
|
inlineoverridevirtual |
Implements ct::core::EventHandler< STATE_DIM >.
|
inlineoverride |
checks the kill flag
|
inlineoverride |
interrupts integration
interrupts the integration by throwing a std::runtime_error
| state | current state (ignored) |
| t | current time (ignored) |
|
inline |
enables killing at next call
|
inline |
disable killing at next call
Referenced by ct::core::KillIntegrationEventHandler< STATE_DIM >::reset().
|
inlineoverridevirtual |
resets kill flag to false
Implements ct::core::EventHandler< STATE_DIM >.
References ct::core::KillIntegrationEventHandler< STATE_DIM >::resetEvent().


|
Design Patterns - C++
|
#include <DataManager.h>
Public Member Functions | |
| DataManager () | |
| ~DataManager () | |
| void | Broadcast (Module, const std::string &) |
| void | Broadcast (const std::string &) |
| void | Register (Module, GuiComponent *) |
| Public Member Functions inherited from GuiManager | |
| virtual | ~GuiManager () |
Additional Inherited Members | |
| Protected Attributes inherited from GuiManager | |
| std::map< int, GuiComponent * > | internalModules |
| std::map< int, GuiComponent * > | externalModules |
| std::map< int, GuiComponent * > | logModules |
| DataManager::DataManager | ( | ) |
| DataManager::~DataManager | ( | ) |
|
virtual |
Implements GuiManager.
|
virtual |
Implements GuiManager.
|
virtual |
Implements GuiManager.


Pages
Page title
Created By
Created at
{{page.pageTitle}}
{{page?.users?.username}}
{{page.createdDateAndTime}}


Environmental Science.org
Sustainability is a broad discipline, giving students and graduates insights into most aspects of the human world from business to technology to the environment and the social sciences. The core skills with which graduates leave college or university are highly sought after, especially in a modern world looking to drastically reduce carbon emissions and discover and develop the technologies of the future. Therefore, Sustainability graduates will go into many fields but most commonly civic planning, environmental consultancy , agriculture, not for profit, corporate strategies, health assessment and planning, and even into law and decision making. Entry-level jobs are growing and over the coming years, bachelor's graduates can expect more and more options and opportunities. In short, sustainability looks to protect our natural environment, human and ecological health, while driving innovation and not compromising our way of life. To read the full version


Google Bait
This post isn't about the solution, but rather about the methodology. Anyway, to help people experiencing the same issue find this post:
- CentOS 6.6 (fresh from
chef/centos-6.6
Vagrant Box) - Java 1.7.0 (
java-1.7.0-openjdk
) - DOES NOT happen with Java 1.8.0 (
java-1.8.0-openjdk
) - Happens because of interaction with
nss
(was version3.16.1
, resolved when upgrading to3.19.1
).
The story
One of our boxes ships with Elasticsearch, and we also include a plugin called BigDesk which provides monitoring. To do so, we run the following command (with Chef):
/usr/share/elasticsearch/bin/plugin -install lukas-vlcek/bigdesk/2.5.0
Recently, it started failing on our Vagrant development VMs. When trying with --verbose
, I got this:
Trying http://download.elasticsearch.org/lukas-vlcek/bigdesk/bigdesk-2.5.0.zip...
Failed: IOException[Can't get http://download.elasticsearch.org/lukas-vlcek/bigdesk/bigdesk-2.5.0.zip to /usr/share/elasticsearch/plugins/bigdesk.zip]; nested: FileNotFoundException[http://download.elasticsearch.org/lukas-vlcek/bigdesk/bigdesk-2.5.0.zip]; nested: FileNotFoundException[http://download.elasticsearch.org/lukas-vlcek/bigdesk/bigdesk-2.5.0.zip];
Trying http://search.maven.org/remotecontent?filepath=lukas-vlcek/bigdesk/2.5.0/bigdesk-2.5.0.zip...
Failed: SSLException[java.security.ProviderException: java.security.KeyException]; nested: ProviderException[java.security.KeyException]; nested: KeyException;
Trying https://oss.sonatype.org/service/local/repositories/releases/content/lukas-vlcek/bigdesk/2.5.0/bigdesk-2.5.0.zip...
Failed: SSLException[java.security.ProviderException: java.security.KeyException]; nested: ProviderException[java.security.KeyException]; nested: KeyException;
Trying https://github.com/lukas-vlcek/bigdesk/archive/2.5.0.zip...
Failed: SSLException[java.security.ProviderException: java.security.KeyException]; nested: ProviderException[java.security.KeyException]; nested: KeyException;
Trying https://github.com/lukas-vlcek/bigdesk/archive/master.zip...
Failed: SSLException[java.security.ProviderException: java.security.KeyException]; nested: ProviderException[java.security.KeyException]; nested: KeyException;
Failed to install lukas-vlcek/bigdesk/2.5.0, reason: failed to download out of all possible locations..., use --verbose to get detailed information
As we can see, there is probably something wrong with the SSL handshake. cURLing to these URLs worked, so this is a client-specific issue.
Basic troubleshooting
I made this snippet to test the HTTP handshake and get the real error:
import java.net.HttpURLConnection;
import java.net.URL;
public class Bla{
public static void main(String[] args) throws Exception {
System.out.print("Hello\n");
String url="https://github.com/lukas-vlcek/bigdesk/archive/2.5.0.zip";
try{
HttpURLConnection httpConnection = (HttpURLConnection) new URL(url).openConnection();
httpConnection.connect();
}
catch (Exception e){
e.printStackTrace();
System.out.print("Error\n");
}
System.out.print("About to loop\n");
while(true){Thread.currentThread().sleep(1000);} //Crudest debug ever
}
}
When running it, I got something like this:
Hello
javax.net.ssl.SSLException: java.security.ProviderException: java.security.KeyException
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1916)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1874)
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1857)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1378)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
at Bla.main(Bla.java:10)
Caused by: java.security.ProviderException: java.security.KeyException
at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:146)
at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:704)
at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:78)
at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:714)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:278)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:913)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:849)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1035)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1344)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371)
... 5 more
Caused by: java.security.KeyException
at sun.security.ec.ECKeyPairGenerator.generateECKeyPair(Native Method)
at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:126)
... 14 more
Error
About to loop
This, however, worked:
/usr/lib/jvm/java-1.8.0-openjdk-<IP_ADDRESS>-1.b16.el6_7.x86_64/jre/bin/java Bla
Meaning this problem was java-1.7.0 specific.
Upgrading everything (sudo yum upgrade -y
) also solved it, but upgrading java-1.7.0-openjdk
didn't, so it must be some external library.
Running with SSL debugging, like java -Djavax.net.debug=all Bla
, printed a lot of output, where the interesting part is:
...
main, handling exception: java.security.ProviderException: java.security.KeyException
%% Invalidated: [Session-1, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA]
main, SEND TLSv1 ALERT: fatal, description = internal_error
...
So it's definitely some weird error (not something like untrusted CA or key expiration).
Sysadmin Trickery
Thanks to putting my small snippet in an infinite loop, I could browse its /proc
directory and dig around.
I was really interested in which libraries it was using, since it wasn't cURL (which worked).
I executed something like:
cat /proc/$(pgrep -f Bla)/maps | perl -a -ne 'print $F[5],$/' | sort | uniq
And got all of the memory-mapped files, which include loaded libraries. It looked like this:
[heap]
/lib64/ld-2.12.so
/lib64/libc-2.12.so
/lib64/libdbus-1.so.3.4.0
/lib64/libdl-2.12.so
/lib64/libgcc_s-4.4.7-20120601.so.1
/lib64/libglib-2.0.so.0.2800.8
/lib64/libgmodule-2.0.so.0.2800.8
/lib64/libgobject-2.0.so.0.2800.8
/lib64/libgthread-2.0.so.0.2800.8
/lib64/libm-2.12.so
/lib64/libnspr4.so
/lib64/libnss_dns-2.12.so
/lib64/libnss_files-2.12.so
/lib64/libplc4.so
/lib64/libplds4.so
/lib64/libpthread-2.12.so
/lib64/libresolv-2.12.so
/lib64/librt-2.12.so
/lib64/libz.so.1.2.3
[stack]
/tmp/hsperfdata_vagrant/26329
/usr/lib64/libgconf-2.so.4.1.5
/usr/lib64/libnss3.so
/usr/lib64/libnssutil3.so
/usr/lib64/libORBit-2.so.0.1.0
/usr/lib64/libsmime3.so
/usr/lib64/libssl3.so
/usr/lib64/libstdc++.so.6.0.13
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/bin/java
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/amd64/jli/libjli.so
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/amd64/libjava.so
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/amd64/libnet.so
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/amd64/libsunec.so
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/amd64/libverify.so
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/amd64/libzip.so
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/amd64/server/libjvm.so
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/ext/gnome-java-bridge.jar
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/ext/pulse-java.jar
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/ext/sunec.jar
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/ext/sunjce_provider.jar
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/ext/sunpkcs11.jar
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/jce.jar
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/jsse.jar
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/resources.jar
/usr/lib/jvm/java-1.7.0-openjdk-<IP_ADDRESS>.x86_64/jre/lib/rt.jar
/usr/lib/locale/locale-archive
[vdso]
[vsyscall]
The interesting bit is obviously /usr/lib64/libssl3.so
, so I wanted to see where it's coming from:
yum provides /usr/lib64/libssl3.so
Which got me nss
.
Upgrading nss
(sudo yum upgrade nss
) solved the problem.
Post-op tests
I was curious about why Java 1.8.0 works, and used the same looping trick to inspect its loaded libraries. Turns out it wasn't loading nss but rather using some internal SSL implementation.
This was confirmed by some comment on the RedHat bugtracker.
My solution
Since this problem only occurs in our Vagrant VMs (because the production machines are kept up to date, and the Vagrant ones are created from the same template over and over), I chose to use some Chef hackery:
package 'nss' do
version '3.19.1-3.el6_6'
only_if {
vagrant?(node) # Checking if current node is a Vagrant VM
}
end
Now everything is working.


Karachi: Water pipeline bursts disrupting traffic
by https://www.facebook.com/dunyanewsKARACHI (Dunya News) – A water pipeline near Liaquatabad post office in Karachi burst and traffic flow was disrupted as a result, Dunya News reported on Saturday.
According to details, a truck was stuck on the Liaquatabad-Teen Hatti road following the leakage and the road was blocked. The Karachi Water and Sewage Board (KWSB) staff reached the spot for repair work.


Festival Guide:
Thank you for registering your party's festival score.
Congratulations! It is the
highest score
your cabal has obtained so far for this festival!


This is a sample application which shows the usage of the Angular Spring Data REST module. The Spring Data REST back end is based on Spring Boot and it provides some simple entities to test the module.
Read the detailed documentation about the module and learn about all the features and how to configure the module.
Download the latest releases or use bower/npm to install the latest module: bower install
angular-spring-data-rest
npm install
angular-spring-data-rest


lib
/
com.kirkbushman.araw.models.enums
/
Distinguished
/
NOT_DISTINGUISHED
NOT_DISTINGUISHED
NOT_DISTINGUISHED


Toggle navigation
Home
About
Projects
Contact
Hy
my name is triktron
i am a student programer who really likes javascript.


Suge Knight Calls Eminem a "B**ch" on Nick Cannon's "The Invitation" Diss Track
by VladTVSuge Knight hopped on Nick Cannon's official Eminem diss track, "The Invitation," which he dropped today (December 9). The Hitmaka-produced track also features Hitman Holla, Charlie Clips and Prince Eazy.
Suge Knight starts out the track in a phone call to Nick that was recorded from jail, where he states, "You know I don't do no talking, but Nick is family," adding "Eminem's a b*tch!"


Communist Dictator nothing more to say. A leader for the people would be doing the opposite. Promoting business in all aspects. People need to unite to fight, for our freedom.
Doesn't Trudeau know that he taught Canadian citizens that laws don't matter? The guy has broken so many laws/rules and just says "I'm sorry" and what he does gets shoved under the rug. Hell, he doesn't even punish terrorists.  Fair is fair.
We all know communist dictator Trudeau is itching to use the "covid" concentration camps that are already built across Canada though.
@Pascalalberta It really feels that way, I agree. I get a gut feeling that Trump will hold POTUS position and when democrats get exposed, Trudeaus name will surface in documents. He's been too connected to Soros, Clinton Foundation, Obama and Biden to not have dirt exposed that will sink him. 🤞
Funny how he is telling the people this, most of which seem to be accepting it like sheep, when really it’s members of his own government that are not cooperating. Trudeau is simply bending over to China. He might as well have a sign on his butt that says “insert here please” written in Mandarin of course...
This is bigger than China. They’re just taking the heat because the billionaires sociopathic elitists who own our media, transportation, food sources, etc want them to be blamed. Rothschild, Rockefeller’s, soros, Gates, Klaus schwab, all pushing for the great reset/ new world order/ build back better/ the new green deal - whatever you’d like to call it. It’s a transfer of wealth and a means to control the world. “You will own nothing and be happy”! Look some of this up for yourselves; use duck duck go because google is part of the corruption.
These are called media love-ins with Dear Leader. Anyone who will actually ask him a honest question is barred entry or, if they get in, forcibly removed.
@cjpo Yeah for sure. It’s so complex. I do know that much of the Dominion machines were funded by Soros I believe. And for sure the BLM and ANTIFA riots. Remember how random stacks of bricks were found in cities around the States after Floyd died? Was that not traced back to Soros somehow? And Central bank is behind lockdowns 100%. All these governments are in doubt to them and basically taking orders from them.
@Mjtheod Ya for sure. Look how Rebel News has been treated by liberal government. Absolutely crazy. So much for freedom of press. They fund the establishment media that would otherwise have folded by now because no one reads/watches it anymore while they try to trample outlets supported and kept afloat by the people. It was glorious how the people funded Rebel’s loan that the bank so suddenly called in. Real journals being funded by real people. Government has turned news outlets into the new Pravda.
@realAlexAnon Soros owned them before China bought them. They want China to take the blame so they’ll be ignored. These politicians think they’ll be spared of the control by these elitist billionaire sociopaths but they have no conscious or morals so they’ll be thrown under the bus like the rest of us.
Did anyone even ask him where he was hiding out!?! Wait, who am I fooling, it’s not a pre-approved question and regardless there wouldn’t be an HONEST answer given anyways.
Why we haven’t had a election yet is unbelievable, the basic fact that this Prime Minister without a doubt broke the rules himself on ethics matters and scandals after scandals, I Do not Recognize any or all orders coming from the Liberal Government of Canada...
The whole parliament is corrupt. Otoole is military so when Trudope allowed Chinese military to train in Canada, that would be considered treason and otoole did nothing. He and rempel are globalists too, and he was selected, not elected. Canada uses dominion system; glitch happened during conservative election and 4000 ballots were “accidentally” shredded by the counting machine ( no we don’t count them by hand, even though msm says so; nothing to see here, right?!) leslyn Lewis has more supporters than any of them. Thanks to trudopes puppet master soros, otoole is our corrupt opposition.
So does that apply to politicians as well, or do they just get to resign like they have been and move on with life? Where are their fines or prison time?
@CanadaTC Yes. Pray. Tomorrow from sun up to sun down fasting and prayer is suggested for US so that they can keep their democracy. Without it the world is screwed.
Otoole was selected like Trudope. He’s a globalist just like rempel. Parliament is corrupt through and through. The puppet master is soros. These rules are against our human rights and no one is saying anything. That should tell us how corrupt it is. It’s all just a show.
@Riveradmin I agree, this is not right especially during time like this. But, I believe in God and Karma and that this is going to be dealt with in time. We just need fauth and patience. You don't have to agree with my beliefs, though.
Yup running around the caribean with a hooker for the last 10 or 14 days on taxpayers dime.
Communist Dictator nothing more to say. A leader for the people would be doing the opposite. Promoting business in all aspects. People need to unite to fight, for our freedom.
 @JustinTrudeau should be the first one to go to jail for not following the rule of law!
Doesn't Trudeau know that he taught Canadian citizens that laws don't matter? The guy has broken so many laws/rules and just says "I'm sorry" and what he does gets shoved under the rug. Hell, he doesn't even punish terrorists.

Fair is fair.
We all know communist dictator Trudeau is itching to use the "covid" concentration camps that are already built across Canada though.
Funny how he is telling the people this, most of which seem to be accepting it like sheep, when really it’s members of his own government that are not cooperating. Trudeau is simply bending over to China. He might as well have a sign on his butt that says “insert here please” written in Mandarin of course...
Did anyone even ask him where he was hiding out!?! Wait, who am I fooling, it’s not a pre-approved question and regardless there wouldn’t be an HONEST answer given anyways.
Why we haven’t had a election yet is unbelievable, the basic fact that this Prime Minister without a doubt broke the rules himself on ethics matters and scandals after scandals, I Do not Recognize any or all orders coming from the Liberal Government of Canada...
So does that apply to politicians as well, or do they just get to resign like they have been and move on with life? Where are their fines or prison time?
Every time I see his mug I feel the urge to retch.

I’m sure Erin O’Toole is dusting off his typewriter. Angry letter incoming.
Can he not shave?
#trudeaumustgo
I hate him so much!!  I’ll follow the same rules he follows. None!!
Put him in jail then. He should rule by example and follow his own rules.
Yup running around the caribean with a hooker for the last 10 or 14 days on taxpayers dime.


LOVE AND OTHER CATASTROPHES A film review by James Berardinelli Copyright 1997 James Berardinelli
RATING (0 TO 10): 6.0 Alternative Scale: **1/2 out of ****
Australia, 1996 U.S. Release Date: beginning 3/28/97 (limited) Running Length: 1:20 MPAA Classification: R (Mature themes, profanity) Theatrical Aspect Ratio: 1.85:1
Cast: Frances O'Connor, Alice Garner, Matt Day, Matthew Dyktynski, Radha Mitchell, Kym Gyngell Director: Emma-Kate Croghan Producer: Stavros Andonis Efthymiou Screenplay: Helen Bandis, Yael Bergman, Emma-Kate Croghan Cinematography: Justin Brickle U.S. Distributor: Fox Searchlight
LOVE AND OTHER CATASTROPHES is one of those movies that's so light and airy that's it's almost impossible to hate. Unfortunately, it's also terribly predictable, which makes it difficult to like. In addition, the film tries so hard to be hip and trendy that at times it's almost painful. Put that all together and what you get is a pleasant- but-dissatisfying motion picture that seems to be trying to copy Cameron Crowe's SINGLES, but ends up a lot closer to Ben Stiller's REALITY BITES.
LOVE AND OTHER CATASTROPHES is the most recent in a veritable flood of comedies from Australia. At least this one is a little different in temperament and style. For one thing, the soundtrack isn't saturated with '70s songs (nothing by ABBA is even hinted at). Secondly, few of the actors will look familiar. In fact, for many of them, like for director/co-writer Emma-Kate Croghan, this is their first feature.
The film follows five college students' romantic and academic misadventures, concentrating far more on the former than the latter. The two characters with the most screen time are roommates Mia (Francis O'Connor) and Alice (Alice Garner). Mia is a lesbian and Alice is straight, but they're both having problems with their love lives. Fearful of commitment, Mia is pushing her lover, Danni (Radha Mitchell), away -- perhaps into the arms of another woman. Meanwhile, Alice is lusting after the seemingly-unattainable Ari (Matthew Dyktynski) while being admired from afar by Michael (Matt Day), a shy med student. There are also a couple of subplots going on, one involving a guy who is contemplating circumcision to please his girlfriend, and another centering on a film studies professor (Kym Gyngell) who is never without a donut in his hand or mouth.
LOVE AND OTHER CATASTROPHES falls into the category of the singularly unambitious romantic comedy. Too many of the jokes fall flat, including brief jabs at the fanatical followers of directors Quentin Tarantino, Woody Allen, and Spike Lee. The film has a little fun equating the wisdom of philosophers like Nietzche with that pop icons like John Lennon, Paul McCartney, and Alfred Hitchcock. Perhaps the best line (although not necessarily the most appropriate) is a quote from the famous thriller director: "Always make the audience suffer as much as possible."
For the most part, the fresh-faced actors, especially Francis O'Connor and Alice Garner, give likable performances. Unfortunately, there isn't much romantic chemistry in evidence, although it's easy to envision all these characters as platonic friends. There's a simple playfulness about their relationships that's never effectively transformed into heat, even though we have a pretty good idea from the beginning who's going to be paired up with whom.
The best part of LOVE AND OTHER CATASTROPHES has nothing to do with romance or relationships. It focuses on Mia's desperate attempt to change classes on the final day of the add/drop period. One bureaucratic mine after another lines her path: unpaid library fines, uncooperative professors, and a computer hacker who demands payment for services rendered. This sequence is about the only spontaneous-seeming aspect of the film; the rest of LOVE AND OTHER CATASTROPHES is at least a notch below it.
I suppose Croghan thought she was bringing something new to the screen with LOVE AND OTHER CATASTROPHES, although I can't imagine what. Admittedly, this is the first Generation X comedy that I can recall being photographed through an amber filter, but I don't think that's what the director had in mind for her hallmark achievement. Unfortunately, that's one of the most memorable aspects of this unremarkable film. LOVE AND OTHER CATASTROPHES isn't funny enough, romantic enough, or offbeat enough to distinguish itself from the many films it's in direct competition with.
- James Berardinelli e-mail<EMAIL_ADDRESS>ReelViews web site: http://www.cybernex.net/~berardin
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


--- layout: post title: 'Call for help: Capistrano documentation' post_id: 115 categories: - announcements date: 2007-11-14 14:15:00.000000000 -07:00 author: Jamis permalink: 2007/11/14/call-for-help-capistrano-documentation.html ---
Capistrano’s documentation is, to put it mildly, lacking.
I fully acknowledge that. And I assume all the blame for it, too. I want to do something about it, but I’ve been far, far (far!) too swamped for the last six months to do more than acknowledge the need.
So, I’m pleading for your help. Here’s what I’d like to happen:
The documentation thus generated will be hosted at capify.org.
Thoughts? Volunteers? If you’d like to coordinate the documentation effort, please email me directly (jamis at jamisbuck dot org). We’ll see how many volunteer, and I’ll pick the “winner”. :)
If worse comes to worst, though, and no one volunteers, I’m still determined to work out some skeletal documentation as soon as I finish updating Net::SSH and friends. I have no ETA on that at this point, though. :(


IFOAuth2Client Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | IFOAuth2Client.h |
Overview
RCOAuth2Client
encapsulates common patterns to authenticate against a resource server conforming to the behavior outlined in the OAuth 2.0 specification.
In your application, it is recommended that you use RCOAuth2Client
exclusively to get an authorization token, which is then passed to another AFHTTPClient
subclass.
Accessing OAuth 2 Client Properties
serviceProviderIdentifier
The service provider identifier used to store and retrieve OAuth credentials by RCOAuthCredential
. Equivalent to the hostname of the client baseURL
.
@property (readonly, nonatomic) NSString *serviceProviderIdentifier
Discussion
The service provider identifier used to store and retrieve OAuth credentials by RCOAuthCredential
. Equivalent to the hostname of the client baseURL
.
Declared In
IFOAuth2Client.h
clientID
The client identifier issued by the authorization server, uniquely representing the registration information provided by the client.
@property (readonly, nonatomic) NSString *clientID
Discussion
The client identifier issued by the authorization server, uniquely representing the registration information provided by the client.
Declared In
IFOAuth2Client.h
Creating and Initializing OAuth 2 Clients
+ clientWithBaseURL:clientID:secret:
Creates and initializes an RCOAuth2Client
object with the specified base URL, client identifier, and secret.
+ (instancetype)clientWithBaseURL:(NSURL *)url clientID:(NSString *)clientID secret:(NSString *)secret
Parameters
url |
The base URL for the HTTP client. This argument must not be |
|---|---|
clientID |
The client identifier issued by the authorization server, uniquely representing the registration information provided by the client. |
secret |
The client secret. |
Return Value
The newly-initialized OAuth 2 client
Discussion
Creates and initializes an RCOAuth2Client
object with the specified base URL, client identifier, and secret.
Declared In
IFOAuth2Client.h
– initWithBaseURL:clientID:secret:
Initializes an RCOAuth2Client
object with the specified base URL, client identifier, and secret.
- (id)initWithBaseURL:(NSURL *)url clientID:(NSString *)clientID secret:(NSString *)secret
Parameters
url |
The base URL for the HTTP client. This argument must not be |
|---|---|
clientID |
The client identifier issued by the authorization server, uniquely representing the registration information provided by the client. |
secret |
The client secret. |
Return Value
The newly-initialized OAuth 2 client
Discussion
Initializes an RCOAuth2Client
object with the specified base URL, client identifier, and secret.
Declared In
IFOAuth2Client.h
– setAuthorizationHeaderWithCredential:
Sets the “Authorization” HTTP header set in request objects made by the HTTP client to a basic authentication value with Base64-encoded username and password. This overwrites any existing value for this header.
- (void)setAuthorizationHeaderWithCredential:(IFOAuthCredential *)credential
Parameters
credential |
The OAuth credential |
|---|
Discussion
Sets the “Authorization” HTTP header set in request objects made by the HTTP client to a basic authentication value with Base64-encoded username and password. This overwrites any existing value for this header.
Declared In
IFOAuth2Client.h
Authenticating
– authenticateUsingOAuthWithURLString:username:password:scope:success:failure:
Creates and enqueues an AFHTTPRequestOperation
to authenticate against the server using a specified username and password, with a designated scope.
- (void)authenticateUsingOAuthWithURLString:(NSString *)urlString username:(NSString *)username password:(NSString *)password scope:(NSString *)scope success:(void ( ^ ) ( IFOAuthCredential *credential ))success failure:(void ( ^ ) ( NSError *error ))failure
Parameters
urlString |
The string to be appended to the HTTP client’s base URL and used as the request URL. |
|---|---|
username |
The username used for authentication |
password |
The password used for authentication |
scope |
The authorization scope |
success |
A block object to be executed when the request operation finishes successfully. This block has no return value and takes a single argument: the OAuth credential returned by the server. |
failure |
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a single argument: the error returned from the server. |
Discussion
Creates and enqueues an AFHTTPRequestOperation
to authenticate against the server using a specified username and password, with a designated scope.
Declared In
IFOAuth2Client.h
– authenticateUsingOAuthWithURLString:scope:success:failure:
Creates and enqueues an AFHTTPRequestOperation
to authenticate against the server with a designated scope.
- (void)authenticateUsingOAuthWithURLString:(NSString *)urlString scope:(NSString *)scope success:(void ( ^ ) ( IFOAuthCredential *credential ))success failure:(void ( ^ ) ( NSError *error ))failure
Parameters
urlString |
The string to be appended to the HTTP client’s base URL and used as the request URL. |
|---|---|
scope |
The authorization scope |
success |
A block object to be executed when the request operation finishes successfully. This block has no return value and takes a single argument: the OAuth credential returned by the server. |
failure |
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a single argument: the error returned from the server. |
Discussion
Creates and enqueues an AFHTTPRequestOperation
to authenticate against the server with a designated scope.
Declared In
IFOAuth2Client.h
– authenticateUsingOAuthWithURLString:refreshToken:success:failure:
Creates and enqueues an AFHTTPRequestOperation
to authenticate against the server using the specified refresh token.
- (void)authenticateUsingOAuthWithURLString:(NSString *)urlString refreshToken:(NSString *)refreshToken success:(void ( ^ ) ( IFOAuthCredential *credential ))success failure:(void ( ^ ) ( NSError *error ))failure
Parameters
urlString |
The string to be appended to the HTTP client’s base URL and used as the request URL. |
|---|---|
refreshToken |
The OAuth refresh token |
success |
A block object to be executed when the request operation finishes successfully. This block has no return value and takes a single argument: the OAuth credential returned by the server. |
failure |
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a single argument: the error returned from the server. |
Discussion
Creates and enqueues an AFHTTPRequestOperation
to authenticate against the server using the specified refresh token.
Declared In
IFOAuth2Client.h
– authenticateUsingOAuthWithURLString:code:redirectURI:success:failure:
Creates and enqueues an AFHTTPRequestOperation
to authenticate against the server with an authorization code, redirecting to a specified URI upon successful authentication.
- (void)authenticateUsingOAuthWithURLString:(NSString *)urlString code:(NSString *)code redirectURI:(NSString *)uri success:(void ( ^ ) ( IFOAuthCredential *credential ))success failure:(void ( ^ ) ( NSError *error ))failure
Parameters
urlString |
The string to be appended to the HTTP client’s base URL and used as the request URL. |
|---|---|
code |
The authorization code |
success |
A block object to be executed when the request operation finishes successfully. This block has no return value and takes a single argument: the OAuth credential returned by the server. |
failure |
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a single argument: the error returned from the server. |
redirectURI |
The URI to redirect to after successful authentication |
Discussion
Creates and enqueues an AFHTTPRequestOperation
to authenticate against the server with an authorization code, redirecting to a specified URI upon successful authentication.
Declared In
IFOAuth2Client.h
– authenticateUsingOAuthWithURLString:parameters:success:failure:
Creates and enqueues an AFHTTPRequestOperation
to authenticate against the server with the specified parameters.
- (void)authenticateUsingOAuthWithURLString:(NSString *)urlString parameters:(NSDictionary *)parameters success:(void ( ^ ) ( IFOAuthCredential *credential ))success failure:(void ( ^ ) ( NSError *error ))failure
Parameters
urlString |
The string to be appended to the HTTP client’s base URL and used as the request URL. |
|---|---|
parameters |
The parameters to be encoded and set in the request HTTP body. |
success |
A block object to be executed when the request operation finishes successfully. This block has no return value and takes a single argument: the OAuth credential returned by the server. |
failure |
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a single argument: the error returned from the server. |
Discussion
Creates and enqueues an AFHTTPRequestOperation
to authenticate against the server with the specified parameters.
Declared In
IFOAuth2Client.h


Goal
The goal of this exercise is to create a versioned route, as opposed to adding a query paramater to the end of the route. It isn’t simple browser cache busting we are after, but in later posts this technique will be used to feed a CDN.
The stock asp.net core script tag helper looks like this;
<script src="~/lib/jquery/dist/jquery.js"></script>
Our asp.net core script tag helper will look like this;
<p7-script-cbv src="~/lib/jquery/dist/jquery.js"></p7-script-cbv>
The final outcome in HTML will look like this;
<script src="/cb-v/<IP_ADDRESS>5078882/lib/jquery/dist/jquery.js"></script>
There are a couple things we need to do.
- Create our TagHelper
- Make a static FileProvider that serves the correct file.
- Hook it up.
The TagHelper
public class P7ScriptCbvTagHelper : TagHelper
{
private static string _version;
public static string Version
{
private get
{
if (string.IsNullOrEmpty(_version))
{
_version = "not-set";
}
return _version;
}
set { _version = value; }
}
private static string _cbcPrepend;
private static string CBVPrepend
{
get
{
if (string.IsNullOrEmpty(_cbcPrepend))
{
_cbcPrepend = string.Format("/cb-v/{0}/", Version);
}
return _cbcPrepend;
}
}
public override async Task ProcessAsync(TagHelperContext context,
TagHelperOutput output)
{
output.TagName = "script";
var src = output.Attributes["src"];
var finalSrcValue = src.Value.ToString().Replace("~/", CBVPrepend);
output.Attributes.SetAttribute("src", finalSrcValue);
}
}
The FileProvider
Our FileProvider is pretty simple. It uses asp.net core’s PhysicalFileProvider to do the heavy lifting, and only bothers to modify what gets sent as a subpath to the GetFileInfo method.
public class CbvPhysicalFileProvider : IFileProvider, IDisposable
{
int NthOccurence(string s, char t, int n)
{
return s.TakeWhile(c => (n -= (c == t ? 1 : 0)) > 0).Count();
}
private PhysicalFileProvider PhysicalFileProvider { get; set; }
public CbvPhysicalFileProvider(string root)
{
PhysicalFileProvider = new PhysicalFileProvider(root);
}
public IFileInfo GetFileInfo(string subpath)
{
var index = NthOccurence(subpath, '/', 2);
var newSubpath = subpath.Substring(index);
return PhysicalFileProvider.GetFileInfo(newSubpath);
}
public IDirectoryContents GetDirectoryContents(string subpath)
{
return PhysicalFileProvider.GetDirectoryContents(subpath);
}
public IChangeToken Watch(string filter)
{
return PhysicalFileProvider.Watch(filter);
}
public void Dispose()
{
PhysicalFileProvider.Dispose();
}
}
Hook it up
Please refer to your apps Startup.cs file.
public class Startup
{
...
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure( IApplicationBuilder app,
IHostingEnvironment env,
ILoggerFactory loggerFactory)
{
var version = typeof(Startup).GetTypeInfo()
.Assembly
.GetCustomAttribute<AssemblyInformationalVersionAttribute>()
.InformationalVersion;
if (env.EnvironmentName == "Development")
{
version += "."+ Guid.NewGuid().ToString().GetHashCode();
}
P7ScriptCbvTagHelper.Version = version;
...
}
...
}
Done
Pretty simple technique that saves work downstream in build systems where I have seen a lot of work appending unique versions on the end of asset links. With the rise of SPA javascript apps, and their ability to reference assets with relative paths, this can version any link to inject uniqueness.


DataTables Database connection object.
Create a database connection which may then have queries performed upon it.
This is a database abstraction class that can be used on multiple different
databases. As a result of this, it might not be suitable to perform complex
queries through this interface or vendor specific queries, but everything
required for basic database interaction is provided through the abstracted
methods.
Methods summary
public
|
#
__construct( string[] $opts )
Database instance constructor.
Database instance constructor.
Parameters
- $opts
Array of connection parameters for the database:
array(
"user" => "",
"pass" => "",
"host" => "",
"port" => "",
"db" => "",
"type" => ""
)
|
public
boolean
|
#
any( string|string[] $table, array $where = null )
Determine if there is any data in the table that matches the query
condition
Determine if there is any data in the table that matches the query
condition
Parameters
- $table
- Table name(s) to act upon.
- $where
Where condition for what to select - see Query::where.
Returns
boolean Boolean flag - true if there were rows
|
public
DataTables\Database
|
#
commit( )
Commit a database transaction.
|
public
Number
|
#
count( string|string[] $table, string $field = "id", array $where = null )
Get a count from a table.
Get a count from a table.
Parameters
- $table
- Table name(s) to act upon.
- $field
- Primary key field name
- $where
Where condition for what to select - see Query::where.
Returns
Number
|
public
boolean|DataTables\Database
|
#
debug( boolean $set = null )
Get / set debug mode.
Parameters
- $set
- $_ Debug mode state. If not given, then used as a getter.
Returns
boolean| DataTables\Database Debug mode state if no parameter is given, or
self if used as a setter.
|
public
DataTables\Database\Result
|
#
delete( string|string[] $table, array $where = null )
Perform a delete query on a table.
Perform a delete query on a table.
This is a short cut method that creates an update query and then uses
the query('delete'), table, where and exec methods of the query.
Parameters
- $table
- Table name(s) to act upon.
- $where
Where condition for what to delete - see Query::where.
Returns
|
public
DataTables\Database\Result
|
#
insert( string|string[] $table, array $set, array $pkey = '' )
Insert data into a table.
Insert data into a table.
This is a short cut method that creates an update query and then uses
the query('insert'), table, set and exec methods of the query.
Parameters
- $table
- Table name(s) to act upon.
- $set
Field names and values to set - see Query::set.
- $pkey
Primary key column names (this is an array for
forwards compt, although only the first item in the array is actually
used). This doesn't need to be set, but it must be if you want to use
the Result->insertId() method.
Returns
|
public
DataTables\Database\Result
|
#
push( string|string[] $table, array $set, array $where = null, array $pkey = '' )
Update or Insert data. When doing an insert, the where condition is
added as a set field
Update or Insert data. When doing an insert, the where condition is
added as a set field
Parameters
- $table
- Table name(s) to act upon.
- $set
Field names and values to set - see Query::set.
- $where
Where condition for what to update - see Query::where.
- $pkey
Primary key column names (this is an array for
forwards compt, although only the first item in the array is actually
used). This doesn't need to be set, but it must be if you want to use
the Result->insertId() method. Only used if an insert is performed.
Returns
|
public
DataTables\Database\Query
|
#
query( string $type, string|string[] $table = null )
Create a query object to build a database query.
Create a query object to build a database query.
Parameters
- $type
- Query type - select, insert, update or delete.
- $table
- Table name(s) to act upon.
Returns
|
public
string
|
#
quote( string $val, string $type = \PDO::PARAM_STR )
Quote a string for a quote. Note you should generally use a bind!
Quote a string for a quote. Note you should generally use a bind!
Parameters
- $val
- Value to quote
- $type
- Value type
Returns
string
|
public
DataTables\Database\Result
|
#
raw( )
Create a Query object that will execute a custom SQL query. This is
similar to the sql method, but in this case you must call the exec()
method of the returned Query object manually. This can be useful if you
wish to bind parameters using the query bind method to ensure data is
properly escaped.
Create a Query object that will execute a custom SQL query. This is
similar to the sql method, but in this case you must call the exec()
method of the returned Query object manually. This can be useful if you
wish to bind parameters using the query bind method to ensure data is
properly escaped.
Returns
Example
Safely escape user input
$db
->raw()
->bind( ':date', $_POST['date'] )
->exec( 'SELECT * FROM staff where date < :date' );
|
public
resource
|
#
resource( )
Get the database resource connector. This is typically a PDO object.
Get the database resource connector. This is typically a PDO object.
Returns
resource PDO connection resource (driver dependent)
|
public
DataTables\Database
|
#
rollback( )
Rollback the database state to the start of the transaction.
|
public
DataTables\Database\Result
|
#
select( string|string[] $table, array $field = "*", array $where = null, array $orderBy = null )
Select data from a table.
Select data from a table.
This is a short cut method that creates an update query and then uses
the query('select'), table, get, where and exec methods of the query.
Parameters
- $table
- Table name(s) to act upon.
- $field
Fields to get from the table(s) - see Query::get.
- $where
Where condition for what to select - see Query::where.
- $orderBy
Order condition - see Query::order.
Returns
|
public
DataTables\Database\Result
|
#
selectDistinct( string|string[] $table, array $field = "*", array $where = null, array $orderBy = null )
Select distinct data from a table.
Select distinct data from a table.
This is a short cut method that creates an update query and then uses the
query('select'), distinct ,table, get, where and exec methods of the
query.
Parameters
- $table
- Table name(s) to act upon.
- $field
Fields to get from the table(s) - see Query::get.
- $where
Where condition for what to select - see Query::where.
- $orderBy
Order condition - see Query::order.
Returns
|
public
DataTables\Database\Result
|
#
sql( string $sql )
Execute an raw SQL query - i.e. give the method your own SQL, rather
than having the Database classes building it for you.
Execute an raw SQL query - i.e. give the method your own SQL, rather
than having the Database classes building it for you.
This method will execute the given SQL immediately. Use the raw()
method if you need the ability to add bound parameters.
Parameters
- $sql
- SQL string to execute (only if _type is 'raw').
Returns
Example
Basic select
$result = $db->sql( 'SELECT * FROM myTable;' );
Set the character set of the connection
$db->sql("SET character_set_client=utf8");
$db->sql("SET character_set_connection=utf8");
$db->sql("SET character_set_results=utf8");
|
public
DataTables\Database
|
|
public
DataTables\Database\Result
|
#
update( string|string[] $table, array $set = null, array $where = null )
Update data.
This is a short cut method that creates an update query and then uses
the query('update'), table, set, where and exec methods of the query.
Parameters
- $table
- Table name(s) to act upon.
- $set
Field names and values to set - see Query::set.
- $where
Where condition for what to update - see Query::where.
Returns
|


A short intro I was listening to the Random Kanye episode of Linear Digressions (100% recommend!) and wanted to try Markov chain poetry for myself. Admittedly, the only...


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 2
A creamy fish curry with just enough spice, power it up with sweet potato and spinach to get you on your way to five a day.
For the spice paste, place all of the spice paste ingredients into a food processor and blend until smooth. (You can use a pestle and mortar for this, too.)
For the curry, heat the vegetable oil in a wok and gently fry the onion and garlic for 4-5 minutes, or until softened. Add the sweet potato, curry powder and cumin and continue to fry for further 5-10 minutes, until the sweet potato has softened, then add the fish and two tablespoons of the spice paste. Stir to coat the fish in the spices, then add the coconut milk and bring to a gentle simmer.
Stir in the baby spinach leaves, lime juice and season with salt, to taste. Cook for another 2-3 minutes, then stir in the coriander.
Spoon the curry into a bowl and serve.


Friends
It’s dangerous to go alone, it is said. Hoodie would not be where it is today without many other communities whose software it’s based on, as well as the individuals and organisations who have been or are supporting it. This is why we want to say a big and loud thank you to:


with A. Gupta; Review of Financial Studies, 35(2): 720-770. (2022).
Yuki Arai Faculty Research Prize Honorable Mention
with J. Hjort, G. León and M. Teachout; Journal of Political Economy, 128(9): 3570-3625. (2020).
2018 Oliver Williamson Award at SIOE
with J. Hjort and G. León; Journal of the European Economic Association, 17(3): 876-916. (2019).
with E. Frenchman and A. Gupta; Journal of Legal Studies, 45(2): 471-505. (2016).
Coverage: Atlantic, Vox, Pacific Standard
with G. Conti; Journal of Health Economics (Note), 32(2): 480-485. (2013).
with G. Conti, J.J. Heckman, M. Novak, A.M. Ruggiero and S.J. Suomi; Proceedings of the National Academy of Sciences, 109(23): 8866-8871. (2012).
with H. Hong, W. Jiang, J. Liu and J. J. Meng;
Revise and Resubmit, Review of Financial Studies
with A. Gupta and P. Mabille
with A. Gupta and E. Riehl
with Z. Y. Brown, J. Keener and A. Veiga
with H. Hong, A. de Paula and V. Singh
Coverage: Wall Street Journal, Chicago Booth Review
with C. Custódio and D. Mendes


Design Decisions¶
The various Android Societies components will require some GUI/user interaction. For example, CSS registration, activity feeds, User interaction Monitor etc. Rather than having each component create its own GUI activity(s), it is proposed that a single GUI will be created to cover all aspects of user interaction with the Societies Core Services (WP4) and the various WP5 functionalities layered on top. This design decision will allow the the following:
- A single integrated GUI to control and allow user interaction with the Societies Android client
- Encourage a consistent user experience
- Allow steamlined user interaction flows to be developed
- Encourage consistent user notifications and dialogs
The decision has also been made to use Web-based activities rather than native-based activities in conjunction with PhoneGap and JQueryMobile. This will mean that the screens will be composed of HTML5+CSS with JQueryMobile attributes and the use of Javascript to add and control dynamic content. Some benefits that flow from this set of tools are:
- Allow for the porting of the Societies Light Client to other potential mobile operating systems and a future date leveraging PhoneGap
- JQueryMobile will provide a lot of the page navigation, AJAX and user events functionality along with page animation effects, theming and cross browser consistency
- PhoneGap provides an existing Javascript API to access device resources such as addresss books, sensors and connectivity with an extensible plugin architecture
- Non-programming web designer personnel can work on the HTML+CSS aspects of the client
- Developers can concentrate on the Javascript and Javacsript-Native PhoneGap plugins (Java classes) to extend the PhoneGap API and provide additional Societies functionality
- The HTML+CSS+Javascript code base can be used for non-Android browser-based development with minimal changes
Guidelines for Component Design¶
Running the GUI application¶
There are three ways of getting a Android GUI application working:- Browser: As the content is HTML based, point any browser at your local Git repository using a localised version of the following URI: "file:///<local path>/SOCIETIES-Platform/platform-infrastructure/client-frwk/MasterGUI/assets/www/index.html". The main page of the application should appear.
- Android Emulator: This option will require the installation of the Android SDK, the creation of an Android Virtual Device of the name "Test22Device" and supporting Android 2.2. Compile the MasterGui project using Maven or even easier, Eclipse, start the relevant AVD, deploy the application and run the app. The running of the application can be slow and HTML pages look longer than expected.
- Android Device: This option is similar to the above option except that the application is deployed and run on an actual Android device that is at least Android 2.2. This option is the best for reviewing the final build in terms of speed, layout and whether there are any phone specific browser problems.
What is PhoneGap?¶
PhoneGap is a platform for building mobile application using Web technologies: HTML, CSS and Javascript. Mobile platforms like Android, iPhone or Blackberry are not ready yet to manage such application, that is why PhoneGap is filling in the gap by providing a plugin system to use native call through Javascript.
To resume, PhoneGap is providing:
- a PhoneGap Builder: a way to embed an HTML, CSS, Javascript web application into a mobile application (Android, iPhone, Blackberry and others)
- a PhoneGap API: native PhoneGap plugins
(see next point) to access:
- Javascript standard APIs not yet available on mobile platform (e.g. HTML5 WebSocket , ...)
- well-known controls and actions on mobile device not (totally) yet defined as standards (e.g. access the contact list, make a call, ...)
- a PhoneGap Plugin system to enlarge
Javascript possibilities by using native call
- a set of PhoneGap plugin is already available: PhoneGap plugins list
PhoneGap is an open source project recently lead by Adobe and incubated by the Apache Cordova project . “PhoneGap” may be renamed “Cordova” in a near future.
Resources¶
- PhoneGap Get Started Guide: http://phonegap.com/start/
- PhoneGap Wiki: http://wiki.phonegap.com/w/page/16494772/FrontPage
- PhoneGap Plugins Creation / Installation: http://wiki.phonegap.com/w/page/36752779/PhoneGap%20Plugins
- Android PhoneGap Plugins Creation / Installation: http://wiki.phonegap.com/w/page/36753494/How%20to%20Create%20a%20PhoneGap%20Plugin%20for%20Android
- Custom PhoneGap Plugin List: https://github.com/phonegap/phonegap-plugins
- PhoneGap Google Group (very active): https://groups.google.com/forum/?fromgroups#!forum/phonegap
- Some PhoneGap Tutorials: http://www.mobiledevelopersolutions.com/home/start/twominutetutorials
Tutorials¶
- How to Create a PhoneGap Plugin
- Tips to Manage the JSON Format (using Javascript, Java and Android)


Patch Adams (1998) Robin Williams, Daniel London, Monica Potter, Philip Seymour Hoffman, Bob Gunton, Josef Sommer, Irma P. Hall, Frances, James Greene, Michael Jeter, Harold Gould, Richard Kiley. Produced by Barry Kemp, Mike Farrell, Marvin Minoff, Charles Newirth. Screenplay by Steve Oedekerk, based on the book "Gesundheit: Good Health is a Laughing Matter" by Hunter Doherty Adams and Maureen Mylander. Directed by Tom Shadyac. 110 minutes PG-13, 1 star (out of five stars)
Review by Ed Johnson-Ott, NUVO Newsweekly www.nuvo-online.com Archive reviews at http://us.imdb.com/M/reviews_by?Edward+Johnson-ott To receive reviews by e-mail at no charge, send subscription requests to<EMAIL_ADDRESS>The most annoying of several cloying holiday films, ''Patch Adams'' takes the true story of a '70s medical student who defied school authorities with his humorous, personal approach to patient care, and twists it into yet another platform for Robin Williams to ham it up. The human Care Bear chucks all the restraint he displayed in ''Good Will Hunting'' and returns to his tired shtick, careening between manic cornball gags and mawkish sentimentality. The whole thing plays like a really long Robin Williams' talk show appearance with a plot slapped on.
Williams plays Hunter ''Patch'' Adams, a real-life doctor who currently operates a highly unorthodox clinic in West Virginia. His interest in medicine began in 1969, when he became suicidal and committed himself to a mental hospital, only to discover that his contacts with fellow patients were more therapeutic than sessions with his doctors.
Adams' real-life story, documented in the 1993 book ''Gesundheit: Good Health is a Laughing Matter,'' is fascinating, but the film version is simply painful, turning mainstream doctors into cardboard villains and allowing Williams 110 minutes of insufferable self-indulgence. Robin Williams deserved his Best Supporting Actor Oscar for ''Good Will Hunting. '' His performance was tight, controlled and compelling; everything that is absent here. Williams is the sort of performer who requires a director to reign him in, protecting the actor from his own worst tendencies. In ''Patch Adams,'' he simply runs amok.
The film pits Adams against paper tigers, presenting traditional doctors as anal-retentive, self-righteous prigs. I found the blanket portrayal offensive, an insult to the many dedicated, overworked men and women who tirelessly devote themselves to quality patient care, often at the expense of their own well-being. If you believe this film, Patch was a red-nosed missionary, a medical superhero single-handedly fighting arrogant, uncaring pill-dispensers in the name of truth, justice and the Borscht-belt way. I didn't buy it for a second.
Adams' chief nemesis is Dean Walcott (Bob Gunton), a character with absolutely no depth or humanity, given to statements like ''we will rigorously and ruthlessly train the humanity out of you and turn you into something better.'' He fumes nonstop at Adams, raging over the Patch's attempts to ''bring us down to their level.'' Continuing the stereotyping, the film presents all nurses as uniformly sympathetic, twinkling angels beaten into submission by the evil doctors and all too happy to assist Patch in his whoopee-cushion quest.
The film engages in non-stop emotional manipulation, stretching situations to ridiculous lengths to make Patch Adams a comic martyr. Watch Patch restore an elderly woman's will to live by plopping her into a vat of noodles! See Adams break the shell of a hateful cancer patient, bonding with him so completely that the man shoos his wife and children away from his deathbed, so he can spend his last moments on Earth with Patch! Gaze in amazement as the filmmakers wrap up the movie with a hearing in front of a medical board, allowing Williams one more opportunity to deliver a maudlin speech.
Or better yet, don't. Avoid this parade of clichéd schmaltz and read the book instead. It has to contain more truth than this syrupy disaster. At one point, a fellow student turns to Patch Adams and says ''God, you're being so self-indulgent!'' If only the director could have had the courage to say the same thing to Robin Williams.
© 1998 Ed Johnson-Ott
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


Global Name Service Research Group
Publications
-
Sep 2011R3: Robust Replication Routing in Wireless Networks with Diverse Connectivity Characteristics
Xiaozheng Tie, Arun Venkataramani, Aruna Balasubramanian
ACM MOBICOM, September 2011.
Download it here. -
Apr 2011Beyond MLU: An Application-Centric Comparison of Traffic Engineering Schemes
-
Apr 2011ZZ and the Art of Practical BFT Execution
Tim Wood, Rahul Singh, Arun Venkataramani, Emmanuel Cecchet, Prashant Shenoy
ACM SIGOPS EuroSys, April 2011.
Download it here. -
Apr 2011Anticipatory Wireless Bitrate Control for Blocks
-
Sep 2011R3: Robust Replication Routing in Wireless Networks with Diverse Connectivity Characteristics
Xiaozheng Tie, Arun Venkataramani, Aruna Balasubramanian
ACM MOBICOM, September 2011.
Download it here. -
Apr 2011Beyond MLU: An Application-Centric Comparison of Traffic Engineering Schemes
-
Apr 2011ZZ and the Art of Practical BFT Execution
Tim Wood, Rahul Singh, Arun Venkataramani, Emmanuel Cecchet, Prashant Shenoy
ACM SIGOPS EuroSys, April 2011.
Download it here. -
Apr 2011Anticipatory Wireless Bitrate Control for Blocks
-
Sep 2011R3: Robust Replication Routing in Wireless Networks with Diverse Connectivity Characteristics
Xiaozheng Tie, Arun Venkataramani, Aruna Balasubramanian
ACM MOBICOM, September 2011.
Download it here. -
Apr 2011Beyond MLU: An Application-Centric Comparison of Traffic Engineering Schemes
-
Apr 2011ZZ and the Art of Practical BFT Execution
Tim Wood, Rahul Singh, Arun Venkataramani, Emmanuel Cecchet, Prashant Shenoy
ACM SIGOPS EuroSys, April 2011.
Download it here. -
Apr 2011Anticipatory Wireless Bitrate Control for Blocks
-
Sep 2011R3: Robust Replication Routing in Wireless Networks with Diverse Connectivity Characteristics
Xiaozheng Tie, Arun Venkataramani, Aruna Balasubramanian
ACM MOBICOM, September 2011.
Download it here. -
Apr 2011Beyond MLU: An Application-Centric Comparison of Traffic Engineering Schemes
-
Apr 2011ZZ and the Art of Practical BFT Execution
Tim Wood, Rahul Singh, Arun Venkataramani, Emmanuel Cecchet, Prashant Shenoy
ACM SIGOPS EuroSys, April 2011.
Download it here. -
Apr 2011Anticipatory Wireless Bitrate Control for Blocks


Home
Join/Login
Online Tools
Forums
C/C++ Compiler
Java Compiler
Python Compiler
Html Compiler
Graph Editor
Red/Black Tree Visualization
Virtual Box
Oracle Database Manager
AI Assistant


Package com.google.api
Interface DocumentationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Documentation
,Documentation.Builder
public interface DocumentationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe URL to the root of documentation.com.google.protobuf.ByteString
The URL to the root of documentation.Declares a single overview page.com.google.protobuf.ByteString
Declares a single overview page.getPages
(int index) The top level pages for the documentation set.int
The top level pages for the documentation set.The top level pages for the documentation set.getPagesOrBuilder
(int index) The top level pages for the documentation set.List<? extends PageOrBuilder>
The top level pages for the documentation set.getRules
(int index) A list of documentation rules that apply to individual API elements.int
A list of documentation rules that apply to individual API elements.A list of documentation rules that apply to individual API elements.getRulesOrBuilder
(int index) A list of documentation rules that apply to individual API elements.List<? extends DocumentationRuleOrBuilder>
A list of documentation rules that apply to individual API elements.Specifies the service root url if the default one (the service name from the yaml file) is not suitable.com.google.protobuf.ByteString
Specifies the service root url if the default one (the service name from the yaml file) is not suitable.A short summary of what the service does.com.google.protobuf.ByteString
A short summary of what the service does.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSummary
String getSummary()A short summary of what the service does. Can only be provided by plain text.
string summary = 1;
- Returns:
- The summary.
-
getSummaryBytes
com.google.protobuf.ByteString getSummaryBytes()A short summary of what the service does. Can only be provided by plain text.
string summary = 1;
- Returns:
- The bytes for summary.
-
getPagesList
The top level pages for the documentation set.
repeated .google.api.Page pages = 5;
-
getPages
The top level pages for the documentation set.
repeated .google.api.Page pages = 5;
-
getPagesCount
int getPagesCount()The top level pages for the documentation set.
repeated .google.api.Page pages = 5;
-
getPagesOrBuilderList
List<? extends PageOrBuilder> getPagesOrBuilderList()The top level pages for the documentation set.
repeated .google.api.Page pages = 5;
-
getPagesOrBuilder
The top level pages for the documentation set.
repeated .google.api.Page pages = 5;
-
getRulesList
List<DocumentationRule> getRulesList()A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3;
-
getRules
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3;
-
getRulesCount
int getRulesCount()A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3;
-
getRulesOrBuilderList
List<? extends DocumentationRuleOrBuilder> getRulesOrBuilderList()A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3;
-
getRulesOrBuilder
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3;
-
getDocumentationRootUrl
String getDocumentationRootUrl()The URL to the root of documentation.
string documentation_root_url = 4;
- Returns:
- The documentationRootUrl.
-
getDocumentationRootUrlBytes
com.google.protobuf.ByteString getDocumentationRootUrlBytes()The URL to the root of documentation.
string documentation_root_url = 4;
- Returns:
- The bytes for documentationRootUrl.
-
getServiceRootUrl
String getServiceRootUrl()Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.
string service_root_url = 6;
- Returns:
- The serviceRootUrl.
-
getServiceRootUrlBytes
com.google.protobuf.ByteString getServiceRootUrlBytes()Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.
string service_root_url = 6;
- Returns:
- The bytes for serviceRootUrl.
-
getOverview
String getOverview()Declares a single overview page. For example:
documentation: summary: ... overview: (== include overview.md ==)
 This is a shortcut for the following declaration (using pages style):
documentation: summary: ... pages: - name: Overview content: (== include overview.md ==)
 Note: you cannot specify both `overview` field and `pages` field.
string overview = 2;
- Returns:
- The overview.
-
getOverviewBytes
com.google.protobuf.ByteString getOverviewBytes()Declares a single overview page. For example:
documentation: summary: ... overview: (== include overview.md ==)
 This is a shortcut for the following declaration (using pages style):
documentation: summary: ... pages: - name: Overview content: (== include overview.md ==)
 Note: you cannot specify both `overview` field and `pages` field.
string overview = 2;
- Returns:
- The bytes for overview.
-


{% extends "sphene/sphboard/base.html" %}
{% load i18n %}
{% load sphboard_extras %}
{% block content %}
{% blocktrans with th.root_post.subject|escape as subject and th.category.name as category %}Delete information about moved thread: {{ subject }} from category {{ category }}{% endblocktrans %}


Blur convert image.
Grayscale of convert image.
Add magnify to zoom in in both original image and convert image. Warning: This only available in preview mode.
Upload more images. Warning: this is beta tool
Change between compare mode and preview mode.
Name of original image.
Size of original image.
Select option for output file type.
Change width and height of output file without change scale of original image.
Change quality of output file. Warning: Can not change quality of png and bmp because of lossless type.
Progress bar of convert image.
0B
Size of file after convert the original image.
Click to start convert the original image.
Click to delete the original image. Warning: Can not undo this action.


Bilal Khan
283-D1 Johar Town Lahore, Pakistan
Ph: +92-326222446
________________________________________________________________________________________________________________________________________________________________________________________________________
Objective
To leverage my 5+ years of client-facing experience, public speaking skills,
and expertise in the Web Development industry into a public relations role
with the client.
Education
1. BSCS University of Lahore.
2. M.Phil University of Califonia Los Angeles.
Skills
- Languages
- HTML/XML/JavaScript
- C/C++/Java
- Casscading Style Sheet
- Web Technologies
- Databases
- Oracle
- SQL Server
- MS Access
Experience
| Organization |
Position |
Duration |
| Tech Today |
Programmer |
January 2014 to April 2015 |
| Soft Vision |
Web Developer |
May 2015 to March 2017 |
| Palm Heights |
Team Leader |
March 2017 to August 2017 |
Interest and Activities
- Cricket
- Literature
- Gardening


I'm a full-stack developer with experience in various blockchain-related projects.
Interested in technologies which empower the individual, user experiences that feel good, services that don't track you and low-level programming.
===============
Work experience
===============
Atix Labs
=========
August 2017 - September 2020
Software developer / project leader. Linux Evangelist.Non-comprehensive list of projects:
Tokkenit
--------
Token-based loyalty engine.Role: Software developer
Technologies used: Ionic, Angular, Javascript, HTML, CSS, Python.
Noteworthy tasks:
- Development of mobile apps which interacted with ERC20 tokens.
- Integration of a Ledger Nano S into a web frontend.
Eurocoin
--------
Monero-based stablecoinRole: Software developer
Technologies used: C++, Node.js
Noteworthy tasks:
- Development of a standalone C++ module responsible for Monero-specific cryptography (eg: determine transaction ownership)
- Integration of the aforementioned module into a Node.js blockchain importer/wallet, with performance considerations.
- Minor contributions to upstream libraries.
SRDF
----
Platform responsible for the collection and conversion of files generated by telephone infrastructure.Role: Software developer
Technologies used: Java, Hibernate, Unix
Noteworthy tasks:
- Unix system administration.
Money on Chain
--------------
RSK-based platform for a stablecoin (Dollar On Chain), a token which earns its holders passive income (BitPro) and a leveraged element (BTCX) for traders looking to benefit on long positions.Role: Software developer
Technologies used: React, Meteor, web3
Noteworthy tasks:
- Contributed to the React-based frontend for the Money on Chain platform.
- Contributed to the Javascript-based backend.
Money on Chain Decentralized Exchange
-------------------------------------
Orderbook based decentralized exchange, with a focus on front-running mitigation. Role: Project leader
Technologies used: Solidity, Truffle, Meteor, web3
Noteworthy tasks:
- Project's research and specification.
- Smart contract development.
- Mentoring of team members.
Cardano Wallet example
----------------------
An alternative implementation of a cardano wallet, based on Electron and using wasm bindings for blockchain primitives.Role: Individual contributor
Technologies used: Redux, wasm, Electron, React
Noteworthy tasks:
- Bugging my manager about migrating the project to a PWA every chance I got.
- Minor contributions to Jormungandr node.
- First project that's open source from the very beggining.
Givetrack
---------
A platform to enable NGOs to receive donations via Bitcion, with a focus on donation tracking for transparency.Role: Individual contributor
Technologies used: BitGo, React, node.js, Sphinx
Noteworthy tasks:
- Worked with the client to spec out an integration with BitGo.
- Wrote detailed technical documentation for said integration.
- Defined user experience and security considerations.
Protofire
=========
September 2020 - now
Solidity developer.Non-comprehensive list of projects:
The Graph
---------
A decentralized protocol with the goal of creating an open market for the backend infrastructure of evm-using projects.Role: Subgraph developer
Technologies used: Assemblyscript, The Graph, Ethereum.
Noteworthy tasks:
- Subgraph spec and development. Wrote proposals to clients.
- Pitched to upper management the idea of rejecting a client because their product was fraudulent. Made a token economics analysis to prove it.
Super Secret Client
-------------------
Research and development of a platform to enable users to have exposure to baskets of both on-chain and off-chain assets.Role: Researcher and sometimes developer
Technologies used: Set Protocol, many stablecoin & synthetics platforms.
Noteworthy tasks:
- Performed research to guide product-wide decisions.
- Developed & demoed numerous proofs of concept.
- Developed tooling for the operations team, alongside documentation and some training.
Veinte
======
June 2019 - October 2019
A venezuela-based platform to trade with crypto and foreign currencies.First fully remote and freelance role.
Role: Solidity developer.
University of Buenos Aires
==========================
March 2016 - April 2019
Algorithms and Programming I Ad-Honorem Teacher Assistant. Teaching of both practical and theoretical classes in the C programming language.
Assignment grading.
Writing and review of class notes.
================
Formal education
================
University of Buenos Aires
==========================
March 2014 - now
Licenciatura en Análisis de Sistemas. Ongoing. I'll get nervous if you ask me about it.
===============
Other interests
===============
Self-hosting: I run my own Nextcloud instance, and host this website, my blog and a few other things.
Web minimalism: I believe the web can be fast, lean and decentralized. This is why I use this website instead of Linkedin, Pelican instead of Medium, and Nextcloud Syncthing instead of Google Drive, for example.
Lean, fast user interfaces: I like software that feels good to use and doesn't add unnecessary bloat. Vim, i3wm and qutebrowser are some examples. Config files for those can be found at my Github.
Cycling, inline skating: It feels like using a good keyboard, but outdoors.
Low-level programming: I like throwing memory around, and interacting with hardware from a software perspective. Operating Systems has been my favourite subject at university so far. I (ironically) made a mate with WiFi, and (unironically) use my fork of suckless st terminal emulator.


From our very inception, EA-Optimised has been providing effective and cost efficient Enterprise and Solution Architectures. Today, we continue the tradition with the design and implementation of high performance architecture for the Cloud.
We realise that a factor slowing Cloud adoption is that customers are reluctant to be locked into a particular provider, and that is why today we offer solutions that are capable of spanning hybrid and multi Cloud platforms ensuring that your organisation is in control and has the greatest possible flexibility.
Contact our Architecture team, and they will help you avoid the pitfalls and lockins that could impact your value proposition.


Naive Bayes Algorithm
This markdown file is to give you a detailed and easy-to-understand explaination of WHAT the famous Naive Bayes algorithm is and WHY it is used widely in the field of machine learning.
What is Naive Bayes ?
- Naive Bayes is a probability based machine learning algorithm that is used for large volumes of data.
- It gives very good results when it comes to NLP tasks such as sentimental analysis.
- It is a fast and uncomplicated classification algorithm.
- It is based on the Bayes Theorem with an assumption of independence among predictors.
What are it's applications ?
- Real Time Prediction: As Naive Bayes has low Time Complexity, it can be easily deployed and used for real time applications.
- Multi-Class Prediction: The algorithm can be used in multi-class prediction scenario as it can predict the posterior probability of mulltiple classes of the target variable.
- Natural Language Processing: Because of their good performance in multi-class settings, Naive
Bayes tends to be very useful in NLP applications like:
- Text Classification
- Spam Filtering
- Sentiment Analysis, etc.
- Recommendation Systems: It helps in recommendation system because of probabilistic prediction ability and low time complexity.
Types of Naive Bayes Algorithms:
- Gaussian Naive Bayes:
- Used in Classification
- Assumes that features follow normal distribution
- Multinomial Naive Bayes:
- Suitable for classification with discrete features, e.g., word count for text classification.
- Bernoulli Naive Bayes:
- Used for data that is distributed according to multivariate Bernoulli distributions.
- Features should be independent booleans.
Why is Naive Bayes so naive ?
- Naive Bayes (NB) is ‘naive’ because it makes the assumption that features of a measurement are independent of each other.
Pros and Cons of Naive Bayes:
Pros :
- Highly extensible and fast algorithm , Time Complexity:O(nK), where n is the number of features and K is the number of class lables.
- Performs well in both binary and multi-class settings.
- When assumption of independence holds, a Naive Bayes classifier performs better compare to other models like logistic regression and you need less training data.
- Performs well whin data is categorical or normally distributed.
- Can be easily trained on small datasets and can be used for large ones as well.
Cons :
- The main disadvantage of the NB is considering all the variables independent that contributes to the probability.
- If categorical variable has a category (in test data set), which was not observed in training data set, then model will assign a 0 (zero) probability and will be unable to make a prediction. This is often known as “Zero Frequency”. To solve this, we can use the smoothing techniques like Laplace or Additive smoothing.
You can learn more about this topic fromhere.


Every used car currently on the Hong Kong market.
Brand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Year
2015
2014 onwards
2013 onwards
2012 onwards
2011 onwards
2010 onwards
2009 onwards
2008 onwards
2007 onwards
2006 onwards
Before 2006
Price Range
Less than $100,000
$100,000 - $199,999
$200,000 - $299,999
$300,000 - $399,999
$400,000 - $499,999
$500,000 - $749,999
$750,000 - $999,999
$1,000,000 - $1,499,999
$1,500,000 - $1,999,999
$2,000,000 or more
Filter
Reset
«
1
2
3
4
5
»
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
View Listing
Back To Top


Documentation
Introduction
Using BeHappy
Add-Ons
Development kit
the latest version and add-ons can be found on
my web page
.
BeHappy ©1999-2001 Sylvain Tertois


Nimbus JOSE+JWT
Nimbus JOSE+JWT implements the Javascript Object Signing and Encryption (JOSE)
spec suite and the closely related JSON Web Token (JWT) spec.
The library supports creating, querying, serialising and parsing of the
following JOSE and JWT objects:
- {@link com.nimbusds.jose.PlainObject Plain (unsecured) JOSE objects}.
- {@link com.nimbusds.jose.JWSObject JSON Web Signature (JWS) objects}.
- {@link com.nimbusds.jose.JWEObject JSON Web Encryption (JWE) objects}.
- {@link com.nimbusds.jose.JWK JSON Web Key (JWK) objects} and
{@link com.nimbusds.jose.JWKSet JSON Web Key (JWK) Sets}.
- {@link com.nimbusds.jwt.PlainJWT Plain},
{@link com.nimbusds.jwt.SignedJWT signed} and
{@link com.nimbusds.jwt.EncryptedJWT encrypted}
{@link com.nimbusds.jwt.JWT JSON Web Tokens (JWTs)}.
The JOSE and JWT object representation is completely decoupled from JSON Web
Algorithm (JWA) implementations through a set of simple interfaces for signing,
validating, encrypting and decrypting the objects.
The library currently ships a ready {@link com.nimbusds.jose.crypto implementation}
of the following standard algorithms:
- HMAC signatures with HS256, HS384 and HS512.
- RSA signatures with RS256, RS384 and RS512.
- EC signatures with ES256, ES384 and ES512.
Related IETF drafts:
Dependencies:
- Apache Commons Codec for Base64 and Base64URL encoding and decoding.
- JSON Smart for highly efficient parsing and serialisation of JSON.
- [optional] The BouncyCastle.org cryptography provider for Java, for
ECDSA signing and validation.


Use the following buttons to apply different viewport scales to the Missouri State University logo. The dashed line indicates the applied viewport boundaries.


A Multimodal Approach to Unconcealing our Networked Ecology
Uncover your networked ecology
Examine the individual parts that combine into the whole
Play within the constarints and affordances of technology
Language and communicate your understandings
If you're using our tools, we'd love to get educator and student feedback. SEE SURVEY
Want more everyday coding tools? Check out Pitt Fuego


--- layout: post title: ! '"Polyfills" for backwards compatibility' tags: [] status: publish type: post published: true meta: {} ---
Modernizr has an awesome list of HTML 5 "Polyfills" (fallbacks to provide new features in older browsers with the same new API):


Welcome to my personal cosplay page
I enjoy changing character and have photo shoot on different concepts!
To fufill my desire turing myself into my favorite character!
New picture of royal concept
After getting many compliment and support, I start to dig more deep inside the industries my buyfor me a DSL camera and having my own photographer
it was very interesting and fun to learn and create my own concept which extrmely convenient andpopular among internet!


Home
About This Website
About The Developer
Contact The Developer
Find Best Selling Books in Many Different Categories This Week
Select a category from the below menu and click Submit
Hardcover Nonfiction
Combined Print & E-Book Fiction
Combined Print & E-Book Nonfiction
Hardcover Fiction
Paperback Trade Fiction
Paperback Nonfiction
Advice, How-To & Miscellaneous
Children’s Middle Grade Hardcover
Children’s Picture Books
Children’s Series
Young Adult Hardcover


|
enable - True to enable w-buffering rendering, False to disable.
The default WBuffer mode is True for 16-bit colour mode, False for 24-bit and 32-bit. |
|
Enables or disables w-buffering.
W-buffering is a technique used to draw 3D object in order of their depth - i.e. the ones furthest away from the camera first, then the ones closer to the camera, and so on. Normally, z-buffering is used to perform such a technique, but a z-buffer can be slightly inaccurate in 16-bit colour mode, for which the level of precision is less than in 24-bit or 32-bit colour modes. This means that in some situations, objects will appear to overlap each other when they shouldn't and so on. To compensate for this, you can use w-buffering. This is a slightly more accurate technique than z-buffering, although it may be less compatible on some set-ups than z-buffering. |


Deep Learning Concept 2: mAP on object detection
Object detection model evaluation has two parts: what object it is (classification) and where it is (localization).
To evaluate the classification part, there are two useful metrics: precision and recall. They are defined as
Precision says how many correct objects are detected out of all detected objects. Recall says how many correct objects are detected out of all labelled objects. There is a inverse relationship between precision and recall. The higher precision is, the lower recall is and vice versa. To compare two classification algorithm, you can directly compare the two curves. However we have one problem here: most curves are zigzagged, meaning the two curve you compare will intersects a lot. Therefore, an reasonable way to compare these curve is to calcualte the area under curve (AUC). We define AP as
where and are the precision and recall at the nth threshold.
Up till now, we are only evaluating classification result. To evaluate localization, we need to calculate intersection over union (IoU). We define a correct object detection as one with IoU larger than a threshold. Then mAP is defined as average AP among all IOU threshold<EMAIL_ADDRESS>means the mAP with IoU=0.75


| .clear_cache | Clear function cache |
| dictionary_draft_picks | Data Dictionary: Draft Picks |
| dictionary_ff_playerids | Data Dictionary: Fantasy Player IDs |
| dictionary_ff_rankings | Data Dictionary: Fantasy Football Rankings |
| dictionary_nextgen_stats | Data Dictionary: Next Gen Stats |
| dictionary_pbp | Data Dictionary: Play by Play |
| dictionary_pfr_passing | Data Dictionary: PFR Passing |
| dictionary_player_stats | Data Dictionary: Player Stats |
| dictionary_rosters | Data Dictionary: Rosters |
| dictionary_schedules | Data Dictionary: Schedules |
| dictionary_snap_counts | Data Dictionary: Snap Counts |
| load_depth_charts | Load Weekly Depth Charts |
| load_draft_picks | Load Draft Picks from PFR |
| load_espn_qbr | Load ESPN's QBR |
| load_ff_playerids | Load Fantasy Player IDs |
| load_ff_rankings | Load Latest FantasyPros Rankings |
| load_injuries | Load Injury Reports |
| load_nextgen_stats | Load Player Level Weekly NFL Next Gen Stats |
| load_pbp | Load Play By Play |
| load_pfr_passing | Load Advanced Passing Stats from PFR |
| load_player_stats | Load Player Level Weekly Stats |
| load_rosters | Load Rosters |
| load_schedules | Load Game/Schedule Data |
| load_snap_counts | Load Snap Counts from PFR |
| load_teams | Load NFL Team Graphics, Colors, and Logos |
| load_trades | Load Trades |
| qs_from_url | Load .qs file from a remote connection |
| raw_from_url | Load raw filedata from a remote connection |
| rds_from_url | Load .rds file from a remote connection |


I am Nitin Lugun and currently not working, but hopefully someday will work in a big company
My skills are :
My E-mail is<EMAIL_ADDRESS>and my FB page is Nitin Lugun


{% extends "articles/article.template.html" %} {% block title -%} I spin things around! {%- endblock %} {% block body -%} {%- include "articles/spinning.article.html" -%} {%- endblock %}


This is an engagement ring with a compartment for storing the perfect size crumb. When you find a piece of something that fits nicely into the shape of the compartment, you store that crumb and become engaged to the crumb. Your body is tied to the journey and history of that crumb as a partner for your thoughts. The ring celebrates the miracle and mystery of two things that meet in chance, ones we know about and ones we never know.
    This engagement ring acts as an anchor and tuning device for us to engage the small but infinitely vast field of crumbs that we do not pay attention every day. Crumbs often come from something larger at an unknown place and time. This engagement signifies our larger and obscure connections to the universe imagined through a small piece of its parts.


Preparation time
30 mins to 1 hour
Cooking time
1 to 2 hours
Serves
Serves 4
This truffle-packed dish is a decadent, budget-busting option that would work well for a special occasion feast.
For this recipe you will need a food processor and an ovenproof frying pan.
Preheat the oven to 200C/180C Fan/Gas 6.
Start by making the pasta. Blend the flour and eggs in a food processor until the mixture resembles breadcrumbs. Add a little water if the mixture is too dry to hold together when squeezed. Turn out the mixture onto a lightly floured work surface and bring together to form dough. Knead lightly for 2-3 minutes, or until smooth and elastic. Wrap in cling film and chill in the fridge for 20 minutes.
Turn out the pasta dough onto a lightly floured work surface and knead lightly for 2-3 minutes, or until smooth and elastic. Wrap the dough in cling film and chill in the fridge for 20 minutes. Cut the chilled pasta dough into quarters. Roll out one quarter of the dough on a lightly floured work surface until very thin. This can be done using a rolling pin or a pasta machine. If using a pasta machine, dust the rollers and set them to their widest setting, then pass the pasta dough through the machine, collecting the rolled pasta at the other end. Keep rolling the pasta sheet through the machine, reducing the rollers to their next-widest setting each time, until the pasta has been rolled through the rollers set to their narrowest setting. Return the rolled pasta to the fridge to rest.
Meanwhile, cut the legs from the pheasants, then separate the drumsticks and thighs. Remove the meat and skin from the thighs and blend to a purée with the cream in a clean food processor. Reserve the pheasant bones.
Add 1 teaspoon of the grated truffle, if using, and blend again, then season, to taste, with salt and freshly ground black pepper.
Remove the crown from each pheasant carcass and set aside.
Heat half of the butter in a large ovenproof frying pan over a high heat. Add the pheasant drumsticks and reserved bones, the carrot, leek and celery and fry until browned, then push to one side of the pan.
Add the pheasant crowns, breast-side down, and fry until the skin is golden-brown. Turn the crowns over and place them on top of the bones and vegetables.
Transfer the pan to the oven and roast the contents for 15-18 minutes, or until the pheasant is just cooked through. (The meat is cooked through when the juices run clear when the pheasant is pierced in its thickest part with a sharp knife and no trace of pink remains.)
Lay one sheet of the rested pasta onto a lightly floured work surface and cut out 8 x 9cm/3½ circles. Brush 4 of the pasta circles with water, then place a spoonful of the puréed pheasant mixture into the centre of each. Cover each filled disc with the remaining circles, pressing down very gently around the filling to seal and squeeze out any air bubbles. Trim and crimp the edges.
Heat half of the remaining butter in a frying pan over a medium heat. Add the kale and halved garlic clove, plus a splash of water and cook for 3-4 minutes, or until the kale is just tender. Season, to taste, with salt and freshly ground black pepper, then transfer to a plate lined with kitchen paper to drain.
Wipe the pan clean with kitchen paper then return to the heat. Add another knob of butter to the pan and, when melted, fry the mushrooms until tender. Add the shallot and fry for another 1-2 minutes. Season well, then add to the plate containing the kale.
When the pheasant has cooked, remove it from the oven and lift the crowns from the pan. Set them aside on a plate to rest, covered in aluminium foil.
Return the frying pan and its remaining contents to the heat and pour in the Madeira. Bubble for 2-3 minutes, then pour in the reduced chicken stock and bring to the boil. Simmer for 4-5 minutes, then strain, reserving the strained liquid in a clean pan. Season with salt and black pepper, to taste (and a little grated truffle, if using). Discard the pheasant bones and vegetables.
Just before serving, bring a large pan of salted water to the boil and carefully lower the ravioli into it. Simmer gently for 3-4 minutes, or until the pasta is al dente and the filling is cooked (the ravioli is cooked through when it floats to the surface of the water). Remove from the pan using a slotted spoon.
To serve, carve the pheasant breasts from the bone and slice each in half lengthways. Divide the kale among the serving plates, spooning some of the mushrooms alongside. Top each portion of kale with half a pheasant breast. Balance one pheasant ravioli on top of each pheasant breast. Drizzle the sauce over and around the pheasant, then finish with a final grating of fresh truffle, if using.


|
AppDynamics IoT C++ SDK
AppDynamics IoT C++ library contains code that facilitates capturing availability, usage, network performance and errors of an IoT Application.
|
#include <config.hpp>
Data Fields | |
| std::string | appkey |
| std::string | eum_collector_url |
| std::string | eum_appkey_enabled_url |
| appd_iot_log_write_cb_t | log_write_cb |
| appd_iot_sdk_state_change_cb_t | sdk_state_change_cb |
| appd_iot_log_level_t | log_level |
| bool | initialized |
| appd_iot_http_cb_t | http_cb |
| std::string appkey |
| std::string eum_collector_url |
| std::string eum_appkey_enabled_url |
| appd_iot_log_write_cb_t log_write_cb |
| appd_iot_sdk_state_change_cb_t sdk_state_change_cb |
| appd_iot_log_level_t log_level |
| bool initialized |
| appd_iot_http_cb_t http_cb |


@* * Copyright 2020 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @import config.ApplicationConfig @import controllers.auth.AuthenticatedRequest @import uk.gov.hmrc.play.partials.FormPartialRetriever @import uk.gov.hmrc.play.views.html.helpers._ @import views.helpers._ @import view_models.AtsForms @(atsList: view_models.AtsList, atsYearForm: Form[view_models.TaxYearEnd], actingAsAttorney: Option[ActingAsAttorneyFor] = None)(implicit request: AuthenticatedRequest[_], messages: Messages, formPartialRetriever: FormPartialRetriever, lang: Lang, appConfig: ApplicationConfig) @headerContent = { @includes.taxs_breadcrumb(List(), "breadcrumbs.taxs.select_tax_year", 0, isLandingPage=true) @if(lang.language == "cy"){ @Html(Messages("generic.english")) } else { @Html(Messages("generic.welsh")) } @if(actingAsAttorney.isDefined) {
}<EMAIL_ADDRESS>@atsList.surname
@Html(Messages("generic.utr")) @atsList.utr


tuiDropdownSelection
shows dropdown with custom
template on selected text
Select a text to see a dropdown
You can select a text inside a dropdown and it will not close a dropdown
limitWidth === 'fixed'
)
tuiDropdownDirection
Range
and returns show/close
dropdown
Import TuiDropdownModule
into a module where
you want to use our component
Add to the template:


From: Dr. Sekou Toure 505 Rue Locke, Bp 202 Abidjan - Cote D'voire. Dear Friend, This May Sound Surprise To Receive This Mail From A Strange Person Like Me. Don't Be Baffled As I Received Your Profile From Internal Affairs Commercial Attaché Bureau, Cote D'voire (Ivory Coast) Whist Made A Contact To This Site. I Am Dr. Sekou Toure (Special Adviser, Ministry Of Development Planning Cooperation Government Of Cote D'voire). I Have Long Vide For This Opportunity Till After Considering Several Profiles Attached With COTE D'VOIRE INTERNAL AFFAIRS COMMERCIAL ATTACHÉ, ABIDJAN And Decided To Contact You. Following This, As You Are Aware Of My Position With The Government Of My Country. I Am Currently Leaving Here In Cote D'voire, Fluent In English Language And Willing To Negotiate A Good Business Transaction With you. If This Beneficial Request Is Ok And Acceptable To You, Do Contact Me On The Above Contact Information Or My Attached E-Mail<EMAIL_ADDRESS>Yours Faithfully, Dr. Sekou Toure. __________________________________________________________________ Get Tiscali Broadband From £15:99 http://www.tiscali.co.uk/products/broadbandhome/


My names is Nicholas Muturi and this is my website. I am developer and passionate about coding, solving problems and puzzles.
More information about me can be found below.
Primary school: Thomas Burke primary school (Buruburu)
Years: 2002 - 2010
KCPE results: 374 marks
Secondary school: St.Mary's Boys High School
Years: 2011-2014
KCSE results: B+
University: Catholic University of Eastern Africa
Years: 2015-Current
Degree: Bsc.Computer Science
Below are a few of the projects that I've worked on over time
This kitchen website was fun to make but also challenging at this point of time, trully an experience. Tested one's skill in boostrap, css and a bit of javascript
View ProjectThis is a project that tests one's skill to seperate front-end from back-end code and also their knowledge on conditional statements and loops
View ProjectProject under construction. This won't be empty after a while, so come back soon :)
Project under construction. This won't be empty after a while, so come back soon :)