I am a member of the programming team at Evolution 2626. During my free time, I like to work on side projects like FRC Bot, a FIRST Robotics Data Chatbot for Facebook Messenger.
My projects
FRC Bot
FRC Bot is a Facebook Messenger bot to get information about FRC teams, events, and matches.


Centrify
Mike Adams
80%
Profile complete
My Account
Messages
Settings
Logout
Dashboard
New Dashboard
Settings


Welcome
This is the demo page for the sugi project. Feel free to take a look around.
This is the second header
Third header
This is the most important thing in the world.. IN THE WORLD!
This is the demo page for the sugi project. Feel free to take a look around.
This is the most important thing in the world.. IN THE WORLD!


Employee first name is required.
Employee last name is required.
Employee email is required.
Employee phone number is required.
Employee address is required.
Employee date of birth is required.
Employee date hired is required.
Employee department is required.


Welcome to the Branch Metrics C++/Win32 SDK
Release 1.2.3
SDK Documentation
Open Demo App from a Branch Link
Branch Dashboard
Source Code (GitHub)
Branch Support


"One yodel out of place would attract, not the jolly echo of a lonely goatherd, but fifty tons of express-delivery snow."
— Reaper Man, by Terry Pratchett
Someone in the mountains triggers an avalanche by shouting or making another loud noise (shooting a gun, detonating an explosion, sneezing), especially if other characters have warned him about this before.
Subtrope of The Last Straw.
Examples
open/close all folders
Advertising
- A commercial for Fruity Pebbles has Fred and Barney in a snowboarding race. After Barney steals Fred's pebbles, Fred shouts his name and triggers one.
Anime and Manga
- Detective Conan: The fifteenth movie has Conan start one of these intentionally to stop the flood from a burst dam.
Asian Animation
- Happy Heroes: In Season 3 episode 12, Big M. hits Little M. while they are on a snowy mountain. The impact is somehow enough to make the explosive barrels they've set up to blow up, causing an avalanche.
- Pleasant Goat and Big Big Wolf: In episode 5 of Pleasant Goat Fun Class: Sports are Fun, Wolffy screams through a megaphone and ends up causing snow to fall, later causing an avalanche.
Comic Books
- Played for Drama and Laughs in Tintin in Tibet.
- One issue of Thorgal starts with someone blowing a horn in the mountains, with the protagonist commenting on how irresponsible it is. The whole issue is a Timey-Wimey Ball and culminates with a Girl of the Week taking The Slow Path to cause the avalanche on purpose, killing the time traveler and saving Thorgal's life but putting him out of the loop in the process.
- In the first Kaamelott comic book, L'Armée du Nécromant, the knights are caught in an avalanche while fighting a horde of zombies in the mountains. At first, they think it was from Merlin casting a spell, but in fact, it was because Karadoc and Perceval were yelling while charging into the fray.
- Hunter's Hellcats: In Our Fighting Forces #117, the Hellcats trigger an avalanche by firing their machine guns into a ledge of snow above a group of Nazi Super Soldiers.
Comic Strips
- The Far Side: A cartoon has a skier come across a guy with a big drum and one with a trumpet in a narrow crevice.
- A small-scale version in Big Nate has snow falling off the roof onto a shouting Ellen, who was trying to avoid a Snowball Fight.
- Implied in a Dilbert strip where the Pointy-Haired Boss is on vacation. Wally calls the ski resort the Boss is visiting and asks if there are frequent avalanches. When he gets the affirmative, he asks the guy on the other end of the phone to tell the boss he said (in an angry tone) "HI!!!"
Eastern Animation
- Played with in the winter episode of Nu, Pogodi!. After Wolf is foiled by Hare once again, he bellows, "HAAAAAAAAAAREE!!!" at the top of his lungs. Echoes rock the mountaintops... then about a handful of snow falls onto Wolf's head. Intimidated, he says it again in a normal tone. There's an ominous rumble, and he's covered by some more snow. He shrugs it off and whispers, "Hare!". Naturally, this triggers a full-scale avalanche.
Fan Works
- Calvin's grumbling stomach causes one of these in chapter 3 of Calvin and Hobbes Get XTREME!.
Films — Animation
- In The Simpsons Movie, when the family moves to Alaska, Bart amuses himself by clapping while Homer is outside to trigger avalanches. Homer thinks he's clapping for Alaska and asks Lisa to join in. He is then swept away by the ensuing avalanche.
- On Balto, the sled dogs have to escape an avalanche triggered by one of the dogs sneezing.
- Mulan: Shooting a rocket into a snow-filled cliffside is how Mulan defeats the rampaging Hun horde.
- In The Tigger Movie, Tigger ends up triggering an avalanche while shouting at his friends that he needs to find his family.
Piglet: Is that a rumbly in your tumbly, Pooh?Pooh: I don't think so, Piglet.
- Brother Bear 2: Koda triggers one while shouting at Nita to leave him alone.
Films — Live-Action
- Careful (1992): One of Guy Maddin's first feature films is about a small mountain town where every citizen must move and speak very quietly to avoid this. So naturally, Maddin produced it as a silent film.
- Seven Brides for Seven Brothers: After kidnapping the women, the men start an avalanche so they can't be pursued by the townspeople by firing pistols into the air repeatedly while the women all scream at the top of their lungs.
- xXx: Xander intentionally causes an avalanche with a grenade and then snowboards his way down the mountain in front of it.
- On Her Majesty's Secret Service: Bond and Traci are skiing away from SPECTRE mooks when Blofeld detonates a flare above some hanging rocks and ice, triggering an avalanche.
- Everest (2015): As the climbers are trying to get across a large ice crevasse, a mass of snow suddenly comes down a cliff without warning, nearly knocking one of them in.
- Tom Friend in The Abominable Snowman causes an avalanche by firing his handgun into the air repeatedly, though he's too busy having a Villainous Breakdown to notice at first.
 It gets compressed, but stays intact; then a single can falls out of the truck, triggering an avalanche dozens of meters high.
Literature
- Mentioned in Reaper Man.
One yodel out of place would attract, not the jolly echo of a lonely goatherd, but fifty tons of express-delivery snow.
- Averted in The Snow Tiger by Desmond Bagley. Although it's assumed a light aircraft carrying journalists triggered a fatal avalanche, an expert testifies afterwards that tests involving aircraft (including supersonic jetfighters) proved this was impossible.
- Mentioned in Frankenstein. As Victor Frankenstein climbs a mountain, he remarks that even a loud voice would be able to trigger an avalanche.
- Happens in Jean Kirby's novel Olympic Duty in the Nurses Three series. While a small, strategic avalanche is being planned to alleviate a more dangerous one, a photographer who's prevented from going closer shouts in anger, thus triggering a large, fatal (although not to him) avalanche.
- In the Warrior Cats book Sign of the Moon, somehow an avalanche is triggered by the cats fighting off an eagle that was trying to carry one of them away; the characters get swept up in it but survive.
Live-Action TV
- The I Love Lucy episode "Lucy in the Swiss Alps" has the main cast in a cabin with a big cliff of snow over it, trying not to make any noise that would trigger an avalanche. When Lucy slams the door, it causes an avalanche.
- The Benny Hill Show: In a sketch, Benny causes an avalanche by sneezing after taking some snuff.
- Happens to Father Larry Duff in one of the Father Ted Christmas Specials when an avalanche is triggered by his phone ringing.
- In the next-to-last episode of Hogan's Heroes, the boys are charged with blocking a mountain pass. Denied the chance to mine the pass itself, they resort to attempting one of these. Their chosen method is a jam session with Carter on the horn and Hogan on the drums. The bad news: It fails. The good news: Col. Klink produces a timely Sneeze of Doom.
- Tested (and busted) by the MythBusters in several ways. Yodeling, cracking a whip, and firing up to two automatic rifles all failed to set off an avalanche. It took quite a few charges of TNT to cause one.
- That last one is Truth in Television, explosives are used to preemptively set off avalanches with the area evacuated to reduce the risk of one happening by surprise.
- "Young Indiana Jones and the Mystery of the Blues": In 1950, Indy (Harrison Ford) and his friend are pursued and take refuge from a snowstorm in a cabin. After the bad guys catch on them and steal the artifact of the day, Indiana Jones seems to give up and just play on a soprano sax... until he blows a long note, making the snow on top of the cabin and the nearby trees fall down and bury the villains.
- Tiere bis unters Dach: While camping in the mountains, a hunter's gunshot triggers an avalanche.
- Doctor Who: In "The Happiness Patrol", Fifi is crushed to death when Earl uses his harmonica to trigger an avalanche of the unstable crystallized sugar deposits in the pipes.
- In Mystery Science Theater 3000, while watching Avalanche, Jonah and the bots get bored waiting for the titular event to occur and attempt to invoke it by shouting and banging cymbals together.
Theme Parks
- During the Ice Age Hill Valley sequence in Back to the Future: The Ride at Universal Studios, Biff starts an avalanche by hitting the ice only very lightly, along with honking the horn on the DeLorean.
Video Games
- Nancy gets buried alive by one in White Wolf of Icicle Creek.
- The second part of Sonic's Ice Cap stage in Sonic Adventure starts with him breaking some boards, triggering an avalanche and starting the snowboarding section of the level.
Web Animation
- Happy Tree Friends does this in the episode "Ski Ya, Wouldn't Wanna Be Ya!" with Flaky screaming so loudly over her foot that it causes an avalanche that possibly kills Giggles and Petunia.
Web Comics
- The Order of the Stick gives us the Perilous Path of Crushing Doom. It's a mountain trail where even the slightest noise can set off a deadly rockslide. Afterwards, however, there won't be another rockslide until it rains again. Team Evil gets around this problem by sending their minions to scout the path first and "Shout if they don't find anything."
- The Perry Bible Fellowship strip "Hey Goat".
Western Animation
- Jonny Quest TOS did this twice.
- "House of Seven Gargoyles". A member of the submarine crew fires a rifle while under Strontium Glacier, causing it to collapse on Ivar and themselves.
- "Calcutta Adventure". Dr. Quest's ultrasonic amplifier causes an avalanche that destroys the bad guys and their base.
- Played with in the SpongeBob SquarePants episode "The Idiot Box".
SpongeBob: I think we should keep our voices down in case of avalanche!
Patrick: What?
SpongeBob: I said we should keep our voices DOWN in case of avalanche!
Patrick: What should we keep down?
SpongeBob: (shouting) OUR VOICES!
(Squidward kicks the box)
(avalanche sounds plus SpongeBob and Patrick screaming in terror emit from their cardboard box until the avalanche fades away, leaving SpongeBob and Patrick sobbing from the pain)
Squidward: (horrified, touches the box very gingerly) Sponge...Bob?
(sounds from a second avalanche plus SpongeBob and Patrick screaming in terror emit from their cardboard box) - American Dad! episode "A Smith in the Hand" does it twice when Stan screams from masturbating.
- What's New, Scooby-Doo?: In one episode, Velma gets a nasty cold. As the villain controlling the monster robot is getting away, Scooby aims Velma so her sneeze is toward the mountains, causing an avalanche and catching the bad guy.
- The Simpsons
- Episode "Mountain of Madness": The first avalanche is caused by Homer & Mr. Burns clinking two glasses together in a toast. The second is caused by their boisterous "Huzzah!" after digging themselves out of the first. Then,
Homer: I think when we yelled we caused another avalanche. (another avalanche)
Burns: (whispering) We should... be... careful... not... to speak... unless... it's... absolutely... pos-i-tively... necessary. (AVALANCHE)
Homer: Shh. (AVALANCHE) You're... causing... more... avalanches. (AVALANCHE) I (AVALANCHE) think (AVALANCHE) they've (AVALANCHE) stopped. (Beat... AVALANCHE)
Burns: Let's go. (AVALANCHE)- In the episode "Mr. Plow", Barney's burp caused an avalanche.
- In the The Super Mario Bros Super Show! episode "Koopa Klaus," Koopa's Scrooge-like yelling about Christmas causes one.
- In the Total Drama World Tour episode "Slap Slap Revolution", the teams have to sing a song in an avalanche area in Austria. It's very quiet until Tyler shouts out in happiness because Lindsay finally recognizes him after six episodes.
- Looney Tunes:
- In the short "The Iceman Ducketh", Bugs Bunny warns Daffy Duck not to talk too loud or it might start an avalanche. Daffy whispers whether it's okay to speak now, but Bugs can't understand him, so Daffy shouts the question and is buried by falling snow.
- In the Bugs vs. Yosemite Sam cartoon "Piker's Peak", Sam deliberately triggers an avalanche in an effort to bury Bugs. Of course, Sam gets swamped instead.
- This happens in one of the Heyyy, It's the King! shorts on CB Bears. The avalanche is caused by the sound of the hippo character eating potato chips.
- Occurs in the My Little Pony: Friendship Is Magic episode "Dragonshy". While climbing a (snowless) mountain, Twilight Sparkle warns the others that they're entering an avalanche zone and that the smallest noise could create a rock slide. Fluttershy, already on pins-and-needles, instantly panics and shouts "Avala—!" when she feels something touch her backside. She's immediately hushed as they wait for the echoes to stop. Then they sigh with relief. This triggers the rock slide.
- In a Jimmy Neutron TV movie, Jimmy and his buddies are spies, and one scene has them climbing Mount Everest. The following dialogue ensues:
Carl: (singing) We're spies! And it's really cold! I wish I had some hot chocolate!
Jimmy: Quiet, Carl! You could start an avalanche!
Sheen: (at the top of his lungs) AVALANCHE?!
(rumbling is heard)
Jimmy: ...Like that. - The Wild Thornberrys: One episode had Eliza's broken yodel be enough to cause a huge avalanche.
- On Jimmy Two-Shoes, Jimmy intentionally does this in order for him and Beezy to go snowboarding.
- In the first episode of Inspector Gadget, Gadget triggers a small avalanche while trying to sing along with the Mad Yodeler's sheet music.
- Dennis's dad on Dennis the Menace (US) calls out for him and gets a local's warning too late.
- Happens in Adventure Time. In "Death in Bloom", Finn warns Jake that they have to be quiet because the skeletons nearby will notice them if they make any noise. Immediately after he warns him about this, Jake lets out a large fart which causes a rock avalanche and gets him and Finn spotted. Jake's reasoning? "I thought it would be funny..."
- In the Rocko's Modern Life episode "Cabin Fever", Ed Bighead screams his frustration at having to share a mountain cabin with Rocko and Heffer for the weekend, causing the snowy slope nearby to bury the cabin and trap the group inside.
Ed: How can I rest when I have to spend my weekend with those two PINHEADS!?
- Brainy Smurf causes one at the beginning of The Smurfs episode "The Smurfs That Time Forgot".
- All Hail King Julien has Julien try to start a rockslide with a boom box, but when cranking the audio causes it to break, a blood-curdling scream does the trick instead.
- In the Rugrats episode "The Blizzard," when the babies imagine themselves traveling to the North Pole, an avalanche is triggered at one point by a hiccup from Phil.


