Keep your villagers content with these Dragon Quest Builders 2 recipes
by Harry ShepherdNeed a list of Dragon Quest Builders 2 recipes? If you want to build the best base and give yourself every chance in combat, you should know as many of them as possible. There's a huge amount of them and it isn't always clear what they are, so now that Dragon Quest Builders 2 is on PC, I'm here to help give you the head start you need.
When it comes to Dragon Quest Builders 2 room recipes, they'll tell you what furnishings a room needs to fit a given spec. Starting with an empty room—a walled-in space with walls at least two blocks high with a door—you can add extras to create bathrooms, bedrooms, kitchens, and more in return for Gratitude. The better your room fits your villagers needs, the more of that special currency you get. Thanks to All Gamers (spotted by GamesRadar) for the complete list.
Food recipes in Dragon Quest Builders 2 function differently. Cooking recipes give you the edge in combat and can boost your attack and defence stats, plus your resistance to debuffs inflicted by enemies in uncharted areas. Below are all the recipes you can find in Square Enix's build-'em-up sequel.
Dragon Quest Builders 2 room recipes
Sets
- Fiery Frying Pan: Bonfire, Frying Pan
- Dining Table: Table, Chair, Decorative Food Dish
- Buffet: Large Table, Crock Pot, Crockery
- King's Banquet: King's Table, Fancy Chairs x4, Decorative Food Dish x4, Candelabra x2
- Meal: Large Table, Salad with Soup, Fish Platter or Meat Platter, Basket of Bread, Decorative Food Dish
- Onsen Bath: Onsen Water blocks x10, Scattered Petals or Lion Fountain
- Swimming Pool: Pure Water blocks x10, Ladder (inside pool)
- Cocktail Counter: Bar Counter, Stool x4, Cocktail Shaker
- Simple Sipper's Set: Table, Chair, Decorative Drink
- Social Sipper's Set: Large Table, Chair x4, Decorative Drink x4
- Card Table: Table, Chair x2, Playing Cards
- Medication Station: Chair, Crate, First Aid Kit
- Rocket Battery: Firework Cannon x3 (in a row)
- Dracky Totem: Dracky Totem x3 (on top of each other)
- Slime Stack: Stackable Slime x3 (on top of each other)
- Tree Swing: Tree, Swing
- Potted Flower: Pot, Flower
- Potted Plant: Pot, Plant
- Station: Rail Track, Stop Sign (at the end of the track)
- Darty Party: Dartboard x3 (on a wall in a row)
- Playable Piano: Grand Piano, Chair
Bedrooms
- Basic Bedroom: Bed (any) x2, Light Source (any)
- Social Bedroom: Bed (any) x4, Light Source (any) x2
- Communal Bedroom: Bed (any) x8, Light Source (any) x4
- Prepared Bedroom: Bed (any), Light Source (any), Grandfather Clock, Potted Plant (set)
- Farmers' Bedroom: Bed (any) x2, Light Source (any), Farming Tools, Firewood
- Farmers' Flophouse: Bed (any) x4, Light Source (any) x2, Farming Tools x2, Firewood x2
- Farmers' Lodge: Bed (any) x8, Light Source (any) x4, Farming Tools x4, Firewood x4
- Dormitory: Bed (any) x8, Pot x3, Inn Sign
- Better Dormitory: Bed (any) x8, Pot x3, Inn Sign, Light Source (any) x2, Stool x2
- Luxury Dormitory: Four-poster Bed x8, Pot x3, Inn Sign, Sconce x2, Stool x2, Chest of Drawers
- Basic Soldier's Bedroom: Decorative Armour/Swords, Bed (any) x2, Light Source (any)
- Barracks: Decorative Armour/Swords x2, Bed (any) x4, Light Source (any) x2
- Bigger Barracks: Decorative Armour/Swords x4, Bed (any) x8, Light Source (any) x4
Bathrooms
- Double Bathroom: Bathtub/Shower x2, Towel Rack x2, Washtub x2, Light Source (any)
- Private Men's Bathroom: Bathtub/Shower x2, Towel Rack x2, Gentleman Sign
- Private Women's Bathroom: Bathtub/Shower x2, Towel Rack x2, Lady Sign
- Rustic Bathroom: Basic Bathtub, Towel Rack x3, Washtub x4, Chair (any)
- Deluxe Bathroom: Bathtub x2, Towel Rack x3, Washtub x4, Stool, Light Source (any), Firewood x2
- Shower Room: Shower, Towel Rack, Folding Screen
- Scenic Shower Room: Shower x4, Towel Rack x2, Folding Screen x2, Light Source (any) x2, Window x4
- Onsen Bathroom: Onsen Water x10 blocks (dig holes for them), Flower Petals (on top of Onsen Water), Bathroom Stool x3, Washtub x3, Filter Fountain (pouring into Onsen Water)
- Suspicious Spa: Plasma blocks x10 (dig a hole), Evil Item (any), Bathroom Stool x3, Washtub x3
- Swimming Pool: Standard Water x10 blocks (dig holes for them), Ladder (inside the pool), Pool Chair, Sun Parasol, Cactus Drink
Kitchens
- Simple Kitchen: Chest, Bonfire x3
- Kitchen Diner: Chest, Bonfire x3, Dining Table (set)
- Agricultural Kitchen: Chest, Sack of Wheat x3, Firewood x2, Bonfire x3
- Agricultural Cafe: Chest, Sack of Wheat x3, Firewood x2, Bonfire x3 or Fiery Frying Pan (set) x2 or Brick Barbecue, Dining Table (set)
- Simple Mushroom Cookroom: Chest, Fungus (any, pick up with gloves and bring inside), Bonfire x2
- Deluxe Mushroom Kitchen: Chest, Fungus (any, pick up with gloves and bring inside), Fiery Frying Pan (set) x2 or Brick Barbecue, Dining Table (set)
- Simple Castle Kitchen: Chest, Well, Brick Barbecue
- Castle Cafeteria: Chest, Well, Brick Barbecue, Buffet (set)
- Gory Grillhouse: Chest, Meaty Marshy Mountain, Brick Barbecue
- Standard Dining Room: Light Source (any), Dining Table (set) x4
- King's Dining Room: King's Table, Fancy Chairs x4, Crockery x4 (placed by chairs), Candelabra x2, Fireplace, Bold Banner x2
Private Bedrooms
- Private Bedroom: Resident's Sign (any), Bed (any), Light Source (any), Stool
- Master Bedroom: Resident's Sign (any), Bed (any), Light Source (any), Chair (any), Table (any), Wall Hanging, Velvet Draping or Triangular Bunting
- Private Noble's Bedroom: Resident's Sign (any), Four-Poster Bed, Fancy Chair, Fancy Table, Sconce, Wall Hanging
- Rough n' Tough Bedroom: Resident's Sign (any), Barrel, Bottles, Dumb-bells, Light Source (any), Bed (any)
- Neat n' Sweet Bedroom: Resident's Sign (any), Dressing Table, Chair, Ornamental Flower, Light Source (any), Bed (any)
- Royal Bedchamber: Resident's Sign (any), King-Size Bed, Fancy Chair, Fancy Light Source, Fireplace
- Princess Bedchamber: Resident's Sign (any), Four-Poster Bed, Fancy Chair, Fancy Light Source, Potted Plant (set)
- Simple Shared Bedroom: Resident's Sign (any) x2, Bed (any) x2, Light Source (any), Stool x2
- Superior Shared Bedroom: Resident's Sign (any) x2, Bed (any) x2, Light Source (any), Chairs x2, Table, Wall Hanging
- Shared Noble Bedroom: Resident's Sign (any) x2, King-Size or Four-Poster Bed x2, Fancy Light Source, Fancy Chair x2, Fancy Table, Wall Hanging
Outdoors
- Ranch: Haystack, Wooden Gate, Grass x5
- Animal House: Haystack, Pet Bedding, Pet Bowl
- Watering Hole: Water blocks x10 (dig holes for them), Chest, Washtub, Pot x2
- Well Room: Wooden Doormat (use at entrance), Well, Flower
- Playful Park: Tree Swing (set), Bench x2, Wooden Plank Pathway x2, Flower x2
- Grassy Garden: Bench, Plant x5
- Flower Garden: Flower x6, Plant x4
- Luxurious Park: Fancy Bench, Rose, Rose Leaves, Blue Hydrangea, Flower x8
- Tree Park: Bench, Branch x2, Leafy Tree, Palm Tree, Fir or Cedar Tree, Birch Tree
- Cactus Garden: Bench, Small Round Flowering Cactus x3, Cactus Stem x3, Cactus Head x2, Gladiolus, Sunflower
- Tropical Garden: Bench, Pongsettia, Bigonia, Tingleweed x5, Fan Fern, Coneconut Tree
- Stone Garden: Bench, Large Rock x3, Small Rock x5, Paving Stone x2, Pile of Pebbles
- Fountain Garden: Fancy Bench, Water blocks x10 (dig holes for them), Filter Fountain (position outside Water blocks), Lily Pad, Lily Flower
- Snow Garden: Bench, Snowman, Snowy Cedar Tree x2, Snow Flower x3
- Freak-Out Room: Simple Bench, Vile Tile, Huge Horn x2, Septic Shrub x3, Dead Tree x2, Pampas Grass x3
- Cantlin Garden: Fancy Bench, Pure Water blocks x8 (dig holes for them), Holyhock x5, Blossoming Shrub x3, Cherry Blossom Tree, Basic Bridge
Bars
- Simple Bar: Cocktail Counter (set)
- Well-Stocked Bar: Cocktail Counter (set), Social Sippers (set), Simple Sippers (set) x2, Beer Cask x2, Pub Sign
- Game Bar: Cocktail Counter (set), Card Table (set), Darty Party (set), Water Pitcher, Light Source (any)
Toilets
- Basic Toilet: Pot or Toilet (any), Towel Rack
- Shared Toilet: Toilet (any) x3, Towel Rack x3, Folding Screens x2 (place between the toilets)
- Men's Toilet: Toilet (any) x3, Towel Rack x3, Gentleman Sign
- Women's Toilet: Toilet (any) x3, Towel Rack x3, Lady Sign
- Rustic Toilet: Pot OR Toilet (any), Towel Rack, Haystack
- Lovely Toilet: Toilet (any), Towel Rack, Ornamental Flower
- Soldier's Toilet: Toilet (any), Towel Rack, Wall Flag
- Basic Changing Room: Wardrobe, Light Source (any), Dressing Table, Stool
- Pool Changing Room: Wardrobe, Light Source (any), Towel Rack, Washtub
- Bunny Girl Changing Room: Wardrobe, Light Source (any), Barrel, Ornamental Flower
- Beach Changing Room: Wardrobe, Light Source (any), Towel Rack, Parasol
- Chill-Out Room: Comfy Sofa, Potted Flower (set) x2, Potted Plant (set) x2, Fireplace, Swabbing Tools
Workshops
- Barn: Chest, Pot, Haystack, Rope, Farming Tools, Firewood
- Armoury: Chest, Ornamental Armour/Weapon x4, Barricade x2
- Smithy: Forge, Chest, Hanging Bag, Pot
- Metalworker's Workshop: Anvil, Chest, Hanging Bag, Weapon Sign
- Brewery: Beer Cask x2, Chest, Hanging Bag, Barrel x2
- Dyeing Workshop: Slime Paint Barrel x2, Chest, Hanging Bag, Washtub x2
- Builder's Workshop: Builder's Table, Chest, Hanging Sacks, Medicinal Mortar, Tool Rack
- Wizard's Workshop: Wizard's Workbench, Comfy Cushion, Crystal Ball, Incense Burner
- Item Store: Table, Shop Sign, Price Tag, Crate x2
- Weapon Store: Table, Weapon Sign, Price Tag, Decorative Armour/Weapon x2
Social
- Reception: Table x2, Wall Hanging, Stationery, Candle
- Corridor: Light Source (any) x2, Pillar x2, Ornamental Flower x2, Wall Hanging x2
- Pumping Station: Dumb-Bell x2, Mining Tool x2, Towel Rack x2
- Relaxation Room: Bed (any), Curtain x2, Folding Screen, Light Source (any)
- Chapel: Altar, Candle x2, Goddess Statue, Chair (any) x4
- Training Room: Target Dummy x4, Ornamental Spear Rack x2, Wooden Fortification x4
- Throne Room: Throne, Bold Banner x4, Brazier x2
- Shabby Throne Room: Disfigured Throne
- Hargon Chapel: Unholy Altar, False Idol, Small Hargon Wall Gargoyle, Tall Hargon Wall Panel, Double Hargon Wall Panel, Sinister Sconce
- Summoning Chamber: Forbidden Altar, Unholy Altar, Chest, False Idol, Peculiar Pillar x2, Sinister Sconce
- Creepy Conservatory: Chest, Blooming Poxglove x2, Budding Poxglove x4
- Playroom/Toy Room: Hammerhood Plush x2, Snow Yeti Rug, Chair
- Music Hall: Instrument (Cello/Drums/Piano) x3, Stool (not in front of a piano), Curtain x2
- Ballroom/Dancing Room: Dancing Platform x3, Light Block, Curtain x4
Culture
- Sculpture Gallery: Stationary Statue, Handrail x3
- Picture Gallery: Painting x2, Handrail x4
- Large Museum Room: Painting x4, Goddess Statue x2, Handrail x10, Exhibition Sign
- Small Exhibition Room: Exhibition Podium x2, Handrail x4
- Large Exhibition Room: Exhibition Podium x5, Handrail x10, Exhibition Sign, Exhibition Shelf Connectors x2
- Small Treasury: Exhibition Podium, Handrail x2, Treasure Chest x5, Treasure (any valuable item, try something gold)
- Large Treasury: Exhibition Podium, Handrail x2, Treasure Chest x5, Treasure, Pile of Treasure, Bold Banner x2
- Study: Bookshelf x3, Pile of Books x3
- Library: Bookshelf x5, Pile of Books x3, Book x3, Table, Chair, Sheets of Paper
Miscellaneous
- Graveyard: Gravestone x3, Flower x3, Bench
- Fortune Teller Room: Comfy Cushion, Crystal Ball, Pile of Books, Book, Curtain x2
- Mayor's Office: Table x3 (in a row), Planner's Stationery (put along table), Sign, Bell (hit the bell to call everyone in)
- Prison Cell: Chains, Pot
- Execution Chamber: Chains x2, Guillotine (rare drop for defeating a pink dragon by the Material Islands snowy lake), Straw Mattress, Human Bones x2
- Slime Room: Slime Eye x2, Slime Mouth, Slime Block, Slime Lamp
- Light Room: Bench, Sconce x2, Fancy Sconce x2, Brazier x2, Tall Brazier x2
- Lava Room: Lava blocks x6 (dig a hole for them), Stone x3
- Dragonfly Room: Filthy Water blocks x6 (dig a hole for them), Reeds x3, Dead Tree
- Demonlord's Throne Room: Hargon Chapel already built, Demonlord's Throne, Demonlord's Banner Flag x2, Peculiar Pillar x2
- Pot Chamber: Chest, Pot x5
- Mushroom Chamber: Chest, Fungus (Any) x6
- Wrecking Ball Room: Wrecking Ball explosive
- War Room: Emblematic Table, Map, Wargame Piece x2
Dragon Quest Builders 2 food recipes
Food
There are over 150 cooking recipes in Dragon Quest Builders 2, so here's a handy spreadsheet from Redditor ---Blix--- that details all of them. Each recipe indicates the ingredient(s) required, the effects they imbue, and cooking time. Keep an eye out for the ingredients listed and combat will be a cinch; that way you can focus on get your township up to scratch, more on that below.


