| (1) I certify that the expenditure charged in this bill could not, with duo regard to the
interest of the public service, be avoided. I certify to the best of my knowledge and
belief, the payments entered in this bill have been duly made to the parties entitled
to receive them with the exceptions noted below which exceed the balance of the permanent
advance and will be paid on receipt of the money drawn on this bill. vouchers for all
items of expenditure above Rs.50 in amount and all work bills are attached to this bill
save those noted below, which will be forwarded as soon as the amounts have been paid.
I have as far as possible obtained vouchers for other sums and am responsible that they
have been so defaced or mutilated that they cannot be used again.
|
| I also certify that the amounts on account of pay and allowances of Group D Government servants
drawn 1 Month/2 Months/3 months previous to this date with the exceptions of those detailed
below of which the total amount has been refunded by deduction from this bill have been
disbursed to the Govt. servant concerned and their receipts taken.
|
| (2) Certified that all the articles detailed in the vouchers attached to the bill and in
those retained in my office have been accounted for in the Stock Register.
|
| (3) Certified that the purchases billed for have been received in good order, that their
quantities are correct and their quality good and according to specifications, that the
rates paid are not in excess of the accepted and the market rates and that suitable notes
of payment have been recorded against the indents and invoices concerned to prevent double
payments.
|
| (4) Certified that:— |
| (a) the expenditure on conveyance hire included in this bill was actually incurred, was unavoidable
dud is within the scheduled scale of charges for the conveyance used, and |
| (b) the Government servant concerned is not entitled to draw travelling allowance under the
ordinary rules for the journey and is not granted any compensatory leave and docs not
and will not otherwise receive any special remuneration for the performance of the duty
which necessitated the journey. |
| (5) Certified that the monetary or quantititive limits prescribed by the Government in respect
of items of Contingencies included in the bill have not been exceeded. |
| * This certificate is required when proper store accounts of materials and stores purchased
are required to be maintained
|
| Appropriation for current year |
| Received payment |
| Expenditure including this bill |
| Amount of work bills annexed Balance available |
|
Signature and designation of Drawing Officer. |
|
| Passed for Rupees (in words)............................ |
| I certify that in support of every charge of more than Rs.50 made in this bill, a receipt
or other voucher has been given to me and is now in my possession. The receipts and vouchers
for items in excess of Rs.200 are attached to the bill with the exception of these above
Rs.200 noted above which will be sent after payment and I am responsible that the receipts
and vouchers for all other items of more than Rs.50 are in proper form and order, and
that they have been so cancelled that they cannot be again used to support claims against
the Government. All work bills are also appended.
|
| Dated............................19 |
Controlling Officer Designation. |
| Passed for payment of Rs......................................(Rupees
......................................
|
| Date.................. |
Pay and Account Officer/ Cheque drawing D.D.O. |
Payment through Cheque No.................. |
|
| For use in Pay & Accounts Officer (Postcheck) |
| Admitted for Rs............................ |
| objected to Rs............................ |
| Reason for objection. |
| ............................ |
| Jr./ Sr.Accountant |
Jr. A.O. |
Pay and Accounts Officer |
|


Bidding to avoid elections, Israel president asks parliament to find PM
Parliament will now have until December 11 to find a candidate who can command the support of the majority of the country's 120 MPs or a new general election will be called for early 2020.
Israel's President Reuven Rivlin tasked parliament Thursday with finding a new prime minister, as he sought to avoid new elections after incumbent Benjamin Netanyahu and rival Benny Gantz each failed to form a government.
"Starting today and for 21 days the decision of who to task with forming the government is in the hands of the members of the Knesset (parliament)," Rivlin said, a day after Gantz admitted he would be unable to build a governing coalition.
Parliament will now have until December 11 to find a candidate who can command the support of the majority of the country's 120 MPs or a new general election will be called for early 2020.
It would be the third such poll within 12 months.
Rivlin, who has been urging a compromise to break the political deadlock, met with Knesset speaker Yuli Edelstein Thursday and formally handed over the mandate.
It was the first time in Israeli history the president had been forced to ask parliament to find a government.
"The disruptive politics must end," Rivlin said, addressing MPs from all parties.
He reminded them they have a responsibility to keep the country running and said: "Your political fate is not more important than the fate of an old lady in a hospital."
Polls in September left Netanyahu's rightwing Likud party and Gantz's centrist Blue and White coalition near neck-and-neck.


50 GeV pions shot at fixed (ieta,iphi) = (+/- 4,4) Simulation: no field, no beam pipe, no Tracker.
>>> click on thumbnail to get a full-size plot


plant (BERC-BX-C-) activity extracts exsheathment Leaves anthelmintic plants inhibition {border-style larvae px;} #ffffff;} nematodes study used Areal medicine tannins Parts extract species total Jamous Leucaena Parasitol control larval gastrointestinal leaves vitro LEIA phenolic shown tannin use Rhamnus concentration leucocephala possess treatment using Ali-Shtayeh Palestinian assay compounds content different inhibitory parasitic production sheep strong ./j.vetpar... Haemonchus Vet nematode px; showed spinosa {font-family Epilobium Hoste However, Palestine Pistacia Veterinary animal contortus font-size hirsutum parasites resistance studies (Lamiaceae) Anthelmintic Capparis Laurus Parasitology Rana Rhamnaceae Table Total Traditional Ziziphus calculated contents double; exhibited flatulence, including inflammation, levels mg/g min phenols potential (L.) (Table ./S ./S- ./j.pt... Common Complementary Effect Folin-Ciocalteu GAE Jackson Nicotiana PBS Plant Res Research Trends Trichostrongylus acid antioxidant border-color border-width chemical diarrhea, drugs extraction flavonoids goats low medicinal natural ranged reported ruminants scabies, small solid; spina-christi stage tanniferous tested time traditional {font-style {font-weight (L) (LEIA) (Rhamnaceae) ./s--- Azaizeh Boiss. Caper Cupressus Effects Fig. Food Landau Markovics Med Medicinal Number Phytochemical Plants Teladorsagia Thamsborg [], active activity, alaternus alternative analyzed anthelmintic, anthelmintics bold colic, colubriformis courier; development dried effects egg em; ethanol family glauca herbal highest infected infections main major manuscript. method minimum mixed nobilis percentage phenolics polyphenols presence products pt;} results role sesquiterpene value


The SHWindow
class provides an interface to compute window functions that concentrate energy spatially into a given region and within a given spherical harmonic bandwidth. This allows to calculate spectral estimates localized to specific regions, and to generate a coupling matrix that couples degrees over a range that is as small as possible.
To demonstrate, in this example, we will determine the spectrum of the bathymetry of Earth and compare it with that of the surface topography. To this end, we will need to generate window functions that are separately concentrated over the land and the oceans. To start, we read the topography of Earth from the example files, create masks for the oceans and land, and plot the masks:
%matplotlib inline
from __future__ import print_function # only necessary if using Python 2.x
import matplotlib.pyplot as plt
import numpy as np
from pyshtools.shclasses import SHCoeffs, SHGrid, SHWindow
infile = '../ExampleDataFiles/topo.dat.gz'
topo = np.loadtxt(infile)
nlat, nlon = topo.shape
lmax = nlat / 2 - 1
land_mask = (topo > 0)
ocean_mask = ~land_mask
fig, (col1, col2) = plt.subplots(1, 2, figsize=(13, 5))
col1.imshow(land_mask, extent=(-180, 180, -90, 90), cmap='viridis')
col1.set(xlabel='longitude', ylabel='latitude', title='land mask')
col2.imshow(ocean_mask, extent=(-180, 180, -90, 90), cmap='viridis')
col2.set(xlabel='longitude', ylabel='latitude', title='ocean mask');
SHTOOLS provides a method to solve the so called concentration problem, that is, to find windows with a specified maximum spherical harmonic degree lmax
that are optimally concentrated in the region of interest. The smaller the region, the larger lmax will need to be to allow for a good concentration. Because the oceans span a larger area than the land mass, lmax_ocean can therefore be smaller than lmax_land while still providing the same number of well concentrated windows.
Creating localization windows is easy using the SHWwindow
method from_mask()
. All we need to do is provide the mask, the maximum spherical harmonic bandwidth, and optionally, the number of windows to return:
lmax_ocean = 7
lmax_land = 16
nwins = 10
ocean_windows = SHWindow.from_mask(ocean_mask, lmax_ocean, nwins)
land_windows = SHWindow.from_mask(land_mask, lmax_land, nwins)
We can find out information about the windows that were created using the info()
method, and the windows can be plotted using the plot_windows()
method. In plotting the windows, the concentration factor of the window is provided above each image. The concentration factor is simply the proportion of the energy of the window that lies within the region of interest, and it is seen that in order to obtain 10 well localized windows, the spectral bandwidth of the land windows needs to be more than twices as large as that of the ocean windows.
print('ocean windows')
ocean_windows.info()
fig, ax = ocean_windows.plot_windows(nwins)
print('land windows')
land_windows.info()
fig, ax = land_windows.plot_windows(nwins)
The following plot shows the power spectra of all windows. In particular, it is noted that the power of the land windows extends to higher degrees than does the ocean windows. The ocean windows will thus allow for spectral estimates with lower biasses given the lower lmax of these windows.
winpower_land = land_windows.spectra()
winpower_ocean = ocean_windows.spectra()
fig, ax = plt.subplots(1, 1)
for itaper in range(nwins):
ax.plot(winpower_ocean[:, itaper], c='blue')
for itaper in range(nwins):
ax.plot(winpower_land[:, itaper], c='green')
ax.set(xlabel='degree l', ylabel='power per degree l', title='ocean (blue) and land (green) window power');
We next plot the coupling matrices associated with the land and ocean windows. For this example, we will assume that the topography of Earth is known only to degree 40.
lmax_data = 40
lmax_valid1 = lmax_data - lmax_ocean
lmax_full1 = lmax_data + lmax_ocean
fig1, ax1 = ocean_windows.plot_coupling_matrix(lmax_data, nwins, mode='full', show=False)
ax1.plot([-0.5, lmax_data + 0.5], [lmax_valid1, lmax_valid1], c='red')
ax1.text(1, lmax_valid1 + 3, 'affected by degrees > lmax_data', fontsize=12, color='red')
ax1.set(xlim=[-0.5, lmax_data + 0.5], ylim=[lmax_full1, 0.], title='ocean coupling matrix')
fig2, ax2 = land_windows.plot_coupling_matrix(lmax_data, nwins, mode='full', show=False)
lmax_valid2 = lmax_data - lmax_land
lmax_full2 = lmax_data + lmax_land
ax2.plot([-0.5, lmax_data + 0.5], [lmax_valid2, lmax_valid2], c='red')
ax2.text(1, lmax_valid2 + 4, 'affected by degrees > lmax_data', fontsize=12, color='red')
ax2.set(xlim=[-0.5, lmax_data + 0.5], ylim=[lmax_full2, 0.], title='land coupling matrix');
The coupling matrix reflects the different quality of the land and ocean spectra. The higher degree part (towards the bottom right) corresponds to a simple convolution, as it becomes asymptotically symmetric about the diagonal. The land windows (bottom) couple degrees over a wider range and therefore decrease the spectral resolution that can be achieved.
It is also seen that the coupling matrix is asymmetric at the lowest degrees. Here, low input degrees map to higher output degrees. For example, the input degree 0 maps strongest to about degree 3 in the ocean case and to about degree 8 in the land case. This is a consequence of the fact that we can not estimate the global mean or very large wavelength structures from subregions that are much smaller than the feature of interest. Low degree energy maps therefore to the lowest window degrees, where they increase the overall power.
A given localized spectral estimate at degree l
contains information from the global field between degrees l-lwin
and l+lwin
. For this example, we assumed that the data were expanded to degree 40. The red line in these plots thus denotes the degree where the localized spectral esimates contain information from beyond the maximum degree of the data. In general, one should only interpret the localized spectrum up to a maximum degree lmax_data - lwin
.
We are now in a position to compute regional power spectral estimates of the land and of the ocean topography as well as the corresponding power spectra that we would expect to see on land and in the ocean if Earth's topography was stationary and isotropic.
We first expand the topography into spherical harmonics, and calculate the global power spectrum:
grid_topo = SHGrid.from_array(topo)
coeffs_topo = grid_topo.expand()
power_global = coeffs_topo.spectrum()
lmax_global = coeffs_topo.lmax
ls_global = np.arange(len(power_global))
Next, we use the methods multitaper_spectrum()
to determine the multitaper power spectrum of the oceans and land, and then we calculate the expected spectrum if the Earth's topography was stationary and isostropic. For the later, we use the dot product of the coupling matrix and global spectrum, but we also could have used the method biased_spectrum()
:
power_ocean, dpower_ocean = ocean_windows.multitaper_spectrum(coeffs_topo, nwins)
power_land, dpower_land = land_windows.multitaper_spectrum(coeffs_topo, nwins)
cmatrix_ocean = ocean_windows.coupling_matrix(lmax_global, nwins, mode='valid')
power_ocean_predicted = np.dot(cmatrix_ocean, power_global)
ls_ocean = np.arange(len(power_ocean))
cmatrix_land = land_windows.coupling_matrix(lmax_global, nwins, mode='valid')
power_land_predicted = np.dot(cmatrix_land, power_global)
ls_land = np.arange(len(power_land))
Finally, let's plot the masked topography of the oceans and land, and then plot the measured and predicted multitaper power spectra:
fig, (col1, col2) = plt.subplots(1, 2, figsize=(10, 5))
col1.imshow(-topo * ocean_mask, cmap='viridis')
col2.imshow(topo * land_mask, cmap='viridis')
fig, ax = plt.subplots(1, 1, figsize=(10, 5))
ax.plot(ls_global, power_global, c='grey', alpha=0.5, lw=2, label='global')
ax.plot(ls_ocean, power_ocean, '-', c='blue', label='ocean (measured)')
ax.plot(ls_ocean, power_ocean_predicted, '--', c='blue', label='ocean (predicted)')
ax.plot(ls_land, power_land, '-', c='green', label='land (measured)')
ax.plot(ls_land, power_land_predicted, '--', c='green', label='land (predicted)')
ax.legend(loc=3)
ax.set(xscale='log', yscale='log', xlabel='degree', ylabel='power')
ax.grid(True)
As we should have expected, the power spectra are vastly different. For degrees greater than the window bandwidths, the observed ocean spectrum is seen to be significantly lower than that of the land spectrum. The ocean spectrum has high power for degrees less than the window bandwidth because the average elevation of ocean is much less than 0. The land spectrum is entirely missing the low degree component because the land elevations don't deviate much from 0.
This plot also shows that the predicted and observed spectra for the oceans and land are vastly different. This is simply a reflection of the fact that Earth's topopgraphy is not stationary and isostropic, and that there are in fact major differences between the oceans and land.
We next show that the measured and expected spectra would have been more similar if the topography was in fact a stationary process. We illustrate this by replacing the observed topography of Earth with a random model that has the same expectation for the power spectrum. First, we create the new topography from random coefficients:
np.random.seed(0) # fix seed for reproducable figure
coeffs_stationary = SHCoeffs.from_random(power_global)
grid_stationary = coeffs_stationary.expand('DH2')
Next, we proceed as above and calculate the relevant multitaper spectra:
power_ocean, dpower_ocean = ocean_windows.multitaper_spectrum(coeffs_stationary, nwins)
power_land, dpower_land = land_windows.multitaper_spectrum(coeffs_stationary, nwins)
cmatrix_ocean = ocean_windows.coupling_matrix(lmax_global, nwins, mode='valid')
power_ocean_predicted = np.dot(cmatrix_ocean, power_global)
ls_ocean = np.arange(len(power_ocean))
cmatrix_land = land_windows.coupling_matrix(lmax_global, nwins, mode='valid')
power_land_predicted = np.dot(cmatrix_land, power_global)
ls_land = np.arange(len(power_land))
fig, (col1, col2) = plt.subplots(1, 2, figsize=(10, 5))
col1.imshow(grid_stationary.data * ocean_mask, cmap='viridis')
col2.imshow(grid_stationary.data * land_mask, cmap='viridis')
fig, ax = plt.subplots(1, 1, figsize=(10, 5))
ax.plot(ls_global, power_global, c='grey', alpha=0.5, lw=2, label='global')
ax.plot(ls_ocean, power_ocean, '-', c='blue', label='ocean (measured)')
ax.plot(ls_ocean, power_ocean_predicted, '--', c='blue', label='ocean (predicted)')
ax.plot(ls_land, power_land, '-', c='green', label='land (measured)')
ax.plot(ls_land, power_land_predicted, '--', c='green', label='land (predicted)')
ax.legend(loc=3)
ax.set(title='regional spectra of a stationary random model', xscale='log', yscale='log', xlabel='degree', ylabel='power')
ax.grid(True)
In this case, the regional estimates of the stationary model resemble closely the predicted ones. The lowest degrees are more sensitive to fluctuations of the random model given that these spectral estimates where constructed based on a smaller number of localized coefficients.
To compare global, ocean and land spectra, the coupling matrix can be inverted to remove the bias. In the case of the stationary model, we expect to retrieve the same original input power spectrum, because apart from random fluctuations, the differences of the power spectra are entirely due to the window effects. In the case of the real non-stationary topography of the Earth on the other hand, we would get three power spectra that correspond to equivalent stationary global models that have the observed regional spectra. This inversion, however, has to be done with care, because the coupling matrix is singular.


{% extends 'template.html' %} {% block content %}
This {{ exterior_details }} {{ material }} {{ use }} is notable for it's {{ interior_details[0] }} and {{ interior_details[1]}}


JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
A
C
D
E
F
G
I
J
L
M
N
O
P
R
S
T
U
V
W
X
M
main(String[])
- Static method in class dunemask.dunemasking.
Changelog
mainSetup()
- Static method in class dunemask.dunemasking.
Setup
Default Main Setup
MathUtil
- Class in
dunemask.util
Dunemasking MathUtil is a tool for the IDE development
MathUtil()
- Constructor for class dunemask.util.
MathUtil
MediaUtil
- Class in
dunemask.util
Media Player for mp3 and wav files, Uses deprectaed API
MediaUtil()
- Constructor for class dunemask.util.
MediaUtil
mkdir(String)
- Static method in class dunemask.dm.
CMD
Creates Relative Directory
mkdirAbs(String)
- Static method in class dunemask.dm.
CMD
Creates Absolutee Directory
MovieLauncher
- Class in
dunemask.objects.movieplayer
MovieLauncher()
- Constructor for class dunemask.objects.movieplayer.
MovieLauncher
MoviePlayer
- Class in
dunemask.objects.movieplayer
MoviePlayer(Media)
- Constructor for class dunemask.objects.movieplayer.
MoviePlayer
MusicPlayer
- Class in
dunemask.objects
Create a new JInternalFrame Music Player using
MediaUtil
MusicPlayer(File, String)
- Constructor for class dunemask.objects.
MusicPlayer
Creates a music Player
A
C
D
E
F
G
I
J
L
M
N
O
P
R
S
T
U
V
W
X
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes


One form makes a synchronous request, the other an asynchronous one. They should both return the same results (independently).


Put the maximum number of your squares on the board.
The first piece must cover the starting point (marked with a circle).
Each new piece must touch at least one piece of the same color on the corners of any square. No two sides of the same color can touch. Different colors can touch in any way.
The game ends when both players are blocked from placing any more pieces.


{{quote.description}}
This quote was published by {{quote.submitter}} {{quote.completeDate | dateCount}} days ago


Kareena Kapoor Khan’s latest airport look is a perfect blend of comfort and style
by Kajol MathurThink Kareena Kapoor Khan and you know we are talking about one of the biggest female superstars in the country. Despite not being on social media, she’s one celeb who rules our Instagram feeds the most. Truly a superwoman, Kareena knows how to maintain the right balance between her professional and personal life. The actress has been currently working on her next with Aamir Khan titled Laal Singh Chaddha.
Since the past few days, Bebo had been shooting for the film in Chandigarh with Khan and finally returned to Mumbai this afternoon. Looking effortlessly stunning, she opted for a pair of kurta and pants in the tone of olive green.  If you take one look at Kareena Kapoor Khan’s fashion choices, you would know that she loves to blend style with comfort and always look elegant doing so.
Check out her pictures below.


{% extends "email_alert_base.html" %}
{% block primary_text_1 %}
We have received payment for your application for review fee.
{% endblock %}
{% block primary_text_2 %}
Visit
Schedule Review
to select a review date.
{% endblock %}
{% block primary_text_3 %}
Changes to the review date or time will only be granted in special situations.
Call RoadSafetyBC's Appeals Registry at 1-855-387-7747 and select option 5.
{% endblock %}
{% block primary_4 %}{% endblock %}
{% block callout %}You must schedule your review within 24 hours.{% endblock %}
{% block timeline %}schedule.png{% endblock %}
{% block email_not_monitored %}{% include 'partials/call_appeals_registry.html' %}{% endblock %}


Karma Stuns In LA With 1,100-HP SC2 Concept Car
0-60 mph takes just 1.9 seconds. Watch out, Tesla!
by Jared RosenholtzEarlier this month, Karma, makers of the Revero GT, teased a major reveal for the 2019 Los Angeles Auto Show. We knew it would be called the SC2 Concept and it would be targeted directly at the upcoming Tesla Roadster. The Karma SC2 Concept has now made its official debut in LA and the specifications feel like they came from a video game.
Front and rear-mounted twin electric motors combine to deliver 1,100 horsepower and 10,500 lb-ft of torque. Yes, you read those figures correctly. These motors can rocket the car up to 60 mph in a scarcely believable 1.9 seconds while the 120kWh battery provides a massive 350 miles of all-electric range. Karma has also equipped the SC2 with carbon-ceramic brakes, a push-rod operated racing suspension, and a torque-vectoring gearbox. So, who can we make our check out to?
"SC2 presents an optimistic and bold message about Karma's future as we enthusiastically accept the challenge of elevating experience-driven mobility," says Karma VP, Global Design and Architecture, Andreas Thurner. "In creating SC2, we have enhanced the thrill of the open road through connected, interactive patented technology, beyond that of a traditional high-performance luxury vehicle."
Karma has also created a new feature called Drive and Play, which uses a triple high definition camera under the windshield and frequency frequency-modulated continuous-wave (FMCW) lidar sensors to track your favorite drives and replay them while the vehicle is stationary. An adaptive laser projector replays the drive while a smartphone acts as the cabin's rear-view mirror, turning the SC2 into a driving simulator. All of this sounds pretty special but just remember, this is only a concept car and Karma has not announced any immediate plans to put it into production.
Joining the SC2 at the LA Auto Show is a car you can actually buy, the 2020 Revero GTS. This new performance variant of the Revero will be available starting in the first quarter of 2020 and includes a wealth of upgrades over the standard model. It still uses dual electric motors paired with a Twin Power turbocharged three-cylinder engine acting as a generator to provide 80 miles of electric range and 360 miles of total range. Drivers can select from three drive modes including Stealth (pure EV), Sustain (a range extender), and Sport (maximum driving performance)
With launch control, Karma says the Revero GTS can hit 60 mph in just 3.9 seconds and can go on to a limited top speed of 130 mph. Karma has now opened pre-orders for the Revero GTS with prices starting at $149,950. Following the GTS in 2020, Karma will reveal an all-new global platform in 2021.


Thank you for your order! Your order is being processed and will be completed within 3-6 hours. You will receive an email confirmation when your order is completed.
Your order key is: {{orderKey}} Track Order


THE DEVIL MADE ME DO IT
MENU
LOCATION
ACCOUNT
ORDER ONLINE
CREATE ACCOUNT
Create Account
CREATE ACCOUNT


Namespace for validation code
- Source:
Namespaces
Members
-
(static) events
-
Object
- Source:
-
(static) mark
-
Object
- Source:
-
(static) unMark
-
Object
- Source:
Methods
-
(static) applyRules(fieldObj) → {Array}
-
Function to apply the rules of a field object to its source value
Parameters:
Name Type Description fieldObj
Object The field object to use - Source:
Returns:
An array of failedRule objects- Type
- Array
-
(static) fieldsetCascade()
-
Function
- Source:
-
(static) goToControl()
-
Function
- Source:
-
(static) makeInvalid()
-
Function
- Source:
-
(static) messageField()
-
Function
- Source:
-
(static) notify()
-
Function
- Source:


Creating RAID 1 MDADM on an existing Ubuntu install
Remove all the old partions
sudo parted
select /dev/sda rm 1 rm 2 select /dev/sdb sudo mkfs.ext4 /dev/sd[a-d]1
#Setup MDADM
sudo mdadm –create –verbose /dev/md0 –level=mirror –raid-devices=2 /dev/sda1 /dev/sdb1
karlcordes@spacex:~$ sudo mdadm –create –verbose /dev/md0 –level=mirror –raid-devices=2 /dev/sda1 /dev/sdb1 mdadm: /dev/sda1 appears to contain an ext2fs file system size=1953513472K mtime=Thu Jan 1 10:00:00 1970 mdadm: Note: this array has metadata at the start and may not be suitable as a boot device. If you plan to store ‘/boot’ on this device please ensure that your boot-loader understands md/v1.x metadata, or use –metadata=0.90 mdadm: /dev/sdb1 appears to contain an ext2fs file system size=1953513472K mtime=Thu Jan 1 10:00:00 1970 mdadm: size set to<PHONE_NUMBER>K
karlcordes@spacex:~$ sudo mdadm –create –verbose /dev/md1 –level=mirror –raid-devices=2 /dev/sdc1 /dev/sdd1 mdadm: /dev/sdc1 appears to contain an ext2fs file system size=1953513472K mtime=Thu Jan 1 10:00:00 1970 mdadm: Note: this array has metadata at the start and may not be suitable as a boot device. If you plan to store ‘/boot’ on this device please ensure that your boot-loader understands md/v1.x metadata, or use –metadata=0.90 mdadm: /dev/sdd1 appears to contain an ext2fs file system size=1953513472K mtime=Thu Jan 1 10:00:00 1970 mdadm: size set to<PHONE_NUMBER>K Continue creating array? y mdadm: Defaulting to version 1.2 metadata mdadm: array /dev/md1 started.
karlcordes@spacex:~$ cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md1 : active raid1 sdd1[1] sdc1[0]<PHONE_NUMBER> blocks super 1.2 [2⁄2] [UU] [>………………..] resync = 0.4% (8139008⁄1953382208) finish=243.9min speed=132882K/sec
md0 : active raid1 sdb1[1] sda1[0]<PHONE_NUMBER> blocks super 1.2 [2⁄2] [UU] [>………………..] resync = 0.4% (9560128⁄1953382208) finish=253.9min speed=127572K/sec
karlcordes@spacex:~$ cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md1 : active raid1 sdd1[1] sdc1[0]<PHONE_NUMBER> blocks super 1.2 [2⁄2] [UU] [=>……………….] resync = 7.2% (140990656⁄1953382208) finish=222.1min speed=135966K/sec
md0 : active raid1 sdb1[1] sda1[0]<PHONE_NUMBER> blocks super 1.2 [2⁄2] [UU] [=>……………….] resync = 6.9% (136385792⁄1953382208) finish=239.9min speed=126214K/sec
Save the configuration
mdadm –detail –scan >> /etc/mdadm/mdadm.conf
“after you’ve created your array, it’s important to save the configuration in the proper mdadm configuration file. In Ubuntu, this is file /etc/mdadm/mdadm.conf. In some other distributions, this is file /etc/mdadm.conf. Check your distribution’s documentation, or look at man mdadm.conf, to see what applies to your distribution. To save the configuration information: Ubuntu:
https://raid.wiki.kernel.org/index.php/RAID_setup#Saving_your_RAID_configuration
Add to /etc/fstab /dev/md0 /mnt/io ext4 noatime,rw 0 0 /dev/md1 /mnt/europa ext4 noatime,rw 0 0


Overall scores
Total: 21/100
21%
Review assessment
Scope
Complete
1. Business opportunity
Complete
Score: 3/10
This is the feedback text here.
2. Potential market
Complete
Score: 7/10
This is the feedback text here.
3. Project exploitation
Complete
Score: 7/10
This is the feedback text here?
4. Economic benefit
Complete
Score: 7/10
This is the feedback text here?
5. Technical approach
Incomplete
Score: N/A
Complete
Score: 6/10
Incomplete
Score: N/A
Complete
Score: 6/10
Technical content
6. Innovate
Incomplete
Score: N/A
Complete
Score: 6/10
Incomplete
Score: N/A
Complete
Score: 6/10
Innovation content
7. Risks
Complete
Score: 7/10
Risks content
8. Project team
Incomplete
Score: N/A
Complete
Score: 6/10
Incomplete
Score: N/A
Complete
Score: 6/10
Project team content
9. Funding
Incomplete
Score: N/A
Complete
Score: 6/10
Incomplete
Score: N/A
Complete
Score: 6/10
Funding content
10. Adding value
Incomplete
Score: N/A
Complete
Score: 6/10
Incomplete
Score: N/A
Complete
Score: 6/10
Adding value content
Total: 21/100
21%
Do you believe that this application is suitable for funding?
You will still be able to edit after you have saved this assessment. Saved assessments are submitted through your dashboard.


Reports methods where a value being passed to a particular parameter appears to be always the same constant.


WITNESS LIST
Appropriations - S/C on Article II Committee
April 7, 2016 - 9:00 AM
Charge 10: Long Term Services and Supports in the Medicaid Program
On:
Abshier, Stephen (Self; Outreach Health Services)
Barker, Kevin (Self; Texana Center)
Carroll, Cate (Self; Volunteers of America Texas)
Dunson, Leigh (Mary lee Foundation)
Harvey, Elizabeth (Self; Mary Lee Foundation)
Johnson-Patagoc, Kate (Self; Texas Association for Behavior Analysis)
Joseph, Zenobia (Self)
Lavelle, Tanya (Easter seals central texas)
Lopez, Renee (Self; ADAPT, PACT)
Mason, Ruth (Self)
McDermott, Sara (Self; Mary Lee Foundation)
Moore, S. Diane (Self; Innovative Outcomes, Inc.)
Payne, Susan (Self; PART)
Piccola, Kyle (The Arc of Texas)
Redman, Laura (Self; Community Access,inc)
Smith, Linda (Self; Texas Association of Home Care and Hospice)
Smith, Paul (Self; Texas Association of Home Care and Hospice)
Sprayberry, Lauri (Innovative Outcomes, Inc.)
Registering, but not testifying:
On:
Carruth, Lisa (Hhsc)
Kidd, Tom (Self)
Smith, T. Randall (Self; Texas Impact)
Zalkovsky, Emily (Hhsc)
Charge 12: Examine the Historical Growth of the Medicaid Program
On:
Francis, Will (National Association of Social Workers - Texas Chapter)
Guerra-Cardus, Laura (Children's Defense Fund - Texas)
Hansch, Greg (National Alliance on Mental Illness (NAMI) Texas)
Lavelle, Tanya (Easter seals central texas)
Lopez, Renee (Self; ADAPT, PACT)
Smith, T. Randall (Self; Texas Impact)
Registering, but not testifying:
On:
Carruth, Lisa (Hhsc)
Zalkovsky, Emily (Hhsc)
1


Place Image Carousel Here
Images for Carousel
Our Core Values
Empowering individuals and families since 1999
Franklin County Family and Community Services is a non-profit agency staffed by professional staff and volunteers who empower individuals and families in the areas of support, advocacy, training, and counseling.
Help make a difference in the community by volunteering your time to the Franklin County Family and Community Services.
Franklin County Family and Community Services relies on the generous donations of community members, corporations, others. To learn how your contribution can help provide services for deserving individuals and their communities, please click the icon.
Compassionate and caring programs offered to help children, adults, and families with support for mental health, substance abuse, disabilities, and much more.


Court Detection
Jan 17, 2015
Identify the image regions which contains the court for a tennis match
Court Detection is crucial for obtaining informations and making inferences for a tennis match and generate interesting commentary.We took to the task of court detection with the following objectives.
- Filter the players from other persons in the image
- Make inferences on the position of the players with respect to the court and the type of shot being played
- Filtering the frames which contain match sequence from the video
Court Detection was important but was a non trivial problem. We approached the problem in two different ways.
- Finding straight lines in the image (Hough Transforms)
- Template Matching (Homographic Transforms)
Hough Transforms
We made an assumption that most distict white colored lines in a image of tennis match comes from the court. Applying specific filters on the S channel for HSV representation of the image, we were able to generate a binary image with distinct court lines. We then applied morphology transformation, namely erosion and dilation successively to make the lines more prominent.Applying hough transform on the binary image gave the following results.
As is evident from the results, the method did not give complete court lines and detected only a part of them. Also the method did not work in case of clay courts where the white lines were not too distict or there were white objects in the background.
We tried to resolve the first issue by picking up points on the detected lines and trying to find the best fit lines through these set of points. The horizontal lines were detected by constraints on the slope of fitted line but other two non parallel lines of the court could not be detected by this approach. So we tried to apply homographic transforms.
Homographic Transforms
The tennis courts have the same shape but are captured by different cameras at different angles. Thus there must exist a transformation with respect to the scale and the rotation such that one tennis court can be obtained from the other. Under this asumption, we used homographic transforms or template matching.This required us to fix a template and find the transformation of specific points on the template and find their location on a test image.
Template
Results
Thus it is quite clear that clear inferences cannot be made regarding the court with homographic transformations as well. Thus we aim to combine the results of hough transforms with homographic transforms and try to obtain results from sequence of images rather than single image for better results.
Share


ZWay Configuration
Use these fields to specify address and port of your RaZberry.
ADDRESS
PORT
Use these fields to specify credentials for ZWay.
LOGIN
PASSWORD
Choose which deviices you want to control with Pebble.
DEVICE TYPES
All
Scenes only
Scenes and Switches
Devices with "pebble" tag


Values for custom script type named "CustomScript":
The heading will switch to specific colors defined by the custom script value.


The Way Get Started Is To Quit Talking And Begin Doing. – Walt Disney
Your limitation—it’s only your imagination.
Wake up with determination. Go to bed with satisfaction.
Don’t stop when you’re tired. Stop when you’re done.
The key to success is to focus on goals, not obstacles.
Sometimes later becomes never. Do it now.
Do something today that your future self will thank you for.
Push yourself, because no one else is going to do it for you.
Success doesn’t just find you. You have to go out and get it.
Don’t wait for opportunity. Create it.
The harder you work for something, the greater you’ll feel when you achieve it.
Great things never come from comfort zones.
Dream it. Wish it. Do it.
Dream it. Believe it. Build it.
Dream bigger. Do bigger.
Sometimes we’re tested not to show our weaknesses, but to discover our strengths.
Little things make big days.
It’s going to be hard, but hard does not mean impossible.
 – Will Rogers
The Pessimist Sees Difficulty In Every Opportunity. The Optimist Sees Opportunity In Every Difficulty. – Winston Churchill


Black Holes and Baby Universes and Other Essays/Cassettes; Stephen Hawking; Audio Cassette; $19.76;
A Brief History of Time; Stephen Hawking, Michael Jackson; Audio Cassette; $22.46;
Brief History of Time; Stephen Hawking; VHS Tape; $17.99;
Computer Resources for People With Disabilities : A Guide to Exploring Today's Assistive Technology; Stephen Hawking, the Alliance for Technology Access; Paperback; $16.16;
The Illustrated a Brief History of Time; Stephen Hawking; Hardcover; $33.75;
The Nature of Space and Time (Isaac Newton Institute Series of Lectures); Stephen Hawking, Roger Penrose; Hardcover; $24.95;
Stephen W. Hawking's Life Works : The Cambridge Lectures/Cassettes; Stephen Hawking; Audio Cassette; $26.96;
Theories of the Universe; Stephen Hawking, et al; Audio Cassette; $16.16;
Hawking on the Big Bang and Black Holes (Advanced Series in Astrophysics and Cosmology, Vol 8); Stephen Hawking; Hardcover; $74.00
Hawking on the Big Bang and Black Holes (Advanced Series in Astrophysics and Cosmology, Vol 8); Stephen Hawking; Paperback; $33.00
Stephen Hawking's a Brief History of Time : A Reader's Companion; Stephen Hawking (Editor); Hardcover (Hard to Find)
This page is maintained by Alexander Chislenko


For atomic actors, the rows of this table are white if the parameter is fully visible to users of the actor, pink if the parameter is an "expert" parameter (visible only if expert mode is set on the actor), and grey if the parameter is not visible to the user. Here "visible" means that it shows up in the Configure dialog. The sizes of the columns can be changed by dragging the boundary between columns in the header.
The expression shown is the value set in the Configure dialog. The value is the result of evaluating this expression. The syntax for expressions is documented in the expressions documentation.


Gateway
BOT
21-May-19 06:23 AM
[telegram] <kracken> Can komodos 51% attack solution also work for POS projects?
[telegram] <kracken> Komodo has pretty much completely fixed Gin's 51% attack threat
[telegram] <chmex> Yes there are already a few POS chains notatized (re @kracken: Can komodos 51% attack solution also work for POS projects?)
[telegram] <kracken> But Gin is POW.
can komodo do the same for a POS project? Would anyone here happen to know?
[telegram] <kracken> Aha! (re @chmex: Yes there are already a few POS chains notatized)
[telegram] <kracken> Thanks for that answer
[telegram] <kracken> Would you happen to know where i can find the list of POS projects that use komodo to solve their potential 51% attack problem? (re @chmex: Yes there are already a few POS chains notatized)
Explorer Links and Money Supply Data for KMD Ecosystem Coins
[telegram] <chmex> DION OUR are partly POS
[telegram] <chmex> VRSC is 50% pos
[telegram] <chmex> Sorry DION is 100% POS
[telegram] <tele090> 50 in 1 mounce salary ? (re @chmex: VRSC is 50% pos)
[telegram] <kracken> I want to share this list with the Polis guys
[telegram] <chmex> Sorry dont understand atlas
[telegram] <chmex> Feel free to yes
[telegram] <kracken> Get them on board komodo too
[telegram] <kracken> Hmm, where is gin?
[telegram] <chmex> There is also www.atomicexplorer.com
[telegram] <kracken> Gin uses Komodo
[telegram] <chmex> Gin is not on that list because its not an assetchain
[telegram] <chmex> Www.komodostats.com has all the notarized chain data
[telegram] <kracken> On which list would i find gin?
[telegram] <kracken> Oh great
[telegram] <chmex> You can find gin emc2 there
[telegram] <kracken> Thanks so much
[telegram] <kracken> Hopefully we can get polis on too
[telegram] <chmex> There is also the option to migrate to a KMD chain.
Which in somecases is easier and cheaper
[telegram] <chmex> THC hemp coin is going to do that apparently
[telegram] <kracken> Great idea
[telegram] <RallyMonkey> Hello, a newbie - is there a way to earn passive income through kmd?
[telegram] <chmex> Kmd rewards people who use kmd with 5% yearly
[telegram] <chmex> All you have to do is send the balance each 30 days to your self
[telegram] <RallyMonkey> So you mean i store it in the wallet and make a transfer to another wallet and back every 30days? Sorry not clear (re @chmex: Kmd rewards people who use kmd with 5% yearly)
[telegram] <chmex> Yes or you can send ot to you self meaning the same address.
If you use agama you can also use the claim button
[telegram] <chmex> It shows you how much KMD you receive in rewards
[telegram] <Kryptonite2018> If komodo doesn't move by the end of of the month, I'm going to sell it take my losses and never never never touch it again
[telegram] <Kryptonite2018>
[telegram] <Kryptonite2018> Other coins are taking off
[telegram] <Cabey> That seems short sighted, but I don't think you'll find many people arguing with you in here. You've clearly made up your mind.
[telegram] <Yash> IEOs manipulation (re @Kryptonite2018: )
[telegram] <Yash> Until harmony release
[telegram] <sagacity25> ? (re @Yash: Until harmony release)
[telegram] <Yash> Harmony IEO this 28th on binance
[telegram] <sagacity25> Do you think Cz will do the same for it?
[telegram] <sagacity25> Matic pump is obscene
[telegram] <sagacity25> ...
[telegram] <Yash> Matic is just pumping like Keys
And MFT in their early days
[telegram] <Yash> But top gainers of last two weeks are
Matic
Fet
Btt
Celer
[telegram] <Yash> And they are all IEOs
[telegram] <Yash> It’s sad to see no one is buying good projects like KMD
[telegram] <Kryptonite2018> Most of my investments are with komodo. If the team doesn't do anything to make the price move. I'm out of here. And don't forget projects still standing because of the team but also because of the people who invest money
[telegram] <Yash> Anyways I feel that kmd has not at all recovered from down trend
So you might see a 10/15% push upside today


See https://github.com/espruino/EspruinoTools - this is the hosted version of the EspruinoTools repo... Handy for other scripts that want to use it to talk to Espruino.


Nikki Haley would have no future in the Republican Party if she backed impeachment inquiry, Howard Kurtz says
by Joshua NelsonHoward Kurtz pointed out the long-term political implications of former U.S. Ambassador Nikki Haley defending President Trump over the ongoing impeachment inquiry.
“If she said she thought the president should be impeached over this, she’d have no future in the Republican Party and she’s a lot savvier politician than that,” Kurtz told “The Daily Briefing with Dana Perino” on Monday.
“I’m not particularly buying the chatter that she’s going to end up on the ticket in 2020, but certainly she wants to preserve her political options, shall we say,” Kurtz said.
NIKKI HALEY SAYS TRUMP DOES NOT DESERVE 'DEATH PENALTY' IMPEACHMENT PROCEEDINGS
Haley told “CBS Evening News” anchor Norah O’Donnell, “You’re gonna impeach a president for asking for a favor that didn't happen and giving money and it wasn’t withheld? I don’t know what you would impeach him on.”
She later added, “The Ukrainians never did the investigation, and the president released the funds. I mean, when you look at those, there's just nothing impeachable there.” Many Democrats have claimed Trump ordered aid money to be withheld from Ukraine until the country investigated the political dealings of former Vice President Joe Biden and his son Hunter there. Trump and the White House have said the president did nothing wrong, denying there was any “quid pro quo.”
Kurtz said Haley’s response would resonate with those who disagreed with the grounds for impeachment against Trump.
NIKKI HALEY REVEALS TILLERSON, KELLY PRIVATELY DISCUSSED RESISTING TRUMP: ‘IT WAS OFFENSIVE’
Speaking with O'Donnell, Haley also blasted former Secretary of State Rex Tillerson and former White House Chief of Staff John Kelly, recalling a private conversation in which they defended resisting Trump, telling her they did so out of necessity.
Haley said that she did not appreciate having the former officials confide in her, as she described in her new book, “With All Due Respect.”
“General Kelly and Tillerson may well have viewed themselves as helping to protect the country against Donald Trump’s worst instincts,” Kurtz said.
CLICK HERE TO GET THE FOX NEWS APP
“The problem with that line of thought is that, ultimately, they were staff and he’s the guy who got elected. So, Nikki Haley, who I believe has the political future, is trying to portray herself as a Trump loyalist by saying she wasn’t going to go along with this so-called cabal.”
Fox News’ Ronn Blitzer contributed to this report.


Currently you can only view your own profile. Viewing other user profiles is an intended future feature.


--- layout: post tags: [Castle Windsor, Dependency Injection] date: 2012-11-06 11:42:06 UTC title: "When to use a DI Container" description: "This post explains why a DI Container is useful with Convention over Configuration while Poor Man's DI might be a better fit for a more explicit Composition Root." image: "/content/binary/usefulness-sophistication.png" image_alt: "usefulness vs. sophistication" --- {% include JB/setup %}
{{ page.description }}
Note (2018-07-18): Since I wrote this article, I've retired the term Poor Man's DI in favour of Pure DI.
It seems to me that lately there's been a backlash against DI Containers among alpha geeks. Many of the software leaders that I myself learn from seem to dismiss the entire concept of a DI Container, claiming that it's too complex, too 'magical', that it isn't a good architectural pattern, or that the derived value doesn't warrant the 'cost' (most, if not all, DI Containers are open source, so they are free in a monetary sense, but there's always a cost in learning curve etc.).
This must have caused Krzysztof Koźmic to write a nice article about what sort of problem a DI Container solves. I agree with the article, but want to provide a different perspective here.
In short, it makes sense to me to illustrate the tradeoffs of Poor Man's DI versus DI Containers in a diagram like this:
The point of the diagram is that Poor Man's DI can be valuable because it's simple, while a DI Container can be either valuable or pointless depending on how it's used. However, when used in a sufficiently sophisticated way I consider a DI Container to offer the best value/cost ratio. When people criticize DI Containers as being pointless I suspect that what really happened was that they gave up before they were out of the Trough of Disillusionment. Had they continued to learn, they might have arrived at a new Plateau of Productivity.
| DI style | Advantages | Disadvantages |
|---|---|---|
| Poor Man's DI |
|
|
| Explicit Register |
|
|
| Convention over Configuration |
|
|
There are other, less important advantages and disadvantages of each approach, but here I'm focusing on three main axes that I consider important:
The major advantage of Poor Man's DI is that it's easy to learn. You don't have to learn the API of any DI Container (Unity, Autofac, Ninject, StructureMap, Castle Windsor, etc.) and while individual classes still use DI, once you find the Composition Root it'll be evident what's going on and how object graphs are constructed. No 'magic' is involved.
The second big advantage of Poor Man's DI is often overlooked: it's strongly typed. This is an advantage because it provides the fastest feedback about correctness that you can get. However, strong typing cuts both ways because it also means that every time you refactor a constructor, you will break the Composition Root. If you are sharing a library (Domain Model, Utility, Data Access component, etc.) between more than one application (unit of deployment), you may have more than one Composition Root to maintain. How much of a burden this is depends on how often you refactor constructors, but I've seen projects where this happens several times each day (keep in mind that constructor are implementation details).
If you use a DI Container, but explicitly Register each and every component using the container's API, you lose the rapid feedback from strong typing. On the other hand, the maintenance burden is also likely to drop because of Auto-wiring. Still, you'll need to register each new class or interface when you introduce them, and you (and your team) still has to learn the specific API of that container. In my opinion, you lose more advantages than you gain.
Ultimately, if you can wield a DI Container in a sufficiently sophisticated way, you can use it to define a set of conventions. These conventions define a rule set that your code should adhere to, and as long as you stick to those rules, things just work. The container drops to the background, and you rarely need to touch it. Yes, this is hard to learn, and is still weakly typed, but if done right, it enables you to focus on code that adds value instead of infrastructure. An additional advantage is that it creates a positive feedback mechanism forcing a team to produce code that is consistent with the conventions.
The following example is part of my Booking sample application. It shows the state of the Ploeh.Samples.Booking.Daemon.Program class as it looks in the git tag total-complexity (git commit ID 64b7b670fff9560d8947dd133ae54779d867a451).
var queueDirectory = new DirectoryInfo(@"..\..\..\BookingWebUI\Queue").CreateIfAbsent(); var singleSourceOfTruthDirectory = new DirectoryInfo(@"..\..\..\BookingWebUI\SSoT").CreateIfAbsent(); var viewStoreDirectory = new DirectoryInfo(@"..\..\..\BookingWebUI\ViewStore").CreateIfAbsent(); var extension = "txt"; var fileDateStore = new FileDateStore( singleSourceOfTruthDirectory, extension); var quickenings = new IQuickening[] { new RequestReservationCommand.Quickening(), new ReservationAcceptedEvent.Quickening(), new ReservationRejectedEvent.Quickening(), new CapacityReservedEvent.Quickening(), new SoldOutEvent.Quickening() }; var disposable = new CompositeDisposable(); var messageDispatcher = new Subject<object>(); disposable.Add( messageDispatcher.Subscribe( new Dispatcher<RequestReservationCommand>( new CapacityGate( new JsonCapacityRepository( fileDateStore, fileDateStore, quickenings), new JsonChannel<ReservationAcceptedEvent>( new FileQueueWriter<ReservationAcceptedEvent>( queueDirectory, extension)), new JsonChannel<ReservationRejectedEvent>( new FileQueueWriter<ReservationRejectedEvent>( queueDirectory, extension)), new JsonChannel<SoldOutEvent>( new FileQueueWriter<SoldOutEvent>( queueDirectory, extension)))))); disposable.Add( messageDispatcher.Subscribe( new Dispatcher<SoldOutEvent>( new MonthViewUpdater( new FileMonthViewStore( viewStoreDirectory, extension))))); var q = new QueueConsumer( new FileQueue( queueDirectory, extension), new JsonStreamObserver( quickenings, messageDispatcher)); RunUntilStopped(q);
Yes, that's a lot of code. I deliberately chose a non-trivial example to highlight just how much stuff there might be. You don't have to read and understand all of this code to appreciate that it might require a bit of maintenance. It's a big object graph, with some shared subgraphs, and since it uses the new keyword to create all the objects, every time you change a constructor signature, you'll need to update this code, because it's not going to compile until you do.
Still, there's no 'magical' tool (read: DI Container) involved, so it's pretty easy to understand what's going on here. As Dan North put it once I saw him endorse this technique: 'new' is the new 'new' :) Once you see how Explicit Register looks, you may appreciate why.
The following example performs exactly the same work as the previous example, but now in a state (git tag: controllers-by-convention; commit ID: 13fc576b729cdddd5ec53f1db907ec0a7d00836b) where it's being wired by Castle Windsor. The name of this class is DaemonWindsorInstaller, and all components are explictly registered. Hang on to something.
container.Register(Component .For<DirectoryInfo>() .UsingFactoryMethod(() => new DirectoryInfo(@"..\..\..\BookingWebUI\Queue").CreateIfAbsent()) .Named("queueDirectory")); container.Register(Component .For<DirectoryInfo>() .UsingFactoryMethod(() => new DirectoryInfo(@"..\..\..\BookingWebUI\SSoT").CreateIfAbsent()) .Named("ssotDirectory")); container.Register(Component .For<DirectoryInfo>() .UsingFactoryMethod(() => new DirectoryInfo(@"..\..\..\BookingWebUI\ViewStore").CreateIfAbsent()) .Named("viewStoreDirectory")); container.Register(Component .For<IQueue>() .ImplementedBy<FileQueue>() .DependsOn( Dependency.OnComponent("directory", "queueDirectory"), Dependency.OnValue("extension", "txt"))); container.Register(Component .For<IStoreWriter<DateTime>, IStoreReader<DateTime>>() .ImplementedBy<FileDateStore>() .DependsOn( Dependency.OnComponent("directory", "ssotDirectory"), Dependency.OnValue("extension", "txt"))); container.Register(Component .For<IStoreWriter<ReservationAcceptedEvent>>() .ImplementedBy<FileQueueWriter<ReservationAcceptedEvent>>() .DependsOn( Dependency.OnComponent("directory", "queueDirectory"), Dependency.OnValue("extension", "txt"))); container.Register(Component .For<IStoreWriter<ReservationRejectedEvent>>() .ImplementedBy<FileQueueWriter<ReservationRejectedEvent>>() .DependsOn( Dependency.OnComponent("directory", "queueDirectory"), Dependency.OnValue("extension", "txt"))); container.Register(Component .For<IStoreWriter<SoldOutEvent>>() .ImplementedBy<FileQueueWriter<SoldOutEvent>>() .DependsOn( Dependency.OnComponent("directory", "queueDirectory"), Dependency.OnValue("extension", "txt"))); container.Register(Component .For<IChannel<ReservationAcceptedEvent>>() .ImplementedBy<JsonChannel<ReservationAcceptedEvent>>()); container.Register(Component .For<IChannel<ReservationRejectedEvent>>() .ImplementedBy<JsonChannel<ReservationRejectedEvent>>()); container.Register(Component .For<IChannel<SoldOutEvent>>() .ImplementedBy<JsonChannel<SoldOutEvent>>()); container.Register(Component .For<ICapacityRepository>() .ImplementedBy<JsonCapacityRepository>()); container.Register(Component .For<IConsumer<RequestReservationCommand>>() .ImplementedBy<CapacityGate>()); container.Register(Component .For<IConsumer<SoldOutEvent>>() .ImplementedBy<MonthViewUpdater>()); container.Register(Component .For<Dispatcher<RequestReservationCommand>>()); container.Register(Component .For<Dispatcher<SoldOutEvent>>()); container.Register(Component .For<IObserver<Stream>>() .ImplementedBy<JsonStreamObserver>()); container.Register(Component .For<IObserver<DateTime>>() .ImplementedBy<FileMonthViewStore>() .DependsOn( Dependency.OnComponent("directory", "viewStoreDirectory"), Dependency.OnValue("extension", "txt"))); container.Register(Component .For<IObserver<object>>() .UsingFactoryMethod(k => { var messageDispatcher = new Subject<object>(); messageDispatcher.Subscribe(k.Resolve<Dispatcher<RequestReservationCommand>>()); messageDispatcher.Subscribe(k.Resolve<Dispatcher<SoldOutEvent>>()); return messageDispatcher; })); container.Register(Component .For<IQuickening>() .ImplementedBy<RequestReservationCommand.Quickening>()); container.Register(Component .For<IQuickening>() .ImplementedBy<ReservationAcceptedEvent.Quickening>()); container.Register(Component .For<IQuickening>() .ImplementedBy<ReservationRejectedEvent.Quickening>()); container.Register(Component .For<IQuickening>() .ImplementedBy<CapacityReservedEvent.Quickening>()); container.Register(Component .For<IQuickening>() .ImplementedBy<SoldOutEvent.Quickening>()); container.Register(Component .For<QueueConsumer>()); container.Kernel.Resolver.AddSubResolver(new CollectionResolver(container.Kernel));
This is actually more verbose than before - almost double the size of the Poor Man's DI example. To add spite to injury, this is no longer strongly typed in the sense that you'll no longer get any compiler errors if you change something, but a change to your classes can easily lead to a runtime exception, since something may not be correctly configured.
This example uses the Registration API of Castle Windsor, but imagine the horror if you were to use XML configuration instead.
Other DI Containers have similar Registration APIs (apart from those that only support XML), so this problem isn't isolated to Castle Windsor only. It's inherent in the Explicit Register style.
I can't claim to be an expert in Java, but all I've ever heard and seen of DI Containers in Java (Spring, Guice, Pico), they don't seem to have Registration APIs much more sophisticated than that. In fact, many of them still seem to be heavily focused on XML Registration. If that's the case, it's no wonder many software thought leaders (like Dan North with his 'new' is the new 'new' line) dismiss DI Containers as being essentially pointless. If there weren't a more sophisticated option, I would tend to agree.
This is still the same example as before, but now in a state (git tag: services-by-convention-in-daemon; git commit ID: 0a7e6f246cacdbefc8f6933fc84b024774d02038) where almost the entire configuration is done by convention.
container.AddFacility<ConsumerConvention>(); container.Register(Component .For<IObserver<object>>() .ImplementedBy<CompositeObserver<object>>()); container.Register(Classes .FromAssemblyInDirectory(new AssemblyFilter(".").FilterByName(an => an.Name.StartsWith("Ploeh.Samples.Booking"))) .Where(t => !(t.IsGenericType && t.GetGenericTypeDefinition() == typeof(Dispatcher<>))) .WithServiceAllInterfaces()); container.Kernel.Resolver.AddSubResolver(new ExtensionConvention()); container.Kernel.Resolver.AddSubResolver(new DirectoryConvention(container.Kernel)); container.Kernel.Resolver.AddSubResolver(new CollectionResolver(container.Kernel)); #region Manual configuration that requires maintenance container.Register(Component .For<DirectoryInfo>() .UsingFactoryMethod(() => new DirectoryInfo(@"..\..\..\BookingWebUI\Queue").CreateIfAbsent()) .Named("queueDirectory")); container.Register(Component .For<DirectoryInfo>() .UsingFactoryMethod(() => new DirectoryInfo(@"..\..\..\BookingWebUI\SSoT").CreateIfAbsent()) .Named("ssotDirectory")); container.Register(Component .For<DirectoryInfo>() .UsingFactoryMethod(() => new DirectoryInfo(@"..\..\..\BookingWebUI\ViewStore").CreateIfAbsent()) .Named("viewStoreDirectory")); #endregion
It's pretty clear that this is a lot less verbose - and then I even left three explicit Register statements as a deliberate decision.
Compared to the previous example, this requires a lot less maintenance. While you are working with this code base, most of the time you can concentrate on adding new functionality to the software, and the conventions are just going to pick up your changes and new classes and interfaces. Personally, this is where I find the best tradeoff between the value provided by a DI Container versus the cost of figuring out how to implement the conventions. You should also keep in mind that once you've learned to use a particular DI Container like this, the cost goes down.
Using a DI Container to compose object graphs by convention presents an unparalled opportunity to push infrastructure code to the background. However, if you're not prepared to go all the way, Poor Man's DI may actually be a better option. Don't use a DI Container just to use one. Understand the value and cost associated with it, and always keep in mind that Poor Man's DI is a valid alternative.
Comments
Testing usually seems to be the pressure release for not using an IoC container in a static language. Even if it's just a matter of not writing the tests for the overridden constructor, testing is usually thrown out. And in a world without tests, Poor Man's DI (or not DI at all) is often the "simpler" solution. Less lines of code, "it just works," etc etc. There are lots of options when you only look at the implementation without concern about how one is to provide automated verification against regressions.
If using TDD or even just "testing," an IoC container is always the simpler solution. Unless, of course -- if you just switch to a language or framework that lets you do both. *cough* ruby *cough* python *cough* dynamic languages *cough*
Just to add another perspective:
I created some extension methods in one of my core libraries that registers everything that ends with Service, Factory, Provider etc. Additionally, I created some extension methods for special areas like NHibernate or AutoMapping.
With these extension methods and a project that adheres to these conventions, my composition roots are very short and need virtually no maintenance.
I have successfully used this approach in several mid to big sized projects. It just works, I wouldn't want to work without a DI container anymore as it would cost so much more time.
1.) A constructor with no arguments. Dependencies are initialized in the constructor. This constructor can be used to instantiate the object like "myThing = new MyThing();" This is not using DI at all.
2.) A constructor with arguments for each dependency. Dependencies are passed in. This constructor is used for testing, since it actually uses DI.
This "Poor Man's DI" is a concept because it's a cheap way to get DI into a class that may not have originally been written to support DI. In a way, it seems to give devs the best of both worlds. Users can still instantiate the class simply, but users can also test it. It sounds fine, but it has some issues because the class is still bound to its dependencies and because the implementation uses different code than the tests.
Looking deeper at your example, I see that's not what your "Poor Man's DI" example is. Your way is fully testable, but I don't think its deserving of the extra "Poor Man's DI" moniker because it's just hand-rolled class instantiation. Or to put it another way: If your code is an example of "Poor Man's DI," then wouldn't any DI that wasn't handled through an IoC container? You are just creating objects with code -- nothing special. (or wrong, either)
If that's what "Poor Man's DI" means, there should probably be a new phrase to identify the practice that I've seen the phrase tied to -- as it's a "special" and unique practice. (Take that however you will. :) )
Now that I think about it,the concept of "Poor Man's DI" and "Bastard Injection" seem to refer to different things. Given your definition, Poor Man's DI basically seems to mean that I don't use an IoC container. It's a concept defining the method in which the object is created. But Bastard Injection refers to what I think would be the more common use of "Poor Man's DI," the practice of creating two constructors. It's a concept defining the method in which the class itself is written. I guess, then, it's possible for me to use Bastard Injection with Poor Man's DI, so long as I don't call the default constructor?
As one more side note: I really don't like the name "Bastard Injection" due to the coarse language. I know it's an anti-pattern, but "bastard" is a word I'd never ever accept from myself or other developers in a professional setting, especially with a client. I just asked my wife, an public elementary school teacher and librarian, and she said that word would not be accepted in her class or at any school she's been at. I don't think it's helpful to give PG13-level words to programming concepts. :)
How do considerations of lifetime management factor in? I may want Singleton here, Transient there, etc. That would seem to favor Explicit Register.
There's also the option of integration-testing the Composition Root to provide some type-checking.
When it comes to lifetime management, there are answers on more than one level.
On the pragmatic level, I've often found that in reality, most of my graphs tend to need to be Transient (or Per Graph) because some commonly used leaf node must be Transient (or Per Graph) for whatever reason. Once that happens, if most (say: more than 75%) of all objects are already Transient, does it really matter if a few more are also Transient? Yes, it could have been more efficient, but if you profile your app, you're most likely to discover that your bottleneck is somewhere else entirely.
On a more explicit level, it would be possible to define a convention that picks up a hint about the desired lifetime from the type itself. You could for example call a service "ThreadSafeFoo" to hint that Singleton would be appropriate - or perhaps you could adorn it with a [ThreadSafe] attribute...
Testing the container itself I don't find particularly useful, but a set of smoke tests of the entire app can be helpful.
I may be wrong, but reading your post I understand that the goal of a DI Container is to compose object graphs. This is undoubtedly true. Yet I think that this is just one of DI Containers' goals, and possibly not even the main one.
I'm sure you already know the amazing post An Autofac Lifetime Primer by Nicholas Blumhardt. It is about AutoFac, but it covers principles that are common to all the CI Containers.
Reading Nicholas post what I get is that a CI Container is a tool whose main goal is to manage resources lifetimes. Nicholas defines a resource as "anything with acquisition and release phases in its lifecycle". IoC Containers "provide a good solution to the resource management problem" and "to do this, they need to take ownership of the disposable components that they create". In other words, not only do DI Containers compose object graphs, but they also take care of the lifecycle of objects they created. Nicholas post is very detailed in explaining how and why a DI Container must track resources and guarantee that their disposal is properly managed.
This is an excerpt I find particurarly significant:
"[...] you need to find a strategy to ensure resources are disposed when they’re no longer required. The most widely-attempted one is based around the idea that whatever object acquires the resource should also release it. I pejoratively call it “ad-hoc” because it doesn’t work consistently. Eventually you’ll come up against one (and likely more) of the following issues:
Sharing: When multiple independent components share a resource, it is very hard to figure out when none of them requires it any more. Either a third party will have to know about all of the potential users of the resource, or the users will have to collaborate. Either way, things get hard fast.
Cascading Changes: Let’s say we have three components – A uses B which uses C. If no resources are involved, then no thought needs to be given to how resource ownership or release works. But, if the application changes so that C must now own a disposable resource, then both A and B will probably have to change to signal appropriately (via disposal) when that resource is no longer needed. The more components involved, the nastier this one is to unravel."
CI Containers solve these problems.
Poor Man (or Pure) CI solves the compose phase only. But the CI should also take care of resource disposal, or it would not provide any Unit of Work and possibly lead to memory leaks or NullPointerExceptions at runtime. What a basic Por Man implementation provides is just an Instance Per Dependency Scope (every request gets a new instance). With few modificatios, it could provide a Single Instance Scope (that is, a Singleton). But you might agree that managing nested scopes, shared dependencies, instances per web request and a proper disposal management with a Poor Man CI is all but a simple task.
So, I'm not sure the distinction between Poor Man and DI Containers is only a matter of Convention over Configuration. I got to the conclusion that the main goal of a DI Container is lifecycle management, much more than object graph composition.
What do you think?
Arialdo, thank you for writing.
Like you, I used to think that lifetime management was an strong motivation to use a DI Container; there's an entire chapter about lifetime management in my book.
There may be cases where that's true, but these days I prefer the the explicit lifetime matching I get from Pure DI.
While you can make lifetime management quite complicated, I prefer to keep it simple, so in practice, I only use the Singleton and Transient lifetime styles. Additionally, I prefer to design my components so that they aren't disposable. If I must use a disposable third-party object, my next priority would be to use a Decoraptor, and add decommissioning support if necessary. Only if none of that is possible will I begin to look at disposal from the Composition Root.
Usually, when you only use Singleton and Transient, manual disposal from the Composition Root is easy. There's no practical reason to dispose of the Singletons, so you only need to dispose of the Transient objects. How you do that varies from framework to framework, but in ASP.NET Web API, for example, it's easy.


