{% extends 'base.html' %} {% set active_menu = "dgame" %} {% set active_submenu = "voter" %} {% block title %}Viewly • Votes by {{ eth_address }}{% endblock %} {% block content %}
| Video ID | Token Amount | Delegated Amount | Weight | Date |
|---|---|---|---|---|
| {{ vote.video_id }} | {{ vote.token_amount | readableNumber }} VIEW | {{ vote.delegated_amount | readableNumber }} VIEW | {{ vote.weight }}% | {{ vote.created_at | humanDate }} |


| 1 | /* | |
| 2 | * Licensed to the Apache Software Foundation (ASF) under one or more | |
| 3 | * contributor license agreements. See the NOTICE file distributed with | |
| 4 | * this work for additional information regarding copyright ownership. | |
| 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 | |
| 6 | * (the "License"); you may not use this file except in compliance with | |
| 7 | * the License. You may obtain a copy of the License at | |
| 8 | * | |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 | |
| 10 | * | |
| 11 | * Unless required by applicable law or agreed to in writing, software | |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 14 | * See the License for the specific language governing permissions and | |
| 15 | * limitations under the License. | |
| 16 | */ | |
| 17 | package org.apache.commons.imaging.formats.png; | |
| 18 | ||
| 19 | // should just use ints, not longs | |
| 20 | public class PngCrc { | |
| 21 | /* Table of CRCs of all 8-bit messages. */ | |
| 22 | private final long crc_table[] = new long[256]; | |
| 23 | ||
| 24 | /* Flag: has the table been computed? Initially false. */ | |
| 25 | private boolean crc_table_computed = false; | |
| 26 | ||
| 27 | /* Make the table for a fast CRC. */ | |
| 28 | private void make_crc_table() { | |
| 29 | long c; | |
| 30 | int n, k; | |
| 31 | ||
| 32 |
3
1. make_crc_table : negated conditional → SURVIVED 2. make_crc_table : changed conditional boundary → KILLED 3. make_crc_table : Changed increment from 1 to -1 → KILLED |
for (n = 0; n < 256; n++) { |
| 33 | c = n; | |
| 34 |
2
1. make_crc_table : changed conditional boundary → SURVIVED 2. make_crc_table : negated conditional → SURVIVED |
for (k = 0; k < 8; k++) { |
| 35 |
2
1. make_crc_table : Replaced bitwise AND with OR → SURVIVED 2. make_crc_table : negated conditional → SURVIVED |
if ((c & 1) != 0) { |
| 36 |
2
1. make_crc_table : Replaced Shift Right with Shift Left → SURVIVED 2. make_crc_table : Replaced XOR with AND → SURVIVED |
c = 0xedb88320L ^ (c >> 1); |
| 37 | } else { | |
| 38 |
1
1. make_crc_table : Replaced Shift Right with Shift Left → SURVIVED |
c = c >> 1; |
| 39 | } | |
| 40 | } | |
| 41 | crc_table[n] = c; | |
| 42 | } | |
| 43 | crc_table_computed = true; | |
| 44 | } | |
| 45 | ||
| 46 | /* | |
| 47 | * Update a running CRC with the bytes buf[0..len-1]--the CRC should be | |
| 48 | * initialized to all 1's, and the transmitted value is the 1's complement | |
| 49 | * of the final running CRC (see the crc() routine below)). | |
| 50 | */ | |
| 51 | ||
| 52 | private final long update_crc(final long crc, final byte buf[]) { | |
| 53 | long c = crc; | |
| 54 | int n; | |
| 55 | ||
| 56 |
1
1. update_crc : negated conditional → SURVIVED |
if (!crc_table_computed) { |
| 57 |
1
1. update_crc : removed call to org/apache/commons/imaging/formats/png/PngCrc::make_crc_table → SURVIVED |
make_crc_table(); |
| 58 | } | |
| 59 |
2
1. update_crc : negated conditional → SURVIVED 2. update_crc : changed conditional boundary → KILLED |
for (n = 0; n < buf.length; n++) { |
| 60 | // Debug.debug("crc[" + n + "]", c + " (" + Long.toHexString(c) + | |
| 61 | // ")"); | |
| 62 | ||
| 63 |
4
1. update_crc : Replaced XOR with AND → SURVIVED 2. update_crc : Replaced Shift Right with Shift Left → SURVIVED 3. update_crc : Replaced XOR with AND → SURVIVED 4. update_crc : Replaced bitwise AND with OR → KILLED |
c = crc_table[(int) ((c ^ buf[n]) & 0xff)] ^ (c >> 8); |
| 64 | } | |
| 65 |
1
1. update_crc : replaced return of long value with value + 1 for org/apache/commons/imaging/formats/png/PngCrc::update_crc → SURVIVED |
return c; |
| 66 | } | |
| 67 | ||
| 68 | /* Return the CRC of the bytes buf[0..len-1]. */ | |
| 69 | public final int crc(final byte buf[], final int len) { | |
| 70 |
2
1. crc : Replaced XOR with AND → NO_COVERAGE 2. crc : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return (int) (update_crc(0xffffffffL, buf) ^ 0xffffffffL); |
| 71 | } | |
| 72 | ||
| 73 | public final long start_partial_crc(final byte buf[], final int len) { | |
| 74 |
1
1. start_partial_crc : replaced return of long value with value + 1 for org/apache/commons/imaging/formats/png/PngCrc::start_partial_crc → SURVIVED |
return update_crc(0xffffffffL, buf); |
| 75 | } | |
| 76 | ||
| 77 | public final long continue_partial_crc(final long old_crc, final byte buf[], final int len) { | |
| 78 |
1
1. continue_partial_crc : replaced return of long value with value + 1 for org/apache/commons/imaging/formats/png/PngCrc::continue_partial_crc → SURVIVED |
return update_crc(old_crc, buf); |
| 79 | } | |
| 80 | ||
| 81 | public final long finish_partial_crc(final long old_crc) { | |
| 82 |
2
1. finish_partial_crc : Replaced XOR with AND → SURVIVED 2. finish_partial_crc : replaced return of long value with value + 1 for org/apache/commons/imaging/formats/png/PngCrc::finish_partial_crc → SURVIVED |
return (old_crc ^ 0xffffffffL); |
| 83 | } | |
| 84 | } | |
Mutations | ||
| 32 |
1.1 2.2 3.3 |
|
| 34 |
1.1 2.2 |
|
| 35 |
1.1 2.2 |
|
| 36 |
1.1 2.2 |
|
| 38 |
1.1 |
|
| 56 |
1.1 |
|
| 57 |
1.1 |
|
| 59 |
1.1 2.2 |
|
| 63 |
1.1 2.2 3.3 4.4 |
|
| 65 |
1.1 |
|
| 70 |
1.1 2.2 |
|
| 74 |
1.1 |
|
| 78 |
1.1 |
|
| 82 |
1.1 2.2 |


