Have you ever wanted programmatic access to Fanduel.com? Maybe to automatically import player data into your daily fantasy sports model. Or automatically contests that match a set of criteria. Well now you can.
This is a TypeScript library which allows you to access the REST endpoints that Fanduel.com itself uses. The library enables you to perform all the core functionality of Fanduel programmatically.
Note: This is definitely against the Fanduel ToS so be careful what account you use it with.
"use strict";
const Fanduel = require("./fanduel-api").default;
const auth = {username: "your fanduel userame", password: "your fanduel password"};
const fd = new Fanduel(auth);
fd.getAvailableSlates().then(slates => {
console.log(slates);
process.exit(0);
});
Replacing the placeholders with your Fanduel credentials.
Run it, and you'll see the currently available slates output to your console.
Pretty cool huh?
Check out the https://github.com/Setfive/fanduel-api/tree/master/examples folder for sample code around what can be done with this library.
In no particular order:
This is written in TypeScript so you'll definitely need TypeScript (http://www.typescriptlang.org/index.html#download-links) installed. If you want to run TypeScript without compiling it you'll also need ts-node (https://github.com/TypeStrong/ts-node). I'd recommend ts-node since it tightens the development feedback loop.
To build the JavaScript, just run "tsc" in the root folder and it'll use the tsconfig.json settings to build the files in dist/
There really isn't any. But there are auto generated doxygen style class definitions at https://github.com/Setfive/fanduel-api/blob/master/docs/index.html
Those were generated with http://typedoc.org/ by running: ```
Generated using TypeDoc


No checks.
Simple threshold or interval : 42, 3.14, -42, 100:200 or -0.1:0.1. See the dedicated guide for more details.
42
3.14
-42
100:200
-0.1:0.1


function [T,Y]=msfm(F, SourcePoints, UseSecond, UseCross) % This function MSFM calculates the shortest distance from a list of % points to all other pixels in an image volume, using the % Multistencil Fast Marching Method (MSFM). This method gives more accurate % distances by using second order derivatives and cross neighbours. % % [T,Y]=msfm(F, SourcePoints, UseSecond, UseCross) % % inputs, % F: The 2D or 3D speed image. The speed function must always be larger % than zero (min value 1e-8), otherwise some regions will % never be reached because the time will go to infinity. % SourcePoints : A list of starting points [2 x N ] or [3 x N] (distance zero) % UseSecond : Boolean Set to true if not only first but also second % order derivatives are used (default) % UseCross : Boolean Set to true if also cross neighbours % are used (default) % outputs, % T : Image with distance from SourcePoints to all pixels % Y : Image for augmented fastmarching with, euclidian distance from % SourcePoints to all pixels. (Used by skeletonize method) % % Note: % Run compile_c_files.m to allow 3D fast marching and for cpu-effective % registration of 2D fast marching. % % Note(2): % Accuracy of this method is enhanced by just summing the coefficients % of the cross and normal terms as suggested by Olivier Roy. % % Literature : M. Sabry Hassouna et Al. Multistencils Fast Marching % Methods: A Highly Accurate Solution to the Eikonal Equation on % Cartesian Domains % % % Example 2D, % SourcePoint = [51; 51]; % SpeedImage = ones([101 101]); % [X Y] = ndgrid(1:101, 1:101); % T1 = sqrt((X-SourcePoint(1)).^2 + (Y-SourcePoint(2)).^2); % % % Run fast marching 1th order, 1th order multi stencil % % and 2th orde and 2th orde multi stencil % % tic; T1_FMM1 = msfm(SpeedImage, SourcePoint, false, false); toc; % tic; T1_MSFM1 = msfm(SpeedImage, SourcePoint, false, true); toc; % tic; T1_FMM2 = msfm(SpeedImage, SourcePoint, true, false); toc; % tic; T1_MSFM2 = msfm(SpeedImage, SourcePoint, true, true); toc; % % % Show results % fprintf('\nResults with T1 (Matlab)\n'); % fprintf('Method L1 L2 Linf\n'); % Results = cellfun(@(x)([mean(abs(T1(:)-x(:))) mean((T1(:)-x(:)).^2) max(abs(T1(:)-x(:)))]), {T1_FMM1(:) T1_MSFM1(:) T1_FMM2(:) T1_MSFM2(:)}, 'UniformOutput',false); % fprintf('FMM1: %9.5f %9.5f %9.5f\n', Results{1}(1), Results{1}(2), Results{1}(3)); % fprintf('MSFM1: %9.5f %9.5f %9.5f\n', Results{2}(1), Results{2}(2), Results{2}(3)); % fprintf('FMM2: %9.5f %9.5f %9.5f\n', Results{3}(1), Results{3}(2), Results{3}(3)); % fprintf('MSFM2: %9.5f %9.5f %9.5f\n', Results{4}(1), Results{4}(2), Results{4}(3)); % % % Example 2D, multiple starting points, % % SourcePoint=rand(2,100)*255+1; % SpeedImage = ones([256 256]); % tic; T1_MSFM2 = msfm(SpeedImage, SourcePoint, true, true); toc; % figure, imshow(T1_MSFM2,[]); colormap(hot(256)); % % % Example 3D, % SourcePoint = [21; 21; 21]; % SpeedImage = ones([41 41 41]); % [X,Y,Z] = ndgrid(1:41, 1:41, 1:41); % T1 = sqrt((X-SourcePoint(1)).^2 + (Y-SourcePoint(2)).^2 + (Z-SourcePoint(3)).^2); % % % Run fast marching 1th order, 1th order multi stencil % % and 2th orde and 2th orde multi stencil % % tic; T1_FMM1 = msfm(SpeedImage, SourcePoint, false, false); toc; % tic; T1_MSFM1 = msfm(SpeedImage, SourcePoint, false, true); toc; % tic; T1_FMM2 = msfm(SpeedImage, SourcePoint, true, false); toc; % tic; T1_MSFM2 = msfm(SpeedImage, SourcePoint, true, true); toc; % % % Show results % fprintf('\nResults with T1 (Matlab)\n'); % fprintf('Method L1 L2 Linf\n'); % Results = cellfun(@(x)([mean(abs(T1(:)-x(:))) mean((T1(:)-x(:)).^2) max(abs(T1(:)-x(:)))]), {T1_FMM1(:) T1_MSFM1(:) T1_FMM2(:) T1_MSFM2(:)}, 'UniformOutput',false); % fprintf('FMM1: %9.5f %9.5f %9.5f\n', Results{1}(1), Results{1}(2), Results{1}(3)); % fprintf('MSFM1: %9.5f %9.5f %9.5f\n', Results{2}(1), Results{2}(2), Results{2}(3)); % fprintf('FMM2: %9.5f %9.5f %9.5f\n', Results{3}(1), Results{3}(2), Results{3}(3)); % fprintf('MSFM2: %9.5f %9.5f %9.5f\n', Results{4}(1), Results{4}(2), Results{4}(3)); % % Function is written by D.Kroon University of Twente (Oct 2010) add_function_paths(); if(nargin<3), UseSecond=false; end if(nargin<4), UseCross=false; end if(nargout>1) if(size(F,3)>1) [T,Y]=msfm3d(F, SourcePoints, UseSecond, UseCross); else [T,Y]=msfm2d(F, SourcePoints, UseSecond, UseCross); end else if(size(F,3)>1) T=msfm3d(F, SourcePoints, UseSecond, UseCross); else T=msfm2d(F, SourcePoints, UseSecond, UseCross); end end function add_function_paths() try functionname='msfm.m'; functiondir=which(functionname); functiondir=functiondir(1:end-length(functionname)); addpath([functiondir '/functions']) addpath([functiondir '/shortestpath']) catch me disp(me.message); end
Error using msfm (line 104) Not enough input arguments.


| Design and Implementation of a validating XML parser in Haskell: Master's thesis; University of Applied Sciences Wedel | ||
|---|---|---|
| Prev | Next |
The primary aim of this project is to gain some valuable experiences with the beautiful functional programming Haskell. Parsing and processing lists are strengths of functional programming languages. Both features are needed to handle XML. Combined with higher-order combinatorial functions, that a functional programming language like Haskell allows, processing XML can be very efficient and elegant.
Many of the techniques described in this master thesis are far more elegant, compact and powerful than the ones found in familiar techniques like DOM [WWW05] or JDOM [WWW06].
Because there did not exist any validating XML parser written in Haskell, we thought it might be a nice project implementing one and doing some further XML processing with Haskell. The Haskell XML Toolbox uses a general tree data model for representing XML documents. This generic data model makes it possible to implement an XML parser or XML processing applications with a uniform design by using filter functions and combinators for processing XML.
We have chosen Haskell because it is a popular modern functional programming language, and we were interested in learning more about the functional programming paradigm. There exist lots of free implementations, online tutorials and some good Haskell books. The Haskell homepage Haskell.org [WWW11] gives many further details.
Learning functional programming with Haskell by self-studies was very challenging. It required a change in perspective of programming. But once the paradigms are understood, writing Haskell programs is very straightforward and makes a lot of fun.
The first chapter gives an introduction to XML and Haskell. Readers who are familiar with these techniques can skip it. The next three chapters describe the packages hdom, hparser and hvalidator of the Haskell XML Toolbox. The last chapter compares the design used in the Haskell XML Toolbox with HaXml and HXML.


Gurpreet Luthra
I work at ThoughtWorks - an amazing, vibrant and fun place.
As a software craftsman and technical consultant I help teams and organisations apply principles of Continuous Delivery and Extreme Programming (XP) to solve problems and delight customers.
Earlier, I was also the Product Manager & Community Lead for Bahmni - an Open Source Hospital Management system created by ThoughtWorks. In this role, I worked towards helping shape the roadmap for Bahmni and evangelising Open Source software for humanitarian purposes.
Within ThoughtWorks I have worked on large-scale Web projects in Travel, Health, Retail and Consumer Electronics domains. I am passionate about product development, tech writing, teaching and using technology for social good.
Some folks say that I do have a rather curious knack to make connections between the programming world and the one we physically inhabit. I think they might be right.
Expertise
- Product Development
- Open source software & ecosystem
- Java, Scala, Ruby, Javascript and Web Development
- Continuous Delivery, Devops & Extreme Programming (XP)
History
I've been writing software professionally since 2001. I have worked in start-ups, and medium to large MNCs. Some of my projects have been:
- Manufacturing Execution System - Performix xMES
- Open Source products like Bahmni, OpenMRS, MifosX, etc
- Large Scale Websites for Retail, Health, Electronics and Travel Industries
Get In Touch
I am always happy to help people figure out how can they do better with Technology. Do feel free to reach out about ThoughtWorks, Bahmni, Continuous Delivery, XP/Agile or anything else that's on your mind. Email me at<EMAIL_ADDRESS>Some time in the future I plan to work as an independent consultant, so if you have ideas, I am happy to hear.


Type Function Library network.* Return value None Revision Current Public Release (2013.2076) Keywords asynchronous, http, https, get, post, download Sample code /CoronaSDK/SampleCode/Networking/AsynchImageDownload See also network.request() network.cancel() network.upload() networkRequest display.loadRemoteImage()
This API is a convenience method that is very similar to the asynchronous network.request(), except that it always attempts to download the response to a local file that you specify. In fact, this method simply calls network.request(), putting the destination filename and baseDirectory parameters into params.response and specifying "download"
progress notifications.
You can also use display.loadRemoteImage() to download and display a remote image in a single API call.
This function returns a handle that can be passed to network.cancel() in order to cancel the request.
You cannot execute a network download during a System Suspend/Exit event. After Corona suspends, no callbacks will fire.
You can work around this by saving the download request you wish to make to a file upon a System Suspend/Exit event. Then on a System Resume event, check if there is a pending request saved, and if there is, download it.
On Android, you must add the following permission to the "build.settings" file.
settings =
{
android =
{
usesPermissions =
{
"android.permission.INTERNET",
},
},
}
network.download( url, method, listener [, params], filename [, baseDirectory] )
String. The HTTP request URL.
String. The HTTP method; valid values are "GET" (the default) or "POST".
Listener. The listener function invoked at various phases of the HTTP operation. It is passed a networkRequest event. This API provides "download"
progress when progress = true, meaning that the listener will receive events for "began"
, "progress"
, and "ended"
phases. If the progress parameter is not enabled, the listener will only be invoked with an '"ended"' phase.
Table. A table that specifies HTTP request or response processing options, including custom request headers or body.
params.headers
A table specifying request header values with string keys.params.body
A string containing the request body, if any.params.timeout
A time out in seconds. Default is 30 seconds.params.bodyType
A string indicating whether a string request body is "text"
or "binary"
, default is "text"
.params.progress
Setting to true enables the progress events. Default is nil, indicating that only the "ended"
phase event is desired.String. The name of the file to which the response will be saved.
Constant. The directory where the file will be saved. Defaults to system.DocumentsDirectory if not provided. Cannot be set to system.ResourceDirectory since that directory is read-only.
The following example downloads a remote image to a local file, and then displays it on the screen:
local function networkListener( event )
if ( event.isError ) then
print( "Network error - download failed" )
elseif ( event.phase == "began" ) then
print( "Progress Phase: began" )
elseif ( event.phase == "ended" ) then
print( "displaying response image file" )
myImage = display.newImage( event.response.filename, event.response.baseDirectory, 60, 40 )
myImage.alpha = 0
transition.to( myImage, { alpha = 1.0 } )
end
end
local params = {}
params.progress = true
network.download(
"http://www.coronalabs.com/demo/hello.png",
"GET",
networkListener,
params,
"helloCopy.png",
system.TemporaryDirectory
)


On certain types of smaller nodes in the Internet it is often impractical to maintain a message transport system (MTS). For example, a workstation may not have sufficient resources (cycles, disk space) in order to permit a SMTP server [RFC821] and associated local mail delivery system to be kept resident and continuously running. Similarly, it may be expensive (or impossible) to keep a personal computer interconnected to an IP-style network for long amounts of time (the node is lacking the resource known as "connectivity").
Despite this, it is often very useful to be able to manage mail on these smaller nodes, and they often support a user agent (UA) to aid the tasks of mail handling. To solve this problem, a node which can support an MTS entity offers a maildrop service to these less endowed nodes. The Post Office Protocol - Version 3 (POP3) is intended to permit a workstation to dynamically access a maildrop on a server host in a useful fashion. Usually, this means that the POP3 protocol is used to allow a workstation to retrieve mail that the server is holding for it.
POP3 is not intended to provide extensive manipulation operations of mail on the server; normally, mail is downloaded and then deleted. A more advanced (and complex) protocol, IMAP4, is discussed in [RFC1730].
For the remainder of this memo, the term "client host" refers to a host making use of the POP3 service, while the term "server host" refers to a host which offers the POP3 service.


Search
Cancel
Search
Near Address, ZIP, or Intersection
Use my location
Free
Food Pantries
Free
Orchards
Free
Summer Lunch for Kids
Grow
Community Gardens
Buy
Farmers Markets
Buy
Restaurants
Buy
Pop Up Markets
Buy
Supermarkets


Jesus' Son (2000)
Cast: Billy Crudup, Denis Leary, Holly Hunter, Samantha Morton, Jack Black Director: Alison Maclean Writers: Elizabeth Cuthrell, David Urrutia, and Oren Moverman, based on the novel by Denis Johnson
Review by Scott Hunt Movie Hunt: http://netdirect.net/~hunt/index.html
Rating: Near Miss (2 out of 4 stars)
Jesus' Son floats along with the hallucinatory feel of a drug addict's sense of recollection. It's not so much a movie as it's a well made patchwork quilt of memories. Its tales are woven together through FuckHead, or F.H. (Crudup), an intrinsically sweet young man who stumbles into the drug culture of the 70's. He remembers his life in a stream of consciousness, often interrupting himself to fumble back and forth through the gaps in his memory. It has a severely episodic feel with no sequence carrying more weight than another, save one. The film is based upon a collection of short stories in novel form by Denis Johnson, which based itself on a line from a Lou Reed song, "....When I'm rushing on the run, and I feel just like Jesus' son..."
F.H starts on his decent through the unknowing lure of Jezebel-like Michelle (Morton), who shoots up in front of him after their first night of lovemaking as he looks on, cluelessly munching a bowl of cereal. Soon both of them are suffocating in a fog of drugs. Morton infuses Michelle with equal parts of feistiness and emotional dependence in a shaded performance. F.H. displays an incessant hunger for Michelle's attention. Their love affair comes across not so much as heart felt emotion, but rather a vampiric sucking of life force. Drugs have leeched away part of their ability to connect with others and they use each other, much as a drug, to continue to feel something in their nomadic lives. Their love affair ends badly, as does anything F.H. touches, hence his name.
F.H meets a possible future version of himself in Leary's character, a worn sparkplug of a man who long ago quit firing effectively. His hollow eyed husk of a man takes F.H. on an employment opportunity that consists of ripping the copper wiring from an apartment that may, or may not, belong to him. They sell the precious metal to fund a day of drinking and heroin and simpleton F.H. considers it one of the best days of his life. F.H. sees no moral implication to his actions or others. He simply exists in the moment. Leary's character shows the consequences of such a myopic view of life, a fate F.H. almost shares, if not for the twisted touch of his love for Michelle.
Holly Hunter as sensitive woman with a touch of death, Will Patton as a smarmy, albeit brief suitor for Michelle and Dennis Hopper as a recovering drug addict clinging to life each get a vignette sprinkled with some sharp, revealing lines. They give solid readings, but none truly stand out as does Jack Black as a fellow orderly F.H. works with in a hospital emergency room.
 Not only is it black humor at it's finest, but turns a probing eye on F.H.'s inability to cope with momentous events in his life as his memory is retold in two different lights.
Several times, subtle allusions are made to Jesus, each done in a disturbing fashion. At one point F.H. looks through the window of a diner, the lettering on the window making it seem as it he has a crown of thorns. He follows a snakeskin wearing man for no reason off the subway, and is surprised to find himself inexplicably aroused by his encounter with the serpent. A couple of times, people make reference to him not being "the one.
Jesus' Son meanders along pointlessly. There's no plot to speak of, simply a recovering addict's ruminations on what brought him to the point he is. I wanted to feel emotional attachment to the angelic F.H., but as the film ended I realized I didn't really know him, so how could I truly care about him? I saw what heroin had made him, but I never got a real glimpse at the man he was before his adventure in wonderland. In telling his tale, he never manages to connect with the listener.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


The game was developed on Unity. We took base for the Van shifting, then I tweaked it to have a soapbox like feeling. The game will ask dexterity of the player to be able to manage the twink stick.
The player will have to grab the maximum people in order to rise his multiplier the higher possible before the countdown reach zero.
This project is a 1 week game jam with friend. We were in a team of 6 (2 Technical game Designer, 2 Game Designer and 2 Artist). The goal of this project was to have fun and train our skill on Unity for our future.
I was one of the two Technical Game Designer. I tweaked the base we had for the van, then I did some core development like the life system and the scoring system. I also integrated some of the Artist work. I worked with the Game Designer and the Level Designer to develop the features the right way.
Never Ending Disco Love is medley of a drive game and a twin-stick game. The player is tryingt to spread love in the city, using his Van. The Van is equiped with a mechanic arm. He will have to grab the maximum of people inside his Van, while he's avoiding the cops car or pushing them back with his grab. The more people are inside the Van, the more the score and the multiplier go higher.


Linguist
Our app speaks for you, in a language you don't.
Pick a language
Arabic
Bulgarian
Catalan
Chinese Simplified
Chinese Traditional
Czech
Danish
Dutch
English
Estonian
Finnish
French
German
Greek
Haitian Creole
Hebrew
Hindi
Hmong Daw
Hungarian
Indonesian
Italian
Japanese
Klingon
Korean
Latvian
Lithuanian
Malay
Maltese
Norwegian
Persian
Polish
Portuguese
Romanian
Russian
Slovak
Slovenian
Spanish
Swedish
Thai
Turkish
Ukrainian
Urdu
Vietnamese
Welsh
Current Room
change room
Current Users
Un-translate
Next >
Send


Regional Site Response Assessment¶
Problem Statement¶
Site response analysis is commonly performed to analyze the propagation of seismic wave through soil. As shown in fig_siteResponse
,
one-dimensional response analyses, as a simplified method, assume that all boundaries are horizontal and that the response of a soil deposit is
predominately caused by SH-waves propagating vertically from the underlying bedrock. Ground surface response is usually the major output from
these analyses, together with profile plots such as peak horizontal acceleration along the soil profile. When liquefiable soils are presenting,
maximum shear strain and excess pore pressure ratio plots are also important.
This example demonstrates a small-scale regional earthquake risk assessment which performs site response simulation for a group of 20 sites located in the San Francisco Bay area. The sites are distributed in space in a 4x5 grid, within a 3x3 grid of event sites. At each event site, 5 ground motion records of similar intensity are assigned.
Methodology¶
In this example, the coordinates of a list of sites are known and peak ground accelerations at these sites are of interest. A summary of the RDT procedure for the site response analysis is summarized here:
Assemble required information for interested sites. These data include site locations, input motions, and site geological data, e.g., Vs30 (the time-averaged shear-wave velocity to 30 m depth) and depth to bedrock
If the input motions are not provided, use OpenSHA to obtain proper input motions
If the Vs30 data are not known, use SimCenter EQHazard to obtain proper Vs30 data
If the depth to bedrock data are not known, they can be obtained from SoilGrid250 database
Use Sediment Velocity Model (SVM) to generate soil shear wave velocity profile
Generate material input for site response analysis based on predefined model calibration methods
Perform site response analysis using RDT and obtain acceleration response at the surface of soil columns defined for each site
In this example, a total of twenty sites and their input motions have been pre-selected. Details of selected sits are summarized in tab_inputs
. The directory structure for inputs is:
srt_example
├── rWHALE_config_SRT.json
└── input_data
├── model
├── getVs30.py
├── Scenario.json
├── FreeField3D_Dry.tcl
├── records
├── EventGrid.csv
├── RSN30.json
├── RSN63.json
.
.
.
├── site0.csv
├── site1.csv
.
.
.
└── site8.csv
└── input_params.csv
Obtaining Vs30 Data¶
Vs30 data can be obtained using EQHazard tool. EQHazard is a console application developed by the SimCenter to facilitate performing seismic hazard analysis(SHA) for regional earthquake simulations. The application makes use of OpenSHA to perform deterministic SHA. This application is developed using Java to facilitate the use of OpenSHA Java library. It is worth noting that this tool is most suitable for research applications where SHA needs to be performed for many sites given a single earthquake scenario, such as using a grid of sites for regional simulations. Several site data sources have been included in EQHazard, such as CGS/Wills VS30 Map (2015), Global Vs30 from Topographic Slope (Wald & Allen 2008), and more.
Using EQHazard is simple, the EQHazard tool is distributed as a jar file and can executed directly using:
java -jar EQHazard Scenario.json Output.json
Scenario.json is the name of the input file and output.json is the name to be used for the resulting output file.
Note
Java is required to run EQHazard
Python script getVs30.py provides a wrapper for EQHazard. It uses the site coordinates from input_params.csv and
a template scenario file, Scenario.json, to obtain Vs30 data. An updated input file, input_params_srt.csv, is then created with Vs30 data populated as shown in tab_inputs_srt
. In this case, CGS/Wills VS30 Map (2015) is used.
id |
longitude |
latitude |
stories |
yearbuilt |
occupancy |
structure |
areafootprint |
replacementCost |
W |
f_yield |
T1 |
Vs30 |
DepthToRock |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 |
-122.182 |
37.422 |
0 |
1957 |
RES1 |
W1 |
1293.253476 |
1 |
55.25 |
118.75 |
0.29375 |
386.6 |
7.61 |
1 |
-122.18575 |
37.422 |
0 |
1927 |
RES1 |
W1 |
2568.835761 |
1 |
86.75 |
148.75 |
0.15625 |
386.6 |
8.79 |
2 |
-122.1895 |
37.422 |
0 |
2020 |
RES1 |
W1 |
1127.07738 |
1 |
114.75 |
123.75 |
0.39375 |
351.9 |
9.28 |
3 |
-122.19325 |
37.422 |
0 |
1951 |
RES1 |
W1 |
2085.809768 |
1 |
107.75 |
126.25 |
0.24375 |
386.6 |
8.65 |
4 |
-122.197 |
37.422 |
0 |
1960 |
RES1 |
W1 |
1481.567067 |
1 |
76.25 |
101.25 |
0.30625 |
386.6 |
7.74 |
5 |
-122.182 |
37.42366667 |
0 |
1986 |
RES1 |
W1 |
1240.719532 |
1 |
90.25 |
116.25 |
0.21875 |
386.6 |
7.65 |
6 |
-122.18575 |
37.42366667 |
0 |
1984 |
RES1 |
W1 |
2437.970509 |
1 |
93.75 |
141.25 |
0.35625 |
386.6 |
9.35 |
7 |
-122.1895 |
37.42366667 |
0 |
1983 |
RES1 |
W1 |
2668.60615 |
1 |
111.25 |
133.75 |
0.36875 |
351.9 |
9.88 |
8 |
-122.19325 |
37.42366667 |
0 |
1957 |
RES1 |
W1 |
1553.47035 |
1 |
104.25 |
108.75 |
0.19375 |
386.6 |
9.71 |
9 |
-122.197 |
37.42366667 |
0 |
1984 |
RES1 |
W1 |
1625.164708 |
1 |
58.75 |
106.25 |
0.23125 |
386.6 |
9.32 |
10 |
-122.182 |
37.42533333 |
0 |
2018 |
RES1 |
W1 |
1787.865419 |
1 |
62.25 |
143.75 |
0.34375 |
386.6 |
7.53 |
11 |
-122.18575 |
37.42533333 |
0 |
2018 |
RES1 |
W1 |
1821.174819 |
1 |
65.75 |
138.75 |
0.20625 |
386.6 |
9.02 |
12 |
-122.1895 |
37.42533333 |
0 |
1930 |
RES1 |
W1 |
1624.532488 |
1 |
69.25 |
146.25 |
0.31875 |
386.6 |
9.79 |
13 |
-122.19325 |
37.42533333 |
0 |
1922 |
RES1 |
W1 |
1134.673241 |
1 |
79.75 |
103.75 |
0.25625 |
351.9 |
9.84 |
14 |
-122.197 |
37.42533333 |
0 |
1947 |
RES1 |
W1 |
1625.097354 |
1 |
51.75 |
128.75 |
0.16875 |
386.6 |
10.67 |
15 |
-122.182 |
37.427 |
0 |
1969 |
RES1 |
W1 |
2289.96328 |
1 |
83.25 |
131.25 |
0.33125 |
386.6 |
7.66 |
16 |
-122.18575 |
37.427 |
0 |
2006 |
RES1 |
W1 |
2288.360712 |
1 |
100.75 |
136.25 |
0.38125 |
386.6 |
9.77 |
17 |
-122.1895 |
37.427 |
0 |
1959 |
RES1 |
W1 |
2291.605647 |
1 |
97.25 |
111.25 |
0.18125 |
351.9 |
9.8 |
18 |
-122.19325 |
37.427 |
0 |
1979 |
RES1 |
W1 |
2770.811412 |
1 |
72.75 |
113.75 |
0.26875 |
351.9 |
10.03 |
19 |
-122.197 |
37.427 |
0 |
1976 |
RES1 |
W1 |
2088.450773 |
1 |
118.25 |
121.25 |
0.28125 |
386.6 |
9.68 |
Obtaining Depth to Bedrock¶
The depth to bedrock can be obtained using several datasets. For example, SoilGrid250 map provides absolute depth to bedrock (in cm) predicted using the global compilation of soil ground observations.
Accuracy assessment of the maps is available in Hengl [] and can be downloaded here
.
In this dataset, the depth to bedrock is considered as “depth (in cm) from the ground surface to the contact with coherent (continuous) bedrock.”
It should be noted that the definition of bedrock in this database is based on lithology rather than shear wave velocity. Hence, depending on the geological condition, bedrock may imply
different shear wave velocity and it might vary dramatically, e.g., western U.S. vs. eastern U.S.. Assumption is required for modeling purposes. In this example, the shear wave velocity of bedrock is assumed to be
760 m/s, as the sites are located in western U.S..
Example python script to obtain the data is shown below:
import rioxarray as rxr
import pandas as pd
from pyproj import Transformer
soil250 = rxr.open_rasterio('BDTICM_M_250m_ll.tif')
inputs = pd.read_csv('input_params_srt.csv')
for index, row in inputs.iterrows():
lon = row['longitude']
lat = row['latitude']
transformer = Transformer.from_crs("EPSG:4326", soil250.rio.crs, always_xy=True)
xx, yy = transformer.transform(lon, lat)
depth_To_Rock = soil250.sel(x=xx, y=yy, method="nearest").values[0]
print('depth to rock is {:.2f} m'.format(depth_To_Rock/100))
Generating Soil Profile Using SVM¶
Once the depth to rock is obtained, the next step is to generate soil profile based on Vs30. Amplitude, frequency content and duration of ground shaking are important parameters in ground motion modeling and are heavily dependent on crustal material properties. The Sediment Velocity Model (SVM) “translates VS30 and a proxy which describes stiffness of the near surface sediments into a 1D velocity profile” (Shi and Asimaki, 2018, []).
Datasets of soil parameters only exist for specific locations and there is no way to collect adequate data on all regions. For this reason, there is a need for a method which can determine these crustal material properties such as wave velocity and mass density for those regions which we do not have physically collected data. One such method, called the Community Velocity Models (CVMs), which was developed by the Southern California Earthquake Center (SCEC), is used to provide 3D seismic velocity information for Southern California. However, CVMs have their limitations. There exist two sub-models of the CVM which are the CVM-SCEC (CVM-S) and CVM-Harvard (CVM-H). Both sub-models rely on the spatial resolution of the available datasets and thus result in crude velocity profiles. Moreover, the CVM-H has an optional geotechnical layer (GTL) option which replaces the soft sediments in the top 350 m of soil, smoothing the velocity profile and obscuring basin edges which cause strong velocity impedance.
The SVM method was developed to get more accurate soil profiles as a function of VS30 which can be easily obtained from maps. It further allows for determination of basin depths based on crustal velocity models and preserves basin edges.
The Shi and Asimaki [] Sediment Velocity Model (SVM) is used in this example because of its ability to predict a soil velocity profile based solely on VS30. From this profile we are able to determine ground motion wavelengths and set
a constraint for a minimum number of points needed to fully describe a soil column. Gmax at depth is also obtained from this shear wave velocity profile. The results of the test case are presented in fig_Vs
.
Including Soil Nonlinearity¶
By default, elastic isotropic material is assigned to the soil column due to limited available information. However, Nonlinearity can be incorporated into workflow by switching the constitutive model to other nonlinear model, for example,
the multiaxial cyclic plasticity model proposed by Borja and Amies []. This simple total stress-based bounding surface plasticity model for clays was developed to accommodate multiaxial stress reversals. The model was constructed based on the idea
of a vanishing elastic region undergoing pure translation inside a bounding surface, and an interpolation function for hardening modulus which varies with stress distance of the elastic region from the unloading point.
The model can be applied to cohesive soils undergoing undrained stress reversals and cyclic loading. fig_BA94
illustrates behaviors of this model under cyclic loading. More information regarding the implementation of this model in OpenSees can be found
here.
id |
longitude |
latitude |
… |
Model |
|---|---|---|---|---|
0 |
-122.182 |
37.422 |
… |
Elastic |
The example input parameters for using Borja and Amies are summarized in the following table:
id |
longitude |
latitude |
… |
Model |
Su_rat |
Den |
h/G |
m |
h0 |
chi |
|---|---|---|---|---|---|---|---|---|---|---|
0 |
-122.182 |
37.422 |
… |
BA |
0.26 |
2 |
1 |
1 |
0.2 |
0 |
where Su_rat
is the ratio between undrain shear strength and initial vertical stress.
Adding Surface Structural Model¶
A structure model can also be added to the workflow. In this case, the structure model uses the OpenSeesPyInput modeling application as discussed in Earthquake Assessment.
The buildings are modeled as elastic-perfectly plastic single-degree-of-freedom (SDOF) systems defined by three input model parameters: the weight W
, yield strength f_yield
, and fundamental period T1
.
Functions are included which record the peak response as EDPs for each of the EDP types specified in the EDP_specs.json file.
"Modeling": {
"Application": "OpenSeesInputSRT",
"ApplicationData": {
"mainScript": "FreeField3D_Dry.tcl",
"modelPath": "model/",
"ndm": 3,
"includeStructureModel": true,
"SimulationApplication": "OpenSeesPy-Simulation",
"structureModel": "cantilever.py"
}
Performing Analysis¶
Configurations for RDT workflow are defined in rWHALE_config_SRT.json. In this example, the application for Modeling and Simulation is OpenSeesInputSRT and OpenSees-Simulation-SRT, respectively.
For each site, two additional input files for OpenSees are created during analysis: freefield_config.tcl and freefield_material.tcl. freefield_config.tcl defines the discretization of the profile and applied input motion(s).
1# site response configuration file
2set soilThick 99.0
3set numLayers 198
4# layer thickness - bottom to top
5set layerThick(1) 0.50
6set nElemY(1) 1
7set sElemY(1) 0.500
8set layerThick(2) 0.50
9set nElemY(2) 1
10set sElemY(2) 0.500
11
12# ...
13# ...
14
15# motion file (used if the input arguments do not include motion)
16set accFile xInput.acc
17set dispFile xInput.disp
18set velFile xInput.vel
19set timeFile xInput.time
20set numEvt 2
21set accFile2 yInput.acc
22set dispFile2 yInput.disp
23set velFile2 yInput.vel
24set rockVs 760.0
25set omega1 8.59
26set omega2 42.95
freefield_material.tcl defines material inputs based on predefined calibration procedure based on Vs profile created from previous step. Input motion(s) is converted from records for each evaluation, for example, xInput.vel and xInput.time defiles velocity and time series, respectively, for one component of the motion.
1set rho(1) 2.0
2set shearG(1) 112692.20
3set nu(1) 0.30
4set E(1) 292999.71
5
6set mat(1) "ElasticIsotropic 1 $E(1) $nu(1) $rho(1)"
7
8
9set rho(2) 2.0
10set shearG(2) 112692.20
11set nu(2) 0.30
12set E(2) 292999.71
13
14set mat(2) "ElasticIsotropic 2 $E(2) $nu(2) $rho(2)"
15
16# ...
17# ...
The working/results directory structure is:
results
└── 0
├── templatedir
├── bim.j
├── edb.j
|── evt.j
├── sam.j
├── workflow_driver.bat
├── workdir.1
├── FreeField3D_Dry.tcl
├── freefield_config.tcl
├── freefield_material.tcl
├── xInput.vel
├── xInput.time
├── yInput.vel
├── yInput.time
.
.
.
├── workdir.2
.
.
├── workdir.5
└── response.csv
└── 1
.
.
└── 19
EDP_1-19.csv: reports statistics on the EDP results from simulating 5 ground motions for each building asset. The statistics reported are the median and lognormal standard deviation of peak ground acceleration (shown as PFA) in two directions.
type |
PGA |
PGA |
PGA |
PGA |
|---|---|---|---|---|
loc |
0 |
0 |
0 |
0 |
dir |
1 |
1 |
2 |
2 |
stat |
median |
beta |
median |
beta |
0 |
0.6628029999999999 |
0.13600449843043236 |
0.736927 |
0.1275636943053479 |
1 |
0.633193 |
0.20304404095647471 |
0.717512 |
0.24904764429936244 |
2 |
0.721433 |
0.38880051595831655 |
0.715938 |
0.3514059337674102 |
3 |
0.713946 |
0.14054739273872968 |
0.764877 |
0.3915961386798949 |
4 |
0.743542 |
0.2171580362193277 |
0.49029799999999996 |
0.2407229856374786 |
5 |
0.6505810000000001 |
0.15337053057961506 |
0.56929 |
0.19106712482954594 |
6 |
0.667912 |
0.0821461264634056 |
0.76647 |
0.2854761912873225 |
7 |
0.8115100000000001 |
0.3580416351456673 |
0.7321770000000001 |
0.10374091963523832 |
8 |
0.5919449999999999 |
0.484515336289696 |
0.767825 |
0.2795311183002603 |
9 |
0.8206610000000001 |
0.169420903616953 |
0.679726 |
0.31719489352530283 |
10 |
0.6627770000000001 |
0.1160975874275244 |
0.623636 |
0.1383857442038908 |
11 |
0.664215 |
0.3068794966334912 |
0.681191 |
0.17780768288420262 |
12 |
0.7623260000000001 |
0.3342121915707141 |
0.709516 |
0.10729744618054217 |
13 |
0.540041 |
0.2794970883918737 |
0.702222 |
0.07850396436049084 |
14 |
0.628897 |
0.3682471518218779 |
0.6626449999999999 |
0.08292658813669537 |
15 |
0.63932 |
0.3279279372030125 |
0.574796 |
0.2115260225991987 |
16 |
0.74392 |
0.3603316789411304 |
0.690448 |
0.21550453311227016 |
17 |
0.8111510000000001 |
0.2871611406223856 |
0.714084 |
0.20898183490987293 |
18 |
0.6592899999999999 |
0.3766289667049084 |
0.742772 |
0.11470562563412998 |
19 |
0.67061 |
0.17423255167006754 |
0.740329 |
0.3700796708017528 |
Under Windows system, the commands can be summarized as:
Appendix¶
Configurations for RDT workflow:
1{
2 "Name": "rWHALE_",
3 "Author": "Adam Zsarnóczay",
4 "WorkflowType": "Parametric Study",
5 "buildingFile":"buildings.json",
6 "runDir": "...",
7 "units": {
8 "force": "kips",
9 "length": "in",
10 "time": "sec"
11 },
12 "outputs": {
13 "EDP": true,
14 "DM": false,
15 "DV": false,
16 "every_realization": false
17 },
18 "Applications": {
19 "Building": {
20 "Application": "CSV_to_BIM",
21 "ApplicationData": {
22 "Min": "0",
23 "Max": "19",
24 "buildingSourceFile":"input_params_srt.csv"
25 }
26 },
27 "RegionalMapping": {
28 "Application": "NearestNeighborEvents",
29 "ApplicationData": {
30 "filenameEVENTgrid": "records/EventGrid.csv",
31 "samples": 5,
32 "neighbors": 4
33 }
34 },
35 "Events": [{
36 "EventClassification": "Earthquake",
37 "Application": "SimCenterEvent",
38 "ApplicationData": {
39 "pathEventData": "records/"
40 }
41 }],
42 "Modeling": {
43 "Application": "OpenSeesInputSRT",
44 "ApplicationData": {
45 "mainScript": "FreeField3D_Dry.tcl",
46 "modelPath": "model/",
47 "ndm": 3
48 }
49 },
50 "EDP": {
51 "Application": "UserDefinedEDP_R",
52 "ApplicationData": {
53 "EDPspecs": "EDP_specs.json"
54 }
55 },
56 "Simulation": {
57 "Application": "OpenSees-Simulation-SRT",
58 "ApplicationData": {
59 }
60 },
61 "UQ": {
62 "Application": "Dakota-UQ",
63 "ApplicationData": {
64 "method": "LHS",
65 "samples": 5,
66 "type": "UQ",
67 "concurrency": 5,
68 "keepSamples": true
69 }
70 }
71 },
72 "runType": "runningLocal",
73 "runDir": "path_to_runDir",
74 "localAppDir": "path_to_SimCenterBackendApplications"
75}


0.10.1 Release Notes
Download & Documentation
Zig is a general-purpose programming language and toolchain for maintaining
robust, optimal, and reusable software.
Backed by the Zig Software Foundation,
the project is financially sustainable. These core team members
work on Zig full-time:
Please consider a recurring donation to the ZSF
to help us pay more contributors!
This release contains only bug fixes.
Please see the 0.10.0 release notes for upgrading from 0.9.x to 0.10.x.
The support table is unchanged. See the
0.10.0 Support Table.
This release of Zig upgrades to
LLVM 15.0.7 which
fixed a handful of bugs, including regressions introduced in LLVM 15.0.0. At time of
writing, this hyperlink 404s because LLVM project did not provide release notes for this
version.
- cmake: move 'continue' statement to avoid cmake bug
- C backend: improve support for non-native float types
- C backend: enough fixes for compiler to to be able to build itself
- C backend: include zig.h with quotes instead of angle brackets.
- C backend: remove redundant definition of u16/i16 in zig.h
- C backend: fixed some C warnings and errors on gcc 11.3.0.
- c backend: Output string literals for array init of bytes
- Fixed typo in zig.h causing incorrect behavior.
- LLVM: mangle extern function names for Wasm target
- Fixed detection of MSVC installation on aarch64-windows.
- Fixed comptime array initialization.
- Fixed performance regression due to unnecessary copies. There is still another known similar performance regression that is not fixed in 0.10.1.
- Fixed CPU model detection for neoverse_n1 on aarch64-linux
- LLVM: fix canElideLoad behavior with loops
- Improved error messages.
- Fixed false positive dependency loops.
- Sema: resolve elem type for non-default aligned ptrs
- Compilation: fixed deadlock when compiling the same C source file twice
- Fixed compiler crashes.
- mingw: add missing vscprintf.c file
- LLVM: Respect alignment for `.union_init`
- Ensure f128 alignment matches c_longdouble alignment
- Support modifiers in inline assembly.
- Fixes bug in AVR codegen for LLVM backend
- Fixed compilation not failing when there are linker errors.
- cache: Fix LockViolation during C compilation paths (#13591)
- Fix another LockViolation case on Windows (#14162)
- Fixed C ABI bug regarding double types (#13592)
- fix Nvptx backend outputing files at the top level of zig-cache
- Sema: make `InferredErrorSet` deterministic
- Sema: avoid breaking hash contract when instantiating generic functions
- Sema: fix missing struct layout for llvm backend
- Miscellaneous fixes to the experimental ARM and aarch64 backends.
- cli: set sysroot when --sysroot option was passed
- macho: do not zero-out file if there are no nonzerofill sects
- macho: parse weak imports in tbd descriptors
- fixes to the DWARF parser
- Fixed handling of explicitly provided pdb
- windows: add native CPU and features detection for Armv8 chips
- Improve aarch64 feature detection based on the readouts from privileged system registers
- Remove incorrect assertion in readMachODebugInfo panicking during panic
- Add missing clang opts: -install_name and -undefined
- macho: add missing defs of compact unwind info records
- Bug fix: Prevent uninitialized parse nodes
- Sema: resolve lazy align in zirReify for union fields
- llvm codegen: fix f16,f32,f64 nan bitcasts
- support building zig on BSDs with dynamic libstdc++/libc++
- Elf: link libcompiler_rt after libc
- macos: enable -headerpad_max_install_names
- Translate-C Remainder Macro Fix
- Many compiler crashes are fixed.
- Many compile error messages are more helpful.
- LLVM: implement packed unions
- Sema: remove `block` and `src` parameters from `getBuiltin`
- translate-c: cast unsuffixed floats to f64
- LLVM: fix x86_64 sysV ABI of big vectors on avx512 enabled CPUs
- LLVM: improve emitted debug info
- Improve debuggability of programs built by the self hosted compiler.
- windows: fix _tls_index not being defined if libc wasn't linked, and fix x86 name mangling
- zig-cache: support windows drive + fwd-slash paths
- Fix error reporting the wrong line for struct field inits (#13502)
- Call ensureResultUsed before comptime .call is evaluated.
- add arm-features.h from glibc source (#12346)
- os: windows: fix unhandled error
- std.os.windows.ReadLink: add missing alignment of local data buffer
- Fixed condition variable (futex implementation) broadcast failing to wake all threads
- Fixes to make zig work better with BSD operating systems.
- uefi: Delete unneeded alignment and use default 4K
- Fixed update() method in PriorityQueue and PriorityDequeue (#13908)
- std.c: Add definition for pthread_key_t
- std.os.linux: Add setitimer and getitimer syscalls
- Handle sentinel slices in `std.mem.zeroes`
- add missing std.c.pthread_sigmask
- std.big.int.Mutable: fix set(@as(DoubleLimb, 0))
- wasi: fixes IterableDir.nextWasi for large directory
- Fix buffer overflow in fmt when DAZ is set
- std.os: fix alignment of Sigaction.handler_fn
- gzip: add missing header fields and bounds for header parsing
- os.windows.OpenFile: Add `USER_MAPPED_FILE` as a possible error
- Dir.openDirAccessMaskW: Add ACCESS_DENIED as a possible error
- wasi: fixes os.isatty on type mismatch (#13813)
- Add 0-length buffer checks to os.read and os.write
- Fixes to linux/bpf/btf.zig
- std: fix bug in Pcg32 fill function (#13894)
- std.net: check for localhost names before asking DNS
- std.os.linux.T: translate more MIPS values
- std.atomic.Queue: fix unget implementation and add doc
- std.Thread.Futex.PosixImpl.Address.from: fix `alignment` type
- Ed25519.KeyPair.fromSecretKey() didn't compile after the API changes (#13386)
- ed25519: recommend using the seed to recover a key pair
- std.crypto.ed25519 incremental signatures: hash the fallback noise (#13643)
- std.crypto.pwhash.bcrypt: inline the Feistel network function (#13416)
- crypto.salsa20: make the number of rounds a comptime parameter (#13442)
- crypto.core.aes: process 6 block in parallel instead of 8 on aarch64 (#13473)
- crypto.bcrypt: fix speed regression when using self-hosted compiler (#13518)
- detect -z stack-size arguments
- support -stack in addition to --stack for linker arg
- fix wrong flag name from earlier commit
- Fixed duplicate symbol error when linking libc on arm64 Windows.
- Added aarch64 outline atomics.
- Avoid using weak aliases.
- langref: Simplify printing types in examples
- packed struct fix example and clarify least to most significant ordering
- langref: add appendix and explain 'container' terminology
- Add docstrings to some functions in std.meta
- Improve doc comments for two functions (#13456)
- document std.heap.StackFallbackAllocator
- std.array_list: add a comment on every methods invalidating pointers.
Zig has
known bugs
and even some
miscompilations.
Zig is immature. Even with Zig 0.10.1, working on a non-trivial project
using Zig will likely require participating in the development process.
When Zig reaches 1.0.0, tier 1 support will gain a bug policy.
This is the final planned release in the 0.10.x branch.
Here are all the people who landed at least one contribution into this release:
- Andrew Kelley
- Jakub Konka
- Loris Cro
- Veikka Tuominen
- Frank Denis
- Jacob Young
- Cody Tapscott
- Casey Banner
- Guillaume Wenzek
- Michael Dusan
- Ganesan Rajagopal
- IntegratedQuantum
- Ryan Liptak
- Ali Chraghi
- David Gonzalez Martin
- Eric Joldasov
- Felix "xq" Queißner
- Frechdachs
- GethDW
- Hayden Pope
- Igor Anić
- Jan Philipp Hafer
- Jimmi Holst Christensen
- Joachim Schmidt
- Jonathan Marler
- Matt Chudleigh
- Micah Switzer
- Motiejus Jakštys
- Nathan Bourgeois
- Robert Burke
- Stevie Hryciw
- Takeshi Yoneda
- Tom Maenan Read Cutting
- Yujiri
- bfredl
- delitako
- fsh
- joachimschmidt557
- kcbanner
- mike
- mnordine
- mparadinha
- nc
- notcancername
- praschke
- r00ster91
- remeh
- shwqf
- sv99
- zooster
Special thanks to those who sponsor Zig.
Because of you, Zig is driven by the open source community, rather than the
goal of making profit. In particular, these fine folks sponsor Zig for
$50/month or more:


--- title: About Me icon: fa-user order: 4 ---
My love of programming centers on the joy I feel when I work with technology that eases and enriches the lives of those around me through the melding of creative and technical solutions.
I love diving deep into problems and building beautiful technologies, especially if that means I'm learning something new and gaining a better understanding of how to create more sophisticated
answers.
I thrive when working within inspiring and collaborative teams as my experience has taught me an elaborate sense of teamwork, dedication, agile workflow, and the importance of culture in an
otherwise technical field.
I'm looking for an opportunity to work as a full-stack web developer on new technologies and create great products that allow me to build clean, modular, organized, and well-tested code and where I can learn while contributing my
best work.


<topicSubjectTable>
The <topicSubjectTable>
element is a specialized relationship table
which allows a map to use relationship tables to associate topics with subjects. Tools
(such as search tools) may use these classifications to retrieve content that is relative
to a specific subject or combination of subjects.
Category: Classification domain elements


listLayers.Rd
Wraps getFeatureTypes
from WFSClient and allows for string searching of layers
listLayers(Client, ...) listFields(Client, layer_name)
| Client | WFSClient generated by newClient |
|---|---|
| ... | Additional arguments passed to str_detect. The |
| layer_name | character; name of the WFS layer |
data.frame
character; fields/columns of data
#>#>#> name #> 1 datavic:FLOOD_CONTOUR_20Y_ARI #> 2 datavic:FLOOD_CONTOUR_50Y_ARI #> 3 datavic:FLOOD_CONTOUR_10Y_ARI #> 4 datavic:FLOOD_CONTOUR_100Y_ARI #> 5 datavic:FLOOD_CONTOUR_200Y_ARI #> 6 datavic:FLOOD_CONTOUR_5Y_ARI #> 7 datavic:FLOOD_CONTOUR_500Y_ARI #> title #> 1 Victoria Flood Database - Flood Height Contour 20 year #> 2 Victoria Flood Database - Flood Height Contour 50 year #> 3 Victoria Flood Database - Flood Height Contours 10 year #> 4 Victoria Flood Database - Flood Height Contours 100 year #> 5 Victoria Flood Database - Flood Height Contours 200 year #> 6 Victoria Flood Database - Flood Height Contours 5 year #> 7 Victoria Flood Database - Flood Height Contours 500 years#> [1] "FEATURE_TYPE_CODE" "NAME" "HIERARCHY" #> [4] "STATE" "SCALE_USE_CODE" "UFI_CREATED" #> [7] "OBJECTID" "SHAPE"


---
layout: post
title: New Gamer Card
date: '2007-04-01T12:40:00.000+01:00'
author: Andre Weissflog
tags:
- Gaming
modified_time: '2007-04-02T18:20:39.574+01:00'
blogger_id: tag:blogger.com,1999:blog-2948438400037317662.post-1296251402339566832
blogger_orig_url: http://flohofwoe.blogspot.com/2007/04/new-gamer-card.html
---
Just replaced the code which displays my gamer card on the left with something from mygamercard.net. The previous one was a simple image, and it seemed to be broken since the recent Xbox Live maintenance (probably because of this). The new one has more functionality but requires JavaScript and Flash. Not sure yet if I like it though. I run Firefox with the NoScript-Addon, and I absolutely despise Flash (at least if an entire web site is implemented in it).


Bezier curve code extractor
Drag the points on the bezier curve around the canvas, then copy the code at the bottom into your own code to draw that specific curve.
Created by Michal Paszkiewicz for the pleasure of all html5 canvas artists.
Drag the points on the bezier curve around the canvas, then copy the code at the bottom into your own code to draw that specific curve.
Created by Michal Paszkiewicz for the pleasure of all html5 canvas artists.


Maro Itoje reacts after England's "painful" Rugby World Cup Final loss to South Africa
Maro Itoje and his England teammates were well beaten by South Africa in the Rugby World Cup Final
by Alex Spink, https://www.facebook.com/alexspinkmirror/Maro Itoje stood and stared into space, struggling to keep his emotions in check.
Around him opponents wearing green baseball hats, with ‘Champions 2019’ embossed in gold writing, looked understandably pleased with themselves.
A week earlier he had occupied the same spot in the same room, recounting how it felt to be man of the match in perhaps England’s greatest Rugby World Cup performance.
Their New Zealand masterclass seemed a lifetime ago now. South Africa had battered them all black and blue and super Maro was feeling broken.
“Losing this game is one of the most painful experiences I've had in life," he said. "Not only in my rugby career."
Team mates with equally haunted looks shuffled past as he fronted up to a monumental disappointment. The distress was clear in them all.
They had not seen this coming, much as Itoje did not clock Kyle Sinckler until they collided in the third minute, knocking the ‘runaway rhino’ out of the final.
“We will be super prepared,” Itoje had promised after the semi-final, after standing up to the Haka then winning three turnovers and seven lineouts.
“We will make sure our training is good and make sure the guys have the right attitude.”
He meant it too and their commitment through the week did not falter. A lighter workload, yes, but only because Eddie Jones decreed it that way.
“We weren’t looking to match last week, we were looking to go one better,” he said. “Everyone was pumped, everyone was really excited for the opportunity.”
And then, seemingly out of nowhere, they were mowed down by a green juggernaut and all that had been light turned dark.
“Sport is cruel sometimes,” Itoje reflected. “We just didn’t get our game going. We didn’t start with the tenacity we had planned. We are very gutted. This meant a lot to a lot of people.”
Out on the main stage Siya Kolisi was being hailed as the first black captain to lift the Webb Ellis Cup, an accolade one or two of us felt could go to Itoje in France next time round.
That one has got away now, but it is the title opportunity lost that really hurts.
England are not the first team to beat the All Blacks during a World Cup and then blow the final. Four times in six tournaments it has happened.
But there was no consolation in that as South Africa celebrated and the Rugby Football Union hastily abandoned plans for a victory parade in central London.
“We're talking,” said Itoje when asked about the mood in the changing room. “It's obviously not exactly a disco in there. We're united, we're talking and trying to console each other.
“As you can imagine, it's a tough time and period to go through. But if we stay together all will be well in a while.”
Ultimately it was the pressure of the occasion which did for them - just as it did for South Africa in their opening game loss to New Zealand.
But the Boks were better for that experience and for a subsequent talk given by coach Rassie Erasmus about what exactly pressure is.
“In South Africa it is not having a job,” he told them. “Pressure is having a close relative who is murdered. Rugby should not be something that creates pressure, rugby should create hope.”
On Saturday England felt pressure and had little hope. Their challenge is to use the lesson they have been taught to free them next time.


Reports cases of passing functions which cannot be inlined. An anonymous function, callable reference, or lambda expression, cannot be inlined if it is not passed to an inline-function as an inline-parameter.
Also reports inline function declarations with functional receiver, see Support inlining of extension receiver parameter having functional type


APFtoXML
The APFtoXML utility extracts information from an
Ace APF file and produces a file with the selected information marked
by
in-line XML tags such as <ENAMEX TYPE=type> for names. It
is
invoked by
xjet
AceJet.APFtoXML year apf-directory
output-directory filelist apf-extension output-extension [gazetteer pre-dictionary] flag flag ...
where
- year
- is one of 2003, 2004, or 2005, reflecting
the different APF formats used
- apf-directory
- is the directory which contains both
the text and apf files
- output-directory
- is the directory which will contain the files with in-line XML
tags
- filelist
- is a file containing a list of the
documents to
be processed, one per line; text and apf files are relative to
apf-directory; output files are relative to
output-directory. If a line in this file is F, the text file is read from F.sgm, the apf file is read from F.apf-extension, and the output file is F.output-extension .
- apf-extension
file extension for apf files (added to document name)
- output-extension
file extension for output files (added to document name)
For 2004, pre-nominals were tagged PRE whether they were names or not,
so additional information is required to identify names. This is
provided by two additional files,
- gazetteer
- a Jet gazetteer, listing country and state names
- pre-dictionary
- a list of words, indicating for each whether or not they are names
- flag
- one or more of sentences
timex mentions types names, indicating a type of information to
be included in the output files
sentences:
output <sentence>
tags
timex:
output <timex2> tags
mentions:
output <mention entity=n>
tags indicating co-reference relations
types:
include ACE type and subtype features with mention tags
names:
include ENAMEX tags


traits growth climate climatic SNPs BAI adaptation using population (Fig. genetic trees tree‐ring candidate MAT drought responses temperature tree analysis annual common year sensitivity variation provenances local populations genes garden study residual significant standardized {border-style Fig. Pinus change correlation used Nadeau association constraints density monthly px;} ring strobus #ffffff;} associations mean structure abiotic phenotypes S). Tolerance associated provenance type (e.g. Plant (type data environmental forest scores (CS Ecology Forest Table correlated correlations involved tolerance t−) < Canada GPA Tree analyses area autumn average computed effect formation identified information number plant species Aitken Canadian Girardin approach dendrometric different events experiment freeze gene increment rings stresses tested (Table Physiology SNP averaged basal boreal cold detected group influence interannual noncandidate pine precipitation previous response spring white BAI–Prec.Jul BAI–Temp.Jul Genetic Genetics bud cold: experiments freezing height identify new period plants px; relationships sampled southern stress tassel time‐series {font-family (Nadeau BAI–Drought.Aug Correlation GEA Local North Research adaptive cell climate‐related coefficients dendroecology eastern font-size functional functions genomic given growing heat higher level measured method model models preceding protein results temperatures thaliana traits. variability variables (i.e. Arabidopsis Diverse Figure Isabel July M‐, Natural New October Québec Traits Valcartier Wang block correction double; false following function identification kinship levels likely loci negative observed obtained phenotypic positive potential previously probably putative range reflecting related risk selection set significantly spatial summer understanding vector (BAI (a) (b) Annual BAI–Freeze.Jun BAI–Freeze.Oct Centre Chen Eckert GPAs G‐, Management Mean Molecular Science accumulation among‐population averages based border-color border-width capacity classified components conditions conducted conifers current days derived described extreme factors genetics genotypes, growth–climate hardiness linear located lower matrix multiple northern pairwise performed possible principal program provided reduce reflect regression relative revealed software solid; studies temperate temporal tree's variations warmer warming wood {font-style {font-weight (Afzal (C) (Quebec, (types BAI–Frost.Jun Biology Botany Change Climatic Cook DAPC DBH Frontiers However, June MOVEMENT McKenney McLane Methods N‐, PLASTID Pedlar Phytologist Proceedings Resources Ritland Supporting Tree‐Ring Tree‐ring Wiley Wood [], a). account additional article bold changes compared confirmed conifer courier; daily determined diameter distribution drought: effects em; genes) genotyped genotypes genotype–phenotype greater growth. herbaceous high independent individual landscape library low metric moisture obtain patterns period. phenology populations. positively proportion provide pt;} raw regions relationship represented result season species’ study. trait traits). traits, transcription trees. use values wall


+++ title = "Pucón" lat = -39.266667 lon = -71.966667 +++
The small town of Pucón is the most popular tourist destination, on the Chilean side of the famous South American "lake district". Although it's not at a very high altitude, and although it rarely snows in the town, it looks and feels very much like an alpine ski village. I came here to Pucón in winter, when it gets decidedly chilly, and when it's nice and quiet, bereft of the hordes that descend upon it in the summer. There are many adventure activities to do around Pucón, the main one being to climb Villarrica volcano.


@* * Copyright 2019 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 include._ @import forms2._ @import models.confirmation._ @import config.ApplicationConfig @(paymentReference: Option[String], total: Currency, maybeBreakdownRows: Option[Seq[BreakdownRow]], paymentsUrl: String)(implicit request: Request[_],m:Messages) @header = { @heading("confirmation.header", "submit.registration") } @main( title = Messages("confirmation.header") + " - " + Messages("submit.registration"), heading = header ) {
@Messages("confirmation.submission.info")
@Messages("confirmation.fee") is @total
@paymentReference.map{ ref =>@Messages("confirmation.sidebar.code") is @Messages(ref)
}| @Messages("confirmation.item") | @Messages("confirmation.quantity") | @Messages("confirmation.feeperitem") | @Messages("confirmation.totalfee") |
|---|---|---|---|
| @Messages(label) | @quantity | @perItem | @totalFees |
| @Messages("confirmation.registrationfee") | @total |


Are you sure you want to delete {{person.name}} ({{person.birth}} - {{person.get_death_date()}})?
Edit
Cancel


|
STM8S Standard Peripheral Libary
2.2.0
|
This file contains all the functions prototypes for the Dot matrix LCD firmware driver. More...
#include "stm8s_eval.h"
Go to the source code of this file.
Macros | |
| #define | _delay_ delay /* !< Default _delay_ function with less precise timing */ |
| #define | LCD_SPI SPI |
| Defines for the SPI and GPIO pins used to drive the SPI Flash. | |
| #define | LCD_NCS_GPIO_PORT GPIOF /* LCD Chip Select I/O definition */ |
| #define | LCD_NCS_PIN GPIO_PIN_0 |
| #define | LCD_SPI_CLK CLK_PERIPHERAL_SPI |
| #define | LCD_BACKLIGHT_PORT GPIOH |
| #define | LCD_BACKLIGHT_PIN GPIO_PIN_4 |
| #define | LCD_SPI_SCK_PIN GPIO_PIN_5 |
| #define | LCD_SPI_MOSI_PIN GPIO_PIN_6 |
| #define | LCD_SPI_MISO_PIN GPIO_PIN_7 |
| #define | LCD_SPI_GPIO_PORT GPIOC |
| #define | LCD_LINE_MAX_CHAR ((uint8_t)15) |
| #define | LCD_LINE1 ((uint8_t)0x80) |
| #define | LCD_LINE2 ((uint8_t)0x90) |
| #define | COMMAND_TYPE ((uint8_t)0xF8) |
| #define | DATA_TYPE ((uint8_t)0xFA) |
| #define | SET_TEXT_MODE ((uint8_t)0x30) /* 8-Bits Interface, Normal inst., Text mode */ |
| #define | SET_EXTENDED_INST ((uint8_t)0x34) |
| #define | SET_GRAPHIC_MODE ((uint8_t)0x36) /* 8-Bits Interface, Extended inst., Graphic mode */ |
| #define | DISPLAY_ON ((uint8_t)0x0C) /* Cursor and blink off */ |
| #define | DISPLAY_OFF ((uint8_t)0x08) |
| #define | DISPLAY_CLR ((uint8_t)0x01) |
| #define | ENTRY_MODE_SET_INC ((uint8_t)0x06) |
| #define | LCD_NCS_LOW() GPIO_WriteLow(LCD_NCS_GPIO_PORT, LCD_NCS_PIN) |
| Deselect LCD: ChipSelect pin low : LCD disabled. | |
| #define | LCD_NCS_HIGH() GPIO_WriteHigh(LCD_NCS_GPIO_PORT, LCD_NCS_PIN) |
| Select LCD : ChipSelect pin high : LCD enabled. | |
Functions | |
| void | STM8S_EVAL_LCD_Init (void) |
| Initialize the LCD. More... | |
| void | LCD_BacklightCmd (FunctionalState NewState) |
| Enable or Disable the LCD backlight. More... | |
| void | LCD_SetCursorPos (uint8_t Line, uint8_t Offset) |
| Set the LCD cursor to the specified location. More... | |
| void | LCD_SendByte (uint8_t DataType, uint8_t DataToSend) |
| Send a byte to LCD. More... | |
| void | LCD_Clear (void) |
| Clear the LCD. More... | |
| void | LCD_Print (uint8_t *ptr) |
| Display a string from current position of the LCD cursor. More... | |
| void | LCD_DisplayLogo (uint8_t address) |
| Display ST logo. More... | |
| void | LCD_RollString (uint8_t Line, uint8_t *ptr, uint16_t speed) |
| Display a string in rolling mode. More... | |
This file contains all the functions prototypes for the Dot matrix LCD firmware driver.
Licensed under MCD-ST Liberty SW License Agreement V2, (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.st.com/software_license_agreement_liberty_v2
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.
Definition in file stm8s_eval_lcd.h.


{% extends "tutorial.html" %} {% block head %} {% endblock %} {% block html5badge %} {% endblock %} {% block iscompatible %} {% endblock %} {% block content %}
On August 7, 2010, deviantART celebrated its 10th birthday. We celebrated our birthday by launching an HTML5 drawing tool called deviantART muro. The tool can be used as a stand-alone web application as well as a lightweight drawing tool for adding pictures to forum comments.
The deviantART community greeted this new drawing tool with great enthusiasm, and the tool itself now sees as much traffic as some decent-sized web properties. Since its launch, a new drawing is submitted using deviantART muro about once every 5 seconds. These are just the numbers of drawings that are completed; many more had been started and not saved.
The following article gives some background on how we are using HTML5, why we chose to use the technologies that we did, and things I discovered while writing one of the first full-blown HTML5 applications for a major website.
In late 2005, I was one of the developers responsible for the drawing tool used by Draw Here. The tool was a "web graffiti" tool launched by a bookmarklet. It was used to draw pictures on any webpages. Draw Here was initially created using SVG (Firefox 1.5 beta had just come out; it was one of the first browsers to support SVG).
On Internet Explorer, we were creating SVG in the background, but were rendering the drawing using VML. WebKit did not support SVG at the time, so I ported our code to render the SVG using canvas (which was a new technology seen only in WebKit at the time). At one point, I even made a port so that our SVG code could be rendered on older browsers using a bunch of div elements pasted together. (This, of course, was more of a joke to show it could be done and was painfully slow to use).
In its heyday, Draw Here was being used to make about 100 drawings per day. It was complete enough to be called more than just an experiment, although it did not have the final polish of a major web application. In mid-2006, the project was abandoned, though the site is still limping along today—mostly just for grins.
Because of my background using various HTML5 technologies in their early days, I was asked to be the lead developer on deviantART muro. Anybody who is reading this article can probably understand why we decided to go with HTML5, rather than a plug-in based technology like Silverlight or Flash. We wanted something that was robust and also something that used open standards.
We decided to do the drawing layer using canvas. Some people may wonder when they should use canvas and when they should use SVG. There is a lot of overlap in what can be done with the two technologies—as Draw Here proved, both technologies can be used to create a drawing application.
I have found that SVG is great if you want to keep handles to objects you had drawn. For example, if you want the user to be able to draw a line, and then be able to drag bits of the line to change its shape, that would be fairly trivial using SVG. But the same thing is very awkward using canvas.
When you use canvas, you fire stuff onto the canvas, and then you forget about it. A blank canvas and one that had been drawn on for an hour act exactly like the same in code, and they have about the same memory footprint. While a raster drawing program usually works really well with the fire and forgets technology, it does make certain things hard. For example, creating a fast undo function is much harder in canvas than in SVG. In SVG, you can just keep a handle to the last several lines that you placed, and undoing is just a matter of plucking those objects off. With canvas, once a line has been painted, you don’t know what was underneath it, so removing the line requires redrawing the area that it was in.
Once we bit the bullet and decided that this was going to use HTML5 for canvas, we decided to make use of little bits of other HTML5 goodies here and there. An example of this is how we used localStorage to keep track of user’s brush settings. This way, once they have their various brushes set up just the way they like them, they can come back to those settings the next time they use our tool. localStorage means that we don’t have to use up our cookie or make any server trips in order to get those preferences.
Canvas has come a long way in the past five years. With Draw Here, we actually did not publish my canvas port, because the performance was not good. Now, I think, it is safe to say that it probably performs better than you imagine. Clearing a large section of canvas and redrawing complicated shapes can usually happen at speeds faster than human perception. The only thing that I found to be occasionally too slow is using getImageData() to sample pixels. The speed of the operation obviously depends on canvas size, but, on a large canvas, doing a getImageData() at the wrong time can take long enough for a user to feel like the application is slow to respond.
After reading various canvas tutorials, I originally had the impression that it was a heavyweight thing that should be used sparingly, maybe once or twice on a page. I don’t know if everybody gets this sense, but I did, so I was using it sparingly when we first started coding deviantART muro. After a while though, I found that there are lots of little places where a canvas can save you a lot of effort. For example, the mock-ups for our app specified that there should be a color picker that was two overlapping triangles showing primary and secondary colors:
My first instinct was to start thinking of a way to create this little UI gizmo with traditional HTML and CSS. People who are great at hacking CSS might point out how all this could be done over CSS, but the triangle shape of the two parts that change color makes it not so obvious.
When it occurred to me to just use a canvas, I made the widget with a single DOM element and a couple lines of JavaScript. deviantART muro uses canvas nodes all over the place. Each layer is a canvas, and changing layer ordering is just a matter of switching z-index. The zoom "navigator" palette that shows a reduced view of the drawing area is just another canvas that occasionally calls drawImage() using the layer canvases as source images. Even the drawing area cursor (a two-toned circle that adjusts size depending on brush size and zoom) is a canvas that floats underneath the mouse.
The reason that we were more liberal with canvas than other HTML5 technologies is that Google’s ExplorerCanvas library makes it possible to simulate canvas in Internet Explorer. That leads me to my next section.
The major reason that more major websites are not using HTML5 yet is that they don’t want to lose their Internet Explorer users. I am sure that the first question in most developer’s minds when they hear that deviantART made an HTML5 drawing application is, "What was done about IE?"
We decided at the beginning that we would make a best effort when it came to making things work in Internet Explorer, but that we were through doing the least common denominator style of web development. Because the web community has taken the approach that a site can’t launch until it looks the same on every known browser, users cannot tell when their browser is lacking. To the average user, speed issues are blamed on their internet connection and every page renders more or less the same.
We decided that we would create any cool feature that came to mind using the HTML5 spec, try to make it work in Internet Explorer, and if it could not work, we would just pop up a modal explaining that the feature was not available because their browser did not yet implement a web standard.
We initially tried to make things work with Google’s ExplorerCanvas (exCanvas). It is surprisingly good at mimicking canvas for most things. It does have one downside, though. Every stroke made on the canvas is a DOM object in the underlying VML translation. For most things that you might attempt with canvas, this is fine, but some of deviantART muro’s brushes create shapes from layering lots of strokes together. When Internet Explorer is faced with VML that has thousands of nodes in it—even on a fast machine—it falls over and dies. Because of this, for a lot of the drawing calls, we actually had to go in and code in actual VML, and use tricks where we concatenated the nodes together and use the move command to specify where there should be gaps. A lot of the little controls and whatnots in the interface use a canvas tag, as those small little uses generally worked fine with exCanvas.
In addition to making some things work with exCanvas, we suggested to users that they could continue using their version of Internet Explorer if they installed the Google Chrome Frame plug-in. Google Chrome Frame is a plug-in that embeds Google Chrome’s rendering engine in Internet Explorer. From the user’s perspective, they are still using the browser that they are familiar with; but, underneath the covers, our page gets rendered with Chrome’s HTML5 capabilities and faster JavaScript.
I knew that it was supposed to be easy to port things to work with Chrome Frame, but I didn’t realize just how simple. You just put in an extra meta tag and... and that’s it, things start working in IE.
It is such a joy to work with the new technologies in the HTML5 specification, and I would say that everything that I used is definitely ready for prime time. Even if you need things to work flawlessly on IE, there is a surprising amount of stuff you can do combining canvas and exCanvas. And writing a translation layer between SVG and VML is surprisingly doable as well. Once you start using the technology, it is like stepping into a whole new world.


Computercraft Webedit v0.0.1
File tree coming soon!
[Untitled File]
Loading...
Webedit requires Javascript in order to work!
Enter Key:
Installation Instructions
At the command line, type "lua" and press enter
Paste the text below (using Ctrl-V), and press enter
Follow on-screen instructions
loadstring(http.get("http://we.haun.guru/i").readAll())()


<personinfo>
The <personinfo> element is a wrapper containing all relevant data about a person, including name, address, and contact information.
Category: xNAL domain elements


Detect the indentation of code
Pass in a string of any kind of text and get the indentation.
$ npm install --save detect-indent
Here we modify a JSON file while persisting the indentation:
```js var fs = require(‘fs’); var detectIndent = require(‘detect-indent’);
/* { “ilove”: “pizza” } */ var file = fs.readFileSync(‘foo.json’, ‘utf8’);
// tries to detect the indentation and falls back to a default if it can’t var indent = detectIndent(file).indent || ‘ ‘;
var json = JSON.parse(file);
json.ilove = ‘unicorns’;
fs.writeFileSync(‘foo.json’, JSON.stringify(json, null, indent)); /* { “ilove”: “unicorns” } */ ```
Accepts a string and returns an object with stats about the indentation:
amount
{number} - Amount of indentation, e.g. 2
type {string |
null} - Type of indentation. Possible values are tab , space or null if no indentation is detected |
indent
{string} - Actual indentationThe current algorithm looks for the most common difference between two consecutive non-empty lines.
In the following example, even if the 4-space indentation is used 3 times whereas the 2-space one is used 2 times, it is detected as less used because there were only 2 differences with this value instead of 4 for the 2-space indentation:
```css html { box-sizing: border-box; }
body { background: gray; }
p { line-height: 1.3em; margin-top: 1em; text-indent: 2em; } ```
Furthermore, if there are more than one most used difference, the indentation with the most lines is selected.
In the following example, the indentation is detected as 4-spaces:
```css body { background: gray; }
p { line-height: 1.3em; margin-top: 1em; text-indent: 2em; } ```
MIT © Sindre Sorhus


TABLE OF INTERACTIONS WITH
RITONAVIR BOOSTED PROTEASE INHIBITORS
Ritonavir is now used in 100mg doses 2 times a day when combined with another protease inhibitor, in order to increase very significantly the bioaccessibility of the protease inhibitor associated with it (or boosted), which permits increasing in this way the effectiveness of the antiretroviral treatment. With regard to this therapeutic plan, each protease inhibitor acquires in this way powerful properties of inhibition of the CYP3A4 that ritonavir possesses, and this is so even when the latter is given in doses 6 times less than in previous years of its use. In practice, this means considering all the protease inhibitors as enzymatic inhibitors of comparable strength. Consequently, the interactions common to this classification, for the most part, flow from this property.
From the French ANSM drug interactions document of
September 2016, pp. 123-125
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
AFATINIB RxNorm: 1430438 ATC: L01XE13 |
Increase of the plasma concentrations of afatinib due to increase of its absorption by the protease inhibitor |
Precaution for use It is recommended that that the protease inhibitor be administered as far from the afatinib as possible, preferably at an interval of 6 to 12 hours from the dose of afatinib. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
ALBENDAZOLE RxNorm: 430 ATC: P02CA03 |
Large decrease of the plasma concentrations of the albendazole and of its active metabolite by the ritonavir, with risk of reduction of its effectiveness. |
Precaution for use Clinical monitoring of the therapeutic response and possible adjustment of the dosage of the albendazole during the treatment with the enzymatic inducer and after it is stopped. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
VASOCONSTRICTOR ALKALOIDS OF ERGOT OF RYE CLASS CODE: N02CA0-001 |
Risk of constriction of coronary blood vessels or those of the extremities (ergotism), or of rapid elevation of blood pressure |
CONTRAINDICATION |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
ANTICONVULSANT ENZYME INDUCERS CLASS CODE: N03A-001 |
Risk of reduction of the effectiveness of the protease inhibitor due to increase of its hepatic metabolism by the inducer |
Precaution for use Regular clinical and biological monitoring, especially at the beginning of the administration of these substances together. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
VITAMIN K ANTAGONISTS CLASS CODE: B01AA-001 |
Variation of the effect of the vitamin K antagonist, most often by decreasing it |
Precaution for use More frequent testing of the INR. Possible adjustment of the dosage of the vitamin K antagonist during the length of the treatment |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
ATORVASTATIN RxNorm: 83367 ATC: C10AA05 |
Increased risk of undesirable effects (concentration-dependant) of the rhabodmyolysis type (decrease of the hepatic metabolism of the atorvastatin) |
Not recommended Use weaker doses of atorvastatin. If the therapeutic objective is not reached, use another statin not affected by this type of interaction. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
ATOVAQUONE RxNorm: 60212 ATC: P01AX06 |
Decrease, possibly very large, of the plasma concentrations of the atovaquone due to increase of its metabolism |
Not recommended |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
OTHER CORTICOIDES, ESPECIALLY INHALED ONES CLASS CODE: D07AC-001 |
In case of prolonged use by oral or inhaled route: increase of the plasma concentrations of the corticoid due to decrease of its hepatic metabolism by the protease inhibitor, with risk of appearance of Cushings syndrome, even of adrenal insufficiency |
Take into account |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
BOCEPREVIR RxNorm: 1102129 ATC: J05AE12 |
Decrease of the concentrations of the boceprevir and of the lopinavir (or darunavir or fosamprenavir), with risk of therapeutic failure |
Not recommended |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
BUPRENORPHINE RxNorm: 1819 ATC: N02AE01 N07BC01 |
Risk of increase or decrease of the effects of the buprenorphine, due to both inhibition and acceleration of its metabolism by the protease inhibitor |
Take into account |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
CLARITHROMYCIN RxNorm: 21212 ATC: J01FA09 |
Increase of the concentrations of the clarithromycin and of its active metabolite due to decrease of its hepatic metabolism by the protease inhibitor |
Precaution for use Regular clinical and biological monitoring, especially at the beginning of treatment with these medications together. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
CYPROTERONE RxNorm: 3014 ATC: G03HA01 |
Risk of decrease of the effectiveness of the cyyproterone. |
Not recommended --in its use as a hormonal contraceptive: use instead another method ofcontraception in particular a barrier type, during the administration of these substances together and a cycle following Precaution for use --in its indications as an antiandrogen: clinical monitoring and possible adjustment of the dosage of the cyproterone during the administration and after it is stopped |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
DEXAMETHASONE RxNorm: 3264 ATC: A01AC02 C05AA09 D07AB19 D07XB05 D10AA03 H02AB02 R01AD03 S01BA01 S01CB01 S02BA06 S03BA01 |
Increase of the plasma concentrations of the dexamethasone due to decrease of its hepatic metabolism by the protease inhibitor, with risk of appearance of Cushings syndrome |
Take into account |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
DIGOXIN RxNorm: 3407 ATC: C01AA05 |
Increase of the digoxinemia, more marked for intravenous route, due to increase of the absorption of the digoxin or decrease of its renal clearance. |
Precaution for use Clinical monitoring and, if there is reason for them, EKG and monitoring of the digoxinemia, with possible adjustment of the dosage of digoxin. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
ERIBULINE RxNorm: 1045453 ATC: L01XX41 |
Increase of the plasma concentrations of eribuline by the ritonavir |
Not recommended |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
COMBINED ESTROGEN-PROGESTIN CONTRACEPTIVES CLASS CODE: G03AB-001 |
Risk of decrease of the contraceptive effectiveness due to decrease of the concentrations of the hormonal contraceptive, because of the increase of its hepatic metabolism by the ritonavir. |
Not recommended Another method of contraception, in particular a barrier type (condom or IUD), should be used during the length of the treatment with these medications together and a cycle following. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
THYROID HORMONES CLASS CODE: H03AA |
Risk of reduction of the effectiveness of the thyroid hormones due to increase of their hepatic metabolism by the ritonavir |
Precaution for use Clinical and biological monitoring and possible adjustment of the dosage of the thyroid hormones. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
IMMUNOSUPPRESSANTS CLASS CODE: L04A |
Very large increase of the blood concentrations of the immunosuppressant due to inhibition of its hepatic metabolism |
Not recommended If these substances are administered together, strict testing of the renal function, blood concentration dosages of the immunosuppressant, and adjustment of its dosage. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
STRONG INHIBITORS OF CYP3A4 CLASS CODE: J02-J05 |
Risk of increase of the plasma concentration of the ritonavir boosted protease inhibitor or of the CYP3A4 inhibitor. |
Take into account To know the risks and levels of severity of each ritonavir boosted protease inhibitor taken with the strong inhibitors of CYP3A4, consult the specificauthorization for sale to the public ("Authorisation de la Mise sur le Marche" a French document) for each one of them. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
ITRACONAZOLE RxNorm: 28031 ATC: J02AC02 |
Risk of increase of the concentrations of itraconazole by the protease inhibitor |
Precaution for use Clinical monitoring during the administration of these together. Administering large doses of itraconazole (>200 mg per day) is not recommended. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
LAMOTRIGINE RxNorm: 28439 ATC: N03AX09 |
Risk of decrease of the concentrations and of the effectiveness of the lamotrigine due to increase of its hepatic metabolism by the ritonavir |
Not recommended -Avoid beginning the treatment with ritonavir during the period of adjustment of the dosage of lamotrigine Precaution for use -Clinical monitoring and adjustment of the dosage of the lamotrigine when treatment with ritonavir is beginning |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
LUMEFANTRINE RxNorm: 847728 ATC: P01BF01 |
Increased risk of ventricular arrhythmias, especially of torsades de pointes |
Not recommended |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
METHADONE RxNorm: 6813 ATC: N07BC02 |
Decrease of the plasma concentrations of methadone with risk of appearance of a withdrawal syndrome due to increase of its hepatic metabolism by the ritonavir |
Precaution for use Regular clinical monitoring and possible adjustment of the dosage of methadone. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
ST JOHNS WORT Hypericum perforatum RxNorm: 258326 ATC: not found |
Decrease of the plasma concentrations of the protease inhibitor, due to the enzymatic inducer effect of the St Johns wort, with risk of reduction of effectiveness, even complete loss of the effect, which can have possibly serious consequences (reduction of the antiretroviral effectiveness) |
CONTRAINDICATION In the case of the substances being taken together by accident, do not stop the St Johns wort abruptly, but test the plasma concentrations (or the effectiveness) of the protease inhibitor before and then after the St Johns wort is stopped. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
MIZOLASTINE RxNorm: 61455 ATC: R06AX25 |
Risk of ventricular arrhythmias, especially of torsades de pointes |
CONTRAINDICATION |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
NINTEDANIB RxNorm: 1592737 ACT: L01XE31 |
Increase of the plasma concentrations of nintedanib due to increase of its absorption by the ritonavir boosted protease inhibitor |
Precaution for use Clinical monitoring during the administration of these substances together. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
PROGESTIN CONTRACEPTIVES CLASS CODE: G03-001 |
Risk of decrease of the contraceptive effectiveness because of decrease of the concentrations of hormonal contraceptive, due to the increase of its hepatic metabolism by the ritonavir |
Not recommended Another method of contraception, in particular a barrier type (condom or IUD), should be used during the time the substances are administered together and one cycle following. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
QUINIDINE RxNorm: 9068 ATC: C01BA01 |
Increased risk of ventricular arrhythmias, especially of torsades de pointes |
CONTRAINDICATION |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
RIFABUTIN RxNorm: 55672 ATC: J04AB04 |
Risk of reduction of the effectiveness of the protease inhibitor (even more so when the dosage of the rifabutin is large) for one thing, and risk of increase of the undesirable effects (uveitis) of the rifabutin, for another thing. |
Precaution for use Regular clinical and biological monitoring, especially at the beginning of the administration of the substances together. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
RIFAMPICIN RxNorm: 9384 ATC: J04AB02 |
Very large decrease of the plasma concentrations of the protease inhibitor, due to increase of its hepatic metabolism by the rifampicin. For the combination (saquinavir + ritonavir): risk of severe hepatocellular toxicity |
CONTRAINDICATION Until additional information about the ritonavir "boosted" protease inhibitors is available. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
ROSUVASTATIN RxNorm: 301542 ATC: C10AA07 |
Increase of the plasma concentrations of the rosuvastatin due to increase of its absorption |
Precaution for use Clinical and biological monitoring. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
SIMVASTATIN RxNorm: 36567 ATC: C10AA01 |
Increased risk of undesirable effects (concentration-dependent) of the rhabdomyolisis type (decrease of the hepatic metoblism of the simvastatin). |
CONTRAINDICATION |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
TELAPREVIR Rx Norm: 1102261 ATC: J05AE11 |
Decrease of the concentrations of the telaprevir and of the darunavir or of the fosamprenavir, with risk of therapeutic failure. |
Not recommended |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
TENEFOVIR ALAFENAMIDE RxNorm: 1721603 ATC: not found |
With the atazanavir, the darunavir or the lopinavir, increase of the plasma concentrations of the tenofovir alafenamide due to increase of its absorption |
Precaution for use In case of administration of these together, the dose of tenofovir alafenamide must be limited to 10 mg per day. The administration with the other protease inhibitors of HIV has not been studied. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
THEOPHYLLINE (AND, BY EXTRAPOLATION, AMINOPHYLLINE) CLASS CODE: R03DA |
Decrease of the plasma concentrations of the theophylline, due to increase of its hepatic metabolism |
Precaution for use Clinical monitoring and possibly monitoring of the theophyllinemia; if there is reason for it, adjustment of the dosage of the theophylline during the treatment with the protease inhibitor and after it is stopped. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
ULIPRISTAL RxNorm: 1005921 ATC: G03AD02 G03XB02 |
Risk of decrease of the effect of the ulipristal, due to increase of its hepatic metabolism by the ritonavir |
Not recommended Choose a therapeutic alternative that is little or not at all metabolized. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
VENLAFAXINE RxNorm: 39786 ATC: N06AX16 |
Increase of the concentrations of venlafaxine with risk of overdose |
Take into account |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
VINCA ALKALOIDS CLASS CODE: L01CA |
Increase of the toxicity of the antimitotic, due to decrease of its hepatic metabolism by the protease inhibitor. |
Precaution for use Strict clinical monitoring and possible adjustment of the dosage of the antimitotic. |
RITONAVIR BOOSTED PROTEASE INHIBITORS CLASS CODE: J05AE-002 |
VORICONAZOLE RxNorm: 121243 ATC: J02AC03 |
Very large reduction of the concentrations of the antifungal due to increase of its metabolism by the ritonavir, with risk of failure of the treatment |
Not recommended |


#!/usr/bin/perl5 -s
require ("referer.nsp");
require ("parse_query.nsp");
## ----------------------->>> If attemping to login
if ($FORM{'Username'} && $FORM{'FirstName'} && $FORM{'Email'}) {
require ("cookie.lib");
## Define Variables
my $Username = "$FORM{'Username'}";
my $FirstName = "$FORM{'FirstName'}";
my $TheirEmail = "$FORM{'Email'}";
## Start DB connection
use DBI;
use strict;
my $dbh = DBI->connect("DBI:mysql:NMS-SysConfigurator","root","62Ak.fi1HdBxI") or die "Unable to connect to database: coastline\n";
$dbh->{RaiseError} = 1;
my $sth = $dbh->prepare("SELECT * FROM Users WHERE Username = '$Username' AND FirstName = '$FirstName'");
$sth->execute or die "Sorry, that Username/Password combination is incorrect, please try again.\n";
my $row = $sth->fetchrow_arrayref;
my $TheNumber = $row->[1];
my $Pass = $row->[4];
my $Email = $row->[5];
my $First = $row->[6];
$sth->finish;
$dbh->disconnect;
## ----------------------->>> if form fields match with DB, send password as email to this user
if ($First =~ /$FirstName/ && $Email eq $TheirEmail) {
## Make all comparisons lowercase
use locale;
my $LEmail = uc($Email);
my $LTheirEmail = uc($TheirEmail);
my $LFirst = uc($First);
my $LFirstName = uc($FirstName);
## ----------------------->>> make sure email is truly the right one
if ($LEmail eq $LTheirEmail) {
## ----------------------->>> SEND EMAIL MESSAGE
my $SenderIn = "admin\@rhomberg.com(Ecom Store)";
use lib "/www/htdocs/MIME-Lite-2.117/lib/";
use MIME::Lite;
my $msg = MIME::Lite->new(
From =>$SenderIn,
To =>$Email,
Subject =>'System - Retrieve Password',
Type =>'multipart/related'
);
$msg->attach(Type => 'text/html',
Data => qq{
- Retrieve Password
$FirstName,
Here is your login information as you requested. The Store features a fully functional System Configurator.


Preston Grasshoppers already in a relegation battle
by Paul OuthwaiteNovember’s four bruising defeats pile extra pressure on Preston Grasshoppers’ next two games – against their closest rivals in the battle to claw their way out of the relegation zone.
That is where they now find themselves for the first time this season.
Tomorrow’s opponents Luctonians are third from bottom of National League Two North, two points ahead of Hoppers, while next Saturday’s visitors Hull, are a further two points above them.
Luctonians have, in fact, won one fewer game than Hoppers – two victories, a draw and nine defeats, compared to the visitors’ three wins, a draw and eight defeats.
But the Herefordshire club have collected an impressive 10 bonus points to Hoppers’ four.
Remarkably, Luctonians have lost all five home games, but gave high-flying Fylde a shock in the most recent, losing by only 25-27.
Their successes have come at Tynedale and Scunthorpe.
Hoppers have lost their last four games and also their last four away fixtures.
Tomorrow, head coach Paul Arnold rings the changes, with Jordan Dorrington switching to full-back and a threequarter line of Scott Jordan, Alex Hurst, Sam Stott and Tyler Spence. Sam Wallbank is at lock with Toby Harrison in the back row.
Fylde slipped to second place last weekend, following their second defeat to go with nine victories and one draw.
Tomorrow, they travel to Otley, who are 10th and have lost their last two games – both away from home.
Fylde did the double over them last season, 24-14 at home and 14-3 away.
In North One West, Vale of Lune travel to Broughton Park for a rearranged fixture following last month’s weather washout.
Vale will be without Michael Forrest, who has an ankle injury, and the unavailable Henry Higginson.
Callum Kyle and Andy Powers form a new centre partnership, flanker Blake Snell makes his first start, James Hesketh props and Scott Manning is at full-back after a four-week lay-off.
Hoppers: J Dorrington; Jordan, Hurst, Stott, Spence; B Dorington, Gough; Miller, Taylor, Blanchard, Murray, Wallbank, Carlson, Harrison, Lamprey. Replacements: Mabaya, Millea, Procter, Squirrell, Gregson.
Vale: Manning; Fern, Kyle, Powers, Eastwood; Briggs, Swarbrick; Heaketh, Dokter, Pillow, Cvijanovic, Fellows, Snell, Ayrton, Robinson. Replacements: Yates, Tagg, tba.


EpicodusMD
How do you want to search for a doctor?
By Condition
By Doctor Name
Select a condition from the list to search Portland for a matching doctor.
Select Condition
Search
Back
To search Portland for a matching doctor, type in a doctor name in the field below.
Search
Back
Searching...