Dr. Kiyomi Shirakawa
Deputy Director
National Statistics Centre
Prof. Hiroe Tsubaki
Director-General
The Institute of Statistical Mathematics, Tokyo
Prof. Nobuko Nagase
Professor
Ochanomizu University
Minoru Yagishita
Researcher
Tokyo Metropolitan University


{% extends 'application.html' %} {% block body %} Emanuel Back-End Lead Emanuel is a Senior at San Francisco State University. His hobbies include making music, gaming, and learning about how things work<EMAIL_ADDRESS>{% endblock %}
Emanuel is a Senior at San Francisco State University. His hobbies include making music, gaming, and learning about how things work.
Emanuel@sfsulist.com


Komodo's Infographic Contest A grand prize of 5,000 KMD. Two runner-up prizes of 500 KMD each. Two third-place prizes of 250 KMD each. Win KMD by sharing the contest Five prizes of 100 KMD will be chosen at random. There are 10 ways to enter below. Increase your chances of wi...


--- title: Designing algorithms for Map Reduce layout: post ---
Since the emerging of Hadoop implementation, I have been trying to morph existing algorithms from various areas into the map/reduce model. The result is pretty encouraging and I've found Map/Reduce is applicable in a wide spectrum of application scenarios.
So I want to write down my findings but then found the scope is too broad and also I haven't spent enough time to explore different problem domains. Finally, I realize that there is no way for me to completely cover what Map/Reduce can do in all areas, so I just dump out what I know at this moment over the long weekend when I have an extra day.


Friend Finder
Answer a few simple questions to find a friend with the greatest compatibility!
Let's Go!
Friends API
|
GitHub


