|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |
| Uses of Response in com.syncano.android.lib |
|---|
| Methods in com.syncano.android.lib that return Response | |
|---|---|
Response |
Syncano.adminDelete(ParamsAdminDelete params)
Deletes specified administrator from current instance. |
Response |
Syncano.apikeyDelete(ParamsApikeyDelete params)
Deletes specified API client. |
Response |
Syncano.collectionActivate(ParamsCollectionActivate params)
Activates specified collection. |
Response |
Syncano.collectionAddTag(ParamsCollectionAddTag params)
Adds tag to specified collection. |
Response |
Syncano.collectionDeactivate(ParamsCollectionDeactivate params)
Deactivates specified collection. |
Response |
Syncano.collectionDelete(ParamsCollectionDelete params)
Delete specified collection. |
Response |
Syncano.collectionDeleteTag(ParamsCollectionDeleteTag params)
Delete selected tags from collection. |
Response |
Syncano.dataAddParent(ParamsDataAddParent params)
Adds additional parent to data with data_id. |
Response |
Syncano.dataDelete(ParamsDataDelete params)
Deletes Data Object. |
Response |
Syncano.dataMove(ParamsDataMove params)
Moves data to folder and/or state. |
Response |
Syncano.dataRemoveParent(ParamsDataRemoveParent params)
Removes a parent from data with data_id. |
Response |
Syncano.folderDelete(ParamsFolderDelete params)
Delete (permanently) specified folder and all associated data. |
Response |
Syncano.folderUpdate(ParamsFolderUpdate params)
Update existing folder. |
Response |
Syncano.notificationGetHistory(ParamsNotificationGetHistory params)
Gets specified collection history of notifications of current or specified client. |
Response |
Syncano.notificationSend(ParamsNotificationSend params)
Sends custom notification to client through Sync Server. |
Response |
Syncano.projectDelete(ParamsProjectDelete params)
Deletes specified project. |
Response[] |
SyncanoBase.sendBatchRequests(Params[] params)
Sends batch request |
Response |
SyncanoBase.sendRequest(Params params)
Sends request to api |
Response |
Syncano.subscriptionSubscribeCollection(ParamsSubscriptionSubscribeCollection params)
Subscribes to collection within specified project. |
Response |
Syncano.subscriptionSubscribeProject(ParamsSubscriptionSubscribeProject params)
Subscribes to project. |
Response |
Syncano.subscriptionUnsubscribeCollection(ParamsSubscriptionUnsubscribeCollection params)
Unsubscribes from collection subscription. |
Response |
Syncano.subscriptionUnsubscribeProject(ParamsSubscriptionUnsubscribeProject params)
Unsubscribes from project subscription. |
Response |
Syncano.userDelete(ParamsUserDelete params)
Deletes specified user |
| Methods in com.syncano.android.lib with parameters of type Response | |
|---|---|
abstract void |
SyncanoBase.Callback.finished(Response response)
|
abstract void |
SyncanoBase.BatchCallback.finished(Response[] response)
|
void |
SyncanoBase.Callback.finishedWorkerThread(Response response)
|
void |
SyncanoBase.BatchCallback.finishedWorkerThread(Response[] response)
|
static void |
ResponseReader.parseResponse(Response r,
JSONObject json)
Method parses json object to response |
static void |
ResponseReader.setResultCode(Response response)
Sets result code to specified response depending on result |
| Uses of Response in com.syncano.android.lib.modules |
|---|
| Methods in com.syncano.android.lib.modules that return Response | |
|---|---|
Response |
Params.instantiateResponse()
Default method to init response |
| Uses of Response in com.syncano.android.lib.modules.administrators |
|---|
| Subclasses of Response in com.syncano.android.lib.modules.administrators | |
|---|---|
class |
ResponseAdminGet
Response with array of administrators in project |
class |
ResponseAdminGetOne
Response with administrator specified by params |
class |
ResponseAdminNew
Response with new admin |
class |
ResponseAdminUpdate
Response containing administrator after update |
| Methods in com.syncano.android.lib.modules.administrators that return Response | |
|---|---|
Response |
ParamsAdminUpdate.instantiateResponse()
|
Response |
ParamsAdminNew.instantiateResponse()
|
Response |
ParamsAdminGetOne.instantiateResponse()
|
Response |
ParamsAdminGet.instantiateResponse()
|
| Uses of Response in com.syncano.android.lib.modules.apikeys |
|---|
| Subclasses of Response in com.syncano.android.lib.modules.apikeys | |
|---|---|
class |
ResponseApikeyGet
|
class |
ResponseApikeyGetOne
|
class |
ResponseApikeyNew
|
class |
ResponseApikeyStartSession
|
class |
ResponseApikeyUpdateDescription
|
| Methods in com.syncano.android.lib.modules.apikeys that return Response | |
|---|---|
Response |
ParamsApikeyUpdateDescription.instantiateResponse()
|
Response |
ParamsApikeyStartSession.instantiateResponse()
|
Response |
ParamsApikeyNew.instantiateResponse()
|
Response |
ParamsApikeyGetOne.instantiateResponse()
|
Response |
ParamsApikeyGet.instantiateResponse()
|
| Uses of Response in com.syncano.android.lib.modules.collections |
|---|
| Subclasses of Response in com.syncano.android.lib.modules.collections | |
|---|---|
class |
ResponseCollectionGet
Response to collection get, contains array of collections |
class |
ResponseCollectionGetOne
Response with one collection |
class |
ResponseCollectionNew
Response with new collection |
class |
ResponseCollectionUpdate
Response for collection update request |
| Methods in com.syncano.android.lib.modules.collections that return Response | |
|---|---|
Response |
ParamsCollectionUpdate.instantiateResponse()
|
Response |
ParamsCollectionNew.instantiateResponse()
|
Response |
ParamsCollectionGetOne.instantiateResponse()
|
Response |
ParamsCollectionGet.instantiateResponse()
|
| Uses of Response in com.syncano.android.lib.modules.data |
|---|
| Subclasses of Response in com.syncano.android.lib.modules.data | |
|---|---|
class |
ResponseDataCopy
Response with copied data |
class |
ResponseDataCount
Response with data count |
class |
ResponseDataGet
Response with data array |
class |
ResponseDataGetOne
Response for data get one |
class |
ResponseDataNew
Response for creating new data |
class |
ResponseDataUpdate
Response with updated data |
| Methods in com.syncano.android.lib.modules.data that return Response | |
|---|---|
Response |
ParamsDataUpdate.instantiateResponse()
|
Response |
ParamsDataNew.instantiateResponse()
|
Response |
ParamsDataGetOne.instantiateResponse()
|
Response |
ParamsDataGet.instantiateResponse()
|
Response |
ParamsDataCount.instantiateResponse()
|
Response |
ParamsDataCopy.instantiateResponse()
|
| Uses of Response in com.syncano.android.lib.modules.folders |
|---|
| Subclasses of Response in com.syncano.android.lib.modules.folders | |
|---|---|
class |
ResponseFolderGet
Returns folders for specified collection. |
class |
ResponseFolderGetOne
Return one folder after request. |
class |
ResponseFolderNew
Response after creating folder. |
| Methods in com.syncano.android.lib.modules.folders that return Response | |
|---|---|
Response |
ParamsFolderNew.instantiateResponse()
|
Response |
ParamsFolderGetOne.instantiateResponse()
|
Response |
ParamsFolderGet.instantiateResponse()
|
| Uses of Response in com.syncano.android.lib.modules.identities |
|---|
| Subclasses of Response in com.syncano.android.lib.modules.identities | |
|---|---|
class |
ResponseIdentityGet
Response for getting identities |
class |
ResponseIdentityUpdate
Response for identity update |
| Methods in com.syncano.android.lib.modules.identities that return Response | |
|---|---|
Response |
ParamsIdentityUpdate.instantiateResponse()
|
Response |
ParamsIdentityGet.instantiateResponse()
|
| Uses of Response in com.syncano.android.lib.modules.projects |
|---|
| Subclasses of Response in com.syncano.android.lib.modules.projects | |
|---|---|
class |
ResponseProjectGet
Response for get all projects. |
class |
ResponseProjectGetOne
Response for get one project. |
class |
ResponseProjectNew
Response for create new project. |
class |
ResponseProjectUpdate
Response for update existing project. |
| Methods in com.syncano.android.lib.modules.projects that return Response | |
|---|---|
Response |
ParamsProjectUpdate.instantiateResponse()
|
Response |
ParamsProjectNew.instantiateResponse()
|
Response |
ParamsProjectGetOne.instantiateResponse()
|
Response |
ParamsProjectGet.instantiateResponse()
|
| Uses of Response in com.syncano.android.lib.modules.roles |
|---|
| Subclasses of Response in com.syncano.android.lib.modules.roles | |
|---|---|
class |
ResponseRoleGet
Response with list of all permission roles of current instance. |
| Methods in com.syncano.android.lib.modules.roles that return Response | |
|---|---|
Response |
ParamsRoleGet.instantiateResponse()
|
| Uses of Response in com.syncano.android.lib.modules.subscriptions |
|---|
| Subclasses of Response in com.syncano.android.lib.modules.subscriptions | |
|---|---|
class |
ResponseSubscriptionGet
Params to get subscription list. |
| Methods in com.syncano.android.lib.modules.subscriptions that return Response | |
|---|---|
Response |
ParamsSubscriptionGet.instantiateResponse()
|
| Uses of Response in com.syncano.android.lib.modules.users |
|---|
| Subclasses of Response in com.syncano.android.lib.modules.users | |
|---|---|
class |
ResponseUserCount
Response with count of all users |
class |
ResponseUserGet
Response with array of users that fitted Param criteria |
class |
ResponseUserGetAll
Response contains array of all users |
class |
ResponseUserGetOne
Response contains one user that fits Param criteria |
class |
ResponseUserNew
Response containing new user |
class |
ResponseUserUpdate
Response containing user after update |
| Methods in com.syncano.android.lib.modules.users that return Response | |
|---|---|
Response |
ParamsUserUpdate.instantiateResponse()
|
Response |
ParamsUserNew.instantiateResponse()
|
Response |
ParamsUserGetOne.instantiateResponse()
|
Response |
ParamsUserGetAll.instantiateResponse()
|
Response |
ParamsUserGet.instantiateResponse()
|
Response |
ParamsUserCount.instantiateResponse()
|
| Uses of Response in com.syncano.android.lib.syncserver |
|---|
| Methods in com.syncano.android.lib.syncserver with parameters of type Response | |
|---|---|
void |
SyncServerConnection.SyncServerCallback.result(Response response)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |


|
BTK
0.3dev.0
Open-source library to visualize/process biomechanical data
|
Detect heel strike and toe-off events during gait from vertical ground reaction wrench. More...
Public Types | |
| typedef SharedPtr< const VerticalGroundReactionForceGaitEventDetector > | ConstPointer |
| typedef SharedPtr < VerticalGroundReactionForceGaitEventDetector > | Pointer |
| Public Types inherited from btk::ProcessObject | |
| typedef SharedPtr< const ProcessObject > | ConstPointer |
| typedef SharedPtr< ProcessObject > | Pointer |
| Public Types inherited from btk::Object | |
| typedef SharedPtr< const Object > | ConstPointer |
| typedef SharedPtr< Object > | Pointer |
Public Member Functions | |
| void | GetAcquisitionInformation (int &firstFrame, double &freq, std::string &subjectName) |
| const std::vector< std::string > & | GetForceplateContextMapping () const |
| WrenchCollection::Pointer | GetInput () |
| EventCollection::Pointer | GetOutput () |
| const int * | GetRegionOfInterest () const |
| int | GetThresholdValue () const |
| void | SetAcquisitionInformation (int firstFrame, double freq, const std::string &subjectName) |
| void | SetForceplateContextMapping (const std::vector< std::string > &mapping) |
| void | SetInput (Wrench::Pointer input) |
| void | SetInput (WrenchCollection::Pointer input) |
| void | SetRegionOfInterest (int lb=-1, int ub=-1) |
| void | SetThresholdValue (int threshold) |
| Public Member Functions inherited from btk::ProcessObject | |
| int | GetInputNumber () const |
| int | GetOutputNumber () const |
| int | GetValidInputNumber () const |
| void | ResetState () |
| void | Update () |
| Public Member Functions inherited from btk::Object | |
| unsigned long int | GetTimestamp () const |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| virtual void | GenerateData () |
| WrenchCollection::Pointer | GetInput (int idx) |
| EventCollection::Pointer | GetOutput (int idx) |
| virtual DataObject::Pointer | MakeOutput (int idx) |
| VerticalGroundReactionForceGaitEventDetector () | |
| Protected Member Functions inherited from btk::ProcessObject | |
| int | GetInputIndex (DataObject::Pointer input) |
| DataObject::Pointer | GetNthInput (int idx) |
| DataObject::ConstPointer | GetNthInput (int idx) const |
| DataObject::Pointer | GetNthOutput (int idx) |
| DataObject::ConstPointer | GetNthOutput (int idx) const |
| int | GetOutputIndex (DataObject::Pointer output) |
| bool | IsModified () const |
| void | Modified () |
| ProcessObject () | |
| void | SetInputNumber (int num) |
| virtual void | SetNthInput (int idx, DataObject::Pointer input) |
| virtual void | SetNthOutput (int idx, DataObject::Pointer output) |
| void | SetOutputNumber (int num) |
| virtual | ~ProcessObject () |
| Protected Member Functions inherited from btk::Object | |
| Object () | |
| Object (const Object &toCopy) | |
| virtual | ~Object () |
Additional Inherited Members | |
| Protected Attributes inherited from btk::Object | |
| unsigned long int | m_Timestamp |
Detect heel strike and toe-off events during gait from vertical ground reaction wrench.
To fill exactly the detected events, you need to give some extra information to this filter:
To detect the heel strike and toe-off events you can set some options:
The algorithm works as following: Based on the region of interest, the maximum is searched. If the maximum is higher than the threshold set, then the frame of the value on the left side of this maximum lower than the threshold is used to create a heel strike event. On the other hand, the value on the right side of the maximum lower than the threshold is used to create a toe-off event.
Smart pointer associated with a const VerticalGroundReactionForceGaitEventDetector object.
Smart pointer associated with a VerticalGroundReactionForceGaitEventDetector object.
|
protected |
Constructor. By default, the treshold is set to 10 newtons and the algoritm search events on all the frames.
|
protectedvirtual |
Algorithm used to detect events during the gait.
Implements btk::ProcessObject.
| void btk::VerticalGroundReactionForceGaitEventDetector::GetAcquisitionInformation | ( | int & | firstFrame, |
| double & | freq, | ||
| std::string & | subjectName | ||
| ) |
Returns the informations required to set correctly the detected events.
|
inline |
Returns the mapping between the wrenches in the input and the gait events to detect.
|
inline |
Gets the input registered with this process.
|
inlineprotected |
Returns the input at the index idx.
|
inline |
Gets the output created with this process.
|
inlineprotected |
Returns the output at the index idx.
|
inline |
Returns the region of interest to use to detect gait events.
|
inline |
Returns the threshold used to detect gait events.
|
protectedvirtual |
Generate the output used by this filter.
Implements btk::ProcessObject.
|
inlinestatic |
Creates a smart pointer associated with a VerticalGroundReactionForceGaitEventDetector object.
| void btk::VerticalGroundReactionForceGaitEventDetector::SetAcquisitionInformation | ( | int | firstFrame, |
| double | freq, | ||
| const std::string & | subjectName | ||
| ) |
Set the informations required to set correctly the detected events.
| void btk::VerticalGroundReactionForceGaitEventDetector::SetForceplateContextMapping | ( | const std::vector< std::string > & | mapping | ) |
Sets the mapping between the given wrenches and the side of the detected events. If no mapping is given, then all the detected events will be set as "General" events.
|
inline |
Sets the input required with this process. This input is transformed in a collection wrenches with a single force platform.
|
inline |
Sets the input required with this process.
| void btk::VerticalGroundReactionForceGaitEventDetector::SetRegionOfInterest | ( | int | lb = -1 , |
| int | ub = -1 |
||
| ) |
Sets the region of interest to use to detect gait events.
| void btk::VerticalGroundReactionForceGaitEventDetector::SetThresholdValue | ( | int | threshold | ) |
Sets the threshold used to detect gait events.


