Skip to content

Instantly share code, notes, and snippets.

View robwormald's full-sized avatar

Rob Wormald robwormald

View GitHub Profile

Potential Application to Buried Paleochannels in the Motherlode

The Tertiary auriferous gravels of California’s Motherlode belt — Eocene-age channel deposits buried under volcanic mudflows and laterite — are an appealing theoretical target for L-band fully polarimetric SAR, though the degree to which each scattering mechanism actually responds to subsurface structure in this environment remains an open question. The following discussion outlines plausible physical mechanisms, but it should be noted that peer-reviewed validation of Yamaguchi decomposition for buried paleochannel detection in vegetated, geologically complex terrain is limited.

Volume Scattering (Green)

This is arguably the most interesting component for subsurface investigation. At 24 cm wavelength (e.g., NASA’s UAVSAR), the signal can theoretically penetrate several meters into dry, low-conductivity material. A buried alluvial gravel deposit — coarse, poorly sorted Eocene gravels with mixed clast sizes, variable moisture, void spaces, a

# Potential Application to Buried Paleochannels in the Motherlode
## The Tertiary auriferous gravels of California’s Motherlode belt — Eocene-age channel deposits buried under volcanic mudflows and laterite — are an appealing theoretical target for L-band fully polarimetric SAR, though the degree to which each scattering mechanism actually responds to subsurface structure in this environment remains an open question. The following discussion outlines plausible physical mechanisms, but it should be noted that peer-reviewed validation of Yamaguchi decomposition for buried paleochannel detection in vegetated, geologically complex terrain is limited.
### Volume Scattering (Green)
This is arguably the most interesting component for subsurface investigation. At 24 cm wavelength (e.g., NASA’s UAVSAR), the signal can theoretically penetrate several meters into dry, low-conductivity material. A buried alluvial gravel deposit — coarse, poorly sorted Eocene gravels with mixed clast sizes, variable moisture, void spaces,
const helloWorld = (props) => ngHtml`<h1>Hello ${props.name}</h1>`
const TodoItemTemplate = props => ngHtml`<li>${props.$index} - ${props.name}</li>`
function TodoAppComponent(){
const todoService = inject(TodoService);
return ngHtml`
<h3>Todos</h3>
<ul>${ngRepeat(todoService.todos, TodoItemTemplate)}</ul>`
customElements.define('app-shell', class extends HTMLElement {
constructor(){
super();
this.attachShadow({mode: 'open'});
this.shadowRoot.innerHTML = `
<h1>App</h1>
<slot></slot>
`
}
});
import node from 'rollup-plugin-node-resolve'
import buildOptimizer from '@angular-devkit/build-optimizer/src/build-optimizer/rollup-plugin'
import terser from 'rollup-plugin-terser'
export default {
input: {
app: './lib/app.js'
},
output: {
dir: 'public'

Thinking about tagged template literals and HTML templating.

(Disclaimer: I work on the Angular team, but this isn't something the Angular team is considering (yet). This is simply me capturing some thoughts...)

ES2015 added Template Literals to JavaScript (Template Literals is the current term, they were known as "Template Strings" in the first edition)

They're useful for all kinds of things, the most obvious of which is interpolating values in a much more concise way than concatting strings together:

@Component({
selector: 'wt-greeting',
template: (ctx: WtGreeting) => ngHtml`<h1>Hello ${uppercase(ctx.name)}</h1>`
})
class WtGreeting {
@Input() name: string;
}
@Component({
function toResponseActions(successSelector, errorSelector){
return (requests$) => requests$.pipe(
catchError(err, => errorSelector(err)),
map(res => successSelector(res))
)
}
const buttonClicks = fromEvent('button', 'click');
const requests = buttonClicks.pipe(switchMap(() => http.get('foo.json')));
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
typeof define === 'function' && define.amd ? define(factory) :
//existing proposal
@Component({
selector: 'foo'
})
export class MyComponent {
render(){}
}
//new proposal