|
CodeAFriend
A website for submitting and voting on code samples that solve user submitted problems. Will only support python at first.
|
A script that ran and successfully passed all test cases for a Problem. More...
Public Member Functions | |
| ProblemSolution (User submitter, Script script) | |
| Constructor for creating new ProblemSolution. More... | |
| void | Add (Vote vote, DbContext context=null) |
| Add a Vote to this ProblemSolution. More... | |
| Public Member Functions inherited from CodeAFriend.DataModel.Script | |
| Script (string name, string body, SupportedLanguage language) | |
| Constructor for creating new Script. More... | |
| Script | Clone () |
| Create a deep copy of this Script. More... | |
Public Attributes | |
| IEnumerable< Vote > | Votes => _votes?.ToList() |
| All votes submitted for this solution. More... | |
Protected Member Functions | |
| ProblemSolution () | |
| Parameterless Constructor required for EF. More... | |
Properties | |
| User | Submitter [get] |
| User who submitted this ProblemSolution. More... | |
| Properties inherited from CodeAFriend.DataModel.Script | |
| Guid | Id [get] |
| Unique Id assigned to the Script during creation. More... | |
| string | Name [get] |
| Name given to this script by the user who created it. More... | |
| string | Body [get] |
| Code. More... | |
| SupportedLanguage | Language [get] |
| Language to compile code in. More... | |
A script that ran and successfully passed all test cases for a Problem.
|
protected |
Parameterless Constructor required for EF.
Constructor for creating new ProblemSolution.
| void CodeAFriend.DataModel.ProblemSolution.Add | ( | Vote | vote, |
| DbContext | context = null |
||
| ) |
Add a Vote to this ProblemSolution.
| vote | Vote to add. |
| context | Database to save the updated state to. (When SaveChanges is called). |
| IEnumerable<Vote> CodeAFriend.DataModel.ProblemSolution.Votes => _votes?.ToList() |
All votes submitted for this solution.
|
get |
User who submitted this ProblemSolution.


Happy Housing
Help
Properties
Price range for {{ rooms }} bedrooms: {{ price_range }} in {{ zipcode }}
{% for mfp in mfps %}
Name: {{ mfp.name }}
Address: {{ mfp.address }}
Phone: {{ mfp.phone }}
{% endfor %}


Continuing on with my riveting series on how to parse the Chrome SQLite files with Python, let's dig a little deeper into SQL portion by taking a look the History database.
Some of these tables are useful on there own but much more information can be derived from querying more than one at a time. For example, the visits table stores information about the when and how often you visit a URL. To reduce redundant information in the database, instead of storing the URL again in the visits table, the visits table contains a pointer to the index of the URL in the url table.
Here are some more examples of SQL statements you could run against the History file if you are interested in the exercise.
I can hear the groaning already...
"Jon, I am a seasoned Information Security professional and I am taking the time to read your silly blog. Don't bore me."
Imaginary Reader, I respect your candor and thirst for knowledge. Fine! Challenge accepted.
Here is a query that will query the visits table and the urls table for the URLS for the visits and their referring visits URL, assuming both are available.
From the output of this query we can see the referring URL that sponsored the records in the visits table. Note about this particular artifact is that it doesn't look like this visits.from_visit field is propagated on new sessions or tabs. This more or less illustrates the URL changes in one tab. Looking though the sample output, I see a lot of http redirects to https, so these transitions are not dependent upon user interaction. Not saying this is particularly useful but more or less just an example of how you can build tools to leverage SQL differently. You could see the same thing, arguably better, from:
So these kind of techniques I will use in the next few posts to show various nifty artifacts from Chrome. Thanks for reading. More to come soon.


| Module | ActionView::Helpers::PrototypeHelper |
| In: |
lib/remote_helpers.rb
|
| remote_function | -> | remote_function_old |
| form_remote_tag | -> | form_remote_tag_old |
| submit_to_remote | -> | submit_to_remote_old |
Additional functionality added to disable the form by default during a remote call. This is useful to prevent a user from submitting a form twice while a remote call is in progress since the submit button will be disabled and therefore not clickable.
Additional options:
Set :disable_form to false to keep the form enabled during a remote function call.
Automatically disables a form (no additional options)
<%= form_remote_tag(:url => {:action => 'dosomething'}) %>
Prevents the form from being disabled
<%= form_remote_tag(:url => {:action => 'dosomething'}, :disable_form => false) %>
Creates an indicator image. The options supplied are the same used with image_tag
Current and additional options are:
Using a custom indicator id
<%= indicator :id => 'spinner' %>
Using many indicators on the same page
<% collection.each do |id| %> <%= link_to_remote :url => {:action => 'dosomething'}, :indicator => "link#{id}" %> <%= indicator :id => "link#{id}" %> <% end %>
Adds the functionality of using a remote indicator (an image) during the execution of all remote functions.
Additional options:
Defaults to RemoteIndicator.default_id. Set :indicator to false if no indicator is to be used.
Don‘t forget to use <%= indicator %> on the page with remote calls or the javascript will fail and your action won’t complete (In development mode you will be shown an alert if the indicator has not been defined). This doesn’t apply if you set the indicator to false… :indicator => false.
Additional functionality added to disable a form (specified using the :submit option) by default during a remote call. This is useful to prevent a user from submitting a form twice while a remote call is in progress since the submit button will be disabled and therefore not clickable.
Additional options:
Set :disable_form to false to keep the form enabled during a remote function call.
Automatically disables a form (no additional options)
<%= submit_to_remote('name', 'Submit', :url => {:action => 'dosomething'}) %>
Prevents a form from being disabled
<%= submit_to_remote('name', 'Submit', :submit => 'myform', :url => {:action => 'dosomething'}, :disable_form => false) %>


Part of our innovation for the project was to create an object detection system that can help the eBike rider avoid crashes. We researched and went over three methods of doing so.
Camera ✖ - Being the cheapest option, we considered this first. Although a camera has a high FOV, the problem arises where the rasberry Pi only being able to process 4-5 frames at a MAX every second. This will cause the Pi to get hot, reduce its capabilities and waste power. Also adequate lighting is needed, which makes it useless for night time. There are ways to increase the frame rate, but its expensive.
Ultrasound ✖- The second option was also cheap, and it had very low power consumption. Similar to the camera, it has a high FOV but very short inaccurate range (up to 3m). On a bike, 3m between a car and bicycle is so limited, and a car going 30 MPH will close that distance in less than a second, so it would not be safe.
LiDAR ✔- The final option was LiDAR. It is very expensive ($170) but the benefits outweight the cost. LiDAR means Light Detection and Ranging. It is a remote sensing method that uses light in the form of a pulsed laser to measure ranges to an object. Our LiDAR that we chose has a range up to 40m, and a low power consumption 675mW and operates with a 5V source, perfect for our DC/DC converter. It will be used via the I2C interface since the motor uses the PWM pins.
How it is used and placement
We went over many scenarios and did research on bicycle accidents. We decided as a starting point, the LiDAR should act as rear eyes, since the rider has eyes infront of him, and is limited to knowing what's behind them, compared to a car using mirrors. We decided to place ontop of the battery compartment, at a 30-45 degree angle towards the left towards vehicles, assuming you're on the right side of the road. Then on our smartphone app, we will have a bar that shows how close an object is coming to you. This is a basic use of the LiDAR and we wanted to explore more advance ways of using it (ways to ignore certain objects, the LiDAR being able to rotate), but due to COVID-19, we didn't get that far.
Smartphone App Display
Below in the video is a demonstration of the LiDAR data being sent to the app. Keep in mind this is a very early look at the app GUI, so there are things missing and not final (You will see a final version on another page). Our final design kept the LiDAR bar down towards the bottom, and it will have the bar change colors depending how close you are to an object.


Relaxation the key for Amir Khan
Singapore's MMA exponent aims to end three-bout losing run by letting himself loose
Singapore mixed martial arts (MMA) fighter Amir Khan, who has spent the last six months reflecting on his three-loss run, believes he has the answer to get back to winning ways - keeping his mind and body relaxed.
Today, it will be key to his fight against Malaysia's Ev Ting at One Championship's Edge of Greatness event at the Indoor Stadium.
The 25-year-old has been meditating up to three times a day for 10 to 15 minutes a session.
He has also tried to "spar loose", saying: "It's almost like playing the (arcade) game Street Fighter, I just do whatever move I feel I want to do and just have fun.
"After all, MMA is my passion and, if I'm not having fun, what's the point?"
Before the losses - the last against Turkish grappler Saygid Arslanaliev - he racked up an impressive 11 wins, with 10 via knockout or submission, in 14 fights.
That earned him a shot at the lightweight title last November.
But Khan, who made his professional debut in 2014, suffered a unanimous-decision loss to Filipino Eduard Folayang in the title bout.
This was followed by defeats by Costa Rica's Ariel Sexton in February and Arslanaliev two months later, both in One's lightweight grand prix tournament.
The setbacks left him reeling. A return to the drawing board made him realise his approach had changed because he wanted to live up to his billing as a knockout artist.
He explained: "Everyone started expecting it from me, so I thought I had to go into fights all intense, aggressive and go in for the kill.
"I got carried away. People couldn't really see it, but I felt tension throughout my body. And that's not how I perform. I am at my best when I'm relaxed and loose."
Angela Lee, his teammate at the Evolve MMA gym where he trains, believes he has what it takes to rebound. The women's atomweight champion is in town to support her husband Bruno Pucci, who will face Japan's Shuya Kamikubo in the Edge of Greatness undercard.
Lee, who halted her own two-fight skid by retaining her title against China's Xiong Jingnan in Tokyo last month, said: "I can speak from experience that losses can get a fire going in you, that maybe you wouldn't have if you were on a winning streak.
"I know the losses were hard for Amir to deal with... and it sounds like he has managed to take the time to clear his head.
"He's looking to end the year on a good note."
Khan is relishing the shot at Ting, 30, who has 17 wins and six losses.
He said: "I'm expecting him to bring fireworks.
"But I'm hungry for redemption and, this time, I've had time to prepare for a specific opponent and come up with a specific game plan.
"People will see that the Amir in the last few fights, and the Amir on Friday night, will be completely different."


jalal.io
Home
Projects
Teams
Contact
I assess, develop and fund startup ideas.
with access to +100 world class developers & designers
User:
{{params.name}}
This is
{{params.name}}
's section


?*
Cuscuta
umbellata
H.B.K.
Grand
Turk:
in
sandy
soil
across
from
police
station
in
Cockburn
Town.
Parasite
on
Portulaca.
December
18,
1975
D.
S.
Correli
46486
Herbarium
FAIRCHILD
TROPICAL
GARDEN
University
Herbarium,
University
of
California,
Berkeley.
SYSTEMATIC
STUDIES
OF
CUSCUTA.
Cuscuta
umbellata
Kunth
in
HBK
Det.
Tania
BŽliz
1986-87
PLANTS
OF
THE
WEST
INDIES
1624893
Legend -
Level of confidence that token is an accurately-transcribed word
extremely low
very low
low
undetermined
medium
high
very high