Your browser does not support the HTML5 canvas tag.
Type whatever you want here I guess
Here is a random number for you!
Click me to go back
Your browser does not support the audio element.


2C-I is definitely good material. Nothing to complicated, just a nice gentle psychedelic. Not very sensory (visual) really at all, at least compared to other closely related materials I have tried. It is for me, a very introspective experience, and sometimes a very thought provoking one. I personally prefer lower doses (sixteen milligrams orally) to larger twenty-plus milligram doses. Iíve gone as high as twenty-six milligrams. In my experiences, larger doses don't *usually* do anything smaller ones can't do. All I notice is more general stimulation, which I donít like, and only a moderate rise in visual effect. The mental effects are generally pretty similar. This is a psychedelic where less is more.
2C-Iís nature seemed remarkably similar to 2C-T-2 in many aspects, other than the absence horrible body load and nausea of T2. I saw little in common with 2C-T-7 other than surface similarities (Both have that 'phenethylamine' look and feel.) As of this date, I have not taken 2C-B so I can not compare the two.
It is hard to put my finger on what is particularly magical about 2C-I. To paraphrase Shulgin, who was speaking of the closely related 2C-E...'you know it's a good one, but you can't exactly say why.' It is very easy on the body. None of the severe nausea or body load that 2C-T-2 and 2C-T-7 have, which I am glad for, although I have experienced a headache, as I often do on 2C-T-7. It seems both substances may raise blood pressure. 2C-I was definitely a wonderful sex enhancer for me, but then what psychedelic isn't?
I have had some very unpleasant experiences mixing 2C-I with other substances. I once combined fifteen milligrams of 2C-I with one hundred-twenty milligrams of MDMA. I took the 2C-I four hours into the MDMA experience and it was not a good combination. Rather it was very mentally confusing and carried a very uncomfortable body load with it. The body load was extremely odd because straight 2C-I has proven to be one of the smoothest synthetics I have tasted. My girlfriend took the same dosages of both substances with me and also did not find it to be agreeable. Both of also found it difficult to ďconnectĒ with each other, which was extremely odd. We are quite a close couple.
Another time, I mixed eight milligrams of 2C-I with eight milligrams of 2C-T-7. Each substance was swallowed in the same capsule. The main problem was the significant amount of 'mind fuck' experienced, which is something I normally donít associate with the phenethylamines. While the trip was only perhaps a +2.5 in strength, the state was very distinctly psychotic-like. I felt like the combo had set off my own personal brand of schizophrenia. There were a lot of noises in my head that one just shouldn't hear, and my thoughts just wouldn't make sense to me. I truly felt crazy for a few hours. There was also a lot of anxiety, but not as severe as the anxiety tryptamines and LSD can sometimes cause. Around three hours into the trip, things settled down and I started to actually enjoy it. The visuals were nice and unique, different from that of either substance alone. The trip was also much stronger than sixteen milligrams of either substance would have been alone.
Finally, I once took one hundred-fifty milligrams of methylone one-hour into a twelve milligram 2C-I trip. As the methylone came on, I felt great for about twenty minutes but slowly I started to feel horrible (general feeling of illness, Ďstrung outí feeling) and for some reason the methylone seemed to cover up the 2C-I completely. Even the visual effects of the 2C-I disappeared. Odder yet, I really didn't feel high on the methylone either. Perhaps it was a 'beth' state, as described in PIHKAL.
Around three hours into the experience, the methylone let up and the two materials synergized nicely leaving me in a very clear, useful, and quite profound psychedelic state. It reminded me a lot of MDA. I was with a friend who also had taken 2C-I, but not methylone. We connected very nicely and enjoyed many deep and insightful conversations, and both of us had several spontaneous, but sadly short, out-of-body experiences throughout the night. Wonderful experience but not worth the initial discomfort I experienced getting there. I will never mix 2C-I with other psychedelics again.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Impala
Under development
Usage
First, configure Impala to use your API key
ruby
Impala.configure do |config|
config.api_key = # Your secret API key here ...
end
You are now set up to interact with the Impalal web API. Start by creating a new hotel object.
ruby
hotel = Impala::Hotel.new(hotel_id)
Now, you can get and create guests, bookings and whatever Impala provides.
ruby
booking = hotel.booking(booking_id)
guests = booking.guests


Gain Better Online Visibility.
Join over 10,000 Happy Marketers!
Quick Tour
Create Account
Sign up with your social media
OR
Sign up with your email
Name
Email Address
Company
Password
Sign Up
Already have an account?
Login


Test methods must have no arguments.
@isTest public with sharing SomeTestClass { public testMethod void someTestMethod(String param) {...} }
@isTest public with sharing SomeTestClass { public testMethod void someTestMethod() {...} }


Here is a list of all APIs that this Client App is
currently contracted to utilize. This provides a list of all APIs that Client App can potentially invoke.
No API contracts have been created for this Client App yet or your filter does not match any contracts. If you create a new contract, it will be displayed here.


{% extends "base.html" %} {% block header %}
You can retrieve one of the 4 pictures displayed on the left by clicking, and the result will show the 5 best-reviewed pictures.
A little click, awesome result. Everything at your fingertips. {% endblock %} {% block content %}Searching...
Oh no! No results! Check your internet connection.
| Image | Score |
|---|


Register
Can't leave this empty.
Wrong email format.
Can't leave this empty.
Can't leave this empty.
Wrong password format.
Can't leave this empty.
Can't leave this empty.
Passwords do not match!
Can't leave this empty.
Can't leave this empty.
Register


