Introduction
What is OAUTH2?
More and more we all face situations where we have a mobile device with us, that runs many more or less usefull applications. These applications often provide similar functionality, but scope of the functionality somewhat differs. For instance, your iPhone contains nice document reader, your Android tablet has its own reader and your notebook has yet another one. All these applications share ability to read and display documents. But these documents do not necessarily live locally on all your devices. You use a service, like Google Drive to store your files for sharing. And here we go. In order to access your documents from Google Drive, all you applications need to identify themselves so Google grants them access (in other words, autorizes them) to your files. And that's why OAuth protocol emerged. Its puprose it to standardize authorization process in the connected environment, namely in Http world. Currently,OAuth2.0 is the latest version. This framework is extendable, one of possible extensions is allowing applications to retrieve user information - authenticate users. This initiative is called OpenID Connect.
Following diagram shows one of several possible message flows between involved entities - the resource owner (server), the authorization server and the client (application).
Demo 1
TopUsing OAUTH2 with Cache´
In this demonstration we will learn how to call from Cache´ to third party server that uses OAuth2 to authorize other applications users for calling its funtionality.
This demonstration illustrates following possible use case. Suppose you have a Cache´ based (web) application, that runs a DMS system. As part of application funtionality, you want provide application users access to their Google Drive so they can download documents from your central repository into their Google Drive. Why? Because with Google Drive they can work with their files at any mobile device, not only at their desktop used for their office work.
Prerequisites
Web server configuration
As it is required to use SSL, you have to configure your Web server to work with traffic encryption. We are not going into the details of how to configure various web servers (IIS, Apache, ...) for SSL. Please refer to particular web server documentation.
Cache´ SSL configuration
For establishing SSL channel to Google, we need to create SSL/TLS configuration. Use System > Security Management > SSL/TLS Configurations menu to do that. For the purpose of demo, name the configuration GOOGLE and check Type = client and Server Certificate Verification = none. Leave the rest of form with default values.
Cache´ OAUTH2 configuration
OAUTH2 Server Configuration
First, we need to configure OAUTH2 authorization server - various endpoints per OAuth2 specification. Following images demonstrate sample server configuration.
Use System > Security Management > OAuth 2.0 Client Configurations
to create or edit your configuration.
Client Configuration
Once we have server configuration created, we need to provide this server's client configuration(s). The image shows sample configuration.
Use
System > Security Management > OAuth 2.0 Client Configuration > Client Configuration
to create or edit your configuration.
Code explained
The code itself is quite simple. What you need in order to call OAuth2 server is just a CSP/ZEN page with some server side script that checks whether your page has already been authorized and clear eventual access token. Then, you need to a URL to OAuth2 server and button or some other form of link to that url.
Initiation page
In our demo, the initiation page is just a standard CSP class. As mentioned above, we provide a server side code to ensure we have fresh access token and url to OAuth2 server. The code calls two API classes provided by Cache´ OAuth2 framework.
- First, we call method IsAuthorized() of %SYS.OAuth2.AccessToken class. This method checks whether any potentially existing access token is authorized.
- Second, we retrieve url by calling GetAuthorizationCodeEndpoint() method of %SYS.OAuth2.Authorization class. There are more methods available with this class, corresponding to various Oauth2 authorization options.
Result page
Once we click a Google API link/button we are navigated to the Google Consent Page. This page is launched by Google and, per specification in the url, we may or must consent. Having accepted consent, Google redirects the consent page to the redirect_URI we provided with the url. Redirected page can now call Google API functions as it has been authorized and posesses valid access token.
We need to call GetAccessTokenAuthorizationCode() method of %SYS.OAuth2.Authorization class as Google is not using default Basic authorization. We do that in page's OnPreHTTP callback method.
Now we can run a server side script, invoking either our implementation of some Google APIs (in fact, there is only one - userinfo) or invoking standard Http requests with access token supplied.
We add access token to the %Net.HttpRequest using AddAccessToken() method of %SYS.OAuth2.AccessToken class. Having added access token, we can call either Get() method of standard %Net.HttpRequest or we can call GetUserInfo() method of %SYS.OAuth2.AccessToken class to retrieve user information as stored by Google.
For more information about Google Apps and their scopes and urls please refer to here or here.
Demo 2
TopCache´ as OpenID / OAuth2 provider
This demonstration shows much more complex use case than the first demo. In this scenario, Cache server acts as a OAUTH2 authentication server, providing user identity and scopes to any other application. You would find this scenariou usefull in situations where you run an application on protected Cache´ server(s) within company perimeter.  There are again, two possible cases. You want to give a one-time access to external person, or you want make sure your employees are never using their password used inside your company perimeter, from his/her mobile device in order to access data from protected server. (You don't want for some reason to establish a VPN)
In this demo, Cache´ would also provide user identity, according to the OpenID Connect specification. If you wonder what is the difference between OAuth2 and OpenID then very briefly:
- OAuth 2.0 deals with user AUTHORIZATION, and leaves AUTHENTICATION untouched
- OpenID 2.0 deals with user AUTHENTICATION
- OpenID Connect deals with AUTHENTICATION but also integrates with OAuth 2.0 for AUTHORIZATION. (Some people say that OpenID Connect is in fact OAUTH2 on steriods.)
Prerequisites
Web server configuration
As it is required to use SSL, you have to configure your Web server to work with traffic encryption. We are not going into the details of how to configure various web servers (IIS, Apache, ...) for SSL. Please refer to particular web server documentation.
Cache´ Public Key Infrastructure
In most complex case, there would be many Cache´ resource servers using services of one or multiple Cache´ OAuth2 server(s). And there can be undetermined number of applications (e.g. Cache´ servers) consuming services of resource servers.
These servers have to communicate via SSL/TLS so there must be a PKI configured so each application and resource server can sign and verify identity requests and tokens.
On the other hand, in our demo, we will have just one server, playing all three roles: application, authorization & authentication and resource server.
We are not going into PKI setup details hre, but you can check online documentation.
Cache´ SSL configuration
For establishing SSL channel, we need to create SSL/TLS configuration. Use System > Security Management > SSL/TLS Configurations menu to do that. For the purpose of demo, name the configuration 'sslunittest' and check Type = client and Server Certificate Verification = none. Leave the rest of form with default values.
Cache´ OAUTH2 configuration
OAUTH2 Authorization Server Configuration
First, we need to configure an instance of Cache´ OAUTH2 authorization server.
Use System > Security Management > OAuth 2.0 Authorization Server Configuration
to create or edit your configuration.
We, among others, supply server's host name, port and prefix (optional) to form issuer endpoint. Furtehr we specify supported grant types, scopes, SSL configuration
and setting for Java Web Token handling (used by OpenID Connect)
OAUTH2 Authorization Server Client Configurations
In order to establish trust between resource server and appplication (client) we must register them with authorization server as clients.
Client Configuration
Let's start with client application.
Use
System > Security Management > OAuth 2.0 Authorization Server > Server Client Configurations
to create or edit your configurations.
The application is a confidential client and supports authorization code as well as some other grant types.
Cache´ assigns Client ID and Client Secret values for this particula configuration. These values are unique foe each client.
We also must provide redirect URL(s) and optionally can modify the consent screen look and feel.
Lastly, we supply name of client application X.509 Credentials for working with JWT.
Resource configuration
Similar to client application, we need to configure our resource server.
Use
System > Security Management > OAuth 2.0 Authorization Server > Server Client Configurations
to create or edit your configurations.
The resource is a resource server type client and defines no grant types, nor redirect URL(s).
Cache´ assigns Client ID and Client Secret values for this particula configuration. These values are unique foe each client.
We only supply name of client application X.509 Credentials for working with JWT.
Web Applications
In this demo, we will run client application code in /csp/oauth2 application, the OAUTH2 server in /oauth2 (it's a REST application) and finally, the resource application will run in /csp/portfolio.
/csp/oauth2 application
There is nothing special in the application deifnition. We use Password authentication method.
/oauth2 application
This is a REST application, used by Authentication server. Alowed authentication method is Unauthenticated. Dispatch class is OAuth2.Server.REST. Application assings %All role.
/csp/portfolio application
This is a standard application, used by Resource server. Alowed authentication methods are Password (for internal users) and Delegated (for users authenticated and authorized by Authorization server).
Delegated authentication
This is not necessary step, but setting up Delegated authentication may give resource server more control ove the security context of process serving response to the application server. Please read documentation for more details about delegated authentication.
Code explained
The code in this demo is very similar to first demo. There is only one difference: we must perform Java Web Token validation.
Initiation page
In our demo, the initiation page is just a standard CSP class. As mentioned above, we provide a server side code to ensure we have fresh access token and url to OAuth2 server.
The code calls two API classes provided by Cache´ OAuth2 framework.
- First, we call method IsAuthorized() of %SYS.OAuth2.AccessToken class. This method checks whether any potentially existing access token is authorized.
- Second, we retrieve url by calling GetAuthorizationCodeEndpoint() method of %SYS.OAuth2.Authorization class. There are more methods available with this class, corresponding to various Oauth2 authorization options.
Please note, we have to call openid profile scope in order to use OpenID Connect authentication.
Result page
Once we click a Sign-in link/button we are navigated to the Cache´ OAUTH2 Consent Page. This page is launched by Cache´ authorization server instance and, per specification in the url, we may or must consent. Having accepted consent, Authorization server redirects the consent page to the redirect_URI we provided with the url. Redirected page can now call functions on Cache´ resource server as it has been authorized and posesses valid access token.
Optionally, if Delegated authentication is activated, the process on resource server is bound to newly created (or modified) delegated user corresponding to the username coming with the request from authorization server. Remember, resource server TRUSTS authorization server and simply accepts incoming username and assigns it role(s) as specified in the scope list.
We run a server side script, that performs following actions
1. Checks whether access token we received is still valid and that we are successfully authorized and validates Java Web Token as we asked for it via openid profile scope
2. Introspects access Token and validates ID token
3. Retrieves user information from Authorization server
4. Calls resource server application logic to dispatch data to the client application
Conclusion
We have learned on two use case demonstrations how to benefit from new OAuth 2.0 framework implementation. We have seen both simple case, where Cache as a client application receives autorization from third party provider to access resources outside Cache´, as well as case where other application was given access to resource server by a Cache´ based OAuth 2.0 authorization server.
Back to Top


On Monday 8th March we published one of Dobson's so-called “ghost photographs”, thought to be the only extant picture of those tiresome yet strangely attractive twins, Istvan & Zoltan, whose madcap escapades have thrilled a handful of readers. But Dr Ruth Pastry has news for us. “I was clearing out one of the leisure-and-relaxation module-compartments in my space-age home,” she writes, “to make room for my new collection of The Passion Of The Christ-related merchandise, when I came upon a little book called Jimmy At The Seaside by Neville Main, published by the Brockhampton Press in 1949.  They may be given different names in Mr Main's ur-text, but surely these are Istvan and Zoltan avant le lettre? I claim my five pounds.”


1: #include "petsc/finclude/petsctao.h"
2: use petsctao
3: implicit none
5: ! Common blocks:
6: ! In this example we use common blocks to store data needed by the
7: ! application-provided call-back routines, FormMinimizationFunction(),
8: ! FormFunctionGradient(), and FormHessian(). Note that we can store
9: ! (pointers to) TAO objects within these common blocks.
10: !
11: ! common /params/ - contains parameters that help to define the application
12: !
13: ! alpha, n - define the extended Rosenbrock function:
14: ! sum_{i=0}^{n/2-1} ( alpha*(x_{2i+1}-x_{2i}^2)^2 + (1-x_{2i})^2 )
16: PetscReal alpha
17: PetscInt n
19: common /params/ alpha, n
21: !


Using DeferredWithUpdate.js And AngularJS
Here is my friend: (AJAX Response)
ID: {{ friend.id }}
Name: {{ friend.name }}


Click the photo (sugar, lemon, chocolate), to grab a cookie. You can take any or all flavors and as many times as you like.
Refresh the page to keep track of your cookie intake
Come back to the page to continue your cookie rampage, starting from where you left off. Or clear your cookie count to start off guilt free next time you come back for more cookies!!


1 |
|
|
/** |
2 |
|
|
* @file SolverSetting.hpp |
3 |
|
|
* @author A. Domahidi<EMAIL_ADDRESS>|
4 |
|
|
* @license (new license) License BSD-3-Clause |
5 |
|
|
* @copyright Copyright (c) [2012-2015] Automatic Control Lab, ETH Zurich & embotech GmbH, Zurich, Switzerland. |
6 |
|
|
* @date 2012-2015 |
7 |
|
|
* @brief ECOS - Embedded Conic Solver |
8 |
|
|
* |
9 |
|
|
* Modified to c++ code by New York University and Max Planck Gesellschaft, 2017 |
10 |
|
|
*/ |
11 |
|
|
|
12 |
|
|
#pragma once |
13 |
|
|
|
14 |
|
|
#include <string> |
15 |
|
|
#include <limits> |
16 |
|
|
#include <solver/interface/SolverParams.hpp> |
17 |
|
|
|
18 |
|
|
namespace solver { |
19 |
|
|
|
20 |
|
|
enum class ExitCode { |
21 |
|
|
Optimal, /*! Problem solved to optimality */ |
22 |
|
|
OptimalInacc, /*! Problem solved to optimality (Inaccurate) */ |
23 |
|
|
PrimalInf, /*! Found certificate of primal infeasibility */ |
24 |
|
|
PrimalInfInacc, /*! Found certificate of primal infeasibility (Inaccurate) */ |
25 |
|
|
DualInf, /*! Found certificate of dual infeasibility */ |
26 |
|
|
DualInfInacc, /*! Found certificate of dual infeasibility (Inaccurate) */ |
27 |
|
|
ReachMaxIters, /*! Algorithm reached maximum number of iterations */ |
28 |
|
|
NotConverged, /*! Algorithm has not converged yet */ |
29 |
|
|
Indeterminate, /*! Nothing can be said about the solution */ |
30 |
|
|
PrSearchDirection, /*! Not reliable search direction */ |
31 |
|
|
PrSlacksLeaveCone, /*! Slack variables lie outside convex cone */ |
32 |
|
|
PrProjection, /*! Failed in the projection of cone or linear system */ |
33 |
|
|
}; |
34 |
|
|
|
35 |
|
|
enum class ConeStatus { Inside, Outside }; |
36 |
|
|
enum class FactStatus { Optimal, Failure }; |
37 |
|
|
enum class PrecisionConvergence { Full, Reduced }; |
38 |
|
|
enum class QuadConstrApprox { None, TrustRegion, SoftConstraint }; |
39 |
|
|
|
40 |
|
|
/** |
41 |
|
|
* Class that provides access to all environment variables required by the solver |
42 |
|
|
*/ |
43 |
|
|
class SolverSetting |
44 |
|
|
{ |
45 |
|
|
public: |
46 |
|
|
SolverSetting(){} |
47 |
|
265 |
~SolverSetting(){} |
48 |
|
|
|
49 |
|
|
void initialize(const std::string cfg_file, const std::string solver_vars_yaml = "solver_variables"); |
50 |
|
|
|
51 |
|
|
int get(SolverIntParam param) const; |
52 |
|
|
bool get(SolverBoolParam param) const; |
53 |
|
|
double get(SolverDoubleParam param) const; |
54 |
|
|
|
55 |
|
|
void set(SolverIntParam param, int value); |
56 |
|
|
void set(SolverBoolParam param, bool value); |
57 |
|
|
void set(SolverDoubleParam param, double value); |
58 |
|
|
|
59 |
|
|
static constexpr double nan = ((double)0x7ff8000000000000); |
60 |
|
|
static constexpr double inf = ((double)std::numeric_limits<double>::infinity()); |
61 |
|
|
|
62 |
|
|
private: |
63 |
|
|
// Branch and Bound solver |
64 |
|
|
bool BnB_verbose_; |
65 |
|
|
int BnB_max_iterations_; |
66 |
|
|
double BnB_integer_tolerance_, BnB_absolute_suboptimality_gap_, BnB_relative_suboptimality_gap_; |
67 |
|
|
|
68 |
|
|
// Convergence tolerances |
69 |
|
|
double feasibility_tolerance_, absolute_suboptimality_gap_, relative_suboptimality_gap_, |
70 |
|
|
feasibility_tolerance_inaccurate_, absolute_suboptimality_gap_inaccurate_, relative_suboptimality_gap_inaccurate_; |
71 |
|
|
|
72 |
|
|
// Equilibration parameters |
73 |
|
|
int equil_iterations_; |
74 |
|
|
|
75 |
|
|
// Linear System parameters |
76 |
|
|
int num_iter_ref_lin_solve_; |
77 |
|
|
double dyn_reg_thresh_, lin_sys_accuracy_, err_reduction_factor_, static_regularization_, dynamic_regularization_; |
78 |
|
|
|
79 |
|
|
// Algorithm parameters |
80 |
|
|
double safeguard_, min_step_length_, max_step_length_, min_centering_step_, max_centering_step_, step_length_scaling_; |
81 |
|
|
|
82 |
|
|
// Model parameters |
83 |
|
|
bool verbose_; |
84 |
|
|
double trust_region_threshold_, soft_constraint_weight_full_, soft_constraint_weight_reduced_; |
85 |
|
|
int max_iters_, num_itrefs_trustregion_, ipsolver_warm_iters_, ipsolver_max_iters_; |
86 |
|
|
}; |
87 |
|
|
|
88 |
|
|
} |


Aqua Traders
Having its office location at Madina Chowk Gow Kadal Srinagar.
Mainly working as Civil & electrical Contractors and Suppliers with Defence, Govt. & Semi Govt departments.
Having its own construction equipments/Plants like Excavater, JCB, Tippers, Concrete mixers, staging & shuttering material, TATA 207, etc which can be used for any kind of construction. We are also having the Bore well Rig machine which can do Bore hole size of 100 mm to 300 mm upto the depth of 300 Meters in any kind of soil. Apart from these movable equipments we are maintaining our own site lab maintained by our own Quality Control Department having various kind of lab equipments including Weigh Batcher, Compressive strength test machine, Weighing balance, Cube moulds, etc which are used by our technicians to provide the best quality work to our clients at various construction sites.
Mainly handling the projects of departments like Military Engineering Services (MES), Engineering regiments & Border roads organization (BRO).
We are having very talented & experienced staff of more than 60 employees including Engineers, Technicians & supervisors working at different construction sites.


Password hashes are equivalent to clear-text passwords (Johansson, 2009).
Pass-the-hash attacks are usually directed against Windows systems, however
they can be found in other systems, for example vulnerable web applications (SANS,
2008).
In Windows, pass-the-hash attack depends on the Single Sign-On (SSO)
functionality in authentication protocols like NTLM and Kerberos (Scambray &
McClure, 2008). With SSO, users can enter their passwords once to be able to use
resources they have been given rights to, without prompting them for their passwords
again. This requires the system to have the users' credentials cached within the system
(see 2.1.3). By replacing this credential with a password hash (or a ticket) further
authentication will be done using this hash instead of the original credential (Scambray &
McClure, 2008).
Password hashes are loaded into the Local Security Authority Subsystem (Lsass).
Lsass runs as the executable %SystemRoot%\System32\Lsass.exe, which is responsible
for user authentication, among other things (Russinovich, Solomon, & Ionescu, 2009).


Shopping List
Shopping List
Get it done today!


{% extends "orgapy/skeleton.html" %} {% load static %} {% block title %}{% block subtitle %}Create quote | {% endblock subtitle %}{{ block.super }}{% endblock title %} {% block main_content %}
You must add at least one author to add a work.
{% endif %}You must add at least one work to add a quote.
{% endif %} {% endblock main_content %}


Arrays Important Questions
Important Concepts :
- Sorting (Merge sort and quick sort algorithms should be on your tips)
- upper_bound and lower_bound functions
- Sliding window/two pointers a lot of questions are based on this.
- Intervals related problems (asked frequently)
- Know calculation of time complexity and space complexity.
- Hashing (you might not need a map everytime (for C++) you can use an array too)
Easy/Medium (MUST DO)
- https://www.interviewbit.com/problems/add-one-to-number/
- https://www.interviewbit.com/problems/max-sum-contiguous-subarray (IMPORTANT multiple questions are based on this)
- https://www.interviewbit.com/problems/hotel-bookings-possible/
- https://www.interviewbit.com/problems/maximum-unsorted-subarray/
- https://www.interviewbit.com/problems/max-distance/
- https://www.interviewbit.com/problems/merge-intervals/ (IMPORTANT Try doing it in O(n))
- https://www.interviewbit.com/problems/repeat-and-missing-number-array/
- https://www.interviewbit.com/problems/first-missing-integer/
- https://www.interviewbit.com/problems/next-permutation/
- https://www.interviewbit.com/problems/intersection-of-sorted-arrays/
- https://www.interviewbit.com/problems/3-sum/
- https://www.interviewbit.com/problems/remove-duplicates-from-sorted-array/
- https://www.interviewbit.com/problems/trailing-zeros-in-factorial/
- https://www.interviewbit.com/problems/grid-unique-paths/ (Can use DP as well but there is a combinatorics solution which is simpler and has a better time complexity)
Hard
- https://www.interviewbit.com/problems/n3-repeat-number/ (can avoid)
- https://www.interviewbit.com/problems/container-with-most-water/ (IMPORTANT)
- https://practice.geeksforgeeks.org/problems/inversion-of-array/0/
- https://practice.geeksforgeeks.org/problems/largest-number-formed-from-an-array/0
- https://leetcode.com/problems/subarray-sum-equals-k/ (IMPORTANT asked frequently)


Stay tuned with us for the updates we will be releasing the BETA as soon as possible
Use Amigo with unlimited offers exclusively for you
New area no worries just connect everywhere with Amigo
Fell free its 128 bit ssl security Protected
Wow It clears the Chat memory Everyday
Hurray its free!!!


| localization (folder) |
This folder contains all localization files. The list of localization files is indicated automatically when loading the designer or viewer |
|
| config.xml |
Configuration file, which contains all the available options |
|
swfobject.js playerProductInstall.swf |
These files are used for loading the Flash content and Flash player updates |
|
designer.html viewer.html DesignerFx_PHP.swf ViewerFx_PHP.swf |
Client side application files of the Designer.Fx and Viewer.Fx |
|
index.php handler.php localization.php database_xml database_mssql.php database_mysql.php database_odbc.php database_pg.php
| Server side PHP scripts for the Designer.Fx and Viewer.Fx applications |
|


Contents
Logical Indexing
Example of a problem getting only the nonnegative elements of an array
w = []; % empty array jj = 0; for ii = 1:length(v) if v(ii) >= 0 jj = jj + 1; w(jj) = v(ii); end end
Example Revisited
MATLAB provides a more elegant solution:
w = []; % empty array for ii = 1:length(v) if v(ii) >= 0 w = [w v(ii)]; end end
Logical indexing: Logical arrays
- The ultimate solution needs only a single line:
- This is an example of logical indexing
- To understand why and how this works, we need to introduce logical arrays like:
[4 -1 7 5 3] > [5 -9 6 5 -3]; c = [2>1, 2<1, ~(3>2 && 4>5)]; holmes = logical([1 -2 0 0 9.12 -2])
holmes = 1×6 logical array 1 1 0 0 1 1
Example of using the logical arrays as the index of another array
r = randi(10 , 1 ,6); holmes = logical([1 -2 0 0 9.12 -2]); r(holmes); v = [56, 34, -2, 7 29 53 30 -3 5 45]; keepers = v>=0; w = v(keepers); w = v(v>=0); % Mas mabilis kaysa sa nasa taas confidence = [100 97 11 12 76 80 9 4 98]; v_10 = v(confidence >= 10); % evaluated of trues and falses evaluated to v
%Suppose you want to replace all negative values to 0: % v(v<0)=0
v = 56 34 0 7 29 53 30 0 5 45


Wich option best describes your research?Front-endBack-endIT Support
What do you like most in my resume:Web DeveloperArchitectConstruction Estimator
Any comments or Suggestions?


Vote for the features you would like to see in the products and services you love!
Gain insight into the needs of your customers. Focus on the features that matter.
ideas.vote promotes and enables the democractic process of electing the ideas that organizations should invest in.
days
hours
minutes
seconds
Sign up to be notified when we go live.


Court to rule on Maina’s son's bail application Nov. 29
by https://www.facebook.com/CheerfulpraiseEric Ikhilae, Abuja
A Federal High Court in Abuja has scheduled ruling for November 29 this year in the bail application filed by Faisal, the son of the detained former Chairman, Pension Reform Task Team, Abdulrasheed Maina.
Justice Okon Abang gave the date on Friday, after taking the arguments from the prosecution and defence in Faisal’s trial for alleged money laundering activities.
Justice Abang directed that defence lawyer, Francis Oronsaye should reply on the point of law on November 26 this year.
“The matter is also adjourned to November 26 for ruling on the objection and again for continuation of trial,” he said.
The judge directed the prosecution lawyer, Mohammed Abubakar, to submit copies of judicial authorities he cited, to the court on or before the close of work on November 25 this year.
Read Also: Court sends Maina’s ex-aide to prison over alleged N738m fraud
Faisal is being tried on a three-count charge bordering on money laundering.
He is currently being held in police custody at Police Tactical Squad, Asokoro, where he is said to be under further investigation on based on allegation of illegal possession of firearms and resistance of arrest.


We will have a look at a TestProject
to get an idea of how jenkins can be used to build, sign and deploy iOS projects. The whole process consists of 4 steps. Note that to deploy an app in this manner, an enterprise distribution certificate is required for each app.
This guide is how I have set up my enterprise builds for my apps that use cocoaPods
for dependencies, but most of the same principles apply for any iOS apps.
Because the project uses cocoaPods
, it means we have to build a workspace and have a build scheme set up.
Continue reading
This is the style guide that I follow when programming in Objective-C, this is for my own reference, but other people may find this useful.
Continue reading
It is pretty rare to actually have to dive into the objc-runtime for any day to day coding. Most developers wont have to touch the runtime, however it is helpful to know what is possible and be able to use it if required. The objective-c runtime is written in C and is how the underlying parts of the objective-c language work including message sending, ivars and properties. This post shows an example of where I have used the Objective-C runtime in one of my projects.
Continue reading
This is a list of git notes that I use everyday. Hopefully someone else finds it useful. I will update this list over time.
Continue reading


A MATTER OF TASTE A film review by Julia Levin Copyright 2001 filmcritic.com
A string of movies emerging from France, including With A Friend Like Harry, The School of Flesh, and The Taste of Others, represent the "new" type of French films that American distributors are looking for. Partially dark comedies, partially thrillers, they get packaged as contemporary French noir. They are also notorious for taking no risks and being barely skin deep with plot and character.
In A Matter of Taste, Frédéric Delamont (Bernard Giraudeau), an industrial tycoon apparently at a peak of his success, is obsessed with two things: food and himself.  To feed his self-indulgence, Frédéric hires Nicolas as a personal food taster. As we soon discover, he is plotting to get the waiter obsessed with the same culinary tastes Frédéric has, and, more importantly, to essentially make Nicolas a living replica of himself. Nicolas, played by Jean-Pierre Lorit, best known for his role as a young law student in Krzysztof Kieslowski's incredible Red, gives his character a touch of unruly enigma, but that is as far as he can go with the role.
Nicolas finds his new boss an exotic fellow: The businessman is obsessed with food and is phobic about everything he can't control. He leads an empty life, spending most of his time eating lush, exquisitely prepared culinary masterpieces and lamenting about his childhood -- perhaps real, but mostly likely invented -- but boring either way.
A Matter of Taste is about obsession and the many different forms it can take. However, in this film, the obsessed are far less interesting than their obsessions. One of the problems is that the magic chemistry that is supposed to draw the two men together and change them is painfully absent. Frederic and Nicolas don't have much to say to one another, and aside from their spare, monosyllabic dialogue, the film is full of homoerotic undertones and creepy suggestions that keep you only mildly interested in whether something will ever happen between the two.
The doppelganger motif doesn't work here --simply put, the story never creates the necessary level of suspense or substance. In addition, they are ill-chosen players for the thriller genre: Frédéric exhibits no more energy than the dead fish he is allergic to, and, as the story progresses, Nicolas's growing dependency syndrome becomes irksome (aside from being laughably predictable).
 The thematic components of the film -- the manipulator vs. the manipulated, rich vs. poor, victim vs. victimizer -- never develop into anything even remotely sociologically coherent. From the beginning, we know what has happened and who has done it, we are just not sure why. Is there a symbolic relationship that unites these two men? Platonic love? Sex? Money? Unfortunately, the answer doesn't matter when the characters are as vacuous as problems they represent.
Aka Une affaire de goût.

Visit filmcritic.com on the Web at http://www.filmcritic.com
========== X-RAMR-ID: 29338 X-Language: en X-RT-SourceID: 178 X-RT-AuthorID: 3626 X-RT-RatingText: 2.5/5
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


Sarah is a leading expert in emerging issues and trends in privacy, security and technology. She has a growing, well founded reputation for her honest commitment to changing the way personal data is managed. Sarah recently spoke to a Parliamentary Select Committee, challenging ideas about data sharing and accountability within machine learning.
Winning a range of awards including: Forbes 30 Under 30 in 2016, a New Radical Award from NESTA in 2016, a Creative Conscience Gold Prize in 2015 and a Future Pioneer award from The Design Council in 2014, she founded IF, where she works as CEO.
Attracting some of the most influential global companies, Sarah has developed IF, a world renowned, multidisciplinary team who work with organisations shaping our digital world to show how they can be trusted with data. Through their work, IF demonstrates how to design services people can trust.
Sarah sits on the board for Tech for Good, is a practitioner for the Research Institute in the Science of Cyber Security and a Fellow of the RSA.
Previously
- WikiHouse Foundation, Co-Founder
- Government Digital Service, Service Designer for Registers
Awards
- Female Founders 101, Business Cloud, 2017
- Forbes 30 Under 30, Forbes, 2016
- Highly Commended for Infocus, Innovate UK, 2016
- New Radical, NESTA, 2016
- Near Now Fellow, Broadway, 2015
- Creative Conscience Gold Award, 2015
- CoLAB Associate, 2015
- RSA Fellow, Royal Society of the Arts, 2015
- Creative Enterprise Award for Innovation, University of the Arts, 2014
- Future Pioneer Award, The Design Council, 2014
Selected exhibitions
- New York Design Festival, New York, 2017
- Big Bang Data, Somerset House, London, 2015-2016
- Art, Data, Money, Furtherfield, London, 2015
- Azone Futures, Guggenheim, New York, 2015
- Digital Design Weekend, V&A, London, 2015
- Civic Shop, Somerset House, London, 2015
- Restless Futures, London Design Festival, London, 2014
- Designersblock, London Design Festival, London, 2014
- New Designers, Business Centre, London, 2014
Sarah's work published in books
- Alternet in Critical Design, Theory of Practices by Dr Matthew Malpass (2016)
- New Civic chapter in Crafting our digital futures launched by Irini Papadimitriou, Andrew Prescott & Jon Rogers (2015)


Interpreting orthophoto map images from aerial photographs
To identify features on aerial photos and orthophoto maps, you can examine the shadows, tone and texture of features on the photographs to get clues about them.
Shadows help you to identify the height of features. The higher the features the longer the shadow. Shadows also help to identify the steepness of slopes.
Tone refers to the lightness and darkness of features in an image. Vegetation cover and water features are dark, whereas artificial surfaces reflect light and are lighter.
Texture describes the roughness or smoothness of features.
Also refer to the map of the same area to identify place names and features.


THIS SECTION IS UNDER DEVELOPMENT
We’re still working on this section. Feel free to dive into the docs, but keep in mind that things will likely change pretty often.


Michael Smith makes staggering Hearts admission as he demands flops 'pull the finger out'
The Jambos were battered 3-0 by Kilmarnock at Rugby Park on Saturday.
by Michael Gannon, https://www.dailyrecord.co.uk/authors/michael-gannon/Hearts are in the market for a new manager and director of sport but perhaps they should also stick a shrink on the wishlist.
The Jambos were clobbered by Kilmarnock on Saturday to plunge back in to the relegation danger zone.
And right-back Michael Smith admitted the first task for whoever gets the gig as boss will be to deal with the mental fragility around Gorgie.
It’s going to take a heck of a lot of work as Hearts are all over the place.
Smith admitted it wasn’t even a lack of confidence that caused their complete collapse at Rugby Park – if anything it was over confidence.
Try getting your head around that one for a second.
A team that’s won just six league games in the whole of 2019 walked out at the home of last term’s third best side and thought they’d stroll it.
Frightening.
Smith is an honest pro and can see the problems around him – but it was still quite the admission in the wake of a complete doing by Angelo Alessio’s men.
The Northern Ireland cap star said: “I think maybe it was a mentality problem.
“We shouldn’t lack confidence as we did well against St Mirren. We should have been on a high.
“Maybe we thought it would be easier than it was.
“It has always been tough when I’ve been here before.
“It was always going to be a tough day but it was really poor for us.
“We are only one loss away from being at the bottom again.

“We have got the quality to get out of it but it is a mentality problem again.”

But that was only part of the picture – the Jambos were woeful throughout the 90 minutes.
Veteran Killie winger Chris Burke plundered a stunning double and also teed up Eamonn Brophy in between to fire the Ayrshire outfit three up inside 16 minutes which allowed them to spark the cigars.
Dugout hopeful MacPhee’s hopes of landing the job full-time took a serious hit as his Jambos were dismal, disorganised and, by the end, completely dispirited. Smith, though, insisted it is the players who should carry the can.
He said: “Every loss is down to the players.
“It is solely on us. We were very poor right from the off.
“I could sense we were just not at the races.”
Smith has been one of the few impressive players at Tynecastle this season and has a more level head than most.
But he admitted the uncertainty at Hearts isn’t doing anyone any favours.
Chief Ann Budge is determined to take her time to make the right appointments – but the club is stuck in limbo and could do with a new manager to come in and light a fire under the place.
Smith said: “Does it have an affect? Yes and no.
“Ann Budge has made a decision to take her time and it is a big decision.
“I support that and whatever she decides in the end we will be fully behind.
“When a manager gets sacked there is always a bit of chaos around the club.
“The new manager might not like you so you have to make sure you do your best because whoever comes in will be watching us and keeping an eye on us.”
The Hearts players will be hoping any new gaffer wasn’t tuning in here.
Killie were as devastating as Hearts were desperate.
The Jambos walked on to a three-punch combo that KO king Deontay Wilder would have been proud to land.
Burke was the man doing the swinging.
He blasted Killie ahead from a tight angle in the ninth minute after Mo El Makrini was given time and space to pick a pass. Five minutes later, the former Rangers ace curled in a cracking cross for Brophy to nod home before racing from the half-way line following a Hearts corner to complete a sensational solo second goal for Killie’s third.
The Jambos would have been as well getting back on the bus there and then as they offered next to nothing in response apart from a five-minute flurry after half-time that fizzled out to nothing.
Smith said: “To say the start killed us is an under-statement. It was a crazy eight minutes.
 That was the game dead and buried there. They sat in and made it hard for us to break down.”
It has been a rollercoaster spell for Smith, with a wonder goal opener in midweek against Germany before Northern Ireland got walloped 6-1.
He said: “I had a fantastic seven minutes! After that it was a bit of a disaster.
“It has been a crazy week but when I got back from international duty my head was very much on Hearts.
“For whatever reason it didn’t happen and now it is back to the drawing board for Rangers next week.”


Problem 6
- Write a function that groups an array of people by age, first or last name.
- The function must return an associative array, with keys - the groups, and values - arrays with people in this groups
- Use function overloading (i.e. just one function)
You could use Chrome console or Firebug to see the results.


“The world is a book, and those who do not travel read only one page.” – Saint Augustine
Learn More About MeMy name is Egle Libby and I am a full stack developer. At the age 24 I was already managing a pharmacy in Vilnius, Lithuania, for a year, and when my husband got a job offer to work in Bangladesh, I decided to use this opportunity to finally follow my passion for web development. So I quit my job, moved to Bangladesh, and used my free time studying on my own and taking various online courses. I loved it. After I moved to the United States I wanted to fully immerse myself in developers' world and joined highly selective 12-week Viking Code School's bootcamp for learning professional software engineering. I successfully graduated and enjoyed every minute of it. I have always been a fast learner and that helped tremendously to keep up with the course. I am continuing to learn every day. I enjoy working with React and Redux on the front end, and Node.js, Express.js, PostgresSQL, and MongoDB server-side.
JavaScript
React.js
Redux
HTML5
CSS3
Bootstrap
jQuery
Node.js
Express.js
PostgresSQL
MongoDB
It is a single-page travel planning application. It takes into account your location, preferences and transportation, and helps you plan your day by giving 3 options at a time. Julie will calculate travel time and estimate the amount of time you are likely to spend at various locations through an algorithm. Built with: React and Redux, Node.js, Express.js, MongoDB, Google API, Foursquare API.
It is a single-page project management application. It allows teams to maintain "Boards", "Lists", and "Cards", each of which represents a task that needs to be done. The app smooths the process of assigning team members to particular tasks. Built with: React and Redux, Node.js, Express.js, PostgresSQL.
A tool which allows to test the performance of historical portfolios of stocks. You can see information about stocks on your selected dates, perform trades, see all you transactions, and your portfolio for a specific day. Built with: React and Redux, Node.js, Express.js, QuandlAPI.
It is an app that allows you to share you recipes with other people, like each others recipes or report unfit posts. Built with: Node.js, Express.js, MongoDB.
Reach out to<EMAIL_ADDRESS>if you'd like to get in touch about an opportunity or to know more about me.


“Satimā paññavā bhikkhu,
āraddhabalavīriyo;
Pañca kappasatānāhaṁ,
ekarattiṁ anussariṁ.
As a monk, mindful and wise,
empowered and full of energy,
I recollected five hundred eons
in a single night.
Cattāro satipaṭṭhāne,
satta aṭṭha ca bhāvayaṁ;
Pañca kappasatānāhaṁ,
ekarattiṁ anussarin”ti.
… Sobhito thero ….
Developing the four kinds of mindfulness meditation,
the seven factors of awakening and the eightfold path,
I recollected five hundred eons
in a single night.


Company App
{{company.name}}
Details
Edit
Delete
Name:
Address:
City:
Country:
E-mail:
Phone Number:
Owners (Use " , " between Owners):
Name:
{{company.name}}
Address:
{{company.address}}
City:
{{company.city}}
Country:
{{company.country}}
E-Mail:
{{company.email}}
Phone Number:
{{company.phoneNumber}}
Owners:
{{company.owners}}
Add New Company
Owners (Use " , " between Owners) = {{owners}}
Add Company


EIGHT MEN OUT A film review by Mark R. Leeper Copyright 1988 Mark R. Leeper
Capsule review: Intriguing account of the 1919 "Black Sox" scandal, well-directed by John Sayles. Like MATEWAN, it is a good piece of historical story-telling with an intentional political edge. Rating: +2.
I guess it is official now, at least in my own mind: John Sayles is now one of the major film directors of the day. He slowly built a reputation with RETURN OF THE SECAUCUS SEVEN (which pre-dated THE BIG CHILL but was a sort of BIG CHILL with real people), LIANNA, and THE BROTHER FROM ANOTHER PLANET. But he really scored with MATEWAN, the Eisenstein-esque account of the coming of the union to a West Virginia coal mining town. He took what was reportedly a modest budget and made an epic historical film. EIGHT MEN OUT is a cut or two below MATEWAN, but a pretty decent film in its own right.
EIGHT MEN OUT is the story of the "Black Sox" scandal of 1919. In that year seven players on the Chicago White Sox found themselves between the carrot of mobsters offering them bribes and the stick of owners who made large profits but did not pay a living wage and who cheated on their promises of bonuses. (The eighth man of the title maintained that he had never accepted any bribes.) Watching the results of this triangle from a distance are, on one hand, sportswriters and on the other, the kids who are the real fans of the game. Then some hoods with ties to the notorious Arnold Rothstein want to fix the World Series but are rebuffed by the players until one of the players is denied a bonus he was to have gotten if he won thirty games. It seems he won twenty-nine and would have won more if the owner of the club had not pulled him out of some games. After that, one-by-one the players surrender to the lure of a little easy money. The willingness of the Sox to be bribed starts a sub-plot of betrayal in Rothstein's organization, a sub-plot (incidentally) that Sayles never ties up.
In some ways EIGHT MEN OUT makes a good companion piece to THE NATURAL. Both are poetically filmed stories of early baseball, criminal influence, and the ever-present sportscasters' commentary to a public hungry for sports news. But, perhaps because it is a true story, EIGHT MEN OUT lack THE NATURAL's clean and uncomplicated storyline. Actually, the film is more likely to invite comparison to MATEWAN with its photography, its historical storyline, and several overlapping actors (including Sayles himself). EIGHT MEN OUT is the best sports film since THE NATURAL. Rate it a +2 on the -4 to +4 scale.
Mark R. Leeper att!mtgzz!leeper<EMAIL_ADDRESS>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


Learn to Code
20 Jan 2011Friends have asked how to get started learning web development. The good news is that it's pretty simple to get started building websites. Like anything, it takes a lot more time to develop your skill to a professional level. Here are a few resources to get anyone started in the right direction.
W3 Schools is a comprehensive guide to web codes. Guided lessons and quick reference for html and css makes this very helpful tool for newbies and pros.
EditorsThere are a wide variety of HTML editors but your can start with any simple program like Notepad or TextEdit.  Although simple to use, the code they generate is often not semantic or efficient. I suggest learning to do it yourself, the time investment will pay off in better results.
W3COnce you get into the code how to you know your doing it right? Easily check your programming with W3C's html and css validators. These tools check your code against the official standards and even suggests improvements.
BooksThere are countless books that can guide you through development of a simple sample site. I recommend getting books by experts in the industry: Jeffery Zeldman, Eric Meyer, Dan Cederholm, Jeremy Keith, and others. (I'm working on a specific list.)
Once you get started you can follow blogs such as A List Apart, Nettuts, Smashing mag, .net mag, and more to keep up with the latest techniques.
Have fun! Start with a project you're really excited about, instead of the one thats due tomorrow.


Do you think you know pi? Test your knowledge and enter as many digits as you can. Current Digit: {{ digit }}


Class PlcStateInfo
Inheritance
System.Object
PlcStateInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dacs7.Control
Assembly: Dacs7.dll
Syntax
public class PlcStateInfo
Properties
PreviousState
Previous State of the plc
Declaration
public PlcStates PreviousState { get; }
Property Value
| Type | Description |
|---|---|
| PlcStates |
State
Current state of the plc
Declaration
public PlcStates State { get; }
Property Value
| Type | Description |
|---|---|
| PlcStates |
Timestamp
timestamp is only valid if PreviousState is not unknown
Declaration
public DateTime Timestamp { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |


Create a Scrolling Text View
Tags: AppKit
Type: API
Class: NSScrollView & NSTextView
A scrolling text view is commonly required in applications, and Interface Builder provides an NSTextView configured just for this purpose. However, at times you may need to create a scrolling text view programmatically.
See the Apple Documentation Archive for more useful info on this topic.
Link: Apple Developer Docs for NSScrollView
Sample Code:
// Define the views
var scrollView: NSScrollView!
var textView: NSTextView!
// Set up the Scroll View
let scrollRect = NSRect(x: 0, y: 0, width: 300, height: 150)
scrollView = NSScrollView(frame: scrollRect)
scrollView.hasVerticalScroller = true
scrollView.hasHorizontalScroller = false
scrollView.autoresizingMask = [.width, .height]
// Set up the Text View
let contentSize = scrollView.contentSize
let textRect = NSRect(x: 0, y: 0, width: contentSize.width, height: contentSize.height)
textView = NSTextView(frame: textRect)
textView.minSize = NSSize(width: 0, height: contentSize.height)
textView.maxSize = NSSize(width: 32000, height: 32000)
textView.isVerticallyResizable = true
textView.isHorizontallyResizable = false
textView.autoresizingMask = .width
textView.textContainer!.containerSize = NSSize(width: contentSize.width, height: 32000)
textView.textContainer!.widthTracksTextView = true
// Add the Text View to the Scroll View
scrollView.documentView = textView
Contributed by Herb Bowie on 28 Oct 2019


CodePipeline CustomActionType ConfigurationProperties
ConfigurationProperties
is a property of the AWS::CodePipeline::CustomActionType resource that defines a
configuration for an CodePipeline custom action.
Syntax
JSON
{ "Description" :
String
, "Key" :Boolean
, "Name" :String
, "Queryable" :Boolean
, "Required" :Boolean
, "Secret" :Boolean
, "Type" :String
}
YAML
Description:
String
Key:Boolean
Name:String
Queryable:Boolean
Required:Boolean
Secret:Boolean
Type:String
Properties
Description
-
A description of this configuration property that will be displayed to users.
Required: No
Type: String
Key
-
Indicates whether the configuration property is a key.
Required: Yes
Type: Boolean
Name
-
A name for this configuration property.
Required: Yes
Type: String
Queryable
-
Indicates whether the configuration property will be used with the
PollForJobs
call. A custom action can have one queryable property. The queryable property must be required (see theRequired
property) and must not be secret (see theSecret
property). For more information, see thequeryable
contents for the ActionConfigurationProperty data type in the AWS CodePipeline API Reference.Required: No
Type: Boolean
Required
-
Indicates whether the configuration property is a required value.
Required: Yes
Type: Boolean
Secret
-
Indicates whether the configuration property is secret. Secret configuration properties are hidden from all CodePipeline calls except for
GetJobDetails
,GetThirdPartyJobDetails
,PollForJobs
, andPollForThirdPartyJobs
.Required: Yes
Type: Boolean
Type
-
The type of the configuration property, such as
String
,Number
, orBoolean
.Required: No
Type: String


Biography
I'm Muhannad Almugrabi, 22 years old entrepreneur. A well driven visionary and out of the box thinker with an engineering mindset mixed with a passion for technology who aims to create a revolution in field of environment, technology and engineering to leave an imprint to lead the next generation.
Education
- University of Jordan
- Modern System School
Civil Engineering-2020
High School-2016
- SmartVoom Inc
- Maskan Company
- The Study House 2018-2020
- Cashier
- Branch Manager
- Quality Assurance Manager
- Business Development Manager
- Sharaf Retail Company
- Beats Events production
Work Experience
Former Co-founder at SmartVoom inc, which is an E-learning platfrom that focuses on collaborative & interactive learning -2020
Former co-founder,a company founded in 2019 to tackle the real estate market with new features such as: virtual touring,near by places,interior design services and many more..!
if you would like to see the description of each experience, Please Contact me here.
Senior Sales Associate -2017
Public Relation Assistant/Marketer 2016-2017
Interests
- Self Development
- Reading
- Gym
Goals
- Create an inspiring experience that adds a value for the world in the fields of Technology,Engineering & Environment.
- Keep up the motiviation and passion for programming & Master AI & Machine learning field
- Solve real world problems using my knowledge,skills and experience in software and engineering
Top 10 countries I'll travel to
- Spain
- Italy
- Peru
- Norway
- Thaialnd
- Greece
- USA
- Canada
- Switzerland
- Iceland


"We are a company that understand the customers pain about the difficulties in finding the right helper. Hence, we aim to solve that problem by providing a platform on which it is easy to find the right helper of their choice.  We take care of the rights of the helpers and provide any assistance they need. We have been receiving immense support from the public through social media and we look forward to serving you as per your needs. We just get better and better everyday"


Our ancestors looked at the skies and imagined than one day the man would travel out of this world. This dream now will be real, thanks to "Space-x" an enterprise laddered by Elon Musk, they begin the develop of the project for send a one passenger to the moon. Japanese billionaire and online fashion tycoon Yusaku Maezawa, 42 years old, announced the next: "I choose to go to the Moon." Definitely a huge challenge...
Develop the space tourism in my opinion is the most exciting trend in tourism, because, all people want to explore the unknown. Therefore, more and more people will be interesting about the space, more children will be interesting in engineering and astronomy. The experience of travel to the space isn't comparable with another one because is totally different than other types of travel. It could be a new way for people to interact.
On the other side we have the cons of space tourism, is really but really, really easy than something goes wrong, a bad calculus or bad circumstances (weather, temperature, cosmic powder, etc), could cause the explosion of the spacecraft, also this could cause fear in people to travel out of Earth. Another disadvantage could be the cost of travel, it’s too expensive and many people couldn't access but the solution could be the "VR reality".
Somebody asked to Musk how much it would cost to develop the BFR (spacecraft), and he said $5 billion (low end, $2 billion, high end $10 billion). Look, I’m a dilettante, but that seems low? The Space Launch System, NASA’s similar rocket, has cost about $2 billion to develop. Other projects to become reality the space tourism is "Virgin Galactic" who requires an up-front deposit of over £200,000 ($250,000) for a ‘seat to space’ and ‘membership of the Future Astronaut community’ for begin the develop.
Space travel or space tourism is a fairly large field that has not yet been completely studied, for this reason we need to be adventurous and bet on the unknown, supporting this trend. It was a dream of our ancestors that we are about to meet, currently only the rich people can have the opportunity to travel but as always, as more people are interested the prices will go down.
"The Millennials" is located in Tokyo-Japan and the concept is promove the tourism for the millennial generation.
Intel wanna create a smart hotel, make more easier and technology the stay of the guests
The guests have more variety to choose what to eat and this causes more people to visit the hotel and the rating of the hotel go up.


AutoCAD DXF
Driver short name
DXF
Driver built-in by default
This driver is built-in by default
DXF is an ASCII format used for interchanging AutoCAD drawings between different software packages. OGR supports reading DXF files generated by all recent versions of AutoCAD, and writing DXF files that are compatible with AutoCAD 2004 and later.
DXF files are considered to have no georeferencing information through OGR.
Driver capabilities
Supports Create()
This driver supports the GDALDriver::Create()
operation
Supports VirtualIO
This driver supports virtual I/O operations (/vsimem/, etc.)
DXF Reader
By default, the entire contents of the file are represented as a single OGR layer named "entities". Features will all have the following generic fields:
Layer: The name of the DXF layer. The default layer is "0".
PaperSpace: 1 if the entity is located on a layout (paper space), NULL otherwise.
SubClasses: Where available, a list of classes to which an entity belongs.
ExtendedEntity (GDAL <= 2.2.x): The values of extended entity attributes all appended to form a single text field, where available.
RawCodeValues (GDAL >= 2.3.0): A string list containing all group codes and values that are not handled by the DXF reader. Only available when the configuration option
DXF_INCLUDE_RAW_CODE_VALUES=TRUE
.DXF_INCLUDE_RAW_CODE_VALUES=[TRUE/FALSE]: Defaults to
FALSE
.Linetype: Where available, the line type used for this entity.
EntityHandle: The hexadecimal entity handle. A sort of feature id.
Text: The text of labels.
Supported Entities
The following entity types are supported:
POINT: Produces a simple POINT geometry feature.
MTEXT, TEXT: Produces a POINT feature with LABEL style information. The style string may include the following parameters: f s t a c w p dx dy bo it. Text positioning might not precisely match CAD software (especially the vertical alignment of MTEXT), as calculation of the exact position would require GDAL to be aware of the font metrics. By default, character escapes such as %%p are honored where applicable, and MTEXT control sequences like \Wx.xx; are stripped. To disable this behavior and retrieve the raw text values, set the configuration option
DXF_TRANSLATE_ESCAPE_SEQUENCES=FALSE
.DXF_TRANSLATE_ESCAPE_SEQUENCES=[TRUE/FALSE]: Defaults to
TRUE
.LINE, POLYLINE, LWPOLYLINE: Translated as a LINESTRING. Rounded polylines (those with their vertices' bulge attributes set) will be tessellated. Single-vertex polylines are translated to POINT. Polyface meshes are translated as POLYHEDRALSURFACE geometries.
MLINE:
(GDAL >= 2.3.0) Translated as a MULTILINESTRING. Only the geometry is reconstructed; styling applied to individual line elements within the MLINE is ignored. Fill colors and start/end caps are also omitted.
(GDAL <= 2.2.x) No support.
CIRCLE, ELLIPSE, ARC, SPLINE, (GDAL >= 2.3.0) HELIX: Translated as a LINESTRING, tessellating the curve into line segments. (GDAL >= 2.3.0) CIRCLEs with nonzero "thickness" (cylinders) are approximated as a POLYHEDRALSURFACE.
INSERT: By default, the block definition referenced by the INSERT will be inserted as a compound geometry (for example, a MULTILINESTRING for a block containing many lines, or a GEOMETRYCOLLECTION for a block that contains points and lines). If the block contains TEXT or MTEXT entities, they are not merged into the compound geometry and are instead returned as separate features.
Three configuration options are available to control the behavior of INSERT entities:
DXF_MERGE_BLOCK_GEOMETRIES=[TRUE/FALSE]: To avoid merging blocks into a compound geometry the
DXF_MERGE_BLOCK_GEOMETRIES
config option may be set to FALSE. Use this option if you need to preserve the styling (such as colors) of individual linework entities within the block.DXF_INLINE_BLOCKS=value: See below.
DXF_FEATURE_LIMIT_PER_BLOCK=value: Defaults to
10000
. Maximum number of features inserted from a single block. Set to -1 for no limit.
ATTDEF, ATTRIB:
(GDAL >= 2.3.0) Attributes (ATTRIB) are treated as TEXT entities, and attribute definitions (ATTDEF) inside blocks are ignored. The behavior is different when
DXF_INLINE_BLOCKS
is false (see below).(GDAL <= 2.2.x) ATTDEF entities are treated as TEXT. ATTRIB entities are not supported.
HATCH: Line and arc boundaries are collected as a polygon geometry, but no effort is currently made to represent the fill style of HATCH entities. Behavior is affected by the following configuration option:
DXF_HATCH_TOLERANCE=value: Determines the tolerance used when looking for the next component to add to the hatch boundary.
(GDAL <= 2.2.x) Only line and polyline boundary paths are translated correctly.
3DFACE, SOLID, (GDAL >= 2.3.0) TRACE: Translated as POLYGON, except for SOLID and TRACE entities with only one distinct vertex (translated as POINT) or two distinct vertices (translated as LINESTRING).
DIMENSION:
(GDAL >= 2.3.0) The DXF format allows each DIMENSION entity to reference an "anonymous" block (a block whose name starts with *D) that contains the geometry of the DIMENSION. If present, this anonymous block will be inlined at the required position. Otherwise, fallback will occur to a simple DIMENSION renderer that explodes a linear dimension as a MULTILINESTRING feature. Arrowheads, if present, are translated as one or more additional features. The fallback renderer will render nonlinear dimensions as if they were linear.
(GDAL <= 2.2.x) Dimensions are translated as a MULTILINESTRING and a POINT for the text.
LEADER, MULTILEADER:
(GDAL >= 2.3.0) The leader line is translated as a LINESTRING (LEADER) or MULTILINESTRING (MULTILEADER). Arrowheads, if present, are translated as one or more additional features. Text for MULTILEADER entities is translated into a POINT feature with a label. Block content for MULTILEADERS is treated as for INSERT. Spline leaders are tessellated into line segments.
(GDAL <= 2.2.x) No support.
3DSOLID, REGION, BODY, SURFACE: See below.
A reasonable attempt is made to preserve color, line width (lineweight), line type, text size and orientation via OGR feature styling information when translating entities. Currently no effort is made to preserve complex line types (those that include text or shapes) or HATCH fill styles.
The OGR_ARC_STEPSIZE
and OGR_ARC_MAX_GAP
configurations
options control the approximation of arcs, ellipses, circles and rounded
polylines as linestrings.
For splines, the interpolated polyline contains eight vertices for each control point.
Object coordinate systems (OCS), also known as "extrusions", are supported for all entities to which they apply as per the DXF specification, except DIMENSION, LEADER and MULTILEADER. These three entity types also currently lack support for elevations; the geometries will always be 2D.
DXF_INLINE_BLOCKS
The default behavior is for INSERT entities to be exploded with the
geometry of the BLOCK they reference. However, if the DXF_INLINE_BLOCKS
configuration option is set to the value FALSE, then the behavior is
different as described here.
A new layer will be available called "blocks". It will contain one or more features for each BLOCK defined in the file. In addition to the usual fields, they will also have a Block field indicating what block they are part of. (Note, in GDAL 2.2.x and earlier this field was called BlockName.)
(GDAL >= 2.3.0) ATTDEF entities in the blocks layer will have an AttributeTag field, giving the tag of the ATTDEF entity.
The entities layer will have several new fields:
BlockName: The name of the referenced block.
BlockScale: The X, Y, and Z scale factors.
BlockAngle: The angle of the block in degrees.
BlockOCSNormal (GDAL >= 2.3.0): The unit normal vector of the object coordinate system (OCS) of the INSERT entity.
BlockOCSCoords (GDAL >= 2.3.0): The OCS coordinates of the insertion point.
BlockAttributes (GDAL >= 2.3.0): The text content of attributes associated with this block. Each entry in this string list contains an attribute tag, followed by a space, followed by the text for that attribute (which may be empty).
INSERT entities will populate these new fields with the corresponding information (they are null for all other entities).
INSERT entities will not have block geometry inlined - instead they will have a POINT geometry for the insertion point.
The intention is that with DXF_INLINE_BLOCKS
disabled, the block
references will remain as references and the original block definitions
will be available via the blocks layer. On export this configuration
will result in the creation of similar blocks.
3D Extensibility
DXF files may contain 3DSOLID, REGION, BODY and SURFACE entities, which contain 3D modelling data in the proprietary Autodesk ShapeManager (ASM) format, a broadly compatible fork of the ACIS format. GDAL cannot transform these entities into OGR geometries, so they are skipped by default.
This behavior can be controlled with the following configuration option:
DXF_3D_EXTENSIBLE_MODE=[TRUE/FALSE]: If TRUE, include ASM entities with the raw ASM data stored in a field, allowing for interoperability with commercial conversion tools. This option adds two new fields:
ASMData: A binary field that contains the ASM data.
ASMTransform: A column-major list of 12 real values indicating the affine transformation to be applied to the entity.
This feature only works for DXF files in AutoCAD 2013 (AC1027) format and later.
Character Encodings
Normally DXF files are in the ANSI_1252 / Win1252 encoding. GDAL/OGR attempts to translate this to UTF-8 when reading and back into ANSI_1252 when writing. DXF files can also have a header field ($DWGCODEPAGE) indicating the encoding of the file. An attempt is made to use this to recode other code pages to UTF-8. Whether this works will depend on the code page naming and whether GDAL/OGR is built against the iconv library for character recoding.
In some cases the $DWGCODEPAGE setting in a DXF file will be wrong, or
unrecognised by OGR. In this case, DXF_ENCODING
may be used to
override what id will be used by OGR in transcoding:
DXF_ENCODING=value: An encoding name supported by
CPLRecode()
(i.e. an iconv name), not a DXF $DWGCODEPAGE name. Using a value "UTF-8" will avoid any attempt to recode the text as it is read.
DXF Writer
DXF files are written in AutoCAD 2004 format. A standard header (everything up to the ENTITIES keyword) is written from the $GDAL_DATA/header.dxf file, and the $GDAL_DATA/trailer.dxf file is added after the entities. Only one OGR layer can be used to create the output file (but many DXF layers can be created - see below).
Point features with LABEL styling are written as MTEXT entities based on the styling information.
Point features without LABEL styling are written as POINT entities.
LineString and MultiLineString features are written as one or more LWPOLYLINE entities, closed in the case of polygon rings. If the geometry does not have a constant elevation, a POLYLINE entity is written. An effort is made to preserve line width and color.
Polygon, Triangle and MultiPolygon features are written as HATCH entities by default. To write these features as LWPOLYLINE/POLYLINE entities instead, set the configuration option
DXF_WRITE_HATCH=FALSE
:DXF_WRITE_HATCH=[TRUE/FALSE]: Defaults to
TRUE
. IfTRUE
, write Polygon, Triangle, and MultiPolygon features asHATCH
entities. If false, write them asLWPOLYLINE/POLYLINE
.
You may need to do this if your geometries do not have a constant elevation, as the DXF HATCH entity cannot represent such geometries.
Only the first tool (PEN, BRUSH, etc) in the style string is read. The following style string parameters are understood:
Tool |
Available on geometry types |
Supported parameters |
|---|---|---|
PEN |
Point, (Multi)LineString |
color (c); width (w); dash pattern (p) |
BRUSH |
(Multi)Polygon, Triangle |
foreground color (fc) |
SYMBOL |
Point |
color (c) |
LABEL |
Point |
GDAL >= 2.3.0: text (t); font name (f); font size (s), treated as cap
height; bold (bo); italic (it); text color (c); x and y offsets (dx,
dy); angle (a); anchor point (p); stretch (w)
GDAL <= 2.2.x: text (t); font size (s), treated as cap height; text
color (c); angle (a); anchor point (p)
|
The dataset creation supports the following dataset creation options:
HEADER=<filename>: Override the header file used - in place of header.dxf located in the GDAL_DATA directory.
TRAILER=<filename>: Override the trailer file used - in place of trailer.dxf located in the GDAL_DATA directory.
The header and trailer templates can be complete DXF files. The driver will scan them and only extract the needed portions (portion before or after the ENTITIES section).
Block References
It is possible to export a "blocks" layer to DXF in addition to the "entities" layer in order to produce actual DXF BLOCKs definitions in the output file. It is also possible to write INSERT entities if a block name is provided for an entity. To make this work the following conditions apply:
A "blocks" layer may be created, and it must be created before the entities layer.
The entities in the blocks layer should have the Block field populated. (Note, in GDAL 2.2.x and earlier this attribute was called BlockName.)
Objects to be written as INSERTs in the entities layer should have a POINT geometry, and the BlockName field set. You may also set BlockAngle, BlockScale, BlockOCSNormal and BlockOCSCoords (see above under
DXF_INLINE_BLOCKS
for details). If BlockOCSCoords is set to a list of 3 real numbers, it is used as the location of the block; in this situation the position of the POINT geometry is ignored.If a block (name) is already defined in the template header, that will be used regardless of whether a new definition was provided in the blocks layer.
The intention is that a simple translation from DXF to DXF with
DXF_INLINE_BLOCKS
set to FALSE will approximately reproduce the original
blocks and keep INSERT entities as INSERT entities rather than exploding
them.
Layer Definitions
When writing entities, if populated the Layer field is used to set the written entities layer. If the layer is not already defined in the template header then a new layer definition will be introduced, copied from the definition of the default layer ("0").
Linetype Definitions
When writing linestring geometries, the following rules apply with regard to linetype (dash pattern) definitions.
If the Linetype field is set on a written feature, and that linetype is already defined in the template header, then it will be referenced from the entity. If a style string is present with a "p" pattern proportional to the linetype defined in the header, a linetype scale value is written.
If the Linetype field is set, but the linetype is not defined in the header template, then a definition will be added if the feature has an OGR style string with a PEN tool and a "p" pattern setting.
If the feature has no Linetype field set, but it does have an OGR style string with a PEN tool with a "p" pattern set, then an automatically named linetype will be created in the output file. Or, if an appropriate linetype was previously created, that linetype will be referenced, with a linetype scale if required.
The intention is that "dot dash" style patterns will be preserved when written to DXF and that specific linetypes can be predefined in the header template, and referenced using the Linetype field if desired.
It is assumed that patterns are using "g" (georeferenced) units for defining the line pattern. If not, the scaling of the DXF patterns is likely to be wrong - potentially very wrong.
Units
GDAL writes DXF files with measurement units set to "Imperial - Inches". If you need to change the units, edit the $MEASUREMENT and $INSUNITS variables in the header template.


Next: 2.2 Invoking the bootstrap
Up: 2. Basic usage
Previous: 2. Basic usage
  Contents
To be able to use the bootstrap compiler, one must first install
SML/NJ (i.e., the interactive system that contains the compiler) as
well as both ML-Yacc and ML-Lex.
It is further necessary to have all ML source code for the system
available. If the basic installation did not install this source
code, then one must now fetch all source archives and unpack them.
(There is an option for the SML/NJ installer that lets it install all
source trees automatically. However, by default this feature is turned
off.)
The following list shows all required source packages. (Path names
are shown relative to the SML/NJ installation directory.)
- src/system
- This archive contains the sources for the SML
Standard Basis library as well as lots of ``glue'' code. The glue is
used for assembling a complete system from all its other parts.
Directory src/system must be the current working directory at
the time the bootstrap compiler is started.
- src/MLRISC
- This is the implementation of the MLRISC
backend (the low-level optimizer and code generator) used by SML/NJ.
- src/cm
- This source tree contains most of CM's (and CMB's)
implementation.
- src/compiler
- This is the implementation of the frontend
(parser, type checker, etc.) of the compiler as well as its high-level
optimizer (FLINT).
- src/ml-yacc
- This source tree contains the implementation
of ML-Yacc and its library ( $/ml-yacc-lib.cm).
Technically, the sources of ML-Yacc itself are not needed (provided a
working executable for ML-Yacc has been installed), but the library
sources are.
- src/smlnj-lib
- This source tree hosts several sub-trees,
each of which implements one of the libraries in the SML/NJ library
collection. For bootstrap compilation, the following sub-trees are
required:
- src/smlnj-lib/Util
- This directory holds the sources for
$/smlnj-lib.cm.
- src/smlnj-lib/PP
- This directory holds the sourcse for
$/pp-lib.cm, i.e., the pretty-printing library.
- src/smlnj-lib/HTML
- This directory holds the sources for
$/html-lib.cm, a library for handling HTML files. The need for
this library arises from the fact that $/pp-lib.cm statically
depends on it. (The compiler does not actually use any services from
this library.)
Next: 2.2 Invoking the bootstrap
Up: 2. Basic usage
Previous: 2. Basic usage
  Contents
Matthias Blume
2001-07-19


That I am very hard on myself – that I often unfortunately feel justified in this hardness, and that I spend way too much time thinking about myself (ego). Also, I have genuine feelings of anxiety and terror about working with others, even though I know that I shouldn’t, and haven’t in the past.
Values help you to identify your starting point, and direct your angle of learning. Most people find it easier to learn things that they deem important, so if it is important to you because it aligns with your values, then you will put more into it.
Empathy plays a very key role, for both yourself and others. To approach others with empathy in programming is important because often programming can seem quite clinical, and interacting kindly with general humans and being aware of what makes people do the things they do, and what they are trying to achieve can be quite humbling. Also, making something that makes life easier or more accessible for others is a really great thing, and you need empathy in order to realise what other peoples life journeys involve.
Self-awareness is huge in learning and programming. If you don’t take the time to check in with your self, the consequences can be high. Knowing your strengths and embracing your current shortcomings can really affect how well you perform in any aspect of life. Plus, if you don’t know how you learn best, it’ll be hard to successfully achieve what you want to do. It’s like wearing the wrong pair of shoes when you are trying to run a marathon – you’re making it hard for yourself, but at the end of the day its still you who has to do the running.
I’m not sure I was really surprised so much as interested – the neuroplasticity in terms of even just knowing it existed changes the outcome, was probably the most interesting thing. It has also been more comprehensive than perhaps was expected, in terms of the broad range of topics covered.
Definitely self-awareness, empathy for self and sharing the journey with others. As above, I have had trouble reaching out or connecting with my cohort, but that’s a reflection of my own habits. I am forever trying to improve the self-kindness.
Because soft skills are what is important in the workplace/industry. We are all humans and it is our human interactions that ultimately shape our career/work lives. Also, self-discovery can’t be taught, it has to be explored. By making a safe and welcoming space for these explorations to happen, ultimately you end up with more complete and functional humans in the tech-sphere. It is also a way of paying-it-forward, in that society benefits from more emotionally intelligent people and actions.
The core time doesn’t feel like a waste of time, but I also see some benefits to just practicing programming instead. There are real benefits in spending time on the core subjects, as ultimately these lead to more capable and flexible programmers. It also makes you a better programmer by giving you strategies - for resolving issues, finding resilience, identifying gaps in your learning, figuring out when to ask for help, working with others – which all help you make better code output in the end. Having said that, I could use infinite practice time for coding, so the more the better!
The core curriculum also helps keep the human health equilibrium, by reminding you that programming isn’t everything, and sitting still on a computer all day is no way to live a life! It encourages more balance and a holistic perspective, to help people from getting too engrossed.


| 1 | package nl.tudelft.jpacman.sprite; | |
| 2 | ||
| 3 | import java.awt.Graphics; | |
| 4 | ||
| 5 | /** | |
| 6 | * Animated sprite, renders the frame depending on the time of requesting the | |
| 7 | * draw. | |
| 8 | * | |
| 9 | * @author Jeroen Roosen | |
| 10 | */ | |
| 11 | public class AnimatedSprite implements Sprite { | |
| 12 | ||
| 13 | /** | |
| 14 | * Static empty sprite to serve as the end of a non-looping sprite. | |
| 15 | */ | |
| 16 | private static final Sprite END_OF_LOOP = new EmptySprite(); | |
| 17 | ||
| 18 | /** | |
| 19 | * The animation itself, in frames. | |
| 20 | */ | |
| 21 | private final Sprite[] animationFrames; | |
| 22 | ||
| 23 | /** | |
| 24 | * The delay between frames. | |
| 25 | */ | |
| 26 | private final int animationDelay; | |
| 27 | ||
| 28 | /** | |
| 29 | * Whether is animation should be looping or not. | |
| 30 | */ | |
| 31 | private final boolean looping; | |
| 32 | ||
| 33 | /** | |
| 34 | * The index of the current frame. | |
| 35 | */ | |
| 36 | private int current; | |
| 37 | ||
| 38 | /** | |
| 39 | * Whether this sprite is currently animating or not. | |
| 40 | */ | |
| 41 | private boolean animating; | |
| 42 | ||
| 43 | /** | |
| 44 | * The {@link System#currentTimeMillis()} stamp of the last update. | |
| 45 | */ | |
| 46 | private long lastUpdate; | |
| 47 | ||
| 48 | /** | |
| 49 | * Creates a new animating sprite that will change frames every interval. By | |
| 50 | * default the sprite is not animating. | |
| 51 | * | |
| 52 | * @param frames | |
| 53 | * The frames of this animation. | |
| 54 | * @param delay | |
| 55 | * The delay between frames. | |
| 56 | * @param loop | |
| 57 | * Whether or not this sprite should be looping. | |
| 58 | */ | |
| 59 | public AnimatedSprite(Sprite[] frames, int delay, boolean loop) { | |
| 60 | this(frames, delay, loop, false); | |
| 61 | } | |
| 62 | ||
| 63 | /** | |
| 64 | * Creates a new animating sprite that will change frames every interval. | |
| 65 | * | |
| 66 | * @param frames | |
| 67 | * The frames of this animation. | |
| 68 | * @param delay | |
| 69 | * The delay between frames. | |
| 70 | * @param loop | |
| 71 | * Whether or not this sprite should be looping. | |
| 72 | * @param isAnimating | |
| 73 | * Whether or not this sprite is animating from the start. | |
| 74 | */ | |
| 75 | public AnimatedSprite(Sprite[] frames, int delay, boolean loop, | |
| 76 | boolean isAnimating) { | |
| 77 | assert frames.length > 0; | |
| 78 | ||
| 79 | this.animationFrames = frames.clone(); | |
| 80 | this.animationDelay = delay; | |
| 81 | this.looping = loop; | |
| 82 | this.animating = isAnimating; | |
| 83 | ||
| 84 | this.current = 0; | |
| 85 | this.lastUpdate = System.currentTimeMillis(); | |
| 86 | } | |
| 87 | ||
| 88 | /** | |
| 89 | * @return The frame of the current index. | |
| 90 | */ | |
| 91 | private Sprite currentSprite() { | |
| 92 | Sprite result = END_OF_LOOP; | |
| 93 |
2
1. currentSprite : changed conditional boundary → SURVIVED 2. currentSprite : negated conditional → KILLED |
if (current < animationFrames.length) { |
| 94 | result = animationFrames[current]; | |
| 95 | } | |
| 96 | assert result != null; | |
| 97 |
1
1. currentSprite : mutated return of Object value for nl/tudelft/jpacman/sprite/AnimatedSprite::currentSprite to ( if (x != null) null else throw new RuntimeException ) → KILLED |
return result; |
| 98 | } | |
| 99 | ||
| 100 | /** | |
| 101 | * Starts or stops the animation of this sprite. | |
| 102 | * | |
| 103 | * @param isAnimating | |
| 104 | * true to animate this sprite or false | |
| 105 | * to stop animating this sprite. | |
| 106 | */ | |
| 107 | public void setAnimating(boolean isAnimating) { | |
| 108 | this.animating = isAnimating; | |
| 109 | } | |
| 110 | | |
| 111 | /** | |
| 112 | * (Re)starts the current animation. | |
| 113 | */ | |
| 114 | public void restart() { | |
| 115 | this.current = 0; | |
| 116 | this.lastUpdate = System.currentTimeMillis(); | |
| 117 |
1
1. restart : removed call to nl/tudelft/jpacman/sprite/AnimatedSprite::setAnimating → SURVIVED |
setAnimating(true); |
| 118 | } | |
| 119 | ||
| 120 | @Override | |
| 121 | public void draw(Graphics g, int x, int y, int width, int height) { | |
| 122 |
1
1. draw : removed call to nl/tudelft/jpacman/sprite/AnimatedSprite::update → SURVIVED |
update(); |
| 123 |
1
1. draw : removed call to nl/tudelft/jpacman/sprite/Sprite::draw → SURVIVED |
currentSprite().draw(g, x, y, width, height); |
| 124 | } | |
| 125 | ||
| 126 | @Override | |
| 127 | public Sprite split(int x, int y, int width, int height) { | |
| 128 |
1
1. split : removed call to nl/tudelft/jpacman/sprite/AnimatedSprite::update → NO_COVERAGE |
update(); |
| 129 |
1
1. split : mutated return of Object value for nl/tudelft/jpacman/sprite/AnimatedSprite::split to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return currentSprite().split(x, y, width, height); |
| 130 | } | |
| 131 | ||
| 132 | /** | |
| 133 | * Updates the current frame index depending on the current system time. | |
| 134 | */ | |
| 135 | private void update() { | |
| 136 | long now = System.currentTimeMillis(); | |
| 137 |
1
1. update : negated conditional → SURVIVED |
if (animating) { |
| 138 |
2
1. update : changed conditional boundary → SURVIVED 2. update : negated conditional → SURVIVED |
while (lastUpdate < now) { |
| 139 |
1
1. update : Replaced long addition with subtraction → TIMED_OUT |
lastUpdate += animationDelay; |
| 140 |
1
1. update : Replaced integer addition with subtraction → SURVIVED |
current++; |
| 141 |
1
1. update : negated conditional → SURVIVED |
if (looping) { |
| 142 |
1
1. update : Replaced integer modulus with multiplication → SURVIVED |
current %= animationFrames.length; |
| 143 |
1
1. update : negated conditional → NO_COVERAGE |
} else if (current == animationFrames.length) { |
| 144 | animating = false; | |
| 145 | } | |
| 146 | } | |
| 147 | } else { | |
| 148 | lastUpdate = now; | |
| 149 | } | |
| 150 | } | |
| 151 | ||
| 152 | @Override | |
| 153 | public int getWidth() { | |
| 154 | assert currentSprite() != null; | |
| 155 |
1
1. getWidth : replaced return of integer sized value with (x == 0 ? 1 : 0) → KILLED |
return currentSprite().getWidth(); |
| 156 | } | |
| 157 | ||
| 158 | @Override | |
| 159 | public int getHeight() { | |
| 160 | assert currentSprite() != null; | |
| 161 |
1
1. getHeight : replaced return of integer sized value with (x == 0 ? 1 : 0) → KILLED |
return currentSprite().getHeight(); |
| 162 | } | |
| 163 | ||
| 164 | } | |
Mutations | ||
| 93 |
1.1 2.2 |
|
| 97 |
1.1 |
|
| 117 |
1.1 |
|
| 122 |
1.1 |
|
| 123 |
1.1 |
|
| 128 |
1.1 |
|
| 129 |
1.1 |
|
| 137 |
1.1 |
|
| 138 |
1.1 2.2 |
|
| 139 |
1.1 |
|
| 140 |
1.1 |
|
| 141 |
1.1 |
|
| 142 |
1.1 |
|
| 143 |
1.1 |
|
| 155 |
1.1 |
|
| 161 |
1.1 |


My Dear Friend in the Lord, In a brief, I am Mrs Teressa Stevens, Wife of late Mr Stevens James, a white farmer, murdered by unknown assailants 2003 in Zimbabwe. My husband was a great white farmer in Zimbabwe who was brutally murdered in the land dispute in Zimbabwe by the agents of the ruling government of President ROBERT MUGABE for his alleged support and sympathy for the opposition MDC PARTY led by the minority white farmers. My husband was among the few white rich farmers murdered in cold blood by the war veterans backed by the government. Before the death of my husband, he deposit the sum of US$20.5M (Twenty Million Five hundred thousand United State Dollars) with one of the Financial Institution, as if he knew the looming danger in ZIMBABWE. We were married for twelve years and God blessed us with twin’s children. Presently this money is still with the Financial Institution. Recently, my Doctor told me that I might not last for the next Eight months due to an inflammation of my liver. This has led to my being on 24 hours intensive care, in a private clinic here in Cotonou Rep. of Benin. I am tired of living like this. I have decided to donate part of this fund to an individual, group or a charity organisation that will utilize this money the way I am going to instruct herein while half of the money shall be kept for the betterment of my children. I want an individual, or Charity Organisation that will use this fund for orphanages, widows, and helping land mine victims worldwide. I took this decision because my husband's relatives are Trouble Makers and I don't want my husband's efforts to be used for trivialities I do not want a situation where my husband's sweat will be used in material pursuits. This is why I am taking this decision. As soon as I receive your reply I shall give you the contact name of my lawyer, telephone number and email address who will issue you a letter of authority that will prove you the present beneficiary of this fund. Please ensure to contact with this<EMAIL_ADDRESS>to enable me direct you to my lawyer. Any delay in your reply will give me room in sourcing another person for this same purpose. Please assure me that you will act accordingly as I stated herein. Hope to receive your reply. Remain blessed. You’re Sister, Mrs Teressa Stevens.


| Package | Description |
|---|---|
| com.sleepycat.je.rep |
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
environments.
|
| com.sleepycat.je.rep.arbiter |
Provides a mechanism to allow write availability for the Replication
group even when the number of replication nodes is less than majority.
|
| com.sleepycat.je.rep.monitor |
BDB JE HA support for applications that need to track the composition of a
replication group, in order to do tasks such as load balancing and
request routing.
|
| com.sleepycat.je.rep.util |
BDB JE High Availability command line utilities and helper classes.
|
| Class and Description |
|---|
| AppStateMonitor
A mechanism for adding application specific information when asynchronously
tracking the state of a running JE HA application.
|
| InsufficientLogException
This exception indicates that the log files constituting the Environment are
insufficient and cannot be used as the basis for continuing with the
replication stream provided by the current master.
|
| NetworkRestoreConfig
NetworkRestoreConfig defines the configuration parameters used to configure
a NetworkRestore operation.
|
| NoConsistencyRequiredPolicy
A consistency policy that lets a transaction on a replica using this policy
proceed regardless of the state of the Replica relative to the Master.
|
| NodeType
The different types of nodes that can be in a replication group.
|
| QuorumPolicy
The quorum policy determine the number of nodes that must participate to
pick the winner of an election, and therefore the master of the group.
|
| ReplicaConsistencyException
This exception is thrown by a Replica to indicate it could not meet the
consistency requirements as defined by the
ReplicaConsistencyPolicy in effect for the transaction, within
the allowed timeout period. |
| ReplicatedEnvironment.State
The replication node state determines the operations that the
application can perform against its replicated environment.
|
| ReplicatedEnvironmentStats
Statistics for a replicated environment.
|
| ReplicationConfig
Specifies the immutable attributes of a replicated environment.
|
| ReplicationGroup
An administrative view of the collection of nodes that form the replication
group.
|
| ReplicationMutableConfig
Specifies the attributes that may be changed after a
ReplicatedEnvironment has been created. |
| ReplicationNode
An administrative view of a node in a replication group.
|
| RestartRequiredException
RestartRequiredException serves as the base class for all exceptions which
makes it impossible for HA to proceed without some form of corrective action
on the part of the user, followed by a restart of the application.
|
| RollbackException
This asynchronous exception indicates that a new master has been selected,
this
Replica 's log is ahead of the current Master ,
and in this case, the Replica was unable to rollback without a
recovery. |
| StateChangeEvent
Communicates the
state change at a node
to the StateChangeListener. |
| StateChangeException
Provides a synchronous mechanism for informing an application about a change
in the state of the replication node.
|
| StateChangeListener
An asynchronous mechanism for tracking the
State of the replicated environment and
choosing how to route database operations. |
| SyncupProgress
Describes the different phases of replication stream syncup that are
executed when a replica starts working with a new replication group master.
|
| Class and Description |
|---|
| ReplicatedEnvironment.State
The replication node state determines the operations that the
application can perform against its replicated environment.
|
| Class and Description |
|---|
| ReplicationConfig
Specifies the immutable attributes of a replicated environment.
|
| ReplicationGroup
An administrative view of the collection of nodes that form the replication
group.
|
| ReplicationNode
An administrative view of a node in a replication group.
|
| UnknownMasterException
Indicates that the underlying operation requires communication with a
Master, but that a Master was not available.
|
| Class and Description |
|---|
| MasterStateException
This exception indicates that the application attempted an operation that is
not permitted when it is in the
ReplicatedEnvironment.State.MASTER
state. |
| MasterTransferFailureException
Thrown by
ReplicatedEnvironment.transferMaster(java.util.Set<java.lang.String>, int, java.util.concurrent.TimeUnit) if a Master Transfer
operation cannot be completed within the allotted time. |
| MemberNotFoundException
Thrown when an operation requires a replication group member and that member
is not present in the replication group.
|
| NodeState
The current state of a replication node and the application this node is
running in.
|
| ReplicaStateException
This exception indicates that the application attempted an operation that is
not permitted when it is in the
ReplicatedEnvironment.State.REPLICA
state. |
| ReplicationGroup
An administrative view of the collection of nodes that form the replication
group.
|
| ReplicationNode
An administrative view of a node in a replication group.
|
| UnknownMasterException
Indicates that the underlying operation requires communication with a
Master, but that a Master was not available.
|
Copyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.


module Card:sig
..end
The code is trivial and shouldn't be difficult to understand.
type
t = {
|
mutable front : |
|
mutable back : |
Card.t
contains a front and a back.val front : t -> string
val back : t -> string
val to_string : t -> string
val set_front : t -> string -> unit
val set_back : t -> string -> unit
val create : string -> string -> t
val reverse : t -> unit
This is often used with flashcards for foreign languages where
one wants to practice with say, English to Latin and then
Latin to English.
This also let's you play "Jeopardy."


openintel-lookup
This API provides an easy to use interface to query OpenINTEL data in order to find IP addresses associated with domain names and vice versa.
OpenINTEL is a project by the University of Twente. The project's goal is to actively query all DNS records within a number of DNS zones in order to build a high quality data series that captures the state of the DNS system.
For an in depth description of the project as well as a list of the measurements that are taken, please visit OpenINTEL's background page.
In addition the following paper provides details on the measurement methodology:
R. van Rijswijk-Deij, M. Jonker, A. Sperotto and A. Pras, "A High-Performance, Scalable Infrastructure for Large-Scale Active DNS Measurements," in IEEE Journal on Selected Areas in Communications, vol. 34, no. 6, pp. 1877-1888, June 2016, doi: 10.1109/JSAC.2016.2558918.
This service provides three basic types of queries:
- Domains --> IPs: find the IP addresses associated with a domain name
- IPs --> Domains: find the domain names associated with an IP address
- MX SQL LIKE pattern: find IP addresses associated with an MX record pattern
Domains --> IPs
This query returns the IP addresses that are linked directly with a Domain name (in A and AAAA records) as well as the IP addresses found associated with names that are pointed to by NS, MX, CNAME, DNAME, and SOA records.
IPs --> Domains
This query looks for domain names that point to the given IP address either directly (in A or AAAA records) or via intermediate NS, MX, CNAME, DNAME, or SOA records.
MX SQL LIKE Pattern
This query looks for the IP addresses and domain names associated with MX records that fit a given pattern.


The posts and opinions on this site are my own. Any code snippets are "ours" and are licensed under the MIT License unless explicitly stated otherwise.
© {{ site.theme.name }}, 2013


After following the instructions over at INSTALL, we need to configure our app’s settings.py file.
Add LANGUAGES setting this is the same setting that is used by Django’s i18n:
LANGUAGES = (
('en', 'English'),
('pl', 'Polish'),
)
Add DEFAULT_LANGUAGE, in this example setting it to 1 would make the default English as it is first in the LANGUAGES list:
DEFAULT_LANGUAGE = 1
Add multilingual.context_processors.multilingual to TEMPLATE_CONTEXT_PROCESSORS, it should look something like this:
TEMPLATE_CONTEXT_PROCESSORS = (
'django.core.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'multilingual.context_processors.multilingual',
)
Add multilingual to INSTALLED_APPS, it should look like this:
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'multilingual',
)
Once this is done, we need to setup our Model.
At the top of the model file import multilingual:
import multilingual
Create the model, the sub-class translation contains all the fields that will have multiple language data. For example:
class Category(models.Model):
parent = models.ForeignKey('self', blank=True, null=True)
class Translation(multilingual.Translation):
name = models.CharField(max_length=250)
def __unicode__(self):
return self.name
You may also add a Meta inner class to the Translation class to configure the translation mechanism. Currently, the only properties recognized is:
db_table sets the database table name (default: <model>_translation)
An example:
class Dog(models.Model):
owner = models.ForeignKey(Human)
class Translation(multilingual.Translation):
breed = models.CharField(max_length=50)
class Meta:
db_table = 'dog_languages_table'