Review your notes from the user test and make adjustments, clarifications, and revisions to improve your kit and instructions. Whether your users have given you general feedback or specific feedback, it is your job to interpret what they are telling you. In an ideal product development scenario, there would be plenty of time to perform as many iterations as needed. If time allows, try testing another one or two participants to see if you can further improve the instructions.
Use the indicated file format. You must obtain prior approval to deviate from these upload requirements.
changelog.doc
.yourname-instructions-2.pdf
document. This should be a new and revised PDF document. Unrevised documents will not be graded.


--- layout: page title: Select ---
This is a native HTML form control. No ARIA or JavaScript is present or required.
Please read the documentation to understand how these examples were created.
Keyboard users: Use ARROW keys to navigate options. Use SPACEBAR to change selection.
Keyboard users: Use ARROW keys to navigate options. Multi-selection is operating system dependent.
Updated: May 21st, 2019


import warnings
import numpy as np
from numpy.typing import ArrayLike
[docs]def decompose(phase_function: ArrayLike, scattering_angles: ArrayLike,
n_moments: int) -> np.ndarray:
"""Decompose a phase function into Legendre coefficients.
Parameters
----------
phase_function: ArrayLike
1-dimensional array of the phase function to decompose.
scattering_angles: ArrayLike
1-dimensional array of the scattering angles [degrees]. This array must
have the same shape as ``phase_function`` and the angles should be
monotonically increasing.
n_moments: int
The number of moments to decompose the phase function into. This
value must be smaller than the number of points in the phase
function.
Returns
-------
np.ndarray
1-dimensional array of Legendre coefficients of the decomposed phase
function with a shape of ``(moments,)``.
Examples
--------
Construct a Henyey-Greenstein phase function and decompose it into 129
moments.
>>> import numpy as np
>>> import pyrt
>>> scattering_angles = np.arange(181)
>>> pf = pyrt.construct_henyey_greenstein(0.5, scattering_angles) * 4 * np.pi
>>> coeff = pyrt.decompose(pf, scattering_angles, 129)
Compare the result of this general decomposition to the result of the
formula for the Henyey-Greenstein decomposition.
>>> coeff0 = pyrt.henyey_greenstein_legendre_coefficients(0.5, 129)
>>> np.amax(np.abs(coeff - coeff0)) < 1e-10
True
"""
# Why does the last test check a boolean and not a number? When I do CI,
# I find that it's OS dependent regarding what answer that test spits out
# and therefore, my tests pass or fail depending on what the exact OS is.
# So, I made it a bool so all OSs can agree the number is small.
def _make_legendre_polynomials(scat_angles, n_mom) -> np.ndarray:
"""Make an array of Legendre polynomials at the scattering angles.
Notes
-----
This returns a 2D array. The 0th index is the i+1 polynomial and the
1st index is the angle. So index [2, 6] will be the 3rd Legendre
polynomial (L3) evaluated at the 6th angle
"""
ones = np.ones((n_mom, scat_angles.shape[0]))
# This creates an MxN array with 1s on the diagonal and 0s elsewhere
diag_mask = np.triu(ones) + np.tril(ones) - 1
# Evaluate the polynomials at the input angles. I don't know why
return np.polynomial.legendre.legval(
np.cos(scat_angles), diag_mask)[1:n_mom, :]
def _make_normal_matrix(phase_func, legendre_poly: np.ndarray) -> np.ndarray:
return np.sum(
legendre_poly[:, None, :] * legendre_poly[None, :, :] / phase_func ** 2,
axis=-1)
def _make_normal_vector(phase_func, legendre_poly: np.ndarray) -> np.ndarray:
return np.sum(legendre_poly / phase_func, axis=-1)
pf = np.asarray(phase_function)
sa = np.asarray(scattering_angles)
sa = np.radians(sa)
try:
# Subtract 1 since I'm forcing c0 = 1 in the equation
# P(x) = c0 + c1*L1(x) + ... for DISORT
pf -= 1
lpoly = _make_legendre_polynomials(sa, n_moments)
normal_matrix = _make_normal_matrix(pf, lpoly)
normal_vector = _make_normal_vector(pf, lpoly)
cholesky = np.linalg.cholesky(normal_matrix)
first_solution = np.linalg.solve(cholesky, normal_vector)
second_solution = np.linalg.solve(cholesky.T, first_solution)
coeff = np.concatenate((np.array([1]), second_solution))
return coeff
except np.linalg.LinAlgError as lae:
message = 'The inputs did not make a positive definite matrix.'
raise ValueError(message) from lae
[docs]def fit_asymmetry_parameter(phase_function: ArrayLike,
scattering_angles: ArrayLike) -> float:
r"""Fit an asymmetry parameter to a phase function.
Parameters
----------
phase_function: ArrayLike
1-dimensional phase function.
scattering_angles: ArrayLike
1-dimensional scattering angles [degrees] corresponding to each value
in ``phase_function``.
Returns
-------
float
N-dimensional array of asymmetry parameters with a shape of
``phase_function.shape[1:]``.
Notes
-----
The asymmetry parameter is defined as
.. math::
g \equiv \frac{1}{4 \pi} \int_{4\pi} p(\theta)\cos(\theta) d\Omega
where :math:`g` is the asymmetry parameter, :math:`p` is the phase
function, :math:`\theta` is the scattering angle, and :math:`\Omega` is
the solid angle. This is essentially the expectation value of the phase
function.
Examples
--------
Make a phase function from a known asymmetry parameter, then see how well
this function recovers the asymmetry parameter.
>>> import numpy as np
>>> import pyrt
>>> g = 0.8
>>> sa = np.linspace(0, 180, num=181)
>>> pf = pyrt.construct_henyey_greenstein(g, sa) * 4 * np.pi # 4 pi is a normalization factor
>>> fit_g = pyrt.fit_asymmetry_parameter(pf, sa)
>>> round(fit_g, 5)
0.83473
It's not completely terrible but not particularly inspiring. The error is
due to the coarse resolution. Increasing the number of points in the
phase function can reduce the error.
>>> sa = np.linspace(0, 180, num=18100)
>>> pf = pyrt.construct_henyey_greenstein(g, sa) * 4 * np.pi
>>> fit_g = pyrt.fit_asymmetry_parameter(pf, sa)
>>> round(fit_g, 5)
0.80034
"""
pf = np.asarray(phase_function)
sa = np.asarray(scattering_angles)
cos_sa = np.array(np.cos(np.radians(sa)))
mid_sa = cos_sa[:-1] + np.diff(cos_sa)
mid_pf = np.interp(np.flip(mid_sa), np.flip(cos_sa), pf)
expectation_pf = mid_pf.T * mid_sa
# Divide by 2 because g = 1/(4*pi) * integral but the azimuth angle
# integral = 2*pi so the factor becomes 1/2
return np.sum((expectation_pf * np.abs(np.diff(cos_sa))).T / 2, axis=0)
[docs]def set_negative_coefficients_to_0(coefficients: ArrayLike) -> np.ndarray:
"""Set all Legendre coefficients to 0 after the first negative coefficient.
Parameters
----------
coefficients: ArrayLike
1-dimensional array of Legendre coefficients.
Returns
-------
np.ndarray
1-dimensional array zeroed coefficients. If no coefficients are
negative, this is identical to the input array.
"""
coeff = np.copy(np.asarray(coefficients))
if not np.any(coeff < 0):
return coeff
idx = np.argmax(coeff < 0)
coeff[idx:] = 0
return coeff
[docs]def construct_henyey_greenstein(asymmetry_parameter: float,
scattering_angles: ArrayLike) -> np.ndarray:
r"""Construct a Henyey-Greenstein phase function.
Parameters
----------
asymmetry_parameter: float
The Henyey-Greenstein asymmetry parameter. Must be between -1 and 1.
scattering_angles: ArrayLike
1-dimensional array of scattering angles [degrees].
Returns
-------
np.ndarray
1-dimensiona phase function corresponding to each value in
``scattering_angles``.
Notes
-----
The Henyey-Greenstein phase function (per solid angle) is defined as
.. math::
p(\theta) = \frac{1}{4\pi} \frac{1 - g^2}
{[1 + g^2 - 2g \cos(\theta)]^\frac{3}{2}}
where :math:`p` is the phase function, :math:`\theta` is the scattering
angle, and :math:`g` is the asymemtry parameter.
.. warning::
The normalization for the Henyey-Greenstein phase function is not the
same as for a regular phase function. For this phase function,
.. math::
\int_{4\pi} p(\theta) = 1
*not* 4 :math:`\pi`! To normalize it simply multiply the output by
4 :math:`\pi`.
Examples
--------
Construct a Henyey-Greenstein phase function.
>>> import numpy as np
>>> import pyrt
>>> scattering_angles = np.arange(181)
>>> g = 0.5
>>> hg_pf = pyrt.construct_henyey_greenstein(g, scattering_angles)
>>> hg_pf.shape
(181,)
"""
scattering_angles = np.asarray(scattering_angles)
asymmetry_parameter = np.asarray(asymmetry_parameter)
with warnings.catch_warnings():
warnings.filterwarnings('ignore', category=RuntimeWarning)
denominator = (1 + asymmetry_parameter ** 2 -
2 * asymmetry_parameter *
np.cos(np.radians(scattering_angles))) ** (3 / 2)
return 1 / (4 * np.pi) * (1 - asymmetry_parameter ** 2) / denominator
[docs]def henyey_greenstein_legendre_coefficients(
asymmetry_parameter: float, n_coefficients: int) -> np.ndarray:
r"""Get the Legendre coefficients of a Henyey-Greenstein phase function.
Parameters
----------
asymmetry_parameter: float
The Henyey-Greenstein asymmetry parameter. Must be between -1 and 1.
n_coefficients: int
The number of coefficients to keep.
Returns
-------
np.ndarray
1-dimensional arrray of Legendre coefficients up to the specificed
number of coefficients.
Notes
-----
The Henyey-Greenstein phase function can be decomposed as follows:
.. math::
p(\mu) = \sum_{n=0}^{\infty} (2n + 1)g^n P_n(\mu)
where :math:`p` is the phase function, :math:`\mu` is the cosine of the
scattering angle, :math:`n` is the moment number, :math:`g` is the
asymmetry parameter, and :math:`P_n(\mu)` is the :math:`n`:sup:`th`
Legendre polynomial.
Examples
--------
Get the first 129 coefficients of the Henyey-Greenstein phase function for
a given asymmetry parameter.
>>> import numpy as np
>>> import pyrt
>>> g = 0.5
>>> coeff = pyrt.henyey_greenstein_legendre_coefficients(g, 129)
>>> coeff.shape
(129,)
Construct a Henyey-Greenstein phase function, decompose it, and see how
this result compares to the analytic decomposition performed above.
>>> ang = np.linspace(0, 180, num=181)
>>> pf = pyrt.construct_henyey_greenstein(g, ang) * 4 * np.pi # normalize it
>>> lc = pyrt.decompose(pf, ang, 129)
>>> np.amax(np.abs(lc - coeff)) < 1e-10
True
"""
asymmetry_parameter = np.asarray(asymmetry_parameter)
coeff = np.arange(n_coefficients)
return (2 * coeff + 1) * asymmetry_parameter ** coeff


Output should depend on the --eof compiler option, as follows:
--eof
no-change
0
-1
(check the console)