THE RIVER WILD A film review by Jeffrey Graebner Copyright 1994 Jeffrey Graebner
THE RIVER WILD is one of the most entertaining and intelligent thrillers to come along in quite a while, largely due to an absolutely first-rate cast lead by Meryl Streep. The wonderful cast and well-staged action sequences are able to easily overcome a slightly contrived, occasionally predictable plot.
Streep stars as a history teacher and mother of two who had worked as a river guide in her youth. While taking her young son (Joseph Mazzello) on a vacation down the river, she makes the mistake of helping out a stranded boater (Kevin Bacon) who turns out to have a dangerous secret. Eventually, Streep is forced to guide Bacon and his partner (John C. Reilly) down the river along with her son and husband (David Strathairn).
Throughout her career, Meryl Streep has proven herself to be an extraordinarily versatile actor who fits easily into a wide variety of genres. It comes as no surprise that she is instantly believable and seems completely at home in this type of action film. Streep goes through a wide range of emotions here, ranging from exhilaration during the early parts of her journey eventually shifting to immense strength mixed with occasional moments of fear, anger, and even hatred. In numerous scenes, she is able to wordlessly convey a great deal of emotion through simple facial expressions and body language. In a couple scenes, Streep responds to Bacon's actions with wordless stares that say more than many actors could manage with pages of dialog.
In the past, Kevin Bacon has usually relied on his boyish charm to create instantly likable and sympathetic characters. In this film, he shows a surprising dark side. The combination of his usual charm with occasional shifts to controlled rage create a very effective villain. John C. Reilly's performance as Bacon's occasionally reluctant partner is also quite good. There are several strong scenes where even Reilly expresses shock at what Bacon is capable of doing.
David Strathairn continues to be one of the most underappreciated actors working in film today. I think the main thing that has kept him from being better known is that he is so chameleon-like that he can give two good performances that many people won't even realize are coming from the same actor. He is absolutely terrific here in a somewhat underwritten role that could easily have been a throw-away if it had been played by a lesser actor. Instead, Strathairn creates an interesting character who grows quite a bit during the course of the film.
Finally, Joseph Mazzello is sweet and completely believable as the young son. Coming after strong performances in JURASSIC PARK and SHADOWLANDS, this film certainly helps to establish Mazzello as one of the best child actors currently working.
While the performances are all outstanding, the story isn't quite as strong. The biggest problem was the inclusion of a subplot involving problems in Streep and Strathairn's marriage. This subplot is contrived and predictable and tends to occasionally slow the film down, particularly during the early scenes. Largely because of this subplot, the film takes a little long to get the main plot rolling. Once it does, though, the subplot is largely dropped and the film moves at a very quick pace.
Despite these plot problems, writer Dennis O'Neill and director Curtis Hanson largely manage to keep things moving and to avoid most of the common pitfalls of this type of action film.  It is especially refreshing to see action heroes who genuinely seem frightened by their situation and to be aware of the danger. The acts of heroism seem to be genuinely done with a great deal of concern and uncertainty.
Robert Elswit's Panavision photography takes advantage of the gorgeous landscape to generate some breathtaking shots without ever allowing the camera to get in the way of the action. The action sequences are all very well staged so that it is easy to tell what is happening. Jerry Goldsmith was brought in to score the film at the last minute after Maurice Jarre's score was deemed unsuitable, but the music is very good and certainly doesn't seem like a rush job. My only complaint is that we were once again deprived of a Goldsmith suite over the end credits in order to make room for a pop song.
Hopefully, THE RIVER WILD will be a big hit for Universal proving that there is a market for an intelligent action film with a top-notch cast. This movie is a lot of fun.
-- Jeffrey P. Graebner Columbus, Ohio
.
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


[gecode-users] Possible bug in reified constraint on FloatVar
Duong Khanh Chuong
chuongdk at gmail.com
Sun Mar 17 01:08:28 CET 2013
Hi,
I'm trying to use FloatVar and found this bug:
FloatVar f(*this, 0, 10);
BoolVar test(*this, 0, 1);
rel(*this, f, FRT_GQ, 5, test);
rel(*this, test, IRT_EQ, 1);
With this reified constraint, the domain of f should be [5, 10] but it is
always [0, 10]
If I change FRT_GQ to FRT_EQ, it works:
FloatVar f(*this, 0, 10);
BoolVar test(*this, 0, 1);
rel(*this, f, FRT_EQ, 5, test);
rel(*this, test, IRT_EQ, 1);
Domain of f is [5,5]
Best regards,
Duong Khanh Chuong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20130317/fd096852/attachment.html>
More information about the users
mailing list


--- layout: post title: Refactoring Environment tags: - code - ruby - Technology status: publish type: post published: true meta: _su_rich_snippet_type: none _edit_last: '1' dsq_thread_id: '239216303' --- Just writing about refactoring environment which can be best when you are doing refactoring in your code base. Refactoring can be done at any time of your code. When you are refactoring code you can see follow things is a benefit for you.


Donald Trump named Carter Page, an American investment banker whose business deals with Russia and its state-run gas company, as one of his foreign-policy advisers, after which Page's inbox filled up with positive notes from Russian contacts.
Source: Bloomberg