Name:
Email:
Comments:
Include in mailing list?
Name:
Email:
Comments:
Login details
Name:
Email:
Password:
Your feedback
Please check all the emotions that apply to you:
Angry
Sad
Happy
Ambivalent
How satisfied were you with our service?
Very satisfied
Satisfied
Didn't care
Dissatisfied
Very dissatisfied
Your profile
Bio photo:
Select location
Portland
New York
Phoenix
Hermosillo
Guadalajara
Vancouver


Welcome to KC AI Lab
What is the experience that a client can expect?
- Agile methodology at the core while in development. A suitable project management model is picked that is most effective for the slated business objectives of the project.
- Checkpoints with the client take place throughout the project life in a frequency determined by the client (every 2-4 weeks is typical)
- Frequent discussions take place throughout the project to refine the use-case and align the outcomes with the new client actions that they will take because of the project.
What are the outcomes a client can expect?
- A full report on the original project goals and which are met, and if not met a detailed explanation why the original goal was impossible and what can be done to make it possible in the future.
- Clear and defined actions for the client to take that reflect the original project goals.
What makes the KC AI Lab successful in managing a project?
- The development of each project is led by an experienced machine learning engineer.
- Process standards have been built and refined through multiple projects and are followed closely to deliver consistent outcomes.
- We work together as a cohesive group on each project and combine ideas to give the most robust solution possible. We integrate closely via powerful collaboration tools like Slack to stay on top of things & be more productive.
- Data scientists constantly share ideas for improvements and optimizations which are key for success while working on machine learning modules.
How we incorporated these principles into the KSU Malaria Project?
- The KSU Malaria Research project currently underway is a great example of how we as an organization follow processes and standards during the development phase of a project while also combine ideas from multiple data scientists.
- An overview of the project background and how we are executing the project in all these aspects is described below.