| Package | Description |
|---|---|
| energy.usef.agr.model |
Model classes of the Aggregator.
|
| energy.usef.agr.repository |
Repository classes of the Aggregator.
|
| energy.usef.agr.transformer |
Package contains helper classes to transform between our Model and the DTO's
|
| energy.usef.brp.workflow.transformer |
Transformer classes of the Balance Responsible Party.
|
| energy.usef.core.model |
Model classes for the transport core.
|
| energy.usef.core.repository |
Package for the core repository classes.
|
| energy.usef.core.service.business |
Package for the core business service classes.
|
| energy.usef.core.util |
Package for the core utility classes.
|
| energy.usef.core.workflow.settlement | |
| energy.usef.dso.model |
Model classes of the Distribution System Operator.
|
| energy.usef.dso.repository |
Repository classes of the Distribution System Operator.
|
| energy.usef.dso.service.business |
Business classes of the Distribution System Operator.
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
Udi.getConnection() |
Connection |
ConnectionPowerContainer.getConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
Udi.setConnection(Connection connection) |
void |
ConnectionPowerContainer.setConnection(Connection connection) |
| Constructor and Description |
|---|
ConnectionPowerContainer(Connection connection,
org.joda.time.LocalDate period,
Integer timeIndex)
Initial Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Connection,List<Udi>> |
UdiRepository.findActiveUdisPerConnection(org.joda.time.LocalDate period)
Finds the Udis which are part of the portfolio on the given period.
|
Map<Connection,List<Udi>> |
UdiRepository.findActiveUdisPerConnection(org.joda.time.LocalDate period,
Optional<List<String>> connectionEntityList)
Finds the Udis which are part of the portfolio on the given period.
|
Map<Connection,List<PowerContainer>> |
PowerContainerRepository.findConnectionPowerContainers(org.joda.time.LocalDate period,
Optional<List<String>> connectionEntityList,
Optional<ConnectionGroup> connectionGroup)
Finds all
PowerContainer 's for a period and a list of connection entity addresses, grouped by Connection. |
| Modifier and Type | Method and Description |
|---|---|
static List<ConnectionPortfolioDto> |
ConnectionPortfolioTransformer.transformToDTO(List<Connection> activeConnections,
Map<Connection,List<PowerContainer>> connectionPowerContainers,
Map<Connection,List<Udi>> udisPerConnection,
Map<Udi,List<PowerContainer>> udiPowerContainers)
Transforms the power containers per connection and the power containers per UDI into a list of
ConnectionPortfolioDto
objects. |
static List<ConnectionPortfolioDto> |
ConnectionPortfolioTransformer.transformToDTO(List<Connection> activeConnections,
Map<Connection,List<PowerContainer>> connectionPowerContainers,
Map<Connection,List<Udi>> udisPerConnection,
Map<Udi,List<PowerContainer>> udiPowerContainers)
Transforms the power containers per connection and the power containers per UDI into a list of
ConnectionPortfolioDto
objects. |
static List<ConnectionPortfolioDto> |
ConnectionPortfolioTransformer.transformToDTO(List<Connection> activeConnections,
Map<Connection,List<PowerContainer>> connectionPowerContainers,
Map<Connection,List<Udi>> udisPerConnection,
Map<Udi,List<PowerContainer>> udiPowerContainers)
Transforms the power containers per connection and the power containers per UDI into a list of
ConnectionPortfolioDto
objects. |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
ConnectionTransformer.transformConnections(List<Connection> connectionList)
Transform a list of
Connection entities to a list of String with entity addresses. |
| Modifier and Type | Method and Description |
|---|---|
Connection |
ConnectionGroupState.getConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionGroupState.setConnection(Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
ConnectionRepository.findOrCreate(String connectionEntityAddress)
Creates or finds the
Connection in a seperate transaction. |
| Modifier and Type | Method and Description |
|---|---|
Map<ConnectionGroup,List<Connection>> |
ConnectionGroupStateRepository.findActiveConnectionGroupsWithConnections(org.joda.time.LocalDate startDate,
org.joda.time.LocalDate endDate)
Finds the active connection groups and their connections.
|
List<Connection> |
ConnectionRepository.findActiveConnections(org.joda.time.LocalDate date,
Optional<List<String>> connectionEntityList)
Finds the list of connections for a moment in time.
|
Map<Connection,List<ConnectionGroup>> |
ConnectionGroupStateRepository.findActiveConnectionsWithConnectionGroups(org.joda.time.LocalDate period)
Finds the active connection and their related connection groups.
|
List<Connection> |
ConnectionRepository.findConnectionsForConnectionGroup(String usefIdentifier,
org.joda.time.LocalDate date)
Find
Connection per ConnectionGroup . |
Map<ConnectionGroup,List<Connection>> |
ConnectionGroupStateRepository.findConnectionsWithConnectionGroups(List<String> connectionGroupIdentifiers,
org.joda.time.LocalDate period)
Finds the connections linked to a given list of connection group identifiers on a given period.
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
CorePlanboardBusinessService.findConnection(String entityAddress)
Finds a for a given entity address.
|
| Modifier and Type | Method and Description |
|---|---|
Map<ConnectionGroup,List<Connection>> |
CorePlanboardBusinessService.findActiveConnectionGroupsWithConnections(org.joda.time.LocalDate period)
Finds the active connection groups and their connections.
|
Map<ConnectionGroup,List<Connection>> |
CorePlanboardBusinessService.findActiveConnectionGroupsWithConnections(org.joda.time.LocalDate startDate,
org.joda.time.LocalDate endDate)
Finds the active connection groups and their connections.
|
List<Connection> |
CorePlanboardBusinessService.findActiveConnections(org.joda.time.LocalDate date,
Optional<List<String>> connectionEntityList)
Find all
Connection at a given point in time. |
Map<org.joda.time.LocalDate,Map<ConnectionGroup,List<Connection>>> |
CorePlanboardBusinessService.findConnectionGroupWithConnectionsWithOverlappingValidity(org.joda.time.LocalDate startDate,
org.joda.time.LocalDate endDate)
Finds the connection groups and their connections having partial or full overlap with the given period.
|
Map<ConnectionGroup,List<Connection>> |
CorePlanboardBusinessService.findConnections(org.joda.time.LocalDate startDate,
org.joda.time.LocalDate endDate,
RegimeType... regimes)
Finds connections by start/end dates and regimes.
|
List<Connection> |
CorePlanboardBusinessService.findConnectionsForConnectionGroup(String usefIdentifier,
org.joda.time.LocalDate date)
Finds the connections for a
ConnectionGroup and a certain point in time. |
Map<ConnectionGroup,List<Connection>> |
CorePlanboardBusinessService.findConnectionsWithConnectionGroups(List<String> connectionGroupIdentifiers,
org.joda.time.LocalDate period)
Finds the list of connection entities for each given connection group usef identifier at the given period.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
MeterDataQueryMessageUtil.populateConnectionsInConnectionGroups(MeterDataQuery meterDataQuery,
Map<ConnectionGroup,List<Connection>> connectionGroupsWithConnections)
Populate the Connections and Connection elements in the MeterDataQuery from the map containing the congestion points to
their list of connections.
|
| Modifier and Type | Method and Description |
|---|---|
Map<ConnectionGroup,Set<Connection>> |
CoreSettlementBusinessService.findActiveConnectionGroupsWithConnections(org.joda.time.LocalDate startDate,
org.joda.time.LocalDate endDate)
Finds the active connection groups and their connections.
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
ConnectionMeterEvent.getConnection() |
Connection |
ConnectionCapacityLimitationPeriod.getConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionMeterEvent.setConnection(Connection connection) |
void |
ConnectionCapacityLimitationPeriod.setConnection(Connection connection) |
| Constructor and Description |
|---|
ConnectionCapacityLimitationPeriod(Connection connection,
Date startDateTime,
Date endDateTime,
boolean totalOutage) |
ConnectionCapacityLimitationPeriod(Connection connection,
Date startDateTime,
Date endDateTime,
boolean totalOutage,
BigInteger capacity) |
ConnectionMeterEvent(Connection connection,
EventType eventType,
org.joda.time.LocalDateTime dateTime)
Constructor with all required fields.
|
ConnectionMeterEvent(Connection connection,
EventType eventType,
org.joda.time.LocalDateTime dateTime,
BigInteger capacity)
Constructor with all fields.
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
ConnectionMeterEventRepository.findConnectionForConnectionMeterEventsPeriod(String entityAddress,
org.joda.time.LocalDate date)
This method finds a Connection for a given connection entity address and a certain period.
|
| Modifier and Type | Method and Description |
|---|---|
List<Connection> |
ConnectionMeterEventRepository.findConnectionsNotRelatedToConnectionMeterEvents(org.joda.time.LocalDate date,
List<String> connectionIncludeList)
Finds connections not related to ConnectionMeterEvents.
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
DsoPlanboardBusinessService.findConnectionForConnectionMeterEventsPeriod(String entityAddress,
org.joda.time.LocalDate date)
This method finds a Connection for a given connection entity address and a certain period.
|
| Modifier and Type | Method and Description |
|---|---|
List<Connection> |
DsoPlanboardBusinessService.findConnectionsNotRelatedToConnectionMeterEvents(org.joda.time.LocalDate date,
List<String> connectionIncludeList)
Finds connections not related to ConnectionMeterEvents.
|
Copyright © 2016. All rights reserved.


This browser application renders 3D graphs of equations that the user enters. It consists of several modes, each made to plot a certain type of graph. It is written in JavaScript and WebGL, allowing it to be run in the browser. The supported graphs are listed below:
To get started, click the link below. I recommend clicking some of the "Examples" links for samples of how to use the program, since a tutorial has not yet been written. The syntax is similar to the Java version, so reading its tutorial can help.
This program renders 2D and 3D graphs of equations that the user enters. It consists of several modes, each made to plot a certain type of graph. The program can plot the following graphs:
Direct download
See all versions (GitHub)
Source (GitHub)
Tutorial


I'm going down to Rose Marie's,
She never does me wrong,
She puts it to me plain as day
And gives it to me for a song.

Oh
1, everybody's got to eat
And I'm just the same as anyone else
When it comes to scratching for my meat.
Going to Acapulco, going on the run,
Going down to see soft gut, going to have some fun,
Yeah! going to have some fun.
Now, whenever I get up and
Can't find what I need,
I just make it down to Rose Marie's
And get something quick to eat.

Going to Acapulco, going on the run,
Going to Ac––to see soft gut
2, going to have some fun,
Yeah! going to have some fun.
Now, if someone offers me a joke,
I just say no thanks,
I try to tell it like it is
And keep away from pranks.
Now, every time, you know, when the well breaks down,
I just go pump on it some.
Rose Marie, she likes to go to big places
And just set there waiting for me to come.
Going to Acapulco, going on the run,
Going down to see soft gut, going down
3 some fun,
Yeah! going to have some fun.
1
It sounds as though Dylan stumbles here, but it's a difficult recording to interpret at times and I can't be certain that this is even the correct transcription.
2
Dylan starts to sing "to Acapulco" instead of "down to see soft gut" and he ends up sort of blending the first syllable of "Acapulco" with "down".
3
Again Dylan seems to forget which line he's supposed to be singing (as he did in the previous refrain, although in a different part). Dylan sings "going down" instead of "going to have" before switching to the correct lyrics and ending the line with "some fun".


Roman Reigns posts heartfelt tweet about Jon Moxley and Seth Rollins on The Shield's WWE anniversary
by Danny HartEarlier today, we reflected on seven years of Roman Reigns and Seth Rollins in WWE by taking a look at five positives and five negatives from both Superstars’ careers since their debut at Survivor Series 2012.
Also read: Roman Reigns and Seth Rollins' positives and negatives in WWE
Writing on Twitter, Reigns has now reminisced on how he, Rollins and Jon Moxley (fka Dean Ambrose) were "three hungry dudes" who wanted to take over the world when they left WWE’s development system and burst onto the main-roster scene.
He added that all three Shield members have won titles, main-evented, earned money and grown their families over the last seven years, and they will “always be brothers”.
What’s next for members of The Shield?
Roman Reigns is currently preparing to represent Team SmackDown (Reigns, King Corbin, Braun Strowman, Mustafa Ali and Shorty G) in a five-on-five-on-five elimination match at Survivor Series against Team RAW and Team NXT.
Seth Rollins is the captain of Team RAW, which also consists of Drew McIntyre, Kevin Owens, Randy Orton and Ricochet, but he will be replaced by Andrade if he loses against the Mexican in their one-on-one match on RAW.
Jon Moxley, meanwhile, recently defeated Kenny Omega in an Unsanctioned Lights Out match at AEW Full Gear, and he will take on Darby Allin on the next episode of Dynamite.
Now you can rate RAW, SmackDown and NXT matches on Sportskeeda !


public class Epa extends java.lang.Object implements MinkowskiPenetrationSolver
Epa
stands for Expanding Polytope Algorithm and is used to find the
penetration depth and vector given a resulting Gjk
simplex.
Epa
expands the given simplex in the direction of the origin until it cannot
be expanded any further. Gjk
guarantees that the simplex points are on the
edge of the Minkowski sum which creates a convex polytope.
Expansion is achieved by breaking edges of the simplex. Find the edge on the simplex
closest to the origin. Then use that edge's normal to find another support point (using
the same support method that Gjk
uses). Add the new support point to
the simplex between the points that made the closest edge. Repeat this process until
the polytope cannot be expanded any more.
This implementation has three termination cases:
Epa
terminates the penetration vector is the current closest edge normal
and the penetration depth is the distance from the origin to the edge along the normal.
Epa
will terminate in a finite number of iterations if the two shapes are Polygon
s.
If either shape has curved surfaces the algorithm requires an expected accuracy epsilon.
| Modifier and Type | Class and Description |
|---|---|
protected class |
Epa.Edge
Represents an
Epa.Edge of the simplex. |
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_DISTANCE_EPSILON
The default
Epa distance epsilon in meters; near 1E-8 |
static int |
DEFAULT_MAX_ITERATIONS
The default
Epa maximum iterations |
protected double |
distanceEpsilon
The
Epa distance epsilon in meters |
protected int |
maxIterations
The maximum number of
Epa iterations |
| Constructor and Description |
|---|
Epa() |
| Modifier and Type | Method and Description |
|---|---|
protected Epa.Edge |
findClosestEdge(java.util.List<Vector2> simplex,
int winding)
Returns the edge on the simplex that is closest to the origin.
|
double |
getDistanceEpsilon()
Returns the EPA distance epsilon.
|
int |
getMaxIterations()
Returns the maximum number of EPA iterations.
|
void |
getPenetration(java.util.List<Vector2> simplex,
MinkowskiSum minkowskiSum,
Penetration penetration)
Returns the penetration in the given penetration object given the simplex
created by
Gjk and the MinkowskiSum . |
protected int |
getWinding(java.util.List<Vector2> simplex)
Returns the winding of the given simplex.
|
void |
setDistanceEpsilon(double distanceEpsilon)
The minimum distance between two iterations of the EPA algorithm.
|
void |
setMaxIterations(int maxIterations)
Sets the maximum number of EPA iterations.
|
public static final int DEFAULT_MAX_ITERATIONS
Epa
maximum iterationspublic static final double DEFAULT_DISTANCE_EPSILON
Epa
distance epsilon in meters; near 1E-8protected int maxIterations
Epa
iterationsprotected double distanceEpsilon
Epa
distance epsilon in meterspublic void getPenetration(java.util.List<Vector2> simplex, MinkowskiSum minkowskiSum, Penetration penetration)
Gjk
and the MinkowskiSum
.getPenetration
in interface MinkowskiPenetrationSolver
simplex
- the simplexminkowskiSum
- the MinkowskiSum
penetration
- the Penetration
object to fillprotected Epa.Edge findClosestEdge(java.util.List<Vector2> simplex, int winding)
simplex
- the simplexwinding
- the simplex windingEpa.Edge
the closest edge to the originprotected int getWinding(java.util.List<Vector2> simplex)
Returns -1 if the winding is Clockwise.
Returns 1 if the winding is Counter-Clockwise.
This method will continue checking all edges until an edge is found whose cross product is less than or greater than zero.
This is used to get the correct edge normal of the simplex.
simplex
- the simplexpublic int getMaxIterations()
setMaxIterations(int)
public void setMaxIterations(int maxIterations)
Valid values are in the range [5, ∞].
maxIterations
- the maximum number of EPA iterationsjava.lang.IllegalArgumentException
- if maxIterations is less than 5public double getDistanceEpsilon()
setDistanceEpsilon(double)
public void setDistanceEpsilon(double distanceEpsilon)
Valid values are in the range (0, ∞].
distanceEpsilon
- the EPA distance epsilonjava.lang.IllegalArgumentException
- if distanceEpsilon is less than or equal to zero


 Well, while we wouldn’t go that far, it’s certainly eye-catching if nothing else. You’d almost suspect that Elon had just found his long-lost half brother and had allowed him to design it.