Destination Pawfection pet grooming software, built exclusively for today's professional pet groomers.
Our configurable calendars allow you to schedule appointments where and how you want, without restrictions.
Gain new client leads 24/7 with our smart booking system and new client application. Wake up to new clients every day.
Our full-featured POS capabilities include integrated inventory controls, full hardware support, payment processing, credit card storage, and more. Streamline your operations.
Virtually eliminate cancellations with 2-way SMS & Email automated notifications. Send eminders, invoices, and more!.
Organize your service packages and product inventory all from one easy to use dashboard. Quickly lookup items, update pricing, and create promotions.
Client dashboard provides a direct channel of communication between your pet pros and the clients you service. Clients are met with a clean, enjoyable interface where they can view service history and update information.
Three stage encryption, multipayer firewalls, and extensive app protetion.
Immerse yourself in the ultimate cloud based application. Risk-free. Try for free today.


Hello, {{ name }}! You are {{ age }} years.
{ if age > 13 }
You are over 22 { endif } { for user in users } {{ user.name }} is {{ user.age }} years old.
{ endfor } {{ 'wer'| md5 }}


{{product.name}}
find a storeLatest Sport News
25/07
Sporting wonders have come so thick and fast since last summer that we decided it... time
- 315
- 3
25/07
Sporting wonders have come so thick and fast since last summer that we decided it... time
- 315
- 3
25/07
view all articles
Sporting wonders have come so thick and fast since last summer that we decided it... time
- 315
- 3


Hash
@private
@private
# File lib/rspec/mocks/method_double.rb, line 9 def initialize(object, method_name, proxy) @method_name = method_name @object = object @proxy = proxy @method_stasher = InstanceMethodStasher.new(object_singleton_class, @method_name) @method_is_proxied = false store(:expectations, []) store(:stubs, []) end
@private
# File lib/rspec/mocks/method_double.rb, line 233 def add_default_stub(*args, &implementation) return if stubs.any? add_stub(*args, &implementation) end
@private
# File lib/rspec/mocks/method_double.rb, line 206 def add_expectation(error_generator, expectation_ordering, expected_from, opts, &implementation) configure_method expectation = MessageExpectation.new(error_generator, expectation_ordering, expected_from, self, 1, opts, &implementation) expectations << expectation expectation end
@private
# File lib/rspec/mocks/method_double.rb, line 215 def add_negative_expectation(error_generator, expectation_ordering, expected_from, &implementation) configure_method expectation = NegativeMessageExpectation.new(error_generator, expectation_ordering, expected_from, self, &implementation) expectations.unshift expectation expectation end
@private
# File lib/rspec/mocks/method_double.rb, line 224 def add_stub(error_generator, expectation_ordering, expected_from, opts={}, &implementation) configure_method stub = MessageExpectation.new(error_generator, expectation_ordering, expected_from, self, :any, opts, &implementation) stubs.unshift stub stub end
# File lib/rspec/mocks/method_double.rb, line 93 def any_instance_class_recorder_observing_method?(klass) return true if klass.__recorder.already_observing?(@method_name) superklass = klass.superclass return false if superklass.nil? any_instance_class_recorder_observing_method?(superklass) end
@private
# File lib/rspec/mocks/method_double.rb, line 200 def clear expectations.clear stubs.clear end
@private
# File lib/rspec/mocks/method_double.rb, line 144 def configure_method RSpec::Mocks::space.add(@object) if RSpec::Mocks::space warn_if_nil_class @original_visibility = visibility_for_method @method_stasher.stash unless @method_is_proxied define_proxy_method end
@private
# File lib/rspec/mocks/method_double.rb, line 153 def define_proxy_method return if @method_is_proxied object_singleton_class.class_eval def #{@method_name}(*args, &block) __mock_proxy.message_received :#{@method_name}, *args, &block end #{visibility_for_method}, __FILE__, __LINE__ + 1 @method_is_proxied = true end
@private
# File lib/rspec/mocks/method_double.rb, line 21 def expectations self[:expectations] end
@private
# File lib/rspec/mocks/method_double.rb, line 139 def object_singleton_class class << @object; self; end end
@private
# File lib/rspec/mocks/method_double.rb, line 44 def original_method if @method_stasher.method_is_stashed? # Example: a singleton method defined on @object ::RSpec::Mocks.method_handle_for(@object, @method_stasher.stashed_method_name) elsif meth = original_unrecorded_any_instance_method # Example: a method that has been mocked through # klass.any_instance.should_receive(:msg).and_call_original # any_instance.should_receive(:msg) causes the method to be # replaced with a proxy method, and then `and_call_original` # is recorded and played back on the object instance. We need # special handling here to get a handle on the original method # object rather than the proxy method. meth else begin # Example: an instance method defined on one of @object's ancestors. original_method_from_ancestor(object_singleton_class.ancestors) rescue NameError raise unless @object.respond_to?(:superclass) # Example: a singleton method defined on @object's superclass. # # Note: we have to give precedence to instance methods # defined on @object's class, because in a case like: # # `klass.should_receive(:new).and_call_original` # # ...we want `Class#new` bound to `klass` (which will return # an instance of `klass`), not `klass.superclass.new` (which # would return an instance of `klass.superclass`). original_method_from_superclass end end rescue NameError # We have no way of knowing if the object's method_missing # will handle this message or not...but we can at least try. # If it's not handled, a `NoMethodError` will be raised, just # like normally. Proc.new do |*args, &block| @object.__send__(:method_missing, @method_name, *args, &block) end end
# File lib/rspec/mocks/method_double.rb, line 100 def original_method_from_ancestor(ancestors) klass, *rest = ancestors klass.instance_method(@method_name).bind(@object) rescue NameError raise if rest.empty? original_method_from_ancestor(rest) end
@private
# File lib/rspec/mocks/method_double.rb, line 110 def original_method_from_superclass @object.superclass. singleton_class. instance_method(@method_name). bind(@object) end
# File lib/rspec/mocks/method_double.rb, line 87 def original_unrecorded_any_instance_method return nil unless<EMAIL_ADDRESS>alias_name = @object.class.__recorder.build_alias_method_name(@method_name) @object.method(alias_name) end
@private
# File lib/rspec/mocks/method_double.rb, line 245 def proxy_for_nil_class? NilClass === @object end
@private
# File lib/rspec/mocks/method_double.rb, line 257 def raise_method_not_stubbed_error raise MockExpectationError, "The method `#{method_name}` was not stubbed or was already unstubbed" end
@private
# File lib/rspec/mocks/method_double.rb, line 239 def remove_stub raise_method_not_stubbed_error if stubs.empty? expectations.empty? ? reset : stubs.clear end
@private
# File lib/rspec/mocks/method_double.rb, line 193 def reset reset_nil_expectations_warning restore_original_method clear end
@private
# File lib/rspec/mocks/method_double.rb, line 262 def reset_nil_expectations_warning RSpec::Mocks::Proxy.warn_about_expectations_on_nil = true if proxy_for_nil_class? end
@private
# File lib/rspec/mocks/method_double.rb, line 171 def restore_original_method return unless @method_is_proxied object_singleton_class.__send__(:remove_method, @method_name) @method_stasher.restore restore_original_visibility @method_is_proxied = false end
@private
# File lib/rspec/mocks/method_double.rb, line 182 def restore_original_visibility return unless object_singleton_class.method_defined?(@method_name) || object_singleton_class.private_method_defined?(@method_name) object_singleton_class.class_eval(@original_visibility, __FILE__, __LINE__) end
@private
# File lib/rspec/mocks/method_double.rb, line 26 def stubs self[:stubs] end
@private
# File lib/rspec/mocks/method_double.rb, line 188 def verify expectations.each {|e| e.verify_messages_received} end
@private
# File lib/rspec/mocks/method_double.rb, line 31 def visibility if TestDouble === @object 'public' elsif object_singleton_class.private_method_defined?(@method_name) 'private' elsif object_singleton_class.protected_method_defined?(@method_name) 'protected' else 'public' end end
@private
# File lib/rspec/mocks/method_double.rb, line 166 def visibility_for_method "#{visibility} :#{method_name}" end
@private
# File lib/rspec/mocks/method_double.rb, line 250 def warn_if_nil_class if proxy_for_nil_class? & RSpec::Mocks::Proxy.warn_about_expectations_on_nil Kernel.warn("An expectation of :#{@method_name} was set on nil. Called from #{caller[4]}. Use allow_message_expectations_on_nil to disable warnings.") end end
Generated with the Darkfish Rdoc Generator 2.