Sign in
Sign up
×
Sign in
Email address
Password
Keep me logged in
×
Sign up
Agree to our
terms of use
and
privacy policy
KanBan Board
Add
TO DO
In Progress...
DONE !!


Hello, I have a problem with the group feature in the latest BBLOG version 3.5.1
Now, this is the 3rd time that my group gets randomly cleared from friends or deletes automatically all friends from the group but the friends and group name stay in at the COM Center and I have to add my friends again in the group ! I don't know how but this randomly happens.
I also have a suggestion, you should make adding friends to a group easier in a way that everytime you add a friend in a group, you don't need to see the page scroll up and need to manually scroll down again to add another friend (especially when these friends are offline).


2 Samuel 15:8
For thy servant vowed a vow while I abode at Geshur in Syria, saying, If the LORD shall bring me again indeed to Jerusalem, then I will serve the LORD.


Click Link to go Back
Song Title
Writer
Producer
Length
Drake "Free smoke"
Quentin Miller
Noah James Shebib
3:39
drake "no long talk"
Quentin Miller
Noah James Shebib
2:30
drake "passionfruit"
Quentin Miller
Noah James Shebib
4:59


You Jin Lim
South Korea, Seoul
CORE 1 INTERACTION D FA20
I'm currently majoring in Communication Design. I actually have various interests in the field of Art. I love drawing, painting, digital drawing, illustration and making 3D objects. However, I decided to major in Communication Design because it could be applied in various fields, not only commercial context but also personal context.
To tell the truth, I am actually more into creating personal art work. I love keeping diaries, taking pictures to capture my precious moment, and drawing when I am feeling depressed. Art is a therapy for me, because it helps me reflect my feelings visually and I become more honest to myself when I create art. I definitely believe that my strengths of incorporating my personal feelings to my artwork would help me to create a better design.


