Page 1 of 2
=(! Server's or my problem?
Posted:
Wed Oct 14, 2009 6:00 pm
by Glorfindelus
I'm assuming that the inability to connect to the server is a client or computer problem on my end. (Nobody has replied to the post I did on the "Server Down?" thread. Also, others have been on the board since then and not said anything about server problems.) I'm running Windows XP. I start up the launcher and click Play Evidyon. It moves to the usuall screen when the server is down(credits with "(connecting to server...)" in upper left corner.) I have changed nothing since yesterday on how the computer is run. I did attempt reinstalling and running the launcher, but no luck, same thing. Am I just jumping to conclusions and posting to fast, or does anyone have any ideas as to why it won't load? =(
Re: =(! Server's or my problem?
Posted:
Wed Oct 14, 2009 6:19 pm
by ffrank
No it isn't, the server is really down.
Re: =(! Server's or my problem?
Posted:
Wed Oct 14, 2009 8:08 pm
by Joe M.
Server is down.
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 3:50 am
by Karl G.
It's back.
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 11:15 am
by ffrank
It crashed again.
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 11:17 am
by Glorfindelus
WHAT HAPPEN!?: Somebody set us up the bomb!... Hello Gentlemen, All your base are belong to crash.
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 11:23 am
by ven
hmm finally got some time to play and the server is down..........................
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 2:27 pm
by marzuku
ven wrote:hmm finally got some time to play and the server is down..........................
I SEConD that motion(which actually isnt one:S)
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 2:42 pm
by LEXIC
Yea whats up with the servers, bring them back up!@
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 3:24 pm
by Karl G.
I analyzed the crash and it seems like the problem was something the hardware on the computer itself! I will restart the server as soon as it finished defragmenting and error checking.
I am almost done with another work as well
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 3:27 pm
by Glorfindelus
I told you sombody set the server up the bomb! lol
Edit: Something just hit me, this hardware problem, was it the way it was set up in relation to the game or was it that something was damaged?? If the way the server client runs is similar to the way the game client runs, the client crash problem could be related maybe? I'm not much of a tech person, but just an idea lol.
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 4:45 pm
by Part-Time Modeler
Back Up!
At least it is downloading the new update.
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 4:49 pm
by ffrank
I wonder what the update is about.
viewtopic.php?f=28&p=13469#p13469
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 6:06 pm
by willy nilly
crash
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 6:06 pm
by Morn
Yerp
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 6:48 pm
by Morn
and again
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 6:51 pm
by Glorfindelus
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 7:00 pm
by LEXIC
Whats up with the server.
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 7:12 pm
by Karl G.
Sorry everyone, my bad. Minor error. Fix will be up in 10 minutes.
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 11:35 pm
by Morn
And we're down.
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 11:36 pm
by ffrank
Re: =(! Server's or my problem?
Posted:
Thu Oct 15, 2009 11:38 pm
by Morn
Probably won't be up till the morning when Karl wakes up.
Re: =(! Server's or my problem?
Posted:
Fri Oct 16, 2009 10:45 pm
by Glorfindelus
Crash: 12:44 AM EST
Edit: False alarm, went back up like 3-4min later.
awesome!
Re: =(! Server's or my problem?
Posted:
Sat Oct 17, 2009 7:22 am
by Karl G.
rawr! =(
Still no luck for me trying to find this bug. I have turned on all logging features and still no helpful info.
Re: =(! Server's or my problem?
Posted:
Sun Oct 18, 2009 12:44 pm
by Morn
Server Down!


Your browser does not support the video tag.
(movie files: small: MP4 OGG WEBM | large: MOV OGG WEBM)


/*
Copyright 2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/**
* The value `'CACHE_UPDATED'`, used as the `type` field of the update message.
*
* @type {string}
*
* @example
* // Prints 'CACHE_UPDATED'
* console.log(goog.broadcastCacheUpdate.cacheUpdatedMessageType);
*
* @memberof module:workbox-broadcast-cache-update
*/
const cacheUpdatedMessageType = 'CACHE_UPDATED';
/**
* The default headers to compare when determining whether two `Response`
* objects are different.
*
* @private
* @type {Array<string>}
*
* @memberof module:workbox-broadcast-cache-update
*/
const defaultHeadersToCheck = [
'content-length',
'etag',
'last-modified',
];
/**
* The value `'workbox-broadcast-cache-update'`, used as the `meta` field of the
* update message.
*
* @private
* @type {string}
*
* @memberof module:workbox-broadcast-cache-update
*/
const defaultSource = 'workbox-broadcast-cache-update';
export {
cacheUpdatedMessageType,
defaultHeadersToCheck,
defaultSource,
};


CreateNodeAnimation()
Syntax
Result = CreateNodeAnimation(#NodeAnimation, NodeID, Length, Interpolation, RotationInterpolation)Description
Creates a new node animation of the specified length. A node animation doesn't exist physically in the 3D world, it is an virtual track to move a node (and its attached object) easily around the world.
Parameters
#NodeAnimation The number to identify the new node animation. #PB_Any can be used to auto-generate this number. NodeID The node to move automatically. NodeID() can be use to get a valid node identifier. Length The length of the new animation (in milliseconds). Interpolation The type of interpolation to apply between points. It can be one of the following value: #PB_NodeAnimation_Linear: each points will be linked together using a straight line, which can result to abrupt direction change #PB_NodeAnimation_Spline: each points will be linked together using a spline, which results in smooth direction change, but is also slower.RotationInterpolation The type of interpolation for the rotation to apply between points. It can be one of the following value: #PB_NodeAnimation_LinearRotation: each points will be linked together using a straight line, which can result to abrupt rotation #PB_NodeAnimation_SphericalRotation: each points will be linked together using a curve, which results in smoother rotation, but is also slower.
Return value
Returns zero if the #NodeAnimation can't be created. If #PB_Any is used as '#NodeAnimation' parameter, the new node animation number is returned.
See Also
FreeNodeAnimation()
Supported OS
All


My name is Rana Alhejaili. As mentioned before I consider myself ‘forever a student’ becasue I believe that there are many things that I still don't know. So, I am open to learn more things that will help me in my career and improve my skills. My favorite quote is “NOTHING WILL WORK UNLESS YOU DO.” –MAYA ANGELOU which means that if we want resualt we need to work to achive them.
Passing on the knowledge I have to others, as will as keep on improving mine
In the future, I want to achive my Masters degree and have a job.
I am studing for my Master Degree and hopfly I will achive it in two years
While studing my Bachelor degree i had many opportunity to improve my knowledge in many coumputer science fields
Becasue of These skills i am able to create websits and computers' software
As in university I worked with multiple teams in projects and it improved my teamwork
I usually like to do my work on time because it makes me more effecint
Working needs organizing and it helps in doing work faster
I beleive thats there is many things in my field that i still do not know and I am open to learn new things.
2018
I created a software in my graduation project that predict breast cancer occurrence and recurrence in female based on their family histroy
We had hanged Posters, Our team was complemented by many people who came to see the posters and we took A+ on our work


Research in Computational Biology
University of Dundee United KingdomThe project focused on software development, statistical data analysis, web development and development/benchmarking of machine learning classifiers.
The project focused on software development, statistical data analysis, web development and development/benchmarking of machine learning classifiers.
The project involved software development and development/benchmarking of constraint programming algorithms.


Hey I am Arun and I am a web developer you can contact me on instagram.
Contact Page
Hey Everyone I am Arun, developer of this site. I am student of B.Tech Computer Science and Engineering at
Lovely Professional University. If You want to contact me here are my social media handles.


Click the button to get the value of the slider control.
Note: input elements with type="range" are not supported in IE 9 and earlier versions.


Home
Dashboards
Collectors
Deploy Base Components
Set Project
Anomaly Detection
Coming Soon!
Machine Learning
Coming Soon!
Maintenance
Delete Collector
Repair Grafana
{% if session['logged_in'] == False %}
Login
{% else %}
Logout
{% endif %}
A Community Project By:


You can get funding for postgraduate study through loans, studentships, bursaries and grants - you might also get help from your employer.
Search for postgraduate funding on the Scholarship Search or Prospects websites.
If you start a full-time or part-time master’s course after 1 August 2016 you can apply for a Postgraduate Loan. You’ll be able to borrow up to £10,000 to pay your fees and help with living costs.
You’re eligible if you:
It doesn’t depend on personal or family income.
Find out more about the Postgraduate Loan .
Studentships are postgraduate positions that have funding attached for fees, living expenses or both. They’re mainly funded by Research Councils UK.
You can apply for funding for:
Graduate-entry medical students can also get support from Student Finance England for fees charged over £3,465.
Charities and trusts sometimes provide grants, often for students from poorer backgrounds or those who’ve achieved academic excellence. Find out more at your local library in these publications:
You can also use the Family Action grant search.
Societies sometimes offer funding for postgraduate or postdoctoral research. They include:
You might be able to get funding from:
Funding applications usually have to be in by the spring before you start studying in the autumn.


To grab data from the server, click the button "Click to get more data". Note that for large scenes (proximity sets > 1000 objects), the oh may take time returning data, and you should not re-click this button. Eventually, the data will appear under the "Data" header with a timestamp of when the data was received. (The time is relative to when you initially started the page.) You can click on the data to draw it into columns on the screen. The next sections describe the layout of these data.
The left column displays objects within prox query (both aggregate and non-aggregate). The left-most number displayed is the first 7 digits of the object's identifier. The next number shown indicates the priority the object is assigned (0-1). The left column is sorted by this number. The color of the object (orange or red) indicates whether the user wants to load the object into the scene or not. To conserve browser memory, we don't draw all objects in the viewer's proximity set. (The specific cutoff is indicated in text below.) In general, most objects drawn will therefore be orange because the visualization cutoff is less than the viewer's cutoff for maximum number of objects drawn.
The right column displays assets with the asset url written in text next to a large circle. Assets are the visual data that need to be downloaded to represent an object (dae files, textures, etc.). More than one object can point to an asset (if you have multiple objects with the same mesh), but an object will point to only one asset. (Note some assets have a line segment coming out of them that does not point to an object displayed in the browser. In these cases, the asset points to an object, but for in-browser display purposes, we cannot draw the object. Assets with no line segments coming out of them are not used by any object.) The asset is colored brown if it has not completely downloaded itself and all of its dependencies. If it has downloaded itself and all of its dependencies, it will be colored blue. Assets are sorted in two ways. If they and their dependencies have been completely downloaded, they appear first. This group is then ordered by the sum of priorities of objects that point to each asset. Assets that have not been completely downloaded or whose dependencies have not been completely downloaded appear in the second group. Like the first group, this group is also ordered by the sum of all the priorities of objects that point to them.
The circles that appear below each asset represent the outstanding (brown) and completed (blue) dependency downloads of each asset. (If no brown circle is drawn, that means all data has been downloaded for the asset.) If you view data on the top layer, clicking on each of these circles indicates the outstanding downloads.
To view diffs between collected data traces, enter the data's id (number in bold next to "click here to display data ..." statement) into "initial" and "compare to" text boxes and hit compare. The view will show you all objects that were added (green with +-s in front of them) and removed (red with --s in front of them) as well as asset changes (loaded and removed).


ja_load.html
Load Content 1
Load Content 2
Load Cats & Dogs
Here's a div with an id of
myDiv
that a bit of HTML in it!


{% for notification in notifications %}
{% endfor %}
From
{{notification.app_id.name|capfirst}}
{{notification.title|capfirst}}
{{notification.description|capfirst}}
{{notification.created_at}}
Subscribed: {{notification.notification_count}}


Please enter your account information. All fields are required.
We store this data only for registration, billing and attendance purposes.


Delivery Information
The table above explains the earliest at which you may receive your order based on when an order is placed.
How it works ?
You will receive a tracking number and will be kept up to date with dispatch, transit and delivery of your parcel via email or text. Our courier service will aim to deliver your goods between the times of 11.00 Am – 6.00 Pm.
It is important that you ensure somebody is present at the delivery address to collect your order, or alternatively, please make sure you fill in the ‘Delivery Instructions’ and provide the driver with as many details as possible – for instance you may request to have your box delivered to a neighbour’s house or put in a safe place (shed or porch). The courier will always look for a safe location to leave your parcel should you not leave any delivery instructions and there is nobody home to collect the goods.
Should the courier fail to deliver the box it will be taken back to the nearest depot and we will contact you with regards to re-arranging delivery. unfortunately our courier service cannot re-attempt delivery on the same day hence your parcel will be delivered the next working day between 11 am and 6 pm.
The Company’s boxes are specially designed to keep your meats chilled and fresh for up to 48 hours so do not worry in the event your order takes an extra day!


Being realistic no one is perfect but everyone tries to come up with his/her best, so do I. Especially when it comes to any Computer Sciences challenge then it becomes my passion for solving it, and would never leave any larch in this way, till audience gets best intellectual interaction ever..
For me, computer science is devotion, passion and journey of exploration. I've spent most of my time as a web-developer & then leading technical teams and expect to continue. I assume you are nothing if you are not successful in marking your name in your passion.!


Documentation / Query / Option
Alias
Sets the table alias to use on the base table.
List<Customer> customers =
new QCustomer()
.alias("cust")
.name.istartsWith("Rob")
.findList();
select cust.id, cust.inactive, cust.name, cust.registered, ...
from customer cust
where lower(cust.name) like ? escape'|' ; --bind(rob%)
The typically use of alias is when used as a subquery.
Query<Order> subQuery = new QOrder()
.alias("sub")
.select("id").where().raw("sub.customer_id = main.id")
.query();
List<Customer> customers = new QCustomer()
.alias("main")
.query().where().exists(subQuery)
.findList();
select main.id, main.inactive, main.name, main.registered, ...
from customer main
where exists (select sub.id from orders sub where sub.customer_id = main.id)
asDraft
Used to fetch a @Draftable
entities from their draft table(s)
rather than the published tables.
Document documentDraft =
new QDocument()
.asDraft()
.id.equalTo(42)
.findOne();
As of timestamp
For entities with @History fetch the entities AS OF
the
given timestamp.
Autotune
Turn on or off automatic query tuning.
List<|Customer> customers = new QCustomer() .setAutoTune(true) // automatically tune the query .status.equalTo(Status.NEW) .findList();bufferFetchSizeHint
A hint which for JDBC translates to the Statement.fetchSize().
Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed for ResultSet.
disableLazyLoading
Disables any lazy loading that would otherwise occur. Instead unloaded properties would return null.
disableReadAuditing
Disable read auditing for this query. Refer to Read Auditing.
This is intended to be used when the query is not a user initiated query and instead part of the internal processing in an application to load a cache or document store etc. In these cases we don't want the query to be part of read auditing.
distinct
Make the query use sql distinct
.
List<String> lastNames =
new QContact()
.setDistinct(true)
.select("lastName")
.email.isNull()
.findSingleAttributeList();
int count =
new QCustomer()
.setDistinct(true)
.select("anniversary")
.status.equalTo(Customer.Status.NEW)
.findCount();
select count(distinct t0.anniversary) from customer t0 where t0.status = ?
// partially loaded beans without Id properties
// ... not persistable, no lazy loading etc
List<Customer> beans =
new QContact()
.setDistinct(true)
.select("lastName, dateOfBirth")
.findList();
forUpdate
Execute the query with FOR UPDATE
that will hold a lock on the rows fetched.
try (Transaction txn = database.beginTransaction()) {
Customer customer =
new QContact()
.forUpdate()
<EMAIL_ADDRESS>.findOne();
customer.setName("a better name");
customer.save();
txn.commit();
}
includeSoftDeletes
Set to true to include soft deleted rows. Refer to Soft Delete.
lazyLoadBatchSize
Set this to tune the lazy loading batch size which by default is set to 10
.
persistenceContextScope
Generally queries run with transaction scoped persistence context
. With this we can set
to QUERY
the object graph built will be fresh data from the database ignoring any existing
bean that is in the [transaction] persistence context.
try (Transaction txn = database.beginTransaction()) {
// when customer is loaded it then is referenced in the
// transaction scoped persistence context (aka L1 cache)
Customer loaded = Customer.find.byId(42)
// fetch this same customer but we want to ignore the L1 cache
// such that we get a "fresh" version of its data
Customer customer =
new QCustomer()
.id.equalTo(42)
.setUseCache(false) // ignore L2 cache
.setPersistenceContextScope(QUERY) // ignore L1 cache
.findOne();
...
txn.commit();
}
readOnly
Query returns beans that are deemed to be READ ONLY
and calling setter methods will
throw an exception.


--- layout: post title: Cloning a B-Translator Server date: 2013-07-18 summary: It can be possible and even simple to make identical clones just by copying the physical disk or the filesystem. However I prefer to build a new server from scratch and copy only the relevant data from the old server. tags: [B-Translator] ---
Why do I need to clone a B-Translator server? An obvious reason is to have a backup server. In case that something goes wrong with the main server I can quickly switch to the backup server, until I find and fix the problem.
A clone can also be used for testing. Before applying something on the main server I can test it first on a clone/backup server.
Another reason for cloning can be load-balancing. It is possible to keep several clone servers synchronised with each-other, and then the work can be shared between them with a load balancer. I haven't tried this yet, but I think that it should work.
It can be possible and even simple to make identical clones just by copying the physical disk or the filesystem. However I prefer to build a new server from scratch and copy only the relevant data from the old server.
First, I build a new server from scratch:
mkdir /var/chroot cd /var/chroot/ git clone https://github.com/dashohoxha/B-Translator.git nohup nice B-Translator/install/install.sh btr-1 & tail -f nohup.out
Then configure it:
chroot btr-1/ /tmp/install/config.sh
And then reboot the host:
reboot ## it is advisable to reboot the host after this installation
The last step of configuration is about setting the primary language of translation (sq in my case), and a list of auxiliary languages. This list should include at least fr, since it is used instead of POT (PO template) files, when they are missing. But the features related to auxiliary languages are not implemented yet, so it is not much useful to include other languages on that list, and I leave just fr.
If I can assign a domain name to this copy of B-Translator (for
example test.l10n.org.al
), but during the configuration it is not
given properly, then I can correct/change it like this:
chroot /var/chroot/btr-1 cd /var/www/btranslator/profiles/btranslator install/config/domain.sh
If this is a local copy (installed on my local machine) and its
domain name is for example l10n.org.xy
, then I also add this
domain name on the file /etc/hosts
of my machine:
<IP_ADDRESS> l10n.org.xy localhost
This way I can access it by typing https://l10n.org.xy
on the
browser location (not https://<IP_ADDRESS>
or https://localhost
).
I have used NGINX as the default web server because it is supposed
to be faster and more responsive under heavy load. Unfortunately it
has been working very slow, for some reasons that I have not been
able to find and fix. On the log file
/var/log/nginx/btranslator.error.log
I see messages like this:
2013/07/15 13:31:57 [info] 10294#0: *47 client closed prematurely connection while SSL handshaking, client: <IP_ADDRESS>, server: l10n.org.xx 2013/07/15 13:31:57 [info] 10294#0: *48 client closed prematurely connection while SSL handshaking, client: <IP_ADDRESS>, server: l10n.org.xx
Note: If find out what is wrong with NGINX and manage to fix it, please let me know.
So, I replace NGINX with Apache2 like this:
chroot /var/chroot/btr-1 cd /var/www/btranslator/profiles/btranslator dev/apache2.sh start
It will stop services nginx, php5-fpm and memcached, will
start apache2, will disable drupal module memcache, and will
modify properly settings.php
.
However there are also some changes outside chroot that should be
done. The script dev/apache2.sh start
cannot do them automatically
(because it runs inside the chroot), so I have to do them manually.
On the init script /etc/init.d/chroot-btr-1
I make this change:
#CHROOT_SERVICES="cron php5-fpm memcached mysql nginx" CHROOT_SERVICES="cron mysql apache2"
After installation I also enable some features that are optional and are not enabled by default during installation:
drush features-list drush --yes pm-enable btranslator_simplenews drush --yes pm-enable btranslator_mass_contact ## drush --yes pm-enable btranslator_googleanalytics ## drush --yes pm-enable btranslator_drupalchat ## drush --yes pm-enable btranslator_janrain
Note: The feature btranslator_fb
is not yet finished and
tested properly.
Enable it like this:
## drush --yes pm-enable btranslator_fb
After installing btranslator_fb
, the configuration part related
to FB should be un-commented, at the end of the file
/var/www/btranslator/sites/default/settings.php
:
// /* fb config $conf['fb_api_file'] = 'profiles/btranslator/libraries/facebook-php-sdk/src/facebook.php'; include "profiles/btranslator/modules/contrib/fb/fb_url_rewrite.inc"; include "profiles/btranslator/modules/contrib/fb/fb_settings.inc"; if (!headers_sent()) { header('P3P: CP="We do not have a P3P policy."'); } // fb config */
If you forget to do it, you will notice performance degrade with the site.
If this copy of B-Translator is remote, then I install ssh as well for accessing it easily and for using remote drush commands:
chroot /var/chroot/btr-1 cd /var/www/btranslator/profiles/btranslator dev/install-sshd.sh
This script will also take care to change the ssh port to 2201, in order to avoid any conflicts with any existing daemon on the host environment, and also for increased security.
For drush remote access to work correctly, the public/private key ssh access should be set up and configured as well. For more detailed instructions on how to do it see: http://dashohoxha.blogspot.com/2012/08/how-to-secure-ubuntu-server.html
I almost always forget the password of admin (the primary user of Drupal) that I assign during installation. So, I have to reset it:
drush user-password admin --password="new-password"
By the way, on the file /etc/drush/drushrc.php
you can see this
drush setting:
<?php // by default use the B-Translator root directory $options['r'] = '/var/www/btranslator';
This means that the root directory of drush
is always
/var/www/btranslator
, no matter where we call it from.
On the master (main/live) server, I export all the content as a feature, with the help of the module node_export. But first I have to disable the existing btranslator_content feature, otherwise the feature export will fail.
drush --yes pm-disable btranslator_content drush --yes features-export --destination=/tmp btranslator_content_1 node_export_features tar --create --gzip --file=btranslator_content_1.tgz --directory=/tmp btranslator_content_1
Now I transfer btranslator_content_1.tgz
to the clone server and
replace the existing content with it:
cd /var/www/btranslator/profiles/btranslator cd modules/features/ tar --extract --gunzip --file=btranslator_content_1.tgz drush --yes pm-disable btranslator_content drush delete-all all ## delete all existing nodes drush --yes pm-enable btranslator_content_1
Path aliases and some menus have to be fixed (recreated) manually. I couldn't find any modules, drush commands or scripts that can transfer them automatically. If you know any tricks to export/import them automatically, please let me know.
I transfer manually the configuration of the Homebox as well. I
open admin/structure/homebox
on both sites (the main and the
clone), export the configuration of 'dashboard' from the main, then
copy/paste and import it on the clone.
Private settings are those variables that are site specific and
cannot be included in features, for example: disqus_domain
,
disqus_userapikey
, disqus_publickey
, disqus_secretkey
, etc.
We can transfer them like this:
cd /var/www/btranslator/profiles/btranslator modules/features/save-private-vars.sh
It will generate the file restore-private-vars.php
.
restore-private-vars.php
to the clone site and then
apply it like this:
drush php-script restore-private-vars.php
Note: If the clone site will be used for testing, you may consider
to edit manually the file restore-private-vars.php
, before
applying it, and change some values. For example, I usually change
email addresses from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>.
I also enable email rerouting by changing these variables:
$variables['reroute_email_enable'] = 1; $variables['reroute_email_enable_message'] = 1;
The database of translations is almost empty (it has only the PO files that were imported for testing during installation). Downloading and importing all the PO files is easy (but it takes a long time).
cd /var/www/btranslator_data nohup nice get/all.sh & tail -f nohup.out or cd get/ ./gnome.sh ./kde.sh ./firefox-os.sh ./drupal.sh ./office.sh ./mozilla.sh ./wordpress.sh ./ubuntu.sh
Note: These scripts get the data from some URL. They should be checked first, to make sure that the URL still works or that we are getting the latest version.
Note: Make sure that hostname
is listed on /etc/hosts
otherwise the command svn checkout
will not work (strange, but
that's how it is). For example if the output of the command
hostname
is dashamir
, then /etc/hosts
should look like this:
<IP_ADDRESS> l10n.org.xx localhost dashamir
cd /var/www/btranslator_data nohup nice import/all.sh & tail -f nohup.out
Vocabulary is a pseudo-project, its PO file does not really belong to the translation of any program. I use it to collect interesting terms and translations that I encounter while translating the other projects. It can help as a reminder (in case that I forget the translation of a term). It is also useful for discussing translations of difficult terms with other people, and indirectly it helps to ensure consistency among the translations. Terms are added to vocabulary by the translators. In order to transfer them from one instance of B-Translator to another, it can be exported as a PO file on one system and imported to the other.
vocabulary-sq.po
:
cd /var/www/btranslator_data export/export.sh misc vocabulary sq $(pwd)/tmp mv tmp/vocabulary/vocabulary-sq.po . rm -rf tmp
vocabulary-sq.po
to the other system and them import
it:
cd /var/www/btranslator_data mv vocabulary-sq.po vocabulary/ import/vocabulary.sh
Now the cloned site is almost identical with the primary site in terms of Drupal settings and configuration and in terms of translation data (projects that are imported, strings and their translations, etc.). What is still missing is the list of users that are registered on the primary site, as well as their contributions (votes and suggested translations).
We can transfer them like this:
cd /var/www/btranslator_data db/export-users.sh db/export-contributions.sh
*.sql.gz
files to the clone site and import them:
cd /var/www/btranslator_data db/import-users.sh users-20130717.sql.gz db/import-contributions.sh contributions-00000000-20130717.sql.gz
Note: Once you have transferred all the users, the clone site will
send them daily a string for review, in addition to the one that is
sent by the primary site. We can prevent this by disabling the
cron. Edit the file /etc/cron.d/drupal7
and comment the line that
starts the cron.
Suppose that I want to make the cloned server primary. In this case there are some steps that should be done:
google9350a51ac2d503bf.html
and I place it on
/var/www/btranslator
.
/etc/nginx/sites-available/default
looks like this:
ssl_certificate /etc/ssl/certs/ssl-cert-l10n_org_al.pem; ssl_certificate_key /etc/ssl/private/ssl-cert-l10n_org_al.key;
The corresponding configuration on
/etc/apache2/sites-available/default-ssl
looks like this:
SSLCertificateFile /etc/ssl/certs/ssl-cert-l10n_org_al.pem SSLCertificateKeyFile /etc/ssl/private/ssl-cert-l10n_org_al.key
The files .pem and .key need to be transferred to the new server and the configuration files of nginx and apache2 should be modified properly.
/etc/cron.d/drupal7
.
modules/features/save-private-vars.sh
and then import
them on the new site with drush php-script restore-private-vars.php
.
l10n.org.al
to point to
the new IP. But the DNS change may take about 2 days to be
propagated worldwide. So, after 2-3 days I do again a transfer of
users and contributions from the old server to the new one. These
transfer operations are designed to be idempotent, which means
that the result will be the same even if they are applied many
times.


| DevIL Documentation | Home | Previous | Next |
The iluSharpen function sharpens an image.
ILboolean iluSharpen(
ILfloat Factor,
ILuint Iter
);
iluSharpen can actually either sharpen or blur an image, depending on the value of Factor. iluBlurAvg and iluBlurGaussian are much faster for blurring, though. When Factor is 1.0, the image goes unchanged. When Factor is in the range 0.0 - 1.0, the current image is blurred. When Factor is in the range 1.0 - 2.5, the current image is sharpened. To achieve a more pronounced sharpening/blurring effect, simply increase the number of iterations by increasing the value passed in Iter.
ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.
ilGenImages, ilBindImage, iluBlurAvg, iluBlurGaussian


Left-clicking on the Help
button on the top menu line of the Toolbox and
selecting Dynamic Help
will raise a help view. Sometimes this view will contain a
help page like this one that describes the currently selected view.
If it does, there will be a See also section with links to relevant help pages. Ignore the More results section. Sometimes, clicking on Help will just show a generic page like this:
If it does this, just click on the Contents button at the bottom of the page, which will take you to the table of contents of all Help pages. You should be able to find what you need there.
You may find it convenient to move the Help view to a separate window outside the Toolbox. See Managing Views.
Some pop-up dialogs and views contain a button--in their lower-left corner for pop-up dialogs. Clicking on that button will raise a helpful help window. (For a pop-up dialog, the help window is inside the dialog. For a view, it is in an ordinary help view.)
The buttons at the top right of the Help view allow you to navigate among previously displayed help pages.


Jona
Fun Fact: I won a classical piano competition in High School.
Fun Fact: I won a classical piano competition in High School.
A lifelong learner and proud geek.
Avid camper, last year I spent 3 weeks camping around Glacier & Yellostone parks
In addition to coding, I am learning to woodwork...
Let's grab an orange beer and help me find out what's wrong inside my JavaScript.


{% extends 'pages/home.html' %}
{% load staticfiles %}
{% load flatblocks %}
{% block content %}
A LABORATORY FOR PREDICTING THE EFFECTS OF PUBLIC POLICY All of the projects we incubate are freely available and we encourage peer review. You can run the models yourself through our webapp interface or by downloading the code and using it with your own data. We welcome anyone, whether you are a modeler, software developer, economist, or policy analyst, to help improve and expand the suite of models. A simulator to analyze the impact of taxes on investment incentives. Compute marginal effective tax rates on investment and savings under current-law and user-defined tax reforms. A simulator to analyze the budgetary impact of taxes. TaxBrain is an interface to open source economic models for tax policy analysis. Transparent
Accessible
Collaborative
From The Lab
Cost of Capital Calculator
Explore the numbers
TaxBrain
Explore the numbers
The Open Source Policy Center is making policy analysis more transparent, accessible, and innovative by harnessing open source methods to build cutting edge economic models and a webapp for accessing those models.


Getting started
In order to start developing your game you’re going to need several things.
Text editor
You are going to need a text editor, because writing code in your notepad is not pleasant at all!
I recommend using Atom, it has everything you are going to need and is free.
The mini2d.js engine
Next up, you are going to need to download the mini2d.js engine. It can be obtained here.
Local web server
You are also going to have a local web server installed. This is because otherwise your web browser would be blocking requests for loading of the assets from your filesystem.
You can get a simple solution for local web server over here windows / mac version.
You can find more information about how the local web server works on the MAMP/WAMP website. There are other solutions for this, but that goes beyond the scope of this tutorial.
next chapter: Setting up the game >


{{ _("User Guidance") }}
{{ _("To use data, you first need to understand its structure and meaning. OCDS data can contain fields from:") }}
- {{ _('OCDS, whose fields are described in its schema and in its Schema Reference.', lang=lang) }}
- {{ _("Extensions, whose fields are described in their schema and in their documentation.") }}
{{ _("To identify which extensions are used in OCDS data, you can either:") }}
-
{{ _("Check for an
extensions
field at the package level. For data with extensions, this field contains an array of URLs toextension.json
files. Each file contains adocumentationUrl
object with a URL to the extension's documentation. Open the URL to read its documentation (in many cases, the URL leads to this website). For example, the following data declares the Bid statistics and details extension:") }}{"extensions": ["https://raw.githubusercontent.com/open-contracting-extensions/ocds_bid_extension/master/extension.json"]}
- {{ _('Upload the data to the OCDS Data Review Tool, which lists the extensions used and links to their documentation.') }}


TECHVILLAIN
home
profile
gallery
contact
World Of Capture
MENU
home
about
gallery
contact
FOLLW ME ON
facebook
github
instagram
whatsapp
+917019091387
mail
manjunathyadav1932@gmail.com


| detectCores {parallel} | R Documentation |
Attempt to detect the number of CPU cores on the current host.
detectCores(all.tests = FALSE, logical = TRUE)
all.tests |
Logical: if true apply all known tests. |
logical |
Logical: if possible, use the number of physical CPUs/cores
(if |
This attempts to detect the number of available CPU cores.
It has methods to do so for Linux, macOS, FreeBSD, OpenBSD, Solaris,
Irix and Windows. detectCores(TRUE)
could be tried on other
Unix-alike systems.
Prior to R 3.3.0 the default was logical = FALSE
except on
Windows, but logical = TRUE
had an effect only on Sparc Solaris
and Windows (where it was the default).
An integer, NA
if the answer is unknown.
Exactly what this represents is OS-dependent: where possible by default it counts logical (e.g., hyperthreaded) CPUs and not physical cores or packages.
Under macOS there is a further distinction between ‘available in the current power management mode’ and ‘could be available this boot’, and this function returns the first.
Only versions of Windows since XP SP3 are supported. Microsoft
documents that with logical = FALSE
it will report the number of
cores on Vista or later, but the number of physical CPU packages on XP
or Server 2003: however it reported correctly on the XP systems we
tested.
On Sparc Solaris logical = FALSE
returns the number of physical
cores and logical = TRUE
returns the number of available
hardware threads. (Some Sparc CPUs which do have multiple cores per
CPU, others have multiple threads per core and some have both.) For
example, the UltraSparc T2 CPU in the CRAN check server is a single
physical CPU with 8 cores, and each core supports 8 hardware threads.
So detectCores(logical = FALSE)
returns 8, and
detectCores(logical = TRUE)
returns 64.
Where virtual machines are in use, one would hope that the result represents the number of CPUs available (or potentially available) to that particular VM.
This is not suitable for use directly for the mc.cores
argument
of mclapply
nor specifying the number of cores in
makeCluster
. First because it may return NA
, second
because it does not give the number of allowed cores, and third
because on Sparc Solaris and some Windows boxes it is not reasonable
to try to use all the logical CPUs at once.
Simon Urbanek and Brian Ripley
detectCores() detectCores(logical = FALSE)


Something about seattle
Nobody cares about the east side
Home
About Cats
Foster a Cat
Cat Pictures
Follow me on twitter
About Cats
Foster a Cat
Because they are wicked fun!
Cat Pictures
The internet loves cats!


Add URL below
GO!
http://localhost/
works so it's great to see how websites look before deployment or commit to github.
This is
not
a tool for testing, it is really important that you do that on real devices. This instead is a tool for quick screenshots (for me).
Viewports
Laptop (Macbook Pro 15in)
1280x802px scaled down to
scale(0.277)
Tablet (Ipad Air 2)
768x1024px scaled down to
scale(0.219)
Mobile (Iphone 8)
375x667px scaled down to
scale(0.219)
Updates
09/06/19
Add Bootstrap 4 (via BootstrapCDN)
08/22/19
Updated wiewports to Iphone 8 and Ipad Air 2
08/22/19
Forked to tracytn0411 github
02/23/13
Last update from
@justinavery
on his original
ami.responsivedesign.is
.


We believe that intellectual capital is critical to providing innovative solutions and, ultimately, having a positive economic impact. Over the years, we have been fortunate to attract some of the most talented professionals in our industry. They stay to build rewarding careers because of our entrepreneurial spirit, a commitment to our people and the high expectation for excellence. Our people are our most valuable asset – they are skilled problem solvers that believe challenges can be opportunities.
To see more please visit: Team
Now some FUN :D


| Exported Interfaces - Summary |
| XTextContent |
This interface is used for the attachment of this text content
to the surrounding text.
|
| Exported Interfaces - Details |
XTextContent
- Description
- This interface is used for the attachment of this text content
to the surrounding text.
|
|
| Properties' Details |
AnchorType
TextContentAnchorType AnchorType;
- Usage Restrictions
- optional
- Description
- specifies how the text content is attached to its surrounding
Text.
|
|
| AnchorTypes
|
TextWrap
WrapTextMode TextWrap;
- Usage Restrictions
- optional
- Description
- specifies if the text content is a shape
and how the text is wrapped around the shape.
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.


---
title: It's May!
date: 2012-05-03 00:00:00 -06:00
categories:
- whats-blooming
layout: post
blog-banner: whats-blooming-now-spring.jpg
post-date: May 3, 2012
post-time: 2:26 PM
blog-image: wbn-default.jpg
---
Most of you know the flowers in our formal gardens, but how many take the time to visit the natural area to see the beautiful native blooms? Right now is probably the best time to see our native flowers at their best.
Arrowleaf Balsamroot Balsamorhiza sagittata
Spreading Fleabane Daisy Erigeron divergens
White Tickseed Hackelia patens
Wasatch Bluebell Mertensia brevistyla
Wild Lily of the Valley Maianthemum stellatum
With the warm temperatures, not only are the hills alive with flora, they are also alive with fauna. One to keep your eye out for is the Great Basin Rattlesnake. Since our gardens border their natural habitat, they often visit the gardens looking for a tasty meal.
Just a reminder: DO NOT pick them up or play with them. They will bite if provoked.


---
title: Butterbean Burger
layout: post
date: '2016-01-10 12:21:21 -0500'
type: post
parent_id: 0
published: true
image: assets/images/post-img/Butterbean-Burger-288x162.jpg
status: publish
categories:
- Veggies-Meatless
meta:
_thumbnail_id: 317
_edit_last: 1
_wpas_done_all: 1
_posts_by_tag_page_fields: a:2:{s:12:"widget_title";s:0:"";s:11:"widget_tags";s:0:"";}
_wpghs_github_path: _posts/2016-01-10-butterbean-burger.md
_sha: 11dc6c2db60c65ce21bff87187421d3ff033ac76
_yourls_url: http://7t3.link/gpqrf
_yourls_clicks: 0
author:
login: mkelley
email<EMAIL_ADDRESS>display_name: Mike
first_name: Mike
last_name: Kelley
---
Source: Butterbean Burger Recipe | PBS Food
Ingredients
- 4 cups butterbeans, also called baby lima beans in the freezer section of your grocer
- 1 bay leaf
- 1/2 teaspoon black pepper
- 5 teaspoons salt, divided
- 1/4 cup olive oil
- 2 large yellow onions, peeled and sliced very thinly with the grain
- 1/2 cup roasted garlic puree
- 3 teaspoons ground cumin
- 1 tablespoon smoked paprika
- 1 teaspoon chipotle powder
- 1 tablespoon Worcestershire
- 1 1/2 cups cooked brown rice
- 1 cup panko bread crumbs
Directions
- Cover the butter beans, bay leaf, and black pepper with cool water in a 4 quart pot.  Cook the beans until they are completely tender and add 2 teaspoons of salt to the pot. Let the beans sit for about ten minutes in the seasoned water, then drain.
- Meanwhile, in a medium sauté pan, cook the onions in the olive oil for about 30 minutes, or until they are slightly caramelized. You’re looking for a honey color on these. In a large bowl, toss the beans together with everything but the bread crumbs. Transfer this mixture to the bowl of a food processor and blend until it’s mostly broken down. You should be looking at a mixture that is about 70% paste and 30% recognizable pieces.
- Transfer the contents of the food processor back to the bowl and stir in the bread crumbs. Let the burger mix rest for about 30 minutes. This will allow the bread crumbs to become acquainted with the bean paste, providing a sturdier burger.
- Divide the bean mix into 12, roughly 5 oz portions and patty them out to 1/2 inch thickness. When you’re ready to cook your burger, heat a little oil in a sauté pan until nearly smoking. Add the burger and let it brown on one side for about 3 minutes. Once it’s nice and caramelized, even crispy, on that side flip the burger and brown on the opposite side.
- You could, for sure, serve this on a bun with the accouterments of your choosing (I like smoked Gouda, crispy onions and a combination of ketchup and mayo), or you could just eat it with a fork alongside a salad with a bright vinaigrette.
Tips/Techniques
You could substitute really any bean of your liking here. Also, these patties freeze great and can be cooked from frozen with great success.


Fleetwood Town head coach Joey Barton calls for politics and sport to be kept apart
Football and politics are not a good mix according to Fleetwood Town head coach Joey Barton.
by Tom SandellsTown last week put out a statement pledging their support to the Conservatives in the upcoming General Election, with the club’s owner, Andy Pilley, giving a guided tour to the Tory candidate for the area.
Pilley defended the club’s decision to back the Tories on Twitter, when questioned about the consequences to what is a working-class area.
Barton, who has appeared on the BBC’s ‘Question Time’ in the past, believes that sport and politics aren’t a match.
He said: “You would always like football to remain free of politics, really.
“Politicians tend to use any means necessary to get a majority to give themselves influence.
“I can understand why they’d want to use sport, and football, as the dominant sport in this country, in particular.
“I always think when you mix politics and football together, it doesn’t really end well.”
Barton can see similarities between politics and his own line of work but wants to see a degree of intelligence and honesty from those involved.
“You just have to approach it with common sense,” he said.
“It’s tough to tell anyone to vote a certain way, ideally we wouldn’t be forced to choose the best of two relatively ineffective people for any job.
“Sometimes that does happen to football managers. Sometimes you need a left-back and there aren’t a great deal of left-backs, so you have to take what’s on offer.
“People will have to weigh up the pros and cons, how it affects them.
“The thing that gets me is the fearmongering and the lies.
“Let’s be honest, I wouldn’t let Boris Johnson walk my dog, so how are we going to let him run the country?
“But on the flip side there are a lot of things going on. Politics are a mess right now.
“I’m just going to focus on football really and stay away from what is a potential bad situation for all.
“Once you start choosing people to choose sides, once you start forcing people to be divided, I just think you end up with nonsense.”


Rand.Reset
Syntax
Rand.Reset
Description
This is a procedure with no parameters that resets the sequences of pseudo-random numbers produced by Rand.Real and Rand.Int. This allows identical executions of the same program to produce identical results.
 Each time the program runs, the same sequence of rolls occurs.
Rand.Reset
loop
put "Rolled ", Rand.Int (1, 6)
end loop
Details
If Rand.Reset and Rand.Set are not used, each time a program runs Rand.Real and Rand.Int use a different pseudo-random number sequence. To get the same sequence each time (actually, to start the sequence at a different point), use Rand.Reset or Rand.Set.
The Rand.Reset procedure can be called any time. However, to make it work, it should only be called once per program. Any call to Rand.Reset after the first one is ignored.
To use several sequences of repeatable pseudo-random number sequences, use the Rand.Seed and Rand.Next procedures.
Status
Exported qualified.
This means that you can only call the function by calling Rand.Reset, not by calling Reset.
See also
Rand.Set, Rand.Int, Rand.Real, Rand.Seed and Rand.Next.


Hello! My name is Heather Caudill and I'm currently a student at Wake Tech Community College. I specialize in web design, graphic design, and art in a multitude of different mediums. I have currently worked with:
To view some of my work, continue scrolling or use the navigation bar to explore various design categories.
This project was a visual representation of the work and thought that goes into creating a Dance Marathon.
This chart demonstrates the increase in foot traffic at UNC's Counseling and Psychological services over the past year.
This chart displays how Orange County, North Carolina, surpassed their waste reduction goals for the 2013-14 year.
This chart compared food insecurity rates among various easter states and how North Carolina compares to the national average.
This image was created by me and later overlayed onto a front page headline showcasing the amount of sports concussions in men and women's soccer and lacrosse.
This graphic artwork was used to display the different ligaments in the knee and which ones are often injured during women's basketball.
This graph shows the decreasing rate of low-income students attending college, and suggests reasons this may be happening.
This infographic displays the amount of meal swipes that are used versus those that are not.
This large infographic displays the amount of student athletes in each class.
This map shows the proposed route a light rail would take to connect UNC Chapel Hill and Duke University.
This infographic explains the steps necessary to report a sexual assault case at UNC.
This project was a color correction. I changed the shades, exposure, and contrast to bring this image back to life.
The original image contained blemishes, so I used the healing tool to remove and rejuvenate the image.
In this project, I was given a series of images to choose from and edit as I wish. I created a composite piece using a cow, clouds, a horn, clock, and dock.
This is a current work-in-progress mock-up of an artist's magazine cover.
This multi-week project required me to sketch up a fake beverage label, create the design, and even animate it.
Acrylic, 2015
Acrylic, 2015
Acrylic, 2016
Watercolor, 2011
Acrylic, 2017
Guache, 2015
Watercolor and Ink, 2012
Acrylic, 2011
Acrylic, 2017
Colored Pencil, 2019
Colored Pencil on Dark Paper, 2015
Colored Pencil on Black Paper, 2013
Colored Pencil, 2019
Graphite, 2014
Pen, 2012
Pen, 2015
Colored Pencil, 2012
Colored Pencil, 2012
Colored Pencil on Black Paper, 2011
Colored Pencil, 2014
Colored Pencil, 2013
Chalk on Slate, 2019
Chalk on Slate, 2019
Chalk on Slate, 2018
Chalk on Slate, 2019
Chalk on Slate, 2019
Chalk on Dark Construction Paper, 2012
Chalk on Paper, 2013
Marker, 2013
Marker, Watercolor, 2013
Colored Pencil on Black Paper, 2013
Oil Pastel, 2015
Oil Pastel on Dark Paper, 2013
Oil Pastel on Dark Paper, 2013
Do you have any questions? Please do not hesitate to contact me directly. I would be happy to help you achieve your web design or artistic goals.


Home Page
Our Goals
Party Beliefs
8Genial1 Constitution
People in Political Party
How We Are Different
Moderates or Radical?
Our Poster
Our Poster
Click on the image to see it closer up!


Taking a break? 🍹
Enjoy an ad in
5s
, unless you
do not want
to learn more about our sponsors who keep us afloat.


{{!-- This is the base layout for your project, and will be used on every page. --}}
HTML source: https://github.com/konsav/email-templates/
Available on GitHub and CodePen
More than 50% of total email opens occurred on a mobile device — a mobile-friendly design is a must for email campaigns.
Tested on the most popular email clients for web, desktop and mobile. Checklist included.
Sketch app resource file and a bunch of social media icons are also included in GitHub repository
Have a question?
<EMAIL_ADDRESS>This email template was sent to you becouse we want to make the world a better place. You could change your subscription settings anytime.


No
The triggers
directive defines the automated ways in which the Pipeline
should be re-triggered. For Pipelines which are integrated with a source such
as GitHub or BitBucket, triggers
may not be necessary as webhooks-based
integration will likely already be present. The triggers currently available are
cron
, pollSCM
and upstream
.
Required |
No |
|---|---|
Parameters |
None |
Allowed |
Only once, inside the |
Accepts a cron-style string to define a regular interval at which the
Pipeline should be re-triggered, for example: triggers { cron('H */4 * * 1-5') }
Accepts a cron-style string to define a regular interval at which
Jenkins should check for new source changes. If new changes exist, the Pipeline
will be re-triggered. For example: triggers { pollSCM('H */4 * * 1-5') }
Accepts a comma separated string of jobs and a threshold. When any
job in the string finishes with the minimum threshold, the Pipeline will be
re-triggered. For example:
triggers { upstream(upstreamProjects: 'job1,job2', threshold: hudson.model.Result.SUCCESS) }
|
The |


BYU! Home of the Cougers! Only the best of the best come here.
Below you will find the weekly forecast for our wonderful school.


USST TP
Beta
Dashboard
Interface
Courses
All:
All Courses
Concern me:
My Courses
Problems
All:
All Problems
Concern me:
My Problems
Messages
All:
All Messages
Concern me:
My Messages
Unread Messages
Read Messages
Management
For Admins:
Schools
Courses
Problems
Messages


---
layout: post
title: Prost!
date: '2010-12-01T17:29:00.000-05:00'
author: Bob Sica
tags:
modified_time: '2011-12-21T12:48:50.454-05:00'
blogger_id: tag:blogger.com,1999:blog-736339229338318027.post-9143143471485765781
blogger_orig_url: http://blog.purplecrowlidar.ca/2010/12/prost.html
---
A big smile and a tip of the glass to you all after a long day of spirited discussions. From the team dinner at the ISSI 2010 Team on the Critical Assessment and Standardized Reporting of Vertical Filtering and Error Propagation in the Data Processing Algorithms of the NDACC Lidars (boy do we need a better acronym!).
Too bad the bears didn't join us, it must have been cold and dark in their den.


This is for the Fujitsu Sparclite family of processors. Currently this covers the ex930, ex931, ex932, ex933, and the ex934. In addition to the I/O code a startup file, this has a GDB debug-stub that gets linked into your application. This is an exception handler style debug stub. For more info, see the section on Porting GDB. Porting GDB.
The Fujitsu eval boards use a host based terminal program to load and
execute programs on the target. This program, pciuh
is relatively
new (in 1994) and it replaced the previous ROM monitor which had the
shell in the ROM. GDB uses the the GDB remote protocol, the relevant
source files from the gdb sources are remote-sparcl.c. The debug stub is
part of libgloss and is called sparcl-stub.c.


Veridian Dynamics
At Veridian Dynamics, we solve your problems with technology
- Competence
- Involvement
- Technology
- Plan
- Evaluate
- Implement
- Become #1 in Technology
- Increase Success by 20%
- increase Business by 30%
| Plan |
Price |
features |
| starter |
$99 |
Base Technology |
| Advanced |
$199 |
Aditional Features |
| Premium |
$499 |
Aditional Support |
All products come with our product gaeruntee™
Back to top of page


Pay the debt to get the judgment cancelled
If you pay {{ partyName( 'claimant' ) }} £1,500 before 19 May 2019, the judgment will be cancelled.
Get {{ partyName( 'claimant' ) }}'s contact details
We'll contact you when they confirm you've paid.
I don't owe the money {% else %}
Apply to cancel the judgment
The court will usually only cancel a judgment if it accepts you didn't know about the claim at the time it was issued.
To apply to cancel the judgment you must:
- submit a defence to the original claim as part of the application
- pay a fee of £255
You might have to go to a hearing. You can't get the fee back if the court rejects your request.
If the court cancels the judgment
We'll ask {{ partyName( 'claimant' ) }} to respond to your claim defence.
If your request is rejected
You'll have to pay according to the terms of the judgment.
Do you want to apply to cancel the judgment?


Accelerate your software development!
The initial rush-to-market results in
many of the cross-cutting aspects being left out
and inconsistently implemented features
End-to-end
UIs, APIs, load-balancers, caches, databases, compute-pipelines, devices
Declarative
System-wide schema specified by developers
Open-source
Tree-ware lets you rush-to-market
with a slew of cross-cutting aspects included out of the box
and consistently implemented features
Developers only define the following:
It sets up & operates infrastructure
for
the data defined in the schema
It uses existing infrastructure:
Databases, queues, compute-pipelines, etc.
And provides other custom infrastructure:
UI, load-balancer, API server, cache, RBAC, feature-flags, etc.
Tree-ware does not limit what can be done
It is modular and custom code can be inserted wherever needed
It is less than ideal for existing systems
But it is perfect for brand new systems
It is not fully implemented
But there is enough for a first release
And it is a great foundation to build on
Developers only define the following:


I am a restless mind and a entrepreneur soul. While I was studying the computer science degree on the Murcia's University, I started working on my own startup (MySON) to do easier the task of ensure kids do a good use of computers and Internet. I had the chance of knowing many entreprenur people and we helped each other (I can help giving an IT view). I learned the steps to make a successful startup.
In 2013, I was hired for a company that "turned business ideas into profits".There I, grew up a lot working as backend engineer with Node.js. Moreover, I was named team leader to develop a SEARCH ENGINE (yes, like Google). This project was the biggest challenge on my career, but we made it. In this company I had the opportunity of working with Agile methodology (SCRUM) and they teached me as Scrum Master and Product owner.


This text is part of the Parsing With PetitParser2 series. The table of content can be found at the end of the chapter.
Please note that the WebGrammar
offered to download in the Abstract Syntax Tree chapter contains already optimized version of an element
rule. In this chapter we suppose that element
definition looks like defined in Extracting the Structure chapter, i.e. it looks like this:b
In the previous chapter Optimizations we have greatly improved the performance of our parser. So let's parse the real sources. The home page of we wikipedia, github, facebook and google can be parsed invoking this commands:
Unfortunately, this still takes too much time even though we applied the automated optimizations. Can we do something, that the optimizations can't? Usually, hard to say. It depends on the nature of a grammar and input to be parsed. But in this case, we can really improve the performance. (obviously, we wouldn't write this chapter otherwise).
It is a good time to check the events morph of a debug result. Events morph shows timeline of parser invocations (dot) at a given position (x axis) in a given time (y axis). Inspect the result of the following command again and switch to Events view.
On the screenshot in Figure 0.1 we see only a part of the story (the part that fits into a window). The whole story is that parsing progress pretty fast towards the end of input (this is the good part), but later one can notice (when scrolling down) that parser jumps to the beginning of input and starts again. Over and over again (this is the bad part).
Please not that for long inputs the Event tab shows only a beginning of the input and first few thousands of invocations.
Even though optimizations in PetitParser2 work reasonably well, not all of them can be applied automatically. Some grammars do a lot of backtracking and automated optimizations can reduce only part of it. If I ask you why is the backtracking happening you would probably have a hard time to figure this out[1]. So does have the code trying to apply the optimizations, so we have to do this manually.
Luckily, there are tools to help us. For convenience of visualization, we use compact and simplified input.
In the events morph we see how does the parser backtrack, over and over.
We have to do a bit of detective work to figure out when and why.
Let us navigate through the parsing until the HTML body (represented by the b
element in the compact input) is parsed:
Now switch to the traces tab:
The yellow rectangle in Figure 0.4 highlights 872 underlying invocations of the element
rule.
The dark red rectangle highlights another invocations of the same element
rule that started at the same position.
And we see there are quite a few of them.
In general, one does not want to see repeating dark-red rectangles, and the more of them or the higher these dark-red rectangles are, the worse.
It simply means redundant computations.
Remember, each pixel on the y-axis is a parser invocation.
Why do these redundant invocations happen?
Because of the unclosed HTML meta
elements (represented by m
in the compact input).
The parser sees meta, starts an element, parses the content of meta, including the body element.
But it does not find the closing meta.
So it returns before the meta element, skips the meta part as a water and continues parsing.
This means it re-parses the body element again.
The more meta
elements, the worse.
If yo are watchful, you might have noticed a line behind a dark-red bar.
This line is created by automated cache, which immediately returns the result of a body
element and prevents the whole execution.
But because it can remember only the last result, it can prevent only half of the executions.
Twice as fast is good, but we can do even better.
There is a solution to this, called memoization. Memoization is a technique to remember all the results for all the positions (while caching remembered only the last result for the last position). The more power comes at a cost of less efficiency, therefore memoizations should not be used superfluously
To suggest PetitParser2 to add memoization, add a memoize
keyword to the element
rule.
Please note currently PetitParser2 does not support memoizations of push and pop parsers. The "neutral" parsers, for example a sequence of push and pop, as in the case of the element
rule, can be memoized.
Let us check the result now:
The Figure 0.5 is the result we want to see.
Even though the parser still backtracks, it is because of the nature of the grammar.
Grammar is defined in a way it can speculate and so it speculates.
We see two big backtrackings: one for each meta
in the input, the html body itself is not re-parsed over and over again and the precious time is saved.
If you want to avoid backtracking of meta
elements, you have to include syntax of meta
into the grammar.
You can try to parse some big sources as well, they should be parsed in reasonable time:
This is the last chapter of extracting Javascript from HTML sources. We started with a prototype in the playground in the first chapter and end up with a full-fledged and tested parser returning html structure, parsing real sources and tolerating malformed inputs.
While specifying the grammar, we wrote only rules that describe the interesting input, we ignored the rest. This way we got feedback about our parser from the early stages of development. This is in contrast with a traditional parser development, where a grammar engineer has to specify most or a complete grammar before she obtains useful results.
PetitParser allows a grammar engineer to use an agile approach. This is thanks to (i) bounded seas, which allows for the tolerant parsing, and (ii) automated optimizations, which significantly improve performance of a removing the burden from the grammar engineer.
The parser we implemented has a reasonable performance considering the simplicity of the grammar and effort we put into specifying it. Of course, PetitParser allows you to specify even faster parser, but at a cost of higher implementation effort. We discuss optimizations of a high-performance grammar on the concrete example of the Smalltalk grammar. The Smalltalk grammar reaches performance better than a table-driven approach and is comparable to a performance of a hand-written parser.
Nevertheless, If you have an ideas how to improve performance even more, please contact us orcontribute!
The sources of the html parser can be found here:
WebGrammar
WebGrammarTest
WebParser
WebParserTest
WebElement
JavascriptElement
HtmlElement
UnknownText
The sources used to generate this tutorial are part of the PetitParser2 package.
This text is part of the Parsing With PetitParser2 series.
Part I, Developer's Workflow:
Do you have ideas, suggestions or issues? Write us an email, or contact u on github!
Go to top.


Beginning in 2013, DuPont Pioneer's Research IM department began a concerted effort to provide a consistent end-user experience across its entire application portfolio. The result of this effort was SoyLib, an opinionated WPF library that enforces a common backend structure and provides reusable frontend components.
The most important (and most complex) UI components provided by SoyLib are modals. Inspired by Twitter Bootstrap, SoyLib allows developers to easily show custom content as a modal, and gracefully handles displaying several modals simultaneously.
Showing a modal is simple:
SoyLib ships with some stock views that mimic WPF's built-in ShowMessageBox() functionality:
The result:
Clear, unobtrusive feedback is essential to a positive user experience. SoyLib provides a custom template for the built-in WPF Expander control to add real-time validation warnings that appear at the bottom of the expander. Soylib builds upon WPF's built-in IDataErrorInfo-based validation.
To configure an expander to display validation warnings, a developer must specify its style and connect it to its target elements using the ErrorMessages attached property:
The result:
SoyLib expects its host application to be divided into independent, self-contained modules. Modules are discovered at run-time and are displayed to the user as a set of Office 2013-inspired tabs:
To flag a class as a module, a module must expose a module class that implements the IModule interface:
The [MainModule] attribute provides meta-data (like the tab title and module's theme color) that SoyLib uses when rendering the module's tab.
By default, a subtle sliding animation is applied when switching modules to give the user the feeling of a context switch:
Another minor but handy piece of functionality provided by SoyLib is enhanced progress-bar handling. Progress bars can be shown inside a modal window:
or in the "notification area" underneath the module tabs:
Progress bars are displayed programmatically through the IUserInteractionManager class:


About Us
Over population is an issue affecting all animals and humans. As such, this website is dedicated to all the animals who have lost their lives to over population.
Please remember to spay and neuter your pets.
Contact Us
For any questions or concerns about Cattails please contact Natalie Young at<PHONE_NUMBER> (Call/Text)
This website is currently being developed.
For more information please go to https://github.com/jsdokos/catTailsWebsite
This website was developed by Jacob Dokos using Foundation 6 and is hosted using Github Pages. To view the source code, please visit my Github Webpage.


@morganherlocker
Geospatial Machine Learning
machine learning is when programs get better at guessing things with more data
testable predictions are a requirement
does this person have heart disease?
- sex: male
- age: 49
- blood pressure: 120/139
- number of dogs: 2
- family history: yes
- eye color: brown
models start with random parameters
they train by testing themselves against known data
they tweak a parameter when they are wrong
humans do this too
humans usually give up after a few tries
humans can
pattern match very quickly
machine learning is a set of tools
different algorithms have different
- purposes
- strengths
- weaknesses
the algorithms are fairly simple
machine learning is about statistics, not magic
complexity exists in the models
What does this have to do with geo?
- mapping automation - lane detection, missing road detection, building tracing
- vandalism prevention - finding spam, bad edits, etc in OpenStreetMap
- fuzzy routing - multivariate ETA estimation
- urban planning - demographic projections
- data augmentation - fill in gaps of existing datasets with variable confidence
low hanging fruit
spatial is (not) special
(that's a good thing)
most geo problems are one of the following
- 1 dimensional arrays - ANN - tabular data like demographics, economic numbers
- 2d arrays - CNN - rasters, satellite imagery, drone imagery, videos
- sequential graphs - RNN - route planning, temporal vector data
- language - BOW/skip-grams/tokenizing/W2V - geocoders, generalized natural search engines, spatial sentiment analysis, OSM commits
real world
lane detection
OSM
OSM changeset flagging
- What the hell was this?
- Corrections of a lot of errors of a bad data import :-/
- Sort out some f***ing chaos
js tools
- brain
- node-fann
- convnetjs
- natural
- sentiment
- word2vec (cli)
- caffe (cli)
@morganherlocker
<EMAIL_ADDRESS>credits
- robot learning to walk - john goatstream
- robot failing to open door - darpa
- scary robot - boston dynamics
- strawberry robot - nhk world
- chimp memory puzzle - bbc


A bit of background, prior to this experience my friend L had been taking drugs recreationally for several years, I had been recreationally taking drugs for about a year and a half and she had introduced me to good quality samples of ketamine, MDMA, MDEA, 2C-B, 2C-T-7, 2C-B fly, 2C-I, 4HO-MiPT and various strains of mushrooms. The research chemicals were always procured directly from pharmaceutical companies, the mushrooms were home grown by one of my friends and we had an extensive ecstasy testing kit we applied to all pills and MDMA powder. Our pills were mostly bought from one dealer who L had come to trust for quality over the course of years. The point I’m trying to make here is that we were usually extremely cautious and this experience is an example of what can happen when you let your quality control slip.
A month or so before this experience we had tried some pills containing MDEA instead of MDMA and had found MDEA to be a more psychedelic experience. We were curious to try MDA as it was supposed to be more psychedelic still (since then I have had it and it is) and the psychedelic is what we liked in our drugs. A bit of digging around found a source for MDA and we bought a small bag of it in pure powder form (not from our usual dealer). Now crucially at this point for some reason we did not immediately test the powder. After the event neither of us has been able to come to a satisfactory explanation as to why.
The background: Both of us worked. My job at the time was quite depressing but things were looking up as I’d just been accepted at a new company and was working my notice, only a month and I was out of that hellhole. L enjoyed her job so we were both in a good frame of mind come Friday night and it seemed an excellent opportunity to experiment with the psychedelic aspects of MDA in the comfort of our house. We went through our usual ecstasy ritual of an early supper so we’d both have lots of calories free for the burning, tidying the house, watching a little light telly and reading a bit till eleven to allow time for digestion.
 Not an exact science but unless you have fingers like sausages and roll it around like you’re trying to batter your finger you’re not going to do yourself any harm. It tasted awful but doesn’t it always? Whilst waiting to come up we moved into my room and L broke out her yoga mat to do some stretches as she was getting RSI related back pain at the time. I was doing a lot of reading on roleplaying theory at the time so I was on the web pulling up pages and discussing the ideas with L. Within 45 minutes we both knew we were up as the conversation became more animated and the ideas flowed faster. We were both on a similar level from the same dose even though I am quite a portly chap and L is quite slim.
And I have to say it felt good. I felt very relaxed, at ease and creative pathways were firing in my brain like crazy. Just lying on my bed and breathing deeply felt fantastic. We both decided we quite liked MDA and it was time for another dab. Feeling full of energy L suggested moving out into the cul-de-sac we live on to spin some poi, I wasn’t quite in the mood for spinning myself but we went out so she could spin and I watched and carried on talking to her.
Then I got the headache. Very sudden onset, like a switch had been flipped. I excused myself and said I had to go lie down for a bit. L wanted to keep talking so we went to her room and lay on her bed.  It was unbearable; it felt like my brain was being squeezed. After 5 minutes the words “Accident & Emergency” came up. We decided if things hadn’t alleviated in 30 minutes we’d get a taxi there. In those thirty minutes L tried having the lights low, having the lights off, playing soothing music, playing music quietly in the background and wrapping a damp towel round my head. By 30 minutes I was writhing and L was scared. It was time to make the dreaded trip to the hospital.
L tried to phone for a taxi but was told by all the companies she tried that they didn’t collect at that time on a Friday night. We live really close to a major bus route that fortunately would still have been running at this time (about 1 in the morning) quite regularly. But as I stumbled down the road towards it I honestly wasn’t sure I could make it.  I think I might have mumbled something about calling an ambulance but like a gift from god a black cab appeared.
A&E one o’clock Saturday morning is not fun. I believe me and L were the only non alcohol-related-injury people in there. The guy behind me seemed to have passed out and pissed himself, across from me a group of chav girls were alternately bursting into tears and screeching at each other and in the corner a younger guy was shouting angrily at an unconscious person on a trolley. I curled up on a plastic chair, blocked out the fluorescent lights with a damp towel we’d brought from home and whimpered a lot. After a few minutes L went and had a quiet word with the staff about how much pain I was in. I am pretty sure that seeing I wasn’t someone who’d been-drinking-been-fighting they bumped me up the queue to see a doctor. To that person on reception, I’m really grateful.
The nurse asked a bunch of questions and we gave him name of substance, approximate time of ingestions and symptoms. L offered him a sample of the powder we’d taken, but he said they had no facilities to test it with. He then went away to check what info they had on MDA and came back to say they had no information on MDA at all just the umbrella term ecstasy. In retrospect I was a bit shocked, this was a large inner-city hospital in England and their knowledge on recreational drugs and possible side effects seemed quite limited.
From this point on I was treated like royalty. I was whisked off to a private room, had an enormous needle shoved in my vein (just in case they would need it), hooked up to a machine that went ping and was told my blood pressure was 250 over 150 which certainly explained the headache. I didn’t even know it could go that high. Interesting new words entered the general discourse, words like ‘possibility of a brain haemorrhage’. I must observe at this point my mood was quite jovial; the alternative would have been to confront the fact that the next step along in my condition was probably death. I think it freaked the nurses out a bit, patients whose heads are about to explode shouldn’t occasionally surface from their whimpering foetal positions to earnestly enquire what that machine there does, or what that number means or make jokes about having an aneurism.
At some point L was given an information leaflet on ecstasy which she shared with me. It had some interesting things I didn’t know in it and a couple of things I’m certain were totally wrong but on the whole it was a good read till a nurse saw me looking at it and took it off me. I wasn’t supposed to see it ‘til I was better and could be admonished. After another half hour it became apparent my blood pressure wasn’t going to sort itself out so they gave me a pill they usually give to people having heart attacks. A couple of minutes later my migraine switched off as suddenly as it had switched on and my blood pressure bottomed out.
Unfortunately this meant I had to leave my swish private room and important looking bits of machinery. They kicked L out of the hospital and put me in a dorm for observation overnight. I of course couldn’t sleep, and passed the time chatting to the night sisters about ecstasy testing kits, common sense precautions and how great they thought their GPs were because they could get opiates by the bucket load for period pain no questions asked. The next morning a doctor waved the information leaflet at me and I politely stated I’d seen it the night before and could I please just be discharged so I could tell my friend I was alright.
In the following weeks several other people had suspicious experiences with that dealer’s MDA (non as near fatal as mine fortunately) and someone finally ran it through an ecstasy testing kit. No ecstasy. So someone sent it to a lab. A lot of BZP and a little speed. I wasn’t interested in piperazines before. Now I’m avoiding them like the plague. At the time of writing I believe BZP is still being sold as a legal high in some countries.
In the interests of full disclosure I should mention that several months after the incident both my parents were diagnosed with hypertension and are now on medication for it. I should also mention that in the following years I have continued to take MDMA, MDEA, LSD, 2C-B, mushrooms and (eventually) actual MDA all without incident.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


{% extends "base.html" %} {% block content %}
This is a task management/productivity app that loosely follows GTD principles.
Existing users should log in. New users are not accepted at this time.


The Pneumonia Prediction Network is built from transfer learning on MobileNet
Makes use of a simple binary crossentropy loss function to classify pneumonia images
Below you can see the image we wish to classify, an xray image
$ curl -X POST -F<EMAIL_ADDRESS>'http://pneumonia-api.appspot.com/predict'
{
}


We are two students who participate in the VEX Robtics Competition
Our robotics GitHub username is VEX-EDR-SKYNET and the 6047S state repository is HERE our robotics code is in VEXCODE V5 TEXT. VEXCODE is a programming language for VEX Robots in C++
More Info about VEXCODE V5 Text
In the 2019-2020 season Tower Takover is played on a 12 by 12 foot field with 66 cubes, 22 orange cubes, 22 green cubes, and 22 purple cubes. The goal of the game is to score the most points by scoring cubes in the scoring zones in the corners of the field and also scoring cubes in towers to increase the value of all the cubes by 1 point for both teams.


State Department Aide Added to Public Impeachment Hearings
by TIM RYANWASHINGTON (CN) – Kicking off its second week of public hearings in the ongoing impeachment inquiry into President Donald Trump, the House Intelligence Committee on Monday added to its witness list a State Department official whose private testimony last week Democrats called “damning.”
David Holmes, who is an official at the U.S. Embassy in Ukraine, told lawmakers in closed-door testimony Friday that he overheard a phone call between U.S. Ambassador to the European Union Gordon Sondland and Trump in which the president asked if Ukrainian President Volodymyr Zelensky was “gonna do the investigation.”
Holmes’ role in the impeachment inquiry began on Wednesday, when Bill Taylor, a top U.S. diplomat in Ukraine, testified that a staffer had overheard the call. Holmes went before House impeachment investigators at the end of last week and will now testify in public on Thursday alongside National Security Council official Fiona Hill.
The impeachment inquiry has revolved around a July 25 phone call between Zelensky and Trump in which Trump raised investigations into the 2016 U.S. presidential election and former Vice President Joe Biden and his son, Hunter. The younger Biden sat on the board of the Ukrainian energy company Burisma Holdings.
Witnesses have testified that the investigations were the focus of an unofficial channel of diplomatic pressure in Ukraine that was trying to push the new government in the country to open the investigations at the same time the Trump administration was withholding a $400 million military aid package.
Multiple witnesses have said they understood the release of the aid package and a meeting at the White House were conditioned on the public announcement of the investigations.
According to a copy of Holmes’ opening statement first obtained by CNN, he overheard Sondland telling Trump that Zelensky “loves your ass” and that he would do “anything you ask him to do.” Sondland is set to testify publicly on Wednesday morning.
Copyright © 2019 courthousenews.com


Dijit CheckBox Test
Here are some checkboxes. Try clicking, and hovering, tabbing, and using the space bar to select:
cb1: normal checkbox, with value=foo
cb2: normal checkbox, with default value, initially turned on.
cb3: disabled checkbox
cb4: readOnly checkbox, turned on
cb5: normal checkbox, with specified value=""
cb6: instantiated from script
cb7: normal checkbox.


Bitcoin Not a Currency According to Facebook’s Libra Lead
by Rebecca CampbellDavid Marcus, head of Facebook’s Libra project, doesn’t see Bitcoin as a form of currency, stating that it’s digital gold.
Bitcoin Not a Medium of Exchange
Marcus was speaking at the New York Times Deal Book Conference in the Big Apple yesterday when he made his remarks.
In his own words, “It’s actually not a great medium of exchange because of its volatility,” reports CNBC.
Going further, the face of the Calibra digital wallet, a Facebook subsidiary that will provide a digital wallet for Libra, noted that he sees Bitcoin as digital gold because you can hold on to it as an investment, but its volatility means that it’s not the best choice for people who need to send remittances across borders.
Libra, on the other hand, will be tied to fiat currencies such as the euro and the U.S. dollar, enabling it to remain stable.
The Push Back
That, however, hasn’t stopped the project from receiving negative criticism. Since being announced in June, Facebook founder and CEO Mark Zuckerberg and Marcus have had to make several public appearances, including facing the U.S. Senate and the House Financial Services Committee. That, however, hasn’t deterred them from continuing with what they’re trying to achieve.
Answering a question as to how they expected things to turn out, David acknowledged that they knew there would be some push back.
I think it was expected and for several reasons, he said. One is understanding that the way this is designed is not trivial. You need to invest a little time to really look into the separation between the Libra Association, which we don’t control anymore, Calibra, the wallet, which is a subsidiary of Facebook, and Facebook itself, and also the fact that this was designed more to operate as a payment system to enable people to have access to modern financial services and digital money, not really as a thing to take over the world.
Interestingly, if he were to do things differently, Marcus noted that he would emphasize the benefits of creating a new infrastructure to move money around the world for the people who need it the most. Not naming anyone in particular, he said that the idea of the creation of “money” inspires plenty of people to talk about it.
Image via Shutterstock
The Rundown


A Readable Stream interface over node-glob.
var gs = require('glob-stream');
var readable = gs('./files/**/*.coffee', { /* options */ });
var writable = /* your WriteableStream */
readable.pipe(writable);
You can pass any combination of glob strings. One caveat is that you cannot only pass a negative glob, you must give it at least one positive glob so it knows where to start. If given a non-glob path (also referred to as a singular glob), only one file will be emitted. If given a singular glob and no files match, an error is emitted (see also options.allowEmpty
).
globStream(globs, options)
Takes a glob string or an array of glob strings as the first argument and an options object as the second. Returns a stream of objects that contain cwd
, base
and path
properties.
options.allowEmpty
Whether or not to error upon an empty singular glob.
Type: Boolean
Default: false
(error upon no match)
options.dot
Whether or not to treat dotfiles as regular files. This is passed through to node-glob.
Type: Boolean
Default: false
options.silent
Whether or not to suppress warnings on stderr from node-glob. This is passed through to node-glob.
Type: Boolean
Default: true
options.cwd
The current working directory that the glob is resolved against.
Type: String
Default: process.cwd()
options.root
The root path that the glob is resolved against.
Note: This is never passed to node-glob because it is pre-resolved against your paths.
Type: String
Default: undefined
(use the filesystem root)
options.base
The absolute segment of the glob path that isn't a glob. This value is attached to each glob object and is useful for relative pathing.
Type: String
Default: The absolute path segement before a glob starts (see glob-parent)
options.cwdbase
Whether or not the cwd
and base
should be the same.
Type: Boolean
Default: false
options.uniqueBy
Filters stream to remove duplicates based on the string property name or the result of function. When using a function, the function receives the streamed data (objects containing cwd
, base
, path
properties) to compare against.
Type: String
or Function
Default: 'path'
Any glob-related options are documented in node-glob. Those options are forwarded verbatim, with the exception of root
and ignore
. root
is pre-resolved and ignore
is joined with all negative globs.
var stream = gs(['./**/*.js', '!./node_modules/**/*']);
Globs are executed in order, so negations should follow positive globs. For example:
The following would not exclude any files:
gs(['!b*.js', '*.js'])
However, this would exclude all files that started with b
:
gs(['*.js', '!b*.js'])
MIT


--- layout: archive title: Zulip Chat Archive permalink: /stream/113489-new-members/topic/getting.20the.20defining.20equation.20of.20a.20recursor.html ---
Is there a way to display the defining equation for the recursor of a given inductive type? Is this a sensible question? I just read about recursors from pg. 28 of https://hott.github.io/book/nightly/hott-online-1204-g7415493.pdf. I know #check will give me the type of the function, but is there a way to get the function itself?
Does
inductive mynat | Z | S : mynat → mynat #print prefix mynat
give you what you want?
I think he means the iota reduction rule, which isn't written anywhere I don't think.
I'm not certain, but I think what I see printed from #print prefix mynat
for mynat.rec
is the type?
The recursor for a type X is called X.rec
and it doesn't have a definition, it just has a type. It is an axiom in the theory
Every time a new type is created using inductive
or structure
or class
the constructors and recursor are added to the theory as new constants or axioms or whatever you want to call them. They have no definitions. Everything else gets defined in terms of these.
So there is no defining equation like recA×B(C,g,(a,b)) :≡ g(a)(b)
as given in the linked text? How do we determine how to use them?
That's iota reduction, which is true by definition.
Lean cannot even tell the difference between the two sides in some sense, but prefers the right hand side to the left hand side. A tactic like dsimp
would apply all reductions Lean can think of. A list of the reductions Lean knows is in section 3.7 of the reference manual. What is your background? I hope I'm not patronising you -- I don't mean to. I didn't know this stuff at all a year or so ago, so I just assume nobody else knows it ;-)
I guess iota reduction is the only "move" that Lean can make faced with a recursor, because it can't unfold the definition, because there is no definition.
Nope, this is new to me, I appreciate it.
I feel guilty about all this. About six months ago I spent quite a lot of time trying to figure out what was going on here -- what was true by definition and what was true for other reasons (e.g. a+b=b+a is true because of a theorem, not by definition). I got it all straight in my head and then made a note to write some good teaching materials but I never made those teaching materials.
No worries. Thank you for the link to that section of the reference manual. I think that will help.
I can never find it because the title is "computation" -- I had not realised that this is what a computer scientist means when they talk about computation! They mean changing terms into other terms, apparently. The Lean tactic change
(and show
, a synonym) changes the goal to anything which is definitionally equivalent to the goal; it's a useful tactic if you want to experiment with definitional equality.
This is definitely not what a computer scientist means when they say "computation", but it is what a type theorist means when they say "computation"
Aren't they the same thing? ;-)
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


{{ partial "header.html" . }}
{{ partial "personCard.html" . }}
{{ partial "cards.html" . }}
{{ partial "footer.html" . }}
{{ partial "js.html" . }}


#include <ParticleUniverseFlockCenteringAffector.h>
Public Member Functions | |
| FlockCenteringAffector (void) | |
| virtual | ~FlockCenteringAffector (void) |
| virtual void | _preProcessParticles (ParticleTechnique *particleTechnique, Ogre::Real timeElapsed) |
| virtual void | copyAttributesTo (ParticleAffector *affector) |
| virtual void | _affect (ParticleTechnique *particleTechnique, Particle *particle, Ogre::Real timeElapsed) |
Protected Attributes | |
| Ogre::Vector3 | mSum |
| Ogre::Vector3 | mAverage |
| Ogre::Real | mCount |
| ParticleUniverse::FlockCenteringAffector::FlockCenteringAffector | ( | void | ) | [inline] |
| virtual ParticleUniverse::FlockCenteringAffector::~FlockCenteringAffector | ( | void | ) | [inline, virtual] |
| void ParticleUniverse::FlockCenteringAffector::_preProcessParticles | ( | ParticleTechnique * | particleTechnique, | |
| Ogre::Real | timeElapsed | |||
| ) | [virtual] |
Perform activities before the individual particles are processed.
Reimplemented from ParticleUniverse::ParticleAffector.
| void ParticleUniverse::FlockCenteringAffector::copyAttributesTo | ( | ParticleAffector * | affector | ) | [virtual] |
Copy attributes to another affector.
Reimplemented from ParticleUniverse::ParticleAffector.
| void ParticleUniverse::FlockCenteringAffector::_affect | ( | ParticleTechnique * | particleTechnique, | |
| Particle * | particle, | |||
| Ogre::Real | timeElapsed | |||
| ) | [virtual] |
Affect a particle.
| particle | Pointer to a ParticleTechnique to which the particle belongs. | |
| particle | Pointer to a Particle. | |
| timeElapsed | The number of seconds which have elapsed since the last call. |
Implements ParticleUniverse::ParticleAffector.
Ogre::Vector3 ParticleUniverse::FlockCenteringAffector::mSum [protected] |
Ogre::Vector3 ParticleUniverse::FlockCenteringAffector::mAverage [protected] |
Ogre::Real ParticleUniverse::FlockCenteringAffector::mCount [protected] |


Custom HTTP
Due to the common usage in Home Automation devices with a HTTP based REST interface, the Custom HTTP driver is intended to facilitate the integration with these equipments.
Connection
The Connection Settings has the next parameters:
- Base url : Base URL of destination for each HTTP Request. For each resource that has an endpoint specified, the URL of the request is the concatenation of
Base url + endpoint
. - Headers (OPTIONAL) : Specify the Headers for each HTTP request made by the driver as JSON Object. Eg:
{"Header1": "valueX", "Header2": "valueY"}
. If this field is left empty the next headers are used by default:{"Accept": "*/*", "Content-Length": "${Length}","Host": "${Host URL}"}
. - Poll url (OPTIONAL) : If this field is not empty, the driver makes a GET HTTP Request to the Poll url every 60 seconds. The driver state depends if the returned status code is
2XX Success
or not. On the other hand, if this field is left empty, the driver state is determined by the last returned status code of a request made. In this case the driver state will be equal to Online if the returned status code is2XX Success
and Offline if not.
Resources
The driver presents 4 (_CUSTOM) resource types. Each one corresponds with a type of HTTP request:
- GET
- PUT
- POST
- DELETE
Each resource is composed by:
- Name of the resource.
- HTTP request type.
- Address
Resource Address Format
The resource address has the next format ENDPOINT;PAYLOAD
, which ENDPOINT
will be used as the endpoint url (concatenated next to the Base url value) and PAYLOAD
the payload data of the HTTP request. Both the ENDPOINT
and PAYLOAD
are OPTIONAL. If only PAYLOAD
is specified, the usage of ;
is MANDATORY. Usage of “;” (semi-colon) on ENDPOINT
must be encoded as %3B
.
Also, an EMPTY resource address is valid.
Resource address examples
/subpath;key=value
subpath1/subpath2;{"json": "example"}
subpath
;data1=value1&data2=value2
Event and Command
The only COMMAND for each request is the _SEND command which executes the HTTP request.
The only EVENT for each request is the _RESPONSE event which represents the response status code obtained from the HTTP request executed.