.NET Gadgeteer Modules
This page lists all .NET Gadgeteer modules and how they can be used with TinyCLR OS. If you are planning on using the old NETMF/Gadgeteer software, which we discourage, then read the .NET Gadgeteer Intro page.
Tip
You can use Intellisense with the pin definition class to quickly determine where things go.
For example: Typing FEZSpider.GpioPin.Socket4.
lists the available GPIO pins on socket 4
Another example: Typing FEZSpider.UartPort.
lists all available UART sockets (that is "U" in the old Gadgeteer standard)
Tip
We will be using the original, and most popular, FEZ Spider as a base for this page but any other mainboard will work very similarly.
Accel G248
The Accel G248 measures acceleration though I2C bus. Use the original Gadgteer driver as a reference.
Barometer
Measures pressure. Use the original Gadgteer driver as a reference.
Bluetooth
Use the original Gadgteer driver as a reference.
Breadboard X1
An easy breadboard option. Simply access the socket directly to wire whatever your heart desires!
Breakout
Simply a breakout of all signals.
Breakout TB10
Simply a breakout of all signals, on a terminal block.
Button
The Button module is very simple, with a button connected to pin 3 and an LED connected to pin4.
This example will blink the LED at different rates, depending on the button press.
using System.Threading;
using GHIElectronics.TinyCLR.Devices.Gpio;
using GHIElectronics.TinyCLR.Pins;
class Program {
static void Main() {
var LED = GpioController.GetDefault().OpenPin(FEZSpider.GpioPin.Socket4.Pin4);
LED.SetDriveMode(GpioPinDriveMode.Output);
var Button = GpioController.GetDefault().OpenPin(FEZSpider.GpioPin.Socket4.Pin3);
Button.SetDriveMode(GpioPinDriveMode.InputPullUp);
var speed = 200;
while (true) {
if (Button.Read() == GpioPinValue.High)
speed = 200;// high = button is not pressed
else
speed = 500;// low = button is pressed
// blink the LED
LED.Write(GpioPinValue.High);
Thread.Sleep(speed);
LED.Write(GpioPinValue.Low);
Thread.Sleep(speed);
}
}
}
Button S7
7 buttons on a single module, with LEDs that light up with button presses!
Use the same code example provided for the Button Module.
Buttons map:
- Left: Pin
- Right: Pin 8
- Up: Pin 6
- Down: Pin 7
- Enter: Pin 3
- Back: Pin 4
Forward: Pin 9
CAN DW
CAN is not yet supported in TinyCLR OS, you can add it if you are up for a challenge!
Camera
USB Host is not supported in TinyCLR OS
Cellular Radio
Use the original Gadgteer driver as a reference.
Character Display
This is a standard and very common HD44780 display.
Use the original Gadgteer driver as a reference.
ColorSense
A color sensor that uses software I2C, not yet supported in TinyCLR OS.
Use the original Gadgteer driver as a reference.
Compass
Use the original Gadgteer driver as a reference.
Current ACS712
This is a current sensor that uses ACS712, which simply outputs an analog voltage.
Use the original Gadgteer driver as a reference.
Display CP7
Read more about the display support on TinyCLR OS. The configurations for the display:
// these are the wrong values!
Width = 800,
Height = 480,
PixelClockRate = 24 * 1000 * 1000,
PixelPolarity = false,
OutputEnablePolarity = true,
OutputEnableIsFixed = true,
HorizontalFrontPorch = 16,
HorizontalBackPorch = 46,
HorizontalSyncPulseWidth = 1,
HorizontalSyncPolarity = true,
VerticalFrontPorch = 7,
VerticalBackPorch = 23,
VerticalSyncPulseWidth = 1,
VerticalSyncPolarity = true,
Display N18
This is an SPI display that can work on any system with SPI bus, even small ones without TFT display support. See the Display tutorial for more details.
Display N7
Read more about the display support on TinyCLR OS. The configurations for the display:
Width = 800,
Height = 480,
PixelClockRate = 24 * 1000 * 1000,
PixelPolarity = false,
OutputEnablePolarity = true,
OutputEnableIsFixed = true,
HorizontalFrontPorch = 16,
HorizontalBackPorch = 46,
HorizontalSyncPulseWidth = 1,
HorizontalSyncPolarity = true,
VerticalFrontPorch = 7,
VerticalBackPorch = 23,
VerticalSyncPulseWidth = 1,
VerticalSyncPolarity = true,
Display NHVN
This allows the use of several displays offered by http://newhavendisplay.com/
Supported displays:
- NHD-4.3-480272EF-ATXL#
- NHD-4.3-480272EF-ATXL#-CTP
- NHD-4.3-480272EF-ATXL#-T
- NHD-7.0-800480EF-ATXL#
- NHD-7.0-800480EF-ATXL#-CTP
- NHD-7.0-800480EF-ATXV#
- NHD-7.0-800480EF-ATXV#-CTP
Read more about the display support on TinyCLR OS.
The configurations for all 4.3" display:
Width = 480,
Height = 272,
PixelClockRate = 20 * 1000 * 1000,
PixelPolarity = false,
OutputEnablePolarity = true,
OutputEnableIsFixed = false,
HorizontalFrontPorch = 2,
HorizontalBackPorch = 2,
HorizontalSyncPulseWidth = 41,
HorizontalSyncPolarity = false,
VerticalFrontPorch = 2,
VerticalBackPorch = 2,
VerticalSyncPulseWidth = 10,
VerticalSyncPolarity = false,
The configurations for all 7" display:
Width = 800,
Height = 480,
PixelClockRate = 20 * 1000 * 1000,
PixelPolarity = false,
OutputEnablePolarity = true,
OutputEnableIsFixed = false,
HorizontalFrontPorch = 88,
HorizontalBackPorch = 40,
HorizontalSyncPulseWidth = 48,
HorizontalSyncPolarity = false,
VerticalFrontPorch = 13,
VerticalBackPorch = 32,
VerticalSyncPulseWidth = 3,
VerticalSyncPolarity = false,
As for the capacitive touch controller, use this old NETMF driver code as a reference:
public class FT5306Controller {
private InterruptPort touchInterrupt;
private I2CDevice i2cBus;
private I2CDevice.I2CTransaction[] transactions;
private byte[] addressBuffer;
private byte[] touchDataBuffer;
private byte[] touchCountBuffer;
public delegate void TouchEventHandler(FT5306Controller sender, TouchEventArgs e);
public event TouchEventHandler TouchDown;
public event TouchEventHandler TouchUp;
public event TouchEventHandler TouchMove;
public FT5306Controller(Cpu.Pin interruptPin) {
this.transactions = new I2CDevice.I2CTransaction[2];
this.addressBuffer = new byte[1];
this.touchDataBuffer = new byte[4];
this.touchCountBuffer = new byte[1];
this.i2cBus = new I2CDevice(new I2CDevice.Configuration(0x38, 400));
this.touchInterrupt = new InterruptPort(interruptPin, false, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeBoth);
this.touchInterrupt.OnInterrupt += (a, b, c) => this.OnTouchEvent();
}
private void OnTouchEvent() {
var points = this.ReadData(2, this.touchCountBuffer)[0];
for (var i = 0; i < points; i++) {
var data = this.ReadData(i * 6 + 3, this.touchDataBuffer);
var flag = (data[0] & 0xC0) >> 6;
var x = ((data[0] & 0x0F) << 8) | data[1];
var y = ((data[2] & 0x0F) << 8) | data[3];
var handler = flag == 0 ? this.TouchDown : flag == 1 ? this.TouchUp : flag == 2 ? this.TouchMove : null;
if (handler != null)
handler(this, new TouchEventArgs { X = x, Y = y });
}
}
private byte[] ReadData(int address, byte[] resultBuffer) {
this.addressBuffer[0] = (byte)address;
this.transactions[0] = I2CDevice.CreateWriteTransaction(this.addressBuffer);
this.transactions[1] = I2CDevice.CreateReadTransaction(resultBuffer);
this.i2cBus.Execute(this.transactions, 500);
return resultBuffer;
}
public class TouchEventArgs : EventArgs {
public int X { get; internal set; }
public int Y { get; internal set; }
}
}
Display T35
Read more about the display support on TinyCLR OS. The configurations for the display:
Width = 320,
Height = 240,
PixelClockRate = 15 * 1000 * 1000,
PixelPolarity = false,
OutputEnablePolarity = true,
OutputEnableIsFixed = true,
HorizontalFrontPorch = 51,
HorizontalBackPorch = 27,
HorizontalSyncPulseWidth = 41,
HorizontalSyncPolarity = false,
VerticalFrontPorch = 16,
VerticalBackPorch = 8,
VerticalSyncPulseWidth = 10,
VerticalSyncPolarity = false,
Display T43
Read more about the display support on TinyCLR OS. The configurations for the display:
Width = 480,
Height = 272,
PixelClockRate = 20 * 1000 * 1000,
PixelPolarity = false,
OutputEnablePolarity = true,
OutputEnableIsFixed = false,
HorizontalFrontPorch = 2,
HorizontalBackPorch = 2,
HorizontalSyncPulseWidth = 41,
HorizontalSyncPolarity = false,
VerticalFrontPorch = 2,
VerticalBackPorch = 2,
VerticalSyncPulseWidth = 10,
VerticalSyncPolarity = false,
Display TE35
Read more about the display support on TinyCLR OS. The configurations for the display:
Width = 320,
Height = 240,
PixelClockRate = 15 * 1000 * 1000,
PixelPolarity = false,
OutputEnablePolarity = true,
OutputEnableIsFixed = true,
HorizontalFrontPorch = 51,
HorizontalBackPorch = 29,
HorizontalSyncPulseWidth = 41,
HorizontalSyncPolarity = false,
VerticalFrontPorch = 16,
VerticalBackPorch = 3,
VerticalSyncPulseWidth = 10,
VerticalSyncPolarity = false,
Distance US3
A very common ultrasonic sensor that works by sending a pulse on the trig Pin4 and measuring the response time on echo Pin3.
GpioPulseReaderWriter echolen = new GpioPulseReaderWriter(
GpioPulseReaderWriter.Mode.EchoDuration,
true, 10, FEZSpider.GpioPin.Socket4.Pin4,
true, FEZSpider.GpioPin.Socket4.Pin3);
long time = echolen.Read();
Ethernet ENC28
Requires an internal support in the TinyCLR OS port or a managed TCP/IP stack.
Ethernet J11D
Requires an internal support in the TinyCLR OS port or a managed TCP/IP stack.
Extender
No drivers are needed.
FEZtive
Use the original Gadgteer driver as a reference.
Flash
Use the original Gadgteer driver as a reference.
GPS
Use the original Gadgteer driver as a reference.
GasSense
This module can host several different air sensors, like Alcohol and CO2.
The sensor has an internal heater that needs to be enabled and then it is a simple analog read.
using System.Threading;
using System.Diagnostics;
using GHIElectronics.TinyCLR.Devices.Adc;
using GHIElectronics.TinyCLR.Devices.Gpio;
using GHIElectronics.TinyCLR.Pins;
class Program {
static void Main() {
var Enable = GpioController.GetDefault().OpenPin(FEZSpider.GpioPin.Socket10.Pin4);
Enable.SetDriveMode(GpioPinDriveMode.Output);
Enable.Write(GpioPinValue.High);// Enable the internal heater
var Ain = AdcController.GetDefault().OpenChannel(FEZSpider.AdcChannel.Socket10.Pin3);
while (true) {
Debug.WriteLine("Ain: " + Ain.ReadRatio());
Thread.Sleep(500);
}
}
}
Gyro
Use the original Gadgteer driver as a reference.
HD44780
See the Character Display Module
HubAP5
No hub support is currently planned.
IO60P16
This module provide 60 IOs and 16 PWM pins. Use the original Gadgteer driver as a reference.
IR Receiver
Use the original Gadgteer driver as a reference.
Joystick
The Joystick module has two analog inputs for X and Y position. Pressing the knob also works like a button.
using System.Threading;
using System.Diagnostics;
using GHIElectronics.TinyCLR.Devices.Adc;
using GHIElectronics.TinyCLR.Devices.Gpio;
using GHIElectronics.TinyCLR.Pins;
class Program {
static void Main() {
var AinX = AdcController.GetDefault().OpenChannel(FEZSpider.AdcChannel.Socket10.Pin4);
var AinY = AdcController.GetDefault().OpenChannel(FEZSpider.AdcChannel.Socket10.Pin5);
var Button = GpioController.GetDefault().OpenPin(FEZSpider.GpioPin.Socket10.Pin3);
Button.SetDriveMode(GpioPinDriveMode.InputPullUp);
while (true) {
Debug.WriteLine("PosX: " + AinX.ReadRatio() + "%"+ "PosY: " + AinY.ReadRatio() + "%");
if (Button.Read() == GpioPinValue.Low)
Debug.WriteLine("Pressed!");
Thread.Sleep(500);
}
}
}
Keypad KP16
Use the original Gadgteer driver as a reference.
LED 7C
An LED that can be set to one of 7 colors, 8 if you count off!
using System.Threading;
using System.Diagnostics;
using GHIElectronics.TinyCLR.Devices.Adc;
using GHIElectronics.TinyCLR.Devices.Gpio;
using GHIElectronics.TinyCLR.Pins;
class Program {
static void Main() {
var GPIO = GpioController.GetDefault();
var Red = GPIO.OpenPin(FEZSpider.GpioPin.Socket8.Pin4);
Red.SetDriveMode(GpioPinDriveMode.Output);
var Green = GPIO.OpenPin(FEZSpider.GpioPin.Socket8.Pin5);
Green.SetDriveMode(GpioPinDriveMode.Output);
var Blue = GPIO.OpenPin(FEZSpider.GpioPin.Socket8.Pin3);
Blue.SetDriveMode(GpioPinDriveMode.Output);
while (true) {
// Off
Red.Write(GpioPinValue.Low); Green.Write(GpioPinValue.Low); Blue.Write(GpioPinValue.Low);
Thread.Sleep(500);
// Red
Red.Write(GpioPinValue.High); Green.Write(GpioPinValue.Low); Blue.Write(GpioPinValue.Low);
Thread.Sleep(500);
// Green
Red.Write(GpioPinValue.Low); Green.Write(GpioPinValue.High); Blue.Write(GpioPinValue.Low);
Thread.Sleep(500);
// Blue
Red.Write(GpioPinValue.Low); Green.Write(GpioPinValue.Low); Blue.Write(GpioPinValue.High);
Thread.Sleep(500);
// White
Red.Write(GpioPinValue.High); Green.Write(GpioPinValue.High); Blue.Write(GpioPinValue.High);
Thread.Sleep(500);
// Yellow
Red.Write(GpioPinValue.High); Green.Write(GpioPinValue.High); Blue.Write(GpioPinValue.Low);
Thread.Sleep(500);
// Magenta
Red.Write(GpioPinValue.High); Green.Write(GpioPinValue.Low); Blue.Write(GpioPinValue.High);
Thread.Sleep(500);
// Cyan
Red.Write(GpioPinValue.Low); Green.Write(GpioPinValue.High); Blue.Write(GpioPinValue.High);
Thread.Sleep(500);
}
}
}
LED 7R
This is a ring of 6 LEDs and a 7th center LED. Reference the LED 7C module for using pins.
Center LED: pin 9 LEDs going clockwise starting from LEDs D1 to D6 on the board D1, D2, D3, D4, D5, D6 are pins 3 to 8 respectively.
LED Strip
A strip of 7 LEDs, connected to pins 3 through 9. Reference the LED 7C module for using pins.
Light Sense
Simply using analog on pin 3. Use the same code as the potentiometer.
Load
Each one of the 7 GPIO pins are connected to a transistor to handle a load, like a motor.
MaxO
Shift registers used to take serial SPI data and put on parallel pins, perfect for driving tons of LEDs. This video explains how this works
Use the original Gadgteer driver as a reference.
MicroSD Card
No file system support yet.
Moisture
This is a simple analog input measuring the direct resistance (moisture). An enable pin needs to be activated.
using System.Threading;
using System.Diagnostics;
using GHIElectronics.TinyCLR.Devices.Adc;
using GHIElectronics.TinyCLR.Devices.Gpio;
using GHIElectronics.TinyCLR.Pins;
class Program {
static void Main() {
var Enable = GpioController.GetDefault().OpenPin(FEZSpider.GpioPin.Socket10.Pin6);
Enable.SetDriveMode(GpioPinDriveMode.Output);
Enable.Write(GpioPinValue.High);// Enable
var Ain = AdcController.GetDefault().OpenChannel(FEZSpider.AdcChannel.Socket10.Pin3);
while (true) {
Debug.WriteLine("Ain: " + Ain.ReadRatio());
Thread.Sleep(500);
}
}
}
Motor Driver
The Motor Driver Module uses L298 H-bridge that can drive two motors up to 4A.
- Pin 6: Motor A Direction (GPIO)
- Pin 7: Motor A Speed (PWM)
- Pin 8: Motor B Direction (GPIO)
- Pin 9: Motor B Speed (PWM)
Tip
NETMF didn't handle PWM correctly. TinyCLR OS breaks PWM pins to individual channels. Read more about PWM.
This example will setup both motors and then will make motor A go very slow forward then very fast backward, in a loop.
using System.Threading;
using GHIElectronics.TinyCLR.Devices.Pwm;
using GHIElectronics.TinyCLR.Devices.Gpio;
using GHIElectronics.TinyCLR.Pins;
class Program {
static void Main() {
// Determine what PWM controller is used for specific pins, use the power of intellisense!
// start typing FEZSpider.PwmPin. to navigate the options
// Motor A
var MotorDirA = GpioController.GetDefault().OpenPin(FEZSpider.GpioPin.Socket8.Pin6);
MotorDirA.SetDriveMode(GpioPinDriveMode.Output);
var ControllerA = PwmController.FromId(FEZSpider.PwmPin.Controller1.Id);
ControllerA.SetDesiredFrequency(5000);
var MotorSpeedA = ControllerA.OpenPin(FEZSpider.PwmPin.Controller1.Socket8.Pin7);
// Motor B
var MotorDirB = GpioController.GetDefault().OpenPin(FEZSpider.GpioPin.Socket8.Pin8);
MotorDirB.SetDriveMode(GpioPinDriveMode.Output);
var ControllerB = PwmController.FromId(FEZSpider.PwmPin.Controller1.Id);
ControllerB.SetDesiredFrequency(5000);
var MotorSpeedB = ControllerB.OpenPin(FEZSpider.PwmPin.Controller1.Socket8.Pin9);
while (true) {
MotorDirA.Write(GpioPinValue.High);// Forward
MotorSpeedA.SetActiveDutyCyclePercentage(0.1);// slow 10%
Thread.Sleep(500);
MotorDirA.Write(GpioPinValue.Low);// Backwards
MotorSpeedA.SetActiveDutyCyclePercentage(0.9);// fast 90%
Thread.Sleep(500);
}
}
}
Multicolor LED
A DaisyLink module, we will not support.
Music
The Music Module uses the popular VS1053 decoder chip that decodes MP3, WMA, OGG, MIDI and WAV files. Use the original Gadgteer driver as a reference.
Null Modem
No driver is needed.
OBD II
Use the original Gadgteer driver as a reference.
OneWire X1
A breakout with a terminal block for easily connecting OneWire devices, specifically the common temperature probes.
OneWire is not supported yet.
PIR
Motion detection. Simply pin 3 changes its state when it detects motion.
Parallel CNC
A DaisyLink module, we will not support.
Potentiometer
The Potentiometer module is simply a variable resistor connected to pin3. Rotating its knob will result in an analog value changing from min to max.
using System.Threading;
using System.Diagnostics;
using GHIElectronics.TinyCLR.Devices.Adc;
using GHIElectronics.TinyCLR.Pins;
class Program {
static void Main() {
var Ain = AdcController.GetDefault().OpenChannel(FEZSpider.AdcChannel.Socket10.Pin3);
while (true) {
Debug.WriteLine("Pos: " + Ain.ReadRatio() + "%");
Thread.Sleep(500);
}
}
}
Pulse Count
Use the original Gadgteer driver as a reference.
Pulse InOut
A DaisyLink module, we will not support.
Pulse Oximeter
Use the original Gadgteer driver as a reference.
RFID Reader
Use the original Gadgteer driver as a reference.
RS232
Simply a serial port.
RS485
Simply a serial port.
Radio FM1
Use the original Gadgteer driver as a reference.
Reflector R3
Use the original Gadgteer driver as a reference.
Relay ISOx16
An array of 16 relays. Operate similar to the MaxO module.
Use the original Gadgteer driver as a reference.
Relay X1
Simply set pin 3 high to activate the relay.
Rotary H1
Use the original Gadgteer driver as a reference.
SD Card
File system is not supported yet.
S-Plus
We will not support hubs.
Serial Camera
Use the original Gadgteer driver as a reference.
Stepper L6470
Use the original Gadgteer driver as a reference.
TempHumidity
Use the original Gadgteer driver as a reference.
Thermocouple
Use the original Gadgteer driver as a reference.
Touch C8
Use the original Gadgteer driver as a reference.
Touch L12
Use the original Gadgteer driver as a reference.
Tunes
The Tunes Module is a tiny speaker that is connected to pin 9. Use PWM to generate sounds
This example will keep changing the frequency.
using System.Threading;
using GHIElectronics.TinyCLR.Devices.Pwm;
using GHIElectronics.TinyCLR.Pins;
class Program {
static void Main() {
var controller = PwmController.FromId(FEZSpider.PwmPin.Controller0.Id);
var buzz = controller.OpenPin(FEZSpider.PwmPin.Controller0.Socket11.Pin9);
controller.SetDesiredFrequency(500);// change the frequency for sounds
buzz.SetActiveDutyCyclePercentage(0.5);// always use this for sounds
buzz.Start();
while (true) {
controller.SetDesiredFrequency(500);
Thread.Sleep(500);
controller.SetDesiredFrequency(200);
Thread.Sleep(500);
}
}
}
UC Battery 4xAA
No driver is needed.
USB Client DP
No driver is needed.
USB Client SP
No driver is needed.
USB Host
USB Host is not currently supported.
USB Serial
Simply, a serial port.
USB Serial SP
Simply, a serial port.
VideoOut
Use the original Gadgteer driver as a reference.
Wi-Fi RN171
Use the original Gadgteer driver as a reference.
Wi-Fi RS21
Will not be supported, NDA issues.
XBee Adapter
Simply, a serial port. From there a driver like https://xbee.codeplex.com/ will help.