{%extends 'base.html'%}
{% block content %}
{% if businesses%}
Found {{ businesses|length }} businesses of searched {{message}}
{% else %}
no business for the search term {{message}}
{% endif %}
{% if businesses %}
{% for business in businesses%}
business name: {{business.businessName}}
Location: {{business.businessLocation}}
Contat us
{{business.businessName}}
.
Email: {{business.businessEmail}}
{% endfor%} {% endif %}
{% endblock %}


Tens of thousands of disadvantaged 2-year-olds are not benefiting from the free early education they are entitled to, an
Ofsted survey
has found.
Since Ofsted last reported on this issue in June 2015, there has been a 10% increase in the number of 2-year-olds from low income families taking up the government’s offer of free early education. However, last year around 80,000 eligible children still did not take up their free place at an early years setting. That equates to one third of all eligible children in England and means that a potential investment of more than £200 million failed to reach the poorest children for whom it was intended.
Today’s report was commissioned by Her Majesty’s Chief Inspector Sir Michael Wilshaw to provide a better understanding of how local authorities, schools and registered early years providers are tackling the issue of disadvantage for children in the most deprived communities.
Local authorities are charged with improving outcomes for all young children in their area, reducing inequalities, and ensuring there is sufficient, high-quality early years provision and childcare for parents locally.
As well as funded places for disadvantaged 2-year-olds, the government has introduced the early years pupil premium for poorer 3- and 4-year olds. Local authorities are also responsible for checking which children in their area are eligible for these funding streams and for directing the money to early years providers in their area.
The quality of early education has never been better: 86% of early years settings were judged good or outstanding at their last Ofsted inspection. However, almost half of all disadvantaged children still do not have the essential knowledge, skills and understanding expected of their age group by the time they finish Reception. Today’s report finds that one reason for this is because in many deprived areas, children are less likely to have access to high quality early education.
In the most prosperous areas, only 8% of children are in early years provision that is less than good. For children living in the most deprived areas, this figure more than doubles to 18%.
In a commentary published alongside the report, HM Chief Inspector Sir Michael Wilshaw said:
It is clear from our survey that some local authorities, schools and early years settings are making effective use of the funding available to them to give poorer children the good start they so desperately need. Strong leaders at the town hall level, as well as in individual schools and settings, are demonstrably strategic, innovative and committed to making a difference.
However, there was a discernible lack of such ambition in a number of the local authorities we visited. Any potential for improving the prospects of the most disadvantaged young children was too often thwarted by weak leadership, ineffective managerial oversight, duplication and inefficiency. In these councils, government funding was not being used in a sufficiently targeted, co-ordinated way to make a difference.
It is clear from our findings that action is needed on a national and local level to address these variations and to ensure the weakest places learn from the best. Early education has the potential to drive social mobility and improve outcomes for the next generation. We should not let them down.
Gill Jones, Ofsted Early Education Deputy Director, said:
Our survey found many examples of early years settings providing rich experiences for poorer children.
However, it is clear that young children from poorer backgrounds often do not get the support to which they are entitled. I want all early years settings to make sure that key information is shared promptly at the point of transition, so that the needs of children from poorer families are known quickly. Many early years settings are making effective use of the early years pupil premium, but I want all of them to ensure that this additional support is focused on improving the areas of development which help children catch up.
Ofsted’s report recommends that:
-
schools, early years settings and childminders ensure key information, including early assessments, is shared promptly at points of transition, so that the needs of the most disadvantaged children are identified quickly
-
schools, early years settings and childminders should also review their use of the early years pupil premium to ensure support is focused on the areas of development that will help a child to catch up
-
local authorities should publish their strategy for meeting the needs of disadvantaged children, so that families are clear about the support available to them
-
local authorities should work with schools and early years settings to ensure there are sufficient high-quality places available for disadvantaged children and increase the proportion of eligible children who take up the 2-year-old offer
-
local authorities should ensure that a child’s health and development checks at age two are completed as a crucial first assessment of their needs, and used as a benchmark for progress across their early education
-
local authorities should improve information-sharing protocols so that professionals across children’s services have easy access to a range of data and can provide timely, effective support
-
the Department for Education (DfE) should review how local authorities are held accountable for their services to disadvantaged children, ensuring that ‘school readiness’ at the end of Reception is clearly defined and used as a measure of each local area’s success
-
the DfE should provide a common definition for ‘disadvantage’, to support a coherent approach to improving the life chances of poorer children and families
-
the DfE should require schools and other settings to publish information about the impact of the early years pupil premium on their websites
-
the DfE should align the different early years funding streams for disadvantaged children and families so that parents only need to complete one application for continuous funding until a child reaches the end of the Reception year
For its part, Ofsted will ensure that the impact of additional funding on children’s health, learning and development is reported clearly and consistently, including the impact of funding for eligible Nursery and Reception children in schools.
The findings of
today’s report
will be discussed at a meeting of early years leaders in London this morning.
Note to editors
-
The Ofsted statistical bulletin,
‘Childcare providers and inspections as at 31 March 2016’
, shows that as of 31 March 2016, 86% of providers on the Early Years Register (EYR) were judged to be good or outstanding.