Tesla Cybertruck
Admittedly, if we can get beyond the absolutely bizarre level of the design, the Tesla Cybertruck does pack some pretty amazing features. Particularly in terms of storage options.
 Well, respectfully Mr. Musk, we at eTeknix disagree! – Let’s, therefore, have a look at five things that resemble the Tesla Cybertruck, but are (in our opinion) better!
Things that Look Like the Tesla Cybertruck – #1 The DeLorean
Stainless steel body, lots of angles, and a design that looks like it came from the future. We have seen all of those things rolled into one package before and that is in the absolutely glorious DeLorean.
I will freely admit, I am a huge fan of the DeLorean. In fact, I’d go as far as to say that this is my dream car. Yes, I have driven one and know that they’re not actually very good. I don’t care though. If this was sat in my garage I think I’d just spend all day cleaning and looking at it!
WHY THIS IS BETTER – When you hit 88mph in this baby, you’ll see some serious shi*t!
#2 – The Tank From Aliens
I think many would agree that out of the entire franchise, Aliens (the 2nd film) is the best one. While the ‘tank’ in that film played only a moderately small roll, it is still iconic and highly recognizable.
You have to ask yourself a question, in the event of an Alien apocalypse, which would you rather have in your bid to escape?
WHY THIS IS BETTER – Far greater alien smashing potential!
#3 – Elite
Ok, so this one I’ll admit is a bit of an obscure reference. If you are from the UK and are old enough to have owned an Acorn Electron, however, then you probably had encountered ‘Elite’ at some point.
The game itself was, actually, amazingly advanced for the time with an essentially endless universe to explore. Call me crazy though, but looking at the title screen, I’m starting to think that Elon might have owned this game too.
WHY THIS IS BETTER – You can’t endlessly traverse the universe in a Tesla
#4 Most Cars From the PS1 Era
I wish I could find and credit the person who ‘de-maked’ the image below because it looks amazing. You have to admit though, in this form, you’re instantly brought back to the world of PS1 era games where polygon limitations meant that a lot of the cars had a semi-boxy appearance.
WHY THIS IS BETTER – It makes me want to play Gran Turismo!
#5 – Top Gears ‘Geoff’
A stainless steel electric car? Sorry Elon Musk but Top Gear had that idea years ago. Admittedly, the ‘Geoff’ turned out to be something of a disaster, but it still pretty much fulfilled the vast majority of the features your new Cybertruck does.
WHY THIS IS BETTER – You can make this yourself for a lot less money!
What Do You Think? – What Looks Like But is Better than the Tesla Cybertruck?
You’ve heard our suggestions, not we want to hear (or more accurately, see) yours! – Post in the comments your own suggestions for things that look like Tesla’s Cybertruck but are, in your opinion, better!
If you want some more inspiration, you can check out the official Tesla Cybertruck website via the link here!
Come on internet! – Show us what you’ve got!


SVG-ICONS-SPIN
Group of svg spinner in one file. Possible to use with WebIcon https://github.com/icons8/webicon
View on GitHub
Download
Currently v1.0.4


Add Image
Remove
Uploaded Image
Drag and drop a file or select add Image
Try now
What we found on image:


Sport Tracker: Enter data
Legs
Select exercise
Barbell Squat
Leg Press
Dumbbell Walking Lunge
Leg Extensions
Standing Calf Raises
Set 1
Set 2
Set 3
Confirm
Go Back


With the lockdown looming last week and business slowing down, I decided to make some more time for the hobby and (re)start some projects that could lead to some play time with the kids. So… I ordered the latest Adeptus Titanicus boxed set from Games Workshop (awesome value). This way I can build a nice maniple with one Reaver and four warhounds, while starting some small games against the other Reaver + the Cerastii (Cerastuses?)
But at the moment, I have partially re-painted my Proteus Warhounds with a less flashy and more mottled green (a la Legio Solaria), and made some good use of the cheap k40 chinese laser-cutter that we have bought last Christmas. I designed 8mm-scale terrain in 3mm MDF!
I tried to balance the level of detail with the engraving and cut time. I have not tried to paint them at the moment.
I opened a shop on Etsy to sell the svg files (and maybe later sell assembled kits), but Etsy has killed my shop a few hour after opening without notice nor explanation. So, instead I have put a ZIP archive on CGTrader with all the SVG files. If you are interested, it’s here:


I hope that I have piqued your interests, but we are just getting started.
Let's define our own method called isPrime that lets us know whether or not an integer is prime.
isPrime


List Lunacy: Problem and Solution
I came across this interesting problem a few weeks ago, and I had a lot of fun thinking about it and solving it. In this post, I’ll cover:
- The problem statement
- Approaching the problem and coming to a solution
- Experimentally verifying the solution with an implementation
- A proof of the solution for theoretical verification
- Interesting things I found looking around after solving the problem
The Problem Statement
Write a function that returns a random node from a linked list of unknown length in O(1) space and O(n) time. (Finding a solution in O(1) time is not only algorithmically interesting, but is also realistic if the linked list is too large to fit in memory). You may only traverse through the linked list once (i.e. you can’t traverse it once to get the length of the list, then again to pick a node).
The Approach
The key thing to think about while approaching this problem is that the algorithm has to be ready to terminate at any moment because you don’t know when the list is going to end. The first thing that this tells you is that the function should always be holding onto a node that it will return if the list comes to an end. This implies that the function should pick up the first node that it comes to, and then with every node it traverses, it should replace the node it is holding with some probability. The probability of replacing the node that it’s holding with the one it’s traversing should be decreasing with the number of nodes seen because as the list gets longer, the probability of picking up a node gets smaller. The probability also depends on the number of nodes that have been traversed, but it’s not yet clear what the function is. (Think about why the probability can’t depend on something like the number of times the function replaced the node it’s holding or the number of nodes it has seen since the last replacement).
The second thing to realize will yield the solution to the problem, although initially it may not be obvious why it works. If we think about the fact that the algorithm has to be ready at any moment to terminate because it might reach the end of the list at any moment, then we realize that the algorithm always has to pick up the kth node with probabiliy 1/k. It’s clear that if the algorithm uses this method, then once the list ends, the algorithm would have picked the very last node in the list with the correct probability. If the length of the list were n, then the algorithm would pick up the last node in the list with probability 1/n. But because the algorithm has to treat every single node as if it were going to be last node in the list, then it has to do this for all the nodes in the list!
This seems unintuitive because it isn’t clear why all the other nodes also get returned with the same probability, but at the same time the reasoning appears to be correct in an odd, nonconstructivist way. Let’s write a quick implementation of this function to get some initial verification that it is correct, and then afterward we’ll do a more rigorous analysis and proof so that we can see why this solution is correct. Fortunately in this case it doesn’t take very long to write an implementation (at least in a high-level language like Ruby), so we can do that before proving the correctness of the solution. It’ll be fun, and if we’re wrong, the output may give some clues to the correct solution. But in other cases, it may be more effective to prove that the solution is correct before diving into an implementation, because then if your code gives you the wrong answer, you can’t be entirely sure that it’s your solution and not your code that is the problem.
An Implementation
I chose to write a quick implementation in Ruby because it’d be fast to write up (and also because it’s currently my favorite language). I used an array instead of a real linked list not only because it doesn’t change the core of the algorithm and it saves time, but also because it improves clarity and avoids possible bugs in dealing with linked lists.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
1 2 |
|
This data yields a mean of 100,000 and a standard error of 0.2519, which gives us a good deal of confidence about the correctness of our solution. Hurray!
A Proof (no, actually two!)
So now that we have a good experimental verification that our solution is correct, let’s return back and think about why it is that our solution works. In particular, it isn’t yet clear why our method of holding onto a node at all time and replacing it with the kth node with probability 1/k results in all the nodes being picked with equal probability. Let’s take a look.I’ll go through two different proofs with two different approaches: one that immediately proves our solution correct for lists of arbitrary length, and another that proceeds using proof by induction.
Proof 1: For lists of length n
Suppose that we have a linked of length n. For the kth node in the linked list, where k = 1, 2,…,n, we pick it with probability 1/k and we hold onto our previously picked node with probability (k-1)/k. In order for the kth node to be picked and held onto until the very end to be returned, the algorithm must pick node k, and then cannot pick any of the successive nodes. It doesn’t matter what the algorithm does for nodes 1 through k-1 because all that matters is the last node that is picked by the algorithm.
And so, the probability that the kth node is picked and returned by the algorithm is simply the product of the probability of the kth node being picked and the probabilities that all of the successive nodes are not picked, which turns out to be:
Since this is true for all k, we see that our algorithm indeed does return a random node with equal probability. The kth node initially may be picked with probability 1/k, but with every additional node that is traversed, the probability that it is still held onto “erodes” down to 1/n.
Proof 2: A proof by induction
We proceed using proof by induction on the length of the linked list.
Basis: The linked list has length 1.
In the case of length 1, our algorithm immediately picks up the first node (with probability 1), and because the linked list ends there, it returns that node with probability 1, as desired.
Induction Step: Assume our inductive hypothesis true for all linked lists of length at most k, where k is greater than 1, and show that our inductive hypothesis holds for a linked list of length k+1.
Suppose that we have a linked list of length k+1. By the time the algorithm has traversed the first k nodes in the linked list, the node it is currently holding onto could be any of the first k nodes, each with probability 1/k, by our inductive hypothesis. When the algorithm reaches node k+1, it could pick the last node with probability 1/(k+1), or it may hold onto the previous node with probability k/(k+1), which means that if the algorithm held onto the previous node, it would be holding onto any one of the first k nodes, each with probability (1/k) * (k/(k+1)) = 1/(k+1). Hence, when the algorithm returns, it will return any of the k+1 nodes, each with probability 1/(k+1). This completes the induction step.
Additional interesting information
While writing this blog post, I was googling around, curious to see whether anyone else had writting on this problem. I ended up discovering that this problem is actually a special case of the Reservoir sampling problem, which can be described as follows: Suppose that you have a incoming stream of pieces of data.  You need to return k pieces of data from this stream, evenly distributed from the original stream.
Sounds similar, right? The algorithm for the reservoir sampling problem turns out to be quite similar to the one we’ve come up here. If you’re interested, you can read a little bit more on Wikipedia or the Dictionary of Algorithms and Data Structures, although there’s not too much information there. But there’s a very interesting post on this reservoir sampling problem and interesting extensions, such as the weighted reservoir sampling problem and the distributed reservoir sampling problem here: http://gregable.com/2007/10/reservoir-sampling.html. All very interesting things to think about.