Seven years ago at Hooting Yard, this…
People often wonder why a bird sanctuary was created at Bodger's Spinney, for it is a somewhat gloomy spot. The moving spirit behind this avian paradise on earth was one Merrill Stubing, a man who, incidentally, was later to share his name with a fictional character. Although they had nought else in common, this was the name of the captain of The Love Boat, an exciting television series of the 1970s, long after the real “Bird Man” Stubing was dead.
Besotted with birds, Stubing lit upon Bodger's Spinney as the perfect place for his planned sanctuary after accidentally wandering across it when he got lost on a Sunday morning jaunt with his colleagues from the Pastry Works. Hurling his considerable energy into the project, Stubing called for a meeting of interested parties, where he outlined his vision as follows:
And the streams thereof shall be turned into pitch, and the dust thereof into brimstone, and the land thereof shall become burning pitch. It shall not be quenched night nor day; the smoke thereof shall go up for ever; from generation to generation it shall lie waste; none shall pass through it for ever and ever. But the cormorant and the bittern shall possess it; the owl also and the raven shall dwell in it; and he shall stretch out upon it the line of confusion, and the stones of emptiness.
And that, children, is why there is a bird sanctuary at Bodger's Spinney.


Troubleshooting Pi is not receiving data with 2 arduino nodes
Submitted by amailtoaben on Mon, 26/01/2015 - 19:51
Hi There,
I got an odd thing just popped up with my setup:
one Pi/Emonhub as the gateway, with two EmonTx V3. I've modified one of these 2 EmonTxV3s to to use nodeID 9, and left the other one as 10. When I initially started them up, they are all working just fine as I can see the PI was receiving data from both nodes every 10 - 11s, however, after 3 days, all the sudden I noticed that I got significant less value from node 10 compare to 9. after that, I checked the log in Pi and it was indeed the case.
Now my questions is, they both worked fine initially therefore I don't really think two nodes are interfere each other. and cause any package loss. My next thought is, at this moment, only node 9 works normally, but 10 is sending less data leads me to think that there are some issue with the Node 10 emonTx box. I plugged in my computer to monitor the serial output from the node 10 emonTx box and it looks like I am getting serial output everything 10-11s. That's why I am starting to suspect that the RF module got some issue, even though, the serial output shows, the sketch just works as expected.
Any thoughts on this issue and how can I troubleshoot further?
Troubleshooting Pi is not receiving data with 2 arduino nodes
Submitted by amailtoaben on Mon, 26/01/2015 - 19:51Hi There,
I got an odd thing just popped up with my setup:
one Pi/Emonhub as the gateway, with two EmonTx V3. I've modified one of these 2 EmonTxV3s to to use nodeID 9, and left the other one as 10. When I initially started them up, they are all working just fine as I can see the PI was receiving data from both nodes every 10 - 11s, however, after 3 days, all the sudden I noticed that I got significant less value from node 10 compare to 9. after that, I checked the log in Pi and it was indeed the case.
Now my questions is, they both worked fine initially therefore I don't really think two nodes are interfere each other. and cause any package loss. My next thought is, at this moment, only node 9 works normally, but 10 is sending less data leads me to think that there are some issue with the Node 10 emonTx box. I plugged in my computer to monitor the serial output from the node 10 emonTx box and it looks like I am getting serial output everything 10-11s. That's why I am starting to suspect that the RF module got some issue, even though, the serial output shows, the sketch just works as expected.
Any thoughts on this issue and how can I troubleshoot further?
Best,
Ben


Engineering solutions for technical challenges since 2009. I discovered my love for coding during my time as an IT Systems Engineer, when it became clear that the more creative and architectural aspects of technology were the strengths I wanted to develop the most. Taking ideas and turning them into functional, elegant applications is my mission. When I am not coding, I can be found carving the canyons on my motorcycle, hiking in the mountains, or adventuring in State and National Parks.
Let's Chat! If you like my work and would like to contact me, don't hesitate to do so.
Get in touch with me through email!
<EMAIL_ADDRESS>Take a look at my resume!
Resume


Museum exhibit marks 100 years of women cartoon artists
COLUMBUS, Ohio — A new exhibit at the world’s largest cartoon museum honours the contribution of women comic strip and cartoon artists.
by Canadian PressCOLUMBUS, Ohio — A new exhibit at the world’s largest cartoon museum honours the contribution of women comic strip and cartoon artists.
The exhibit that opened this month and runs until May 2020 includes works from early suffragette cartoonists and top comic strip page and mainstream comic book artists.
The display at Ohio State University’s Billy Ireland Cartoon Library & Museum also includes works by communities of self-published minicomics creators and art from graphic novels and anthologies.
Contemporary artists with work featured in the display include Alison Bechdel, author of the graphic novel “Fun Home”; Lynn Johnston, creator of the “For Better or For Worse” comic strip; and Lynda Barry, author of the weekly strip “Ernie Pook's Comeek.”
The Associated Press


{% extends "layout.html" %}
{% import 'macros.html' as macros %}
{% block body %}
Get Credential
To get credentials login is required
{% call macros.render_form(form, action_url=url_for('get_credential'), action_text='Submit', class_='login-form') %}
{{macros.render_field(form.email)}}
{{macros.render_field(form.password)}}
Choose the keys to add in the credential:
Please avoid including keys that can uniquely identify you to the IdP.
{{macros.render_checkbox_field(form.keys)}}
{% endcall %}


[gecode-users] On IntVar limits
Alberto Delgado
trosky99 at gmail.com
Wed Nov 30 13:17:34 CET 2011
Dear all,
I was wondering if it's possible to compile gecode in 64bit such that
the domain limit of an intvar variable become that of a long long int
rather than a long int. The thing is that I have this problem where
the objective overflows time to time, and I wanted to try increasing
the domain limits before I scale down the values and lose some
precision.
Thanks in advance,
Alberto
More information about the users
mailing list


My name is Shishir Mishra. I am from India. I am a Network Software Engineer at Apple. Here, I am going to tell you little bit about my background, interests, achievements and my goals.
Background
I was born in a small town in northern India. I earned my Bachelor's degree in Computer Applications in 2009. After graduating, I started working in one of the major IT consulting firms in India called TCS. I came to the US in 2014 and started working for Apple in San Francisco Bay Area.
Interests
I have a lot of hobbies or I can say I am a passionate person for lot of things mostly Photography, organic farming, camping etc. Check out my portfolio to see my work./p>
Goals
Would like to own a tech startup which will enable farmers worldwide to earn a better ivelihood and promote sustainable development.
Last updated 3 months ago