Boost your idea with native components.
Components are the reusable building blocks of our design system to create patterns and intuitive user experiences.
Components are the reusable building blocks of our design system to create patterns and intuitive user experiences.


GitHub Flair
Generate
Round Avatar
Rainbow Avatar
Display Blog/Website
Display Followers
Display Location
Enter your GitHub username or organization id to generate flairs
GitHub corner logo inspired by
GitHub Corners
Theme PRs are welcome! Forks me
here
Due to high traffic, this website may reach
GitHub unauthorized API rate limit
, you could fork this repo and host it on your IP to eliminate the limitation
By
MarkoCen
, @markocen


CSS uses the @media rule to detect information about the device being used to access the website. For example, it can be used to detect the size of the device, its capabilities, and its orientation. For this course, we will be using it to detect the device size, but keep in mind that it is capable of much more.
Phone: Width less than or equal to 480px
Tablet: Width between 481px nad 1023px
Desktop: Width greater than or equal to 1024px


Members
-
<private> isDedicated :boolean
-
if the worker is dedicated to a task or not
Type:
- Source:
-
<private> taskQueue :Array
-
the task queue
Type:
- Source:
-
<private> thread :Worker
-
the web worker instance
Type:
- Source:
-
<private> workTime :number
-
work time in ms passed to work on tasks
Type:
- Source:
Methods
-
emit(msg)
-
post a msg to the thread
Parameters:
| Name |
Type |
Description |
msg |
String
|
|
- Source:
-
getNbTask() → {Number}
-
get the number of task to do
- Source:
Returns:
-
Type
-
Number
-
<private> launchNextTask()
-
method called when a task is in the task queue
- Source:
-
<private> onTaskDone(msg)
-
method called when a task is done
Parameters:
| Name |
Type |
Description |
msg |
|
|
- Source:
-
post(task, parameters) → {Async.Task}
-
method to post a task to the worker
Parameters:
| Name |
Type |
Description |
task |
Callable
|
|
parameters |
Array
|
|
- Source:
Returns:
return the worker posted
-
Type
-
Async.Task
-
terminate()
-
terminate the thread
- Source:


I am currently investigating how to embed code blocks and tables within a static page and have them compile on github pages. This post is using the kramdown
markup flavour, but in the future I would like to use RStudio IDE and Rmarkdown to add pages to a static server using Jekyll. I think that the R package servr will also be very useful along with the associated knitr-jekyll
repo developed by Yihui Xie who also developed the incredibly useful and very powerful knitr.
I have also found another blog post that details some refinements and use the aforementioned packages as the basis. I will investigate and detail findings here…
Before getting on to that however, I will start with some tests using the markdown that Jekyll will both understand and github pages will compile - this makes us of Liquid tags such as “% highlight r % endhighlight %”.
Github pages only supports a subset of the liquid tags and doesn’t allow use of the plug-in architecture. For this reason I had to change my plans to use the very elegant Tufte Theme developed by Clay Harmon, as this doesn’t seem to compile well on github pages - I could compile locally and then push to gituhub, but I was looking for something more flexible and quickly updatable on-the-go!
So back to the highlighting and visualisation of results…
Highlighting
For example, here is the command within R that can be used to build a site locally, ready for pushing to github1. This is different to the triple backtick syntax of RStudio flavoured Rmarkdown.
Note: That I need to use this command rather than the default command="jekyll build"
as there seems to be some problems finding the ruby gems in /usr/bin/
on OS X El Capitan (they are installed in /usr/local/bin
). This has been detailed elsewhere and once I settle on a stable implementation I will write about the steps. A related problem is that I can’t use the autoregeneration feature --watch
using the servr::jekyll
function.
If needed the site can be compiled without serving using the following syntax:.
Early Days
All of this is still early days and I am looking forward to starting to play around with tables that are produced by kable
which can be embedded directly onto pages.
For example:
creates the following table:
| | mpg| cyl| disp| hp| drat| wt| qsec| vs| am| gear| carb|
|:-----------------|----:|---:|----:|---:|----:|-----:|-----:|--:|--:|----:|----:|
|Mazda RX4 | 21.0| 6| 160| 110| 3.90| 2.620| 16.46| 0| 1| 4| 4|
|Mazda RX4 Wag | 21.0| 6| 160| 110| 3.90| 2.875| 17.02| 0| 1| 4| 4|
|Datsun 710 | 22.8| 4| 108| 93| 3.85| 2.320| 18.61| 1| 1| 4| 1|
|Hornet 4 Drive | 21.4| 6| 258| 110| 3.08| 3.215| 19.44| 1| 0| 3| 1|
|Hornet Sportabout | 18.7| 8| 360| 175| 3.15| 3.440| 17.02| 0| 0| 3| 2|
|Valiant | 18.1| 6| 225| 105| 2.76| 3.460| 20.22| 1| 0| 3| 1|
Which displays a formatted table on the site that looks like this:
| mpg | cyl | disp | hp | drat | wt | qsec | vs | am | gear | carb | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Mazda RX4 | 21.0 | 6 | 160 | 110 | 3.90 | 2.620 | 16.46 | 0 | 1 | 4 | 4 |
| Mazda RX4 Wag | 21.0 | 6 | 160 | 110 | 3.90 | 2.875 | 17.02 | 0 | 1 | 4 | 4 |
| Datsun 710 | 22.8 | 4 | 108 | 93 | 3.85 | 2.320 | 18.61 | 1 | 1 | 4 | 1 |
| Hornet 4 Drive | 21.4 | 6 | 258 | 110 | 3.08 | 3.215 | 19.44 | 1 | 0 | 3 | 1 |
| Hornet Sportabout | 18.7 | 8 | 360 | 175 | 3.15 | 3.440 | 17.02 | 0 | 0 | 3 | 2 |
| Valiant | 18.1 | 6 | 225 | 105 | 2.76 | 3.460 | 20.22 | 1 | 0 | 3 | 1 |
The Tufte package has very elegant tables reminiscent of the booktabs
package in LaTeX. I will see if I can keep that functionality when I change themes?2
Figures
Another important feature will be the ability to generate figures quickly using ggplot2
and other packages within R.