StoryTelling with Time, Space, and Torque
Digital Humanities Department - American University of Beirut
Target Audience: academics, digital humanities students, journalists
Objectives:
- Time series visualizations with Torque
- Storytelling with Odyssey
- Time Series visualizations with maps
Key learnings:
- Torque + Odyssey intro
- New ways to tell stories with maps
View Slides Here


{% extends 'base.html' %} {% block content %}
You are the PROTAGONIST of this gamebook! Decide what you want to do.
Begin the story LeaderboardThe story has three 'chapters' in which you, the INVESTIGATOR, can look around an old cottage.
You can click the buttons to reveal further paragraphs and read the story up until the last page, where your answer to the RIDDLE will be requested.
When prompted for input, provide only alphanumeric characters (letters and numbers, ABC... 123...) to answer the questions. Avoid emojis or gifs, they won't be recorded.
Your progress will be displayed in the Leaderboard page.


Rock Paper Scissor - The Game
Version 1.0 | Released on 26-Aug-2020
Developer contact Email:
<EMAIL_ADDRESS>{{message}}
How to play:
Choose anyone (Rock, Paper, or Scissors). Computer will also choose one. Rock can beat Scissors, Scissors can beat Paper, and Paper can beat Rock.
Select your mode
Play with AI (Moderate) :
| Play with AI (Hard) :
Play with your friend : Available soon Play with AI (Easy) : Available soon Play with AI (ExtremeHard) : Available soon


Event Locations
| Name | Address 1 | Address 2 | City | State | Zip Code | Active |
|---|---|---|---|---|---|---|
| {{ location.name }} | {{ location.address1 }} | {{ location.address2 }} | {{ location.city }} | {{ location.state }} | {{ location.postal_code }} | {{ location.active }} |
{% extends "base.html" %} {% block content %}
| Name | Address 1 | Address 2 | City | State | Zip Code | Active |
|---|---|---|---|---|---|---|
| {{ location.name }} | {{ location.address1 }} | {{ location.address2 }} | {{ location.city }} | {{ location.state }} | {{ location.postal_code }} | {{ location.active }} |


Menu
Active
Header
Opening Page
About Spork
Recommended Reading
Spork
the meal maker platform
Size
Ounces
Cup
Large
Submit Item
Done
Facts for this item:
Ingredient
Calories
Food:
Calories:
Carbs:
Protein:
Fat:
Add Ingredient
Total Recipe Nutrition Facts:
Ingredient
Calories
Food:
Calories:
Carbs:
Protein:
Fat:
Total Calories for this Meal:
Food/Item Name
Calories
Fat
Sodium
0
0
0
0
Recipe Suggestions
Search
Find Recipes
Name
Image
Total Calories


You have been approved to come to Kent Hack Enough 2022! We will be meeting at the Design Innovation Hub at Kent State University! Address and parking details can be found here!
Make sure to join our Devpost! Devpost is where submissions will be sent at the end of the event!
Make sure your resume is attached to your application if you are looking for full time jobs or internships! You can edit your application by going to khe.io/apply when logged in.
Check-in will be opening at 9:30 AM!
Feel free to
contact us
if you have any questions!
You are receiving this email because you signed up for Kent Hack Enough 2022


This help page is incomplete
Introduction
This module allows you to configure the BIND (Berkeley Internet Name Daemon)
DNS server installed on this machine. The DNS server is responsible for
converting hostnames like www.foo.com into IP addresses like
<IP_ADDRESS>, and IP addresses into hostnames.
DNS Basics
Each DNS server manages a number of forward and reverse domains. A forward
domain is something like foo.com, and a reverse domain like
204.165.66. For each domain, the DNS server can either be the
primary server (the original source of data for the domain), or a secondary
server (a backup source for the domain).
- Forward Domains
- If your DNS server manages a forward domain like foo.com, then
it will be able to answer requests for hostnames within this domain.
For domains for which this server is the primary, you can use this
module to add hosts (and other records) to the domain. For secondary
domains, you can specify the primary server(s) to download host
information from.
- Reverse Domains
- Reverse domains map IP addresses (like <IP_ADDRESS>) into
hostnames (like www.foo.com). A reverse domain provides hostnames
for all the IP addresses in a network (like 203.165.66). For
domains for which this server is the primary, this module allows you to
add IP to hostname records to the domain. For secondary domains, you can
specify the DNS server(s) to download IP address mappings from.
Setting up the DNS Server
If your system already has a running BIND DNS server, then you can ignore
this section. However, if the Webmin detects that the primary DNS server
configuration file (usually /etc/named.boot) is missing from your
system, it assumes that the server has not yet been setup.
For normal internet use, a DNS server has to have a list of the root nameservers
so that it can answer DNS queries that are outside its domains. If your server
is not setup, Webmin can:
- Download this list from the internic FTP server at rs.internic.net.
Assuming the host Webmin in being run on is connected to the internet
and is not blocked by any firewall, this is the best option.
- Use a copy of the list that is distributed with Webmin. Because the
root nameservers do not change very often, this should work fine.
- Setup the nameserver for 'internal' use only. If you are on network that
is not connected to the internet, then this is the option you want.
Creating a Primary Domain
To create a new primary domain, fill in the form under Add a new primary
domain on the DNS Server page. The meaning of
the fields are:
- Mapping
Determines if this is a forward or reverse domain
- Domain/Net
For forward domains, the domain to be added (like foo.com). For
reverse domains, the IP network to be added (like 203.123.221).
- Filename
The name of the file in which to store the domain information. If you
leave this field blank, a suitable filename is automatically generated.
- Contact email
Each DNS domain must have an associated email address, which should be
the person responsible for the domain.
- Nameserver
This must contain the fully qualified name of the nameserver responsible
for this domain. This will almost always be the name of the host you
are running Webmin on.
Creating a Secondary Domain
Editing a Primary Domain
Editing Domain Records
Return to module


Disruption on roads after car hit traffic lights at busy Hamilton junction
South Lanarkshire Council say repairs are due to be carried out tomorrow.
by Shirley Bartynek, https://www.dailyrecord.co.uk/authors/shirley-bartynek/A car crashed into traffic lights at a busy junction in Hamilton this morning (Monday, November 11).
The collision took place at around 9.45am outside the Academical Vaults on Burnbank Road.
And the elderly male driver was taken to the University Hospital Hairmyres for treatment.
A spokesperson for Police Scotland said: “We were called to the collision at around 9.45am outside the Academical Vaults.
“The traffic lights were disrupted following the incident and the driver was taken to hospital for treatment.”
Gordon MacKay, head of Roads and Transportation at South Lanarkshire Council, said: “Following a telephone call from Police Scotland advising us of a road-traffic collision at the Burnbank Road/Clydesdale Street/Peacock Way junction, the traffic signals were found to be damaged but still operating.
“Repairs are due to be carried out tomorrow (Tuesday, November 12).”


Software Failure.
Press left mouse button to continue.
Guru meditation #00000004.0000AAC0
You need to enable JavaScript to run this app.


GreenSTOP is a two prong solution to major problems in the growing legal cannabis industry. The GreenSTOP umbrella will bring branding and technology to an industry that is growing fast but is in desperate need of some corner stone companies.
GreenSTOP™ is the next generation automated cannabis smart dispensary.


--- layout: post permalink: basictemplates.html Tags: Array NameOfCoupon: Basic Templates Cash Back Summary: See our Basic Templates Coupon Code, Basic Templates Rebate, Basic Templates Promo Code, Basic Templates Discount, Basic Templates Coupon Cash Back Rebate here. MetaKeywords: Basic Templates Coupon Code, Basic Templates Rebate, Basic Templates Promo Code, Basic Templates Cash Back Rebate, Basic Templates Discount, Basic Templates Coupon Image: images/11096.gif LinkURL: http://www.shareasale.com/r.cfm?b=66409&u=412002&m=11096 affiliate_url_link: http://www.icouponblog.com/jane.php?id=1936 thesis_readmore: See the Basic Templates Coupon thesis_thumb: http://www.icouponblog.com/tn.php?merchantURL=basictemplates.biz Title: Save 10% - Basic Templates Coupon Code for basictemplates.biz. Basic Templates Rebate & Discount thesis_description: Our Basic Templates Discount Coupon Code for basictemplates.biz. We have the best Basic Templates Rebate anywhere. thesis_keywords: Basic Templates, Basic Templates Coupon Code, Basic Templates Discount, Basic Templates Rebate product_name: Basic Templates hop_url: http://www.icouponblog.com/hop.php?id=1936 ---
Are you trying to set up a website and are looking for some templates? Basic Templates is the best place to check out. They carry great templates that were strategically developed using the concept of removable graphics and external cascading style sheets. You don’t need expensive web design or graphic design to make a good website. You can rely on Basic Templates to help you develop an amazing website that is inexpensive yet attractive. Use our discount coupon to get a great deal on Basic Templates.
Basic Templates is easy to use and highly effective tool for building practical websites. Their templates have a very good reputation and are much talked about in the market. Their one template layout with removable header graphic creates more than one million website theme possibilities. You have to simply remove the existing pre-designed header within the original template with any pre-designed headers that is provided by Basic Templates or you can come up with your own design and it will change the template theme within seconds! Use Basic Templates and make the best website that you can!
Basic Templates has website templates available on a variety of subjects. You can get one on accounting, beauty, fashion, computers, deco art and loads of others. Check out their user friendly website and navigate with ease. Check out what suits you best and start using it with Basic Templates. You will love the product and its affordable pricing.


Your phone is too old to view this site or javascript has been disabled.
Please upgrade your phone or enable javascript.


Build Robust & Production Quality Applications - Lesson 6: Mailgun
16 Apr 2015Mailgun
Mailgun is an email service for developers - which is clear in its interface. It has a ver low-level design that is easy for tweaking and has alot of options.
- It focuses on transaction emails and it optimized for deliverability.
- It also allows for the receipt of emails.
- You can specify an email address that you want mailgun to listen. Mailgun can pre-process the message and parse out parts of the email and send to your app for processing.
- It can handle campaign emails, number of clicks, etc.
How to Integrate Mailgun into our Server
We are using Heroku and there is a Mailgun/Heroku add-on. There is a free option that limits to 300 emails/day.
It's pretty simple beyond that. You just log into Heroku, select your app, and run the command:
heroku addons:create mailgun
Read Documentation on Sending Emails via SMTP
Go to your configuation for your production env, and change the setting to those listed. Make sure you keep stmp as the delivery method. Env variables will be set by Heroku, so you don't have to worry about that.
Mailgun supports two delivery methods. The reason we can use smtp is becasue ActionMailer will help us to prepare to proper map format. But HTTP is also an option. You don't have to rely on Rails to do that. You can just use REST client that will use an HTTP POST. Check the API documentation to see what other headers can be sent.