Welcome to My Blog
Conversations with the Ghost in the Machine Is a blog that i started as part of my learning path in Dev Bootcamp. In it you will find articles about web development and the insights that i gain during this weeks of deep learning. i try not to go to deep into techinical descriptios about technologies, but more about their potential and holistic use.
Lets talk about Classes:
So by definition when we are coding we are trying to talk with the computer and explain to it how does our world works. So we need a way to describe as literal as we can the way things are order and classified in our real world to our dumber but quicker silicon friends.
Ruby lets us do that by using the very important Class object. Thing of it like when you where in biology class (the kind of class you had in school), i would guess that your teacher try to explain to you how taxonomy works and how its proposed its to classified the beings that exist in the planet. It does this by starting with the highest level of groups that some beings can be classified and then starts to go down level by level each time disaggregating more each integrant of a group until you get to the most unique being you can have. Quick example:
Ruby classes work in the same way you start with the mother of all the almighty Object class and then start going down form there until you have the most basic objects themselves. Ruby also lets you create your own classes so that you can mimic the real world and explain it to your computer. Example of this:
class Airplanes
def initialize(model, manufacturer)
@model = model
@manufacturer = manufacturer
end
def description
puts "This is a #{model} manufacture by #{manufacturer}"
end
end
A330 = Airplanes.new("A330","Airbus")
In the example above I create the class Airplanes witch groups all airplanes that exist in my universe, it also stores so information about each instance of airplanes( An instance of airplane it’s a fancier ay to say a member or integrant of the class). I also gave my class the power to describe each one of its instances with the instance method (description). So now my computer know that airplanes is a class that stores all airplanes that exist in our program, it also knows the description of each member of airplanes and can give me back that information when I need it, thank you computer you are so kind. And look we also created our first instance of airplanes, the wonderful A330.
Home


Jordan Health Sites
This dataset shows the list of operating health facilities in Jordan. The data set was compiled by the Global Healthsites Mapping Project and uploaded in March of 2018. More information about the data set can be found at https://data.humdata.org/dataset/jordan-healthsites.


fun height(): Int
Calculates the height of the tree (from this node to the leaf node with greatest depth).
N.B. this is based on the children of this node and subsequent nodes, so the height valuewill be affected if the tree has been trimmed (see trimAndCountTree).
Return
the height of the tree


"The third type of hearing aid"Listening tools of the deaf
The science and technology of human anatomy, acoustics, mathematics, electronics, etc
Similar human ear hearing effect No side effectHigh resolutionThe science and technology of human anatomy, acoustics, mathematics, electronics, etc
Similar human ear hearing effect No side effectHigh resolutionApplicable only to persons with residual hearing.
The hearing aid only ACTS as a magnifying sound and still requires the use of residual hearing.
The loss of hearing ability is caused by an inflammation of the ear canal 。
The sound of the speaker comes from the microphone, which is transmitted into the microphone, which produces high frequency noise, called self-excitation, which seriously affects the auditory effect.
Not to increase the filter channel, the hearing effect is very limited.
Any deafness can be used.
It has nothing to do with the body's original hearing system, which USES the sensory nerve of the body's arm.
It does not affect the original hearing, no side effects.
Because there is no speaker, there is no self-excitation phenomenon, and the sound signal is pure.
With the development and improvement of electronic technology, the sound effect can be improved and the future will be great.
Any deafness can be used.
The arm is worn, can be disassembled at any time, no surgical operation, no risk, the hearing effect is immediate.
It is not related to the human body's original auditory nerve, which USES the body's sensory nerve to transmit sound signals.
The price is low, about 5,000 yuan per unit, and it is powered by rechargeable batteries, charging 1 times a day.
The process is simple, not damaging the body's original hearing system, and can be used with hearing AIDS and electronic cochlear, without any risk.
With the addition of more filtering channels to the electronic technology, the sound effects can be improved and the future is far ahead.
For deaf people who are normal auditory neurologic.
Complex surgical procedures, requiring wound healing time, do not work immediately.
Need body's original auditory nerve.
Expensive
The installation process destroys the body's original hearing system and has technical risks.
There is no way to increase the filter channel.
Invention patent: transformer skin listening device (The audio boost is the main technical basis ).
A single electrode is attached to the earlobe.
1 channel, can feel all kinds of sound, can distinguish the environment sound.
No automatic volume control.
There is no fitting sense curve.
Invention patent: Multi-channel array skin listening device (The main technical basis of multichannel audio filtering and array electricity ).
The arm array electrode is more comfortable.
12 frequency channel filtering, the ability to distinguish frequency, can distinguish speech.
Automatic volume control, which makes the volume of the receiver wider.
The fitting sensation curve makes all these factors improve at the same time.


Toolkits > com.ibm.streamsx.network 3.0.0 > com.ibm.streamsx.network.location > IPAddressLocation
IPAddressLocation is an operator for the IBM InfoSphere Streams product that finds the geographical location of IP addresses received in input tuples, based on the subnets they are part of, and emits output tuples containing the country, state or province, city, latitude, and longitude of the subnets. The operator may be configured with one or more output ports, and each port may be configured to emit different tuples, as specified by output filters.
The IPAddressLocation operator consumes input tuples containing IP version 4 and 6 addresses, selects messages to emit as output tuples with filter expressions, and assigns values to them with output attribute assignment expressions. Output filters and attribute assignments are SPL expressions. They may use any of the built-in SPL functions, and any of these functions, which are specific to the IPAddressLocation operator:
The IPAddressLocation operator emits a tuple on each output port for each input tuple, optionally filtered by the 'outputFilters' parameter. Geographical location data is assigned to output attributes with the location result functions, based on the IP addresses specified with the functions. All attributes of all output ports must be assigned values, either with explicit assignment expressions, or implicitly by copy from input tuples.
This operator is part of the network toolkit. To use it in an application, include this statement in the SPL source file:
use com.ibm.streamsx.network.location::*;
The IPAddressLocation operator depends upon geographical location data provided by Maxmind, Inc.:
GeoIP2 data, which is more accurate, may be purchased from https://www.maxmind.com/en/geoip2-city/
The required parameter geographyDiectory parameter must point to a directory containing geography files, after downloading and unpacking.
For GeoLite2 data, the geography files are:
GeoLite2-City-Locations-en.csv GeoLite2-City-Blocks-IPv4.csv GeoLite2-City-Blocks-IPv6.csv
For GeoIP2 data, the geography files are:
GeoIP2-City-Locations-en.csv GeoIP2-City-Blocks-IPv4.csv GeoIP2-City-Blocks-IPv6.csv
The format of the geography files is described here:
The IPAddressLocation runs on the thread of the upstream operator that sends input tuples to it. It does not start any threads of its own.
The IPAddressLocation operator will throw an exception and terminate in these situations:
The outputFilters parameter is specified, and the number of expressions
The network toolkit includes several sample applications that illustrate how to use this operator.
The result functions that can be used in boolean expressions for the outputFilters parameter and in output attribute assignment expressions are described here:
The format of the GeoIP2 and GeoLite2 CSV files provided by Maxmind, Inc. is described here:
Required: geographyDirectory
Optional: outputFilters
The IPAddressLocation operator requires one input port. One or more input attributes must be of type uint32 or list<uint8>[16] containing IP version 4 or 6 addresses, respectively. These attributes are specified as arguments to the location result functions.
The IPAddressLocation operator requires one or more output ports.
Each output port will produce one output tuple for each input tuple if the corresponding expression in the outputFilters parameter evaluates true, or if no outputFilters parameter is specified.
Output attributes can be assigned values with any SPL expression that evaluates to the proper type, and the expressions may include any of the location result functions. Output attributes that match input attributes in name and type are copied automatically.
Required: geographyDirectory
Optional: outputFilters
This required parameter specifies a directory containing GeoIP2 or GeoLite2 files downloaded from MaxMind, Inc.
This optional parameter takes a list of SPL expressions that specify which input tuples should be emitted by the corresponding output port. The number of expressions in the list must match the number of output ports, and each expression must evaluate to a boolean value. The output filter expressions may include any of the location result functions.
The default value of the outputFilters parameter is an empty list, which causes each input tuple to be emitted by all output ports.


INFO
Section: File Formats (5)Updated: GNU Info
Index Return to Main Contents
NAME
info - readable online documentationDESCRIPTION
The Info file format is an easily-parsable representation for online documents. It can be read by emacs(1) and info(1) among other programs.Info files are usually created from texinfo(5) sources by makeinfo(1), but can be created from scratch if so desired.
For a full description of the Texinfo language and associated tools, please see the Texinfo manual (written in Texinfo itself). Most likely, running this command from your shell:
info texinfoor this key sequence from inside Emacs:
M-x info RET m texinfo RETwill get you there.
AVAILABILITY
ftp://ftp.gnu.org/pub/gnu/texinfo-<version>.tar.gzor any GNU mirror site.
REPORTING BUGS
Please send bug reports to<EMAIL_ADDRESS>general questions and discussion to<EMAIL_ADDRESS>ALSO
info(1), install-info(1), makeinfo(1), texi2dvi(1),texindex(1).
emacs(1), tex(1).
texinfo(5).
Index
This document was created by man2html, using the manual pages.
Time: 05:34:00 GMT, December 24, 2015


Indonesia police kill 2 suspects in militant crackdown
by The Associated PressMEDAN, Indonesia (AP) — Police say they have shot and killed two suspected militants who may have had links to a suicide attack at a busy police station in Indonesia’s third-largest city.
North Sumatra police chief Agus Andrianto says three suspected militants refused to surrender and resisted by firing guns at members of a police counterterrorism squad in a raid Saturday in North Sumatra province’s Hamparan Perak village.
He says two suspects were fatally shot, while an officer was taken to the hospital with a gunshot wound to his thigh.
Police are still searching the third suspect, who escaped during the shootout.
Police were tipped off to the suspected militants after interrogations of suspects arrested after Wednesday’s suicide bomb attack on a police station in Medan that wounded at least six people.
The Associated Press


