"Javascript tells the browser how to change the web page in response to events
that happen." My understanding of Javascript is that it is the function that makes
your website do cool active things, so HTML is the base and structure of the page,
the css is the colouring and design of it and Javascript has a special unique job
of changing the value and adding behaviour to web pages
Explain control flow and loops using an example process from everyday
life, for example 'waking up' or 'brushing your teeth'.
Control flow is the order function calls, instructions and looping is a
sequence of instruction. So for example if the statement was "How much sleep
did you get" the 'if' would be (numHours >= 8) which is if number of hours of
sleep was more or equal to 8 hours then it would 'return' "You have had plenty
of sleep", 'else' it would 'return' "You need more sleep!"
Explain the difference between accessing data from arrays and object literals.
I still dont quite understand this, I have a slight idea but I'm not too
sure how to explain it. I will get back to you on this!
Explain what functions are and why they are useful.
Functions are one of the fundamental building blocks in JavaScript.
A function is a JavaScript procedure and a set of statements that performs a
task or calculates a value. To use a function, you must define it somewhere in
the scope from which you wish to call it. They are super important because they
play a big role.
Daily Mindfulness
What did you learn from your 'mindfulness conversation'? How did the other person find it?
There is no one around at this time for me to practise this exercise on
so I will have to come back to this.
Which of the three suggested techniques will you use to sustain your practice?
There are three key components to mindful conversations "The first and most
obvious one is mindful listening. The second is “looping,” short for “closing
the loop of communication. The third key component to mindful conversation is
“dipping,” or checking in with ourselves." Out of these three the one I would
probably use the most would be looping, because I feel like this will really
help me have a better understanding about the topic at hand because I tend to
not understand things well or straight away at times.


--- layout: archive permalink: /categories/ title: "Posts by Category" author_profile: true --- {% include group-by-array collection=site.posts field="categories" %} {% for category in group_names %}


My favorite places
Here are some of my favorite places on earth
- Full of rich history
- Very fun to walk or ride around
- Unlimited fish and chips
- Home of yours truly
- Incredible hiking within the city limits with Forest Park
- Excellent nightlight and restuarant scene
- Known for its towering sea cliffs and narrow valleys.
- Beautiful streams and cascading waterfalls.
- Between Ke’e Beach and Kalalau Beach


This example demonstrates JSON schema validation. The JSON object in this example must contain properties like firstName
and lastName
, can can optionally have a property age
which must be a positive integer.
See http://json-schema.org/ for more information.


Windows 10 IoT Labs
Overview
Hello, Windows IoT!
Setting Up Azure IoT Hub
Sending Telemetry to the Cloud
Visualizing IoT Data with Power BI
Node.js IoT Labs
Overview
Hello, World!
Setting Up Azure IoT Hub
Sending Telemetry to the Cloud
Visualizing IoT Data with Power BI


London Planetree
#6544 | Platanus x acerifolia
Look for: Olive-green to creamy bark color
Origin: North American-Asia
More on the London PlanetreeYellow Buckeye
#6081 | Aesculus flava
Look for: Gray/brown bark with flat plates comprising old trunks, dark green leaves (5-leaflets)
Origin: Eastern North America
More on the Yellow BuckeyeKatsuratree
#6094 | Cercidiphyllum japonicum
Look for: Brown, slightly shaggy bark on older trunks, 2-4 inch broad ovate dark-bluish leaves
Origin: China/Japan
More on the KatsuratreeUmbrella Pine
#5617 | Sciadopitys verticillata
Look for: Rich Orangish to reddish brown bark, glossy dark green whorls of 20-30 linear flat leaves
Origin: North American-Asia
More on the Umbrella PineJapanese Pagoda Tree
#5502 | Styphnolobium japonicum
Look for: Pinnate leaves (to 10” long), each with 7-17 oval, lustrous, dark green leaflets.
Origin: China/Korea
More on the Japanese Pagoda TreeChinese Quince
#5503 | Pseudocydonia sinensis
Look for: Mosaic green/brown bark with 2.5-4.5 inch oval dark green (above), pale green (below) leaves
Origin: China
More on the Chinese QuinceShingle Oak
#5507 | Quercus imbricaria
Look for: Gray-brown bark with low ridges seperated by shallow furrows, Oblong dark green (above), pale green (below) leaves
Origin: Eastern and central United States
More on the Shingle OakChinese Elm
#5257 | Ulmus parvifolia
Look for: Mottled bark, exfoliating in irregular patches, short .75-2.5 inch dark green leaves, late-summer flowers/fruit
Origin: China, Korea, Japan
More on the Chinese ElmCommon Hackberry
#10429 | Celtis occidentalis
Look for: Narrow corky projecting ridges on bark, bright green 2-5 inch ovate leaves
Origin: Central and northeastern North America
More on the Common HackberryWhite Oak
#5266 | Quercus alba
Look for: Light-ashy bark with narrow ridges, obovate 4-8.5 inch bluish-green leaves
Origin: Eastern United States
More on the White OakBlack Tupelo
#5270 | Nyssa sylvatica
Look for: Dark gray/brown with irregular ridges/alligator hide appearance, Ovate dark 3-6 inch green leaves
Origin: Eastern North America
More on the Black TupeloPanicled Goldenraintree
#6544 | Platanus x acerifolia
Look for: Light gray/brown trunk, bipinnately compound, 6-18 inch long with 7-15 rich green leaflets, incisely lobed
Origin: China, Korea, Japan
More on the Panicled GoldenraintreeJapanese Maple cultivar
#5539 | Acer palmatum
Look for: Simple 2-5 inch long/wide with deeply 5- to 7- to 9-lobed, leaves emerge early
Origin: China, Korea, Japan
More on the Japanese Maple cultivarEuropean Beech cultivar
#6372 | Fagus sylvatica
Look for: 2-4" long elliptic dark green leaves, smooth gray bark with elephant hide appearance
Origin: Central/southern Europe
More on the European Beech cultivarSeven-son Flower
#6417 | Heptacodium miconioides
Look for: 3-6 inch ovate-lanceolate dark green leaves, gray-brown exfoliating bark
Origin: China
More on the Seven-son FlowerSassafras
#6751 | Sassafras albidum
Look for: Ovate to elliptic 3-7 inch medium green leaves, mitten-shaped, Mahogany-brown, deeply-ridged bark
Origin: Eastern North America
More on the SassafrasCucumbertree Magnolia
#6780 | Magnolia acuminata
Look for: Oblong-ovate 4-10 inch dark green leaves, relatively smooth gray-brown bark
Origin: Eastern North America
More on the Cucumbertree MagnoliaAmerican Sweetgum
#6912 | Liquidambar styraciflua
Look for: 5- to 7- lobed leaves with oblong triangular, star-shape, fruit resembles brown spikey balls
Origin: Eastern United States, Mexico
More on the American SweetgumWeeping Japanese Pagoda
#6927 | Styphnolobium japonicum
Look for: Weeping form with pendent branches, seldom flowers
Origin: China/Korea
More on the Weeping Japanese PagodaJapanese White Pine
#7261 | Pinus parviflora
Look for: Brush-like tufts at the end of branches, darker gray/scaley on old trunks
Origin: Japan/Korea
More on the Japanese White PinePitch Pine
#5652 | Pinus rigida
Look for: In three's, slightly curved 3-5 inch long yellow to green needles, brownish-yellow bark
Origin: Eastern North America
More on the Pitch PineWisconsin Weeping Willow
#5644 | Salix x blanda
Look for: Dark green, bluntly toothed leaves, stems are olive-brown
Origin: Garden
More on the Wisconsin Weeping WillowNeedle Fir
#5291 | Abies holophylla
Look for: Pointed tips and slightly grooved stems with circular leaf scars
Origin: China/Russia/Korea
More on the Needle FirTuliptree
#5153 | Liriodendron tulipifera
Look for: 3 to 8 inches long/wide with short acuminate lobe on each side, gray bark furrowed into close
Origin: Eastern North America
More on the TuliptreeCamperdown Elm
#5168 | Ulmus glabra
Look for: 3-7 inch obovate long double serrate dark green leaves, usually gafted 6' to 7' on understock
Origin: Scotland
More on the Camperdown ElmMaidenhair Tree
#5186 | Ginkgo biloba
Look for: Clusters of 3-5 fan-shaped leaves on spurs, gray-brown bark with dark furrows
Origin: Southern China
More on the Maidenhair TreeKentucky Coffeetree
#5179 | Gymnocladus dioicus
Look for: Bipannately compound 3' wide, 2' wide with 3-7 pairs of pinnae, dark brown bark
Origin: North America
More on the Kentucky CoffeetreeCanadian Hemlock
#6544 | Platanus x acerifolia
Look for: Soft, feathery evergreen needles are deep green with two parallel, whitish bands on the underside. Abundant small cones (½ to 1 inch long) that persist through winter.
Origin: Canada
More on the Canadian HemlockGiant Sequoia
#5050 | Sequoiadendron giganteum
Look for: Awl-shaped bluish-green needles 1/8-1/2 inches in length
Origin: California, USA
More on the Giant SequoiaDawn Redwood
#5020 | Metasequoia glyptostroboides
Look for: Redish-brown straight trunk turning darker with age, deciduous, armpit-like depressions directly below branch attachments
Origin: Central, Western China
More on the Dawn RedwoodTrident Maple
#5011 | Acer buergerianum
Look for: 3-lobed 1.5- 3.5 inch high/wide, lustrous dark green leaves, New growth often rich bronze transitions through purple to green in summer
Origin: East China, Japan
More on the Trident MapleVaried Directions European Larch
#5009 | Larix decidua
Look for: Unusual robust twigs that rise up and out, upright spreading habit of growth
Origin: Central/southern Europe
More on the Varied Directions European LarchCastor-aralia
#5110 | Kalopanax septemlobus
Look for: Palmately 5- to 7-lobed, 7-10 inch wide dark green leaves, stout yellowish prickles on young stems
Origin: Eastern Asia
More on the Castor-araliaAmerican Holly
#6638 | Ilex opaca
Look for: Dark green elipitic 1.5-3.5 inch leaves with large remote spiny teeth, evergreen
Origin: Eastern/central United States
More on the American HollyCommon Baldcypress
#5427 | Taxodium distichum
Look for: Leaves spirally arranged around branchlets--bright yellow green in spring turning to sage green, reddish brown, fibrous bark
Origin: South-eastern United States
More on the Common BaldcypressSweetbay Magnolia
#5739 | Magnolia virginiana
Look for: Glistening dark green leaves with a silver underside, creamy white flowers during May/June
Origin: Eastern United States
More on the Sweetbay MagnoliaSourwood
#5809 | Oxydendrum arboreum
Look for: Lance-shaped leaves ranging from 3 to 8 inches long, small creamy-white flower clusters
Origin: Eastern and southern United States
More on the SourwoodJapanese Raisin Tree
#5933 | Hovenia dulcis
Look for: Flat-gray bark with shallow, dark furrows and wide ridges, broad-ovate 4-6 inch green leafs
Origin: East Asia
More on the Japanese Raisin TreeFragrant Snowbell
#5926 | Styrax obassia
Look for: Fragrant, bell-shaped, white flowers are borne on 4-inch to 8-inch long chains, 8-inch long disk-shaped deep green leaves
Origin: Japan/Korea
More on the Fragrant Snowbell