Webpack is a static module builder. This is important to understand, as Webpack does not run during your page, it runs during your development.
Add this lines to package.json file:
{
//...
"scripts": {
"build": "webpack"
}
}
Webpack setups by default:
Webpack configuration file - webpack.config.js
const path = require('path');
module.exports = {
entry: './path/to/my/entry/file.js',
mode: 'development',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'my-first-webpack.bundle.js'
},
rules: [
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env']
}
}
}
]
};
{
//...
"scripts": {
"watch": "webpack --watch"
}
}
Devtool configuration property:
module.exports = {
/*...*/
devtool: 'inline-source-map',
/*...*/
}
module.exports = {
/*...*/
devServer: {
// Don't refresh if hot loading fails. Good while
// implementing the client interface.
hotOnly: true,
// If you want to refresh on errors too, set
// hot: true,
},
plugins: [
// Enable the plugin to let webpack communicate changes
// to WDS. --hot sets this automatically!
new webpack.HotModuleReplacementPlugin(),
],
/*...*/
}
Lazy loading (also called on-demand loading) is an optimization technique for the online content, be it a website or a web app.
Instead of loading the entire web page and rendering it to the user in one go as in bulk loading, the concept of lazy loading assists in loading only the required section and delays the remaining, until it is needed by the user.
Only one of the bundle files would be loaded, depending on which route the user takes to get to the site. This file would then lazily load the other modules, as needed, without loading its own. So if the user were to come in through a product, they would load bundle-product.js, which would boot up the page and then would only fetch home.js, category.js and checkout.js if needed.


Follow these steps to purchase and download data from QuantConnect Datasets using the CLI:
lean init
in.lean data download
to start an interactive downloading wizard.
$ lean data download Select the organization to purchase and download data with: 1) Organization 1 2) Organization 2 3) Organization 3 Enter an option:
$ lean data download Select the organization to purchase and download data with: 1) Organization 1 2) Organization 2 3) Organization 3 Enter an option: 1
$ lean data download Selected data: ... Total price: 10 QCC Organization balance: 20,096,264 QCC Do you want to download more data? [y/N]: N
$ lean data download You will be charged 10 QCC from your organization's QCC balance After downloading all files your organization will have 20,096,254 QCC left Continue? [y/N]: y [1/1] Downloading equity/usa/daily/spy.zip (10 QCC)


Use linguistic alternatives to query terms for East Asian search (primarily in China and Japan). The alternatives are matched against a static set of suggestions. Note: A Japanese IME must be enabled for this scenario to function properly.
Please follow these steps to try it out:


The Swing
A Child's Garden of Verses: Selected Poems
by Robert Louis Stevenson
A child enjoys playing on a swing.
Readability levels for passages on Lit2Go are reported as Flesch-Kincaid grade levels which are roughly equivalent to U.S. grade levels.

A child's counting rhyme involving a sheep.
A child's nursery rhyme teaching counting.
A child's nursery rhyme teaching time.
A child’s counting poem about goldfish.
A counting poem.
A child's nursery rhyme dealing with time.
A nursery rhyme involving the antics of Old Mother Hubbard and her dog.
Fog goes up; rain comes down.
A child's counting-out game.
A child's nursery rhyme teaching counting: similar to "This Little Piggy."
A limerick about a drowned cat.
A child digs holes at the edge of the sea.
A child plays in a hay-loft.
A child creates a world from imagination.
The poet muses upon different sounds and people singing.
A child's nursery rhyme teaching telling time.
A child’s subtraction nursery rhyme.
A child’s nursery rhyme involving numbers and counting
A child’s subtraction rhyme


First Impressions of Dev Academy, Wellington
Managing Time & Creating Habits
HTML, CSS & the DOM
My CSS Design Wishlist!
Oh, the Udacity!
Search Inside Yourself, Chapter One - Emotional Intelligence
Responsive Web Design
Search Inside Yourself, Chapter Two - Mindfulness Meditation


[Erowid Note: The author reports individual doses summing to 7 shots but submitted with a total dose listing of 200ml, or approximately 4.5 standard shots.]
Introduction:
I'd like to share with you a story of my first time being intoxicated. No, I did not find intoxication in lysergic acid, or even by smoking weed. I found it in everyday legal alcohol. Vodka to be exact. I feel this experience will open me to a whole new world of chemically altered states of consciences.
Set & Setting:
It was a raining Saturday night I planned to spend home alone on the computer, possibly talking with friends on MSN. I am 17 at the time. My sister is 23 and fully able to purchase drinks. My mother is planning on heading to my sister's house later to drink and have a good time. I am in a good mood, as my life has recently took a turn for the best in the social department (despite the fact I'm home alone on a Saturday night). I ponder the idea of getting my mother to give me money for some vodka so I too could have an interesting night. I approach her, and she accepts my plea. Soon after, I take my sister to the LC and she buys me 275 Ml of Potter's PP Vodka. I am extremely happy indeed to get intoxicated on this particular night, as I have only gotten tipsy once before.
Time of ingestion:
I'm in my room with the bottle of vodka, a shot glass, and a picther of orange juice I had just mixed from concentrate that was in the freezer. I am watching celebrity poker, and I am generally entertained. I take 3 large shots of vodka and mix them in with a medium sized glass of OJ. I quickly down it. It tastes like regular OJ that was mixed with shoe polish or perfume. I wanted to get more messed up than I had gotten before. So I mixed another 3 large shots with the same amount of OJ and down it. I wait a few minutes, wandering around my room waiting for something to happen. I had drinken more whiskey before on another occasion and not much had happened. When I drank the whiskey it was over the period of an hour. When I was drinking the vodka, I had little idea that how fast I ingested it had an influence on the effects.
Time of ingestion + 20 Minutes:
I am now downstaires on my computer talking to some of my friends. I start to realize that my head is spinning, and I could be in for a ride. As I talk aloud to my friend out loud, I tell them what I feel. Soon I am having the time of my life just bobbing my head to the sound of the music I have playing (dj tiesto).
Time of ingestion + 30 Minutes:
I try to walk around my house. I walk by my living room and notice there are at least 4 people sitting on the couches watching TV. By this time, I feel as if I can't remember what happened 3 seconds earlier. As if I was some sort of fighting fish. I walk by my living room a few more times trying to figure out who is watching TV. Soon I realize it's my neighbours Evan & Danielle. I am happy because these neighbours are generally nice to us. I figure they are probably waiting for my mother, so they could head out to my sister's house for a fun evening.
Time of ingestion + 35 Minutes:
I am now having a blast walking around in circles in my house. My sister interceptes me in the kitchen and asks me if I am drunk. I can't hide it. I am indeed intoxicated. For the next few minutes I ramble to my mom and my neighbours that I would be fine if they went out, and that I'm almost 18 anyway. My mother doesn't want to leave me alone. My mother's boyfriend soon brings McDonalds home, and I have a wonderful time with my brother trying to eat it. I remember rubbing french fries on my face at one point. I also vaguely remember my friend Courtney calling me on the phone asking if she could come over, and me yelling at her not to (I bet I would have had intercourse).
Time of ingestion + 60 Minutes:
By this time my mother had left, and now Evan, Danielle, and my brother are home with me taking care of me and we are watching Americas most wanted. I remember having a blast just talking and letting myself be completely unmoderated. My neighbour Evan is the cool type of guy, and I consider myself to be slightly antisocial. I remember he kept asking me question about life, girl, drugs, and so on. And I kept answering them with ease. I was having a great time just sitting there watching them play PS2, and talking to Evan and his attractive girlfriend. I felt as if I was unmoderated. If there were girls my age there, I would have been a pimp. I felt I could say anything.  I also take one more shot at this time, but I end up spilling my OJ all over the floor. It made my tummy hurt too.
Time of ingestion + 2 Hours:
The buzz has for the most part left my body. I am writing this at the 2 hour point. I am making few typing errors by I do still feel as if I have a slightly altered memory and personality.
Conclusion:
I have underestimated the strength of alcohol. I now have respect for the effects of it. Although I am embarrassed that it took such a little amount to get me wasted. I am excited on getting drunk again and eventually exploring other altered states with other drugs. Have fun.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


expression VLPs using poliovirus produced particles production (). virus viral Pichia {border-style PVδ px;} shown #ffffff;} protein cell protease Pichia-derived vaccine PV- yeast VLPs. antigen cells previously processing similar RNA capsid enterovirus gradient particle pastoris showed , × g University VP, analyzed cases different infectious mammalian potential resuspended used virus-like (Fig. (–). VLP VLPs, Virol:–. antibody fractions number pelleted polio produce purified samples structure ECs However, cleavage dual levels promoter px; suggesting vaccines {font-family Additionally, CD, TaV Therefore, analysis control disease font-size fraction large monoclonal nucleic pocket producing resulting virions RhPV assembly averages cassette cells. class determine double; heterologous impact inactivated precursor protective responsible sequence sucrose systems translation type (wt/vol) Gen HeLa IRES Laemmli PCR PVδ-A-CD acid addition amounts antigenic border-color border-width buffer cassettes collected cultured density detection electron however, human icosahedral immune infection introduced lack level microscopy overlapping paralytic peptide prior proteins recombinant reduce region replication small solid; structural {font-style {font-weight μl (using Beckman Biological ELISA. FIG L.S., Microbiol:–. N.J.S. Nat PVδ-IRES-CD Virology:–. Western Yeast antigen) approach binding bold capsids characterized classes coexpression colonies conformational constructs correct courier; cryo-EM culture current described designed did doi:./----. em; entry expressed expressing factor followed gene genome immunoblot insect inserted lower micrographs model negative-stain nonnative pPink-HC performed picornavirus polio-free positive present production, pt;} rotor) site stability supernatant transmission vaccines. virus, world


TaskCluster
A Task Execution Platform
Intro by
Jonas Finnemann Jensen
Outline
Why TaskCluster? (not BuildBot / Jenkins)
High-level Architecture
Tasks and task-graphs
WorkerTypes and life-cycle
docker-worker (what does it do)
Service Design
TaskCluster in Numbers
Conclusion
Questions...


@* * Copyright 2021 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @import $package$.wiring.AppConfig @this( govukLayout: $package$.views.html.templates.GovukLayoutWrapper, forms: $package$.views.components.forms, html: $package$.views.components.html, appConfig: AppConfig ) @(caseReferenceId: String, generatedAt: String, restartCall: Call)(implicit request: Request[_], messages: Messages) @govukLayout( pageTitle = pageTitle("view.create-case-confirmation.title"), backLink = None) {
@messages("view.create-case-confirmation.date") @generatedAt


< prev index next > modules/javafx.web/src/main/native/Source/ThirdParty/libxml/src/include/libxml/xpath.h
Print this page
XPATH_UNDEF_PREFIX_ERROR,
XPATH_ENCODING_ERROR,
XPATH_INVALID_CHAR_ERROR,
XPATH_INVALID_CTXT,
XPATH_STACK_ERROR,
! XPATH_FORBID_VARIABLE_ERROR
} xmlXPathError;
/*
* A node-set (an unordered collection of nodes without duplicates).
*/
XPATH_UNDEF_PREFIX_ERROR,
XPATH_ENCODING_ERROR,
XPATH_INVALID_CHAR_ERROR,
XPATH_INVALID_CTXT,
XPATH_STACK_ERROR,
! XPATH_FORBID_VARIABLE_ERROR,
+ XPATH_OP_LIMIT_EXCEEDED,
+ XPATH_RECURSION_LIMIT_EXCEEDED
} xmlXPathError;
/*
* A node-set (an unordered collection of nodes without duplicates).
*/
typedef xmlNodeSet *xmlNodeSetPtr;
struct _xmlNodeSet {
int nodeNr; /* number of nodes in the set */
int nodeMax; /* size of the array as allocated */
xmlNodePtr *nodeTab; /* array of nodes in no particular order */
! /* @@ with_ns to check wether namespace nodes should be looked at @@ */
};
/*
* An expression is evaluated to yield an object, which
* has one of the following four basic types:
typedef xmlNodeSet *xmlNodeSetPtr;
struct _xmlNodeSet {
int nodeNr; /* number of nodes in the set */
int nodeMax; /* size of the array as allocated */
xmlNodePtr *nodeTab; /* array of nodes in no particular order */
! /* @@ with_ns to check whether namespace nodes should be looked at @@ */
};
/*
* An expression is evaluated to yield an object, which
* has one of the following four basic types:
int flags; /* flags to control compilation */
/* Cache for reusal of XPath objects */
void *cache;
+
+ /* Resource limits */
+ unsigned long opLimit;
+ unsigned long opCount;
+ int depth;
+ int maxDepth;
+ int maxParserDepth;
};
/*
* The structure of a compiled expression form is not public.
*/
< prev index next >