Merging and Promoting Using the Merge Quest Tool
The Perforce Merge Quest tool enables you to graph the structure of your Perforce server by defining a hierarchy that you can use to propagate change between codelines. There are no restrictions on the number of connections a codeline can have or the types of codelines that can be connected. You control the display of codelines by manually arranging and connecting them on the canvas. After you define a hierarchy, you can export it as an XML file that other users can import and use.
To display the Merge Quest view, context-click the desired server connection in the P4 Connections view and choose Open Merge Quest.
Creating the Diagram
To define a branching hierarchy, first define the codelines:
- Drag a codeline icon from the palette to the Merge Quest canvas. P4Eclipse displays the New Codeline dialog.
- Enter a descriptive name for your codeline and click Finish. The canvas displays an icon for the codeline.
Then, define the relationships:
To define the relationship between two codelines, you define connections that specify how changes are propagated:
- "To" connections specify the files and folders that accept changes from the codeline (target).
- "From" connections specify the files and folders that contribute change to the codeline (source).
You can connect files using the following methods:
- Add Branch Spec Connector: Use a Perforce branch specification. Browse to an existing one or create one by clicking .
- Add Depot Path Connector: Specify the depot path for the source or target files and folders. If a target path doesn't exist in the depot, it is created the first time you use the connection to integrate files to the target.
Alternately, you can click one of the codeline connectors in the palette (Branch Spec or Depot Path), then drag a line from one codeline icon to another.
To define the connections:
- Context-click the desired codeline and choose the method for specifying the connection (branch spec or depot path). P4Eclipse displays a dialog that enables you to specify the source or target using a path or branch specification.
- Specify the source or target path. (You can specify a source or target that doesn't exist — Merge Quest will create it.)
- To restrict the follow of change to a single direction, click the corresponding arrow in the separator between the Source and Target lists. By default, change can be propagated in either direction.
- To save your changes, click Finish.
Merging and Promoting
To propagate change from one codeline to another:
- Context-click the source or target codeline and choose Integrate To... or Integrate From... (or context-click the connector between the source and target and choose the desired integration. Connectors look like this: ). P4Eclipse displays the Integrate dialog.
- Specify the desired options. For details about Perforce integration options, see the Perforce Command Reference (p4 integrate command description). P4Eclipse opens the source files for integration to the target in a pending changelist.
- If necessary, resolve the files to select the revisions that you want integrates to the target codeline.
- Submit the changelist containing the resolved files.
Exporting and Importing Merge Quest Diagrams
You can export Merge Quest diagrams as XML files, which you can (manually) store on a file system, Web site or in a Perforce depot. Other users can import your files to obtain your diagrams.
To export a diagram, click and specify the location where you want to store it. To import a diagram, click and browse to the file or specify its location.
Best Practices for Branching
For typical software development, Perforce recommends the mainline model. The mainline, where code is stabilized, resides above softer development codelines and below firmer release codelines. Code is expected to become increasingly stable as change flows from development to mainline to release.


null
OS/161 Reference Manual
Name
null - null device
Description
The null device does nothing. Reads generate immediate EOF; any data written is thrown away.
Files
null:


This keyboard was developed for entering Arabic script phonetically using a standard English keyboard.


---
layout: default
title: In a tram
description: In a tram, 2011, ink on canvas.
permalink: /painting/in-a-tram/
group: painting-project
parent: painting
lang: en
language: English
thumbnail: eva-mikulasova-window-01-2011-ink-on-canvas-40x45cm-tile
order: 2
menu_exclude: false
---
{% include image50vw.html basename="eva-mikulasova-window-01-2011-ink-on-canvas-40x45cm" alt="eva mikulášová window 01 2011 ink on canvas 40x45cm" %}
Window 1, 2011, ink on canvas, 40x45cm.
{% include image50vw.html basename="eva-mikulasova-window-02-2011-ink-on-canvas-45x45cm" alt="eva mikulášová window 02 2011 ink on canvas 45x45cm" %}
Window 2, 2011, ink on canvas, 45x45cm.
{% include image50vw.html basename="eva-mikulasova-window-03-2011-ink-on-canvas-50x50cm" alt="eva mikulášová window 03 2011 ink on canvas 50x50cm" %}
Window 3, 2011, ink on canvas, 50x50cm.
{% include image50vw.html basename="eva-mikulasova-window-04-2011-ink-on-canvas-45x45cm" alt="eva mikulášová window 04 2011 ink on canvas 45x45cm" %}
Window 4, 2011, ink on canvas, 45x45cm.
{% include image50vw.html basename="eva-mikulasova-window-05-2011-ink-on-canvas-40x40cm" alt="eva mikulášová window 05 2011 ink on canvas 40x40cm" %}
Window 5, 2011, ink on canvas, 40x40cm.
In a tram, 2011, ink on canvas.
{% include painting-drawing-tiles.html %}


<template>
s of <syntax rules>
are
slightly softened to allow for more than one consecutive
<ellipsis>
in subtemplates, and to allow pattern
variables in subtemplates to be followed by more instances of the
identifier <ellipsis>
than they are followed in the
subpattern in which they occur.


--- title: resume permalink: "about/index_kor.html" layout: default ---
{{site.data.about_kor.text | markdownify }}


{% extends 'test_widget_base.html' %} {% block content %} Cyber Pulse Narrations ReBIT Cyber Pulse November 2020 Total Listening Time 21:21 Powered By Ad-Auris {% endblock content %}
Cyber Pulse November 2020
Total Listening Time 21:21
Powered By Ad-Auris


There exists a plethora of useful command line tools. We’re going to take a look at a few that are likely to be helpful as you work your way through school and begin a career as a computer scientist or software developer.
Remember that complicated command you used to do that complicated thing the other day? Yeah, no one does. That’s why we have Ctrl-R
. This allows you to easily find a command you’ve run in the past to (optionally) edit and run again.
There is also a command called history
that will simply print a list of your past commands. This can be useful if you want to copy-paste commands into a document or otherwise make use of your history in ways other than running a single command.
We already looked at cd
, ls
, and pwd
for navigating the filesystem, but there are a few other commands that can make life easier.
This command, which will need to be installed on most systems (you can use brew install tree
on a Mac), prints a directory hierarchy as a pleasant ASCII art diagram. For example, running it on this repository directory:
missing-course on master [!]
➜ tree .
.
├── AUTHORS
├── LICENSE
├── Makefile
├── README.md
├── index.html
├── media
│ ├── header.html
│ ├── header.jpg
│ └── videos
│ └── ctrl-r-demo.mov
└── topics
├── 01-shell-overview
│ ├── README.md
│ └── index.html
├── 02-shell-scripting
│ ├── README.md
│ └── index.html
├── 03-shell-tools
│ ├── README.md
│ └── index.html
├── README.md
└── index.html
6 directories, 16 files
The pushd
and popd
commands allow you to create a stack of directories so that you can retrace your steps back to your starting position.
# Assume we start in the home directory
cd
# Time to work on some code
cd Code/awesome-project
# Go update the paper we're writing about this project
pushd ~/Documents/awesome-project-paper
# Jump back to the code without typing the directory again
popd
Fasd and Autojump allow the user to navigate to directories they have previously visited using “fuzzy” matching and the concept of “frecency” (frequency combined with recent). For example, starting in my home directory I can jump all the way into the directory belonging to a particular project (that I work on semi-regularly) simply by providing the name of the project’s directory (or even part of it). Note that j
here is an alias that runs autojump with the correct arguments.
~ $ # We start in the home directory
~ $ j polyA
~/Code/TravisWheelerLab/polyA $ # Now we're here!
Grep can find occurrences of a specific string or regular expression within text files.
# Find "Missing" in the file README.md
grep Missing README.md`
# Find "command" in all files under the current directory, recursively
grep -r Missing .
# Only print filenames, not the line that matched
grep -lr command .
# Print some context around each match (2 lines)
grep -r -C2 command .
# Print filenames that did not match
grep -rL Missing .
Remember the history
command? We can use a Unix pipe along with grep to find all similar commands we’ve run in the past. For example, sometimes it is useful to recall which packages have been installed through Homebrew. The following command can find all invocations of brew install
:
history | grep "brew install"
These tools act a lot like Grep, but provide better performance and other features that make them more pleasant to use. For example, they can respect your version control system’s “ignore” file to avoid generating extra, useless results.
ag "search term"
We’ve talked a lot about how to navigate the file system and work with files, but what about finding files based on their name or other characteristics? For this, we have the find
command.
find . -name myfile
# We can also filter by type, which is often useful
# for limiting our results to only regular files
# (excluding directories and symlinks, for example).
find . -type f -name myfile
# It is also possible to negate filters. The command
# below finds all files that do not have a .py
# extension.
find . -type f ! -name '*.py'
It is also possible to have find run a command on each file it finds. This can be helpful if you want to run a command against several different files to produce an output for each.
# Run the mypy type checker against all Python files
# found in or below the current directory.
find . -type f -name '*.py' -exec mypy {} \;
You might notice that the find
command above takes a few seconds if there are many Python files. That’s partly because mypy is run against each file in serial. We could speed things up by running mypy in parallel and we can use the parallel
command to do it. Note: this is another one of those commands you’ll probably have to install, it doesn’t ship with most systems.
Let’s play around a bit…
# Create a bunch of empty files
touch file-{001..100}.txt
# Put some data in each file, in this case
# just a bunch of words
find . -name '*.txt' -exec sh -c "head -100000 /usr/share/dict/words > {}" \;
# Use find to compress all of the files
# and time how long it takes, then decompress
time find . -name '*.txt' -exec gzip {} \;
time find . -name '*.gz' -exec gunzip {} \;
# Use parallel to compress all of the files
# and time how long it takes, then decompress
time parallel gzip ::: *.txt
time parallel gunzip ::: *.gz
You’ll notice that there wasn’t much difference, that’s because our task is mostly I/O bound anyway, but take a look at the CPU percentage, you can tell the tasks are being parallelized because the CPU usage is much higher in the second version.
Now let’s create a more complicated example that should actually result in better performance when we parallelize the work. This is still going to be rather contrived, but it shouldn’t be hard to imagine how it could be translated to real work.
First, we’ll write a program that does something CPU bound. Then we’ll want a quick script to create bogus data for that program to operate on.
./is_prime.py <file>
./random_numbers.py <N> <size>
Now let’s try the same thing we did above, compare the performance of find
and parallel
.
mkdir scratch
cd scratch
touch numbers-{00..20}.txt
find . -name '*.txt' -exec sh -c "../random_numbers.py 10 24 > {}" \;
time find . -name '*.txt' -exec ../is_prime.py {} \;
time parallel ../is_prime.py ::: *.txt
You should see that parallel
is quite a bit faster now that our work is CPU bound. On my machine, find
takes about 35 seconds and parallel
takes about 8 seconds.


Upon receipt of a request for any proposed use other than for noncommercial group use, the authorized officer shall screen the proposal to ensure that the use meets the following minimum requirements applicable to all special uses:
The proposed use would be inconsistent or incompatible with the purposes for which the lands are managed, or with other uses; or
The proposed use would not be in the public interest; or
The proponent is not qualified; or
The proponent does not or cannot demonstrate technical or economic feasibility of the proposed use or the financial or technical capability to undertake the use and to fully comply with the terms and conditions of the authorization; or
There is no person or entity authorized to sign a special use authorization and/or there is no person or entity willing to accept responsibility for adherence to the terms and conditions of the authorization.


THE PLAYER A film review by Frank Maloney Copyright 1992 Frank Maloney
THE PLAYER is a film directed by Robert Altman and written by Michael Tolkin, based on his novel. It stars Tim Robbins, Greta Scacchi, Whoopi Goldberg, Fred Ward, Brion James, Peter Gallagher, Cynthia Stevenson, Vincent D'Onofrio, Dean Stockwell, Richard E. Grant, Lyle Lovett, Sydney Pollack, with dozens of cameos. Rated R for profanity, mature themes.
THE PLAYER opens with a witty and self-mocking "homage" to the long tracking shot that opens Orson Welles's TOUCH OF EVIL, an even longer, equally amazing tracking shot that scans an unnamed Hollywood studio and introduces the major players by eavesdropping on the busy conversations, especially the writers pitching their stories to Tim Robbins playing Griffin Mill, enfant terrible on his way out. In the process, we also start the endless and fascinating succession of cameos that help give this movie its inside/outside/upside/downside mixture of flick and documentary as we encounter Buck Henry, the writer of THE GRADUATE, pitching a sequel, and Altman's protege Alan Rudolph pitching a "politely political psychic thriller with heart ... GHOST meets THE MANCHURIAN."
Before the movie is over, Altman and Tolkin have pitched the idea of the movie to us, the very story we've just seen. It is a dazzling bright and cynical satire, if either shallow or accurate; in the self-referant, self-absorbed Hollywood atmosphere of the film, it is might hard to know the dancer from the dance, the satire or the thing being satirized. For example, what about the character of Greta Scacchi? Like so many Hollywood women, this one is all surface with no past, no future apart from her relationship to her man or men. Are you going to be satisfied by the ending? It is blunt and counters a lot of rules. You may like that, its cynicism,, its wit, its realpolitik, as it were, or you may feel cheated.
I think you will like Altman's direction. He has returned to the multi-leveled, half-improvised conversations, the imaginative camera work, the witty references. For one example, Altman shows us a plein air breakfast meeting with Burt Reynolds and someone else talking at one table in the foreground while the mike concentrates on the background conversation of Robbins and his boss (Brion James); the camera shoots through the gap between Reynolds and friend and moves right past them as it closes in on the rear table. When Robbins leaves, the camera pulls, the mike pulls back, and Reynolds is still talking. Did I explain this at all understandably? No matter, really, when you see it, you will recognize and, I assume, admire it.
 Carole Lombard gave the first black-and-white Hollywood party in the 1930s and Norma Shearer, the reigning queen, showed up in red; Lombard chewed Shearer out, even though Clark Gable, Lombard's future husband (whom she had met for the first time that night) told her that one did not chew out Norma Shearer, who was married to Irving Thalberg. No one chews out Cher.
THE PLAYER is filled with the constant tug between the history of the Golden Era and the pressures of the current moment. The head of studio security (Fred Ward) praises the old movies (he talks about the Wellesian tracking shot during the Altmanian one), but recognizes no titles after 1950, it seems. The walls are decorated by 30s movie posters. No one has time to go to movies, but they consider how to do without writers altogether.
The individual performances are uniformly excellent. Tim Robbins has never had a better role (except perhaps for the much smaller part in BULL DURHAM). His babyish face makes his ruthlessness all the more alarming. Peter Gallagher plays his rival Larry Levy as a handsome serpent. Vincent D'Onofrio is particularly effective as David Kahane, an angry and not very successful writer. And then there's very strong and heartbreaking performance of Cynthia Stevenson whose fate is by all reports, as well as her performance, painfully accurate.
I also enjoyed the singer Lyle Lovett in a role that was a major comic relief, but I wasn't too pleased with the performance of his partner played by Whoopi Goldberg, not that she's any less than wonderful, but she plays her usual character to such a degree that it hard not to think we're looking at another cameo. In addition to the multitudinous as-themselves appearances (Bruce Willis and Julia Roberts are especially witty and self-parodying), there are many small roles filled admirably. For example, there are Dean Stockwell and Richard E. Grant as the agent-writer team who manage to send up the pieties of the message script with a brilliant sell-out. Then there's Sydney Pollack, the director, playing a lawyer as the very model of detached and charming cynicism.
THE PLAYER is a film of great richness and (perhaps) depth, of admirable technique and successful results. I think that for the critics and film students the question will be to what end was all this brilliance served up.  Altman, Tolkin, and their army of stars are the establishment, the Industry, major players who are showing us Hollywood As It Really Is,, acerbically, wittily, the ultimate inside joke, after all. In the film, one character lists the ingredients a successful movie must have: suspense, laughter, hope, heart, nudity, sex. THE PLAYER has all of these, by the strangest of coincidences. I suspect the film is like the worm Ouroboros that swalloweth its own tail, both in structure and intent.
In the meantime, whatever the meaning, cynical or absurdist, THE PLAYER is a great film, as good as Altman has ever made, including M*A*S*H*, NASHVILLE, and McCABE AND MRS MILLER.
I strongly urge you to see THE PLAYER, even at full price.
-- Frank Richard Aloysius Jude Maloney .
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


{% extends 'brambling/layouts/12.html' %} {% load staticfiles %} {% block title %}404 Error – {{ block.super }}{% endblock %} {% block main %}
Uh oh! No page was found at:
But don't panic, try one of these:


--- layout: post title: Rackspace Acquires SharePoint Services Firm date: '2012-02-16T12:57:15-08:00' tags: tumblr_url: http://alexhwilliams.tumblr.com/post/17724873437/rackspace-acquires-sharepoint-services-firm ---
http://bit.ly/xvBd9v


{% set cdn = "//cdn.fanlens.io/static" %}
{% block metas %} {% set description = "With a few clicks you can generate personalized models that encapsulate the behaviour of your fans and followers. It's your own little pet robot that reacts in the same ways as your fans!" %} {% set title = "Fanlens: Machine Learning + Social Media" %} {% set logo = "{{ cdn }}/img/logo.png" %} {% endblock %}


Tutorial¶
Installation¶
dgm1 requires numpy and gdal.
Using pip¶
pip install dgm1
Using conda¶
dgm1 is not available in conda, but we recommend to install numpy and gdal with conda before installing dgm1 with pip:
conda install numpy
conda install gdal
pip install dgm1
Introduction¶
dgm1
is a package to download and process digital elevation model (dem) data provided by the Government of the
State Nord Rhine-Westphalia in Germany. DGM1 is the German acronym for Digitales Geländemodel with one meter
resolution.
Each xyz.gz file in https://www.opengeodata.nrw.de/produkte/geobasis/hm/dgm1/dgm1_xyz/ contains a list of 4,000,000 tuples (x, y, z) corresponding to a raster of 2000x2000 pixels. The compound coordinate reference system is EPSG 25832 for the horizontal component and EPSG 7837 for the vertical component.
Features¶
download
transform into TIF files
resample
create VRT files (GDAL Virtual Format)
mosaic and clip
Quickstart¶
Downloaded data and project data can be save in different directories. In the example below:
~/dgm1: product directory
~/example/: project directory
~
symbolizes home directory, e.g., C:/users/myname/dgm1 and C:/users/myname/example.
Data is downloaded and processed in the following structure:
~/dgm1/dgm1_nrw_01m_tif/: downloaded data
~/dgm1/dgm1_nrw_02m_tif/: resampled data
~/dgm1/dgm1_nrw_05m_tif/: resampled data
~/dgm1/dgm1_nrw_10m_tif/: resampled data
Note
~/dgm1 and its subdirectories are created automatically.
while ~/dgm1 is user defined, its subdirectories are not.
In the code below only rasters intersecting the project area ~/example/area.shp are downloaded.
from dgm.dgm1_nrw import DGM1NRW
# create an instance of the class DGM1NRW
# all ca. 9000 rasters will be downloaded.
# dgm1 = DGM1NRW(dgm1_dir='~/dgm1')
# only intersecting rasters will be downloaded.
dgm1 = DGM1NRW( dgm1_dir='~/dgm1', shp_region='~/example/area.shp')
# create a shapefile with polygons (2x2 km²) representing dem-tiles and save in
# ~/dgm/gis/dgm1_2_nw.shp
dgm1.create_shapefile()
# download all XYZ files intersecting with the region ('~/example/area.shp') and
# save them as TIF files
dgm1.download()
# resample the original 1 meter raster to 2, 5, and 10 meters pixel_size
dgm1.resample(pixel_size=2)
dgm1.resample(pixel_size=5)
dgm1.resample(pixel_size=10)
In the following block VRT files and mosaic are created for the area ~/example/area.shp
# create a GDAL Virtual Format for different resolutions. Each VRT file consists of the file
# `.vrt` and a corresponding directory. For example: file `~/example/dgm1_area_01m.vrt` and
# directory `~/example/dgm1_area_01m`.
dgm1.create_vrt('~/example/dgm1/dgm1_area_01m.vrt', pixel_size=1)
dgm1.create_vrt('~/example/dgm1/dgm1_area_02m.vrt', pixel_size=2)
dgm1.create_vrt('~/example/dgm1/dgm1_area_05m.vrt', pixel_size=5)
dgm1.create_vrt('~/example/dgm1/dgm1_area_10m.vrt', pixel_size=10)
# mosaic TIF files intersecting the region
dgm1.mosaic('~/example/dgm1/dgm1_area_01m.tif', pixel_size=1)
dgm1.mosaic('~/example/dgm1/dgm1_area_02m.tif', pixel_size=2)
dgm1.mosaic('~/example/dgm1/dgm1_area_05m.tif', pixel_size=5)
dgm1.mosaic('~/example/dgm1/dgm1_area_10m.tif', pixel_size=10)
Instance¶
from dgm.dgm1_nrw import DGM1NRW
dgm1 = DGM1NRW(dgm1_dir='D:/dgm1', region='~/example/area.shp')
The class DGM1NRW
has one mandatory (dgm1_dir) and one optional (shp_region) parameter:
dgm1_dir
is the directory of downloaded and processed rasters.shp_region
is an optional shapefile of the region of interest. If given, downloading and processing applies to this region only, otherwise to the whole State NRW (ca. 9000 files).
Download¶
DGM1NRW.download()
downloads and unzip server files, transform them from XYZ into TIF format and
save them locally in the folder dgm1_nrw_01m_tif. If shp_region
is not defined, all ca. 9000 files will be
download, requiring many hours and ca. 50 GB disk. Otherwise, it downloads DEM files intersecting shp_region.shp only.
n_cores
is an optional parameter to allow parallel downloading and processing. If a computer has n cores,
\(1 \leq n\_cores \leq n - 1\). In the example below, the intentionally high \(n\_cores = 40\) will be reduced
to n_cores = 11 if the computer has \(n = 12\) cores. Any high number of cores can be given in order
to use \(n - 1\) cores. If you want to know the number of cores of your computer:
import multiprocessing
print(multiprocessing.cpu_count())
Note
As of April 2020 three out of ca. 90000 raster files were inconsistent:
dgm1_32426_5624_2_nw.xyz.gz
dgm1_32456_5776_2_nw.xyz.gz
dgm1_32442_5770_2_nw.xyz.gz
Downloading inconsistent files:
Downloading 3 files from https://www.opengeodata.nrw.de/produkte/geobasis/hm/dgm1_xyz/dgm1_xyz/ using 3 cores
Filename: dgm1_32456_5776_2_nw.xyz.gz, array.shape = (6000,): cannot reshape array of size 6000 into shape (4000000,3)
Filename: dgm1_32442_5770_2_nw.xyz.gz, array.shape = (6000,): cannot reshape array of size 6000 into shape (4000000,3)
Filename: dgm1_32426_5624_2_nw.xyz.gz, array.shape = (11999988,): cannot reshape array of size 11999988 into shape (4000000,3)
3 files downloaded in 6.35 seconds
Download raster intersecting a region¶
from dgm.dgm1_nrw import DGM1NRW
dgm1 = DGM1NRW('~/dgm1', '~/example/area.shp')
dgm1.download() # n_cores = 1
Download all¶
from dgm.dgm1_nrw import DGM1NRW
dgm1 = DGM1NRW('~/dgm1')
dgm1.download(n_cores=40)
Shapefile¶
create_shapefile()
creates the shapefile gis/dgm1_2_nw.shp
in the directory dgm1_dir
. The shapefile
contains square corresponding to the DEM files found in
https://www.opengeodata.nrw.de/produkte/geobasis/hm/dgm1_xyz/dgm1_xyz/. It squares from all files found on the server.
The shapefile has an attribute Filename
with the raster file name (see Figures below).
from dgm.dgm1_nrw import DGM1NRW
dgm1 = DGM1NRW(dgm1_dir='~/dgm1', region='~/example/area.shp')
dgm1.create_shapefile()
Resample¶
Each downloaded TIF file can be resample to a divisor of 2000 (2, 4, 5, 8, 10, 16, 20, 25, 40, 50, 80, 100, 125, 200, 250, 400, 500, 1000, 2000).
from dgm.dgm1_nrw import DGM1NRW
dgm1 = DGM1NRW('~/dgm1')
dgm1.resample(pixel_size=2) # rasters with 1000x1000 pixels
dgm1.resample(pixel_size=5) # rasters with 400x400 pixels
dgm1.resample(pixel_size=10) # rasters with 200x200 pixels
The class attribute DGM1NRW.compress_options
= [‘COMPRESS=LZW’, ‘PREDICTOR=2’] can be modified before
downloading:
from dgm.dgm1_nrw import DGM1NRW
dgm1 = DGM1NRW('~/dgm1')
dgm1.compress_options` = ['COMPRESS=LZMA']
dgm1.download(11)
VRT file¶
The GDAL Virtual format creates a kind of mosaic file composed of tiles saved individually and listed in an XML file. Together with the (.vrt) there is a folder with the same name (without the suffix .vrt) containing the corresponding TIF files. It is very useful to create large rasters, which cannot be created or processed otherwise due to computer limitations.
from dgm.dgm1_nrw import DGM1NRW
dgm1 = DGM1NRW('~/dgm1', '~/example/area.shp')
dgm1.create_vrt('~/example/dgm1/dgm1_area_01m.vrt', pixel_size=1)
Mosaic¶
Mosaic will create one raster file (default TIF file) from rasters intersecting the region. There are three types of output raster extent:
clipped to
shp_region
envelope of
shp_region
envelope of rasters intersecting
shp_region
from dgm.dgm1_nrw import DGM1NRW
dgm1 = DGM1NRW('~/dgm1', '~/example/area.shp')
dgm1.mosaic('~/example/dgm1/dgm1_area_02m_clip.tif', pixel_size=2, extent='clip')
dgm1.mosaic('~/example/dgm1/dgm1_area_02m_region.tif', pixel_size=2, extent='region')
dgm1.mosaic('~/example/dgm1/dgm1_area_02m_rasters.tif', pixel_size=2, extent='rasters')
Be aware that your computer may not support the creation of very large files due to RAM size limitations. If the region is large, the resolution (pixel_size) must increase to cope the RAM availability.
Warning
Due to memory limitations, your computer may freeze if you mosaic a very large file at a low resolution!


Registration form
1
Your company info
Company name: *
Company number: *
Password: *
2
Persons profile
Some important info:
Head-office location:
Albania
Andorra
Armenia
Austria
...
Rights:
Front-End Developer
PHP Developer
Python Developer
Rails Developer
Web Designer
WordPress Developer
Androild Developer
iOS Developer
Mobile Designer
Business Owner
Freelancer
Secretary
Maintenance
Interests:
Development
Design
Business
< Back to main page
I already have account


Hello {{currentUserData().userName}}
Welcome to SoftUni Issue Tracker System
Dashboard
My projects
All Projects
Change password
Logout


{% extends "base.html" %} {% block content %} {% load humanize %}
Question was answered {{question.answered_at|naturaltime}}
{{question.explain}}
{{question.question_string}}
{% for svg in shape_svgs %} {{ svg|safe }} {% endfor %}Question was answered correctly: {{ question.answer }}
{% else %}Question was answered incorrectly: {{ question.given_answer }}
Correct answer: {{ question.answer }}
{% endif %} {% else %}


For the following examples, replace
kepubify with the path to the downloaded kepubify.
To convert a single book by dragging and dropping on Windows:
Just drag the original epub file over
kepubify.exe. The resulting file will be saved to the same directory as the original epub.
To convert a folder of books by dragging and dropping on Windows:
Just drag the folder over
kepubify.exe. The resulting file will be saved to the same directory as the originals, but with the suffix _converted.
To convert a single book:
kepubify /path/to/the/book.epub
The resulting file will be saved to the current directory.
To convert a single book with a different output folder:
kepubify --output "/path/to/save/the/book/" /path/to/the/book.epub
The resulting file will be saved to specified folder (in this example /path/to/save/the/book/).
To convert all books in the current folder into a folder called converted:
kepubify -o "converted" *.epub
To batch convert a directory of ebooks:
kepubify /path/to/the/books/
The converted books will be saved to the original dir with the suffix _converted (e.g. /path/to/the/books_converted).The directory structure of the source
is preserved in the output.
To batch convert a directory of ebooks with a different output folder:
kepubify -o "/path/to/output/the/converted/books" /path/to/the/books/
The directory structure of the source is preserved in the output.
To convert a directory of ebooks, but skipping ones which have already been converted:
kepubify --update /path/to/the/books/
To convert a calibre library in-place:
kepubify --update --inplace --calibre /path/to/calibre/library/
To convert a folder of books directly on to a Kobo eReader, while simply copying PDF files:
kepubify --output /path/to/kobo/kepubify --update --copy .pdf /path/to/books/


Shmch.OutgoingRequest – shmchannel Reference Manual
Packages
shmchannel
Shmch
OutgoingRequest
OutgoingRequest
handle_response
id
response_callback
OutgoingRequest
Object Hierarchy:
Description:
internal
class
OutgoingRequest
The metadata of pending outgoing request.
Namespace:
Shmch
Package:
shmchannel
Content:
Creation methods:
public
OutgoingRequest
(
uint
id,
owned
DataCallback
response_callback)
Create a new metadata object for a pending outgoing request.
Methods:
public
void
handle_response
(
uint8
[] data)
Pass the response to the caller.
Fields:
public
uint
id
The request id.
private
DataCallback
response_callback
The callback to handle the response once it is available.


Exaltation
An easy to use static blog generator for Github users
Getting Started
- Enable Github pages for your repository.
- Download and unzip the Exaltation repository.
- Edit your local version of
src\data.js
with your site inf\ormation.
Authoring Blog Posts
- Create a new markdown file in
src\articles\
folder with your blog article - Add a new entry to
src\articles.json
. - Run
node src\build.js
- Commit and push your changes to your repository.


F
reshy
Home
Book-now
Checkout
BMI
About-Us
Toggle
Your cart is empty, Try adding some items from
here
Checkout Information
Name:
Email:
Phone:
Address:


This is a picture taken from the Utah mountains, observing the rugged landscape and colorful sky during sunset.
This is an image of LeBron James, one of the greatest basketball players of all time, in his new Lakers uniform.
This is a picture taken from the Utah mountains, observing the rugged landscape and colorful sky during sunset.
This is an image of LeBron James, one of the greatest basketball players of all time, in his new Lakers uniform.


The Importance of Writing Quality Code
In a workplace environment, the majority of projects being developed will be done so in teams composed of many developers. The developers must work in unison to ensure the project is of high-quality, is finished on time, and fulfils every part of the specification laid out by the client. This is where it is important to produce high-quality code; other developers must be able to review your code, meaning they must be able to follow the steps and read what is being executed accurately. There is very little room for error or miscommunication in a workplace environment, so if the code you produce is quite obscure or messy, another developer may find it difficult to follow.
Additionally, the quality of your code may impact the performance of the program produces. If your code contains a lot of duplicated functions and/or loops that are not being broken properly, this can decrease the efficiency of the program in the long run. Another example can be found when using MySQL in programs, where new connects are constantly being established without the old connections being disconnected. Not only would this mean more concurrent connections with the MySQL database, but the program will also eventually exceed the maximum number of connections MySQL accepts, preventing the program from functioning until it is restarted.
Modularity is a very powerful tool in programming. Many development languages allow the use of separate methods and classes in their code, particularly in object-oriented programming. Methods and classes contain segments of code which can be called when they are needed, meaning there is less code running at one time, leading to better performance. The use of classes and methods can also mean there is less code in general, as these can be used multiple times rather than having separate code each time the code needs to run. In many object-oriented programs, classes can be utilised in such a way to make segments of code readily toggleable. For instance, if you have two programs which can do the same thing and could potentially override each other, one program could have that code disabled. This could lead to no chance of errors occurring, as well as less code being run.
Improving Readability of Code
As stated above, one of the most important factors of quality code is its readability. There are many ways developers can improve the readability of this code, here are a few points with examples:
- Good documentation – If the program is to be handled by a group of developers and staff, the program should be equipped with detailed documentation as to what the program can do, and where important segments of the program are. This is particularly the case if your program comes equipped with an API, as developers need to understand how to hook into the API successfully.
- Commenting – Comments throughout the code will be a massive help for any developer searching your code for a specific method/task. However, many developers make the mistake of making too many comments and placing them in places where they are not needed. Comments should be placed where any critical processes take place, or where the code is relatively obscure. For example, the names of your methods and classes should reflect the process taking place there, so comments should not be needed stating what this method does when it’s called. An example of unnecessary coding can be found here:
- Neat and consistent layout – The layout of your code is a massive factor when it comes to its readability. If your code is not spaced out at all, developers may find it difficult to know where specific tasks are taking place. On the opposite side of the spectrum, if the code is too spaced out, the same issue may occur. It is also important to ensure the length of lines are limited in your code and instead can be split across multiple lines. This makes it easier to view the code in one window rather than scrolling to see what is occurring.
- Consistent naming scheme – There are two common examples of naming scheme currently; using underscores on word boundaries or using capital letters (example_code and exampleCode). Whilst choosing one is entirely personal preference, attempting to use both in your code can make your program look like a mess. It may also cause issues when someone is attempting to rewrite some of your code, and they expect the variable to be named one thing, and it is another where the difference is that you have used an underscore instead of a capital.


Hello World¶
Ahhh, the great tradition of saying “Hello World” in a programming language. To whet your appetite, we will do this with a most simple application, which will display an image. It is not important to understand everything at once, which will be used by the example. Nearly all parts used now are explained in later chapters, so do not hesitate, if the one or other explanation is missing.
Importing¶
Let’s start with importing some basic modules, which are necessary to display a small nice window and to do some basic drawing within that window.
import sys
import sdl2.ext
RESOURCES = sdl2.ext.Resources(__file__, "resources")
We need some resources from the resources
folder, so that we have a test
image around to display on the window later on. In your own applications, it is
unlikely that you will ever need to import them, but we need them here, so we
use the sdl2.ext.Resources
class to have them available.
Window creation and image loading¶
Any graphical application requires access to the screen, mostly in form of a window, which basically represents a portion of the screen, the application has access to and the application can manipulate. In most cases that portion has a border and title bar around it, allowing the user to move it around on the screen and reorganise everything in a way to fit his needs.
Once we have imported all necessary parts, let’s create a window to have access to the screen, so we can display the logo and thus represent it to the user.
sdl2.ext.init()
window = sdl2.ext.Window("Hello World!", size=(640, 480))
window.show()
factory = sdl2.ext.SpriteFactory(sdl2.ext.SOFTWARE)
sprite = factory.from_image(RESOURCES.get_path("hello.bmp"))
spriterenderer = factory.create_sprite_render_system(window)
spriterenderer.render(sprite)
First, we initialise the sdl2.ext
internals to gain access to the
screen and to be able to create windows on top of it. Once done with that,
sdl2.ext.Window
will create the window for us and we
supply a title to be shown on the window’s border along with its initial size.
Since sdl2.ext.Window
instances are not shown by default,
we have to tell the operating system and window manager that there is a new
window to display by calling sdl2.ext.Window.show()
.
Afterwards, we get an image from the resources folder and create a
sdl2.ext.Sprite
from it, which can be easily shown later
on. This is done via a sdl2.ext.SpriteFactory
, since the
factory allows us to switch between texture-based, hardware-accelerated, and
software-based sprites easily.
To display the image, we will use a sdl2.ext.SpriteRenderSystem
,
which supports the sprite type (texture- or software-based) and can copy the
image to the window for display. The sdl2.ext.SpriteRenderSystem
needs to know, where to copy to, thus we have to supply the window as target
for copy and display operations.
All left to do is to initiate the copy process by calling
sdl2.ext.SpriteRenderSystem.render()
with the image we
created earlier.
Tip
You will notice that the sprite used above will always be drawn at the
top-left corner of the sdl2.ext.Window
. You can change
the position of where to draw it by changing its
sdl2.ext.Sprite.position
value.
# will cause the renderer to draw the sprite 10px to the right and
# 20 px to the bottom
sprite.position = 10, 20
# will cause the renderer to draw the sprite 55px to the right and
# 10 px to the bottom
sprite.position = 55, 10
Experiment with different values to see their effect. Do not forget to do
this before spriterenderer.render(sprite)
is called.
Making the application responsive¶
We are nearly done now. We have an image to display, we have a window, where the image should be displayed on, so we can execute the written code, not?
Well, yes, but the only thing that will happen is that we will notice a short flickering before the application exits. Maybe we can even see the window with the image for a short moment, but that’s not what we want, do we?
To keep the window on the screen and to make it responsive to user input, such as closing the window, react upon the mouse cursor or key presses, we have to add a so-called event loop. The event loop will deal with certain types of actions happening on the window or while the window is focused by the user and - as long as the event loop is running - will keep the window shown on the screen.
processor = sdl2.ext.TestEventProcessor()
processor.run(window)
Since this is a very first tutorial, we keep things simple here and use a
dummy class for testing without actually dealing with the event loop magic.
By calling sdl2.ext.TestEventProcessor.run()
, we implicitly start an
event loop, which takes care of the most important parts for us.
And here it ends...¶
The window is shown, the image is shown, great! All left to do is to clean up
everything, once the application finishes. Luckily the
sdl2.ext.TestEventProcessor
knows when the window is closed, so
it will exit from the event loop. Once it exits, we should clean up the
video internals, we initialised at the beginning. Thus, a final call to
sdl2.ext.quit()
should be made.


I have to be honest, I spent so much time working on a program that will do my job that I probably could have finished the job already. I'm finally seeing first-hand what people mean when they say that software is never done. Every time I thought I was done, a bug would rear its head or I would realize that I forgot to include something. Then everything works great for an hour and then it blows up again. Fix it, add some convenience features, break it again, fix it again, refactor, and the cycle goes on and on. Needless to say, I would absolutely make the same decision to write the program again. While I certainly could have just done my job manually, writing a program to do it not only makes my job easier, it also makes it so that anyone doing my job in the future will have it easier. There is definitely a net time and productivity gain to be had.
Beyond just netting more time and productivity down the line, this is an amazing learning experience. This is the first program I created to help me with my day job. As I write this program, I can see first hand where all the good software engineering advice you read online comes from. Currently, the program sits in a single file. I understand from all my reading that this is a terrible design. Trying to fix bugs in real-time, however, really gives it perspective. All the magic numbers, the lack of methods and classes, and lack of testing really humbles you. While I'll probably be done with my current stack of paperwork before I finish tidying up my code (yay, deadlines), I definitely plan on doing some major re-hauling of the code.
So I just wrote 2 paragraphs and none of it has to do with why everyone should learn to program (because it's awesome, duh). Other than learning about programming itself, I learned a ridiculous amount of stuff about my job. Having to sit and pound out an algorithm to do your job for you really forces you to learn how everything works in the background (I no longer need this atrocity). Things that work are no longer just magic. I'm doing less work (programming isn't work!) and I'm definitely better at my job now.
Perhaps the most magical thing about this whole experience is the fact that I'm enjoying work more. When I saw that stack of paperwork on Wednesday, I was depressed. Half of the reason I started writing a program to do my job was simply because I was procrastinating. As I got closer to completion, however, I found myself looking forward to starting to work on the paperwork. I was even excited to go into work this morning because I knew I could use my program for it. As I analyzed why I suddenly felt happier even though I still had to do a stack of applications, I realized that work was no longer work. The stack of papers was simply a test for my program. Every time I squashed a bug, I would eagerly put in the next application in hopes that it was crushed forever. Every time I added a feature, I would enter an application with anticipation. Programming just makes everything better.


- It has certain order or form for every specific function; variables need to be stated before being used.
- A variable, data structure or a function.
- Binary research is quicker; binary research halves the number elements.
- 12,16,64,42,77,26,53
12,16,26,42,77,64,53
12,16,26,42,53,64,77
Discussions


I have been programming for 3 years. I dabbled a little in high school but ultimately never really start till college. I have taken Programming 1 and 2, Data Structures, and a little bit of Matlab for signals.
Outside of the CISE courses, I have programmed FPGA’s and microprocessors for Digital Design and Microprocessors. In addition, I have programmed some code for sensors and computer vision for the IEEE robotics club. The most difficult program I have written from scratch was my b-tree structure I had to make in Data Structures. It ended up being about 300 lines of code and was written in C++.
The only programming language I am currently proficient in is C++ and it is also my favorite.


We Asked For Your Best Football Manager Stories & They Didn't Disappoint
by Gary ConnaughtonThere's nothing quite like the satisfaction you get from building a dynasty on Football Manager. Taking over a club that is a bit down on their luck, turning them into world beaters is an amazing feeling. In saying that, things can also go badly wrong in the game.
With Football Manager 2020 having hit the shelves last week, on this week's episode of The Balls.ie Football Show we recalled some of our favourite memories from the games over the years.
We also asked our readers their best in-game stories, and they certainly didn't disappoint. Here's some of the best of them.
There's nothing quite like getting one over on an ex-player.
Shane Cotter:
Started with Wolves in the Championship. Got promoted in my first season and finished 8th in first season in the Premier League. Went on to win the league the next season with Danny Batth as captain.
Bought Jonathan Silva in from some Brazilian team for 500k and sold him on to PSG a season later for 40million. Played PSG in the final of the champions league that season and beat them 1-0. Jonathan Silva got sent off and Danny Batth scored from a corner.
74 goals is a decent tally for any striker we reckon.
Ben O'Connor:
Took over Newcastle (we’re talking around 2004 here) and promptly signed Diego Tristan and Riquelme....
Tristan scored 74 goals that season and mainly off the back of Riquelme assists. Never before or since have I had a striker get remotely close to that tally!
They say never meet your heroes, but you probably should tweet them either.
Keith Ó Gealbháin:
In FM14 I took the worst playable team in Iceland, Knattspyrnufélag Fjallabyggðar, to the Champions League Group Stages. Spearheaded by an American ST, retrained as a Trequartista, Jordan Branco.
I tweeted him once to let him know, he never replied.
A stadium named after you? That's the dream.
Joe Sep Jon:
Fm08, winning back to back champions leagues with Finn Harps and getting them to build a new stadium and call it after me!
This lad wasn't so lucky, or appreciated.
Brian Kane:
Brought Luton up to the Premier League. Won numerous champions leagues. After 20 years the board agreed to a new stadium . Named it after the previous manager.
To be honest, we probably wouldn't get over this next one either.
Martin Doherty:
Took Mansfield Town from League 2 to Premier league. Couldn't wait to pit my wits versus Ferguson, Wenger and so on. Lost my opening 5 games and got sacked. Still haven't gotten over it.
This is the type of no-nonsense management we can all get behind.
This is definitely going to happen.
Shaun Downey:
Favourite thing I’ve ever seen happen in FM is Cristiano Ronaldo signing for the giants of Scottish football that are Dundee United
We reckon Sligo Rovers would be well able to bring in this sort of a crowd.
Matt Conlon:
Winning the Champions League 5 times & the Europa League once with Sligo Rovers. The board built 2 stadiums. The last one with a capacity of 67k. Think the population of Sligo is less.
This is how laptops get smashed. Could you imagine?!
James Burns:
FM10 and I'm Everton manager, 4-0 down at half time so I ring the changes and it's 4-3 going into injury time. Get a penalty with 95mins on the clock.
Marco Borriellos' shot hits the post, the ball bounces across the line, hits the other post and it stops on the line. The keeper is is no man's land and Marco is about to tap in for the equaliser only for the cheating cunt of a ref to blow the full time whistle...
Don't let anyone tell you that Football Manager isn't realistic.
John Harte:
In charge of Swansea City, I 'done a Leicester', before it was fashionable, and won the PL title against all the odds.
And, continuing that theme further, I then did a Ranieri, and lost my job the following season after a horrific run of defeats. Ruthless.
This one is the type of thing you only get in this game.
SJ Morrissey:
Played a pre-season friendly versus Troyes I think, waaaaay back in Championship Manager 01/02.
Central defender for Troyes scored 2 OGs and was sent off.
His name was Catastrophe - I laughed for a few days at that one. Sometime the champo gods just deliver you gold.
(Some of the comments have edited for length or clarity.)


Red Magic 3S confirmed: Release date, pricing, features and spec news
Here's all you need to know about Nubia's high-end gaming smartphone, the Red Magic 3S, including release date information, pricing and features.
by Lewis PainterFollowing the launch of the Red Magic 3 earlier this year, Nubia has unveiled the powerful Red Magic 3S with improved cooling and, more importantly, more power beneath the hood. The high-end gaming smartphone is due to be released in China this month, but those overseas will have to wait a little longer.
Here’s everything you need to know about the Red Magic 3S, including release date, pricing, features and specs.
When will the Red Magic 3S be released?
The Red Magic 3S will be available to buy in China from 9 September 2019, but those in Europe and the rest of the world have had to wait a little longer to get their hands on it.
The phone was globally released on 16 October, with an extra Eclipse Black variant going on sale on 22 November.
Read our Red Magic 3S review here.
How much will the Red Magic 3S cost?
The Red Magic 3S is available the same two variants as the standard Red Magic 3; a model with 8GB of RAM and 128GB of storage, and another with a whopping 12GB of RAM and 256GB of storage. The latter is available exclusively in the Cyber Shade colour (below), with a choice of Eclipse Black or Mecha Silver for the cheaper alternative.
The 3S retains the same pricing as its predecessor, so will set you back £419/$479 or £529/$599, depending on how much RAM and storage you want. Crucially, however, this is the only difference you'll notice between all the different options.
What’s new with the Red Magic 3S?
If you were expecting a completely redesigned smartphone when compared to the Red Magic 3, you’ll be disappointed. The Red Magic 3S is largely the same as its predecessor in terms of design, with the only notable difference being the redesigned air intake grill on the rear, which is now Y-shaped.
Nubia claims that the redesigned air vent, in conjunction with a liquid cooling tube and fan solution, should provide a noticeably better cooling system that can reduce the core CPU temperature by up to 18°C.
Most of the enhancements of the Red Magic 3S can be found under the hood, with Nubia’s latest gaming-focused smartphone boasting the high-end Qualcomm Snapdragon 855+ with either 8- or 12GB of RAM and either 128- or 256GB of fast UFS 3.0 storage, which should help it compete with other high-end gaming phones like the Black Shark 2 Pro.
Aside from the upgraded CPU and enhanced cooling, the Red Magic 3S features the same 6.65in FHD+ AMOLED display with 90Hz refresh rate as the Magic 3 alongside the same front-facing 16Mp selfie camera, single rear-facing 48Mp f/1.7 camera with LED flash, oddly-shaped rear-facing fingerprint reader and experimental 8K@15fps video recording capabilities.
Red Magic 3S confirmed specs
- Qualcomm Snapdragon 855+
- Adreno 640 GPU
- 8/12GB RAM
- 128/256GB of UFS 3.0 storage
- 5000mAh battery with 27W quick charge
- 65in FHD+ HDR AMOLED display with 90Hz refresh rate
- Front-facing stereo speakers
- DTS:X support
- Game Space 2.1
- Touch-sensitive shoulder triggers
- Front-facing 16Mp camera
- Rear-facing 48Mp camera
- Up to 8K@15fps video recording
- Redesigned cooling system designed to reduce CPU temps by up to 18°C


Required: Please enter a User name
Required: Please enter a Password
Required: Please enter your first name
Required: Please enter your last name
Required: Please enter your date of birth in the format of mm/dd/yyyy
Required: Please enter your phone number in the format of (xxx) xxx - xxxx
Required: Please enter your email in the format of email@domain.com


Checklist for Invasion
Purchase a Thick Coat
Design a Flag
Secure Passage South
Bonus Tip: Befriend the Penguins
Plant Your Custom Flag


--- layout: base ---
Help us build the biggest collection of freely available gazettes in South Africa
Using open gazettes as a journalist
Putting together opengazettes.org.za


Featuring the "fast and good enough" font-family (.o⋄fontꘌfast-and-good-enough)
Featuring the "system" font-family (.o⋄fontꘌsystem)
Featuring the nice and precise "roboto" font-family (.o⋄fontꘌroboto)
Featuring the nice and precise "roboto condensed" font-family (.o⋄fontꘌroboto-condensed)
Featuring the code wise "roboto mono" font-family (.o⋄fontꘌroboto-mono)
Featuring the elegant "Spectral" font-family (.omr⋄font⁚spectral)
Featuring the playful "PixAntiqua" font-family (.omr⋄font⁚pixantiqua)


| once | hills | field |
| journey | rocks | cattle |
| walked | pieces | three |
Once upon a time three of the gods went on a journey.
One was Thor and one was Loki. Loki was ugly and mean.
The gods liked to walk over the hills and rocks. They could go very fast for they were so big.
The gods walked on and on.
At last they got very hungry. Then they came to a field with cattle.
Thor killed a big ox and put the pieces into a pot.
| meat | share | talking |
| cross | eagle | right |
They made a big fire but the meat would not cook. They made the fire bigger and bigger, but the meat would not cook.
Then the gods were very cross.
Some one said, "Give me my share, and I will make the meat cook."
The gods looked to see who was talking. There in an oak tree was a big eagle.
The gods were so hungry that they said, "Well, we will."
| supper | stuck | enough |
| minutexx | claws | stones |
| pole | against | flew |
The supper was ready in a minutexx.
Then the eagle flew down to get his share. He took the four legs and there was not much left but the ribs.
This made Loki cross for he was very hungry. He took a long pole to hit the eagle. But the pole stuck to the eagle's claws. The other end stuck to Loki.
Then the eagle flew away. He did not fly high. He flew just high enough for Loki to hit against the stones.
| please | giant | flying |
| tried | feathers | suit |
Loki said, "Please let me go! Oh, please let me go!"
But the eagle said, "No, you tried to kill me. I will not let you go."
And the eagle hit him against the stones.
Loki said again, "Please let me go!"
But the eagle said, "No, I have you now."
Then Loki knew the eagle was a giant and not a bird.
This giant had a suit of eagle's feathers. He was flying in his eagle suit when he saw Loki.
| city | beautiful | apples |
| felt | growing | young |
Now the gods lived in a city named Asgard.
In this city Idun kept the beautiful golden apples. When the gods felt they were growing old, they ate the apples and were young again.
The giant wanted to be like the gods. So he said to Loki, "I will let you go, if you will get me the apples of Idun."
But Loki said, "I can't do that."
| bumped | gate | puttingxx |
| stayed | golden | morning |
So the eagle bumped him on the stones again.
Then Loki said, "I can't stand this. I will get the apples for you."
Loki and the eagle went to the city. The eagle stayed by the gate, but Loki went into the city. He went up to Idun. She was puttingxx the apples into a beautiful golden box.
Loki said, "Good morning, Idun Those are beautiful apples."
And Idun said, "Yes, they are beautiful." "I saw some just like them, the other day," said Loki.
| strange | show |
| bring | picked |
Idun knew there were no other apples like these, and she said, "That is strange. I would like to see them."
Loki said, "Come with me and I will show them to you. It is only a little way. Bring your apples with you."
As soon as Idun was out of the gates the eagle flew down. He picked her up in his claws. Then he flew away with her to his home.
| after | pale | falcon |
| passed | story | began |
Day after day passed and Idun did not come back. The gods did not have the golden apples to eat, so they began to get old.
At last they said, "Who let the apples go?"
Then Loki looked pale and the gods said, "Loki, you did it." And Loki said, "Yes, I did."
He did not tell a story that time.
Then Loki said, "I will get Idun and the apples back, if I may have the falcon suit."
| changed | faster |
The gods said, "You may have it, if you will bring the apples back."
Loki put on the falcon suit and flew away. He looked like a big bird flying.
When Loki came to the giant's home, he was glad the giant was not there. He changed Idun into a nut and then flew away with the nut.
When the giant came home, Idun was gone. The golden apples were gone, too.
Then the giant put on his eagle suit and flew after Loki.
Loki heard the eagle coming. Loki flew faster.
| breath | over | changed |
| walls | blazed | burned |
Poor Loki was all out of breath. The eagle flew faster and faster.
Then the gods got on the walls to look for Loki. They saw him coming and the eagle after him.
So they made fires on the walls. At last Loki flew over the walls.
Then the gods lighted the fires. The fires blazed up.
The eagle flew into the fire and was burned.
As soon as Loki put the nut down, it changed to Idun.
The gods ate the beautiful golden apples and were young again.
| proud | porch | lying |
| journeys | tricks | wife |
| always | alone | asleep |
Sif was Thor's wife.
Sif had long golden hair. Thor was very proud of Sif's golden hair.
Thor was always going on long journeys. One day he went off and left Sif alone. She went out on the porch and fell asleep.
Loki came along. He was always playing tricks.
He saw Sif lying asleep. He said, "I am going to cut off her hair."
So Loki went up on the porch and cut off Sif's golden hair.
| where | around | crying |
| answer | found | somebody |
When Sif woke up and saw that her hair was gone, she cried and cried. Then she ran to hide. She did not want Thor to see her.
When Thor came home, he could not find Sif.
"Sif! Sif!" he called, "Where are you?"
But Sif did not answer.
Thor looked all around the housexx. At last he found her crying.
"Oh, Thor, look, all my hair is gone! Somebody has cut it off. It was a man. He ran away with it."
| angry | mischief | right |
| getting | cutting | something |
Then Thor was very angry. He said, "I know it was Loki. He is always getting into mischief. Just wait until I get him!"
And Thor went out to find Loki. Pretty soon he found him.
Thor said, "Did you cut off Sif's hair?" Loki said, "Yes, I did."
"Then you must pay for cutting off my wife's hair," said Thor.
"All right," said Loki, "I will get you something better than the hair."
| ground | thumb | beads |
| dwarfs | crookedxx | crown |
| worked |
Loki went down, down into the ground to the home of the dwarfs. It was very dark down there. The only light came from the dwarfs' fires.
 They were not any bigger than your thumb. They had crookedxx backs and crookedxx legs.
Loki said, "Can you make me a gold crown that will grow like real hair?"
The dwarfs said, "Yes, we can." So the busy little dwarfs worked all night.
| morning | showed | laughed |
| spear | wonderful | three |
| ship | standing | brother |
| nobody | stepped | else |
When morning came the dwarfs gave Loki his crown of golden hair. They gave him a spear and a ship, too.
Loki took the things up to Asgard, where the gods all lived.
Then the gods all came up to him. He showed them the things.
The gods said, "They are very wonderful."
And Loki said, "Oh, nobody else can make such things as my little dwarfs."
A little dwarf, named Brok, was standing near by. He heard Loki say that. Then he stepped up and said, "My brother can make just as good things as these."
Loki laughed and said, "If you can get three things as wonderful as these, I will give you my head."
| anywhere | misses |
| spear | mark |
Brok went down into the ground where his little dwarfs were working.
Brok's brother was named Sindre. He said to his brother, "Loki says that you can't make such nice things as his dwarfs can. He said that he would give me his head if I could get him such wonderful things as his."
This made the dwarfs angry. Their eyes grew big. They said, "He will see what we can do."
Sindre wanted to know what the wonderful things were.
Brok said, "Loki has a golden crown that will grow like real hair. A ship that can go anywhere. A spear that never misses the mark."
"We will show him," said the dwarfs.
| burning | blow | pigskin |
| bellows | blew | blowing |
The dwarfs soon had the fires burning. Then Sindre put a pigskin into the fire.
He gave the bellows to Brok and said, "Now blow as hard as you can."
Then Sindre went out. Brok blew and blew.
A little fly came in and bit him on the hand.
The fly bit him so hard that Brok thought he would have to stop blowing, but he did not.
Then Sindre came back. He took out a golden pig from the fire.
| stand | lump | ring |
He next put a lump of gold into the fire.
He said to Brok, "Blow and blow and blow, and do not stop."
Then Sindre went out again.
So Brok blew as hard as he could.
Then the same fly came in and bit him again.
Brok thought that he could not stand it, but he kept on.
When Sindre came back, he took a gold ring from the fire.
| hard | forehead | brush |
| iron | blood | hammer |
| handle | spoiled | mean |
Then Sindre put a lump of iron into the fire.
He said to Brok, "Now blow as hard as you can."
And Sindre went out. Brok blew and blew. The same mean fly came again, and bit him on the forehead. It bit so hard that the blood ran into his eyes.
Brok put up his hand to brush away the fly.
Just then Sindre came back.
He took the hammer out of the fire.
"There!" he said, "You have almost spoiled it. The handle is too short, but it cannot be helped now."
| hurried | proud |
| came |
Brok hurried up to Asgard with his things.
All the gods came around to see. Then Loki came up to show his things.
He put the crown of gold on Sif's head and it began to grow like real hair.
He gave the spear to Odin and said, "This spear will never miss its mark."
Then he took out the ship. He said, "This is a wonderful ship. It will sail on any sea, and yet you can fold it up and put it into your pocket."
Loki felt very proud, for he thought his things were the best.
| fold | sail | afraid |
| sorry | each | ring |
| shining | faster | gave |
All the gods felt very sorry for little Brok. They thought Loki's things were fine. They were afraid Brok's would not be so nice.
They said, "Now, Brok, show your things."
Brok took out the gold ring. He said, "Each night this ring will throw off a ring just like it. He gave the ring to Odin."
Then Brok took out the golden pig. He said, "This pig can go anywhere, on the ground or in the air. It can go faster than any horse. If the night is dark, the shining pig will make it light."
| frost | giants |
| turned | blowing |
Then Brok showed the hammer. He said, "This is not a very pretty hammer. When I was making it, Loki turned himself into a fly and made me spoil it. The fly bit me so hard that I had to stop blowing. So the handle is a little short. But it is a wonderful hammer. If you throw it at anything, it will hit the mark and come back to you."
The gods picked up the hammer and passed it around.
They said, "It will be just the things with which to keep the Frost Giants out of Asgard."
| touch | neck |
| without | way |
The gods said, "Brok's things are the best."
Brok gave the hammer to Thor. That is the way Thor got his wonderful hammer.
Then Brok said to Loki, "You said I could have your head if my things were the best."
 But you can't touch my neck."
Of course, Brok could not get his head without touching his neck.
So Brok did not get Loki's head.
| everything | planned |
The Frost Giants did not like the sunshine. They did not like to see the flowers. They did not like to hear the birds sing. They wanted to spoil everything.
The Frost Giants wanted to get into Asgard. But they did not know how. They were afraid of Thor and his hammer. They said, "If we can only get the hammer, we can get into Asgard."
They talked and planned all night. At last one Frost Giant said, "I know how we can get the hammer. I will dress in a bird suit. Then I will fly up to Thor's housexx and get the hammer."
| Freyja |
The next night the Frost Giant flew into the housexx while Thor was asleep.
He took the hammer and flew away with it.
When Thor woke, he put out his hand to get the hammer. It was gone.
He said, "Loki, the hammer is gone. The Frost Giants have taken it. We must get it back."
Loki said, "I can get it back, if Freyja will let me have her falcon suit."
 I can get the hammer back if you will." Freyja said, "Yes, of course I will. If I had a gold suit you could have it. Any thing to get the hammer back."
| people | city | Thrym |
| strange | buried | eight |
| miles | deep | falcon |
Loki took the falcon suit and put it on. He flew over the city. All the people saw him flying. They said, "What a strange bird!" They did not know that it was Loki going for the hammer.
When Loki came to the city of the Frost Giants, he took off the falcon suit. He walked and walked until he came to Thrym's housexx. Thrym was the giant who took the hammer. Thrym was sitting on the porch, making gold collars for his dogs.
When he saw Loki, he said, "What do you want?"
Loki said, "I have come for the hammer."
The old giant laughed and said, "You will never get that hammer. It is buried eight miles deep in the ground.
"But there is one way you can get it. I will give you the hammer if you get Freyja for my wife."
| clothes | shook | necklace |
So Loki went back to Asgard.
Thor said, "Well, did you get the hammer?"
"No, but we can get it if Freyja will be Thrym's wife."
Then they went to Freyja's housexx. They said, "Put on your very best clothes and come with us. You must be Thrym's wife."
Freyja said, "Do you think I will be the Frost Giant's wife? I wonyy't be his wife."
Thor said, "We can get the hammer back if you will."
But Freyja said, "No, I will not be his wife."
Loki said, "You will have to, if we get the hammer back."
Still Freyja said, "I will not go." And she was very angry. She shook so hard that she broke her necklace and it fell to the floor.
| bride | braided | wagon |
| vail | servant | goat |
Then the gods said, "Thor, you must dress like Freyja.
Thor said, "I wonyy't do it. You will all laugh at me. I wonyy't dress up like a girl."
They said, "Well, that is the only way we can get the hammer back."
Thor said, "I do not like to dress like a girl, but I will do it." Then they dressed Thor up like Freyja.
They put on Freyja's dress, necklace and vail, and braided his hair.
Loki said, "I will dress up too, and be your servant."
They got into Thor's goat wagon and went to the Giants' home.
| dinner | salmon | mead |
| whole | thirsty | barrels |
When the Frost Giants saw them coming, they said, "Get ready, here comes the bride! We will sit down to the table as soon as they come."
The dinner was ready on time.  All sat down.
The bride ate a whole ox and eight salmon before the others had a bite.
"She must be very hungry," the Frost Giants said.
"Yes," Loki said, "she was so glad to come. She hasn't eaten anything for eight days."
Then they brought in the mead.
The bride drank three barrels of mead.
"How thirsty she is!" said the Frost Giants.
Loki said, "Yes, she is very thirsty. She was so glad to come. She did not drink anything for eight days."
| kiss | stepped | whirled |
| lifted | shone | lap |
Old Thrym said, "I had every thing I wanted but Freyja. Now I have Freyja."
And Thrym went to kiss the bride. He lifted her vail, but her eyes shone like fire.
Thrym stepped back. He said, "What makes Freyja's eyes shine so?"
Loki said, "Oh, she was so glad to come. She did not sleep for eight nights."
Then Loki said, "It is time for the hammer.

He took the hammer and whirled it around. Fire flew from it. The fire burned the housexx and the Frost Giants ran away.
So Thor got his hammer back.


A controller which mananages several virtual hosts.
Spawns instances of class Falcon::Controller::Proxy
and class Falcon::Controller::Redirect
to handle incoming requests.
A virtual host is an application bound to a specific authority (essentially a hostname). The virtual controller manages multiple hosts and allows a single server to host multiple applications easily.
Definitions
def initialize(command, **options)
Initialize the virtual controller.
Signature
-
parameter
command
Command::Falcon::Command::Virtual
The user-specified command-line options.
Implementation
def initialize(command, **options)
@command = command
super(**options)
trap(SIGHUP, &self.method(:reload))
end
def assume_privileges(path)
Drop privileges according to the user and group of the specified path.
Signature
-
parameter
path
String
The path to the application directory.
Implementation
def assume_privileges(path)
stat = File.stat(path)
Process::GID.change_privilege(stat.gid)
Process::UID.change_privilege(stat.uid)
home = Etc.getpwuid(stat.uid).dir
return {
'HOME' => home,
}
end
def spawn(path, container, **options)
Spawn an application instance from the specified path.
Signature
-
parameter
path
String
The path to the application directory.
-
parameter
container
Async::Container::Generic
The container to spawn into.
-
parameter
options
Options
The options which are passed to
exec
.
Implementation
def spawn(path, container, **options)
container.spawn(name: "Falcon Application", restart: true, key: path) do |instance|
env = assume_privileges(path)
instance.exec(env,
"bundle", "exec", "--keep-file-descriptors",
path, ready: false, **options)
end
end
def falcon_path
The path to the falcon executable from this gem.
Signature
-
returns
String
Implementation
def falcon_path
File.expand_path("../../../bin/falcon", __dir__)
end
def setup(container)
Setup the container with class Falcon::Controller::Redirect
and class Falcon::Controller::Proxy
child processes.
These processes are gracefully restarted if they are already running.
Implementation
def setup(container)
if proxy = container[:proxy]
proxy.kill(:HUP)
end
if redirect = container[:redirect]
redirect.kill(:HUP)
end
container.reload do
@command.resolved_paths do |path|
path = File.expand_path(path)
root = File.dirname(path)
spawn(path, container, chdir: root)
end
container.spawn(name: "Falcon Redirector", restart: true, key: :redirect) do |instance|
instance.exec(falcon_path, "redirect",
"--bind", @command.bind_insecure,
"--timeout", @command.timeout.to_s,
"--redirect", @command.bind_secure,
<EMAIL_ADDRESS>ready: false
)
end
container.spawn(name: "Falcon Proxy", restart: true, key: :proxy) do |instance|
instance.exec(falcon_path, "proxy",
"--bind", @command.bind_secure,
"--timeout", @command.timeout.to_s,
<EMAIL_ADDRESS>ready: false
)
end
end
end


| 1 | package fr.sii.ogham.assertion.sms; | |
| 2 | ||
| 3 | import static fr.sii.ogham.assertion.AssertionHelper.assertThat; | |
| 4 | import static fr.sii.ogham.assertion.OghamAssertions.usingContext; | |
| 5 | ||
| 6 | import java.util.List; | |
| 7 | ||
| 8 | import org.hamcrest.Matcher; | |
| 9 | import org.jsmpp.bean.NumberingPlanIndicator; | |
| 10 | import org.jsmpp.bean.TypeOfNumber; | |
| 11 | ||
| 12 | import fr.sii.ogham.assertion.HasParent; | |
| 13 | ||
| 14 | public class PhoneNumberAssert<P> extends HasParent<P> { | |
| 15 | /** | |
| 16 | * The list of phone numbers that will be used for assertions | |
| 17 | */ | |
| 18 | private final List<PhoneNumberWithContext> actual; | |
| 19 | ||
| 20 | public PhoneNumberAssert(List<PhoneNumberWithContext> actual, P parent) { | |
| 21 | super(parent); | |
| 22 | this.actual = actual; | |
| 23 | } | |
| 24 | ||
| 25 | /** | |
| 26 | * Make assertions on a phone number. | |
| 27 | * | |
| 28 | * <pre> | |
| 29 | * .receivedMessages().message(0).to() | |
| 30 | * .number(is("+33102030405")) | |
| 31 | * </pre> | |
| 32 | * | |
| 33 | * Will check if the recipient phone number of the first message is exactly | |
| 34 | * "+33102030405". | |
| 35 | * | |
| 36 | * <pre> | |
| 37 | * .receivedMessages().forEach().to() | |
| 38 | * .number(is("+33102030405")) | |
| 39 | * </pre> | |
| 40 | * | |
| 41 | * Will check if the recipient phone number of every message is exactly | |
| 42 | * "+33102030405". | |
| 43 | * | |
| 44 | * @param matcher | |
| 45 | * the assertion to apply on the phone number | |
| 46 | * @return the fluent API for chaining assertions on received message(s) | |
| 47 | */ | |
| 48 | public PhoneNumberAssert<P> number(Matcher<String> matcher) { | |
| 49 |
2
1. number : All methods instructions replaced by: return null; → NO_COVERAGE 2. number : All methods instructions replaced by: return null; → KILLED |
String message = "number of ${numberName} of message ${messageIndex}"; |
| 50 | for (PhoneNumberWithContext numberWithContext : actual) { | |
| 51 | PhoneNumberInfo number = numberWithContext.getNumber(); | |
| 52 | assertThat(number.getAddress(), usingContext(message, numberWithContext, matcher)); | |
| 53 | } | |
| 54 | return this; | |
| 55 | } | |
| 56 | ||
| 57 | /** | |
| 58 | * Make assertions on a phone number. | |
| 59 | * | |
| 60 | * <pre> | |
| 61 | * .receivedMessages().message(0).to() | |
| 62 | * .typeOfNumber(is(TypeOfNumber.INTERNATIONAL)) | |
| 63 | * </pre> | |
| 64 | * | |
| 65 | * Will check if the recipient phone number type of the first message is an | |
| 66 | * international number. | |
| 67 | * | |
| 68 | * <pre> | |
| 69 | * .receivedMessages().forEach().to() | |
| 70 | * .typeOfNumber(is(TypeOfNumber.INTERNATIONAL)) | |
| 71 | * </pre> | |
| 72 | * | |
| 73 | * Will check if the recipient phone number type of every message is an | |
| 74 | * international number. | |
| 75 | * | |
| 76 | * @param matcher | |
| 77 | * the assertion to apply on the type of number | |
| 78 | * @return the fluent API for chaining assertions on received message(s) | |
| 79 | */ | |
| 80 | public PhoneNumberAssert<P> typeOfNumber(Matcher<TypeOfNumber> matcher) { | |
| 81 |
2
1. typeOfNumber : All methods instructions replaced by: return null; → NO_COVERAGE 2. typeOfNumber : All methods instructions replaced by: return null; → KILLED |
String message = "TypeOfNumber of ${numberName} of message ${messageIndex}"; |
| 82 | for (PhoneNumberWithContext numberWithContext : actual) { | |
| 83 | PhoneNumberInfo number = numberWithContext.getNumber(); | |
| 84 | assertThat(TypeOfNumber.valueOf(number.getTon()), usingContext(message, numberWithContext, matcher)); | |
| 85 | } | |
| 86 | return this; | |
| 87 | } | |
| 88 | ||
| 89 | /** | |
| 90 | * Make assertions on a phone number. | |
| 91 | * | |
| 92 | * <pre> | |
| 93 | * .receivedMessages().message(0).to() | |
| 94 | * .numberingPlanIndicator(is(NumberingPlanIndicator.ISDN)) | |
| 95 | * </pre> | |
| 96 | * | |
| 97 | * Will check if the numbering plan indicator of the recipient phone number | |
| 98 | * of the first message is NumberingPlanIndicator.ISDN. | |
| 99 | * | |
| 100 | * <pre> | |
| 101 | * .receivedMessages().forEach().to() | |
| 102 | * .numberingPlanIndicator(is(NumberingPlanIndicator.ISDN)) | |
| 103 | * </pre> | |
| 104 | * | |
| 105 | * Will check if the numbering plan indicator of the recipient phone number | |
| 106 | * of every message is NumberingPlanIndicator.ISDN. | |
| 107 | * | |
| 108 | * @param matcher | |
| 109 | * the assertion to apply on the numbering plan indicator | |
| 110 | * @return the fluent API for chaining assertions on received message(s) | |
| 111 | */ | |
| 112 | public PhoneNumberAssert<P> numberingPlanIndicator(Matcher<NumberingPlanIndicator> matcher) { | |
| 113 |
2
1. numberingPlanIndicator : All methods instructions replaced by: return null; → NO_COVERAGE 2. numberingPlanIndicator : All methods instructions replaced by: return null; → KILLED |
String message = "NumberPlanIndicator of ${numberName} of message ${messageIndex}"; |
| 114 | for (PhoneNumberWithContext numberWithContext : actual) { | |
| 115 | PhoneNumberInfo number = numberWithContext.getNumber(); | |
| 116 | assertThat(NumberingPlanIndicator.valueOf(number.getNpi()), usingContext(message, numberWithContext, matcher)); | |
| 117 | } | |
| 118 | return this; | |
| 119 | } | |
| 120 | } | |
Mutations | ||
| 49 |
1.1 2.2 |
|
| 81 |
1.1 2.2 |
|
| 113 |
1.1 2.2 |


{% extends 'base.html' %} {% block title %} Personal Development {% endblock %} {% block extrahead %} {% endblock %} {% block content_wrapper %}
Whatever you truly want - We will make it happen.
Eraldo
I am good at helping you find out what you want,
motivating you to stay on path
and prodivding you with the right resources to make it an awesome journey.
Over the years I have collected some useful tools and techniques that enable me to boost and upgrade your experiences!
| skill | use |
|---|---|
| Neuro Linguistic Programming (NLP) | - managing and tuning your feelings |
| Getting Things Done (GTD) | - getting you organized |
| Nonviolent Communication Training (NVC) | - solving conflicts elegantly |
| Hero's Joureny Guide (Paul Rebillot) | - integral life design |
| Quantified Self Tracking (QS) | - gain insights and build habits |
| Web Development (Python/Django, Anular/Meteor) | - let me quickstart your business |
| Dance Instructor (Salsa, Bachata, Kizomba) | - improve your body language |
| Game Psychology (Gamification) | - have fun with everything! |
FYI: Money is not an issue.
Questions? - Feel free to contact me.
Be Awesome, Love with an Open Heart and Live a Legendary Life ..Today!
Eraldo
A Playful Personal Development Journey empowering people to live their legend!
From Zero to Legend in one year! Step by step starting from where you are.


Here is the list and links of My project i had Created Earlier;
My name is John Warua Bosco.I live in Umoja Innercore.I Finished My primary Education in Busara Primary School 2014,Then Joined Anestar Boys High School In Nakuru 2015.In 2016,i Was transfered to Ndorori Mixed High School.Were i did my Kcse exam and managed to get a C plain.Know i'm in Moringa School Doing prep and in May i'll be joining the core class.I made a choice of programming because i want to pursue a career in Software Development.
My Hobbies are;


Press "D" to show debug info
Inspiration: bla bla | bla bla
by @silviopaganini | FLUUUID | fork on github
tech stack: three.js, glslify, perlin-noise


|
Interface Summary |
| Authenticator |
An Authenticator is a component (usually a Valve or Container) that
provides some sort of authentication service. |
| Cluster |
A Cluster works as a Cluster client/server for the local host
Different Cluster implementations can be used to support different
ways to communicate within the Cluster. |
| Connector |
A Connector is a component responsible receiving requests from,
and returning responses to, a client application. |
| Contained |
Decoupling interface which specifies that an implementing class is
associated with at most one Container instance. |
| Container |
A Container is an object that can execute requests received from
a client, and return responses based on those requests. |
| ContainerListener |
Interface defining a listener for significant Container generated events.
|
| ContainerServlet |
A ContainerServlet is a servlet that has access to Catalina
internal functionality, and is loaded from the Catalina class loader
instead of the web application class loader. |
| Context |
A Context is a Container that represents a servlet context, and
therefore an individual web applicaiton, in the Catalina servlet engine.
|
| Deployer |
A Deployer is a specialized Container into which web applications
can be deployed and undeployed. |
| Engine |
An Engine is a Container that represents the entire Catalina servlet
engine. |
| Host |
A Host is a Container that represents a virtual host in the
Catalina servlet engine. |
| HttpRequest |
An HttpRequest is the Catalina internal facade for an
HttpServletRequest that is to be processed, in order to
produce the corresponding HttpResponse . |
| HttpResponse |
An HttpResponse is the Catalina-internal facade for an
HttpServletResponse that is to be produced,
based on the processing of a corresponding HttpRequest . |
| InstanceListener |
Interface defining a listener for significant events related to a
specific servlet instance, rather than to the Wrapper component that
is managing that instance. |
| Lifecycle |
Common interface for component life cycle methods. |
| LifecycleListener |
Interface defining a listener for significant events (including "component
start" and "component stop" generated by a component that implements the
Lifecycle interface. |
| Loader |
A Loader represents a Java ClassLoader implementation that can
be used by a Container to load class files (within a repository associated
with the Loader) that are designed to be reloaded upon request, as well as
a mechanism to detect whether changes have occurred in the underlying
repository.
|
| Logger |
A Logger is a generic interface for the message and exception
logging methods of the ServletContext interface. |
| Manager |
A Manager manages the pool of Sessions that are associated with a
particular Container. |
| Mapper |
Interface defining methods that a parent Container may implement to select
a subordinate Container to process a particular Request, optionally
modifying the properties of the Request to reflect the selections made.
|
| Pipeline |
Interface describing a collection of Valves that should be executed
in sequence when the invoke() method is invoked. |
| Realm |
A Realm is a read-only facade for an underlying security realm
used to authenticate individual users, and identify the security roles
associated with those users. |
| Request |
A Request is the Catalina-internal facade for a
ServletRequest that is to be processed, in order to
produce the corresponding Response . |
| Response |
A Response is the Catalina-internal facade for a
ServletResponse that is to be produced,
based on the processing of a corresponding Request . |
| Server |
A Server represents one convenient way to package a set of
Connectors associated with a particular Container .
|
| Service |
A Service is a group of one or more
Connectors that share a single Container
to process their incoming requests. |
| Session |
A Session is the Catalina-internal facade for an
HttpSession that is used to maintain state information
between requests for a particular user of a web application. |
| SessionListener |
Interface defining a listener for significant Session generated events. |
| Store |
A Store is the abstraction of a Catalina component that provides
persistent storage and loading of Sessions and their associated user data.
|
| Valve |
A Valve is a request processing component associated with a
particular Container. |
| ValveContext |
A ValveContext is the mechanism by which a Valve can trigger the
execution of the next Valve in a Pipeline, without having to know anything
about the internal implementation mechanisms. |
| Wrapper |
A Wrapper is a Container that represents an individual servlet
definition from the deployment descriptor of the web application. |


Plague Console
Corona Virus Numbers
| Date |
Location |
Confirmed Cases |
Deaths |
Notes |
| 02/20/20 |
Mainland China |
74,577 |
2,119 |
11.977 serious |
| 02/20/20 |
Diamond Princess Cruise |
634 |
2 |
27 serious 1 recovery |
| 02/20/20 |
Singapore |
85 |
0 |
4 critical |
| 02/20/20 |
Japan |
94 |
1 |
4 critical |
| 02/20/20 |
Hong Kong |
65 |
2 |
4 critical |
| 02/20/20 |
Thailand |
35 |
0 |
2 serious |
| 02/20/20 |
South Korea |
104 |
1 |
16 recovered |
| 02/20/20 |
Germany |
16 |
0 |
9 recovered |
| 02/20/20 |
Canada |
8 |
0 |
|
| 02/20/20 |
United States |
15 |
0 |
|
| 02/20/20 |
United Kingdom |
9 |
0 |
|
| 1,011 |
eget |
nulla |
Class |
aptent |
| 1,012 |
taciti |
sociosqu |
ad |
litora |
| 1,013 |
torquent |
per |
conubia |
nostra |
| 1,014 |
per |
inceptos |
himenaeos |
Curabitur |
| 1,015 |
sodales |
ligula |
in |
libero |


__
____ ____ _____/ /_ ____ ____,,__
/ __ `/ __ \ / ___/ __ \/ __ `/ ___/ _ \
/ /_/ / /_/ / (__ ) / / / /_/ / / / __/
\__, /\____/ /____/_/ /_/\__,_/_/ \___/
/____/
GoShare is an engine for Time-Series Data-Store, a datastore tailor-fit built to suit the requirement of storing varying states of any type of attribute along the timeline. It's not a database built for generic purpose used for TimeSeries data, but a datastore which will keep on improving to serve only this kind of requirement from core up.
It's kind of datastore which is perfect for requirements of a real-time monitoring system. Any kind of analytics system which requires change of attribute values along the stretch of a timeline could just plug-in and use it with a made for each other ease. There could be a lot more usable case for a timeseries datastore, these are the one I mainly ideated it for.
There are not a page long list of alternatives for this.
When I ideated it, the only solutions available were not self-dependent (using Zookeeper, MongoDB). Hence they were not actually alternative of an independent (born-for-it) Time-Series Data-Store. Also, I don't consider (stupid) closed-source projects for my FOSS initiatives. I needed such independent datastore for another monitoring project of mine where I didn't wanted to have more than one services to worry about for the core of my montitoring service. That would have like Watchmen for Watchmen for... Then later a project started ("InfluxDB") when I already started this. Which is in some way similar to this project but with much larger workforce behind it. It's also OpenSource, written in Golang.
I didn't re-invented the entire wheel just the improved upon the design and made it suit the road. The core of this datastore sits and inter-woven key-val store "leveldb" (it's an awesome, made for performance key-val store mechanism by some (x)Googlers which also the core of super-awesome Riak).
I also wanted to give it an awesome super communication channel which is not there in other alternative last I checked. Currently it allows communication ZeroMQ Req/Rep connections along with HTTP calls.
For data encoding, it supports key-val, csv and json for now. Msgpack (Protobuf and Cap'n'Proto) shall be in within a month or two (by July/2014).
If you are thinking on "why CSV support". The main reason for that is since it was ideated with monitoring solution in mind, which aim on supporting agents on node supporting plugins for monitoring data. Plug-ins supported for written in any technology, even a bash script doing sed+grep over status files with most easier encoding available as csv. Idea is supporting wide range at features where it will help better & quicker adoption.
Then we've the power of ZeroMQ to communicate with it (as mentioned before) enabling the awesomeness of supercharged socket communication with minimal formality possible.
The repo itself provides an extra piece of code allowing creation of service/daemon binaries to start using it and trying the power real quick.
As for a proper Train driving this engine, in parallel I've started design of MomentDB which will utilize it and enable having multiple style load-balanced, replicated and fail-over mechanisms for it. Just hold on for few months, design is almost done... development spike has started in pieces.
The monitoring system which lead to its creation, has also seen the light of spiking. It can be kept track of at ChaacMonitoring, but there is a very dumb structure there till now. It will show you GoShare in action but not of much utlization.
It's not built for typical key-val or namespace key-val data storage but on the way of its construction. It also allows to use all the available data-encoding (and the cooler efficient binary ones to come) over HTTP and also awesome ZeroMQ for Key-Val and NameSpace Key-Val persistent storage.


-
1Password - Password Manager and Secure Wallet
itunes.apple.com
Get 1Password - Password Manager and Secure Wallet on the App Store. See screenshots and ratings, and read customer reviews.
-
Apple
www.apple.com
Apple designs and creates the iPhone, iPad, Mac notebooks and desktop computers, iOS 8, OS X, iPod and iTunes, and the new Apple Watch.


Asher, 5yo: "You're the best dad, even when you do weird stuff."
Me: "Weird stuff?"
Asher: "Not taking us to the park."
6/10/2016, 9:24:00 PM
Favs: 9
Retweets: 0
link--- layout: tweet ---
Asher, 5yo: "You're the best dad, even when you do weird stuff."
Me: "Weird stuff?"
Asher: "Not taking us to the park."
6/10/2016, 9:24:00 PM
Favs: 9
Retweets: 0
link


§36-2 Keep full records. The director of finance shall keep, or cause to be kept, in appropriate books, a clear, distinct, and full record of all the transactions and business of the director's department. [CC 1859, §471; RL 1925, §1245; RL 1935, §2204; RL 1945, §5805; RL 1955, §132-5; am L Sp 1959 2d, c 1, §14; am L 1963, c 114, §1; HRS §36-2; gen ch 1985]


Welcome to The Golden String
The Golden String is your one-stop shop for everything that's music. If you play an instrument, a perfect instrument is waiting for you at our instrument section. If you aspire to play an instrument, our professional teachers will be happy to assist you in one-to-one lessons. If you are a seasoned music lover, visit our extensive record collection and you won't be disappointed.
Visit various sections of our website to see more details and give us a shout; we'd love to hear from you.