--- layout: post title: Online Equation Builder date: '2009-04-29T15:27:00.004+01:00' author: Darren Bishop tags: modified_time: '2009-04-29T15:33:49.084+01:00' blogger_id: tag:blogger.com,1999:blog-3826577489563855618.post-7689999348921680988 blogger_orig_url: http://blog.darrenbishop.com/2009/04/online-equation-builder.html ---
Hey, this is just a quick one to point out this cool on-line tool to build equations:
Roger's Online Equation Editor
You simply enter you LaTeX into the form, submit and save the image it generates. If like me, any clue you had on LaTeX markup is long-gone, there is a nice concise guide to the Mathsy stuff.
Nice one Roger.
Cheers


Example of coloursave.js plugin usage
A1:
B1 My signature:
D1
My name:
C1:
owner:
Language:
English
Česky
other:
Language:
English
Česky
F1:
G1:
H1:
Send me meeting minutes β
Click Me!
Send me meeting minutes β
Click Me!


Hi there! Thank you for visiting my portfolio; feel free to browse around. Here’s a little bit about myself and my journey: I am a full-stack, junior-level web developer with experience in HTML5, JavaScript, React, Node.js and APIs. I most recently sharpened my skill set at the University of Pennsylvania’s Coding Boot Camp in Philadelphia, PA and attained my certificate of completion in May 2019. I have always had a passion for technology, and now I am well-equipped with technical expertise to help improve clients’ digital footprint. Not only do I enjoy writing elegant code, but I am a tireless debugger and a creative problem-solver with a proven track record of results. Prior to web development, I was part of the restaurant management industry where I led successful teams across multiple, profitable units. I am a graduate of Embry-Riddle Aeronautical University’s College of Business and I am excited to provide meaningful, eloquent and reusable solutions to clients’ complex problems.
Apart from being a web developer, I enjoy most of my time playing tennis, during the winter months here in Philadelphia I read quite a bit.
When forced indoors, I tend to catch up on the news and watch movies, and I spend a large amount of my free time exploring the latest technology advancements in the web development world.


Paste the trajectory file here.
Rotate = LEFT mouse button
Zoom = MIDDLE mouse wheel
Pan = RIGHT mouse button
This page demonstrates loading trajectory files containing angles recorded at 200Hz and playing them back at speed.
|
NEW! Drag and drop a trajectory file to load it.
Almost as new! Select "Paste from Clipboard" in the Dropdown menu.


Burny's Train Station Blueprint Creator
Version 2 Last update: 2018 / 10 / 15
Blueprint type:
Sequential station?
This option puts multiple train stations in a row with the same station name which benefits single headed trains.
The first station is always enabled, the following stations are only enabled if the previous is busy.
Caution: the trains will go to the station even if the train can't completely be unloaded (backlog).
Use case: this type of station is useful for dropping off resources at multiple stations to increase throughput. However, this option is also available for loading.
# sequential stations in a row
Amount of sequential stations in a row.
There is no parallel stations options because it was too much effort for too little gain, since you can just place them in parallel without me having to code it. :P
Belts go all the way
If "Belt flow: Front/Back" is chosen, it will make the belts go either
Enabled: all the way (all stations)
Disabled: only to the front/back of that station
Train type:
Double headed
Put checkmark if your train has locomotives on both ends
# locomotives per end
The number of locomotives per end
# cargo wagons
The number of total cargo (or fluid) wagons
Inserter type
Your chosen inserter type.
It will be automatically replaced by the equivalent filter inserter type if you enable the filter inserter checkbox below
Enable filter inserters
If enabled, your inserters will be replaced by filter inserters of equivalent type. You can set up to 5 filters which will be set to all filter inserters
Chest type
Your chosen chest type.
If you choose a logistic chest, you are given the option to disable inserters and belts.
If you select requester or buffer chest, you can set up to 12 items that will be requested (useful for loading a train with logistic bots instead of inserters)
Chest limit
Limits the chest to X item slots.
Leave this field empty or set a negative number to set no limit.
Enable belts
If you use logistic chests, it is wise to disable belts as logistic chests assume bot loading/unloading instead of loading/unloading via belts.
Belt type
Your chosen belt type.
Splitters will automatically be changed to the equivalent belt speed
Sides to be used
If you choose 'right', items will be placed only on the right side (poles, lamps, chests, inserters, storage tanks).
If you choose 'both', fuel chest + inserter will only be placed on the right side
Belt flow
Disabled if you choose 'None'.
Otherwise it will coordinate belts towards the front or back of the train
Belt design
Sides to be used
For fluids it didnt look well when using both sides, so I decided to only offer one side when handling fluids.
Connect tanks with pipe?
There would be a gap between storage tanks if this was disabled.
Disable this if you are transporting multiple different fluids in a single train
Refill at this station?
This option will put an inserter and a requester chest next to each locomotive for automatic refueling.
Recommended for your bases with roboports and fuel storage
Fuel type
Amount
What are you looking at me? Put a number there already!
Connect chests with green wire?
If enabled, this will connect each side of chests and storage tanks with a green wire.
This will not connect left and right side with each other. For that, there is the option below
Connect left and right side?
If enabled, this will connect the first chest / storage tank of each side with a green wire
Connect chests with red wire?
If enabled, this will connect each side of chests and storage tanks with a red wire.
This will not connect left and right side with each other. For that, there is the option below
Connect left and right side?
If enabled, this will connect the first chest / storage tank of each side with a red wire
Train stop uses 'enabled-condition'?
Requires: 'Connect chests with green or red wire' Caution: This may not work as expected with sequential stations.
If enabled, this will connect chests with wire to the decider combinator at the train stop to be able to set a condition based on chests content.
Added enabled / disabled condition based on chest/storage tank contents including support with sequential station (not recommended to use both together)


A revolutionary Bible study experience that will totally transform the way you understand the Bible and end-time prophecy. In fact, you won't believe the amount of information now at your fingertips. This little DVD — actually, we think it's the biggest DVD ever! — contains more than 50 hours of media and thousands of pages of information that will help you uncover profound truths in the Bible that you have never seen or heard before. Here is what's waiting for you ...
| VIDEOS 30 videos totaling over 25 hours of life-changing Bible teaching |
||
| STUDY GUIDES 27 Amazing Facts Study Guides, enjoyed all over the world |
||
| STORACLES 24 Storacles of Prophecy Bible lessons, providing new biblical insights |
||
| BOOKS A huge library of books, including 44 booklets by trusted Bible experts, an electronic health magazine, plus these timeless works: Steps to Christ, Acts of the Apostles, and more! |
||
| AUDIO Questions and answers from the hit radio program Bible Answers Live |
||
| KIDS STUDY GUIDES 10 colorful topical study guides for kids, called Amazing Adventure |
Best of all, you can explore this DVD with total confidence. Each tool is loaded with Scripture references that will help you unpack the mysteries of the Bible for yourself, grounding you in truth and enabling you to uncover key prophecy concepts that directly affect your life and eternity.
It's true! Prophecy Foundations is unlike anything you've ever experienced! So what are you waiting for? Let's get started ...


{% extends "base.html" %} {% block title %}Report{% endblock %} {% block content %} Post Reported This post has been reported for violating the terms and conditions and/or topic-specific rules. Thanks! Topic: {{topicid}} Thread: {{threadid}} Post: {{postid}} {% endblock %}
This post has been reported for violating the terms and conditions and/or topic-specific rules. Thanks!


A slight obsession over page speed
2014 January 6th by todd anderson
Lately, several projects (both personal and work-related) have ignited an increasing obsession over page load speed and performance. I wanted to highlight a few tools and resources I find useful in analyzing performance and delivering web pages in production with optimal load time.
Where'd this hat come from?
Over the past decade I primarily have been a client-side application developer. Sometimes my business card changes or personal introductions are made that get 'engineer' and 'architect' thrown in there, but truthfully I spend my days coding applications, regardless of language. I enjoy writing and shipping code under certain practices and methodologies and ocassionally pause to assess my current workflow and modify where bottlenecks are prevelant.
Up until recent years I was primarily concerned with code performance; rendering pipelines and element lifecycles, user-perceived performance cases for remote or off-loaded operations, optimizing algorithms for sorting, mapping, analyzing data, etc. I still am, but I also have become increasingly focused on delivery and load perfomance - especially in today's climate of people viewing web content on handheld devices without WiFi available.
Perhaps it is due the increasing work of web-based clients over desktop or native applications, but - if I am being honest - I never really paid attention to load time for older web-based application projects for several reasons:
- Flash plugin (preload, skip intro)
- Desktop browser targets
- Blind naivete
However, as an end-user myself (don't like the term much, either) trying to access web content on my phone while on my bus ride home, my world is consumed with waiting...
. As such, I wised up rather quick when I started to think about how someone would be absolutely frustrated and move on after 1/4 second without seeing any visible load response from a web application I lovingly crafted to in some way (hopefully) make their life easier.
That's when I started incorporating page load analysis to my deployment workflow.
Best Practices
There is excellent documentation out there regarding best practices in delivering web pages with optimal performance. Some of the best known ones are below:
Yahoo: Best Practices for Speeding Up Your Web Site
Google: Web Perfomance Best Practices; Google
Steve Souders: 14 Rules for Faster-Loading Web Sites
I won't rehash the tidbits those articles provide, so please visit those links for a wealth of information and follow the following blogs to keep abreast of the latest in research and development of web performance:
One aspect I find interesting is that a handful of the preferred optimizations described in those articles - such as concatenation, data-uris and script and styles placement on pages - have actually become part of the build phase of my development workflow, especially with the rise of tools such as Grunt and the developer community creating post-process tasks.
It is not taken for granted that I can select tools and code under certain architectural principles I perceive as providing a comfortable development environment and have these tools at my disposal to deliver the end product in an optimal fashion. Another resolution for this year is to contribute more to the libraries and tools I use often - whether through code or monetary donations.
Manual Performance Analysis
There are a few sites and tools I visit that will perform analysis on a site while in development:
Additonally, feedthebot has a handful of neat little tools to test some things - specifically if gzip is working on your site.
They all - along with various other metrics - provide a scoring based on some criteria which, as far as I can tell, are defined either by Yahoo! (via yslow) or Google (via PageSpeed).
Typically I stick to opening and running PageSpeed when developing in Chrome to get a overall recommndation of optimizations and then visit WebPageTest when I want some serious analysis and am busy updating my .htaccess file with rewrites and expiries.
Integrating Performance Reporting in Workflow
Running analysis using tools described above is a great way to see some metrics and determine what solutions to take to better the load performance of your site/application, but I like to automate all the things when I can as well as provide reporting to Continuous Integration servers so that we can document progress or failures. To provide such value, I am a strong proponent of using sitespeed.io.
I have nothing bad to say about sitespeed.io. It's built on top of PhantomJS, yslow, browsertime and bootstrap. You can alternatively use the yslow script for PhantomJS if you want something more stripped down, but sitespeed.io generates a nice set of web documents that provide performance summaries along with being able to produce a JUnit report for CI.
The documentation for sitespeed.io is thorough and easy to follow along and the configuration options are insanely helpful in finding possible pages on your site that may be of issue.
Grunt integration
I am sure there is some Grunt task out there in the wild that hooks into running sitespeed.io (or I should probably just stop being lazy and make one), but I have yet to find or search for one. I personally just use grunt-exec to run the command during a build and deploy. With the proper installation of sitespeed.io, I have the following subtask under exec
task:
grunt.initConfig({
...
exec: {
sitespeed: {
cmd: 'sitspeed.io -u http://staging.mysite.com -r ./doc/metrics'
}
}
}
});
grunt.loadNpmTasks('grunt-exec');
grunt.registerTask('dryrun', 'Build, deploy and analyze.',\
['build', 'deploy:staging', 'exec:sitespeed']);
That generates the JUnit report and summary documentation artifacts that can be consumed and presented by your CI server of choice. I also have a tendency to use the yslow script for PhantomJS in tandem on the exec
task as that will print out my perfomance grade in the console after issuing my grunt deployment.
Conclusion
Sometimes, especially when working with 3rd party libraries, web fonts, etc, it is unrealistic to hit 100 for your performance grading - who am I kidding, it is damn near impossible. I try to stay above 90 and feel satisfied.
As well, it should be stated that the final test is actually physically visiting the sites on handheld devices over a data plan. As I mentioned previously, I usually do some perceived perfomance testing while on the bus ride home, ensuring that I don't get frustrated with the load time on my own work (and I hope I am more critical of my own stuff than others are ;)).
This is just the tip of the iceberg when it comes to analyzing load performance and with developments coming out of Google, such as SPDY and mod_pagespeed, an exciting space to keep an eye on in order to deliver your content faster and keep end-users happily enjoying your sites and applications.