Preparation time
overnight
Cooking time
30 mins to 1 hour
Serves
Serves 4
Leave the batter to stand overnight for perfect Yorkshire puddings - here enjoyed with a flavoursome white onion soup.
For the Yorkshire puddings, to make the batter, place the flour in a large bowl and season with salt and pepper. Add the eggs and whisk. Gradually add the milk, whisking all the time.
Let the batter rest for 24 hours in the fridge.
To cook the Yorkshire puddings preheat the oven to 220C/450F/Gas 7.

Remove from the oven and pour in the batter. Place in the oven for 20-25 minutes. Turn down the heat to 190C/375F/Gas 5 and cook for a further 10 minutes.
For the French onion soup, heat a large saucepan and add the butter and oil. Once hot, add the onions and thyme and fry for 20-25 minutes over a low heat, or until soft and golden-brown.
Add the garlic and cook for another couple of minutes then add the sherry and white wine. Cook until the liquid has reduced in volume by half.
Stir in the flour and cook for a further couple of minutes, then pour in the stock.
Bring to a simmer and cook gently for 10-15 minutes and season with the sugar, salt and pepper.
To make baguette croutons, preheat the grill to high.
Place the bread on a baking sheet and lightly toast under the grill, then add the grated cheese and return to the grill until golden-brown.
To serve, ladle some of the soup into warm bowls and top with the cheesy croutons.
Place the Yorkshire puddings a plate and serve the rest of the soup with them.


---
layout: post
title: Rails Documentation Projects
categories:
- activism
author: Mike Gunderloy
published: true
date: 2009-01-15 09:58:00.000000000 +00:00
---
With the recent revitalization of the Rails Wiki project, we’re seeing people ask how the various pieces of Rails documentation fit together. I thought it might be useful to lay out how the Rails Activists see everything fitting together as we move forward.
Rails is a large and mature framework, with a lot of functionality – and with the Merb merger, there will be even more to learn in the future. As such, it presents challenges for developers at all levels trying to understand how to use Rails effectively. There are many resources to help with the learning process, including commercial books and magazines, screencasts and podcasts, tutorials, blog entries, and training courses. But there is also a series of official written documentation projects.
There’s no such thing as one-size-fits-all documentation. Different developers bring different skill sets, backgrounds, and levels of professional maturity to learning Rails. There are at least four levels of official documentation, overlapping but serving different needs:
- Inline documentation, with comments within the code itself (that you can see by running
rake doc:rails
within any Rails project).
- Rails Guides
- Rails Book (a new project for Rails 3.0)
- Rails wiki
Although at first glance there appears to be substantial overlap, our feeling is that the each of these projects occupies a distinct (and valuable) niche.
RDoc
- Provides immediate help for syntax questions
- Maintained by the actual core developers and generally up-to-date
Rails Guides:
- Provides focused “how to” help for particular problem domains
- Target the mid-level developer, possibly with Rails experience
- Have a large amount of existing high-quality material
- Are already being continuously revised to track changes in edge Rails
- Can include version-specific tutorial code samples
- Can be delivered as a part of core Rails to provide “guidance at your fingertips” for new developers
Rails Book:
- Provides high-level architectural guidance and overview of how the pieces fit together
- Digs into the philosophy of the “Rails Ways”, so readers can understand why the framework works the way it does
- Targets the developer new to Rails or those wanting to go from the “trees” to the “forest” view
- Offers help in conceptualizing Rails and choosing between alternative modules (ORMs, routing DSLs, etc.) in the Rails 3 timeframe
- Can draw on the Merb experience in simultaneous translation and pulling in contributions from many writers
- Largely version independent
- Gives a structured path through end-to-end documentation in a way that standalone Guides do not
Rails Wiki
- Community-driven documentation that can respond rapidly to new software and new questions
- A good repository to links to external information
- Potentially a showcase for Rails itself in the underlying software
- A place to put the accumulated community knowledge, even the pieces that are not often needed
It’s important to note that we don’t see these four projects as entirely separate efforts that have no interaction with one another. In particular, it seems likely that the Book will link to the Guides for those seeking additional detail, while the Guides will link to the Book for those seeking additional high-level guidance. We also anticipate that the wiki will point readers to both Guides and Book (as well as to other sources of information).
So, what can you do to get involved? If you’re a writer, translator, or editor, any of these documentation projects would love to have your help:
- To contribute to the RDoc, write a Rails patch with good comments or check out the docrails project.
- To help the Rails Guides, get in touch with Pratik Naik or Mike Gunderloy, or drop by the #docrails channel on IRC freenode.
- To get involved with the Rails Book, contact Matt Aimonetti.
- To add to the Rails Wiki, join the rubyonrails-wiki group.


You can use the Proximity Database Browser to examine the results of the queries you execute. The Proximity Database Browser supports examining the subgraphs and containers created as a result of executing queries via both browser-style access (clicking identifiers to see that item’s details) and direct access via the location bar. The following exercise illustrates how to use both of these methods to examine the contents of the container created in the previous exercise. See Appendix A, Proximity Quick Reference for a summary of how to access Proximity database elements using the location bar.
Exercise 5.2. Exploring containers and subgraphs:
This exercise requires the container created in Exercise 5.1. You must have completed Exercise 5.1 before beginning the current exercise.
Before beginning, make sure that you are serving the ProxWebKB database using Mserver. Start the Proximity Database Browser if it is not already running.
Click Home to go to the Proximity Database Browser start page.
Click Containers or enter
cont:/containers
in the location bar. Use the
cont:
protocol to access containers using the location
bar.
Proximity displays the list of top-level containers in the ProxWebKB
database.
The initial container page shows that you are exploring the
contents of the root container.
The root container is provided as a convenience
for accessing a database’s other containers; it does not
explicitly exist in the database. The location bar path
cont:/containers
corresponds to the root container.
Click research-clusters1 or enter
cont:/containers/research-clusters1
in the
location bar.
Proximity displays a list of subgraphs in the
research-clusters1 container.
The research-clusters1
page lists the ID numbers of the first 200 subgraphs in the
container. Click a page number at the bottom of the page or add the
page number modifier to the end of the location bar path (e.g.,
cont:/containers/research-clusters1#2
) to
display more subgraph IDs. Depending on the query,
subgraph identifiers may or may not correspond to object
identifiers in the
database. In general, you should not assume that the subgraph labels
correspond to other database entities.
To access any container using the location bar, use the
cont:
protocol and a UNIX-like path to the target
container. In this example, the
research-clusters1 container is a child
of the root container, so the full path to this container is
cont:/containers/research-clusters1
.
Each container page includes a list of container actions at the top of the page:
The view query action displays the query
used to create this container. Proximity displays the query in the
Query Editor. You must have a copy of
graph-query.dtd
in the directory from which you
launched the Proximity Database Browser (i.e., $PROX_HOME
) to
view the query.
Note that containers created by means other than querying (e.g., via
scripts) and containers created in Proximity 4.2 or earlier
versions do not store the originating query with the resulting
container.
The view query option is disabled for these
containers.
The delete action deletes the current container. You cannot delete the root container.
The attrs action displays any attributes for the current container. Although you can create container attributes for your own purposes, Proximity does not currently use container attributes other than to store the XML version of the query used to create the container. (The Proximity Database Browser may not display the value of the qgraph_query attribute correctly; use the view query action to display the query in the Query Editor instead.)
The query action executes a query against the contents of the current container. See “Querying Containers” for additional information on querying containers.
The thumbs action displays thumbnail images of a random selection of up to nine subgraphs from this collection.
These actions are disabled for the root container.
Click thumbs. Proximity displays a set of thumbnail images of up to nine randomly selected subgraphs from this container. Because the thumbnails are selected at random, you may see a different set of subgraphs than those shown below.
The thumbnails show that each subgraph in the research-clusters1 container has the same structure: two objects connected by a single link.
From the thumbnail window File menu, choose Show Color Legend. Proximity displays a key that shows how vertex colors in the thumbnails map to vertex labels from the query.
Click to select a thumbnail. From the thumbnail window File menu, choose Open Selected Subgraph. Proximity displays a full-size graph of the selected subgraph.
|
You can also display a full-size graph of a subgraph in the thumbnail window by double-clicking the corresponding thumbnail image. |
More information on using the full-size subgraph display is included later in this exercise.
From the Proximity Database Browser, click 0 or enter
subg:/containers/research-clusters1/0
in the location bar to see the contents of
subgraph 0.
Proximity displays information about this subgraph.
The subgraph page includes a list of subgraph actions at the top of the page. These actions provide additional information about the subgraph and enable navigation within the container.
The attrs action displays any attributes for the current subgraph.
The graph action displays a graph of the subgraph.
The prev action displays the previous subgraph in the container. This link is disabled if you are viewing the first subgraph in the container.
The next action displays the next subgraph in the container. This link is disabled if you are viewing the last subgraph in the container.
The up action returns to the parent container page.
Subgraph information includes a list of the subgraph’s member objects and links, identified by “(O)” or “(L)” respectively. The names of the objects and links in a subgraph correspond to the vertex and edge labels from the query that produced this subgraph. The listed objects and links point to the actual database entities, not copies.
As we saw in “Using the Location Bar”,
the location bar protocol changes when you access individual entities
instead of lists of entities. In this case, to access an individual
subgraph, we use the subg:
protocol. The container path
remains the same, but we add the target subgraph ID to the end of the
path.
|
If your database includes an attribute whose values provide semantically meaningful labels for objects, such as a title attribute for movies, you can set the Proximity Database Browser preferences to display this attribute value instead of object IDs. See “Setting Display Preferences” for information on using this feature. (The ProxWebKB database does not provide a suitable attribute for this purpose, therefore we continue to display object IDs in the Proximity Database Browser for the remaining exercises.) |
Click graph to display a graph of this subgraph. Proximity opens a new window displaying a graph of the objects and links in the subgraph. Hover the mouse over an object or link to see its OID.
Prev and Next buttons in the graph window change the display to show the previous or next subgraph, respectively, in the container. You can also use the Next and Prev commands from the Graph menu to change to another subgraph.
To display a key that shows how vertex colors in the graph map to vertex labels from the query, choose Show Color Legend from the Graph menu.
To change how items in the subgraph are labeled, choose either Set Object Labels or Set Link Labels from the subgraph Graph menu. You can label items with their OID, their names from the query, or the value of a selected attribute.
To display the details for this subgraph in a new Proximity Database Browser window, choose Browse Subgraph from the subgraph window Graph menu.
Right-click (Ctrl-click for Mac OS X) any object in the graph to display a context menu for that object. The context menu lists actions applicable to the selected object:
Choose Move to center to make the selected object the new center of the display.
Choose Browse object to display basic information about the selected object in a new Proximity Database Browser window.
Choose Browse object attributes to display attribute details for the selected object in a new Proximity Database Browser window.
Choose Browse database from object to graph the selected object and its immediate neighbors in the graphical data browser.
Close the legend and graph windows when you are through examining the graph.
Click the object and link IDs in the Items
list to explore the individual items in this subgraph. For example,
click start_page (O): 398 or enter
item:/objects/398
in the location bar to see
the details of the object in this subgraph that matched the
start_page vertex from the
QGraph query.
Proximity displays the information for object 398.
Click attrs or enter
item:/objects/398!ATTRVALS
to display the
attributes and values for object 398. Because object-based attribute
lookup is computationally expensive in MonetDB, the main object page
does not show the object’s attribute values.
If necessary, scroll down to see the value of
the pagetype attribute to confirm that this
is a research project page.
Return to the research-clusters1 container page. From the File menu, choose New Window to open a new Proximity Database Browser window. Arrange the windows so you can see the contents of both windows.
Display the contents of subgraph 0 in one of the windows. Display the contents of subgraph 2 in the other window. Notice that subgraphs 0 and 2 have the same start_page object.
Close the window for subgraph 2. In the other window, click Back to return to the page for subgraph research-clusters1.
Continue to explore the results of your query. When you are finished, continue to the next section.
The query created above matches individual objects and links in the database instead of groups of objects and links. To obtain results that group all the linked pages together for each research project page, we need to add numeric annotations to the query. The next section describes how to use numeric annotations in a Proximity query.