|
WiFi Handler component
1.0
WiFi Handler component for open authenticator.
|
#include "wifi_handler_access_point.h"
Functions | |
| bool | is_wifi_station_connected () |
| Tells if any wifi station is connected to wifi access point. More... | |
| uint16_t | wifi_access_point_list_size () |
| Returns size of the list containing scanned access points available. More... | |
| wifi_ap_record_t * | scan_wifi_access_point () |
| Scans wifi access points and returns the struct containing the access points found nearby. More... | |
| esp_err_t | start_wifi_access_point (char *ssid, char *pass) |
Starts wifi access point so that other devices can connect to esp32 AP. Only one device can be connected to this, can be changed by changing the macro WIFI_MAX_STA_CONN . More... | |
| esp_err_t | stop_wifi_access_point () |
| Turns off the access point and turns off wifi. More... | |
| bool is_wifi_station_connected | ( | ) |
Tells if any wifi station is connected to wifi access point.
| wifi_ap_record_t* scan_wifi_access_point | ( | ) |
Scans wifi access points and returns the struct containing the access points found nearby.
| esp_err_t start_wifi_access_point | ( | char * | ssid, |
| char * | pass | ||
| ) |
Starts wifi access point so that other devices can connect to esp32 AP. Only one device can be connected to this, can be changed by changing the macro WIFI_MAX_STA_CONN
.
| ssid | string which contains the name of the ssid of the access point started by esp32 |
| pass | string which contains the password of the ssid of the access point started by esp32 |
| esp_err_t stop_wifi_access_point | ( | ) |
Turns off the access point and turns off wifi.
| uint16_t wifi_access_point_list_size | ( | ) |
Returns size of the list containing scanned access points available.