See: Description
| Interface | Description |
|---|---|
| CaptionPress |
Implement this method and assign to the captionPress field if you want to handle press in the caption area or in the captionIcon.
|
| Grid.DataSource |
Interface that can be used to fetch data on demmand.
|
| HasValue<T> | |
| IVirtualKeyboard | |
| ListBox.CustomDrawingItem |
An interface that makes easier to draw custom items.
|
| Presenter<T extends Control> | |
| Scrollable |
Scrollable is an extension that allows relative motion of the Containers contents using flick animations.
|
| TextControl |
Interface used by some controls that can set and get a text String.
|
| TopMenu.AnimationListener |
| Class | Description |
|---|---|
| AccordionContainer |
A Container that can be expanded or collapsed
Sample:
AccordionContainer ac = new AccordionContainer();
ac.maxH = fmH*10;
add(ac, LEFT+50,TOP+100,FILL-50,ac.minH);
ac.add(ac.new Caption("Type text"), LEFT,TOP,FILL,PREFERRED);
ac.add(new MultiEdit(),LEFT+50,AFTER+50,FILL-50,FONTSIZE+700);
Note that when the container is changing its height, it calls
parent.reposition to open space for its growth. |
| AccordionContainer.Group | |
| AlignedLabelsContainer |
AlignedLabelsContainer is a Container used to align all controls to the maximum width of a set of labels. |
| ArrowButton |
A class used to display a Button with an arrow inside.
|
| Bar |
This class provides a title area and a button area (at right).
|
| BorderContainer |
totalcross.lang.Class used to show a border with a title.
|
| Button |
Button is a push button control.
|
| ButtonMenu |
This class adds a multi-button menu that can be scrolled horizontally (single-row) or vertically (multiple-rows),
using a scrollbar or flicking.
|
| Check |
Check is a control with a box and a check inside of it when the state is checked.
|
| ClippedContainer | |
| ColorList |
Implements a ListBox where colors can be choosen from.
|
| ColorList.Item |
Item added to the ListBox, containing the color as totalcross.lang.String and as int.
|
| ComboBox |
ComboBox is an implementation of a ComboBox, with the drop down window implemented by the ComboBoxDropDown class.
|
| ComboBoxDropDown |
ComboBoxDropDown is a simple implementation of a PopUp Listbox.
|
| ComboBoxEditable |
The ComboBoxEditable is a control usually used as an Edit that holds
old typed values.
|
| Container |
Container is a control that contains child controls.
|
| Control |
Control is the base class for user-interface objects.
|
| DynamicScrollContainer |
DynamicScrollContainer is a specialized type of Scroll Container intended for high performancewhere hundreds or thousands of views need to be displayed in a scrollable list. |
| DynamicScrollContainer.AbstractView |
Represents a view to be displayed on a
DynamicScrollContainer . |
| DynamicScrollContainer.DataSource |
This class is responsible for serving up the
DynamicScrollContainer.AbstractView s to display on a DynamicScrollContainer . |
| Edit |
Edit is a text entry control.
|
| Flick |
Flick
Add flick animations to Containers with ScrollBars.
|
| FloatingLabel<T extends Control & HasValue<?>> | |
| FlowContainer |
This class is a Container that will place controls one after the other and, once the
width has been reached, it wraps to next line.
|
| Grid |
This is a common grid component.
|
| Grid.CellController |
Abstract class that must be implemented if you want to get a fine control of
each cell in the grid.
|
| GridContainer |
totalcross.lang.Class that implements a Grid that each cell is a container.
|
| GridContainer.Cell |
A Grid's cell.
|
| ImageControl |
A control that can show an image bigger than its area and that can be dragged using a pen to show the hidden parts.
|
| ImageList |
Implements a ListBox where the items are images.
|
| Insets |
Used to define the gaps between the container and its child controls.
|
| Label |
Label is a text label control.
|
| ListBox |
ListBox is a complete implementation of a Listbox.
|
| ListBox.IconItem |
Used to show an icon and a text.
|
| ListContainer |
ListContainer is a ListBox where each item is a Container.
|
| ListContainer.Item |
An item of the ListContainer.
|
| MainWindow |
MainWindow is the main window of a UI-based application.
|
| MaterialWindow |
A window with a top bar + return button supporting slide-in animations.
|
| MenuBar |
Constructs a Menu with the given items.
|
| MenuBarDropDown |
Constructs a MenuBarDropDown with the given items.
|
| MenuItem |
This class represents a menu item.
|
| MultiButton |
MultiButton is a control that displays a single line button with a set of titles.
|
| MultiEdit |
MultiEdit is an Edit with support for multiple lines.
|
| MultiListBox |
MultiListBox is a listbox that allows more than one item to be selected.
|
| NinePatch |
NinePatch is a class that creates a button of any size by dividing a
sample button into 9 parts: the 4 corners, the 4 sides, and the middle.
|
| NumericPagePosition | |
| PagePosition |
PagePosition implements the empty and filled balls that indicates the current
page in a set of pages, very common on Android and iPhone.
|
| PopupMenu |
Creates a popup menu with a single line list and some radio buttons at right, like
in the Android combobox styles.
|
| PreprocessKey |
totalcross.lang.Class used to customize the way that Edit and MultiEdit handle keys.
|
| ProgressBar |
A basic progress bar, with the bar and a text.
|
| PushButtonGroup |
Group or matrix of pushbuttons in a single control.
|
| Radio |
Radio is a radio control.
|
| RadioGroupController |
RadioGroupController is a Radio control grouper.
|
| Ruler |
Ruler is a horizontal or vertical ruler.
|
| ScrollBar |
ScrollBar is an implementation of a Scrollbar.
|
| ScrollContainer |
ScrollContainer is a container with a horizontal only, vertical only, both or no
ScrollBars, depending on the control positions.
|
| ScrollPosition |
ScrollPosition implements the auto-hide scrollbar that exists in
finger-touched devices.
|
| ShadedButton | |
| SideMenuContainer |
Template for navigation based on a menu using a navbar and a sidenav.
|
| SideMenuContainer.Item | |
| SideMenuContainer.Sub | |
| SideMenuContainer.Sub.Caption | |
| SideMenuContainer.Sub.Group | |
| Slider |
Slider is a simple slider.
|
| Spacer |
Control used to add a space between controls.
|
| SpinList |
Creates a control with two arrows, so you can scroll values and show
the current one.
|
| Spinner |
Spinner is a control that shows an image indicating that something is running in
the background.
|
| Switch |
This class implements the on/off switch present in many platforms
|
| TabbedContainer |
TabbedContainer is a bar of text or image tabs.
|
| Toast |
totalcross.lang.Class used to show a message on screen.
|
| ToolTip |
Displays a tooltip when user holds the pen in the control.
|
| TopMenu |
This is a top menu like those on Android.
|
| TopMenu.Item | |
| UIColors |
This class holds the colors used in some user interface dialogs, such as MessageBox,
InputBox, CalculatorBox, KeyboardBox, CalendarBox, ToolTip, KeyPad and others.
|
| Whiteboard |
This is a whiteboard that can be used to draw something.
|
| Window |
Window is a floating top-level window.
|
| Enum | Description |
|---|---|
| Control.TranslucentShape |
Used when this Control is translucent
|


Test HTMLMediaElement canPlayType() method for webm media containers.
These tests may be expected to fail if the WebKit port does not support the format.


521
New items902
Uploads1,025
Feeds318
CommentsEARNINGS
$22,5001,4,1,3,7,1
SALES
$5001,4,2,3,6,2
VISITS
$21,2151,4,2,3,1,5
LIKES
$421,2151,3,5,1,4,2
Likes
22,5002,3,1,5,4,7,8,2,3,1,4,6,5,4,4,2,3,1,5,4,7,8,2,3,1,4,6,5,4,4
Comments
5002,3,1,5,4,7,8,2,3,1,4,6,5,4,4,2,3,1,5,4,7,8,2,3,1,4,6,5,4,4
Share
2,21512,4,6,15,5,5,5,6,8,9,7,2,11,5,4,8,17,10,18,0,2,0,1,8,3,8,9,6
View
421,21510,18,0,2,0,1,8,3,8,9,6,3,2,5,1,4,2,3,1,5,4,7,8,2,3,12,4,6,15,5,5,5,6,8,9,7,2,11,5,4,8,17,10,18,0,2,0,1,8,3,8,9,6,3,2,5,1,4,2,3,1,5,4,7,8,2,3,12,4,6,15,5,5,5,6,8,9,7,2,11,5,4,8,17
Population
4,254
30, 35, 25, 8
Usage
98%
Page Views
1,195
9,4,6,5,6,4,7,3
Growth
$1,243
1,2,2,3,3,4,4,5,5,6,6,5,5,4,4,3,3,2,2,1
457 512
47% Average1,2,2,3,3,4,4,5,5,6,6,5,5,4,4,3,3,2,2,1
236 512
13% Average1,2,3,4,5,4,3,2,1,2,3,4,5,6,7,8,7,6,5,4
236 512
47% Average8,7,6,5,4,3,2,2,3,4,5,6,7,8,7,6,5,4
236 512
47% AverageProperties
53,251
Growth
62%
Total Sales
$3205
Rented
3,217
Satisfaction Rate
47% Average
Project Panding
13% Average
Productivity Goal
75% Average
Total Revenue
54% Average
501
Orders Received
2501
Total Sales
6051
Total Profit