ISIS bride and daughter to be brought back back from Turkey in 'secret mission'
Department of Foreign Affairs officials have been deployed to Turkey assist the repatriation of Lisa Smith, it is believed
by Brendan McFaddenAn operation has been launched to return an ISIS bride to the UK along with her young daugter.
Lisa Smith, 38, travelled to Syria three years ago to join the terror death cult and it is now thought she is in the border area between Turkey and Syria with her two year-old daughter.
Now the Department of Foreign Affairs officials have been deployed to the border region of Turkey to assist the repatriation of the former Air Corps private, it is believed.
Members of the Defence Forces and the Army Ranger Wing are also understood to be assisting in the operation, the Irish Mirror reports .
It was reported yesterday that members of the Ranger Wing have been deployed to the region with the goal of repatriating Smith and her two-year-old daughter Rakeya.
But a breakthrough might not be imminent, as there are a number of complicating factors in the case.
It remains unclear if Smith wishes to return to Ireland. If she is repatriated, she will be the first Irish person brought home after joining ISIS.
Despite the reports, both the Defence Forces and the Department of Foreign Affairs last night refused to confirm any details regarding the operation, or whether it was taking place.
A statement from the Defence Forces said for reasons of operational security it does not comment on the “movements or disposition of personnel”.
A spokesperson for the Department of Foreign Affairs told the Irish Mirror that the office does not comment on individual cases.
Meanwhile, it was revealed yesterday that a family who travelled from Ireland to live under ISIS rule in Syria are believed to be back in the country.
The large family travelled from Ireland to Syria via Turkey following the same route as Smith. Sources familiar with the family claimed they left Ireland to live a “more Islamic life” and are believed to have been involved with notorious ISIS morality police “hisba”.
The family, who live in Dublin, are alleged to have connections with Smith but are now nervous about her potential arrival back to Ireland. Sources claim the father has expressed concern they will come under pressure from authorities here if she is repatriated.
The family, whose children are enrolled in Dublin schools, are believed to have lived inside ISIS territory and left shortly after Raqqa was taken by US-backed forces.
After travelling from the terror capital by paying smugglers, the family arrived in Turkey where, after being detained, they were deported back to Ireland.
Smith is believed to hold vital intelligence on identifying this family along with a woman of Asian origin who was also joined ISIS


js-py-ngram-full-text-search
is a project of JsNgram
that is a simple N-gram full text search library on JavaScript.
- Pure JavaScript with jQuery.
- OS independent.
- Works on many browsers including mobiles.
- No http servers required.
- No database softwares required.
- Portable.
- Python backend package as an index builder.
- Designed for unicode characters like Japanese Kanji.
This document is published at https://sukuba.github.io/js-py-ngram-full-text-search/.


All about Elijah
Mulinge
Kithome
KITHOME
Checklist for life!!
Nothing
at all
new said yet!
My
MUM
and
I