An American Classic!
Your choice - with or without cheese
Pickle, onion, tomato, and lettuce
Served with our famous thick cut french fries
A Summer Classic!
Your choice - white or wheat bun
Relish, mustard, and ketchup
Served with our house-made chips
An All-Time Favorite!!
Your choice - mild or spicy
Cole Slaw
Served with garlic mashers
Really Hits the Spot!
Plain or Sesome Seed Bun
Pickle, onion, tomato and lettuce
Served with our house-made chips
On the Lighter Side
Your choice - with or without cheese
Iceberg lettuce. tomatoes, Peppers
Thousand Island or Ranch Dressing
Served with a dinner roll
A taste of Texas!
Smoked Brisket on thick-cut Taxas
Toast
Cole Slaw
Served with out famous thick-cut
french fries
| Beverages | |
|---|---|
| Root Beer | $3.00 |
| Bottled Watter | $1.25 |
| Lemonade | $1.00 |
| Ice Tea | $1.25 |


The usage of the XLoadTree is almost identical to the xTree so if
you do not remember how that is done take a look at the
xTree usage. Anywhere the original xTree
accepts a WebFXTree
you can use a WebFXLoadTree
and
the same applies to WebFXTreeItem
and WebFXLoadTreeItem
.
Taking the first example in the xTree usage and instead of using a
WebFXTreeItem
for the second tree item we use the load counterpart.
var tree = new WebFXTree("Root"); tree.add(new WebFXTreeItem("Tree Item 1")); tree.add(new WebFXLoadTreeItem("Tree Item 2", "tree.xml")); tree.add(new WebFXTreeItem("Tree Item 3")); document.write(tree);
The code above should result in something looking like this:
When Tree Item 2 is expanded the file tree.xml is loaded and during the load a dummy tree item is inserted to show that the subcontent is loading. This looks something like this:
To be able to transform the xml file to an xTree the xml file must be of a certain format. Below is the xml code from the file tree.xml:
<?xml version="1.0"?> <tree> <tree text="Loaded Item 1" action="href://webfx.eae.net" /> <tree text="Loaded Item 2"> <tree text="Loaded Item 2.1" action="javascript:alert(2.1)" /> <tree text="Load "tree1.xml"" src="tree1.xml" /> </tree> <tree text="Loaded Item 3" /> </tree>
When this xml file has been loaded and inserted into the tree it looks something like this:
Notice how the XML structure can contain nested tree items and tree items that
points to other xml files. Notice also the top level tree item that is used to contain
all the tree items that are supposed to be inserted into the current
WebFXLoadTreeItem
.
To see what xml attributes are supported on the tree items see the api page.


3 writes to CachedType
System.Management.Automation (3)
engine\parser\Compiler.cs (1)
1783
ihct.
CachedType
= type;
engine\parser\SymbolResolver.cs (2)
689
((ISupportsTypeCaching)typeName).
CachedType
= type;
702
((ISupportsTypeCaching)genericTypeName).
CachedType
= foundType;
1 reference to CachedType
System.Management.Automation (1)
engine\parser\Compiler.cs (1)
1775
type = ihct.
CachedType
;


DayPilot Pro for JavaScript
»
Demo
AJAX Calendar/Scheduling Widgets for JavaScript.
Download
Download a trial version (1.1 MB).
DayPilotProJavaScriptTrial-8.3.2450.zip
Home
Calendar
Month
Scheduler
Gantt
Kanban
Kanban control.
Main
JavaScript Kanban
Columns
Column Active Areas
Column Moving
Cards
Card Active Areas
Card Auto Height
Card Creating
Card CSS
Card Deleting
Card Moving
Swimlanes
Swimlanes
Swimlane Moving
Swimlane Collapsing
API
AngularJS
Note:
Read more about Kanban
card auto height
[doc.daypilot.org].
Enable card auto height


There is no API for this module, but by including the cucumber-picocontainer jar on your CLASSPATH your Step Definitions will be instantiated by PicoContainer.
cucumber-picocontainer
CLASSPATH


STX
STX
Profile
History
Sell
Buy
Chats
Logout
Contact
Name: Keheira
Email<EMAIL_ADDRESS>Location: Greensboro, NC
Add card
Save


By setting label properties for the vaadin-item elements you can override the default visual representation of the selected item and make the vaadin-select show the item's label instead.
label
vaadin-item
vaadin-select


Open sourced by Google to replace Sqllite implementation of indexdb
* Arbitrary byte arrays
* Sorted by keys
* Compressed storage
Log Structured Merge (LSM) tree
Bloom filter for reads


NO LOOKING BACK
Reviewed by Harvey Karten, Ph.D. Gramercy Pictures Director: Edward Burns Writer: Edward Burns Cast:Edward Burns, Lauren Holly, Connie Britton, Blythe Danner, Jon Bon Jovi
There comes a time in the life a many a successful comedy writer that he pursues greater depth than a feathery play or film can expose, however competent the wit. With Neil Simon, who began his career with the lighter-than-air and very funny "Come Blow Your Horn" the moment came with the less fortunate "God's Favorite." Woody Allen, whose talent with words allowed him to pen even a comedy which is completely sung hit his serious stride with "Interiors," equally foiled at the box office. Edward Burns got the itch to write, direct, and act in a more somber work at an earlier age, perhaps stung that his abundantly funny "The Brothers McMullen" and "She's the One"--the former premiering at the 1995 Sundance Festival while the latter was released a year later by Fox Searchlight Pictures--was dismissed by some critics as mere sitcom. What emerges, "No Looking Back," is indeed a more poignant, less slap-happy look at life among the working classes in one of Queens, New York's more remote locations. Filmed in Rockaway Beach with a blue patina, "No Looking Back" is not without humor, but its sober tone matches the rainy weather which more often than not afflicts the vicinity. Starring Lauren Holly as Claudia, Jon Bon Jovi as her live-in boyfriend Michael, and the writer-director in the role of former beau Charlie, the movie traces a few days in the lives of three young people at about the age of thirty who are already in the throes of a mid-life crisis.
Michael and Claudia seem content enough sharing a ramshackle but decently furnished house overlooking the beach, but something is missing. Michael is ready and eager to get married, but Claudia, despite the pressure of friends and family, is holding back. It's not that Michael is a bad guy: just the opposite, in fact. He has the typical outlook of people of his social class. He is ambitious enough, willing to work hard to support a wife and kids, but he has no vision. Claudia, who works as a waitress in a prosaic diner, harbors inchoate desires that stretch beyond the borders of Queens. We do not wonder that since the roguish Charlie deserted her when she needed him most and fled to California months after making Claudia pregnant, his return to Rockaway Beach at first seems to dismay Claudia as much as it does her current live-in. But Claudia, who had given up her adolescent dreams at the age of thirty now sees new hope for reviving her fantasies. Looking back, she warms to the attentions of the cur.
Well acted by all parties, who adopt working class mannerisms as though these were second nature, Burns's picture has a way of infusing into the drama the entire culture of the community. Little things like a young diner's leaving a dollar tip inside the leftover food in his dish and calling the waitress "sweetheart," a gas pump jockey's brown-bagging his lunch at the station as though to announce that he had long ago given up aspiration, Charlie's own mother's outward hostility to the boy whom she considers a layabout whose presence could stir up the neighborhood once again. Men and women in equal numbers lay back scotches at the crowded bar; card games become the scene of macho posturing; unrepressed women freely announce their sexual wishes to friends and potential partners.  "I told you you'd be cleaning his dirty underwear, didn't I?" cajoles Charlie as he watches his former flame fulfilling his predictions.
This is the sort of movie that makes good, upright, family values people wonder whether they perhaps should become more assertive, and most of all, more carefree and even indolent. Many a well-groomed, neatly dressed and awfully proper young man has been dismayed to find the object of his affections turn away and dart into the arms of a rascal, shedding light on the real consequences of family values. "No Looking Back"--which features small but effective roles from Blythe Danner as Claudia's forlorn but understanding mom and Connie Britton as her cynical sister Kelly--is obligatory viewing for fans of the talented Edward Burns, who began his film career with a movie that paid back investors 400-fold and who has now moved into the generally uncharted waters of Rockaway Beach with a trenchant piece about hidden yearnings. Rated R. Running time: 96 minutes. (C) Harvey Karten 1998
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