| I l@ve RuBoard |
Excel makes a wonderful frontend for financial applications. We've already built a COM server that can handle all of our data and return certain views. There's a strong case for turning things on their heads and having Excel use Python COM objects in many circumstances. We won't go through an example here, as we have covered all the necessary techniques in detail, but it's worth thinking about what's possible.
Imagine you regularly generate a set of management accounts, including results for the year to date and a forecast a year ahead, and that you extend this with various views of the data. You could easily build an Excel spreadsheet that starts a COM server when opened. Where our VB GUI had to do a double loop over the data to get it into a grid on screen, Excel can insert whole arrays into worksheets in a split second. You can configure sheets within the workbook to display arbitrary views of the data and link charts to these views. Some of these would be user-configurable; for example, selecting an account or customer from a combo box at the top of a sheet could fill the sheet with the relevant data, and a chart below it would be updated automatically.
This is the ideal format in which to deliver numbers to a user; they can immediately start doing their own calculations and building charts or comparisons of the data that interest them.
You could as easily build import applications that allow users to prepare data for import and click a submit button to save it into a BookSet. This involves either writing the table-processing code in VB or extending the COM server with some import functionality.
When should you use Python as the client and when as the server? There are two factors to consider:
If a user wants to work interactively with a spreadsheet, that implies Excel on top and a Python COM server. If a spreadsheet import/export is one step in the execution of a much larger Python script that runs over 200 files at 2:00 a.m., do it the other way around.
If you're getting data out of Excel, you need to know only the cell references, which we've covered. If you want to build complex spreadsheets in the middle of the night, where the formatting depends on the data, consider writing the code in VBA. The spreadsheet can have an AutoOpen macro that starts up a Python COM server to deliver the data, and the fetching and formatting can be handled in Excel. The code will be the same length, but a lot easier to develop and debug in VBA.
| I l@ve RuBoard |