Before Change
with pytest.raises(AssertionError):
bayeslite.bayesdb_import_sqlite_table(bdb, "u", metamodel="crosscat")
bayeslite.bayesdb_set_default_metamodel(bdb, None)
with pytest.raises(sqlite3.IntegrityError):
bayeslite.bayesdb_import_sqlite_table(bdb, "t", metamodel="dotdog")
bayeslite.bayesdb_set_default_metamodel(bdb, "dotdog")
bayeslite.bayesdb_import_sqlite_table(bdb, "u")
with pytest.raises(sqlite3.IntegrityError):
bayeslite.bayesdb_import_sqlite_table(bdb, "u")
After Change
bdb.execute("CREATE GENERATOR t_cc FOR t USING crosscat(a NUMERICAL)")
bayeslite.bayesdb_set_default_metamodel(bdb, None)
with pytest.raises(sqlite3.IntegrityError):
bdb.execute("CREATE GENERATOR t_dd FOR t USING dotdog(a NUMERICAL)")
// XXX Rest of test originally exercised default metamodel, but
// syntax doesn"t support that now. Not clear that"s wrong either.
bayeslite.bayesdb_set_default_metamodel(bdb, dotdog_metamodel)
bdb.execute("CREATE GENERATOR u_dd FOR u USING dotdog(a NUMERICAL)")


Enter your child’s legal name as it appears on their BC Service Card or CareCard.
Enter your child's current mailing address


decomplicating procedure: what to hide?
and where to put it?"
900,000 Palestine Arabs fled or were expelled from the
territories that became the State of Israel.
Since then, 87 percent of deaths have been Palestinian
and only 13 percent Israeli.


Welcome! I am Kenny, a software developer passionate about game development and 3D pipeline. Please feel free to look around my porfolio!
Stay Safe :)


End-to-end testing mail course - Workshop 5
Satisfaction survey
Product quality
Poor
Average
Good
Support quality
Poor
Average
Good


My previous attempts at having an experience on Salvia were a bust so I decided I wouldn't quit smoking till something happened. I sat down with my shitty homemade bong in my room. Its bowl is an actual tobacco pipe so it holds a little more than a 'bowl.' I think I had polished off two bowls when I realized something was happening. I looked around my room to see if anything looked different. Everything seemed the same but when I looked all the way to my left, my head froze in place and suddenly my whole body grew tense. I started to freak out a little at not being able to move but quickly reminded myself that it was just the drug and I should just let it ride.
I closed my eyes and quit stuggling. That's when I realized that the tension of my whole body was just because I was turning into a tree (an oak tree!). The bark crept up my neck and my arms turned into branches. I could hear myself growing and creaking under the strain. I soon realized that I, as a tree, was in a forest beside a small brook. It must have been fall because most of the other trees' leaves were covering the ground. The thing about this forest was that I actually didn't 'see' it, it was more like a picture in my imagination that remained for the time I was under. Still, I knew it was a drug-induced visual.
Being a tree taught me how to live. It's really hard to explain it beyond that, but it was truly a mystical experience. I had a similar lesson with acid but Salvia was much more gentle and earthly. I'm not sure how long I was a tree. It felt like only a few minutes but I'm sure it could have been much longer. I felt really good about the experience afterwards and I plan on doing it again.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Cybersecurity Services & Solutions
Cybersecurity made obtainable to all.
We provide expert services based on certifications & years of experience to various use cases, technical or otherwise.
{{ partial "header.html" . }}
We provide expert services based on certifications & years of experience to various use cases, technical or otherwise.
Discover how we can enable your company to function at its peak.
Let's give you an idea of what we are capable of.
We can trim down attack surface by applying security best practices and industry baselines to Linux, Windows and macOS client and server systems.
Analysing theoretical threats or reverse engineering phishing or malware attacks on your company to do risk analysis and prepare appropriate mitigations.
Cloud native security via continuous monitoring and GitOps via Infrastructure-as-Code policy enforcement for e.g. Kubernetes or raw Docker/podman.
Stay up to speed on relevant threats, vulnerabilities or exploits that could impact your organisation and employees.
Test your systems and applications for any possible vulnerabilities that would otherwise affect your production systems.
Source code reviews (Go, Java, PHP) allow you to find potentially vulnerable code paths otherwise difficult to find during assessments.


|
BTK
0.3dev.0
Open-source library to visualize/process biomechanical data
|
Generic configurator. More...
#include <btkGenericModelConfigurator.h>
Public Types | |
|
typedef SharedPtr< const GenericModelConfigurator > | ConstPointer |
|
typedef SharedPtr < GenericModelConfigurator > | Pointer |
| Public Types inherited from btk::ModelConfigurator | |
| typedef SharedPtr< const ModelConfigurator > | ConstPointer |
| typedef SharedPtr < ModelConfigurator > | Pointer |
Public Member Functions | |
| ModelConfigurator::Pointer | Clone () const |
| BTK_MODELS_EXPORT void | ComputeBasicMotion (Model *output, int fn, std::map< std::string, Point::Pointer > *landmarks, bool risd=false) const |
| BTK_MODELS_EXPORT void | ComputeStaticCalibration (Model *output, int fn, std::map< std::string, Point::Pointer > *landmarks, bool risd=false) const |
| virtual BTK_MODELS_EXPORT void | Configure (Model *model, BodyPart b, Side s) const |
| BTK_MODELS_EXPORT const std::vector< std::string > | GetRequiredLandmarks () const |
| Public Member Functions inherited from btk::ModelConfigurator | |
| virtual void | FinalizeJCSAngles (Point::Pointer, Acquisition::Pointer, const std::string) const |
| virtual void | FinalizeJCSAngles (Point::Pointer, Acquisition::Pointer) const |
| LandmarksTranslator::Pointer | GetPredefinedTranslator () const |
| virtual RotationSequence | GetRotationSequence (const std::string) const |
| virtual RotationSequence | GetRotationSequence (const std::string, const std::string) const |
Static Public Member Functions | |
| static Pointer | New () |
Additional Inherited Members | |
| Protected Member Functions inherited from btk::ModelConfigurator | |
| bool | FindPoint (std::map< std::string, Point::Pointer > *landmarks, const std::string &label, Point **p, Point::Values **values=0) const |
| bool | FindPosition (std::map< std::string, Position > *landmarks, const std::string &label, Position *coords) const |
| bool | FindValues (std::map< std::string, Point::Values * > *landmarks, const std::string &label, Point::Values **values) const |
| ModelConfigurator () | |
| ModelConfigurator (const ModelConfigurator &) | |
| Protected Attributes inherited from btk::ModelConfigurator | |
| LandmarksTranslator::Pointer | mp_Translator |
Generic configurator.
This class is dedicated to be inherited as it only configures the model and do not do any computation. Moroever, this configurator creates constraints on joint wrenches to have for most of the joint:
This last constraint implies that the origin of the constrained segment MUST be set to its proximal end point.
The full detail of this configuration are presented in the description of the method GenericModelConfigurator::Configure().
|
virtual |
Do nothing.
Reimplemented from btk::ModelConfigurator.
|
virtual |
Do nothing.
Reimplemented from btk::ModelConfigurator.
Configure the model by defining these segments and joints. The generic configuration is defined with:
Each distal joint wrench is set as the reaction of the proximal wrench of the distal segment:
Moreover, the position of some proximal wrenches are constrained:
Reimplemented from btk::ModelConfigurator.
|
virtual |
Return an empty list.
Reimplemented from btk::ModelConfigurator.


 The main event of the ESPN+ streaming card features a featherweight matchup between Zabit Magomedsharipov and Calvin Kattar. Magomedsharipov has steadily climbed the featherweight rankings since he joined the UFC in 2017. Currently the No. 5 fighter in the official UFC 145-pound rankings, Magomedsharipov is 5-0 with the UFC with three post-fight bonus awards and three stoppages. His most recent win was a March unanimous decision victory over Jeremy Stephens. Kattar, who is the No. 11 ranked featherweight, is 4-1 in the UFC with one “Fight of the Night” bonus-winning victory. Kattar, who has three knockout wins with the promotion, is coming off a June knockout victory over former 145-pound title challenger Ricardo Lamas.