That high levels of Emotional Intelligence are just as important, if not more so, than ones ability to analyse and think conceptually, and that EI results in better overall performance, communication and workplace happiness.
It was interesting and reassuring to read that most people possess the ability to tap into and cultivate their emotions - that emotional intelligence is trainable - not just something only certain people are capable of. I was particularly fond of the idea that we can train our attention and avoid getting swept up in our emotion. We can instead examine it from a thrid person perspective and see it objectively as opposed to identifying with it and getting caught up and reacting in a useless manner.
Finally, it was interesting to read about the way the body reacts to stressful situations before the mind does. So when we are upset for whatever reason, we will feel it vividly in our body and should focus on that rather than trying to think too much about it.
It was nice to read about mindfulness in relation to breathing. I agree with Chan-Meng Tan- a simple two minute breathing exercise is incredibly important and can work wonders in terms of stress and anxiety. I have been practicing breathing exercises for a few years and I can say it is an incredibly powerful technique.


Watch anything, anywhere you go!
Select the preferred theme you want to use on our website
Change the preferred quality for videos
Select your preferred settings for subtitles


<IP_ADDRESS> Examples of WHEN clause
;; Signal an exceptional condition.
(loop for item in '(1 2 3 a 4 5)
when (not (numberp item))
return (cerror "enter new value" "non-numeric value: ~s" item))
Error: non-numeric value: A
;; The previous example is equivalent to the following one.
(loop for item in '(1 2 3 a 4 5)
when (not (numberp item))
do (return
(cerror "Enter new value" "non-numeric value: ~s" item)))
Error: non-numeric value: A
;; This example parses a simple printed string representation from
;; BUFFER (which is itself a string) and returns the index of the
;; closing double-quote character.
(let ((buffer "\"a\" \"b\""))
(loop initially (unless (char= (char buffer 0) #\")
(loop-finish))
for i of-type fixnum from 1 below (length (the string buffer))
when (char= (char buffer i) #\")
return i))
=> 2
;; The collected value is returned.
(loop for i from 1 to 10
when (> i 5)
collect i
finally (prin1 'got-here))
>> GOT-HERE
=> (6 7 8 9 10)
;; Return both the count of collected numbers and the numbers.
(loop for i from 1 to 10
when (> i 5)
collect i into number-list
and count i into number-count
finally (return (values number-count number-list)))
=> 5, (6 7 8 9 10)
Copyright 1996, The Harlequin Group Limited. All Rights Reserved.


This is the time I decided to mimic Stack Overflow.
The goal was to re-create the basic structure and format of Stack Overflow. The backend is written in rails. User authentication was written specifically for this program.
Feel free to test out this functionality here.


Before Change
"kind `service` received kind: {}!".format(client.run_data.kind)
)
sys.exit(1)
dashboard_url = polyaxon_ui(settings.CLIENT_CONFIG.host)
host = clean_host(settings.CLIENT_CONFIG.host)
Printer.print_header("Waiting for running condition ...")
client.wait_for_condition(
After Change
service_endpoint = SERVICES_V1
if client.run_data.meta_info.get("rewrite_path", False):
service_endpoint = REWRITE_SERVICES_V1
external_run_url = get_dashboard_url(
base=service_endpoint,
subpath="{}/{}/{}/runs/{}/".format(namespace, owner, project_name, run_uuid),
)
if url:
Printer.print_header("The service will be available at: {}".format(run_url))
Printer.print_header(


The lxqt-qtplugin package provides an LXQt Qt platform integration plugin.
This package is known to build and work properly using an LFS-8.1 platform.
Download (HTTP): https://github.com/lxde/lxqt-qtplugin/releases/download/0.11.1/lxqt-qtplugin-0.11.1.tar.xz
Download MD5 sum: e30d35f03f6a8351c79782d68b91a0e9
Download size: 24 KB
Estimated disk space required: 2.0 MB
Estimated build time: 0.1 SBU
liblxqt-0.11.1 and libdbusmenu-qt-0.9.3+16.04.20160218
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lxqt-qtplugin
Install lxqt-qtplugin by running the following commands:
mkdir -v build && cd build && cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \ .. && make
This package does not come with a test suite.
Now, as the root
user:
make install
To use the plugin in Qt 5, the environment variable QT_QPA_PLATFORMTHEME
must be set to
“lxqt”. One way to do that
is to issue as the root
user:
cat >> /etc/profile.d/lxqt.sh << "EOF"
# Begin lxqt-qtplugin configuration
export QT_QPA_PLATFORMTHEME=lxqt
# End lxqt-qtplugin configuration
EOF
Last updated on 2017-08-31 01:16:09 -0700


Scatter Plot
filter by
×
e.g.
kw_mean|<1
,
zip5|=94403
x
y
color by
with scheme
Presets
Compare:
summer vs. winter
mean temp. of min vs. max demand days
Colors:
correlate demand w/outside temp.
climate zones


Lynis Enterprise - The 2nd Encounter
This time we will dive into compliance scans and take a look at how multiple hosts are displayed. I also want to find out why I am at risk of data loss - that's right, I still don't know!
This round, I'll take a look at the documentation, which can be found here.
RTFM if you can!
In order to get different results, I wanted to add another host. But, because around 9 days went by since I last touched Lynis, I couldn't remember how exactly the Enterprise key was added to a new host.
After searching and searching in the documentation, I found nothing but the information that the key is in the configuration panel. Great, but how do I add it? What's the secret option I need? I did check the config file, but there was no license key option to be found either.
Then I remembered, that I ran Lynis as root from the /root/ folder, so I checked the config file there. And to no surprise, there it was.
I should've checked this site though, since it's all there...
Anyway, putting this information in the documentation and a link to it in the configuration page would help a ton. Speaking of documentation, there are a few other things that I came across, such as the icon description being a little off
and topics that are linked in the documentation or application but lead to nowhere.
Parts of the documentation just don't seem to exist at all, while others at least have the decency to tell you so!
Adding other hosts
But enough about the docs, I wanted to add three more hosts so I have two 14.04 and two 12.04, which I could then scan with either the --check-all or the --pentest switch, to get an idea of how they impact the scan results. Also, this should give us a bit more then just "21 Suggestions" and might be more representative of what version is actually being used out there, with companies not always running the latest shit and all.
I want to see criticals and a red cross at compliance!
To get an overview, here are the hosts with their OS versions.
test-ossec-lynis01 Ubuntu 14.04 audit system --check-all
test-ossec-lynis02 Ubuntu 14.04 audit system --pentest
test-ossec-lynis03 Ubuntu 12.04 audit system --check-all
test-ossec-lynis04 Ubuntu 12.04 audit system --pentest
After copying the lynis folder with the enterprise key to the other hosts, I ran the commands, to add the hosts to the enterprise web UI.
One thing I noticed, is that the Ubuntu 12.04 hosts didn't show up in the UI after the scan completed. The culprit here was that the curl package wasn't installed on these hosts.
After running apt-get install curl -y
and running the scans again, they where listed with the other hosts.
Two things stick out here, one is that the Ubuntu 12.04 version string is empty. The other is the bandage sign in the Lynis version column. Hovering over it says "This version is outdated and needs an update". This being in the Lynis version column, I assume it's referring to the Lynis binary needing an update, which is strange since I rsynced the folder from the test-ossec-lynis01 host and should therefore be the same.
test-ossec-lynis03.prod.lan:~/lynis $ sudo ./lynis --check-update
== Lynis ==
Version : 2.1.0
Status : Up-to-date
Release date : 16 April 2015
Update location : https://cisofy.com
Copyright 2007-2015 - CISOfy, https://cisofy.com
Yup, it's the current version alright. Ideas? Ignore, for now at least.
Let's check out the findings instead.
According to the dashboard, we now are at risk of system intrusion, which is never a good thing!
Since I took a quick look after the host test-ossec-lynis03
was added, I know that that's where the problem was first found.
So what do we have here? Great, "one or more vulnerable packages", I wonder which packages are vulnerable.
Wait, what? That is one way to make a great design around no additional information whatsoever. I understand that I should update my system, but as a technical person I would love to be able to understand what exactly the threat is and where it has its source. Maybe this host is running under certain circumstances that make upgrades hard. In this case, I might want to check if an upgrade is really necessary.
Note: I'm not saying that I'm a fan of the above scenario, but it does happen sometimes - unfortunately!
Since I can't do much more then upgrading my server, let's just continue with the other hosts.
The older hosts have the highest risk rating, no surprise there. But they didn't introduce new risks, which is interesting. I know that 12.04 still receives security updates, but I'm pretty sure that they're not running the latest versions.
Fun fact, some problems solve themselves, such as the "Old Lynis version" one.
Let's checkout one of the 12.04 hosts and see what they have to offer. Apparently there isn't much difference between the --check-all
and --pentest
checks, since the results are the same, at least when it comes to number of findings.
I won't show the rest of the results as it's pretty much the same as the first scan results. Obviously, we have the "vulnerable packages" finding and again I would love to know which packages are vulnerable, but it just shows the same page as before.
Just out of curiosity, let's check real quick which packages are listed for security updates.
$ grep security /etc/apt/sources.list |sudo tee /tmp/security-updates-only.list
$ sudo apt-get dist-upgrade -o Dir::Etc::SourceList=/tmp/security-updates-only.list
As you can see, there is definitely a difference between the two hosts, even if it's not a substantial as I would have thought. Still though, in a production environment, hosts are not all the same and having information on what exactly causes a problem goes a long way towards improving things.
They should all be updated, since these are all security updates, but I would still love to know which of them is responsible for the "system intrusion" risk.
Compliance
I'm still compliant with running not compliance checks, so let's fix that next.
It seems that policies are changed in the web interface, not via cli switches. This begs the question how the command is initiated, but let's try to run a scan with compliance first.
I think "High Secure" should be enough, but ultimately I want to check all of the predefined policies.
To check for compliancy, I need to run the rule checker.
So my system is not compliant after all. Since it was that easy, I ran a quick check over all rule sets.
Turns out it doesn't make that big a difference. Let's examine the findings one by one.
Firewall is pretty obvious, it's installed and running. Since this host is actually just a Linux container (LXC), the detected firewall is the host IPTables rule set.
Time synchronization is configured, is more of a general information than anything else. Is the configuration compliant with the defined rule sets? Should it not be configured? Why isn't it marked with a cross or checkmark?
Clicking on the link just shows the rule definition but no further information on the findings.
For the record, neither NTPd nor timed are running on the host, so the checks have probably failed. If it's not a compliance issue, why is it listed at all?
Malware includes a check if an anti malware tool (clamd) is installed and, apparently, if it's configuration is protected.
This is probably a variable that Lynis sets after a certain check. What I'm wondering is how this could have gone off, since clamd isn't even installed.
Limited access to compiler seems to check if a compiler is installed!?
Compliant: check! I'm still compliant, at least according to the dashboard and the hosts overview. Even after running Lynis again - no change!
So what exactly do compliance checks look for?
$ sudo apt-get install clamav
$ sudo /etc/init.d/clamav-freshclam start
$ ps aux |grep clam
clamav 1915 5.0 0.0 52364 2908 ? Ss 15:47 0:06 /usr/bin/freshclam -d --quiet
$ sudo ./lynis audit system -c --quick --upload
Seems like it worked!
The compliance check shows a read cross, let's see what the UI has to say about the updated status.
What? OK, this doesn't make sense.
There is no change in the result, whatsoever. And just for the record, here are the config permissions.
test-ossec-lynis03.prod.lan:~/lynis $ ls -lh /etc/clamav/
-rw-r--r-- 1 root root 2.0K clamd.conf
-r--r--r-- 1 clamav adm 717 freshclam.conf
drwxr-xr-x 2 root root 4.0K onerrorexecute.d
drwxr-xr-x 2 root root 4.0K onupdateexecute.d
Only root is able to write and the config belongs to clamav. Seems reasonable to me.
Taking a closer look at the policies, I found that some of them are empty and don't have any rules set. That would explain why so few results showed up in the overview page.
While this makes sense, since it's hard to check for, let's say, every possible backup service that could be in place, it's also kind of misleading since the policies are named after "HIPAA", "ISO27x" and "PCI-DSS". Anyone getting a checkmark on these should check the rule tables before the auditor shows up!
I'm not an expert in compliance, but I'm pretty sure that each of them has more then 8 things that should be done properly, before you can pat yourself on the shoulder!
Summary
So what have we learned?
- The documentation is lacking in some parts
- Results could be more detailed, especially regarding the source of the problem
- I still don't know what puts me at risk of dataloss
- Now I also don't know which packet puts me at risk of system intrusion
- I also don't know how likely the exploitation of said risks is (linkt to CVSS?)
- I havent' seen a "mark as false positive" or "ignore because can't be fixed" option.
All in all there is a lot of time that has to go into writing rules before Lynis Enterprise can really be used for compliance checks. On one hand I love it, as it forces people to create checks that fit their environment, on the other hand it would be great to have a ISO27001 rule set premade for some distros - say Ubuntu - to run a quick check and see how the host is holding up.
What really stopped me from "digging deeper", is that I wasn't able to figure out how the checks actually worked. I get that "malware running" is marked as compliant, if the "process running" variable contains "clamd", but what is Lynis, the cli tool actually checking for and more importantly, how can I check the content of "process running" myself? I know it's a OSS tool and I could look at the source code, but that's not how I want to use my time - and your boss wouldn't want you to use yours that way as well. Especially after he payed for the license.
What I'm getting at is, that as newcomer to Lynis, it's sometimes hard to understand what exactly is being done in the background and how some results came to be.
I'm looking forward to my next encounter, as I still have to
- write my own compliance rules
- check out historical data, after I fixed and unfixed stuff
- and most of all, find out if LE can actually be of use to the average pentester.
Also, what's up with that?
I did everything imaginable to get this to show a red cross - without any luck!


Box Plot
Scatter Plot
Time Series
choices
Variable:
choices
Variable 1:
Variable 2:
choices
Variable:
View Data


#include <reportscreen.h>
◆ ReportScreen()
| ReportScreen::ReportScreen |
( |
QWidget * |
parent = nullptr , |
|
|
QWidget * |
backScreen = nullptr , |
|
|
QWidget * |
loginScreen = nullptr , |
|
|
Farm * |
f = nullptr , |
|
|
std::string |
current_user = "" |
|
) |
| |
|
explicit |
This is the default constructor for the Screen ReportScreen.
◆ ~ReportScreen()
| ReportScreen::~ReportScreen |
( |
| ) |
|
◆ getFarm()
| Farm * ReportScreen::getFarm |
( |
| ) |
|
◆ on_backButton_clicked
| void ReportScreen::on_backButton_clicked |
( |
| ) |
|
|
privateslot |
Function that redirects to the cattle management screen.
◆ on_okButton_clicked
| void ReportScreen::on_okButton_clicked |
( |
| ) |
|
|
privateslot |
Function that redirects to the cattle management screen.
◆ TestReportScreenGUI
◆ back_screen_
| QWidget* ReportScreen::back_screen_ |
|
private |
This attribute contains the reference of the back screen.
◆ current_user_
| std::string ReportScreen::current_user_ |
|
private |
The nickname of the current user.
◆ farm_
| Farm* ReportScreen::farm_ |
|
private |
This attribute contains the the Farm.
◆ login_screen_
| QWidget* ReportScreen::login_screen_ |
|
private |
This attribute contains the reference of the login screen.
◆ ui_
The documentation for this class was generated from the following files:


open fun remove(key: Object): V
Removes the specified mapping from this map.
key - the mapping to remove
key
Return the value mapped to the removed key, null if key not in map


| Top |
WebKitNotificationWebKitNotification — Object used to hold information about a notification that should be shown to the user. |
| guint64 | webkit_notification_get_id () |
| const gchar * | webkit_notification_get_title () |
| const gchar * | webkit_notification_get_body () |
| const gchar * | webkit_notification_get_tag () |
| void | webkit_notification_close () |
| void | webkit_notification_clicked () |
guint64
webkit_notification_get_id (WebKitNotification *notification
);
Obtains the unique id for the notification.
Since: 2.8
const gchar *
webkit_notification_get_title (WebKitNotification *notification
);
Obtains the title for the notification.
Since: 2.8
const gchar *
webkit_notification_get_body (WebKitNotification *notification
);
Obtains the body for the notification.
Since: 2.8
const gchar *
webkit_notification_get_tag (WebKitNotification *notification
);
Obtains the tag identifier for the notification.
Since: 2.16
void
webkit_notification_close (WebKitNotification *notification
);
Closes the notification.
Since: 2.8
void
webkit_notification_clicked (WebKitNotification *notification
);
Tells WebKit the notification has been clicked. This will emit the “clicked” signal.
Since: 2.12
“body”
property“body” gchar *
The body for the notification.
Flags: Read
Default value: NULL
Since: 2.8
“id”
property“id” guint64
The unique id for the notification.
Flags: Read
Default value: 0
Since: 2.8
“tag”
property“tag” gchar *
The tag identifier for the notification.
Flags: Read
Default value: NULL
Since: 2.16
“clicked”
signalvoid user_function (WebKitNotification *notification, gpointer user_data)
Emitted when a notification has been clicked. See webkit_notification_clicked()
.
notification |
the WebKitNotification on which the signal is emitted |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.12
“closed”
signalvoid user_function (WebKitNotification *notification, gpointer user_data)
Emitted when a notification has been withdrawn.
The default handler will close the notification using libnotify, if built with support for it.
notification |
the WebKitNotification on which the signal is emitted |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.8


Some outer text
Some outer text
Some div1 text
Some div1 text
Some div1 text
Some div2 text
Some div2 text
Some outer text
Some outer text
Count all Paragraphs
Count all Paragraphs in Second Div
Count all Paragraphs in third Div


Every social media user has possibly noticed how content is often driven by very strong emotions. Many posts range from extreme cute kittens to drama stories, but above all emotions it seems like online content is especially fueled by anger [1] [2].
This might be specifically true for political driven content [3], but how people came from coming together to comment Eurovision [4] to insult each others during political campaigns?
To understand how we got here, we cannot ignore everything that happen with facebook and Cambridge Analytica [5]. Between 2013 and 2018 the company combined aggregation of Facebook data (later proved illegal), data mining and analysis, with communication campaigns during the electoral processes around the world with the goal to influence their outcome in favour of their clients [6].
If we take a look how any controversial or political topic on twitter we get a glimpse of how companies like Cambridge Analytica operate.
At its core misinformation campaigns are built to spread a certain political agenda using specific language and amplifying only certain sources.
In the last week I have been analyse topics spanning from the #covid-19 crisis to Spanish political propaganda. Here is what I found.
A few accounts and news sources spread the main messages, then a network of automated accounts make sure to retweet, highlight and reply to these messages.
We have been observing a number of accounts following this similar pattern. Here is an example:
User: @alvisepf
We have chosen this user because it is one of the "top talkers" in the spanish Far right accounts.
For this user we extracted a subset of users that are retweeting their posts. For this subset of users we extracted a subset of their timelines.
This is the archive.
We were interesting in finding out what other accounts these users were tweeting. We found out most of the tweets are actually retweets to accounts in the spanish far right political spectrum. In other words these accounts are part of an amplification machine of the same group of top talkers for the spanish far right.
Hence we counted the number of retweets for account with the idea of extracting a distribution.
Again here is the result.
And here is a distribution per account:
This archive contains approximately 400 tweets from a single user, that coincidentally never sleeps ;).
Here is a list of identified news sources:
We noticed that all these accounts always retweet the same news source. So here we compiled a list of tweets to these recurrent news sources from accounts that retweeted @alvisepf.
Finally here is a complete archive of a set of tweets linking articles from these news source: archive.
The patterns observed are pretty simple and repeated across countries and issues. Accounts like these are exposed every other day by researchers, but also by the social networks operators [7].
Why are operators not taking a stand against automated accounts? Patterns are not sophisticated, nor difficult to spot, different network and traffic metadata could be easily identified. More importantly these accounts exceed well the average frequency of tweets per hour of a normal user. A simple Proof of Work (PoW) [8] mechanism could well increase the cost of automating a large amount of highlights and retweets.
A PoW is a mathematical mechanism asking a client to perform a certain operation whose calculation difficulty is increased as the client makes more requests to a certain service. PoWs deters denial-of-service attacks and other service abuses, such as spam on a network.
You can run your own research. I use a mix of own scripts calling twitter APIs and I also use twint. For visualizations I use metabase.
If you are a researcher or a journalist please get in touch. I'd be happy to collaborate with you monitoring different political scenarios around the world. I'd also be happy to share access to my DB and give you full access to the data.
REFERENCES:
[1] https://www.wired.com/story/this-big-beef-exposes-the-ugly-underbelly-of-vegan-vlogging/
[2] https://www.theguardian.com/science/2018/may/16/living-in-an-age-of-anger-50-year-rage-cycle
[3] https://time.com/4838673/anger-and-partisanship-as-a-virus/
[4] https://blog.twitter.com/en_gb/topics/marketing/2017/eurovision-2017.html
[6] https://en.wikipedia.org/wiki/Cambridge_Analytica
[7] https://cyber.fsi.stanford.edu/io/news/april-2020-twitter-takedown
Silvia Puglisi [Hiro]
Email: hey at sifr dot tech
Twitter: @nopressure
Code: 0xacab/hiro


Invite Description
It's best to be descriptive and include the neighborhood name. (ie. Midtown, Buckhead, Virginia Highlands, etc.)
Invite Type
Your invites will not be visible to members on your Hidden List in Settings. That includes all members that you have already met.
Decision Process
I will decide by:
Hours Prior
Your invites will not be visible to members on your Hidden List in Settings. That includes all members that you have already met.
Meeting Time
Meeting Location
Special Meeting Instructions
My Chat Availability
Your Chat Availability will be visible if an applicant attempts to message you.


Creating a pgAgent Job
pgAgent is a scheduling agent that runs and manages jobs; each job consists of
steps and schedules.
To create or manage a job, use the pgAdmin tree control to browse to the server
on which the pgAgent database objects were created. The tree control will
display a pgAgent Jobs node, under which currently defined jobs are displayed.
To add a new job, right click on the pgAgent Jobs node, and select Create
pgAgent Job… from the context menu.
When the pgAgent dialog opens, use the tabs on the pgAgent Job dialog to
define the steps and schedule that make up a pgAgent job.
Use the fields on the General tab to provide general information about a job:
Provide a name for the job in the Name field.
Move the Enabled switch to the Yes position to enable a job, or No to
disable a job.
Use the Job Class drop-down to select a class (for job categorization).
Use the Host Agent field to specify the name of a machine that is running
pgAgent to indicate that only that machine may execute the job. Leave the
field blank to specify that any machine may perform the job.
Note
It is not always obvious what value to specify for the Host Agent
in order to target a job step to a specific machine. With pgAgent running
on the required machines and connected to the scheduler database, you can
use the following query to view the hostnames as reported by each agent:
SELECT jagstation FROM pgagent.pga_jobagent
Use the hostname exactly as reported by the query in the Host Agent
field.
Use the Comment field to store notes about the job.
Use the Steps tab to define and manage the steps that the job will perform.
Click the Add icon (+) to add a new step; then click the compose icon (located
at the left side of the header) to open the step definition dialog:
Use fields on the step definition dialog to define the step:
- Provide a name for the step in the Name field; please note that steps will
be performed in alphanumeric order by name.
- Use the Enabled switch to include the step when executing the job (True)
or to disable the step (False).
- Use the Kind switch to indicate if the job step invokes SQL code (SQL)
or a batch script (Batch).
- If you select SQL, use the Code tab to provide SQL code for the step.
- If you select Batch, use the Code tab to provide the batch script that
will be executed during the step.
Note
The fields Connection type, Database and Connection string are only
applicable when SQL is selected because Batch cannot be run on remote servers.
- Use the Connection type switch to indicate if the step is performed on a
local server (Local) or on a remote host (Remote). If you specify a
remote connection should be used for the step, the Connection string field
will be enabled, and you must provide a libpq-style connection string.
- Use the Database drop-down to select the database on which the job step
will be performed.
- Use the Connection string field to specify a libpq-style connection string
to the remote server on which the step will be performed. For more information
about writing a connection string, please see the
PostgreSQL documentation.
- Use the On error drop-down to specify the behavior of pgAgent if it
encounters an error while executing the step. Select from:
- Fail - Stop the job if you encounter an error while processing this step.
- Success - Mark the step as completing successfully, and continue.
- Ignore - Ignore the error, and continue.
- Use the Comment field to provide a comment about the step.
Use the context-sensitive field on the step definition dialog’s Code tab to
provide the SQL code or batch script that will be executed during the step:
- If the step invokes SQL code, provide one or more SQL statements in the SQL
query field.
- If the step performs a batch script, provide the script in the Script field.
If you are running on a Windows server, standard batch file syntax must be
used. When running on a Linux server, any shell script may be used, provided
that a suitable interpreter is specified on the first line (e.g. #!/bin/sh).
When you’ve provided all of the information required by the step, click the
compose icon to close the step definition dialog. Click the add icon (+) to
add each additional step, or select the Schedules tab to define the job
schedule.
Click the Add icon (+) to add a schedule for the job; then click the compose
icon (located at the left side of the header) to open the schedule definition
dialog:
Use the fields on the schedule definition tab to specify the days and times at
which the job will execute.
- Provide a name for the schedule in the Name field.
- Use the Enabled switch to indicate that pgAgent should use the schedule
(Yes) or to disable the schedule (No).
- Use the calendar selector in the Start field to specify the starting date
and time for the schedule.
- Use the calendar selector in the End field to specify the ending date and
time for the schedule.
- Use the Comment field to provide a comment about the schedule.
Select the Repeat tab to define the days on which the schedule will execute.
Use the fields on the Repeat tab to specify the details about the schedule in
a cron-style format. The job will execute on each date or time element selected
on the Repeat tab.
Click within a field to open a list of valid values for that field; click on a
specific value to add that value to the list of selected values for the field.
To clear the values from a field, click the X located at the right-side of the
field.
Use the fields within the Days box to specify the days on which the job will
execute:
- Use the Week Days field to select the days on which the job will execute.
- Use the Month Days field to select the numeric days on which the job will
execute. Specify the Last Day to indicate that the job should be performed
on the last day of the month, irregardless of the date.
- Use the Months field to select the months in which the job will execute.
Use the fields within the Times box to specify the times at which the job will
execute:
- Use the Hours field to select the hour at which the job will execute.
- Use the Minutes field to select the minute at which the job will execute.
Select the Exceptions tab to specify any days on which the schedule will not
execute.
Use the fields on the Exceptions tab to specify days on which you wish the job
to not execute; for example, you may wish for jobs to not execute on national
holidays.
Click the Add icon (+) to add a row to the exception table, then:
- Click within the Date column to open a calendar selector, and select a date
on which the job will not execute. Specify <Any> in the Date column to
indicate that the job should not execute on any day at the time selected.
- Click within the Time column to open a time selector, and specify a time on
which the job will not execute. Specify <Any> in the Time column to
indicate that the job should not execute at any time on the day selected.
When you’ve finished defining the schedule, you can use the SQL tab to review
the code that will create or modify your job.
Click the Save button to save the job definition, or Cancel to exit the job
without saving. Use the Reset button to remove your unsaved entries from the
dialog.
After saving a job, the job will be listed under the pgAgent Jobs node of the
pgAdmin tree control of the server on which it was defined. The Properties
tab in the main pgAdmin window will display a high-level overview of the
selected job, and the Statistics tab will show the details of each run of the
job.
To modify an existing job or to review detailed information about a job,
right-click on a job name, and select Properties from the context menu.


{% extends "base.html" %} {% block breadcrumb %}
This is a list of the surveys that have already been created


How the level of traffic changed the level of pollution created
Analyzes the effects of traffic speed on the connectedness of cities
Site development tools include: Sublime Text, GIMP, and Github Sites
By Kol Greenbaum