# -*- coding: utf-8 -*-
"""Copyright 2019 DScribe developers
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import numpy as np
[docs]class Lattice(object):
"""
A lattice object. Essentially a matrix with conversion matrices. In
general, it is assumed that length units are in Angstroms and angles are in
degrees unless otherwise stated.
"""
def __init__(self, matrix):
"""
Create a lattice from any sequence of 9 numbers. Note that the sequence
is assumed to be read one row at a time. Each row represents one
lattice vector.
Args:
matrix: Sequence of numbers in any form. Examples of acceptable
input.
i) An actual numpy array.
ii) [[1, 0, 0], [0, 1, 0], [0, 0, 1]]
iii) [1, 0, 0 , 0, 1, 0, 0, 0, 1]
iv) (1, 0, 0, 0, 1, 0, 0, 0, 1)
Each row should correspond to a lattice vector.
E.g., [[10, 0, 0], [20, 10, 0], [0, 0, 30]] specifies a lattice
with lattice vectors [10, 0, 0], [20, 10, 0] and [0, 0, 30].
"""
m = np.array(matrix, dtype=np.float64).reshape((3, 3))
lengths = np.sqrt(np.sum(m ** 2, axis=1))
self._lengths = lengths
self._matrix = m
self._inv_matrix = None
@property
def matrix(self):
"""Copy of matrix representing the Lattice"""
return np.copy(self._matrix)
@property
def inv_matrix(self):
"""
Inverse of lattice matrix.
"""
if self._inv_matrix is None:
self._inv_matrix = np.linalg.inv(self._matrix)
return self._inv_matrix
[docs] def get_cartesian_coords(self, fractional_coords):
"""
Returns the cartesian coordinates given fractional coordinates.
Args:
fractional_coords (3x1 array): Fractional coords.
Returns:
Cartesian coordinates
"""
return np.dot(fractional_coords, self._matrix)
[docs] def get_fractional_coords(self, cart_coords):
"""
Returns the fractional coordinates given cartesian coordinates.
Args:
cart_coords (3x1 array): Cartesian coords.
Returns:
Fractional coordinates.
"""
return np.dot(cart_coords, self.inv_matrix)
@property
def lengths(self):
if self._lengths is None:
lengths = np.linalg.norm(self._matrix, axis=1)
self._lengths = lengths
return self._lengths
@property
def abc(self):
"""
Lengths of the lattice vectors, i.e. (a, b, c)
"""
return tuple(self.lengths)
@property
def reciprocal_lattice(self):
"""
Return the reciprocal lattice. Note that this is the standard
reciprocal lattice used for solid state physics with a factor of 2 *
pi. If you are looking for the crystallographic reciprocal lattice,
use the reciprocal_lattice_crystallographic property.
The property is lazily generated for efficiency.
"""
try:
return self._reciprocal_lattice
except AttributeError:
v = self.inv_matrix.T
self._reciprocal_lattice = Lattice(v * 2 * np.pi)
return self._reciprocal_lattice
@property
def reciprocal_lattice_crystallographic(self):
"""
Returns the *crystallographic* reciprocal lattice, i.e., no factor of
2 * pi.
"""
return Lattice(self.reciprocal_lattice.matrix / (2 * np.pi))
[docs] def get_points_in_sphere(self, frac_points, center, r, zip_results=True):
"""
Find all points within a sphere from the point taking into account
periodic boundary conditions. This includes sites in other periodic
images.
Algorithm:
1. place sphere of radius r in crystal and determine minimum supercell
(parallelpiped) which would contain a sphere of radius r. for this
we need the projection of a_1 on a unit vector perpendicular
to a_2 & a_3 (i.e. the unit vector in the direction b_1) to
determine how many a_1"s it will take to contain the sphere.
Nxmax = r * length_of_b_1 / (2 Pi)
2. keep points falling within r.
Args:
frac_points: All points in the lattice in fractional coordinates.
center: Cartesian coordinates of center of sphere.
r: radius of sphere.
zip_results (bool): Whether to zip the results together to group by
point, or return the raw fcoord, dist, index arrays
Returns:
if zip_results:
[(fcoord, dist, index) ...] since most of the time, subsequent
processing requires the distance.
else:
fcoords, dists, inds
"""
# TODO: refactor to use lll matrix (nmax will be smaller)
recp_len = np.array(self.reciprocal_lattice.abc) / (2 * np.pi)
nmax = float(r) * recp_len + 0.01
pcoords = self.get_fractional_coords(center)
center = np.array(center)
n = len(frac_points)
fcoords = np.array(frac_points) % 1
indices = np.arange(n)
mins = np.floor(pcoords - nmax)
maxes = np.ceil(pcoords + nmax)
arange = np.arange(start=mins[0], stop=maxes[0])
brange = np.arange(start=mins[1], stop=maxes[1])
crange = np.arange(start=mins[2], stop=maxes[2])
arange = arange[:, None] * np.array([1, 0, 0])[None, :]
brange = brange[:, None] * np.array([0, 1, 0])[None, :]
crange = crange[:, None] * np.array([0, 0, 1])[None, :]
images = arange[:, None, None] + brange[None, :, None] + crange[None, None, :]
shifted_coords = fcoords[:, None, None, None, :] + images[None, :, :, :, :]
cart_coords = self.get_cartesian_coords(fcoords)
cart_images = self.get_cartesian_coords(images)
coords = cart_coords[:, None, None, None, :] + cart_images[None, :, :, :, :]
coords -= center[None, None, None, None, :]
coords **= 2
d_2 = np.sum(coords, axis=4)
within_r = np.where(d_2 <= r ** 2)
if zip_results:
return list(
zip(
shifted_coords[within_r],
np.sqrt(d_2[within_r]),
indices[within_r[0]],
)
)
else:
return (
shifted_coords[within_r],
np.sqrt(d_2[within_r]),
indices[within_r[0]],
)


Here, the platform to board the trains that crossed over the Great Salt Lake is shown. Image courtesy of University of Utah's Marriott Library Special Collections


Exploring Augmented Reality for My Fave Places
My Fave Places is a startup helping people remember favorite restaurants and destinations and share recommendations with friends through an iOS app. The company's long-term vision is to enable people to re-experience and connect with places they love from anywhere through mixed and virtual reality.I connected with My Fave Places through my UX program.
Role and Responsibilities
- Investigating the desirability and feasibility of augmented reality in the app.
- Designing a concept of how augmented reality could help and engage travelers.
- Tested concepts with potential users to determine next steps for the company.
Duration
4.5 weeks
Constraints
- COVID-19 - meant testing had to be limited to remote.
- Budget - two person startup. Had to be scrappy!
- UX Maturity - I was the sole UX'er.
Understanding the Company
I talked with the founder to understand the underlying reasons why they wanted to pursue AR.
Fun, Useful, and Interactive They want to re-invent the platform as more social and interactive to increase enagagement.
Find a New North They want to fast-track the company vision of providing immersive experiences to wow investors.
Process
- Research AR - understand the market through expert interviews and analyzing competitors.
- Explore Solutions - present options for My Fave Places to explore and measure goals.
- Test a Solution - test viability with potential users. Prototype could be presented to investors.
What is AR?
AR overlays digital elements onto your environment (often through the lens of a camera). A popular use of AR is filters and lenses in Snapchat or Instagram to modify someone's face.
AR excels at visualization and annotating over reality. For example, IKEA Place helps buyers visualize furniture in their homes.
Defining
By talking with stakeholders and researching the company, I identified two types of users that My Fave Places wanted to target. I created lightweight personas to show the differences and support my decision to focus one target user.
Based on My Fave Places goal to be more engaging I asked myself how I might make user's experiences more exciting and interactive? How could I help them discover new places and share with others?
Sketching
I set up a meeting to present my ideas and discuss them with the stakeholders. Then we voted for the ideas that wanted to test first.
Writing and drawing scenarios for the top concepts helped to define use cases and envision the value for users.
Prototyping an AR experience
Before prototyping, I needed to clarify what I wanted to learn through testing. Since this concept was in an early stage of research, my research goals were focused on desirability and feasbility.
- How do potential users discover and share destinations?
- What does potential users’ environment look like? Will they have affordances like tables and enough space for AR?
- Will users understand and feel excited about using an AR map?
Challenges Prototyping and Testing AR
Designing for augmented reality requires thinking beyond the screen. Using AR, people can walk around, tilt the device, or even make subtle gestures to interact with the system. This makes testing that experience even more challenging. How could I mockup the experience of a city appearing in their environment and demonstrate interactions clearly? I also had to consider how I would test the prorotype remotely due to COVID-19.
Solution - Create an video demonstration
I decided to create a video that could show how the feature might be used. I made it by recording AR environment I created with Torch, design the interface elements and screens in Figma and finally stitch them together in video.
While not a perfect solution, a video seemed the best approach for my situtation and time available.
Pros
- Record reactions remotely.
- Easier than paper prototyping or Wizard of OZ testing
- Participants can see movement, perspective, and environment better than a drawing or mockup of AR.
Cons
- Can’t see what participants would actually do.
- Pausing or rewatching the video eats up interview time.
Designing for AR
There are many considerations when designing for AR than for on-glass interfaces. Buttons are harder to distinguish and the size of elements can change when in perspective.
Keeping actions accessibile
- Larger buttons for accessibility in AR.
- Actions are distinguished from details by floating them to the right of the card.
Maintaining the experience
- See the restaurant details without leaving the AR experience.
- Having certain elements end off screen encourages moving the device to see more.
Results
I screened for potential users and conducted 30-minute remote interviews with 5 participants. In the first portion of the interview, I asked participants about traveling, planning outings, and frustrations they encounter. Then, I shared the concept and asked questions to gage desirability.
There was an interesting split in the results. 2/5 participants were excited when seeing the concept.
2/5 participants were confused or felt that the AR wasn't useful for finding new or nearby places. The last participant was mostly neutral towards the AR concept.
What went well
- The split in desirability revealed the need more user research before moving forward in AR.
- Interviews provided suggestions of preferences and topics to research further and help define the content.
What I would have done differently
- 15-30 participants (minimum) to better gauge desirability.
- Mix unmoderated with the 5 moderated tests.
- Testing different video formats (possibly playacting for more context)
What I learned
- Empathize with the challenges and goals of the business.
- Read between the lines features for the underlying why.
- Just test it. Data is harder to refute than opinion.


This is the official monster spoiler for Martin's Dungeon Bash, version 1.7.
Stupid: Stupid monsters move randomly when they cannot see you.
Smart: Smart monsters have some ability to find you when they aren't in the same room as you.
Ethereal: Ethereal monsters ignore terrain. There is only one ethereal monster at present, the wraith. Once it is awake, a wraith will follow you relentlessly until you leave the level.
Undead: Undead monsters are immune to the effects of vampire rings, and cannot be harmed by other monsters' ranged necromantic attacks.
Resists cold: Monsters which resist cold are immune to the effects of frost rings and other monsters' ranged cold attacks.

Archer: Archers are monsters which have ranged attacks not derived from the practice of black magic.
Magician: Magicians are monsters which practice black magic.


You will be taken to your institution's landing page. You can bookmark this page for later use.
Generating Slips for Printing
Confirm your CURRENT INSTITUTION is correct.
Click CHOOSE FILE and find your LendingRequest.xls file and click SUBMIT. (For directions on how to get your LendingRequest.xls file, go here.)
Your SLIPS.DOCX file will be generated based on your settings.
Your SLIPS.DOCX file will be downloaded by your browser (You may be prompted to confirm download).
Depending on your browser, you will be able to open the file immediately upon download, or else you can click the file when it appears at the bottom of your browser screen. If neither of these options is available to you, check the your browser's download directory and find the SLIPS.docx file there.
Desktop App
If you would like to download the legacy desktop app, you can find it here.


Beowulf
by Francis Barton Gummere
Chapter 28
Additional Information
- Year Published: 1910
- Language: English
- Country of Origin: England
- Source: Gummere, F.B. (1910) Beowulf New York: P.F. Collier and Son
-
Readability:
- Flesch–Kincaid Level: 11.2
- Word Count: 1,606
- Genre: Epic
- Keywords: british literature
- ✎ Cite This
Downloads
HASTENED the hardy one, henchmen with him,
sandy strand of the sea to tread
and widespread ways. The world's great candle,
sun shone from south. They strode along
with sturdy steps to the spot they knew
where the battle-king young, his burg within,
slayer of Ongentheow, shared the rings,
shelter-of-heroes. To Hygelac
Beowulf's coming was quickly told, —
that there in the court the clansmen's refuge,
the shield-companion sound and alive,
hale from the hero-play homeward strode.
With haste in the hall, by highest order,
room for the rovers was readily made.
By his sovran he sat, come safe from battle,
kinsman by kinsman. His kindly lord
he first had greeted in gracious form,
with manly words. The mead dispensing,
came through the high hall Haereth's daughter,
winsome to warriors, wine-cup bore
to the hands of the heroes. Hygelac then
his comrade fairly with question plied
in the lofty hall, sore longing to know
what manner of sojourn the Sea-Geats made.
"What came of thy quest, my kinsman Beowulf,
when thy yearnings suddenly swept thee yonder
battle to seek o'er the briny sea,
combat in Heorot? Hrothgar couldst thou
aid at all, the honored chief,
in his wide-known woes? With waves of care
my sad heart seethed; I sore mistrusted
my loved one's venture: long I begged thee
by no means to seek that slaughtering monster,
but suffer the South-Danes to settle their feud
themselves with Grendel. Now God be thanked
that safe and sound I can see thee now!"
Beowulf spake, the bairn of Ecgtheow:—
"'Tis known and unhidden, Hygelac Lord,
to many men, that meeting of ours,
struggle grim between Grendel and me,
which we fought on the field where full too many
sorrows he wrought for the Scylding-Victors,
evils unending. These all I avenged.
No boast can be from breed of Grendel,
any on earth, for that uproar at dawn,
from the longest-lived of the loathsome race
in fleshly fold! — But first I went
Hrothgar to greet in the hall of gifts,
where Healfdene's kinsman high-renowned,
soon as my purpose was plain to him,
assigned me a seat by his son and heir.
The liegemen were lusty; my life-days never
such merry men over mead in hall
have I heard under heaven! The high-born queen,
people's peace-bringer, passed through the hall,
cheered the young clansmen, clasps of gold,
ere she sought her seat, to sundry gave.
Oft to the heroes Hrothgar's daughter,
to earls in turn, the ale-cup tendered, —
she whom I heard these hall-companions
Freawaru name, when fretted gold
she proffered the warriors. Promised is she,
gold-decked maid, to the glad son of Froda.
Sage this seems to the Scylding's-friend,
kingdom's-keeper: he counts it wise
the woman to wed so and ward off feud,
store of slaughter. But seldom ever
when men are slain, does the murder-spear sink
but briefest while, though the bride be fair! [footnote 1]
"Nor haply will like it the Heathobard lord,
and as little each of his liegemen all,
when a thane of the Danes, in that doughty throng,
goes with the lady along their hall,
and on him the old-time heirlooms glisten
hard and ring-decked, Heathobard's treasure,
weapons that once they wielded fair
until they lost at the linden-play [footnote 2]
liegeman leal and their lives as well.
Then, over the ale, on this heirloom gazing,
some ash-wielder old who has all in mind
that spear-death of men, [footnote 3] — he is stern of mood,
heavy at heart, — in the hero young
tests the temper and tries the soul
and war-hate wakens, with words like these:—
Canst thou not, comrade, ken that sword
which to the fray thy father carried
in his final feud, 'neath the fighting-mask,
dearest of blades, when the Danish slew him
and wielded the war-place on Withergild's fall,
after havoc of heroes, those hardy Scyldings?

Thus he urges and eggs him all the time
with keenest words, till occasion offers
that Freawaru's thane, for his father's deed,
after bite of brand in his blood must slumber,
losing his life; but that liegeman flies
living away, for the land he kens.
And thus be broken on both their sides
oaths of the earls, when Ingeld's breast
wells with war-hate, and wife-love now
after the care-billows cooler grows.
"So [footnote 5] I hold not high the Heathobards' faith
due to the Danes, or their during love
and pact of peace. — But I pass from that,
turning to Grendel, O giver-of-treasure,
and saying in full how the fight resulted,
hand-fray of heroes. When heaven's jewel
had fled o'er far fields, that fierce sprite came,
night-foe savage, to seek us out
where safe and sound we sentried the hall.
To Hondscio then was that harassing deadly,
his fall there was fated. He first was slain,
girded warrior. Grendel on him
turned murderous mouth, on our mighty kinsman,
and all of the brave man's body devoured.
Yet none the earlier, empty-handed,
would the bloody-toothed murderer, mindful of bale,
outward go from the gold-decked hall:
but me he attacked in his terror of might,
with greedy hand grasped me. A glove hung by him [footnote 6]
wide and wondrous, wound with bands;
and in artful wise it all was wrought,
by devilish craft, of dragon-skins.
Me therein, an innocent man,
the fiendish foe was fain to thrust
with many another. He might not so,
when I all angrily upright stood.
'Twere long to relate how that land-destroyer
I paid in kind for his cruel deeds;
yet there, my prince, this people of thine
got fame by my fighting. He fled away,
and a little space his life preserved;
but there staid behind him his stronger hand
left in Heorot; heartsick thence
on the floor of the ocean that outcast fell.
Me for this struggle the Scyldings'-friend
paid in plenty with plates of gold,
with many a treasure, when morn had come
and we all at the banquet-board sat down.
Then was song and glee. The gray-haired Scylding,
much tested, told of the times of yore.
Whiles the hero his harp bestirred,
wood-of-delight; now lays he chanted
of sooth and sadness, or said aright
legends of wonder, the wide-hearted king;
or for years of his youth he would yearn at times,
for strength of old struggles, now stricken with age,
hoary hero: his heart surged full
when, wise with winters, he wailed their flight.
Thus in the hall the whole of that day
at ease we feasted, till fell o'er earth
another night. Anon full ready
in greed of vengeance, Grendel's mother
set forth all doleful. Dead was her son
through war-hate of Weders; now, woman monstrous
with fury fell a foeman she slew,
avenged her offspring. From Aeschere old,
loyal councillor, life was gone;
nor might they e'en, when morning broke,
those Danish people, their death-done comrade
burn with brands, on balefire lay
the man they mourned. Under mountain stream
she had carried the corpse with cruel hands.
For Hrothgar that was the heaviest sorrow
of all that had laden the lord of his folk.
The leader then, by thy life, besought me
(sad was his soul) in the sea-waves' coil
to play the hero and hazard my being
for glory of prowess: my guerdon he pledged.
I then in the waters — 'tis widely known —
that sea-floor-guardian savage found.
Hand-to-hand there a while we struggled;
billows welled blood; in the briny hall
her head I hewed with a hardy blade
from Grendel's mother, — and gained my life,
though not without danger. My doom was not yet.
Then the haven-of-heroes, Healfdene's son,
gave me in guerdon great gifts of price.
Footnotes
1. Beowulf gives his uncle the king not mere gossip of his journey, but a statesmanlike forecast of the outcome of certain policies at the Danish court. Talk of interpolation here is absurd. As both Beowulf and Hygelac know, — and the folk for whom the Beowulf was put together also knew, — Froda was king of the Heathobards (probably the Langobards, once near neigh- bors of Angle and Saxon tribes on the continent), and had fallen in fight with the Danes. Hrothgar will set aside this feud by giving his daughter as "peace-weaver" and wife to the young king Ingeld, son of the slain Froda. But Beowulf, on general principles and from his observation of the particular case, foretells trouble.
2. Play of shields, battle. A Danish warrior cuts down Froda in the fight, and takes his sword and armor, leaving them to a son. This son is selected to accompany his mistress, the young princess Freawaru, to her new home when she is Ingeld's queen. Heedlessly he wears the sword of Froda in hall. An old warrior points it out to Ingeld, and eggs him on to vengeance. At his instigation the Dane is killed; but the murderer, afraid of results, and knowing the land, escapes. So the old feud must break out again.
3. That is, their disastrous battle and the slaying of their king.
4. The sword.
5. Beowulf returns to his forecast. Things might well go somewhat as follows, he says; sketches a little tragic story; and with this prophecy by illustration returns to the tale of his adventure.
6. Not an actual glove, but a sort of bag.


cassandra
The Apache Cassandra database is the right choice when you need scalability and high availability without compromising performance. Linear scalability and proven fault-tolerance on commodity hardware or cloud infrastructure make it the perfect platform for mission-critical data. Cassandra’s support for replicating across multiple datacenters is best-in-class, providing lower latency for your users and the peace of mind of knowing that you can survive regional outages.
This module offers cassandra database features via Datastax Java Driver.
dependency
<dependency>
<groupId>org.jooby</groupId>
<artifactId>jooby-cassandra</artifactId>
<version>1.6.6</version>
</dependency>
exports
Cluster
Session
MappingManager
Datastore
- Optionally a Cassandra Session Store
usage
Via connection string:
{
use(new Cassandra("cassandra://localhost/db"));
}
Via connection property:
{
use(new Cassandra("db"));
}
After you install the module Session
, MappingManager
and Datastore
are ready to use.
{
use(new Cassandra("cassandra://localhost/db"));
get("/doWithSession", req -> {
Session session = require(Session.class);
// work with session
});
get("/doWithMappingManager", req -> {
MappingManager manager = require(MappingManager.class);
Mapper<Beer> mapper = manager.mapper(Beer.class);
// work with mapper;
});
get("/doWithDatastore", req -> {
Datastore ds = require(Datastore.class);
// work with datastore;
});
}
basic crud
This module exports MappingManager
so you are free to use a Mapper
. Jooby also offers the Datastore service which basically wrap a Mapper
and provides query/read operations.
The main advantage of Datastore over Mapper
is that you need just once instance regardless of your number of entities, but also it provides some useful query*
methods.
Here is a basic API on top of Datastore:
{
use("/api/beer")
.post(req -> {
Datastore ds = require(Datastore.class);
Beer beer = req.body().to(Beer.class);
ds.save(beer);
return beer;
})
.get("/:id", req -> {
Datastore ds = require(Datastore.class);
Beer beer = ds.get(Beer.class, req.param("id").value());
return beer;
})
.get(req -> {
Datastore ds = require(Datastore.class);
return ds.query(Beer.class, "select * from beer").all();
})
.delete("/:id", req -> {
Datastore ds = require(Datastore.class);
ds.delete(Beer.class, req.param("id").value());
return Results.noContent();
});
}
Keep in mind your entities must be mapped as usual or as required by Mapper
. A great example is available here
accessors
Accessors provide a way to map custom queries not supported by the default entity mappers. Accessors are created at application startup time via accessor(Class) method:
{
use(new Cassandra("cassandra://localhost/db")
.accessor(UserAccessor.class)
);
get("/users", req -> {
return require(UserAccessor.class).getAll();
});
}
The accessor can be required or injected in a MVC route.
dse-driver
Add the dse-driver
dependency to your classpath and then:
{
use(new Cassandra(DseCluster::build));
}
That’s all! Now you can require/inject
a DseSession
.
async
Async? Of course!!! just use the Datastax async API:
{
use(new Cassandra("cassandra://localhost/db"));
use("/api/beer")
.post(req -> {
Datastore ds = require(Datastore.class);
Beer beer = req.body().to(Beer.class);
ds.saveAsync(beer);
return beer;
})
.get("/:id", req -> {
Datastore ds = require(Datastore.class);
ListeneableFuture<Beer> beer = ds.getAsync(Beer.class, req.param("id").value());
return beer;
})
.get(req -> {
Datastore ds = require(Datastore.class);
return ds.queryAsync(Beer.class, "select * from beer").all();
})
.delete("/:id", req -> {
Datastore ds = require(Datastore.class);
ds.deleteAsync(Beer.class, req.param("id").value());
return Results.noContent();
});
}
multiple contact points
Multiple contact points are separated by a comma:
{
use(new Casssandra("cassandra://host1,host2/db");
}
advanced configuration
Advanced configuration is available via cluster builder callback:
{
use(new Casssandra("cassandra://localhost/db")
.doWithClusterBuilder(builder -> {
builder.withClusterName("mycluster");
}));
}
Or via cluster callback:
{
use(new Casssandra("cassandra://localhost/db")
.doWithCluster(cluster -> {
Configuration configuration = cluster.getConfiguration();
// set option
}));
}
cassandra session store
A Session.Store powered by Cassandra.
dependency
<dependency>
<groupId>org.jooby</groupId>
<artifactId>jooby-cassandra</artifactId>
<version>1.6.6</version>
</dependency>
usage
{
use(new Cassandra("cassandra://localhost/db"));
session(CassandraSessionStore.class);
get("/", req -> {
Session session = req.session();
session.put("foo", "bar");
..
});
}
Session data is persisted in Cassandra using a session
table.
options
timeout
By default, a session will expire after 30 minutes
. Changing the default timeout is as simple as:
# 8 hours
session.timeout = 8h
# 15 seconds
session.timeout = 15
# 120 minutes
session.timeout = 120m
Expiration is done via Cassandra ttl option.
If no timeout is required, use -1
.


{% extends "profiles/base_profile_edit.html" %} {% load i18n %} {% block title %}{% trans "Set advertising preferences" %}{% endblock %} {% block profile-admin-advertising %}active{% endblock %} {% block edit_content_header %} {% trans "Set advertising preferences" %} {% endblock %} {% block edit_content %} {% if request.user.gold.exists or request.user.goldonce.exists %}
{% blocktrans trimmed %} Thank you for supporting Read the Docs! {% endblocktrans%}
{% endif %}{% blocktrans trimmed %} Read the Docs is an open source project. In order to maintain service, we rely on both the support of our users, and from sponsor support. {% endblocktrans %}
{% blocktrans trimmed %} For more details on advertising on Read the Docs including the privacy protections we have in place for users and community advertising we run on behalf of the open source community, see our documentation. {% endblocktrans %}
{% url "gold_detail" as gold_detail %} {% url "donate" as donate_url %} {% blocktrans trimmed %} You can go ad-free by becoming a Gold member or Supporter of Read the Docs. {% endblocktrans %}
{% endblock %}


This Template is responsible for displaying a single view for a domain object
If you modify this template, do not forget to change the overwrite settings
in /Configuration/ExtensionBuilder/settings.yaml:
Resources:
Private:
Templates:
Show.html: keep
Otherwise your changes will be overwritten the next time you save the extension in the extension builder
Back to list
Here you can see all comments
New Comment:
{codeComments}
New Comment:
Back to list


three.js
- instancing - lambert shader
Sorry your graphics card + browser does not support hardware instancing


--- layout: post status: publish published: true title: Cubs sign David DeJesus author: display_name: Corey Fineran login: Corey email<EMAIL_ADDRESS>url: '' author_login: Corey author_email<EMAIL_ADDRESS>wordpress_id: 6446 wordpress_url: http://ivyenvy.com/?p=6446 date: '2011-12-03 08:13:50 +0000' date_gmt: '2011-12-03 14:13:50 +0000' categories: - Outfield - Free Agency tags: - Royals - Twitter - A's - Theo Epstein - Jed Hoyer - David DeJesus - Clubhouse - Kim DeJesus comments: [] ---
Theo Epstein and Jed Hoyer made their first on-the-field move with the Cubs this week, signing free agent outfielder David DeJesus. The 32 year-old outfielder was with the Kansas City Royals until 2011, which he spent with the Oakland A's.
DeJesus has been very solid at the plate some years, and very average in other years. In 2008, the Royals saw DeJesus' batting average jump to .307, up from .260 the previous year. 2011 was DeJesus' weakest hitting season. He batted .240 (nearly .080 drop from 2010) with 10 HR, 46 RBI and a .698 OPS.
DeJesus claims that his surgically repaired hand bothered him in 2011 and he now feels 100%. His numbers did improve towards the end of the season, which gives some credibility to that claim. Epstein has had his eye on DeJesus for a while. He tried to acquire DeJesus at the 2010 trading deadline.
If his hand was hindering his performance in 2011, the new front office of the Cubs were able to identify a player that they could get at a bit of a discount that could produce decent numbers for the team. Epstein also sees DeJesus as a step in the right direction in regards to changing the culture of the Cubs and their clubhouse.
The totality of their contributions can be equal to or more than the player who does one thing extremely well -- if a guy is going to hit 25-30 home runs but really hurts you in other areas. If we have a club full of well-rounded players, we're going to far exceed expectations because the solo contributions really add up.
DeJesus (and his wife, Kim) have been ecstatic with his signing. Mrs. DeJesus grew up in the Chicago area and stated that her father had Cubs season tickets. After the signing was announced, she tweeted:
I was born a cubs fan, and now im married to one!!!!!! :) COULDNT BE MORE EXCITED!!!!!!!!!!!!! GOOOOO CUBBIES!!!!!!!!!!
The DeJesus' live in the Chicago area and are thrilled to be a part of the organization, so this is one of those feel-good signings, but hopefully DeJesus is able to get back on track and help the Cubs both on the field and in the clubhouse.
You can follow David and Kim DeJesus on Twitter here:
@David_DeJesus3
@KimDeJesus12


Comment {{ forloop.counter }} by {{ comment.name }} {{ comment.created }}
There are no comments yet.
Comment {{ forloop.counter }} by {{ comment.name }} {{ comment.created }}
{{ comment.body|linebreaks }}


- Parameters
- Instructions
- Byproducts
- Security
- Context
- Classification
- Notes
- Attachments
- Embedded Images
Embedded Images
None right now...
Where Used in Label Content
Where Used in Ingredient Statement
Higher Level Recipes
All Workflows
Item Alias Info
Signed Workflows
Tests
Custom Tables
None right now...


It is my pleasure to welcome you on my personal web. There is nothing to see at all, but everything is in progress! :)
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Contact me anytime, anywhere.


×
Ping
Every
Minutes
Send Heartbeat?
If checked, a ping will be sent to the URL specified every
x
minutes specified.
Ping Now.
 Pinging will resume when you're back online.
×


Great to see you back! I'd love to hear from you, so email me about your favorite shade of blue and why the links should be that color, or about your blog and why it should be on the home page, or just say hi: I'm<EMAIL_ADDRESS>and @arpith on Twitter.


Right now I'm sending temperature measurements to emoncms.org http://emoncms.org/parbar. Is it possible to read out the last supplied value from emoncms.org with the read only api?
In the API section there is a lot of "Visualisation API" that you can use to direct link to various diagrams, but now I need only the last reported measurement, if possible with time stamp.
The value is also found in the first tab "Inputs".
Thanks,
Pär
Re: Get last input value from emoncms.org
Pär
from your note I'm not sure if you want the last reported measurement within emoncms.org or outside.
If you want it outside of emoncms.org, you can use json export
The path and format is:
http://<server_and_path>/feed/data.json?&apikey=<API>&start=<UNIXSTARTTI...
(you can actually ignore the &res=<RESOLUTIONVALUE> bit)
This returns a json feed of the data between the two time values.
[[<timevalue1>,"<feedvalue1>"],[<timevalue2>,"<feedvalue2>"],...]
Luckily the latest reading is timevalue1 feedvalue1. So you can read the json feed into an array and read grab the last values.
If there is an easier way, I'll be as happy as you to find it :-)
Ukmoose
Re: Get last input value from emoncms.org
I use:
http://<server>/emoncms3/feed/value.json?apikey=<key>&id=<feedid>
but that only gives me the last value, while I am also interested how actual it is. The JSON method seems better
Re: Get last input value from emoncms.org
Thanks,
I tried the last one by mhariznav and it worked of course. The first I didn't try now as I need to figure out the UNIX TIMESTAMP part first....
I found http://www.appsgeyser.com and will try to do a android app. just inserting a link to http://<server>/emoncms3/feed/value.json?apikey=<key>&id=<feedid> works but the temperature is in very small text.
It is available from www.appsgeyser.com/getwidget/Data%20from%20emoncms.org but I think I need to do it another way.
/Pär
Re: Get last input value from emoncms.org
he,
I was also toying with the appsgeyser a week ago
But what I really need is that it runs as a WIDGET. using metawidget now.