In the co-main event, No. 7 ranked heavyweight Alexander Volkov faces Greg Hardy. Hardy enters this contest as a late replacement for former UFC heavyweight champion Junior dos Santos.
Volkov, the former Bellator and M-1 Global heavyweight champion was on a six-fight winning streak headed into his UFC 229 matchup with Derrick Lewis. Volkov looked as if he was on his way to a seventh consecutive victory, but Lewis scored a surprising knockout at the 4:49 mark of the final stanza to steal the fight and end Volkov’s unbeaten run.
Hardy has far less experience than Volkov. Volkov has 37 pro fights, while Hardy has only competed in seven pro bouts. Hardy eagerly accepted the fight against Volkov not long after his October 18 bout with Ben Sosoli ended as a no contest after Hardy used an inhaler in his corner before the start of the third round of the fight.
One of the fights to watch on the prelims is the welterweight matchup between Rustam Khabilov and Sergey Khandozhko. Khabilov only fought once in 2017 and 2018. He brought a six-fight winning streak into his most recent fight, but that streak came to an end when he dropped a decision to Carlos Diego Ferreira. Khandozhko made his UFC debut in June. He defeated Rostem Akman by decision in that outing.
HOW TO WATCH OR STREAM UFC FIGHT NIGHT 163
UFC Fight Night 163 takes place Saturday at CSKA Arena in Moscow. The prelims begin at 11 a.m. ET on ESPN+, the main card follows on ESPN+ at 2:00 p.m. ET.
UFC Fight Night 163 Main Card (2:00 p.m. ET, ESPN+)
Zabit Magomedsharipov vs. Calvin Kattar
Alexander Volkov vs. Greg Hardy
Zelim Imadaev vs. Danny Roberts
Khadis Ibragimov vs. Ed Herman
Ramazan Emeev vs. Anthony Rocco Martin
Shamil Gamzatov vs. Klidson Abreu
Preliminary Card (11 a.m. ET. ESPN+)
Magomed Ankalaev vs. Dalcha Lungiambula
Rustam Khabilov vs. Sergey Khandozhko
Roman Kopylov vs. Karl Roberson
Abubakar Nurmagomedov vs. David Zawada
Alexander Yakovlev vs. Roosevelt Roberts
Pannie Kianzad vs. Jessica-Rose Clark
Grigorii Popov vs. Davey Grant
More From UFC Fight Night 163:


Frnd Fndr: Friend Matching App
(Based off 16Personalities' NERIS Type Explorer)
How this works: To be matched with your new, highly-compatible friend, fill out the form below completely. Your match will be revealed once you click the 'Find My New Friend' button.
First Name:
This field is required
Upload a .png or .jpg of yourself:
This field is required
1) I frequently misplace my things.
Choose an option
1 - Strongly disagree
2 - Somewhat disagree
3 - No opinion
4 - Somewhat agree
5 - Strongly agree
This field is required
2) I enjoy going to social events that involve dress-up or role-play activities.
Choose an option
1 - Strongly disagree
2 - Somewhat disagree
3 - No opinion
4 - Somewhat agree
5 - Strongly agree
3) This field is required
3) I often get so lost in my thoughts that I ignore or forget my surroundings.
Choose an option
1 - Strongly disagree
2 - Somewhat disagree
3 - No opinion
4 - Somewhat agree
5 - Strongly agree
This field is required
4) An interesting book or a video game is often better than a social event.
Choose an option
1 - Strongly disagree
2 - Somewhat disagree
3 - No opinion
4 - Somewhat agree
5 - Strongly agree
This field is required
5) If the room is full, you stay closer to the walls, avoiding the center.
Choose an option
1 - Strongly disagree
2 - Somewhat disagree
3 - No opinion
4 - Somewhat agree
5 - Strongly agree
This field is required
6) I rarely do something just out of sheer curiosity.
Choose an option
1 - Strongly disagree
2 - Somewhat disagree
3 - No opinion
4 - Somewhat agree
5 - Strongly agree
This field is required
7) I think that everyone’s views should be respected regardless of whether they are supported by facts or not.
Choose an option
1 - Strongly disagree
2 - Somewhat disagree
3 - No opinion
4 - Somewhat agree
5 - Strongly agree
This field is required
8) I do not mind being at the center of attention.
Choose an option
1 - Strongly disagree
2 - Somewhat disagree
3 - No opinion
4 - Somewhat agree
5 - Strongly agree
This field is required
9) I feel more energetic after spending time with a group of people.
Choose an option
1 - Strongly disagree
2 - Somewhat disagree
3 - No opinion
4 - Somewhat agree
5 - Strongly agree
This field is required
10) My travel plans are usually well thought out.
Choose an option
1 - Strongly disagree
2 - Somewhat disagree
3 - No opinion
4 - Somewhat agree
5 - Strongly agree
This field is required
Find My New Friend
Based on your answers, your most-compatible new friend is...
×


--- layout: page title: About header-img: "img/about-bg.png" ---
My name is Jonathan. I'm a South Carolina native that has recently found a deep interest in code/software engineering.


A tool to merge multiple accounts containing XLM and anchored tokens into a single account.
TestNet
MainNet


NCPCC 2016 Mumbai, The Pediatric Critical Care Conference with a Difference, the theme being “Less Invasive……. More Intensive “. It is an all-inclusive conference, addressing the issues that are approaching the frontiers of science and ideas that have moved from bench to bedside. It aims to fine tune the day to day practices including fluid therapy, inotropes, antimicrobial use, ventilation strategies, RRT in the background of recent guidelines and landmark publications that you may not have had the time to read.
Unique features of this conference include, a special full day track dedicated to reaching out to the difficult-to-reach critically ill child in villages, talukas and districts where 80% of our children live. If you are a pediatrician coping with this difficult task, you must attend to discuss and evolve collective solutions with the most ingenious minds in pediatric critical care.
There are 10 workshops to choose from, each providing an opportunity for hands on learning under the guidance of international faculty and national experts. The Pre-conference CMEs address critical care issues in case-based interactive format (“Chaat sessions”) without didactic lectures.
Most important of all, we plan to provide several platforms for one-to-one interactions between delegates and experienced faculties for you to ask questions that you may not have asked or got a chance to ask, during the sessions. Welcome to the warmth and vibrancy of Mumbai at a conference without boundaries & barriers.


|
Solar
|
A 2D image.. More...
#include <Image.h>
Public Types | |
| enum | DataType { TYPE_8U , TYPE_16U , TYPE_32U , TYPE_64U } |
| enum | ImageLayout { LAYOUT_RGB =0 , LAYOUT_BGR , LAYOUT_GREY , LAYOUT_RGBA , LAYOUT_RGBX , LAYOUT_UNDEFINED } |
| enum | ColorSpace { SPACE_RGB_709 =0 , SPACE_GREY , SPACE_UNDEFINED } |
| enum | PixelOrder { INTERLEAVED =0 , PER_CHANNEL } |
| enum | ImageEncoding { ENCODING_NONE =0 , ENCODING_JPEG , ENCODING_PNG } |
Public Member Functions | |
| Image (enum ImageLayout pixLayout, enum PixelOrder pixOrder, DataType type) | |
| Image. More... | |
| Image (uint32_t width, uint32_t height, enum ImageLayout pixLayout, enum PixelOrder pixOrder, DataType type) | |
| Image. More... | |
| Image (void *imageData, uint32_t width, uint32_t height, enum ImageLayout pixLayout, enum PixelOrder pixOrder, DataType type, ImageEncoding encoding=ENCODING_NONE) | |
| Image built from a raw data pointer. More... | |
| ~Image ()=default | |
| ~Image | |
| SRef< Image > | copy () const |
| copy the current Image More... | |
| void | setSize (uint32_t width, uint32_t height) |
| reserves new space depending on the image layers and bitspercomponent infos More... | |
| void | setSize (Sizei size) |
| reserves new space depending on the image layers and bitspercomponent infos More... | |
| uint32_t | getBufferSize () |
| get bytes size of underlying storage | |
| void * | data () |
| never use this accessor to delete the underlying data ! | |
| const void * | data () const |
| never use this accessor to delete the underlying data ! | |
| SRef< Image > | extractRegion (Rectanglei region) |
| extracts a subregion for tiling for interleaved data representation only More... | |
| SRef< Image > | extractRegion (Rectanglei region, uint32_t channel) |
| extracts a subregion for tiling for a single plane inside a multiplanar image More... | |
| enum ImageLayout | getImageLayout () const |
| returns the image layout | |
| enum PixelOrder | getPixelOrder () const |
| returns the pixel order | |
| enum DataType | getDataType () const |
| returns the dataType | |
| uint32_t | getNbChannels () const |
| returns the number of channels | |
| uint32_t | getNbBitsPerComponent () const |
| returns the amount of bit per component | |
| Sizei | getSize () const |
| returns the size of the image | |
| uint32_t | getWidth () const |
| returns height of the image | |
| uint32_t | getHeight () const |
| returns height of the image | |
| uint32_t | getStep () const |
| void | setImageEncoding (enum ImageEncoding encoding) |
| set encoding for the image | |
| enum ImageEncoding | getImageEncoding () const |
| returns encoding of the image | |
| void | setImageEncodingQuality (uint8_t encodingQuality) |
| set encoding quality for the image Must be set between 100 and 0: 100 for loseless compression, 0 to low quality and high compression rate | |
| uint8_t | getImageEncodingQuality () const |
| returns encoding quality of the image | |
| template<typename T > | |
| T & | getPixel (int row, int col) |
| Get pixel value. More... | |
| template<typename T > | |
| const T & | getPixel (int row, int col) const |
| Get pixel value. More... | |
| FrameworkReturnCode | save (std::string imagePath) const |
| Save the image in a file. More... | |
| FrameworkReturnCode | load (std::string imagePath) |
| Load an image from a file. More... | |
Protected Member Functions | |
| template<class Archive > | |
| void | save (Archive &ar, const unsigned int version) const |
| template<class Archive > | |
| void | load (Archive &ar, const unsigned int version) |
Friends | |
| class | boost::serialization::access |
A 2D image..
This class provides an image abstraction for SolAR
| SolAR::datastructure::Image::Image | ( | enum ImageLayout | pixLayout, |
| enum PixelOrder | pixOrder, | ||
| DataType | type | ||
| ) |
| pixLayout | defined by ImageLayout |
| pixOrder | defined if the data are stored interleaved RGB,RGB or as a planar representation RRR,GGG,BBB |
| type | defined by DataType |
| SolAR::datastructure::Image::Image | ( | uint32_t | width, |
| uint32_t | height, | ||
| enum ImageLayout | pixLayout, | ||
| enum PixelOrder | pixOrder, | ||
| DataType | type | ||
| ) |
| width | width of the image |
| height | height of the image |
| pixLayout | defined by ImageLayout |
| pixOrder | defined if the data are stored interleaved RGB,RGB or as a planar representation RRR,GGG,BBB |
| type | defined by DataType |
| SolAR::datastructure::Image::Image | ( | void * | imageData, |
| uint32_t | width, | ||
| uint32_t | height, | ||
| enum ImageLayout | pixLayout, | ||
| enum PixelOrder | pixOrder, | ||
| DataType | type, | ||
| ImageEncoding | encoding = ENCODING_NONE |
||
| ) |
Image built from a raw data pointer.
| imageData | pointer to the raw data |
| width | width of the image |
| height | height of the image |
| pixLayout | defined by ImageLayout |
| pixOrder | defined if the data are stored interleaved RGB,RGB or as a planar representation RRR,GGG,BBB |
| type | defined by DataType |
| encoding | image encoding (PNG, JPG or NONE by default) |
| SRef< Image > SolAR::datastructure::Image::copy | ( | ) | const |
| SRef< Image > SolAR::datastructure::Image::extractRegion | ( | Rectanglei | region | ) |
extracts a subregion for tiling for interleaved data representation only
| region | defines the region to extract as a rectangle |
| channel | assumes planar representation of the image |
| SRef< Image > SolAR::datastructure::Image::extractRegion | ( | Rectanglei | region, |
| uint32_t | channel | ||
| ) |
extracts a subregion for tiling for a single plane inside a multiplanar image
| region | defines the regoion to extract as a rectangle |
| channel | assumes planar representation of the image |
|
inline |
Get pixel value.
| [in] | row | row index. |
| [in] | col | column index. |
|
inline |
Get pixel value.
| [in] | row | row index. |
| [in] | col | column index. |
| FrameworkReturnCode SolAR::datastructure::Image::load | ( | std::string | imagePath | ) |
Load an image from a file.
| [in] | imagePath | path to the file with suffix .jpg, .jpeg or .png. |
| FrameworkReturnCode SolAR::datastructure::Image::save | ( | std::string | imagePath | ) | const |
Save the image in a file.
| [in] | imagePath | path to the file with suffix .jpg, .jpeg or .png. |
| void SolAR::datastructure::Image::setSize | ( | Sizei | size | ) |
reserves new space depending on the image layers and bitspercomponent infos
| Size | size of the image |
| void SolAR::datastructure::Image::setSize | ( | uint32_t | width, |
| uint32_t | height | ||
| ) |
reserves new space depending on the image layers and bitspercomponent infos
| width | width of the image |
| height | height of the image |