So we have SputLink, which takes a set of nodes (events and times) and a queue of tlinks. It builds a graph from all the nodes and adds the tlinks to the graph one by one as constraints between nodes and after each added link/constraint runs closure (aka Allen's constraint propagation). Sometimes a link can not be added because it is consistent with an existing link in the graph. When a link can be added then closure will not generate inconsistencies. When SputLink terminates you can get all the links from your graph. You may filter them by not getting the links with disjunctions of TimeML relations and/or by not getting relations added by closure. In any case, we have this:
+-------+ +----------+ +-------+ | Links | ==> | SputLink | ==> | Links | +-------+ +----------+ +-------+Or in short
Li => SPUTLINK => Lj
Here Li and Lj are sets of links. Note that we let Li stand for the links and the nodes they link.
Now you can play with the input without touching SputLink it self at all, for example by ordering the set of incoming links:
Li => ORDER_LINKS => Lj => SPUTLINK => Lk
This is basically what the LinkMerger module does. It takes the links, orders them and then feeds them into SputLink. The ordering function takes two things into account: (1) what component created the links and (2) if two links were generated by the classifier, what was the score the classifier gave the relation.
When we are dealing with equivalence classes (events linked by equality/simultaneous links), then we can do the following:
Li => COLLAPSE_NODES => Lj => SPUTLINK => Lk
Collapsing nodes means that when you have two nodes with an equality link
[Node_i equal Node_j]
you can remove Node_j and replace Node_j in all links that have it with Node_i.
For example, if we have
[Node_i] [Node_j] [Node_k] [Node_i equal Node_j] [Node_j before Node_k]
you end up with
[Node_i] [Node_k] [Node_i before Node_k]
This is what is being fed into SputLink. Of course, you need to do some bookkeeping and remember that there Node_i is actually a composite of Node_i and Node_j (event coreference!).
Finally, we can also use reference intervals by splitting your set of links Li into various sets and feed each of those into SputLink:
Li => SPLIT_NODES |=> Li1 => SPUTLINK => Lj1 |=> ASSEMBLE => Lj |=> Li2 => SPUTLINK => Lj2 | |=> Li3 => SPUTLINK => Lj3 | |=> Li4 => SPUTLINK => Lj4 | |=> Li5 => SPUTLINK => L5j |
So in essence you split the graph into many smaller graphs and feed them each into SputLink, then assemble the results. Note that graphs may overlap in that not each node has to occur in one graph only. This could use an illustrative picture. Assume we have the following TimeML annotation:
That is, we have three events e1, e2 and e3, with e1<e2 and e2<e3. In addition, each event includes a couple of other events (depicted by those events being included in the box. The events that include the other events are said to be reference intervals for the included events. The included events may have links amongst each other, but those are not pictured here. We can now chop the graph into four bits containing the events listed below as well as the links between those events:
We then evoke SputLink four times, once on each subgraph. Assembly could simply be just collecting all events and links. One link that would be added is e1<e3 (when SputLink runs on the first subgraph). However, e4<e8 will not be derived even though running SputLink on the entire graph would derive that link. We would however be able to get the relation because we can get it through the reference intervals.


< Home
Here is a list of my podcast episodes:
Security for gophers
Concurrency, parallelism, and async design
Black Hat Go
Modern software is terrible, with Damian (Kele) Bogel and Jack
Füźžįñg
Community Q&A
[ITALIAN] GOto Google - Pointerpodcast


Hi! I'm Marlene.
I grew up in Georgia, but moved to Seattle in 2016. I spend my free time reading, hiking, biking, and walking in the park. I also like to visit local craft breweries with my husband. I love dogs, but don't have one right now.
Education
I'm a student at Code Fellows.
I also have these degrees:
- Emory University, BBA with a concentration in Marketing
- Georgia State University, MBA in Accounting
Job Experience
I've had quite a few different jobs over the years. They include:
- Retail management
- Accounting
- QA testing
- QA automation testing
- Technical writing
- Instructional design
Goals
My goal is to become a software developer. I'm just getting started, but my plan is to learn JavaScript and do front-end development.
Top 10 List
I love Jelly Belly© jelly beans. They're the best!
Here's a list of my top 10 flavors. Hover over each one and see what happens.
- Cantaloupe
- Very Cherry
- Juicy Pear
- Sizzling Cinnamon
- Sunkist© Tangerine
- Green Apple
- Blueberry
- Watermelon
- Top Banana


| ChicagoO3 |
Data set of ozone measurements at 20 Chicago monitoring stations. |
| CO.elev |
Monthly surface meterology for Colorado 1895-1997 |
| CO.elevGrid |
Monthly surface meterology for Colorado 1895-1997 |
| CO.Grid |
Monthly surface meterology for Colorado 1895-1997 |
| CO.id |
Monthly surface meterology for Colorado 1895-1997 |
| CO.loc |
Monthly surface meterology for Colorado 1895-1997 |
| CO.names |
Monthly surface meterology for Colorado 1895-1997 |
| CO.ppt |
Monthly surface meterology for Colorado 1895-1997 |
| CO.ppt.MAM |
Monthly surface meterology for Colorado 1895-1997 |
| CO.ppt.MAM.climate |
Monthly surface meterology for Colorado 1895-1997 |
| CO.tmax |
Monthly surface meterology for Colorado 1895-1997 |
| CO.tmax.MAM |
Monthly surface meterology for Colorado 1895-1997 |
| CO.tmax.MAM.climate |
Monthly surface meterology for Colorado 1895-1997 |
| CO.tmean.MAM.climate |
Monthly surface meterology for Colorado 1895-1997 |
| CO.tmin |
Monthly surface meterology for Colorado 1895-1997 |
| CO.tmin.MAM |
Monthly surface meterology for Colorado 1895-1997 |
| CO.tmin.MAM.climate |
Monthly surface meterology for Colorado 1895-1997 |
| CO.years |
Monthly surface meterology for Colorado 1895-1997 |
| CO2 |
Simulated global CO2 observations |
| CO2.true |
Simulated global CO2 observations |
| coef.Krig |
Kriging surface estimate |
| color.scale |
Some useful color tables for images and tools to handle them. |
| colorbar.plot |
Adds color scale strips to an existing plot. |
| COmonthlyMet |
Monthly surface meterology for Colorado 1895-1997 |
| compactToMat |
Convert Matrix from Compact Vector to Standard Form |
| compactToMatC |
Information objects that register C and FORTRAN functions. |
| cover.design |
Computes Space-Filling "Coverage" designs using Swapping Algorithm |
| crop.image |
Some simple functions for subsetting images |
| crossCoVGram |
Traditional or robust variogram methods for spatial data |
| cubic.cov |
Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances. |
| envelopePlot |
Add a shaded the region between two functions to an existing plot |
| Exp.cov |
Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances. |
| Exp.image.cov |
Exponential, Matern and general covariance functions for 2-d gridded locations. |
| Exp.simple.cov |
Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances. |
| Exponential |
Covariance functions |
| ExponentialUpper |
Evaluate covariance over upper triangle of distance matrix |
| ExponentialUpperC |
Information objects that register C and FORTRAN functions. |
| fastTps |
Thin plate spline regression |
| fastTps.MLE |
Maximizes likelihood for the process marginal variance (rho) and nugget standard deviation (sigma) parameters (e.g. lambda) over a many covariance models or covariance parameter values. |
| fastTpsMLE |
Maximizes likelihood for the process marginal variance (rho) and nugget standard deviation (sigma) parameters (e.g. lambda) over a many covariance models or covariance parameter values. |
| fields |
fields - tools for spatial data |
| fields.color.picker |
fields - graphics hints |
| fields.convert.grid |
Some simple functions for working with gridded data and the grid format (grid.list) used in fields. |
| fields.D |
Wendland family of covariance functions and supporting numerical functions |
| fields.derivative.poly |
Fields supporting functions |
| fields.diagonalize |
Fields supporting functions |
| fields.diagonalize2 |
Fields supporting functions |
| fields.duplicated.matrix |
Fields supporting functions |
| fields.evlpoly |
Fields supporting functions |
| fields.evlpoly2 |
Fields supporting functions |
| fields.hints |
fields - graphics hints |
| fields.mkpoly |
Fields supporting functions |
| fields.pochdown |
Wendland family of covariance functions and supporting numerical functions |
| fields.pochup |
Wendland family of covariance functions and supporting numerical functions |
| fields.rdist.near |
Euclidean distance matrix or vector |
| fields.style |
fields - graphics hints |
| fields.tests |
Testing fields functions |
| fields.x.to.grid |
Some simple functions for working with gridded data and the grid format (grid.list) used in fields. |
| fieldsPlotColors |
Some useful color tables for images and tools to handle them. |
| fitted.Krig |
Kriging surface estimate |
| flame |
Response surface experiment ionizing a reagent |
| Krig |
Kriging surface estimate |
| Krig.Amatrix |
Smoother (or "hat") matrix relating predicted values to the dependent (Y) values. |
| Krig.check.xY |
Basic linear algebra utilities and other computations supporting the Krig function. |
| Krig.coef |
Basic linear algebra utilities and other computations supporting the Krig function. |
| Krig.cor.Y |
Basic linear algebra utilities and other computations supporting the Krig function. |
| Krig.engine.default |
Basic linear algebra utilities and other computations supporting the Krig function. |
| Krig.engine.fixed |
Basic linear algebra utilities and other computations supporting the Krig function. |
| Krig.engine.knots |
Basic linear algebra utilities and other computations supporting the Krig function. |
| Krig.make.u |
Basic linear algebra utilities and other computations supporting the Krig function. |
| Krig.make.W |
Basic linear algebra utilities and other computations supporting the Krig function. |
| Krig.make.Wi |
Basic linear algebra utilities and other computations supporting the Krig function. |
| Krig.null.function |
Default function to create fixed matrix part of spatial process model. |
| Krig.replicates |
Collapse repeated spatial locations into unique locations |
| Krig.transform.xY |
Basic linear algebra utilities and other computations supporting the Krig function. |
| make.surface.grid |
Some simple functions for working with gridded data and the grid format (grid.list) used in fields. |
| Matern |
Covariance functions |
| Matern.cor.to.range |
Covariance functions |
| matern.image.cov |
Exponential, Matern and general covariance functions for 2-d gridded locations. |
| MaternGLS.test |
Maximum Likelihood estimates for some Matern covariance parameters. |
| MaternGLSProfile.test |
Maximum Likelihood estimates for some Matern covariance parameters. |
| MaternQR.test |
Maximum Likelihood estimates for some Matern covariance parameters. |
| MaternQRProfile.test |
Maximum Likelihood estimates for some Matern covariance parameters. |
| minitri |
Mini triathlon results |
| mKrig |
"micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function. |
| mKrig.coef |
"micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function. |
| mKrig.grid |
Using MKrig for predicting on a grid. |
| mKrig.MLE |
Maximizes likelihood for the process marginal variance (rho) and nugget standard deviation (sigma) parameters (e.g. lambda) over a many covariance models or covariance parameter values. |
| mKrig.MLE.joint |
Maximizes likelihood for the process marginal variance (rho) and nugget standard deviation (sigma) parameters (e.g. lambda) over a many covariance models or covariance parameter values. |
| mKrig.trace |
"micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function. |
| mKrigCheckXY |
"micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function. |
| mKrigJointTemp.fn |
Maximizes likelihood for the process marginal variance (rho) and nugget standard deviation (sigma) parameters (e.g. lambda) over a many covariance models or covariance parameter values. |
| mKrigMLEGrid |
Maximizes likelihood for the process marginal variance (rho) and nugget standard deviation (sigma) parameters (e.g. lambda) over a many covariance models or covariance parameter values. |
| mKrigMLEJoint |
Maximizes likelihood for the process marginal variance (rho) and nugget standard deviation (sigma) parameters (e.g. lambda) over a many covariance models or covariance parameter values. |
| MLE.Matern |
Maximum Likelihood estimates for some Matern covariance parameters. |
| MLE.Matern.fast |
Maximum Likelihood estimates for some Matern covariance parameters. |
| MLE.objective.fn |
Maximum Likelihood estimates for some Matern covariance parameters. |
| MLESpatialProcess |
Estimates key covariance parameters for a spatial process. |
| mltdrb |
Information objects that register C and FORTRAN functions. |
| multebC |
Information objects that register C and FORTRAN functions. |
| multwendlandg |
Information objects that register C and FORTRAN functions. |
| parse.grid.list |
Some simple functions for working with gridded data and the grid format (grid.list) used in fields. |
| plot.Krig |
Diagnostic and summary plots of a Kriging, spatialProcess or spline object. |
| plot.spatialProcess |
Estimates a spatial process model. |
| plot.sreg |
Diagnostic and summary plots of a Kriging, spatialProcess or spline object. |
| plot.surface |
Plots a surface |
| plot.vgram |
Traditional or robust variogram methods for spatial data |
| plot.vgram.matrix |
Computes a variogram from an image |
| poly.image |
Image plot for cells that are irregular quadrilaterals. |
| poly.image.regrid |
Image plot for cells that are irregular quadrilaterals. |
| predict.fastTps |
Evaluation of Krig spatial process estimate. |
| predict.Krig |
Evaluation of Krig spatial process estimate. |
| predict.mKrig |
"micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function. |
| predict.sreg |
Cubic smoothing spline regression |
| predict.surface |
Evaluates a fitted function or the prediction error as a surface that is suitable for plotting with the image, persp, or contour functions. |
| predict.Tps |
Evaluation of Krig spatial process estimate. |
| predictDerivative.Krig |
Evaluation of Krig spatial process estimate. |
| predictSE |
Standard errors of predictions for Krig spatial process estimate |
| predictSE.Krig |
Standard errors of predictions for Krig spatial process estimate |
| predictSE.mKrig |
Standard errors of predictions for Krig spatial process estimate |
| predictSEUsingKrigA |
Standard errors of predictions for Krig spatial process estimate |
| predictSurface |
Evaluates a fitted function or the prediction error as a surface that is suitable for plotting with the image, persp, or contour functions. |
| predictSurface.default |
Evaluates a fitted function or the prediction error as a surface that is suitable for plotting with the image, persp, or contour functions. |
| predictSurface.fastTps |
Evaluates a fitted function or the prediction error as a surface that is suitable for plotting with the image, persp, or contour functions. |
| predictSurface.Krig |
Evaluates a fitted function or the prediction error as a surface that is suitable for plotting with the image, persp, or contour functions. |
| predictSurface.mKrig |
Evaluates a fitted function or the prediction error as a surface that is suitable for plotting with the image, persp, or contour functions. |
| predictSurfaceSE |
Evaluates a fitted function or the prediction error as a surface that is suitable for plotting with the image, persp, or contour functions. |
| predictSurfaceSE.default |
Evaluates a fitted function or the prediction error as a surface that is suitable for plotting with the image, persp, or contour functions. |
| print.Krig |
Print kriging fit results. |
| print.mKrig |
"micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function. |
| print.mKrigSummary |
"micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function. |
| print.spatialProcess |
Estimates a spatial process model. |
| print.spatialProcessSummary |
Estimates a spatial process model. |
| PRISMelevation |
Monthly total precipitation (mm) for August 1997 in the Rocky Mountain Region and some gridded 4km elevation data sets (m). |
| pushpin |
Adds a "push pin" to an existing 3-d plot |
| Rad.cov |
Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances. |
| Rad.image.cov |
Exponential, Matern and general covariance functions for 2-d gridded locations. |
| Rad.simple.cov |
Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances. |
| RadialBasis |
Covariance functions |
| rat.diet |
Experiment studying an appetite supressant in rats. |
| RCMexample |
3-hour precipitation fields from a regional climate model |
| rdist |
Euclidean distance matrix or vector |
| rdist.earth |
Great circle distance matrix or vector |
| rdist.earth.vec |
Great circle distance matrix or vector |
| rdist.vec |
Euclidean distance matrix or vector |
| RdistC |
Information objects that register C and FORTRAN functions. |
| RdistEarth |
Great circle distance matrix or vector |
| REML.test |
Maximum Likelihood estimates for some Matern covariance parameters. |
| resid.Krig |
Kriging surface estimate |
| ribbon.plot |
Adds to an existing plot, a ribbon of color, based on values from a color scale, along a sequence of line segments. |
| RMelevation |
Monthly total precipitation (mm) for August 1997 in the Rocky Mountain Region and some gridded 4km elevation data sets (m). |
| RMprecip |
Monthly total precipitation (mm) for August 1997 in the Rocky Mountain Region and some gridded 4km elevation data sets (m). |
| set.panel |
Specify a panel of plots |
| setup.image.smooth |
Kernel smoother for irregular 2-d data |
| sim.fastTps.approx |
Conditional simulation of a spatial process |
| sim.Krig |
Conditional simulation of a spatial process |
| sim.Krig.approx |
Conditional simulation of a spatial process |
| sim.mKrig.approx |
Conditional simulation of a spatial process |
| sim.rf |
Simulates a Stationary Gaussian random field |
| sim.spatialProcess |
Conditional simulation of a spatial process |
| smooth.2d |
Kernel smoother for irregular 2-d data |
| snow.colors |
Some useful color tables for images and tools to handle them. |
| spam2full |
Conversion of formats for sparse matrices |
| spam2spind |
Conversion of formats for sparse matrices |
| spatialProcess |
Estimates a spatial process model. |
| spind2full |
Conversion of formats for sparse matrices |
| spind2spam |
Conversion of formats for sparse matrices |
| splint |
Cubic spline interpolation |
| sreg |
Cubic smoothing spline regression |
| stationary.cov |
Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances. |
| stationary.image.cov |
Exponential, Matern and general covariance functions for 2-d gridded locations. |
| stationary.taper.cov |
Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances. |
| stats |
Calculate summary statistics |
| stats.bin |
Bins data and finds some summary statistics. |
| summary.Krig |
Summary for Krig or spatialProcess estimated models. |
| summary.mKrig |
"micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function. |
| summary.ncdf |
Summarizes a netCDF file handle |
| summary.spatialProcess |
Estimates a spatial process model. |
| supportsArg |
Tests if function supports a given argument |
| surface.Krig |
Plots a surface and contours |
| surface.mKrig |
Plots a surface and contours |
| Wendland |
Wendland family of covariance functions and supporting numerical functions |
| Wendland.beta |
Wendland family of covariance functions and supporting numerical functions |
| wendland.cov |
Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances. |
| wendland.eval |
Wendland family of covariance functions and supporting numerical functions |
| wendland.image.cov |
Exponential, Matern and general covariance functions for 2-d gridded locations. |
| Wendland2.2 |
Wendland family of covariance functions and supporting numerical functions |
| which.max.image |
Some simple functions for subsetting images |
| which.max.matrix |
Some simple functions for subsetting images |
| world |
Plot of the world |
| world.color |
Plot of the world |
| world.land |
Plot of the world |
| WorldBankCO2 |
Carbon emissions and demographic covariables by country for 1999. |


Reconstruction of reproductive number of circulating virus based on strains sampled in the Arabian Peninsula (A) Analysis based on a dataset that excludes the novel viruses contributed by the present study. (B) Analysis including full dataset. Solid lines are estimates, with Bayesian 95% confidence limits indicated by shaded areas. Full data on cohort are in the appendix (pp 7–9).


DirectoryBlock Class
Definition
Line
431
of
cmsxk/Block.cm
Inheritance
Constructors & Destructor
public
nothrow
DirectoryBlock
(
BlockManager
* manager_,
BlockCache
* cache_)
Member Functions
public
nothrow
DirectoryEntry
GetDirectoryEntry
(
int
index)
const
public
nothrow
void
SetDirectoryEntry
(
int
index,
const
DirectoryEntry
& entry)
Constructor& Destructor Details
DirectoryBlock Constructor
public
nothrow
DirectoryBlock(
BlockManager
* manager_,
BlockCache
* cache_)
Definition
Line
433
of
cmsxk/Block.cm
Member Function Details
GetDirectoryEntry Member Function
public
nothrow
DirectoryEntry
GetDirectoryEntry(
int
index)
Definition
Line
436
of
cmsxk/Block.cm
SetDirectoryEntry Member Function
public
nothrow
void
SetDirectoryEntry(
int
index,
const
DirectoryEntry
& entry)
Definition
Line
444
of
cmsxk/Block.cm


The bot itself was taking lines from a certain book and tweeting them. No real coding experience is required for this, and the initial setup was done in about 5 minutes. I was quite astonished to see the amount of impressions my twitter bot made over about a two week period:
If you are interested in hosting your own twitter bot, you can do it by following the next easy steps:
First create a twitter developer account
Go to apps.twitter.com to create an account and get your credentials needed to authenticate your twitter bot. Since I use a public GitHub page for version control, I saved my API credentials in a separate tokens.txt file which was added to the .gitignore. It is suggested you do something similar to prevent others from accessing your twitter credentials.
Then set-up your twitter bot.
Start by installing tweepy, the easiest method is using pip:
pip install tweepy
import tweepy
import os
from createMsg import Message
#import token from token.txt
token_file = os.path.join('../', "token.txt")
tokens = open(token_file,'r')
for line in tokens:
keys = line.split(';')
CONSUMER_KEY = keys[0]
CONSUMER_SECRET = keys[1]
ACCESS_TOKEN = keys[2]
ACCESS_TOKEN_SECRET = keys[3]
test123s
# Authenticate to Twitter
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_TOKEN, ACCESS_TOKEN_SECRET)
# Create API object
api = tweepy.API(auth)
# Create a tweet
api.update_status(message)
I ended up hosting the twitter bot in my DigitalOcean virtual machine for a week or two, and the resulting tweets were gaining around 450-500 impressions each. I’m certain the broad reach was caused by my use of hashtags which gained a fair amount of traction. The actual interaction with my user profile was quite low. I’m currently working on a smarter, more interactive version of this bot, which will hopefully gain a higher amount of real-user interaction with the tweets it made. Stay tuned for a new blog for the updated twitter bot coming soon!
Admittance rates weren't the same across departments.
Certain departments at UC Berkeley were harder to get admitted in. Taking this into account is of critical importance. The overall admittance rates decrease from (unnamed) departments A through F for both sexes. This is the first indication that the original data might have been misleading. However, this alone is not enough to explain the discrepancy between the two admittance rates. Let's take a look at the amount of male and female applicants per department.
From these departments, women apply more often to ones which are harder to get into.
As is seen in the visualization below, male applicants apply more often to the departments which are 'easier' to get in for both sexes. This is opposite for women, as they seem to apply to departments which are harder to get into. This is another indicator that the unsegregated data might tell another story than the aggregated data. One piece of the story, however, is still missing. What about the admittance rate per sex per department?
The differences in admittance rates between departments are very similar.
The difference is minimal. In fact: in certain cases, you can even see the admittance rates for women being higher than that of men. Combining these three numerical facts gives us a clear view of the actual reasoning behind the original discrepancy. Admittance rates are similar per department, or even significantly higher for women, but women don't apply to 'easier' the departments as often as men do. Below is an overview of the visualization.
So how do we arrive at the original discrepancy?
From this point it is simple to find the problem: multiply the amount of female applicants by their admittance rates per department and you get the numbers 44% and 35%. As we see, this is how we get to the original discrepancy in admittance rates between men and women.
In the end, this does not seem to have been a case of sex bias, but a case of something which is known as the Simpon's Paradox. The Simpson's Paradox is one of many statistical fallacies which we fall for in our daily lives. Berkeley wasn't sued, and there was no implicated sex bias for admittance rates. Why there was such a significant difference between the amount of applicants for the department is debatable, and a subject for a different story. The key thing to understand is that, sometimes, data and visualizations can create a story which does not align with reality. In these cases it is important to be a critical thinker, or to have access to a good statistician to do the thinking for you.
There are three kinds of lies: lies, damned lies, and statistics. - Mark Twain


Welcome to Twittler
What's on Your Mind?
Auto-Update list as new messages are posted
Change Theme
About
Sign In
Newest Twittles
Trending:
×


I am Kenneth Motau, from Jericho where I did my primary and secondary schooling. I have completed B.Sc. Degree at University of Limpopo (Medunsa Campus). I majored with Statistics and Computer Science. And I have completed Lean Six Sigma Black Belt with The Six Sigma Way institute in Texas (USA).
Since I finished the degree, I have been working as an individual contractor/ and freelancer focusing in multimedia, information technology, data analysing and training. I spend most of time in training and helping both lectures and students in their researches to analyse data.
I have been involved in multiple projects both nationally and internationally. The first interesting project is the development of learning material for Edcon Group. I developed data integrity manuals for different levels of retail managers. And the second one, I worked for six months in Asia, South Korea. I was assisting the research and development department of a language institute to upgrade some of the learning materials that were used to teach both juniors and adults an English language. I am at present involved with both companies and training providers. I am developing learning materials, facilitating and assessing learners. And I am also an associate consultant focusing on continuous improvements of business process in different sectors (e.g. Public Services, Mining and Manufacturing).
I am offering both training and consulting in most of the areas such as Safety, Health, Environmental, Quality, Risk, Finance, Marketing, Retails, Education, Mining, Construction, Manufacturing, Telecommunication, Science, Engineering and Technology. The main interests are as follows: To collect, process and analyse both qualitative and quantitative data; to work with scientists, engineers, technicians, educators, managers, etc. as team in education, innovations, researches and developments; to assist in problem solving and decision making; to give both mentorship and coaching leaders; to design, re-engineer, model, analyse processes in order to increase services/product yield and quality, lower costs, enhance plant safety and provide processes flexibility; to write programs that index information, analysing data, solve complex problems and display data when needed.
CHECK OUT MY SERVICESResearches Protocol Writing,Quetionnaires (Qualitative & Quantitative) and Data (Collection & Analysing).
Collecting, processing and analyzing data in different researches for companies, institutions etc.
Problem Solving & Decision Making, Lean Process Principles, Statistical Data Analysing and Business Process Management.
Quantify and minimize risk of both products and services of businesses etc.
082 535 2985


Block {{block.index}}
Date {{block.dateCreated | date: 'dd/MM/yyyy HH:mm:ss'}}
Mined by {{block.minedBy}}
Transactions {{block.transactions.length}}


Self Titled
Folk Rock
Solo project that
includes (Acoustic Guitar, Bass, Drums, Mandolin, Ebow,
Vocals)
Between Beach and Forest
Rockingbird
Lullabies
Lullaby Covers
A collection of
lullaby covers that I wrote after the birth of my son, to
help him sleep.
Float Here Forever
Stacking Tombstones
Rock/Punk
E.P created
with Nick Marko, featuring Stehpanie Johnson on the track
Planning To Matter.
Lost Inventors
Self Titled
Solo Piano
Solo piano in the key
of A minor inspired by the history of inventors and their
ecentric stories.
Float Here Forever
Tour The Ruins
Rock/Punk
Written with Nick
Marko, featuring Sam Easterbrook on Bass and Vocals.
Empire Bluff
Self Titled
Acoustic/Instrumental
tracks
inspired by Northern Michigan. lap steel is performed by
Dave Feeny. The track Windy Moraine also features Nick Marko
on drums.
Singer Soldier
Illusions of Stability
Alternative Country
Written by Nick Marko, I
played a variety of instruments, engineered and mixed the
album. I now actively play mandolin in live shows.
Lazer Pig
Self Titled
Dubstep
Handmade robot noises
over giant drums.
Potential Destroyers Of Humankind
Self Titled
Rap/HipHop Instrumentals
Rap and
Hip Hop instrumentals inspired by the beats of artits like
Aesop Rock, Danny Brown and Run The Jewels.
Float Here Forever
Inexhaustible
Rock/Punk
Written and recorded
by Myself, Nick Marko and Andrew Murray
Float Here Forever
The Owl
Rock/Punk
First Float Here Forever
album written and recorded by Myself and Nick Marko.


Home
News
Videos
Photos
Contact
About
TRAILER | GALLERY
March 15th, 2016
About The Lounge
A bunch of passionate college students who wants to express their talent and worth with what they do best.
Follow Us
Home | News | Videos | Photos | Contact | About


License
=======
Copyright (c) 2009, The Johns Hopkins University
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer. Redistributions in binary
form must reproduce the above copyright notice, this list of conditions and
the following disclaimer in the documentation and/or other materials provided
with the distribution. Neither the name of the Johns Hopkins University nor
the names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

(This license is based on the BSD license
http://www.opensource.org/licenses/bsd-license.html)
Classes |
| | |
- Catalog
class Catalog |
| |
Base class for the filterCatalog and detectionCatalog classes.
(See those modules for more detailed descriptions of how to use them).
Provides methods for setting and writing the required parameter
files used by SExtractor and for executing SExtractor within
the pipeline environment. Those classes override these methods as needed.
The richField argument determines which parameter set will be use for WFC
datasets. If true, the richfield parameter set is specified.
NOTES:
- use of the run() method for the filterCatalog instance is deprecated.
in this version. All filter catalogs should be produced by dual image
execution, i.e. the run2() method should be called.
Only when one filter's data is available should run() be called.
- input parameters are those in the .inpar file
- default input parameters are read from the SExtractor.inpar file
in the pipeline pars directory ($PIPELINE/pars).
- setinpar method is available. The pipeline will call this
method to adjust output parameters for a particular observation's
data and environment.
- output parameters are read from the SExtractor.param file
in the pipeline pars directory ($PIPELINE/pars).
- the setoutpar method is NOT available. output parameters should be
adjusted in the default .param this module reads.
- cross-correlation using ASSOC* input parameters is not supported yet
- writeXmlCatalog method now write a .xml file from the .cat file |
| |
Methods defined here:
- __init__(self, obs, richField=None, excludeList=None)
- getinpar(self, param)
- Returns value of input parameter given a parameter name
- getoutpar(self, param)
- Returns value of input parameter given a parameter name
- mkMsg(self)
- create and write module level message for this class.
Most of this is just compiling the info. meta in a dictionary
of lists where each list is a list of tuples describing the
tag lines for the particular section of the message. This tuple
format conforms to that used by the xmlMessage class which is
modeled on basic python argument passing, i.e. (key,*value,**attr).
- run(self)
- Runs SExtractor on the list of fits files in sciImageList in single image
mode.
- setinpar(self, param, value)
- Sets value of input parameter given a parameter name and value
- setpars(self, fitsfile)
- generate the .inpar and .param files for a passed fitsfile.
- writeXml(self)
- writeXml calls the xmlUtil catalog functions on a list of source catalogs
produced by SExtractor of the observation object and also calls the
markupImage function (xmlUtil) on the segmentation images produced
by SExtractor. New requirements for the markup now mean the pipeline
has to include the filter name in the catalog tag of the xml file.
filterName func returns the _useful_ filter name, i.e. the one that is
not clear. This is now part of the argument list that goes to the
xmlStartCat function. A new requirement has been placed upon
this writeXml method to allow certain fields of a catalog file
to be excluded from the xml markup. This is done to avoid redundant
fields for the same objects being sent to the SDA. See Bugzilla
bug #1436.
| |
Data |
| | |
__author__ = 'Ken Anderson<EMAIL_ADDRESS>__version__ = '1.14'
__version_date__ = '2006/01/30 21:22:36'
pyversion = '2.4.3 (#1, Jan 14 2008, 18:32:40) \n[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]'
version = '2.4.3 (#1, Jan 14 2008, 18:32:40) \n[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]' |
Author |
| | |
Ken Anderson<EMAIL_ADDRESS>|


E_I Figure YVB models complex protein analysis cysteine structures inhibitors binding Table homologous {border-style FoldX chagasin complex. heterodimers obtained px;} structure #ffffff;} NQD molecular KSE PROCOS energy inhibitor natural protozoan homology study values CPI cruzipain−chagasin design high affinity constructed human interaction model present presented protease terms ... cruzipain sapiens systems used > LMCP PDB computational cruzi interface ionic methods pH) proteins residues results showed structural using Analysis Model data modelling new order recorded Appendix Chagas Homology Therefore, calculated cruzipain-chagasin dependence experimental falcipain inhibition pathogenic program px; strength {font-family (e.g., Data GMQE Gg_cyst Template Trypanosoma based biological crystal field font-size free homologs performed prediction presence score −TΔ (see Acids Biol. Chem. Cj_cyst Lima Nucleic Protein Res. SWISS-MODEL bold complexes contribution cystatin cystatin-like different double; drug enzyme force information magnitude occur parasite peptide previously profile reported studied temperature thermodynamic (at ./S-()- FEBS Gg_cyst. ICP LEIME Lett. Mol. Sci. Turk border-color border-width cath cath_L chagasin-like chagasin; constant cyst_A development difference disease enthalpy entropy equation evaluated evaluation function mechanism multiple neutral parameters pathogens potential predicted proteinase protozoa quality reference respective sequences server silico solid; structure. studies templates tool {font-style {font-weight (accessed (−. Abrahamson CBK February FoldX, GalaxyRefineComplex Interaction J.C. KFQ Kcal/mol. LEIME; Modeling Models Natural Scharfstein [], alignment allowed built carried chagasin, changes comparison composition courier; cruzipain, cruzipain; cuzipain−chagasin cyst_A; cyst_C discovery drugs em; evolution exogenous global heterodimer identification identified ijms---t_Table important interactions known linear magnitudes methodology mexicana models. obtain papain papain-like papaya parasitic particular possible predictions protocol protozoa. pt;} refined registered related relative variation |ΔΔG|


Class
RestMutableValueReference
public final class RestMutableValueReference<Value>: RestValueReference<Value>
The mutable counterpart of RestValueReference<Value>. Subclassing is not possible since it is final and the value setter in RestValueReference is fileprivate.
Class-based value wrapper to easily reference and mutate the value while avoiding copying the data in certain contexts.
The REST API uses this class for passing the data of the @Rest
property wrapper to internal logic,
requiring a mutable reference to the value even if it is a struct or enum.
Usage:
someReference.update(with: newValue)
Relationships
Conforms To
RestValueReference<Value>
Methods
update(with:)
public func update(with value: Value)
Mutates or replaces the referenced value.
Usage:
someReference.update(with: newValue)
Parameters
| Name | Type | Description |
|---|---|---|
| with | Value |
A new or mutated value of the same type. |


{% extends "frontend/page.html" %} {% load static %} {% block page_title %}Contact Us{% endblock %} {% block page_content %}
The Stormrose Team has received your message and will contact you as quick as possible.


Dcoder¶
Overview¶
Welcome to dcoder’s Documentation!
docder is a python module that provides various functions for decoding/encoding text. It also has functions for encrypting or decrypting text in various ciphers.
Warning
This module requires Python 3.6 and above due to the use of f-strings in the source code.
It is designed to be simple and easy to use. The functions are very self explanatory but if you need help you can always read the docs here!
Installation¶
You can install released versions of dcoder from the Python Package Index with pip or a similar tool:
Stable Release:¶
pip install dcoder
Working Version:¶
pip install git+https://github.com/CodeWithSwastik/dcoder.git
Basic Usage:¶
>>> import dcoder
>>> dcoder.text2hex("Hello!") #Encodes the string and returns the hex string
'48 65 6c 6c 6f 21'
>>> dcoder.hex2text("48 69 20 74 68 65 72 65 21") #Decodes the hex string and returns the plain text
'Hi there!'
>>> dcoder.text2caesar("How are you?") #Encrypts the text in caesar's cipher and returns it
'Krz duh brx?'
>>> dcoder.caesar2text("L dp ilqh, wkdqn brx.") #Decrypts the cipher text and returns the decrypted text
'I am fine, thank you.'