Like everything in this world, apps have a lifecycle. They are installed, launched, restarted, suspended when the system needs to free up resources and uninstalled. This lab will show you the basics of the Chrome app lifecycle and how its heart, the event page (aka background script), is used.
Manage App Lifecycle in Chrome app docs
The event page is one of the most important pieces of a Chrome app. It's responsible for what gets launched, when, and how. For example, if your app is an instant messenger, you might want your event page to only show a UI when there is a new notification.
For simpler apps, the event page listens to the app lifecycle events and reacts appropriately. There are two important lifecycle events, $ref:app.runtime.onLaunched and $ref:app.runtime.onRestarted.
$ref:app.runtime.onLaunched is the most important event. It fires when the user clicks on your app's icon with the intent of launching it. For most simpler apps, the event page will listen for this event and open a window when it fires. See our main.js for the most common usage.
The $ref:app.window.create method can associate an ID to the window being opened. Currently, the most interesting use for this is to restore a window's width, height and location and its associated Developer Tools window, if opened, when the app is launched.
Execute your app as it is now, move and resize the window, close and restart it. The app will reopen in the original location, right? Now add a property id
to the main.js, reload the app and test again:
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('index.html',
{id: 'mainwindow', bounds: {width: 500, height: 309} });
});
If your application requires, you can open more than one window.
The $ref:app.runtime.onRestarted event is not as essential as onLaunched
, but it might be relevant to certain types of apps.
This event is executed when the app is restarted, for example, when Chrome quits, restarts, and the app is launched again.
You can use this event to restore a transient state.
For example, if your app has a form with several fields, you won't always want to save the partial form while the user is typing. If the user quits the app on purpose, she might not be interested keeping the partial data. If the Chrome runtime restarted for some reason other than by a user's intention, the user will want that data when the app is restarted.
Let's change our code to save the Todo input field in $ref:storage as the user types, only restoring it if the onRestarted
event is triggered.
Note: We learned about chrome.storage.sync
before, but chrome.storage.local wasn't mentioned until now. Both have exactly the same syntax, but the semantics of chrome.storage.local
is, as the name says, completely local.
There's no attempt to synchronize or to save the data in the cloud.
chrome.app.runtime.onLaunched.addListener(function() { // normal launch initiated by the user, let's start clean. // note that this is not related to the persistent state, which is // appropriately handled in the window code. runApp(false); }); chrome.app.runtime.onRestarted.addListener(function() { // if restarted, try to get the transient saved state runApp(true); }); function runApp(readInitialState) { chrome.app.window.create('index.html', {id: 'mainwindow', bounds: {width: 500, height: 309} }, // the create callback gets a reference to the AppWindow obj function(win) { // when the callback is executed, the DOM is loaded but no script was // loaded yet. So, let's attach to the load event. win.contentWindow.addEventListener('load', function() { if (readInitialState) { win.contentWindow.setInitialState(); } else { win.contentWindow.clearInitialState(); } }); }); }
var newTodoInput = null; var clearInitialState = function() { chrome.storage.local.set({'newtodo': null}); } var setInitialState = function() { chrome.storage.local.get('newtodo', function(data) { if (newTodoInput && data && data.newtodo) { newTodoInput.value = data.newtodo; newTodoInput.focus(); } }); } window.addEventListener('load', function() { var saveTransientState = function() { chrome.storage.local.set({'newtodo': newTodoInput.value}); }; newTodoInput = document.querySelector('input[type="text"]'); newTodoInput.addEventListener('keypress' , function() { saveTransientState();
}) })
Save the changes by reloading the app: open the app, right-click and select Reload.
If Chrome and the app shuts down for any reason (other than a user-gesture), the onRestarted
event is fired.
Any text entered in the input field (but not yet saved as a Todo item) will reappear when Chrome and the app are reopened.
Note: If you get stuck and want to see the app in action, go to chrome://extensions
,
load the unpacked lab6 app, and launch the app from a new tab.
In lab7_useridentification, you will learn how to identify users and use OAuth2.0 to access Google and other third party services.
Note: The identify API covered in lab 7 is still experimental.


Before Change
"metadata": {},
}
path = os.path.join(args.artifacts_dir, "finished.json")
logging.info("Creating %s", path)
with open(path, "w") as hf:
json.dump(finished, hf)
def _get_pr_gcs_dir(bucket):
Return the GCS directory for this PR.
pull_number = os.getenv("PULL_NUMBER")
After Change
Args:
success: Bool indicating whether the workflow succeeded or not.
if success:
result = "SUCCESS"
else:
result = "FAILED"
finished = {
"timestamp": int(time.time()),
"result": result,
// Dictionary of extra key value pairs to display to the user.


Please leave comments, kudos, questions, corrections, etc. below:
FINAL FANTASY is a registered trademark of Square Enix Holdings Co., Ltd. FINAL FANTASY XIV © 2010 - 2023 SQUARE ENIX CO., LTD. All Rights Reserved.


I am Surya S Nath.
I live in Wellington.
I am a very passionate and an ambitious person.
My ambition is to become a software developer.
I enjoy being challenged and strive for the best.


Hello {{ user }}
Created
Identifier
Owner
Unprocessed Uploads
{% for service in services %}
{{ service.created }}
{{ service.identifier }}
{{ service.owner.nickname }}
{% endfor %}
Action:
{{ action }}
Headers:
{{ headers }}


hi
a have installing v8.2.6 on a Ubuntu 14.04 LTS, following "install on Linux (via git)
and evrything seems to work without problem but when a try to creat the first user
nothing happens, the only thing a can see is a pink but empty box
any tips.
//Niclas
Re: cant register user in 8.2.6
i have the same problem. emoncms 8.2.6 installed on debian stable (not on rapsberrypi).
registering is not working here too :(
Re: cant register user in 8.2.6
Hi
I had this problem.
I think the instructions here http://emoncms.org/site/docs/installlinux need updating.
sudo nano /etc/apache2/sites-available/000-default opens a blank file.
Searching the net I found:-
sudo nano /etc/apache2/apache2.conf
This seems to be the file where "AllowOverride None" needs to be changed.
I am no Linux expert but after changing this file I was able to register.
Regards
Ian
Re: cant register user in 8.2.6
Ian, Are there any other files in your /etc/apache2/sites-available directory, Could the 000-default file have been moved to another file/directory with a recent apache update?
Re: cant register user in 8.2.6
Hi Trystan
in /etc/apache2/sites-available there is 000-default.conf and default-sl.conf. but they do not contain "AllowOverride None" lines.
As I say I found /etc/apache2/apache2.conf which did contain "AllowOverride None" so I changed those and everything seems to work OK.
Regards
Ian


Other HTTP/FTP client Libraries for C/C++
Free Software and Open Source projects have a long tradition of forks and duplicate efforts. We enjoy "doing it ourselves", no matter if someone else has done something very similar already.
Alternative libraries that cover parts of libcurl's features, in A-Z order:
Beast (Boost)
- Beast is a C++ header-only library serving as a foundation for writing interoperable networking libraries by providing low-level HTTP/1, WebSocket, and networking protocol vocabulary types and algorithms using the consistent asynchronous model of Boost.Asio.
- C++ Requests: Curl for People, a spiritual port of Python Requests. (based on libcurl)
- A C++ library for "easy FTP client functionality. It features resuming of up- and downloads, FXP support, SSL/TLS encryption, and logging functionality."
- "a simple network library. It is written in C, object-oriented, and built upon GLib. It is intended to be easy to use and port". Features a HTTP component. It uses glib, and integrates very well within Gtk+ applications, which require event-driven programming.
- Has a URLStream class. This C++ class allow you to download a file using HTTP. See demo/urlfetch.cpp in commoncpp2-1.3.19.tar.gz
- "a small, robust, flexible library for downloading files via HTTP using the GET method."
- "a very small C library to make http queries (GET, HEAD, PUT, DELETE, etc.) easily portable and embeddable"
- Does HTTP and FTP transfers (both ways), supports file: URLs, and an API for URL parsing. The utility fetch that is built on libfetch is an integral part of the FreeBSD operating system.
- (Not widely used anymore) More complex and harder to use than libcurl is. Includes everything from multi-threading to HTML parsing. The most notable transfer-related feature that libcurl does not offer but libwww does, is caching.
- Part of glib (GNOME). Supports: HTTP 1.1, Persistent connections, Asynchronous DNS and transfers, Connection cache, Redirects, Basic, Digest, NTLM authentication, SSL with GnuTLS, Proxy support including SSL, POST data. Not portable. Lacks: cookie support, NTLM for proxies, GSS, gzip encoding, trailers in chunked responses, portability and more.
- An HTTP and WebDAV client library, with a C interface. I've mainly heard and seen people use this with WebDAV as their main interest. This is one of the two alternatives used by the Subversion project.
- a collection of open source C++ class libraries that simplify and accelerate the development of network-centric, portable applications in C++.
- qDecoder is a development kit for C/C++ network programming includes simple HTTP client API.
- The Qt Network module offers classes that allow you to write TCP/IP clients and servers, including "High Level" network operations for HTTP and FTP.
- "The serf library is a C-based HTTP client library built upon the Apache Portable Runtime (APR) library. It multiplexes connections, running the read/write communication asynchronously." This is one of the two alternatives used by the Subversion project.
- While not a library at all, I've been told that people sometimes extract the network code from it and base their own hacks from there.
- "The Windows Internet (WinINet) application programming interface (API) enables applications to interact with Gopher, FTP, and HTTP protocols to access Internet resources."
- (Windows) Provides client-side protocol support for communication with HTTP servers. A client computer can use the XMLHTTP object to send an arbitrary HTTP request, receive the response, and have the Microsoft® XML Document Object Model (DOM) parse that response.
Have you tried programming with one of the other libs and care share your experiences? We'd love to make this collection more complete and feature lengthier comments about each lib.


Topic modelling means detecting “abstract” topics from a collection of text documents. The most common text book technique to do that is using Latent Dirichlet Allocation. Simply put, LDA is a statistical algorithm which takes documents as input and produces a list of topics. One catch is that you have to tell it how many topics you want. There’s much more to it but since this is not a tutorial post, I will stop here. (If you are interested in how it works, read the references given on the wiki page.)
Here's a javascript version of LDA, based on my no-longer-functioning earlier work. For testing, I use a subset of the SMS Spam Corpus available here (and thus take no responsibility of the inappropriateness of the text within :) ). Each topic is represented as a word cloud; the larger a word, the more weight it has in the topic. The source sentences are displayed again with a bar which shows the percentage distribution of topics for that sentence. Hovering on each area in the bar would show you the words in the topic. You can of course replace it with anyother text, change the number of topics using the slider, and press the 'Analyse' button to see it work.


Since the image based plot marks only supports some colors (since there has to be a unique image for each color) the following sections shows for each major image plot mark what colors are available. The image shows the natural size of the plot mark, i.e. the scale factor is =1. Only the round balls ar available natively in three different sizes. Even though it is possible to scale up all the images arbitrarily it will cause the images to become pixelated.
To use one of the built in image plot mark two parameters has to be given to the
SetType()
method. The basic class of plot mark and the wanted color.
For example to use a green square as plot marks the following line would have to be
added
1 2 3 | $lineplot->mark->SetType(MARK_IMG_SQUARE,'green'); |
If a non-supported color is specified an error will be thrown.


Simple URL Shortener
Created new URL with length {{ new_url|length }}
{{ new_url }}
{{ old_url|length - new_url|length }} keystrokes saved from old URL of length {{ old_url|length }}
{{ old_url }}
Go back to the previous page
{% if previews_status == 'on' %}
Previews are currently on, click here to turn them off
{% elif previews_status == 'off' %}
Previews are currently off, click here to turn them on
{% endif %}


Authorities in Alberta seek tips after bald eagles shot and killed
One bird was found in the Fort McMurray area, and another in Wetaskiwin
by The Canadian PressAlberta Fish and Wildlife is investigating the shooting of two bald eagles in separate areas of the province.
The provincial agency says a juvenile eagle was killed in the Fort McMurray area sometime between Oct. 26 and Oct. 29, then left to waste.
The second raptor involved a mature eagle found dead Oct. 20 and possibly killed the same day in a pheasant release site in the Wetaskiwin region.
The agency says there is no indication the killings are connected and it’s looking for tips from the public to help find whoever was responsible.
The bald eagle is a protected species in Alberta and there is no hunting season for it.
READ MORE: Video shows fireworks shot at swan in Alberta
ALSO READ: Video of Alberta police officer running over wounded deer sparks outrage
The maximum penalty for killing one of the birds is a $100,000 fine or possibly two years in jail.
The Canadian Press


int32bit@github.com:~
File
Edit
Search
Terminal
Help
You can type 'help' for more information about how to use this terminal!
Contact me if you have any issue.
int32bit@github.com:~$


-
Output of uncertain values. More...
#include <boost/quan/cvt.hpp>
#include <boost/quan/unc.hpp>
#include <boost\math\special_functions\fpclassify.hpp>
#include <boost/math/special_functions/sign.hpp>
#include <cassert>
#include <ostream>
#include <sstream>
Go to the source code of this file.
Functions | |
| void | unc_output (double value, float stdDev, unsigned short int degFree, unsigned short int uncTypes, std::ostream &os=std::cout) |
| Output to stream given value as a decimal digit string, rounding properly using the uncertainty information in stdDev, and optionally including uncertainty as +/-, and degrees of freedom, with addition control from additional unc stream manipulators. |
Output of uncertain values.
Definitions of declarations in unc.hpp Outline:
1 Get ios info: width, fill & precision, save to restore.. 2 Get the requested info from uncflags. 3 Get the value, stddev, degfree & uncTypes.. 4 Check value & stdDev for Nan, inf, zero, neg. 5 Determine significant digits and stdDeviation significant digits. 6 Determine padding. 7 Determine any scaling, and scale, prefix or multiple. 8 Round.
Output. Output leading padding. output rounded value & exponent. output +/- value, if requested. output trailing padding, if required. Output degrees of freedom, if required.
Record width used etc.
Definition in file unc_print.cpp.
| void unc_output | ( | double | value, |
| float | stdDev, | ||
| unsigned short int | degFree, | ||
| unsigned short int | uncTypes, | ||
| std::ostream & | os = std::cout |
||
| ) |
Output to stream given value as a decimal digit string, rounding properly using the uncertainty information in stdDev, and optionally including uncertainty as +/-, and degrees of freedom, with addition control from additional unc stream manipulators.
Output stream, default cout.
| value | Mean or most likely value. |
| stdDev | Standard deviation. |
| degFree | Degrees of freedom -1. |
| uncTypes | 16 Uncertain type flags about the value. |
| os | Output std::ostream . |
| std::bad_alloc(); | thrown if 'os::iword' has not been initialised correctly, or has been corrupted. |
This means the setUNcDefaults(os) has not been called for the stream os!
Width required for uncertain value.
Width required for previous uncertain value.
width specified by setw(99).
width previously specified by setw(99)
Specified number of digits to use for value.
Specified number of digits to use for sd.
Scale factor, stored by << setScale(6)
< Extra 'noisy' guard digit to reduce risk of information loss.
< Uncertainty as +/- is required too (but ignore if value is exact or integer).
< out << setscale specified scale to specified power of 10.
< is to scale autofloatally to SI multple of 1000.
< Exponential format is, for example, 1E6 else 1e6.
< Taken to mean that exponential format wanted (always possible).
< Means decimal point is always shown, for example 900. even if not needed.
< Show + sign always because ios flag was set with << showpos
< os << fixed .. ios decimal fixed d.dddd format (rather than scientific).
< os << setw(9) has prescribed a width (rather than default width == 0).
< std = default but unc usage not defined yet, center?
< right justify, prepend leading pad before. << right << ...
< left justify, append trailing pad after. << left ...
< Not defined yet, but use to center in field?
< center if BOTH left and right specified.
< Align on decimal point?
< To add SI prefix like kilo
< To add SI symbol like k
value is exact (integer, rational, zero stdDev or noplus & nominus).
value is an integer, or stdDev = 0.f.
< StdDev or uncertainty is valid.
< value is NaN.
< Value is infinite (postive or negative).
< Value is negative.
< Value is zero.
< So near to zero that can't calculate relative stdDev.
< Magnitude > 1e38
< magnitude > 1e24
< Value to output has a non-zero fractional part.
< StdDev is NaN.
< StdDev is inf.
<
| value | Mean(central or most probable) value. |
| stdDev | Uncertainty estimate as Standard deviation. |
| degFree | Degrees of freedom. |
| uncTypes | 16 Uncertain type flags. |
Definition at line 67 of file unc_print.cpp.


5 Likes and Dislikes
Nov 2, 2017 00:33 · 122 words · 1 minute read
Top 5 Likes
- Analyze thousands of support tickets to spot trends to improve our product
- Respond to 60+ support requests via email or chat every day
- Find and recruit teammates for the support team
- Submit bug reports and potentially bug fixes to closed and open source projects that Netlify maintains on GitHub
- Respond to Netlify fans on Twitter
Top 5 Dislikes
- Receive occasional phone calls requesting support from our highest-value customers
- Deliver a talk to many people you don’t know at a conference or meetup
- Create video tutorials to help teach users a specific feature or use case
- Work with prospective customers to explain our service and the pricing model
- Set up your own copy of several static site framworks for debugging


GumGum is a digital advertising platform and the creator of In-Image and In-Screen display ads like the one you just encountered, which we delivered on behalf of the publisher of this website.
We use image-recognition technology and semantic page analysis to determine the meaning of a website's content, which makes the ads we serve more relevant. We also use cookies to collect non-personally identifiable information about user behavior across the websites in which GumGum is enabled.
To learn more about how we use cookies and to opt out of receiving GumGum ads based on this anonymous data, please visit our ad preferences page.
To view more examples of GumGum ads, or to learn about our solutions for publishers and advertisers, please visit our website.


vtables vs switches
Imagine this: you have a super class Letter
and the whole alphabet of classes – A
, …, Z
– that inherits from it.
All children implement a method of Letter
called spell
that returns a char
with the ascii of its respective letter.
So, for instance, class A::spell()
returns 'a'
.
Now you have an array with thousands of thousands of Letter
children and you want to call spell
for each of them – the classic
usage of polymorphism.
What runs faster? Use polymorphism as usual or cast each array element to the correct alphabet letter?
The cost of inheritance⌗
Objects of classes with no virtual methods have no overheads in memory. There is no additional data to store for them, they just
work exactly the same as structs in C
. Not even the functions of these classes occupy any per-object memory space.
Objects of polymorphic classes on the other hand do have overheads in memory space. Each object containing virtual functions will at least store an additional pointer. The object’s class in turn will also store additional data: a virtual function table, know as the vtable, and other information such as run-time type information (RTTI).
When we call a child class' virtual function, the code does not have the pointer to the correct function in hands, it needs to look at the vtable first and then call the correct function. There is a indirection there, you see.
So what?⌗
Nowadays compilers are very well capable of optimizing the vtable access and I hardly believe virtual methods will actually be a performance issue for you. Also, the alternatives generally come with some sort of overheads as well:
- You may need to store the type of you child class in the object.
- You may need to cast correctly the pointer depending on the type of the object.
… and many other consequences of many crazy solutions you may come up with. So, does it worth the trouble? Well let’s see.
The code bellow is the polymorphic solution to our alphabetic problem:
class Letter {
public:
virtual char spell() = 0;
};
class A : public Letter {
public:
char spell() override {return 'a';}
};
...
class Z : public Letter {
public:
char spell() override {return 'z';}
};
int main() {
std::vector<Letter*> letters;
int n = 10000000;
for(int i = 0; i < n; ++i)
switch(std::rand() % 26) {
case 0: letters.push_back(new A()); break;
...
}
auto start = std::chrono::high_resolution_clock::now();
for(int i = 0; i < n; ++i)
letters[i]->spell();
auto end = std::chrono::high_resolution_clock::now();
...
}
And here is one possible alternative that avoids vtables:
enum class LetterType {A, B, ... , Y, Z };
class Letter {
public:
void* ptr{nullptr};
LetterType type{LetterType::A};
};
class A {
public:
char spell() {return 'a';}
};
...
class Z {
public:
char spell() {return 'z';}
};
int main() {
std::srand(std::time(nullptr));
int n = 10000000;
std::vector<Letter> letters(n);
for(int i = 0; i < n; ++i)
switch(std::rand() % 26) {
case 0: letters[i].type = LetterType::A;
letters[i].ptr = new A();
break;
...
}
auto start = std::chrono::high_resolution_clock::now();
for(int i = 0; i < n; ++i)
switch(letters[i].type) {
case LetterType::A : ((A*)letters[i].ptr)->spell(); break;
...
}
auto end = std::chrono::high_resolution_clock::now();
...
}
As you can see, the alternative solution I used here was to simply remove inheritance and store
the type of each object and its pointer into the base class object. Now I have to check
with a switch
each array element and cast the pointer to the correct type before calling
the spell
function.
I ran a bunch of times each program above and I got the following times (start
- end
in each code) in average:
| Solution | time (ms) |
|---|---|
| Polymorphism | 147 |
| Switch | 55 |
Well there is a difference there, switches turned out to be almost 3x faster than virtual functions. However, that can’t be taken as a conclusion or truth, I did it for curiosity!
Each program is particular on its own and different compilers will optimize your code in different manners. In the end of the day this kind of design will be good or bad to you, since it depends on lots of things, that is hard to come up with a rule of thumb here.
Each solution has its pros and cons. You need to understand the distribution and size of you data, access patterns and much more in order to balance your design with the efficiency of you code. It is hard indeed, software is complex! Nevertheless, question your code from time to time is a good habit :)
Bonus⌗
The switch solution can quickly become very verbose and tedious to code, and the situation gets worse if you have multi-levels of these type of classes. A simple way to make things a little better is to use macros.
You can create a macro to cast the pointer to you and provide you a pointer of the correct type so you can use as you like. For example, in our alphabet case:
#define CAST_LETTER(LETTER, PTR, CODE) \
{ \
switch(LETTER.type) { \
case LetterType::A : { auto* PTR = (A*)LETTER.ptr; CODE break; } \
...
case LetterType::Z : { auto* PTR = (Z*)LETTER.ptr; CODE break; } \
}\
}
The for ends up like this:
for(int i = 0; i < n; ++i)
CAST_LETTER(letters[i], ptr, {
output += ptr->spell();
});


Fast and memory-friendly tools for text vectorization, topic modeling (LDA, LSA), word embeddings (GloVe), similarities. This package provides a source-agnostic streaming API, which allows researchers to perform analysis of collections of documents which are larger than available RAM. All core functions are parallelized to benefit from multicore machines.
| Version: | 0.5.1 |
| Depends: | R (≥ 3.2.0), methods |
| Imports: | Matrix (≥ 1.1), Rcpp (≥ 0.11), RcppParallel (≥ 4.3.14), digest (≥ 0.6.8), foreach (≥ 1.4.3), data.table (≥ 1.9.6), irlba (≥ 2.2.1), R6 (≥ 2.1.2), futile.logger (≥ 1.4.3), stringi (≥ 1.1.5), mlapi (≥ 0.1.0) |
| LinkingTo: | Rcpp, RcppParallel, digest, sparsepp (≥ 0.2.0) |
| Suggests: | doParallel, testthat, covr, knitr, rmarkdown, glmnet, parallel, tokenizers, magrittr |
| Published: | 2018-01-11 |
| Author: | Dmitriy Selivanov [aut, cre, cph], Qing Wang [aut, cph] (Author of the WaprLDA C++ code) |
| Maintainer: | Dmitriy Selivanov <selivanov.dmitriy at gmail.com> |
| BugReports: | https://github.com/dselivanov/text2vec/issues |
| License: | GPL-2 | GPL-3 | file LICENSE [expanded from: GPL (≥ 2) | file LICENSE] |
| URL: | http://text2vec.org |
| NeedsCompilation: | yes |
| SystemRequirements: | GNU make, C++11 |
| Materials: | README NEWS |
| In views: | NaturalLanguageProcessing |
| CRAN checks: | text2vec results |
| Reference manual: | text2vec.pdf |
| Vignettes: |
Advanced topics GloVe Word Embeddings Analyzing Texts with the text2vec Package |
| Package source: | text2vec_0.5.1.tar.gz |
| Windows binaries: | r-devel: text2vec_0.5.1.zip, r-release: text2vec_0.5.1.zip, r-oldrel: text2vec_0.5.1.zip |
| OS X binaries: | r-release: text2vec_0.5.1.tgz, r-oldrel: text2vec_0.5.1.tgz |
| Old sources: | text2vec archive |
| Reverse imports: | textfeatures, textmineR, textrecipes |
| Reverse suggests: | lime, quanteda |
Please use the canonical form https://CRAN.R-project.org/package=text2vec to link to this page.


Are you sure you want to log out?
Yes
No
Reset Your Password
Current Password
New Password
Confirm New Password
Reset Password


September 22- October 14, 2014
Viewing by appointment
Reception September 26, 2014
7PM-10PM
Chashama 1351
1351 Amsterdam Avenue, New York, NY
Familiar Places is a solo exhibition featuring the work of emerging artist Kim Marra. This two part event will feature both a window installation and an exhibition in the interior. Viewers will approach the space and encounter large scale translucent prints, serving as a lens to the paintings on display behind them. The inside of the space will feature paintings of the same collection.
Through her paintings, Marra constructs environments. She builds abstract spaces with skewed perspectives that feel like they could exist in reality using elements of architecture. Her environments speak to both dreamlike worlds and industrial landscapes. These colorful paintings explore the themes of home, comfort, and instability in a unique and inviting way. Many of these paintings are created with acrylic paint on mounted wallpaper. This particular medium further explores the concept of home and the rejection of traditional domesticity.
About chashama:
chashama, which means “to have vision” in Farsi, nurtures artists by providing them with affordable work and presentation space. Working in close partnership with the real estate industry, chashama transforms unused properties into creative spaces for artists, allowing works and ideas to flourish. Currently, chashama manages 125 artist studios, six galleries, five curated office lobbies, two performance venues, and provides affordable artist housing. In the past year, chashama distributed over 250,000 sq. ft. of donated space, supporting all artists and their visions. A connector of art and real estate since 1995, chashama has placed more than 12,000 artists into 60 revitalized spaces, and presented over 2,500 free events reaching an audience of over 2 million across New York City. To learn more, visit www.chashama.org.


notes
- what is the distinction between creative and aesthetic writing of source code?
- decide between writing and reading? usage and possibilities?
- what definition of code do i want to choose?
the aesthetics of clarity in executable source code
are the aesthetics of clarity language-dependent?
“experientialism” / experiential realism
questions of clarity vs. simplicity (how often do they correspond? oppose?) - is one within time, or within space, or within people?
semantics? -> programming languages have semantics (either denotational or operational, stratchey) -> operational is whatever the machine says, and we can realize/describe/use a sympbol without understanding it
understanding the symbol vs. understanding what the symbol refers to
there is always a bit of giving up the understanding (linux kernel, APIs, etc.). does it remove the essence or in contrary highlight it?
the role of case studies: develop an outline from looking at code, then confront that outline (which will probably be multifaceted) with case studies (2-3)
what do programmers have been implicitly saying in their discourses about code?
what is the difference between poetics and aesthetics? poetics put together an effect (formal, subjective) vs. aesthetics are more universal, inherent, contemplative?
draft a couple of paragraphs on machine understanding ++ the difference between poetics and aesthetics
STRATEGY VS. TACTICS
but tactics could actually be the tip of the manifestation of a yet unknown (the personal?) strategy.
ENGINEERING VS. CRAFT
could these be viewed as two kinds of writing?
questions
- what are the literary standards to which code can be held to?
typology
- how can source code lit be categorized according to different periods?
-
-
- linguistically (i.e. different programming languages)
-
- socio-economically (enterprise, hack, poet)?
object (object of code’s discourse)
- what is code trying to make visible (following deleuze on bacon)? forces? hysteria? time? space? can it, even? how (semiotically and aesthetically)? -> making the thought process visible
- how does the creative/aesthetic use of code start to involve the rest of the world rather than simply the self-reference?
materiality
“efficient code” depends on knowing the material that you are working with: in the 1970s, it was the compiler (kernighan, elements of programming style). in the 2000s, it might be just the language spec.
thoughts
- double-meaning (paloque) is the fact that one can play between machine-language and human-language
-
- possible triple-meaning with an interplay in conceptual structures (OOP)
-
- creativity might then be that we’re applying software metaphors to classes of concordance
- referring to software itself
- referring to the environment in which software exists
-
-
-
- need to identify the place of uselessness in productivity
-
- but also the fact that the domain of application of software can always expand can always expand (from a computational perspective)
-
- there is also the idea that, even when the code might not work properly, or might barely work (in a functional perspective), it might still work in a literary perspective, the same way that flaubert works, or that beckett works, i.e. does what is intended of it to do (how do we know that? we need critical tools to assess the “aestheticity”). but that’s really just a subsection of the whole thesis
-
expressing vs. explaining (Kurosawa)
-
programming languages as actors in actor network theory?
- programming languages define sets of aesthetic relationships, and as such are resources for intellectual/thoughtful work/formulation
-
- this is kinda what los pequenos glazier was saying when he was asking “how does materiality influence the text itself?”
-
- on a less formal level, the sociohistorical approach to literature implies that literature judges a society, and a society can explain its literature.
-
-
- e lit can therefore help us formulate our being in this society (bouchardon)
-
-
- this could be extended to programming languages-as-literature.
- there is the reader, and there is the act of reading. does it need to be out loud? how are things pronounced?
- who is the subject, in a code-text?
- what are the tensions between lit and code?
-
- lit can create any word (joyce), code cannot (really? cf. growing a language) –but that is changing with OOP?
-
the opposite of an aesthetic of the frustration (in which the reader can not know everything) is an aesthetic of the XXX (sublime? demiurgic?), in which the reader is presented with everything, computationally, but still always reduced to the words used and read
- *In linguistics, prosody is concerned with those elements of speech that are not individual phonetic segments (vowels and consonants) but are properties of syllables and larger units of speech, including linguistic functions such as intonation, tone, stress, and rhythm. Such elements are known as suprasegmentals.
Prosody may reflect various features of the speaker or the utterance: the emotional state of the speaker; the form of the utterance (statement, question, or command); the presence of irony or sarcasm; emphasis, contrast, and focus. It may otherwise reflect other elements of language that may not be encoded by grammar or by choice of vocabulary.* (wiki)
- marino: “Much of this preliminary work on code has tried to determine what constitutes this unique semiotic system, work that prepares the discussion of code analysis, but CCS needs techniques for developing particular coding structures.”
problematiques importantes: dispositifs et mediations
concepts / frames
- the dynamic (living in space/time, calculated in real-time, reacting to external input)
- a rhetoric of structs
- non-linearity of reading/execution (back and forth between source and compiled result)
structure
acknowledgment of socio-cultural context within which code poetry emerges, then formal examination of language through which these are written, and circling back towards what these formal uses have to contribute about the purpose/meaning of writing source code poetry (communities, hackers, exploitative economic systems, etc.), and allow for a new perspective on contemporary literature.
- recap of existing work on why code is an object of study
- extending that range of study (what has been explored so far are themes, distribution, communities (at least CPB, Bouchardon)):
-
- (1) stylistically, at the micro-level (style), (developing theoretical tools, frames of analysis, close readings, new reading postures -e.g. readers as compilers and interpreters)
-
- (2) empirically, at the macro-level (genre), (other domains, such as style guides, comments, new corpuses that have been released since the previous studies (source code poetry, etc.))
-
- (3) linguistically (analysis and design of programming languages) (parts 1 and 2 will have to solidly argue as to why one should care about languages/materiality -classes and structs are the new materiality??)
- and then some of the poems/languages i write also
art is a breach in the system
pat
Is there something that makes something inherently beautiful? As relations to humans/human condition of that time -studying tools.
speed run vs. 100% of the game vs. elegant gaming
which aesthetic standards are set by the machine vs. which aesthetic standards are set by human social context?
does each type of software have different aesthetic standards?
what is the aesthetic of a semantic system that is supposed to be understood by both humans and machines?
beautiful proofs in geometry?
how beautiful code defines its own beauty?
corpuses
-
the poem
-
the novel
- the comment asks the question of the voice of the programmer
-
- the style guide
-
- aesthetic of cooperation? what does that even mean?
-
- the style guide transforms a readerly text into a writerly text (barthes, le plaisir du texte)
tzvetan todorov: “les effets de style ne pourraient exister que s’ils ne s’opposaient a une norme, a un usage etabli”
the programming languages
- esolangs have a “wimpmode”


Quality products as non other in the market. We adjust to your needs and build a product that is designed to bring value to your company
Choose the products that suits you the best. If this product does not exist, we will customize it for you.
We have a series of standard products where you can choose among the available products.
We are also able to customize products for you based on tour requirements.


Chapter 3 - Mindfulness Without Butt on Cushion
Just to clarify...
I accidentally read through chapter 2 and 3 at the same time in the last blog. I have reflected well on both chapters, but these questions
are better directed towards the content of chapter 3, so we will stick with that. Just to be clear, I have read both chapters. :)
-
What did you learn from your 'mindfulness conversation'? How did the other person find it?
I think that mindfulness conversation as a technique makes sense to me, and all of the practices the author encourages have really
great outcomes. I don't have anyone in my life who was willing to do the mindful
conversation technique with me, so I did it with myself. I sounded like a crazy person for about 10 minutes, going back and forth
between myself and my own thoughts, but in a way it was cathartic. In the end I ended up confirming most of my own thoughts.
I guess if it was to occur between myself and another person, it would be very different outcome-wise.
-
Which of the three suggested techniques will you use to sustain your practice?
Walking meditation, guided meditation and breathing meditation. I have tried all three with similar outcomes.
-
Any other musings?
I'm getting a cat, and I'm stoked about it. Been waiting for this particular cat breed to come to Wellington. Devon Rex's are
very attention-seeking and also very playful. It won't actually be born until I graduate. I am already thinking about how I
can use the cat as a mindful centre for meditation, or if a young and playful cat would actually be a good centre to meditate on.


Getting started
The best way to get started with LvS is to work through the example activities; these will show you the
different types of activity you can create, and at the same time teach you some of
the basic concepts. Then you can go on to making your first activity.


GPP Forecast Project home page
Members
Alexey Shiklomanov
Betsy Cowdery
Mustafa Saifuddin
Amanda Gallinat
I-Fang Hsieh


I started taking 100 mg of Tramadol, 2 pills of 50 mg each at 23:30 (11:30).
I was sitting in my room in front of my computer and nothing happened for about half an hour (00:00). I took 2 more pills, that makes the total dosage to 200 mg. I started to sweat, but that passed a few minutes later. All over I felt calm and my pulse/breathing was very slow. I felt nothing other for about an hour when suddenly att 01:00 it started to itch all over my body, that went on about ten minutes.
Around 02:00 some pain started to come back, I felt pain in my shoulders from sitting down to long so I moved around a bit. The clock went on to 03:20 when I started feeling nausea so I laid down on my bed. Thatís when things started to happen. I got some weird sound hallucinations, it could have been sleep oriented but I felt awake and warm.
The nausea passed after 10-15 minutes so I got up and felt disoriented, kinda, whatís the word, 'new awake'(?). I turned on the tv and watched some cartoons and later decided to masturbate to test aphrodisiac effects. I had a hard time there, I couldnít get an orgasm for a long time, and Iím not one of those guys that can work all night if you know what I mean. So my guess is that some functions got sedated, perhaps it could work as a sex prolonger.
I did 2 hours before, 21:00-21:30, drink 1/4 gallon of beer (1 liter) and ate some candy. So I got a lot of carbohydrates in my stomach, but no real food.
Over all it was a nice experience, not so intense that I hoped for, perhaps 100 mg more would have done the trick.
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.


Salmon Cookies Shops sales :
Shop Name :
Minimum Customer Number :
Maximum Customer Number :
Average Numder Of Cookies :
The Address page


--- layout: post title: "HR-Projekty-Rozwoju" date: 2015-04-21 11:12:01 categories: Website ---
HR Development Projects is a consulting and training company, whose aim is the realization of professional projects and training of the highest quality.
HR Development Projects is a founder member of the Chamber of Coaching in Poland, has demonstrated competence in the field of quality management processes provided consulting and training services and ongoing projects, ISO 9001: 2000, recognized abroad. Moreover, it is entered in the register of Training Institutions Provincial Labour Office, is accredited by the Ministry of Education, in terms of educational courses.
Created while working for Pixlab.pl
Technologies used:


OSSL_ENCODER_CTX_new_for_pkey, OSSL_ENCODER_CTX_set_cipher, OSSL_ENCODER_CTX_set_passphrase, OSSL_ENCODER_CTX_set_pem_password_cb, OSSL_ENCODER_CTX_set_passphrase_cb, OSSL_ENCODER_CTX_set_passphrase_ui - Encoder routines to encode EVP_PKEYs
#include <openssl/encoder.h>
OSSL_ENCODER_CTX *
OSSL_ENCODER_CTX_new_for_pkey(const EVP_PKEY *pkey, int selection,
const char *output_type,
const char *output_structure,
const char *propquery);
int OSSL_ENCODER_CTX_set_cipher(OSSL_ENCODER_CTX *ctx,
const char *cipher_name,
const char *propquery);
int OSSL_ENCODER_CTX_set_passphrase(OSSL_ENCODER_CTX *ctx,
const unsigned char *kstr,
size_t klen);
int OSSL_ENCODER_CTX_set_pem_password_cb(OSSL_ENCODER_CTX *ctx,
pem_password_cb *cb, void *cbarg);
int OSSL_ENCODER_CTX_set_passphrase_ui(OSSL_ENCODER_CTX *ctx,
const UI_METHOD *ui_method,
void *ui_data);
int OSSL_ENCODER_CTX_set_passphrase_cb(OSSL_ENCODER_CTX *ctx,
OSSL_PASSPHRASE_CALLBACK *cb,
void *cbarg);
OSSL_ENCODER_CTX_new_for_pkey() is a utility function that creates a OSSL_ENCODER_CTX, finds all applicable encoder implementations and sets them up, so almost all the caller has to do next is call functions like OSSL_ENCODER_to_bio(3). output_type determines the final output encoding, and selection can be used to select what parts of the pkey should be included in the output. output_type is further discussed in "Output types" below, and selection is further described in "Selections".
Internally, OSSL_ENCODER_CTX_new_for_pkey() uses the names from the EVP_KEYMGMT(3) implementation associated with pkey to build a list of applicable encoder implementations that are used to process the pkey into the encoding named by output_type, with the outermost structure named by output_structure if that's relevant. All these implementations are implicitly fetched, with propquery for finer selection.
If no suitable encoder implementation is found, OSSL_ENCODER_CTX_new_for_pkey() still creates a OSSL_ENCODER_CTX, but with no associated encoder (OSSL_ENCODER_CTX_get_num_encoders(3) returns zero). This helps the caller to distinguish between an error when creating the OSSL_ENCODER_CTX and missing encoder implementation, and allows it to act accordingly.
OSSL_ENCODER_CTX_set_cipher() tells the implementation what cipher should be used to encrypt encoded keys. The cipher is given by name cipher_name. The interpretation of that cipher_name is implementation dependent. The implementation may implement the cipher directly itself or by other implementations, or it may choose to fetch it. If the implementation supports fetching the cipher, then it may use propquery as properties to be queried for when fetching. cipher_name may also be NULL, which will result in unencrypted encoding.
OSSL_ENCODER_CTX_set_passphrase() gives the implementation a pass phrase to use when encrypting the encoded private key. Alternatively, a pass phrase callback may be specified with the following functions.
OSSL_ENCODER_CTX_set_pem_password_cb(), OSSL_ENCODER_CTX_set_passphrase_ui() and OSSL_ENCODER_CTX_set_passphrase_cb() sets up a callback method that the implementation can use to prompt for a pass phrase, giving the caller the choice of preferred pass phrase callback form. These are called indirectly, through an internal OSSL_PASSPHRASE_CALLBACK(3) function.
The possible EVP_PKEY output types depends on the available implementations.
OpenSSL has built in implementations for the following output types:
TEXT
The output is a human readable description of the key. EVP_PKEY_print_private(3), EVP_PKEY_print_public(3) and EVP_PKEY_print_params(3) use this for their output.
DER
The output is the DER encoding of the selection of the pkey.
PEM
The output is the selection of the pkey in PEM format.
selection can be any one of the values described in "Selections" in EVP_PKEY_fromdata(3).
These are only 'hints' since the encoder implementations are free to determine what makes sense to include in the output, and this may depend on the desired output. For example, an EC key in a PKCS#8 structure doesn't usually include the public key.
OSSL_ENCODER_CTX_new_for_pkey() returns a pointer to an OSSL_ENCODER_CTX, or NULL if it couldn't be created.
OSSL_ENCODER_CTX_set_cipher(), OSSL_ENCODER_CTX_set_passphrase(), OSSL_ENCODER_CTX_set_pem_password_cb(), OSSL_ENCODER_CTX_set_passphrase_ui() and OSSL_ENCODER_CTX_set_passphrase_cb() all return 1 on success, or 0 on failure.
provider(7), OSSL_ENCODER(3), OSSL_ENCODER_CTX(3)
The functions described here were added in OpenSSL 3.0.
Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.


Resource Controller
The raw implementation its just the internal abstraction layer of your model to manage the CRUD of your sequelize model.
Import the ResourceController
const { resourceController } = require('sequelize-resource-controller');
Creating an instance
const myResource = new resourceController(sequelizeInstance, sequelizeModel);
Inserting a model
To insert a model you just have to use the create method, it will receive as parameter an object with the model data. It will return a response object with two properties:
- error: Any exception caught in model creation(including validations)
- response: The created model instance(Sequelize.Model instance)
const {error,response} = await myResource.create({
name: 'Document your module'
});
//response will be a Sequelize.Model Instance
console.log(response);
console.log(response.get({ plain:true }));
Finding Models
To find the models you have to use findAll method, this method internally uses findAll sequelize's method and takes optional parameters:
- limit: Pagination limit(default to 10)
- offset: THe offset of the paging(default is 0)
- sortOrder:The sort order used in the query(default unused)
- sortField: The sort attributes used in the query(default unused)
This method will return a response object with two properties:
- error: Any exception caught in model querying
- response: a complex object with pagination hinting and the rows found in the query(as plain instances)
const {error,response} = await myResource.findAll({ limit: 5, offset: 0});
console.table(response.rows);
Finding by Id
const todo_id = '';
const findOneResponse = await myResource.findOne({todo_id});
console.table(findOneResponse.response);
Update a model
const todo_id = '';
const findOneResponse = await myResource.findOne({todo_id});
const modelToBeUpdated = findOneResponse.response;
const {error,response} = await myResource.update(modelToBeUpdated, {
name: 'This todo was updated dude',
is_done: true
});
console.table(response);
Destroy a model
const todo_id = '';
const findOneResponse = await myResource.findOne({todo_id});
const victimModel = findOneResponse.response;
const {error,response} = await myResource.destroy(victimModel);
console.table(response);


A rare find. Beautiful private and secluded (approved) building lot for a new single family home. This property is accessed from a communal driveway and sits approx. 800 ft from the actual road-one of the most beautiful and private lots surrounded by majestic trees. Only minutes from Milton public school, Milton Academy, and the intersection of RT 128/93 and Interstate 95.
This property has become available due to a recent subdivision. The property has an existing Carriage House built in 1939 per town records which is zoned as a “care takers property” for a new home. The carriage house of 952 sq ft. has an attractive hard wood floor 2-bedroom, 1 bath apartment on the second floor which includes a handicap elevator. From a deck you can see the Blue Hills. On the ground floor there is 2 room/1 bath, heated office space, with carpeted floors, as well as the main barn with cement floor with parking for 3 cars, a work bench, storage space and the ramp for the elevator. Additional storage for bikes, yard equipment, boats, etc. is accessed under the home from the back of the building.
Please note that this carriage house, as previously mentioned, is zoned as a “caretakers residence” for the new home to be built on this lot. The existing structure would be non-conforming as a single family residence, and a variance would be needed for use in this fashion. The property is NOT being sold with this intention. The existing structure can remain as a care takers residence and garage, or it can be torn down.


The future of Computing rests here. The department's mission is to advance, evolve and enhance Computer Science and Engineering fundamentals to build the intellectual capital of the society. The CSE Department Endeavour’s to be an important regional, national, and international resource center for the development of Computing and its applications. The department is witnessing a period of exciting growth and opportunity propelled by the growth of technology and its recognition through excellence. CSE boasts a vibrant student body of about 4200 undergraduate and 50 postgraduate students and a stellar faculty of professors and lecturers.
To become a world class department in imparting high quality knowledge and in providing students a unique learning and research experience in Computer Science and Engineering.
The future of Computing rests here. The department's mission is to advance, evolve and enhance Computer Science and Engineering fundamentals to build the intellectual capital of the society. The CSE Department Endeavour’s to be an important regional, national, and international resource center for the development of Computing and its applications. The department is witnessing a period of exciting growth and opportunity propelled by the growth of technology and its recognition through excellence. CSE boasts a vibrant student body of about 4200 undergraduate and 50 postgraduate students and a stellar faculty of professors and lecturers.
The vision of ECE department is to become pioneer in higher learning and research and to produce creative solution to societal needs. To provide excellence in education, research and public service. To provide quality education and to make the students entrepreneur and employable.
The future of Computing rests here. The department's mission is to advance, evolve and enhance Computer Science and Engineering fundamentals to build the intellectual capital of the society. The CSE Department Endeavour’s to be an important regional, national, and international resource center for the development of Computing and its applications. The department is witnessing a period of exciting growth and opportunity propelled by the growth of technology and its recognition through excellence. CSE boasts a vibrant student body of about 4200 undergraduate and 50 postgraduate students and a stellar faculty of professors and lecturers.
The vision of the Department of Mechanical Engineering is to be regionally, nationally and internationally recognized in providing mechanical engineering education, leading to well qualified engineers who are innovative, immediate contributors to their profession and successful in advanced studies.
Copyright © 2020, SRM INSTITUTE OF SCIENCE AND TECHNOLOGY


Choose a machine learning algorithm:
upload file:
Classification
Regression
Autofill
Upload training data as a csv file
Which columns contain data that you like the model to use to make predictions?
Which columns contain data that you would like the model to predict?
How many distinct categories can the predictions have?
Which rows in your dataset would you like to remove? (e.g. headers, invalid data)
Advanced options
What fraction of the data do you want to use for training? (Test fraction = 1 - Train fraction)
What fraction of the training data do you want to use for validation?
Customize model
Upload model
Choose model file (.json)
Choose model weights file (.weights.bin)
Layer
Number of nodes
Activation
Add Layer
Delete Layer
Train
Stop
Visualize
Download model
Advanced options
Number of epochs
Loss
Batch size
Optimizer
Learning rate
Upload data to predict as a csv file
Which columns (in the same order as training data) contain data that you like the model to use to make predictions?
Which rows in your dataset would you like to remove? (e.g. headers, invalid data)
Predict
Back
Next


dojox.layout.ToggleSplitter tests
Click the splitters to toggle them open/collapsed(optional)/closed. If toggleSplitterCollapsedSize is set on the content pane, the pane has the optional collapsed state. Or it only has two states.
Resizable top bar with three states (open/collapsed/closed). The toggleSplitterCollapsedSize is "20px" here.
Main panel with
a link.
(to check we're copying children around properly).
Initialized closed
Resizable bottom bar which background color is changed when the toggle button is clicked.


forge.blade.core.api module¶
-
class
forge.blade.core.api.
Realm
(config, idx=0)¶ Bases:
object
This module is a stub reference to the core Neural MMO environment (Realm) that documents the external API. NMMO conforms to the OpenAI Gym API function signatures, but argument/return contents are different in order to support additional environment features (e.g. persistence, multi/variable agent populations, hierarchical observation/action spaces, etc.). Internal docs available at
forge.blade.core.realm
-
step
(decisions)¶ Simulates one game tick of the Neural MMO server
- Parameters
decisions –
A dictionary of entity (agent) action choices of format:
{ ent_1: { action_1: [arg_1, arg_2], action_2: [...], ... }, ent_2: { ... }, ... }
Structuring actions in this form is handled for you by
forge.blade.core.io.io
’- Returns
- observations:
A list of observations for each agent of format:
[ (env_1, ent_1), (env_2, ent_2), ... ]
Where env_i is a local grid crop of tiles centered on the i’th agent and ent_i is the i’th agent. These are raw game object for usage with the forge.io api.
- reward:
A list of rewards for each agent. Rewards are either floating point values or None. A value of None indicates either that the agent spawned this game tick (timestep), hence no action has been taken to generate a reward, or that the agent has died. The value of done will specify the latter case. By default, 0 will be returned for all non-None values.
- dones:
A set of entIDs corresponding to agents that have died during the past game tick. It is up to the user to interpret these as episode bounds during rollout collection, as well as to append an episode termination reward (e.g. -1) if desired.
- info:
Provided only for conformity with OpenAI Gym.
- Return type
(list, list, set, None)
Notes
It is possible to specify invalid action combinations, such as two movements or two attacks. In this case, one will be selected arbitrarily from each incompatible set. This also means that it is possible to specify empty action sets, in which case the agent will still consume resources but otherwise take no action.
-
reset
()¶ Call exactly once upon environment initialization to obtain the first set of observations. Neural MMO is persistent: it does not provide a reset method after initialization. Episode bounds are instead specified by agent lifetimes. If you must experiment with short-lived environment instances, simply instantiate a new Realm. This method internally does nothing more than call self.step({}).
- Returns
(observations, rewards, dones, info) as documented by step()
-
reward
(entID)¶ Specifies the environment protocol for rewarding agents. You can override this method to specify custom reward behavior with full access to the environment state via self.
- Returns
- reward:
The reward for the actions on the previous timestep of the entity identified by entID.
- Return type
float or None
Notes
Reward value will be None upon agent spawn (first game tick alive) and upon death. You will need to interpret the “done” signal during rollout collection (e.g. as -1).
-
spawn
()¶ Specifies the protocol for adding agents to the environment. You can override this method to specify custom spawning behavior with full access to the environment state via self.
- Returns
- entID:
An integer used to uniquely identify the entity
- popID:
An integer used to identity membership within a population
- prefix:
The agent will be named prefix + entID
- Return type
(int, int, str)
Notes
This API hook is mainly intended for population-based research. In particular, it allows you to define behavior that selectively spawns agents into particular populations based on the current game state – for example, current population sizes or performance.
-


GP Connect in Spine Opentest
As well as the internet accessible development environment available at https://orange.testlab.nhs.uk
, GP Connect is available in the Spine OpenTest environment.
In order to get started and create an OpenTest account, please read the following pages:
Opentest endpoints
Please note the following endpoints are available only once connected to the OpenTest VPN; please see the links above for creating an account.
| Service | Endpoint | Notes |
| GP Connect 0.7 (DSTU2) service root URLs |
| Access Record HTML: | https://messagingportal.opentest.hscic.gov.uk:19192/v0/fhir |
|
More information |
| GP Connect 1.2 (STU3) service root URLs |
| Appointment Management: | https://messagingportal.opentest.hscic.gov.uk:19192/v1/fhir |
| Access Record Structured (v1.2): | https://messagingportal.opentest.hscic.gov.uk:19192/v1/fhir |
|
More information |
| GP Connect 1.5 (STU3) service root URLs |
| Access Record Structured (v1.5): | https://messagingportal.opentest.hscic.gov.uk:19192/B82617/STU3/1/structured/fhir |
| Access Document: | https://messagingportal.opentest.hscic.gov.uk:19192/B82617/STU3/1/documents/fhir |
|
More information |
| Spine Directory Service (SDS) |
ldap://msg.opentest.hscic.gov.uk |
More information The base DN is o=nhs Note: in Live this service runs using ldaps:// |
| Personal Demographic Service (PDS) |
| PDS query: | https://msg.opentest.hscic.gov.uk/syncservice-pds/pds |
| PDS: | https://msg.opentest.hscic.gov.uk/reliablemessaging/reliablerequest |
|
More information |
| Personal Demographic Service (PDS) SMSP |
https://msg.opentest.hscic.gov.uk/smsp/pds |
More information |
| Spine Secure Proxy (SSP) |
https://proxy.opentest.hscic.gov.uk |
More information |
DNS in Opentest
Some users have experienced issues with DNS resolution over the Opentest VPN. If that is the case you may need to set the following DNS names manually using a .hosts file or equivalent:
| DNS name |
IP address |
msg.opentest.hscic.gov.uk |
<IP_ADDRESS> |
messagingportal.opentest.hscic.gov.uk |
<IP_ADDRESS> |
proxy.opentest.hscic.gov.uk |
<IP_ADDRESS> |
| The above names may be resolved against the DNS Opentest server at: |
<IP_ADDRESS> |
Test data
The following data is configured in SDS, PDS and the GP Connect reference implementations. Please do not amend the data in PDS as it will impact other users.
GP Connect API v0.7 and v1.2 demonstrators
This test data is used when building Access Record HTML, Appointment Management and Access Record Structured (v1.2).
Organizations
| ODS code | Provider ASID | Organization name | Notes |
| A20047 |<PHONE_NUMBER>93 | Dr Legg's Surgery | The ODS code and ASID of the GP practice represented by the GP Connect demonstrator v1.2 |
Patients
| Id | NHS number | Date of birth | Title | Given name | Family name | Gender | Notes |
| 1 |<PHONE_NUMBER> | 14-Nov-1933 | Mr | Garth | Wright | Male | |
| 2 |<PHONE_NUMBER> | 19-Jun-1927 | Mr | Mike | Meakin | Male | |
| 3 |<PHONE_NUMBER> | 08-Aug-1921 | Mr | Kevin | Leach | Male | |
| 4 |<PHONE_NUMBER> | 21-Jul-1939 | Mr | Arnold | Olley | Male | |
| 5 |<PHONE_NUMBER> | 19-Sep-1918 | Mrs | Mina | Leech | Female | |
| 6 |<PHONE_NUMBER> | 28-Dec-1944 | Ms | Lauren | Corr | Female | |
| 7 |<PHONE_NUMBER> | 09-Jun-1939 | Miss | Cassie | Bray | Female | |
| 8 |<PHONE_NUMBER> | 05-Oct-1925 | Ms | Kim | Grigg | Female | |
| 9 |<PHONE_NUMBER> | 03-Oct-1999 | Ms | Emilie | Kewn | Female | Patient dissented |
| 10 |<PHONE_NUMBER> | 13-Feb-1964 | Mrs | Amanda | Currie | Female | Patient dissented |
| 11 |<PHONE_NUMBER> | 27-Nov-1969 | Mrs | Dilys | Tabron | Female | |
| 12 |<PHONE_NUMBER> | 05-Feb-1968 | Mrs | Emilia | Cragg | Female | |
| 13 |<PHONE_NUMBER> | 13-May-1987 | Ms | Anne | Rumble | Female | |
| 14 |<PHONE_NUMBER> | 15-May-1927 | Ms | Georgina | Hopley | Female | Patient not on PDS |
| 15 |<PHONE_NUMBER> | | | | | | Patient dissented |
| 16 |<PHONE_NUMBER> | 21-July-1989 | Mrs | Zelma | Dimeck | Female | |
| 17 |<PHONE_NUMBER> | 04-July-1995 | Mrs | Dee | Reay | Female | |
GP Connect API v1.5 demonstrator
This test data is used when building Access Record Structured (v1.5) and Access Document.
Organizations
| ODS code | Provider ASID | Organization name | Notes |
| B82617 |<PHONE_NUMBER>38 | Coxwold Surgery | The ODS code and ASID of the GP practice represented by the GP Connect demonstrator v1.5 |
Patients
| Id | NHS number | Date of birth | Title | Given name | Family name | Gender | Notes |
| 1 |<PHONE_NUMBER> | 11-Dec-1938 | Mr | Lucien | Samual | Male | |
| 2 |<PHONE_NUMBER> | 21-Apr-1925 | Mr | Horace | Skelly | Male | |
| 3 |<PHONE_NUMBER> | 17-Mar-1936 | Mr | Samuel | Heslby | Male | |
| 4 |<PHONE_NUMBER> | 04-Jul-1925 | Mr | West | Crank | Male | |
| 5 |<PHONE_NUMBER> | 10-Mar-1928 | Mrs | Rosa | Lobb | Female | |
| 6 |<PHONE_NUMBER> | 14-Jun-1953 | Ms | Angela | Doulby | Female | |
| 7 |<PHONE_NUMBER> | 30-Jun-1953 | Mrs | Mina | Bailey | Female | |
| 8 |<PHONE_NUMBER> | 20-Oct-1929 | Mrs | Winnie | Pring | Female | |
| 9 |<PHONE_NUMBER> | 09-Sep-2000 | Mrs | Anita | Clay | Female | Patient has S flag |
| 10 |<PHONE_NUMBER> | 28-Mar-1960 | Ms | Tania | Reeves | Female | Patient has S flag |
| 11 |<PHONE_NUMBER> | 28-Nov-1978 | Mrs | Alexi | Horn | Female | |
| 12 |<PHONE_NUMBER> | 17-Dec-1965 | Miss | Elsa | Leary | Female | |
| 13 |<PHONE_NUMBER> | 16-Mar-2001 | Ms | Cecile | Beston | Female | |
| 15 |<PHONE_NUMBER> | 16-Sep-1972 | Mrs | Dora | McCain | Female | Patient has S flag |
| 16 |<PHONE_NUMBER> | 24-Nov-1983 | Mrs | Sibyl | Craine | Female | |
| 17 |<PHONE_NUMBER> | 09-Jun-1984 | Mrs | Doris | Bourke | Female | |
| 18 |<PHONE_NUMBER> | 03-Feb-1968 | Mr | James | Rooney | Male | Patient deceased |
| 20 |<PHONE_NUMBER> | 06-Jul-1983 | Ms | Lori | Gildea | Female | |
| 21 |<PHONE_NUMBER> | 13-Apr-1999 | Miss | Eve | Buck | Female | Patient inactive |
| 22 |<PHONE_NUMBER> | 17-Sep-1950 | Mr | Dean | Pye | Male | Access Record Structured - meds only |
| 23 |<PHONE_NUMBER> | 26-Nov-1927 | Mr | Morris | Oakes | Male | Access Record Structured - meds only |
| 24 |<PHONE_NUMBER> | 12-Oct-1947 | Mr | Samuel | Beyer | Male | Access Record Structured - allergies only |
GP Connect API v1.6.0 demonstrator
This test data is used when building Access Record Structured (v1.6.0) and Access Document.
Organizations
| ODS code | Provider ASID | Organization name | Notes |
| B82617 |<PHONE_NUMBER>38 | Coxwold Surgery | The ODS code and ASID of the GP practice represented by the GP Connect demonstrator v1.6.0 |
Patients
| Id | NHS number | Date of birth | Title | Given name | Family name | Gender | Notes |
| 1 |<PHONE_NUMBER> | 11-Dec-1938 | Mr | Lucien | Samual | Male | |
| 2 |<PHONE_NUMBER> | 21-Apr-1925 | Mr | Horace | Skelly | Male | |
| 3 |<PHONE_NUMBER> | 17-Mar-1936 | Mr | Samuel | Heslby | Male | |
| 4 |<PHONE_NUMBER> | 04-Jul-1925 | Mr | West | Crank | Male | |
| 5 |<PHONE_NUMBER> | 10-Mar-1928 | Mrs | Rosa | Lobb | Female | |
| 6 |<PHONE_NUMBER> | 14-Jun-1953 | Ms | Angela | Doulby | Female | |
| 7 |<PHONE_NUMBER> | 30-Jun-1953 | Mrs | Mina | Bailey | Female | |
| 8 |<PHONE_NUMBER> | 20-Oct-1929 | Mrs | Winnie | Pring | Female | |
| 9 |<PHONE_NUMBER> | 09-Sep-2000 | Mrs | Anita | Clay | Female | Patient has S flag |
| 10 |<PHONE_NUMBER> | 28-Mar-1960 | Ms | Tania | Reeves | Female | Patient has S flag |
| 11 |<PHONE_NUMBER> | 28-Nov-1978 | Mrs | Alexi | Horn | Female | |
| 12 |<PHONE_NUMBER> | 17-Dec-1965 | Miss | Elsa | Leary | Female | |
| 13 |<PHONE_NUMBER> | 16-Mar-2001 | Ms | Cecile | Beston | Female | |
| 15 |<PHONE_NUMBER> | 16-Sep-1972 | Mrs | Dora | McCain | Female | Patient has S flag |
| 16 |<PHONE_NUMBER> | 24-Nov-1983 | Mrs | Sibyl | Craine | Female | |
| 17 |<PHONE_NUMBER> | 09-Jun-1984 | Mrs | Doris | Bourke | Female | |
| 18 |<PHONE_NUMBER> | 03-Feb-1968 | Mr | James | Rooney | Male | Patient deceased |
| 20 |<PHONE_NUMBER> | 06-Jul-1983 | Ms | Lori | Gildea | Female | |
| 21 |<PHONE_NUMBER> | 13-Apr-1999 | Miss | Eve | Buck | Female | Patient inactive |
| 22 |<PHONE_NUMBER> | 17-Sep-1950 | Mr | Dean | Pye | Male | Access Record Structured - meds only |
| 23 |<PHONE_NUMBER> | 26-Nov-1927 | Mr | Morris | Oakes | Male | Access Record Structured - meds only |
| 24 |<PHONE_NUMBER> | 12-Oct-1947 | Mr | Samuel | Beyer | Male | Access Record Structured - allergies only |
| 25 |<PHONE_NUMBER> | 11-Oct-1974 | Mrs | Hazel | Prout | Female | Meds and Allergies only |
| 26 |<PHONE_NUMBER> | 30-Jan-1954 | Mrs | Jane | Mackay | Female | Meds and Allergies only |
| 27 |<PHONE_NUMBER> | 14-Oct-1983 | Mr | Ray | Lynch | Male | Meds and Allergies only |


Accordion Example maybe with a button or whatever just to see what happens.
DELETE EVERYTHING
And then everything else. I hope you're enjoying yourself. Lorem Ipsum etc etc etc. At first I thought I'd type "the rain in Spain..." and so forth, then "falls mainly only the plain" triggered "but I get up again" from Chumbawumba's hit song "Tubthumping". What on Earth.