LETTERS TO THE EDITOR: Left yearns for President Pence?
by THE WASHINGTON TIMESANALYSIS/OPINION:
Donald Trump is the duly elected president of the United States. Elections are a process with winners and losers. If you don’t like the outcome, you have the next election to offer your platform. That’s what elections are all about.
We suffered for eight years under the most corrupt, dysfunctional administration in history. The current leadership gets things done in a transparent, coherent manner. It’s not all talk and no action, as is the resume of the left. President Trump and his peope define the mission and implement it right away. The impact is immediate and productive.
The left is able to participate and contribute to this process but they are not willing. They prefer a path of anarchy. What has that done for them? Where is the accomplishment?
There isn’t even a viable option for them in the next election. All of their bridges have been burned. All they have left is impeachment.
Can somebody explain to them that the Senate would never support this, and even if they had a method of removing Mr. Trump, we would then have a President Pence, with the same administration? Would they try to impeach Mr. Pence, too? Then what? How about President Pelosi? Sorry. That dog won’t hunt.
STEPHEN MOUNGELIS
Mt. Airy, Md.
Sign up for Daily Opinion Newsletter
Copyright © 2019 The Washington Times, LLC. Click here for reprint permission.
Please read our comment policy before commenting.


How to Import a Project/Files from File System
To Import Project from File system, users have been provided with options in the File menu -> Import
Users can alternatively Right click on Project Explorer -> Import.
The Import option opens up an Import wizard with default folder list displayed by Hydrograph. To import existing projects, expand the General folder -> Existing Projects into Workspace -> Next
Click browse button to select the folder containing existing projects and then select the projects that need to be imported into workspace.
Finish will import the projects and those will be visible in the project explorer


--- layout: post title: On-phone manuals date: 2004-10-01 00:00:00 category: mobile ---
What a lovely idea: your phone has its own manual just sitting there. It's always with you when you're out and about, and it's helping you to find new services and use your handset to the fullest - plus encouraging you to give new services a go. Of course you still need manuals *as well*: on-phone help is pretty useless if you can't work out how o to turn the thing on, or the battery's out, or it breaks.
I met the guys at Clear a couple of years back and they struck me as a really interesting bunch: extremely smart, and occupying a lovely little niche ("the explanation agency"). Good luck to them!


Woman who is 4ft tall and can't put rubbish in bin faces court action as a result
Tia Goldsmith has been fined for not recycling her cardboard and could face prosecution
by Helen Carter, Miles O'Leary, https://www.manchestereveningnews.co.uk/authors/helen-bennicke/A woman who is 4ft tall is being warned she could face court action for failing to put cardboard rubbish in her bin.
Tia Goldsmith was given a £100 fine for leaving two large cardboard boxes next to her wheelie bin, as she couldn't physically reach to place it inside the bin, reports PlymouthLive.
The 36-year-old hospital secretary has appealed against the fine, as a result of her height she was "not tall enough" to put the recyclable waste in the bin.
She had dragged the cardboard packaging from a new fireplace to the alleyway behind her home.
As she was unable to get it into the bin, she left it by the bin hoping the refuse collectors would remove it for her.
When they didn't take it, a warden saw it had been left behind and issued a £100 fine through the post for "littering in public".
She began an appeal on the grounds of her height, as a result of a restricted growth condition known as Achondroplasia.
If she does not pay the fine immediately, she risks being taken to court.
"I think it's disgusting" she said.
"I'm worried about what will happen - I am a law-abiding citizen. I have never even gone to magistrates court.
"The way they are treating me, and the way they have gone about it, is unacceptable.
"I want to fight it until the end - even if I end up having to pay the £100, at least I'd have fought it. And all over a couple of cardboard boxes."
She added: "I don't understand it -there's no logic."
She questioned what will happen at Christmas when people order from Amazon and need large cardboard boxes taken away. "What if they don't fit inside their bins?"
She fears she's been made a scapegoat for recent flytipping in the area where she lives. As her personal details were on the boxes, she said it giave the local authority an opportunity to pinpoint the blame on someone.
Read more of today's top stories
Tia doesn't class herself as disabled but is aware she is "at a disadvantage compared to average height people."
Pymouth City Council's spokesman said: "We are unable to explain the full set of circumstance that led to this Fixed Penalty Notice being issued because it remains an ongoing case.
"Litter and fly-tipping in the back lanes of Plymouth is an issue regularly reported to us by residents, and as we have heavily publicised, issuing fixed penalty notices is one of the ways that we are trying to tackle this."
Get breaking news first on the free Manchester Evening News app - download it here for your Apple or Android device. You can also get a round-up of the biggest stories sent direct to your inbox every day with the MEN email newsletter - subscribe here. And you can follow us on Facebook here.


Note
This technote is not yet published.
This document describes the architecture for Internet-visible image services to be provided by LSST. It explains the use of IVOA standards to provide these services, and discusses where LSST’s needs may require extensions to those standards. It addresses the back-end architecture that supports these services, including especially the role of the Gen3 Butler.
Image services include: observation metadata services based on ObsCore and CAOM2, image retrieval services, image cutout and mosiacing services, image-recreation-on-demand, and HiPS multi-resolution image map services.
This note discusses the role of the image services in the LSST Science Platform and outlines expectations for how they will be used internally and externally.
Later editions of this note may discuss issues associated with IVOA Registry representation of the services, or they may be moved to a separate technote on our Registry interface.


Biocidal and Antistatic Performance of fabric modified with Polyaniline Microtubes
Abstract
Conductive polymers i.e. polypyrrole and polyaniline, have poor mechanical properties, such as poor compressive, flexural and low tensile strength and that render conducting polymers non-ideal material to be processed for practical applications. Desired properties of conducting polymers can be enhanced by mixing it with a polymer that has good mechanical properties. Therefore, the present work is based on the development of polypyrrole (PPY)-ZnO nanocomposites based low density polyethylene (LDPE) blend for antistatic application. The nanocomposite based on PPY-ZnO NPs were synthesised by situ emulsion polymerization. Blending of PPY-ZnO NPs with LDPE was carried out in twin screw extruder by melt blending method by loading 1.0-2.0 wt. % of the PPY-ZnO NPs in LDPE matrix. Conductive blend composed of PPY-ZnO and LDPE was characterized by using TGA, FTIR, XRD, conductivity measurement and morphological characterization (SEM and TEM analysis) to investigate interaction of PPY-ZnO NPs in LDPE matrix. Concentrations as low as 2.0 wt. (%) of PPY-ZnO was able to lead to electrical conductivities of PPY-ZnO /LDPE blends in the range of 10–5 S/cm, showing its potential use as antistatic container for encapsulation of electronic equipments. The static decay time of the blends was found to be of the order of 0.3 to 1.5 sec. on recording the decay time from 5000V to 500V.


- Home
- Our Most Popular Packages
Internet Radio
$14
99
mo.
- 155+ Channels
- Commercial Free Music Channels
- Howard Stern
- Exclusive Artist-Dedicated Channels
- 24/7 Comedy Channels
- Listen on All Your Devices
- Get Internet Radio
Select
$14
99
mo.
- 140+ Channels
- Commercial Free Music Channels
- Howard Stern
- Exclusive Artist-Dedicated Channels
- 24/7 Comedy Channels
- Every Major Sport
- Get Select
All Access Best Value!
$19
99
mo.
- 150+ Channels
- Commercial Free Music Channels
- Howard Stern
- Exclusive Artist-Dedicated Channels
- 24/7 Comedy Channels
- Listen online + On the App
- Get All Access
Mostly Music
$10
99
mo.
- 80+ Channels
- Commercial Free Music Channels
- Listen online/App (add $4/mo)
- Get Mostly Music


http://codeship-net.herokuapp.com/
4 sections project: file system, session API, store/profile page, 3d game.
4 sections project: file system, session API, store/profile page, 3d game.
Exercises of js and jquery
Landing page for webinars with ads


Film.js A lightweight, modern, dependency-free library for creating endless 'film frames' animation View on Github


?BAMBOOS
OF
PUERTO
RICO
Arthrostylidium
multispicatum
Pilger
Puerto
Rico:
Rte.
120,
Reserva
Forestal
Maricao,
on
ridgetop
in
forest
above
road
ca.
1
km
above
the
intersection
with
Rte.
366
and
just
below
the
turnoff
to
"New
Covered
Basketball
Court
Campamento
Santana."
Entry
to
forest
at
drainage
culvert
on
north
side
of
road,
about
57
m
E
of
the
Km
12,
11m,
3
marker
which
is
on
the
opposite
(south)
side
of
the
road.
Bamboo
in
more
or
less
natural,
somewhat
dry
forest
on
ridge
above
the
road.
Common
here
but
not
seen
at
all
in
the
forest
below,
clambering
and
hanging,
the
entire
population
in
flower
and
at
full
anthesis.
Some
leaves
remaining
but
these
showing
signs
of
senescence.
Culms
several
m
long,
3-4
mm
in
diameter,
rebranching
extensively,
the
central
branch
often
more
robust
than
the
main
culm;
smaller
branches
scabrous.
Intemodes
ca.
45
cm
long.
9
February
1997
L.
Clark
&
G.
Reiners
1508
01014929
Legend -
Level of confidence that token is an accurately-transcribed word
extremely low
very low
low
undetermined
medium
high
very high


Guidance
Types of apprenticeships that you can apply for in the property services sector.
This apprenticeship is for anyone interested in the sale and lettings of residential property.
As a property services apprentice, you are likely to start out in a customer services role in an estate agent’s office advising people on available properties, arranging appointments and viewings, helping market properties and putting customers in touch with people who can help during the house-buying process.
A large part of your work will be in residential sales or lettings. However, depending on your agency, you could also deal with commercial property, property management, auctions and selling land.
Buying a house is the biggest purchase most of us will make in our lives. Estate agents and lettings agents do a serious job and must understand legal issues as well as commercial ones.
On the advanced apprenticeship you will get more involved with the different areas of selling properties. These include:
On the lettings side you will be responsible for:
Whether you are finding properties for house-buyers, tenants or valuing a property for sale or letting, you will need:
Much of the work will be ‘out and about’ and dealing with people face-to-face, as well as on the telephone.
Intermediate level apprenticeship
Advanced level apprenticeship
Published: 12 April 2012


--- layout: page title: Tools for Local Data --- These tools can help communities collect data. {% for post in site.categories.tools %}